/* ================================================================
   CSS RESET & NORMALIZE
==================================================================*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #111;
}
ol, ul {
  list-style: none;
}
a {
  background: none;
  color: inherit;
  text-decoration: none;
}
img {
  border: 0;
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}
button {
  cursor: pointer;
  background: none;
  padding: 0;
}

/* ================================================================
   BASE BRAND COLORS & FONTS
==================================================================*/
:root {
  --brand-primary: #2546A8;
  --brand-secondary: #77B7F2;
  --brand-accent: #F8FAFB;
  --neutral-black: #111111;
  --neutral-dark: #222222;
  --neutral-gray: #7A7A7A;
  --neutral-light: #EDEDED;
  --white: #fff;
  --shadow: rgba(30,40,70,0.07);

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

html {
  font-size: 100%;
}

body {
  background: var(--white);
  color: var(--neutral-black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--neutral-black);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--brand-primary);
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--neutral-dark);
}
h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--neutral-dark);
}

p {
  margin-bottom: 15px;
  font-size: 1rem;
  color: var(--neutral-dark);
}

strong {
  font-weight: 700;
}

ul, ol {
  padding-left: 22px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 8px;
  color: var(--neutral-dark);
  line-height: 1.6;
}

.text-section ul, .text-section ol {
  margin-top: 6px;
  margin-bottom: 18px;
}
.text-section li {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Monochrome Sophisticated Visual Settings */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 24px var(--shadow);
  transition: box-shadow 0.3s cubic-bezier(.21,.61,.35,1);
}

/* Container Utility (flex, responsive) */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-start;
}

.section .content-wrapper {
  padding: 0;
  background: none;
  box-shadow: none;
}

/* ---------------------------------------------------
   Header & Navigation
------------------------------------------------------*/
header {
  width: 100%;
  box-shadow: 0 1px 6px var(--shadow);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 20px;
}
.brand-logo {
  display: flex;
  align-items: center;
  height: 56px;
}
.brand-logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--neutral-black);
  padding: 5px 7px;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-secondary);
  color: var(--white);
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 12px 28px;
  border-radius: 28px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  outline: none;
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  box-shadow: 0 1px 6px var(--shadow);
  margin-left: 18px;
  margin-right: 0;
  background: var(--brand-primary);
  color: var(--white);
}
.btn-primary:hover, .btn-primary:focus {
  background: #202a63;
}
.btn-secondary {
  background: var(--white);
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  font-weight: 600;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--brand-primary);
  color: var(--white);
}

/*
   MOBILE MENU BURGER: Hide nav, show toggle on mobile
-----------------------------------------------------*/
.mobile-menu-toggle {
  display: none;
  font-size: 2.4rem;
  background: none;
  color: var(--brand-primary);
  border: none;
  margin-left: 16px;
  border-radius: 7px;
  padding: 4px 8px;
  transition: background 0.19s;
  z-index: 103;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--neutral-light);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 340px;
  max-width: 100vw;
  background: var(--white);
  box-shadow: -4px 0 30px 0 rgba(10,10,10,0.06);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.45,.67,.31,1);
  padding: 34px 22px 20px 34px;
  opacity: 0;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  font-size: 2.2rem;
  align-self: flex-end;
  color: var(--brand-primary);
  background: none;
  border: none;
  margin-bottom: 12px;
  border-radius: 7px;
  padding: 3px 8px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--neutral-light);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-primary);
  padding: 10px 6px;
  border-radius: 5px;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--brand-secondary);
  color: var(--white);
}

/* Overlay while menu is open */
.mobile-menu-backdrop {
  content: '';
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 995;
  background: rgba(20, 26, 38, 0.46);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-menu-backdrop.open {
  visibility: visible;
  opacity: 1;
}

/* Hide nav, show burger button on mobile */
@media (max-width: 1023px) {
  .main-nav {
    display: none !important;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =======================
   HERO SECTIONS
==========================*/
.hero {
  background: linear-gradient(94deg,var(--white) 80%, var(--neutral-light) 100%);
  padding: 0 0 56px 0;
  box-shadow: 0 5px 24px var(--shadow);
}
.hero .container { padding-top: 40px; }
.hero h1 {
  color: var(--neutral-black);
  font-size: 2.6rem;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px var(--shadow);
}
.hero p {
  color: var(--neutral-gray);
  font-size: 1.35rem;
  margin-bottom: 30px;
  max-width: 550px;
}
.hero .btn-primary {
  font-size: 1.08rem;
  margin-left: 0;
  min-width: 170px;
}

/* =======================
   FLEX LAYOUTS & SPACING
==========================*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 18px var(--shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 28px 0 rgba(39,51,60,0.12);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  align-items: stretch;
}
.feature-grid > div {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 18px var(--shadow);
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 260px;
  flex: 1 1 240px;
  transition: box-shadow .22s;
}
.feature-grid > div img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
}
.feature-grid > div:hover {
  box-shadow: 0 7px 28px 0 rgba(39,51,60,0.11);
  z-index: 1;
}

/* Card grids and service cards */
.service-cards, .pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-bottom: 6px;
}
.service-cards > div, .pricing-grid > div {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 18px var(--shadow);
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 250px;
  min-width: 232px;
  max-width: 340px;
  transition: box-shadow 0.21s;
  margin-bottom: 20px;
}
.service-cards > div img, .pricing-grid > div img {
  width: 42px;
  height: 42px;
  margin-bottom: 11px;
}
.service-cards > div:hover, .pricing-grid > div:hover {
  box-shadow: 0 7px 28px 0 rgba(39,51,60,0.12);
  z-index: 1;
}

.price-highlight {
  color: var(--brand-primary);
  font-weight: bold;
  font-size: 1.4rem;
  margin-top: 10px;
  margin-bottom: 3px;
  font-family: var(--font-display);
}

/* ===============================
   TESTIMONIALS
=================================*/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: var(--accent, #F8FAFB);
  border-radius: 12px;
  box-shadow: 0 2px 16px var(--shadow);
  margin-bottom: 24px;
  max-width: 520px;
  min-width: 260px;
  border-left: 5px solid var(--brand-primary);
  color: var(--neutral-black);
  /* To contrast, darker text on light bg */
}
.testimonial-card p {
  color: var(--neutral-dark);
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-card span {
  font-size: 1.02rem;
  color: var(--brand-primary);
  font-family: var(--font-display);
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: stretch;
  justify-content: flex-start;
  margin-top: 12px;
}

/* =============================
   CTA BANNER
===============================*/
.cta-banner {
  background: var(--brand-primary);
  color: var(--white);
  padding: 54px 0;
  border-radius: 16px;
  margin-bottom: 40px;
  box-shadow: 0 8px 24px var(--shadow);
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 18px;
  font-size: 2.05rem;
}
.cta-banner .btn-primary {
  background: var(--white);
  color: var(--brand-primary);
}
.cta-banner .btn-primary:hover, 
.cta-banner .btn-primary:focus {
  background: var(--brand-secondary);
  color: var(--white);
}

/* ====================================
   FAQ LAYOUT
======================================*/
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.faq-item {
  background: var(--neutral-light);
  border-radius: 9px;
  box-shadow: 0 2px 14px var(--shadow);
  padding: 22px 20px;
  margin-bottom: 8px;
  transition: box-shadow 0.18s;
}
.faq-item h3 {
  color: var(--brand-primary);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.faq-item p {
  color: var(--neutral-dark);
  font-size: 1rem;
  margin-bottom: 0
}

/* ===============
   UTILITY CLASSES
==================*/
.location-map {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  margin-bottom: 12px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 12px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===============
   FOOTER
==================*/
footer {
  background: var(--white);
  border-top: 1px solid var(--neutral-light);
  box-shadow: 0 -1px 12px var(--shadow);
  margin-top: 42px;
}
footer .container {
  padding-top: 32px;
  padding-bottom: 12px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 22px;
}
footer .content-wrapper > div {
  flex: 1 1 170px;
  margin-right: 18px;
}
footer h4 {
  font-family: var(--font-display);
  font-size: 1.04rem;
  color: var(--brand-primary);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  font-size: 0.99rem;
  color: var(--brand-primary);
  transition: color 0.18s;
  position: relative;
  text-decoration: none;
}
footer nav a:hover,footer nav a:focus {
  color: var(--neutral-black);
}
footer img {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
}
.footer-base {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  padding-bottom: 10px;
}
.footer-base p {
  color: var(--neutral-gray);
  font-size: 0.97rem;
}

/* ================
   COOKIE BANNER
===================*/
.cookie-consent-banner {
  position: fixed;
  left: 0; 
  right: 0; 
  bottom: 0;
  width: 100vw;
  background: var(--neutral-black);
  color: var(--white);
  box-shadow: 0 -3px 18px var(--shadow);
  z-index: 1001;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 22px 22px 22px 22px;
  font-size: 1rem;
  transition: transform 0.4s cubic-bezier(.3,.71,.12,1), opacity 0.32s;
  gap: 28px;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  border-radius: 6px;
  padding: 8px 18px;
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-left: 0;
  margin-right: 0;
  outline: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: var(--brand-primary);
  color: var(--white);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--brand-secondary);
}
.cookie-btn.reject {
  background: var(--white);
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--neutral-gray);
  color: var(--white);
}
.cookie-btn.settings {
  background: var(--accent);
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--brand-primary);
  color: var(--white);
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1101;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: rgba(30,33,42,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--white);
  color: var(--neutral-black);
  border-radius: 16px;
  box-shadow: 0 10px 40px var(--shadow);
  padding: 42px 34px 32px 34px;
  min-width: 320px;
  max-width: 95vw;
  z-index: 1120;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  opacity: 1;
  animation: modalIn 0.43s cubic-bezier(.17,.57,.51,1.19);
}
@keyframes modalIn {
  from {transform: translateY(60px); opacity:0}
  to {transform: none; opacity:1}
}
.cookie-modal h2 {
  color: var(--brand-primary);
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1.04rem;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 15px; right: 16px;
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 1.7rem;
  border-radius: 6px;
  padding: 3px 7px;
  transition: background 0.17s;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  background: var(--neutral-light);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 18px;
}
/* ===============
   MICROINTERACTIONS & EFFECTS
==================*/
a, .btn-primary, .btn-secondary, button, .main-nav a, .mobile-nav a {
  transition: background 0.18s, color 0.16s, box-shadow 0.2s;
}
.card, .faq-item, .feature-grid > div, .service-cards > div, .pricing-grid > div {
  transition: box-shadow 0.2s, border 0.14s;
}

/* ==================
   SPACING STYLES
====================*/
.section, .card-container, .feature-grid, .service-cards, .pricing-grid, .testimonial-slider, .faq-list, .content-grid {
  margin-bottom: 60px;
  gap: 20px;
}
.card, .feature-grid > div, .service-cards > div, .pricing-grid > div {
  margin-bottom: 20px;
}

/* ===============
   RESPONSIVE DESIGN
==================*/
@media (max-width: 1023px) {
  .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .service-cards, .feature-grid, .pricing-grid, .testimonial-slider, .footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .footer .content-wrapper > div {
    margin-right: 0;
    margin-bottom: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .hero {
    padding-bottom: 30px;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .cta-banner {
    padding: 34px 0 32px 0;
    border-radius: 9px;
    margin-bottom: 28px;
  }
  .cta-banner h2 {
    font-size: 1.2rem;
  }
  .footer .content-wrapper {
    flex-direction: column;
    gap: 14px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 37px;
    border-radius: 7px;
  }
  .feature-grid, .service-cards, .pricing-grid, .testimonial-slider, .content-grid, .card-container, .faq-list {
    flex-direction: column !important;
    gap: 14px !important;
  }
  .feature-grid > div, 
  .service-cards > div,
  .pricing-grid > div,
  .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 18px 12px;
  }
  .testimonial-card {
    margin-bottom: 12px;
  }
  h1 {
    font-size: 1.58rem;
  }
  h2 {
    font-size: 1.17rem;
  }
  .main-nav, .btn-primary {
    display: none !important;
  }
  .mobile-menu {
    width: 99vw;
    padding-left: 17px;
    padding-right: 7px;
  }
  .testimonial-slider {
    margin-top: 4px;
  }
}
@media (max-width: 540px) {
  .cookie-consent-banner {
    flex-direction: column;
    padding: 14px 7px;
    font-size: 0.98rem;
    gap: 12px;
    align-items: flex-start;
  }
  .cta-banner {
    border-radius: 0px;
  }
  .cookie-modal {
    min-width: 0;
    max-width: 99vw;
    padding: 18px 4vw 18px 4vw;
  }
}

/* ===================
   Accessibility
=====================*/
:focus {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 1px;
}

/* ===============
   PRINT
==================*/
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  .container {
    max-width: 100vw;
    padding: 0;
  }
}
