/* =====================
   CSS RESET & NORMALIZE
   ===================== */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #1A2633;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  border-radius: 12px;
}
input, button, textarea, select {
  font-family: inherit;
}
a {
  color: #204072;
  text-decoration: none;
  transition: color 0.18s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #12705b;
  outline: none;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
hr {
  border: none;
  border-top: 1px solid #f2f2f2;
  margin: 24px 0;
}

/* =====================
   BRAND VARIABLES
   ===================== */
:root {
  --fw-primary: #204072;
  --fw-primary-dark: #163055;
  --fw-secondary: #ffffff;
  --fw-accent: #12705b;
  --fw-secondary-bg: #fdf7f2;
  --fw-card-bg: #fff9f6;
  --fw-light-brown: #fbe8d3;
  --fw-warm-yellow: #ffe4b9;
  --fw-soft-shadow: 0 4px 16px rgba(32, 64, 114, 0.10);
  --fw-soft-shadow-focused: 0 6px 30px rgba(32, 64, 114, 0.16);
  --fw-radius: 18px;
  --fw-radius-lg: 32px;
  --fw-border: 1px solid #e8ecf4;
  --fw-headline: 'Montserrat', Verdana, 'Segoe UI', Arial, sans-serif;
  --fw-body: 'Open Sans', Arial, sans-serif;
  --fw-font-light: 300;
  --fw-font-medium: 500;
  --fw-font-bold: 700;
}

/* =====================
   LAYOUT & SPACING
   ===================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--fw-secondary-bg);
  border-radius: var(--fw-radius);
  box-shadow: var(--fw-soft-shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--fw-card-bg);
  border-radius: var(--fw-radius);
  box-shadow: var(--fw-soft-shadow);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--fw-radius-lg);
  box-shadow: var(--fw-soft-shadow);
  border: 1px solid #faead6;
  margin-bottom: 20px;
  color: #273141;
  max-width: 600px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.map-embed {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 0 0 0;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 15px;
  color: #285172;
  align-items: center;
}
/* Margin between cards/sections */
main > section, .testimonial-card, .card {
  margin-bottom: 20px;
}

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fw-headline);
  color: var(--fw-primary);
  font-weight: var(--fw-font-bold);
  margin-bottom: 8px;
  line-height: 1.12;
}
h1 { font-size: 2.5rem; margin-bottom: 12px; }
h2 { font-size: 1.75rem; margin-bottom: 10px; }
h3 { font-size: 1.3rem; margin-bottom: 7px; }
h4 { font-size: 1.08rem; margin-bottom: 6px; }
.subheadline {
  font-family: var(--fw-body);
  font-size: 1.25rem;
  font-weight: var(--fw-font-light);
  color: #57432a;
  margin-bottom: 10px;
  line-height: 1.45;
}
p {
  font-size: 1rem;
  margin-bottom: 8px;
}
strong {
  font-weight: var(--fw-font-bold);
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  background: #fffaf7;
  box-shadow: 0 3px 18px rgba(200, 165, 120, 0.07);
  border-bottom: 1px solid #faead6;
  width: 100%;
  padding: 0;
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 18px;
}
header img {
  height: 48px;
  width: auto;
  border-radius: 0;
  margin-right: 22px;
}
nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: var(--fw-headline);
  font-weight: var(--fw-font-medium);
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 12px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--fw-light-brown);
  color: var(--fw-accent);
}
.cta {
  display: inline-block;
  background: var(--fw-accent);
  color: #fff;
  font-family: var(--fw-headline);
  font-size: 1.08rem;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 28px;
  transition: background 0.2s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(32,64,114,0.09);
  border: none;
  cursor: pointer;
  margin-left: 18px;
}
.cta:hover, .cta:focus {
  background: #28A085;
  color: #fff;
  box-shadow: var(--fw-soft-shadow-focused);
  outline: none;
}

/* Burger menu button */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 990;
  background: #fff;
  color: var(--fw-primary);
  border: 2px solid var(--fw-light-brown);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(98,64,32,0.09);
  transition: background 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--fw-warm-yellow);
}

/* =====================
   MOBILE MENU
   ===================== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #ffeedd;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  padding: 24px 18px;
  box-shadow: 0 8px 44px rgba(60, 45, 20, 0.21);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #ffe4b9;
  border: none;
  color: var(--fw-primary);
  font-size: 2rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(32,64,114,0.08);
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--fw-light-brown);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  display: block;
  font-size: 1.2rem;
  font-family: var(--fw-headline);
  font-weight: 500;
  color: var(--fw-primary-dark);
  padding: 18px 6px 12px 4px;
  border-radius: 12px;
  transition: background 0.17s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--fw-warm-yellow);
  color: var(--fw-accent);
}

/* ===============
   HERO SECTION
 ================ */
.hero {
  background: linear-gradient(120deg, #ffecd2 0%, #ffeebb 100%);
  border-radius: var(--fw-radius-lg);
  box-shadow: var(--fw-soft-shadow);
  margin-bottom: 48px;
  padding: 54px 0 42px 0;
  display: flex;
  flex-direction: column;
}
.hero .container {
  align-items: center;
}
.hero h1 {
  font-size: 2.4rem;
  color: var(--fw-primary);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.hero .subheadline {
  font-size: 1.24rem;
  max-width: 540px;
  color: #955b09;
  font-weight: 400;
  margin-bottom: 24px;
}

/* =====================
   LISTS AND ICONS
   ===================== */
ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1rem;
  color: #353535;
  padding-left: 0;
}
ul li img {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #fffceb;
  box-shadow: 0 1px 4px rgba(235, 160, 70, 0.08);
  margin-right: 2px;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: #fffaf6;
  border-top: 1px solid #faead6;
  box-shadow: 0 -2px 12px rgba(245, 227, 192, 0.07);
  padding: 36px 0 18px 0;
  margin-top: 54px;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 14px;
}
footer nav a {
  color: #204072;
  font-size: 1rem;
  font-family: var(--fw-headline);
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 9px;
  transition: background 0.14s;
}
footer nav a:hover, footer nav a:focus {
  background: #ffe4b9;
  color: #12705b;
}
.footer-copy {
  margin-top: 18px;
  color: #ac9d89;
  font-size: 0.92rem;
  font-style: italic;
}
footer img {
  height: 42px;
  width: auto;
  border-radius: 0;
}

/* =====================
   BUTTONS
   ===================== */
button, .btn, .cta {
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  font-family: var(--fw-headline);
  font-weight: 600;
  font-size: 1rem;
}
.btn {
  background: var(--fw-accent);
  color: #fff;
  padding: 12px 25px;
  border-radius: 22px;
  box-shadow: var(--fw-soft-shadow);
}
.btn:hover, .btn:focus {
  background: #28A085;
  color: #fff;
  box-shadow: var(--fw-soft-shadow-focused);
}
.btn-secondary {
  background: #ffe4b9;
  color: var(--fw-primary);
  border: 1px solid #ffdca2;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #fbe2b1;
  color: #12705b;
}

/* =====================
   TESTIMONIAL CARDS
   ===================== */
.testimonial-card p {
  color: #3b3a37;
  font-size: 1.11rem;
}
.testimonial-card strong {
  color: #204072;
  font-size: 0.98rem;
  font-weight: 700;
}
.testimonial-card h3 {
  font-size: 1.15rem;
  color: #12705b;
}

/* =====================
   COOKIE CONSENT BANNER
   ===================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #ffe4b9;
  color: #504028;
  padding: 28px 18px 20px 18px;
  z-index: 2000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -3px 28px rgba(206, 157, 61, 0.15);
  gap: 22px;
  font-size: 1.04rem;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  animation: fadeInUp .54s cubic-bezier(.15,.73,.44,1.36);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 15px;
}
.cookie-consent-banner .btn, .cookie-consent-banner button {
  padding: 9px 22px;
  font-size: 1rem;
  border-radius: 18px;
}
.cookie-consent-banner .btn-accept {
  background: var(--fw-accent);
  color: #fff;
}
.cookie-consent-banner .btn-accept:hover {
  background: #28A085;
}
.cookie-consent-banner .btn-reject {
  background: #dedede;
  color: #412f1a;
}
.cookie-consent-banner .btn-reject:hover {
  background: #cfb388;
}
.cookie-consent-banner .btn-settings {
  background: #fffaf0;
  color: #204072;
  border: 1px solid #faead6;
}
.cookie-consent-banner .btn-settings:hover {
  background: #ffe4b9;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,64,114,0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .33s cubic-bezier(.15,.73,.44,1.36);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 32px;
  max-width: 430px;
  width: 95%;
  padding: 38px 24px 26px 24px;
  box-shadow: 0 8px 64px rgba(120,100,35,0.22);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.4rem;
  color: #204072;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 600;
  color: #4d3121;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 13px;
  margin-top: 18px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 16px;
  right: 22px;
  background: #ffe4b9;
  border: none;
  border-radius: 50%;
  font-size: 1.26rem;
  width: 40px;
  height: 40px;
  color: #204072;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal .close-cookie-modal:hover {
  background: #fbe2b1;
}
.cookie-toggle {
  appearance: none;
  width: 42px;
  height: 22px;
  background: #dedede;
  border-radius: 18px;
  position: relative;
  outline: none;
  transition: background 0.16s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #28A085;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.16s;
}
.cookie-toggle:checked::before {
  transform: translateX(16px);
}
.cookie-category.cookie-essential label {
  opacity: 0.76;
  font-style: italic;
}
.cookie-category.cookie-essential .cookie-toggle {
  pointer-events: none;
  background: #e3e3e3;
}

/* =====================
   RESPONSIVE DESIGN
   ===================== */
@media (max-width: 1100px) {
  .container {
    max-width: 100%;
    padding: 0 14px;
  }
}
@media (max-width: 900px) {
  header .container, footer .container {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  nav {
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.67rem; }
  h2 { font-size: 1.25rem; }
  .hero { padding: 36px 0 26px 0; }
  .section {
    margin-bottom: 36px;
    padding: 24px 10px;
  }
  .content-wrapper, .container {
    gap: 12px;
  }
  .card-container, .content-grid, .footer-contact, footer nav {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 14px;
    gap: 12px;
    border-radius: 22px;
  }
  .map-embed {
    padding: 8px 0 0 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header nav, header .cta { display: none; }
  .hero .container { align-items: flex-start; }
}

@media (max-width: 575px) {
  .hero {
    padding: 18px 0;
    border-radius: 16px;
  }
  .testimonial-card, .card {
    box-shadow: 0 2px 10px rgba(32,64,114,0.10);
    padding: 10px 7px;
    border-radius: 14px;
  }
  .footer-contact {
    gap: 10px;
    font-size: 14px;
  }
  .section {
    padding: 13px 4px;
    border-radius: 14px;
  }
  .cookie-modal {
    padding: 20px 6px 16px 14px;
    border-radius: 18px;
  }
}

/* =====================
   ANIMATIONS & HOVER EFFECTS
   ===================== */
.cta, .btn, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.20s, box-shadow 0.17s, color 0.22s, border 0.16s;
}
.card, .testimonial-card {
  transition: box-shadow 0.22s, border 0.15s;
}
.card:hover, .testimonial-card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(32, 64, 114, 0.19);
  border: 1px solid #ffdca2;
  outline: none;
}
.card:active, .testimonial-card:active {
  box-shadow: 0 3px 8px rgba(32, 64, 114, 0.08);
}
button:focus, .btn:focus, .cta:focus {
  box-shadow: 0 0 0 2px #faead6;
}

/* =====================
   FORM ELEMENTS
   ===================== */
input, textarea, select {
  border: 1px solid #dbc6ac;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 1rem;
  background: #fffdf7;
  margin-top: 5px;
  color: #352c22;
  width: 100%;
  transition: border 0.17s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--fw-accent);
  box-shadow: 0 2px 8px rgba(39, 121, 81, 0.10);
  outline: none;
}
::placeholder {
  color: #a68c60;
  opacity: 0.8;
}

/* =====================
   SPECIAL UTILITIES
   ===================== */
.d-flex {
  display: flex !important;
}
.flex-col {
  flex-direction: column !important;
}
.gap-20 {
  gap: 20px !important;
}
.align-center {
  align-items: center !important;
}
.align-start {
  align-items: flex-start !important;
}
.justify-between {
  justify-content: space-between !important;
}

/* =====================
   MISC CLASSES
   ===================== */
.logo {
  height: 48px;
  width: auto;
  border-radius: 10px;
  margin-right: 8px;
}

/* Remove margin-bottom for last child in container */
.container > *:last-child,
.section > *:last-child {
  margin-bottom: 0 !important;
}
/* Utility - Hide on desktop, show on mobile */
.hide-desktop {
  display: none;
}
@media (max-width:768px) {
  .hide-desktop {
    display: initial;
  }
}

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