/* =======================================================
   CSS RESET & NORMALIZATION
   ======================================================= */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
}
ul, ol {
  padding-left: 1.2em;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button, input, textarea, select {
  font: inherit;
  background: none;
  border: none;
  color: inherit;
}
button, a {
  cursor: pointer;
}
a {
  text-decoration: none;
  color: inherit;
}
address {
  font-style: normal;
}

/* =======================================================
   BRAND FONTS & COLOR VARIABLES
   ======================================================= */
:root {
  --font-display: 'Montserrat', 'Georgia', serif;
  --font-body: 'Open Sans', 'Georgia', serif;
  --brand-primary: #2F4858;
  --brand-secondary: #F7C873;
  --brand-accent: #FBF8F3;
  --gray-medium: #c1baa8;
  --gray-light: #ede8de;
  --muted-bg: #F7F6F2;
  --text-main: #1A2421;
  --text-muted: #54514a;
  --elevated: 0 2px 8px rgba(47, 72, 88, 0.08);
  --border-radius: 14px;
}

/* =======================================================
   BASE TYPOGRAPHY
   ======================================================= */
body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--brand-accent);
  line-height: 1.7;
  letter-spacing: .01em;
  font-size: 1rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--brand-primary);
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--brand-primary);
  margin-bottom: 18px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--brand-primary);
  margin-bottom: 12px;
}
h4, .h4, h5, .h5, h6, .h6 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
p, ul, ol {
  font-size: 1.06rem;
  margin-bottom: 15px;
  color: var(--text-main);
}
strong {
  font-weight: bold;
  color: var(--brand-primary);
}
ul, ol {
  list-style: disc;
}
ul li, ol li {
  margin-bottom: 10px;
  color: var(--text-muted);
}

/* Links */
a {
  color: var(--brand-primary);
  -webkit-transition: color .18s;
  transition: color .18s;
}
a:hover, a:focus {
  color: var(--brand-secondary);
  text-decoration: underline;
}

/* =======================================================
   LAYOUT CONTAINERS
   ======================================================= */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Spacing Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--elevated);
  padding: 24px 22px;
  min-width: 270px;
  flex: 1 1 250px;
  -webkit-transition: box-shadow .28s;
  transition: box-shadow .28s;
}
.card:hover {
  box-shadow: 0 4px 16px rgba(47,72,88,0.15);
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 26px;
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(47,72,88,0.10);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  max-width: 480px;
  min-width: 250px;
  color: var(--text-main);
  border: 1px solid #ede8de;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 0 0 8px 0;
}
.map-placeholder {
  background: var(--muted-bg);
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius);
  padding: 12px;
  margin: 16px 0;
  max-width: 320px;
}

/* Card grid utility (for future use) */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

/* =======================================================
   HEADER & NAVIGATION
   ======================================================= */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 22px;
  background: #fff;
  border-bottom: 1px solid #ede8de;
  position: relative;
  z-index: 101;
  min-height: 74px;
}
header > a img {
  height: 38px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 25px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--brand-primary);
  letter-spacing: .01em;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  -webkit-transition: border-color .2s, color .18s;
  transition: border-color .2s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--brand-secondary);
  border-bottom: 2px solid var(--brand-secondary);
}
.cta-header {
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 22px;
  padding: 9px 22px;
  margin-left: 18px;
  font-size: 1.06rem;
  box-shadow: 0 1px 5px rgba(47,72,88,0.06);
  -webkit-transition: background .16s, color .16s;
  transition: background .16s, color .16s;
}
.cta-header:hover, .cta-header:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.1rem;
  color: var(--brand-primary);
  padding: 6px 10px;
  border-radius: 9px;
  border: 1px solid transparent;
  margin-left: 16px;
  -webkit-transition: background .14s;
  transition: background .14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--muted-bg);
  border: 1px solid var(--brand-primary);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(47, 72, 88, 0.98);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 44px 24px 24px 24px;
  -webkit-transform: translateX(-100vw);
  transform: translateX(-100vw);
  -webkit-transition: transform .38s cubic-bezier(.6,.05,.32,1);
  transition: transform .38s cubic-bezier(.6,.05,.32,1);
}
.mobile-menu.open {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px; right: 19px;
  background: none;
  color: #fff;
  font-size: 2.15rem;
  z-index: 2020;
  border: none;
  padding: 8px;
  border-radius: 50%;
  -webkit-transition: background .18s;
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.34rem;
  letter-spacing: .02em;
  padding: 8px 0;
  border-bottom: 1px solid rgba(230, 218, 200, 0.13);
  border-radius: 0;
  -webkit-transition: background .13s, color .13s;
  transition: background .13s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-secondary);
  background: rgba(255,255,255,0.08);
}


/* =======================================================
   CTA BUTTON STYLES
   ======================================================= */
.cta-main {
  display: inline-block;
  padding: 13px 38px;
  border-radius: 26px;
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 12px;
  margin-bottom: 6px;
  letter-spacing: .01em;
  box-shadow: 0 3px 18px 0 rgba(47,72,88,0.12);
  border: none;
  cursor: pointer;
  -webkit-transition: background .19s, color .19s, box-shadow .2s;
  transition: background .19s, color .19s, box-shadow .2s;
}
.cta-secondary {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 22px;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 8px;
  letter-spacing: .01em;
  box-shadow: 0 1px 7px 0 rgba(47,72,88,0.09);
  border: none;
  cursor: pointer;
  -webkit-transition: background .15s, color .13s;
  transition: background .15s, color .13s;
}
.cta-main:hover, .cta-main:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: 0 6px 28px 0 rgba(47,72,88,0.17);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--brand-primary);
  color: #fff;
}
button:focus-visible, .cta-main:focus-visible, .cta-header:focus-visible {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}

/* =======================================================
   FOOTER STYLES
   ======================================================= */
footer {
  background: var(--brand-primary);
  color: #fff;
  padding: 38px 18px 8px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 42px;
}
.footer-logo img {
  height: 38px;
  width: auto;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  gap: 26px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.03rem;
  opacity: 0.93;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  -webkit-transition: border-color .18s, color .18s;
  transition: border-color .18s, color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-secondary);
  border-bottom: 1px solid var(--brand-secondary);
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 1.02rem;
}
.footer-info a {
  color: var(--brand-secondary);
  text-decoration: underline;
}
.footer-tagline {
  margin-top: 8px;
  font-size: 0.98rem;
  font-weight: 400;
  color: #e3e3e3;
  font-family: var(--font-body);
  opacity: 0.68;
}


/* =======================================================
   TESTIMONIALS / REVIEWS
   ======================================================= */
.testimonial-card p {
  font-size: 1.05rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 9px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--brand-primary);
  font-family: var(--font-display);
}

/* Always dark text on white BG for contrast */
.testimonial-card {
  background: #fff;
  color: var(--text-main);
}

/* =======================================================
   MISC UTILITIES & DETAILS
   ======================================================= */
section {
  border-radius: var(--border-radius);
}
.content-wrapper > ul, .content-wrapper > .text-section > ul {
  margin-top: 0;
  padding-left: 1.2em;
}
.content-wrapper > ul li, .content-wrapper > .text-section > ul li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.content-wrapper > ul img, .content-wrapper > .text-section > ul img {
  height: 28px;
  width: 28px;
  margin-right: 8px;
}
hr {
  border: none;
  border-top: 1px solid var(--gray-light);
  margin: 2.5em 0;
}
.map-placeholder img {
  height: 140px;
  width: auto;
  margin: 0 auto;
  opacity: .96;
}

/* =======================================================
   FORM ELEMENTS, IF NEEDED
   ======================================================= */
input, textarea, select {
  padding: 10px 12px;
  border: 1px solid var(--gray-medium);
  border-radius: 7px;
  background: #fff;
  font-size: 1rem;
  color: var(--brand-primary);
  margin-bottom: 14px;
  width: 100%;
  -webkit-transition: border-color .14s;
  transition: border-color .14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-secondary);
  outline: none;
}

/* =======================================================
   COOKIE CONSENT BANNER + MODAL
   ======================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbe1;
  color: var(--brand-primary);
  box-shadow: 0 -2px 14px rgba(47,72,88,0.13);
  border-top: 1.5px solid var(--brand-secondary);
  z-index: 4000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 18px 21px 18px;
  gap: 24px;
  font-size: 1.07rem;
  flex-wrap: wrap;
  -webkit-transition: transform .38s cubic-bezier(.5,.2,.3,1);
  transition: transform .38s cubic-bezier(.5,.2,.3,1);
}
.cookie-banner.hide {
  -webkit-transform: translateY(120%);
  transform: translateY(120%);
}
.cookie-banner .cookie-btn {
  margin-left: 9px;
  margin-top: 6px;
  min-width: 110px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: .01em;
  border-radius: 18px;
  padding: 9px 19px;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: none;
  box-shadow: 0 1px 4px 0 rgba(47,72,88,.08);
  -webkit-transition: background .14s, color .11s;
  transition: background .14s, color .11s;
}
.cookie-banner .cookie-btn.accept {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary);
}
.cookie-banner .cookie-btn.settings {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: none;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--brand-primary);
  color: #fff;
}
/* Cookie modal overlay/backdrop */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 4500;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(32, 30, 26, 0.18);
  -webkit-backdrop-filter: blur(1.5px);
  backdrop-filter: blur(1.5px);
}
.cookie-modal-backdrop.open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  color: var(--brand-primary);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 29px 0 rgba(47,72,88,0.24);
  padding: 34px 30px 30px 30px;
  width: 98%;
  max-width: 385px;
  font-size: 1.05rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookie-modal-fadein .4s cubic-bezier(.43,.34,.18,1);
}
@keyframes cookie-modal-fadein {
  from { opacity: 0; -webkit-transform: scale(.95); transform: scale(.95); }
  to { opacity: 1; -webkit-transform: scale(1); transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.15rem;
  color: var(--brand-primary);
}
.cookie-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 17px;
  background: none;
  color: var(--brand-primary);
  font-size: 1.45rem;
  border: none;
  padding: 5px 7px;
  border-radius: 50%;
  -webkit-transition: background .13s;
  transition: background .13s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #F7F6F2;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
  font-family: var(--font-display);
}
.cookie-modal .cookie-category input[type='checkbox'] {
  accent-color: var(--brand-primary);
  width: 19px; height: 19px;
  border-radius: 4px;
}
.cookie-modal .cookie-label-required {
  color: #999;
  font-size: 0.97em;
}
.cookie-modal .settings-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 6px;
}
.cookie-modal .settings-actions button {
  padding: 8px 18px;
  border-radius: 16px;
  font-size: 1rem;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: none;
  font-weight: 600;
  font-family: var(--font-display);
  -webkit-transition: background .14s;
  transition: background .14s;
}
.cookie-modal .settings-actions button.save {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-modal .settings-actions button:hover {
  background: var(--brand-primary);
  color: #fff;
}

/* =======================================================
   RESPONSIVENESS - MOBILE FIRST
   ======================================================= */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 9px;
  }
  section {
    padding: 32px 8px;
  }
  .main-nav {
    gap: 16px;
  }
  .footer-info {
    font-size: 0.98rem;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 0.97rem;
  }
  .content-wrapper, .text-section {
    gap: 14px;
  }
  .container {
    max-width: 99vw;
    padding: 0 4px;
  }
  section {
    margin-bottom: 36px;
    padding: 24px 4px;
    border-radius: 0;
  }
  .main-nav, .cta-header {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header {
    padding: 12px 10px;
    min-height: 56px;
  }
  h1, .h1 {
    font-size: 1.48rem;
  }
  h2, .h2 {
    font-size: 1.21rem;
  }
  .card, .testimonial-card {
    min-width: 98vw;
    padding: 17px 10px;
    font-size: 0.99rem;
  }
  .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 99vw;
  }
  .footer-nav {
    flex-direction: column;
    gap: 13px;
  }
}

@media (max-width: 480px) {
  h1, .h1 {
    font-size: 1.14rem;
  }
  h2, .h2 {
    font-size: 1rem;
  }
  .card, .testimonial-card {
    font-size: 0.96rem;
    padding: 11px 5px;
  }
  .cookie-modal {
    padding: 18px 8px 16px 13px;
  }
  .footer-logo img {
    height: 34px;
  }
}

/* =======================================================
   SUBTLE MICRO-INTERACTIONS
   ======================================================= */
.cta-main, .cta-secondary, .cookie-banner .cookie-btn, .cookie-modal .settings-actions button {
  -webkit-transition: background .19s, color .16s, box-shadow .27s, transform .2s;
  transition: background .19s, color .16s, box-shadow .27s, transform .2s;
}
.cta-main:hover, .cta-secondary:hover, .cookie-banner .cookie-btn:hover, .cookie-modal .settings-actions button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 20px 0 rgba(47,72,88,0.11);
}

/* =======================================================
   FINE-TUNE FLEXBOX (NO GRID! NO COLUMNS!)
   ======================================================= */
/* All layouts above use display:flex and flex-wrap. No grid-based code here. */