/* =====================
   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, main, section, article, aside, nav, footer, header, figure, figcaption, details, summary, hr {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
}
main, section, article, aside, nav, footer, header {
  display: block;
}
body {
  line-height: 1.6;
  background: #FCFCFA;
  font-family: 'Roboto', Georgia, serif;
  color: #2D2B28;
  min-height: 100vh;
}
a {
  color: #1D3557;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #457B9D;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
strong {
  font-weight: 700;
}
img {
  max-width: 100%;
  display: block;
}
hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 32px 0;
}

/* ===========================
   CORE VARIABLES & TYPOGRAPHY
   =========================== */
:root {
  --font-head: 'Montserrat', Georgia, serif;
  --font-body: 'Roboto', Georgia, serif;
  --brand-primary: #1D3557;
  --brand-secondary: #A8DADC;
  --brand-accent: #FDEFB2;
  --neutral-bg: #FCFCFA;
  --muted-text: #757575;
  --elegant-border: #E3E1DB;
  --shadow-main: 0 2px 12px rgba(80,80,80,0.06);
  --transition: 0.25s cubic-bezier(.32,1.99,.43,.93);
  --radius: 24px;
  --radius-card: 16px;
  --spacing-xs: 8px;
  --spacing-s: 16px;
  --spacing-m: 24px;
  --spacing-l: 40px;
  --spacing-xl: 60px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--brand-primary);
}
h1 {
  font-size: 2.6rem;
  line-height: 1.1;
  margin-bottom: var(--spacing-m);
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: var(--spacing-m);
}
h3 {
  font-size: 1.35rem;
  margin-bottom: var(--spacing-s);
}
h4 {
  font-size: 1.12rem;
  margin-bottom: var(--spacing-s);
}
p, li, blockquote, span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #3E3D39;
}
p {
  margin-bottom: var(--spacing-s);
}
blockquote {
  font-style: italic;
  color: var(--brand-primary);
  border-left: 4px solid var(--brand-accent);
  padding-left: var(--spacing-s);
  margin-bottom: var(--spacing-xs);
}

/* ==================
   LAYOUT CONTAINERS
   ================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-m);
  align-items: flex-start;
}
.section {
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-l) 20px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-main);
  position: relative;
}

/* ======================
   HEADER & NAVIGATION
   ====================== */
header {
  background: #fff;
  border-bottom: 1px solid var(--elegant-border);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(29,53,87,0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: var(--spacing-m);
}
header nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-s);
}
header nav a {
  font-family: var(--font-head);
  font-size: 1.08rem;
  padding: 12px 14px;
  color: var(--brand-primary);
  border-radius: 7px;
  transition: background 0.15s, color 0.2s;
}
header nav a:hover, header nav a.active {
  background: var(--brand-secondary);
  color: #fff;
}
.cta-btn {
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-head);
  letter-spacing: 0.02em;
  border: none;
  outline: none;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1.13rem;
  font-weight: 700;
  box-shadow: 0 3px 14px rgba(29,53,87,0.09);
  cursor: pointer;
  transition: background 0.23s, box-shadow 0.23s, transform 0.12s;
  margin-left: var(--spacing-xs);
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: 0 6px 28px rgba(168,218,220,0.18);
  transform: translateY(-2px) scale(1.015);
}

/* ================
   MOBILE NAV MENU
   ================ */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 19px;
  right: 13px;
  z-index: 100;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: var(--brand-primary);
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.17s;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-accent);
  color: var(--brand-primary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(250, 250, 247, 0.96);
  box-shadow: -4px 0 24px 0 rgba(0,0,0,0.03);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(.36,1.72,.53,.91);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 26px 6px 0;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--brand-primary);
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 32px 20px 32px;
}
.mobile-nav a {
  font-family: var(--font-body);
  font-size: 1.21rem;
  color: var(--brand-primary);
  background: none;
  padding: 14px 0;
  border-radius: 6px;
  transition: background 0.18s, color 0.2s;
  font-weight: 600;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-accent);
  color: var(--brand-primary);
}
@media (max-width: 1020px) {
  header .container {
    flex-wrap: wrap;
    gap: var(--spacing-xs);
  }
  header nav {
    gap: 3px;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 900px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===============
   HERO & SECTION
   =============== */
.hero {
  background: linear-gradient(120deg, #FDEFB2 0%, #eee 100%);
  border-radius: 0 0 var(--radius-xl, 48px) var(--radius-xl, 48px);
  box-shadow: 0 6px 32px rgba(173, 179, 190, 0.08);
  margin-bottom: var(--spacing-xl);
}
.hero .container {
  padding-top: var(--spacing-l);
  padding-bottom: var(--spacing-l);
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-m);
  max-width: 700px;
}
.hero h1 {
  color: var(--brand-primary);
  font-size: 2.7rem;
  font-family: var(--font-head);
}
.hero p {
  max-width: 560px;
  font-size: 1.18rem;
  color: #504F4A;
}

/* ==========================
   FLEXBOX SYSTEM COMPONENTS
   ========================== */

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: var(--spacing-l);
}
.card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-main);
  padding: var(--spacing-m);
  margin-bottom: 20px;
  flex: 1 1 320px;
  min-width: 290px;
  max-width: 420px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.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;
  align-items: center;
  gap: 20px;
  background: #fcfcfa;
  border: 1px solid var(--elegant-border);
  border-radius: var(--radius-card);
  box-shadow: 0 3px 18px rgba(164,168,181,0.08);
  padding: 20px;
  margin-bottom: 20px;
  max-width: 700px;
  transition: box-shadow 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 32px rgba(18,30,51,0.11);
}
.testimonial-card blockquote {
  color: #23221F;
  font-size: 1.06rem;
}
.testimonial-card span {
  color: var(--muted-text);
  font-family: var(--font-head);
  font-size: 0.98rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 24px;
  margin-top: var(--spacing-s);
}
.feature-grid > div {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-main);
  padding: var(--spacing-m);
  min-width: 220px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid #efeee9;
  transition: box-shadow var(--transition);
}
.feature-grid > div:hover {
  box-shadow: 0 8px 30px rgba(168,218,220,0.13);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}

/* ================
   SECTION SPACING
   ================ */
section {
  margin-bottom: var(--spacing-xl);
  padding: 0;
  background: none;
}
.section {
  margin-bottom: var(--spacing-xl) !important;
  padding: var(--spacing-l) 20px !important;
  background: #fff !important;
}
@media (max-width: 600px) {
  .section, .hero {
    padding: var(--spacing-m) 8px !important;
  }
}

/* ===============================
   ABOUT, SERVICES & CALL OUTS
   =============================== */
.about-preview ul, .about ul, .benefits ul, .services-overview ul, .services ul, .features ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--spacing-s);
}
.benefits .community-highlight {
  background: var(--brand-accent);
  padding: var(--spacing-s) var(--spacing-m);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 8px rgba(253,239,178,0.07);
}
.services-overview ul {
  margin-bottom: var(--spacing-s);
}
.price {
  color: var(--brand-primary);
  font-family: var(--font-head);
  font-size: 1.11rem;
  margin-left: 8px;
  background: var(--brand-accent);
  padding: 2px 10px;
  border-radius: 8px;
}

.callout {
  background: #f9f8f3;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-main);
  margin-bottom: var(--spacing-l);
  padding: var(--spacing-m) 0;
}
.faq-snippet, .faq-intro {
  color: var(--brand-primary);
  background: var(--brand-accent);
  padding: var(--spacing-xs) var(--spacing-s);
  border-radius: var(--radius-card);
  margin-bottom: var(--spacing-s);
  font-size: 1rem;
}

/* ======================
   CONTACT/FOOTER LAYOUT
   ====================== */
.contact-details, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: var(--spacing-xs);
}
.maps-teaser {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  color: var(--muted-text);
  margin-bottom: 6px;
}
.opening-hours {
  font-size: 1.02rem;
  color: #4e4b3d;
}

footer {
  background: #fff;
  border-top: 1px solid var(--elegant-border);
  margin-top: var(--spacing-xl);
  padding-top: 30px;
  padding-bottom: 30px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo {
  flex: 0 0 72px;
  align-self: flex-start;
}
.footer-logo img {
  width: 72px;
  height: auto;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 12px;
}
footer nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--brand-primary);
  padding: 3px 0;
  transition: color 0.17s;
}
footer nav a:hover {
  color: var(--brand-secondary);
}

/* ================
   CARDS & SHADOWS
   ================ */
.card, .feature-grid > div, .callout, .community-highlight, .testimonial-card {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-main);
}

/* ================
   BUTTONS & LINKS
   ================ */
button, .cta-btn {
  transition: box-shadow 0.19s, background 0.22s, color 0.18s, transform 0.13s;
}
button:active, .cta-btn:active  {
  transform: scale(0.97);
}
button, input, select {
  font-family: var(--font-body);
}

/* ================
   TESTIMONIALS
   ================ */
.testimonials {
  background: #f7f6f2;
  border-radius: var(--radius-xl, 48px);
  padding: var(--spacing-l) 0;
}
.testimonials .content-wrapper {
  gap: var(--spacing-m);
}
.testimonial-card {
  background: #fff;
  color: #1f1e1b;
  border: 1px solid var(--elegant-border);
}
.testimonial-card blockquote {
  color: #23221F;
}
@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }
}

/* ================== 
   RESPONSIVE LAYOUTS
   ================== */
@media (max-width: 820px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .feature-grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .footer-logo {
    margin-bottom: 8px;
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container, .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .hero .container {
    padding-top: var(--spacing-m);
    padding-bottom: var(--spacing-m);
  }
  .hero h1 {
    font-size: 2rem;
  }
  .card, .feature-grid > div {
    min-width: unset;
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .card {
    padding: var(--spacing-s);
  }
}

/* =====================================
   COOKIE CONSENT BANNER & PREFERENCES
   ===================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: #fffbe5;
  border-top: 1px solid var(--elegant-border);
  box-shadow: 0 -4px 21px rgba(250,230,170,.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #3F3D39;
  transition: transform 0.32s cubic-bezier(.23,1.56,.56,.79), opacity 0.17s;
  opacity: 1;
}
@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 8px;
    font-size: 0.97rem;
    gap: 10px;
  }
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(95%);
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  margin-left: 0;
  padding: 9px 22px;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.13s;
  box-shadow: 0 2px 6px rgba(168,218,220,0.06);
}
.cookie-banner button.accept {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-banner button.settings {
  background: var(--brand-accent);
  color: var(--brand-primary);
}
.cookie-banner button.reject {
  background: #ebe7da;
  color: #675F54;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(168,218,220,0.13);
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(29, 53, 87, 0.19);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 250;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.23s cubic-bezier(.21,1.13,.42,.97);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-dialog {
  background: #fff;
  padding: 38px 24px 28px 24px;
  border-radius: var(--radius-card);
  box-shadow: 0 8px 48px rgba(43,40,22,0.18);
  min-width: 310px;
  max-width: 90vw;
  font-family: var(--font-body);
  color: #272923;
  display: flex;
  flex-direction: column;
  gap: 23px;
  position: relative;
  z-index: 260;
}
.cookie-modal-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--brand-primary);
  margin-bottom: 9px;
}
.cookie-modal-close {
  position: absolute;
  top:12px; right:12px;
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 270;
  border-radius: 6px;
  padding: 2px 9px;
  transition: background 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--brand-secondary);
  color: #fff;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 1.08rem;
  font-family: var(--font-head);
  color: var(--brand-primary);
}
.cookie-modal .cookie-category input[type='checkbox'] {
  transform: scale(1.14);
  accent-color: var(--brand-primary);
}
.cookie-modal .cookie-category.icon {
  font-size: 1.1rem;
  color: #2c2c2c;
}
.cookie-modal .cookie-category .desc {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #36362F;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-modal-actions button {
  padding: 9px 22px;
  border-radius: 8px;
  border: none;
  font-family: var(--font-head);
  font-weight: 700;
  cursor: pointer;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  transition: background 0.17s, color 0.15s;
}
.cookie-modal-actions button.accept {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-modal-actions button.reject {
  background: #ebe7da;
  color: #675F54;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}

/* ===================
   MICRO-INTERACTIONS
   =================== */
.card, .callout, .feature-grid > div, .testimonial-card, .cta-btn, .cookie-banner, .cookie-modal-dialog, .mobile-menu {
  will-change: box-shadow, transform, background, opacity, filter;
}
.cta-btn:focus {
  outline: 2px solid var(--brand-secondary);
}
*:focus:not(:focus-visible) {
  outline: none;
}

/* ============
   SCROLLBARS
   ============ */
::-webkit-scrollbar {
  width: 12px;
  background: #fcfcfa;
}
::-webkit-scrollbar-thumb {
  background: var(--brand-secondary);
  border-radius: 8px;
}

/* ===========
   PRINT STYLE
   =========== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; }
  section, .section { box-shadow: none; border-radius: 0; background: #fff; }
}
