/* ============================================================
   CSS RESET & BASELINE NORMALIZATION
   ============================================================ */
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;
}

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
}

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #232323;
  background: #fff;
  font-size: 1rem;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  border: none;
  font: inherit;
  background: none;
  cursor: pointer;
  outline: none;
}

:focus-visible {
  outline: 2px solid #232323;
  outline-offset: 2px;
}

/* ============================================================
   COLOR & TYPOGRAPHY SYSTEM (Monochrome Sophisticated)
   ============================================================ */
:root {
  --brand-primary: #232323; /* Deep black-gray for text & accents */
  --brand-secondary: #8a9099; /* Medium gray for subtle elements */
  --brand-accent: #f7f7fa;   /* Light gray backgrounds */

  --brand-contrast: #fff;    /* White for strong contrasts */
  --brand-blue: #073B63;
  --brand-light-blue: #57AACD;

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

h1, h2, h3, h4, .hero h1 {
  font-family: var(--font-display);
  color: var(--brand-primary);
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 16px; }
h2 { font-size: 2rem; line-height: 1.18; margin-bottom: 18px; }
h3 { font-size: 1.375rem; line-height: 1.24; margin-bottom: 12px; }
h4 { font-size: 1.125rem; line-height: 1.35; margin-bottom: 8px; }
@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.5rem; }
}
p, ul li, ol li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--brand-primary);
  margin-bottom: 18px;
  line-height: 1.7;
}
strong, .highlight {
  font-weight: bold;
  color: var(--brand-primary);
}
.subheadline {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--brand-secondary);
  margin-bottom: 28px;
  line-height: 1.5;
}

/* ============================================================
   LAYOUT CONTAINERS & FLEXBOX (NO CSS-GRID!)
   ============================================================ */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-accent);
  border-radius: 16px;
  box-shadow: 0 2px 24px 0 rgba(35,35,35,0.04);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(35,35,35,0.05);
  padding: 32px 24px 24px 24px;
  margin-bottom: 20px;
  min-width: 260px;
  min-height: 220px;
  flex: 1 1 260px;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(35,35,35,0.13);
}

.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;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(35,35,35,0.08);
  padding: 20px 32px 24px 32px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px 0 rgba(35,35,35,0.15);
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #232323;
  font-family: var(--font-body);
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #8a9099;
  font-style: italic;
  font-size: 0.98rem;
}

.card {
  background: #fff;
  color: #232323;
}

/* ============================================================
   HEADER & NAVIGATION (Desktop & Mobile Burger)
   ============================================================ */
header {
  background: var(--brand-contrast);
  box-shadow: 0 1px 10px 0 rgba(35,35,35,0.05);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 18px;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-family: var(--font-body);
}
.main-nav a {
  color: #232323;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-blue);
  color: #fff;
}
header img {
  height: 40px;
  margin-right: 18px;
  display: block;
}
.cta.primary {
  background: #232323;
  color: #fff;
  border-radius: 8px;
  padding: 10px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  box-shadow: 0 1px 8px 0 rgba(8,8,8,0.08);
  margin-left: 12px;
  display: inline-block;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--brand-secondary);
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(35,35,35,0.14);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  font-size: 2rem;
  line-height: 1;
  color: #232323;
  border-radius: 8px;
  padding: 4px 12px;
  transition: background 0.19s, color 0.19s;
  z-index: 111;
  border: none;
  margin-left: 8px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-accent);
  color: var(--brand-blue);
}

/* Hide mobile menu by default, only show hamburger on small screens */
@media (min-width: 1001px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* Responsive header nav: hide nav, show burger on mobile */
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  header .cta.primary {
    display: none;
  }
}

/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,35,35,0.95);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.5,0,0.5,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  color: #fff;
  font-size: 2.1rem;
  margin: 18px 0 16px 22px;
  background: none;
  border: none;
  align-self: flex-start;
  transition: color 0.17s;
  border-radius: 8px;
  padding: 2px 14px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-secondary);
  background: #fff;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  padding: 0 38px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  padding: 12px 0;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(138,144,153,0.17);
  transition: color 0.19s;
  touch-action: manipulation;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-secondary);
}
/* Only shown below desktop breakpoint */
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ============================================================
   HERO/BANNER SECTION
   ============================================================ */
.hero {
  background: #fff;
  padding: 48px 0 24px 0;
  margin-bottom: 50px;
  border-bottom: 1.5px solid rgba(35,35,35,0.08);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-height: 180px;
}
.hero h1 {
  color: #232323;
  font-size: 2.4rem;
  line-height: 1.14;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 800;
}

@media (min-width: 900px) {
  .hero .container {
    align-items: center;
  }
  .hero {
    padding: 68px 0 48px 0;
  }
}

/* ============================================================
   FEATURES & CARDS
   ============================================================ */
.features, .feature-grid, .feature {
  width: 100%;
}
.features .content-wrapper > h2 {
  margin-bottom: 22px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature {
  background: #f7f7fa;
  border-radius: 12px;
  box-shadow: 0 3px 12px 0 rgba(35,35,35,0.04);
  flex: 1 1 220px;
  min-width: 205px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  transition: box-shadow 0.22s;
}
.feature img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
}
.feature h3 {
  font-size: 1.15rem;
  color: #232323;
  margin-bottom: 6px;
}
.feature:hover {
  box-shadow: 0 8px 30px 0 rgba(35,35,35,0.18);
}

@media (max-width: 800px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* ============================================================
   TEAMS, PRICING, RESOURCES, FAQ, ETC.
   ============================================================ */
.team-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.team-member {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(35,35,35,0.05);
  padding: 20px 24px;
  flex: 1 1 220px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.team-member:hover {
  box-shadow: 0 8px 30px 0 rgba(35,35,35,0.10);
}

.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.price-option {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 8px 0 rgba(35,35,35,0.06);
  padding: 28px 24px;
  flex: 1 1 210px;
  min-width: 200px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s;
}
.price-option:hover {
  box-shadow: 0 6px 22px 0 rgba(35,35,35,0.12);
}

.resources ul li, .contact-info ul li, .faq-list .faq-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #232323;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #f7f7fa;
  padding: 20px 24px;
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 rgba(35,35,35,0.04);
}

.schedule, .comparison-list, .map-embed {
  margin-top: 20px;
}
.map-embed {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f7f7fa;
  border-radius: 9px;
  padding: 16px 18px;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .team-list, .pricing-table {
    flex-direction: column;
  }
}

/* ============================================================
   CTA BLOCKS
   ============================================================ */
.cta-block {
  width: 100%;
  background: #232323;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 48px 0 rgba(35,35,35,0.10);
  margin-top: 54px;
  margin-bottom: 24px;
  padding: 48px 0;
}
.cta-block .content-wrapper h2,
.cta-block .content-wrapper p {
  color: #fff;
}
.cta-block .cta.primary {
  background: #fff;
  color: #232323;
  margin-top: 26px;
  box-shadow: 0 1px 12px 0 rgba(255,255,255,0.10);
  border-radius: 8px;
}
.cta-block .cta.primary:hover, .cta-block .cta.primary:focus {
  background: var(--brand-secondary);
  color: #fff;
}

@media (max-width: 600px) {
  .cta-block {
    padding: 34px 0;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #232323;
  padding: 38px 0 30px 0;
  color: #fff;
  border-top: 2px solid #eee;
  margin-top: 70px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-branding img {
  height: 38px;
  margin-bottom: 6px;
}
.footer-contact p,
.footer-contact a {
  color: #8a9099;
  font-size: 0.99rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  font-family: var(--font-body);
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-end;
}
.footer-menu a {
  color: #ccc;
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.15s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: #fff;
}

@media (max-width: 700px) {
  .footer-content {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .footer-menu {
    align-items: flex-start;
  }
}

/* ============================================================
   POLICY SECTION
   ============================================================ */
.policy {
  padding: 38px 0;
}
.policy .content-wrapper a {
  color: var(--brand-blue);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.18s;
}
.policy .content-wrapper a:hover {
  color: var(--brand-secondary);
}

/* ============================================================
   BUTTONS, FORMS, MICRO-INTERACTIONS
   ============================================================ */
button, .cta.primary {
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.21s, border 0.14s;
}
button:disabled {
  opacity: 0.65;
  pointer-events: none;
}

/* Generic secondary button (used in cookie banner & modal) */
.button-secondary {
  background: var(--brand-secondary);
  color: #fff;
  border-radius: 7px;
  padding: 9px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 7px;
  border: none;
  box-shadow: 0 2px 6px 0 rgba(35,35,35,0.06);
}
.button-secondary:hover, .button-secondary:focus {
  background: #232323;
  color: #fff;
}

.button-light {
  background: #fff;
  color: #232323;
  border-radius: 7px;
  padding: 9px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 7px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px 0 rgba(35,35,35,0.03);
}
.button-light:hover, .button-light:focus {
  background: var(--brand-secondary);
  color: #fff;
  border-color: transparent;
}

/* ============================================================
   COOKIE CONSENT BANNER & MODAL
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  padding: 23px 20px 23px 20px;
  background: #232323;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -4px 32px 0 rgba(25,25,25,0.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s 0.05s;
}
#cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
}
#cookie-banner p {
  font-size: 1.08rem;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.5;
  text-align: center;
}
#cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 5px;
}
#cookie-banner button {
  min-width: 117px;
  padding: 10px 18px;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 7px;
  font-weight: 600;
  background: #fff;
  color: #232323;
}
#cookie-banner button:hover, #cookie-banner button:focus {
  background: var(--brand-secondary);
  color: #fff;
}
#cookie-banner .button-secondary {
  background: var(--brand-secondary);
  color: #fff;
}
#cookie-banner .button-secondary:hover,
#cookie-banner .button-secondary:focus {
  background: #fff;
  color: #232323;
}

/* COOKIE SETTINGS MODAL */
#cookie-modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,35,35,0.72);
  z-index: 11000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#cookie-modal.active {
  display: flex;
  animation: fadeIn 0.29s cubic-bezier(0.5,0,0.5,1);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-dialog {
  background: #f7f7fa;
  color: #232323;
  padding: 42px 32px 36px 32px;
  border-radius: 16px;
  max-width: 400px;
  box-shadow: 0 12px 64px 0 rgba(35,35,35,0.30);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 11001;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 22px;
  background: none;
  color: #232323;
  font-size: 1.5rem;
  border: none;
  border-radius: 7px;
  padding: 2px 10px;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #eee;
}
.cookie-modal-dialog h2, .cookie-modal-dialog h3 {
  color: #000;
}
.cookie-modal-dialog ul {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 9px 0;
}
.cookie-category label {
  font-size: 1rem;
  font-family: var(--font-body);
  cursor: pointer;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 2px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ccc;
  border-radius: 16px;
  transition: background 0.14s;
  width: 38px;
  height: 18px;
}
.cookie-toggle input:checked + .toggle-slider {
  background: var(--brand-blue);
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  left: 3px;
  bottom: 1.5px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.15s;
}
.cookie-toggle input:checked + .toggle-slider:before {
  transform: translateX(15px);
}
.cookie-category .cookie-locked {
  color: #c1c1c1;
  font-size: 1.1em;
  margin-left: 2px;
}

.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  justify-content: flex-end;
}

@media (max-width: 600px) {
  .cookie-modal-dialog {
    padding: 23px 9vw 30px 9vw;
  }
}

/* ============================================================
   RESPONSIVE QUERIES & UTILITIES
   ============================================================ */
@media (max-width: 1050px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section {
    padding: 34px 8px;
  }
}

@media (max-width: 800px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .cta.primary, .card, .feature, .team-member, .price-option {
    padding-left: 14px;
    padding-right: 14px;
  }
  .testimonial-card {
    padding: 18px 14px 20px 14px;
  }
}

@media (max-width: 500px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.16rem; }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .section {
    padding-left: 4px;
    padding-right: 4px;
  }
  .footer-content {
    gap: 11px;
  }
}

/* ============================================================
   MISC/UTILITIES
   ============================================================ */
.mt-2 { margin-top: 2px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }

/* =============================================================
   OVERLAY SCROLL LOCKING - for mobile menu & modal
   ============================================================= */
body.menu-open,
body.cookie-modal-open {
  overflow-y: hidden;
  height: 100vh;
  overscroll-behavior: none;
}

/* =========== END =========== */ 
