/* =========================
   CSS RESET & NORMALIZE
   ========================= */
html, body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5E6C5;
  color: #244034;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}
a {
  color: #244034;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B71E23;
}
ul, li {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
}

/* =========================
   BRAND VARIABLES (Fallbacks)
   ========================= */
:root {
  --color-primary: #244034;
  --color-secondary: #F5E6C5;
  --color-accent: #B71E23;
  --color-white: #ffffff;
  --color-gray: #F7F8F9;
  --color-shadow: rgba(36,64,52,.08);
  --radius-card: 18px;
  --radius-btn: 6px;
  --shadow-md: 0 2px 24px rgba(36,64,52,0.13);
}

/* =========================
   TYPOGRAPHY
   ========================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-weight: 900;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.15;
}
h2 {
  font-size: 1.7rem;
  line-height: 1.20;
}
h3 {
  font-size: 1.21rem;
  line-height: 1.25;
  margin-top: 24px;
}
h4, h5 {
  font-size: 1.1rem;
  line-height: 1.2;
}
p, ul, address {
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-accent);
}

/* =========================
   STRUCTURE & CONTAINERS
   ========================= */
.container {
  width: 100%;
  max-width: 1128px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  padding: 32px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
  min-width: 256px;
  flex: 1 1 300px;
}
.card:hover {
  box-shadow: 0 4px 32px rgba(36,64,52,0.19);
  transform: translateY(-3px) scale(1.018);
  z-index: 1;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.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: 20px;
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  border-left: 6px solid var(--color-accent);
  min-width: 260px;
  transition: box-shadow .2s, border-color .2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(36,64,52,0.18);
  border-left: 6px solid #244034;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}
address {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-style: normal;
  margin-top: 16px;
}
address div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--color-primary);
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  background: var(--color-white);
  box-shadow: 0 1px 10px rgba(36,64,52,0.06);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 90;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 48px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 0;
  letter-spacing: 0.2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom-color 0.18s;
}
nav a:hover,
nav a:focus {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}
nav a.cta {
  background: var(--color-accent);
  color: var(--color-white) !important;
  padding: 10px 28px;
  margin-left: 18px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.22px;
  font-size: 1.1rem;
  box-shadow: 0 1px 12px rgba(183,30,35,.09);
  border: none;
  transition: background .23s, box-shadow .18s, transform .21s;
  border-bottom: 0;
}
nav a.cta:hover,
nav a.cta:focus {
  background: #244034;
  color: var(--color-white) !important;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 4px 28px rgba(36,64,52,0.14);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--color-accent);
  border-radius: 10px;
  color: #fff;
  padding: 4px 12px;
  margin-left: 20px;
  transition: background 0.23s, color .21s;
  z-index: 150;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #244034;
  color: #F5E6C5;
}
header .mobile-menu {
  display: none;
}

/* MOBILE NAVIGATION OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--color-white);
  box-shadow: 0 12px 60px rgba(36,64,52,0.12);
  z-index: 300;
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(.77,0,.175,1);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  color: var(--color-primary);
  margin: 30px 26px 10px 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  padding: 26px 32px;
  margin-top: 24px;
}
.mobile-nav a {
  font-size: 1.4rem;
  color: var(--color-primary);
  font-weight: 700;
  padding: 8px 0;
  letter-spacing: 0.25px;
  width: 100%;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom-color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}

/* ========== HERO / MAIN SECTIONS ========== */
.hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 70px 0 48px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .container {
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.hero .content-wrapper {
  max-width: 670px;
  padding: 0;
  text-align: center;
}
.hero h1 {
  color: var(--color-white);
}
.hero p {
  color: var(--color-secondary);
  font-size: 1.13rem;
  margin-bottom: 28px;
}
.hero .cta {
  margin-top: 15px;
}

/* ========== CTA BUTTONS ========== */
.cta,
button.cta,
input[type="submit"].cta {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.09rem;
  border-radius: var(--radius-btn);
  padding: 12px 34px;
  box-shadow: 0 2px 22px rgba(183,30,35,.10);
  border: none;
  text-transform: none;
  transition: background 0.18s, box-shadow 0.19s, transform 0.19s;
  cursor: pointer;
  margin-top: 20px;
}
.cta:hover, .cta:focus {
  background: #244034;
  color: #ffffff;
  box-shadow: 0 8px 34px rgba(36,64,52,0.20);
  transform: scale(1.04) translateY(-3px);
}

/* ========== LIST / ICONS ========== */
ul {
  margin-bottom: 18px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
ul li {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #244034;
}
ul li img {
  width: 26px;
  height: 26px;
}

/* ========== MAP EMBED ========== */
.map-embed {
  width: 100%;
  height: 220px;
  background: #e9e7d7;
  border-radius: 12px;
  margin-top: 20px;
}

/* ========== FOOTER ========== */
footer {
  background: #244034;
  color: #F5E6C5;
  padding: 50px 0 30px 0;
  border-top: 8px solid #B71E23;
}
footer .container {
  align-items: center;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
footer img {
  height: 40px;
}
footer nav {
  display: flex;
  gap: 26px;
}
footer nav a {
  color: #F5E6C5;
  font-size: 1rem;
  padding: 6px 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color 0.16s, border-bottom-color 0.16s;
}
footer nav a:hover,
footer nav a:focus {
  color: #fff;
  border-bottom: 2px solid #B71E23;
}
footer address div {
  color: #F5E6C5;
  font-size: .98rem;
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-white);
  box-shadow: 0 -2px 32px rgba(36,64,52,0.12);
  padding: 20px 20px 20px 16px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  transition: transform .35s cubic-bezier(.77,0,.175,1);
  transform: translateY(0);
  border-top: 3px solid var(--color-accent);
}
.cookie-banner.hide {
  transform: translateY(130%);
}
.cookie-banner p {
  color: var(--color-primary);
  font-size: 1rem;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-banner button {
  padding: 8px 24px;
  border-radius: var(--radius-btn);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0;
  transition: background 0.18s, color .18s, box-shadow .15s;
  border: none;
}
.cookie-banner .btn-accept {
  background: var(--color-accent);
  color: #fff;
}
.cookie-banner .btn-accept:hover,
.cookie-banner .btn-accept:focus {
  background: #244034;
  color: #fff;
}
.cookie-banner .btn-reject {
  background: #e0d5ba;
  color: var(--color-accent);
}
.cookie-banner .btn-reject:hover,
.cookie-banner .btn-reject:focus {
  background: #B71E23;
  color: var(--color-white);
}
.cookie-banner .btn-settings {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .btn-settings:hover,
.cookie-banner .btn-settings:focus {
  background: var(--color-accent);
  color: #fff;
}

/* Cookie Preferences Modal (hidden by default) */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  background: rgba(36,64,52,0.28);
  align-items: center;
  justify-content: center;
  transition: opacity .2s;
  pointer-events: none;
}
.cookie-modal.active {
  display: flex;
  pointer-events: all;
}
.cookie-modal-content {
  background: var(--color-white);
  border-radius: 15px;
  padding: 36px 30px;
  min-width: 330px;
  max-width: 92vw;
  box-shadow: 0 8px 52px rgba(36,64,52,.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-modal .category-label {
  flex: 1 1 auto;
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--color-accent);
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px;
  right: 20px;
  background: none;
  font-size: 1.8rem;
  color: var(--color-accent);
  border: none;
  cursor: pointer;
  transition: color .17s;
}
.cookie-modal .close-modal:hover {
  color: #244034;
}

/* =========================
   RESPONSIVENESS
   ========================= */
@media (max-width: 1100px) {
  .container {
    max-width: 920px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 690px;
  }
  .content-wrapper, .section {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    padding-left: 10px;
    padding-right: 10px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  html {font-size: 14px;}
  .hero {
    padding: 44px 0 32px 0;
  }
  .section {
    padding: 22px 0px;
    margin-bottom: 35px;
  }
  .cta, button.cta, input[type="submit"].cta {
    padding: 12px 18px;
    font-size: .96rem;
  }
  .testimonial-card {
    padding: 12px 8px;
    min-width: 0;
  }
  footer .content-wrapper {
    gap: 17px;
  }
}

/* =========================
   GEOMETRIC STRUCTURED VISUALS
   ========================= */
h1, h2, h3, .cta, nav a.cta {
  font-family: 'Playfair Display', serif;
}
.cta, nav a.cta, button.cta {
  border-radius: 6px 18px 6px 18px;
  /* geometric: mix of round and sharp */
}
.card, .testimonial-card {
  border-radius: 19px 6px 19px 6px;
  /* geometric: angular mix */
}
.section, .hero, .card, .testimonial-card, .cookie-modal-content {
  box-shadow: 0 2px 18px rgba(36,64,52,0.07);
}
ul li img {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(36,64,52,0.08);
  padding: 3px;
}
hr {
  border: none;
  height: 2px;
  background: var(--color-accent);
  width: 48px;
  margin: 32px auto;
  border-radius: 3px;
}

/* Microinteraction - subtle scale for all cards */
.card, .testimonial-card {
  transition: box-shadow 0.15s, transform 0.14s, border-color 0.2s;
}
.card:active, .testimonial-card:active {
  transform: scale(0.98);
  box-shadow: 0 1px 2px rgba(36,64,52,0.08);
}

/* =========================
   ADDITIONAL UTILITIES
   ========================= */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* =========================
   FOCUS STATES ACCESSIBILITY
   ========================= */
a:focus-visible, .cta:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* =========================
   CUSTOM SCROLLBAR for dark sections
   ========================= */
::-webkit-scrollbar {
  height: 11px;
  width: 11px;
  background: #e5e2d6;
}
::-webkit-scrollbar-thumb {
  background: #244034;
  border-radius: 9px;
}

/* =========================
   PRINT ADJUSTMENTS
   ========================= */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
}
