/* ============================================================
   CSS RESET
============================================================ */
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 {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  line-height: 1.5;
  background: #F9F6F1;
  color: #234F3D;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  border: none;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  margin-left: 1.5em;
}

/* ============================================================
   BRAND FONTS
============================================================ */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, .logo {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.04em;
}
h1 {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 24px;
  color: #234F3D;
}
h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #3E8268;
}
h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #A49276;
}
.section h2 {
  margin-bottom: 18px;
}
.subheadline {
  font-size: 1.125rem;
  margin-bottom: 28px;
  color: #3C5732;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}
p, ul, ol, li, address {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  color: #234F3D;
}

/* ============================================================
   COLOR VARIABLES (CSS fallbacks used for wide compatibility)
============================================================ */
:root {
  --primary: #234F3D;
  --secondary: #A49276;
  --accent: #F9F6F1;
  --green-dark: #234F3D;
  --green-bright: #4CBD9E;
  --sand: #A49276;
  --peach: #FEAAA5;
  --yellow: #F9B846;
  --red: #E86A6A;
  --color-bg: #F9F6F1;
}

/* ============================================================
   CONTAINER & LAYOUT
============================================================ */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}
body > header,
body > footer {
  width: 100%;
  background: #fff;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* Artistic section backgrounds */
.hero {
  padding: 60px 0 48px 0;
  background: linear-gradient(102deg, #F9F6F1 75%, #FEAAA5 100%);
  position: relative;
  overflow: hidden;
  min-height: 370px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -32px; left: -40px;
  width: 320px;
  height: 320px;
  background: rgba(76,189,158,0.12);
  border-radius: 42% 58% 48% 52%/62% 38% 62% 38%;
  z-index: 0;
  pointer-events: none;
  transform: rotate(-27deg);
  filter: blur(2px);
}
.hero .container,
.hero .content-wrapper {
  position: relative;
  z-index: 2;
}

/* ============================================================
   HEADER STYLES
============================================================ */
header {
  border-bottom: 2px solid #A49276;
  background: #fff;
  padding: 0;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  gap: 0;
}
.logo img {
  height: 48px;
  width: auto;
}
nav.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #234F3D;
  letter-spacing: 0.02em;
  position: relative;
  transition: color .23s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #4CBD9E;
  text-shadow: 1px 3px 8px #A4927633;
}
.header-cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 11px 26px;
  background: #4CBD9E;
  color: #fff;
  border-radius: 37px;
  font-weight: 900;
  font-size: 1rem;
  margin-left: 16px;
  box-shadow: 0 4px 24px #A4927635;
  border: none;
  transition: filter .2s, box-shadow .2s, background .17s;
  cursor: pointer;
  letter-spacing: 0.04em;
}
.header-cta:hover,
.header-cta:focus {
  filter: brightness(0.98) contrast(1.1);
  background: #234F3D;
  color: #fff;
  box-shadow: 0 8px 28px #A4927665;
}

/* MOBILE HEADER */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  margin-left: 12px;
  display: none;
  color: #234F3D;
  cursor: pointer;
  z-index: 30;
  transition: color .22s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #4CBD9E;
}

/* MOBILE NAV MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: #234F3DE6;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform .38s cubic-bezier(.8,-0.02,.25,1), opacity .38s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #fff;
  margin: 24px 0 16px 24px;
  cursor: pointer;
  align-self: flex-start;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-left: 35px;
  margin-top: 22px;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.23rem;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.03em;
  min-height: 46px;
  line-height: 1.42;
  outline: none;
  border-radius: 8px;
  padding-left: 6px;
  padding-right: 6px;
  transition: color .20s, background .20s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #4CBD9E;
  color: #fff;
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
  background: none;
  padding: 0 0 0 0;
}
.hero h1 {
  color: #234F3D;
  text-shadow: 1px 3px 12px #F9B84622;
}
.hero .cta-button {
  margin-top: 23px;
}

/* ============================================================
   BUTTONS & LINK CTAs
============================================================ */
.cta-button {
  border: none;
  outline: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  background: #F9B846;
  color: #234F3D;
  border-radius: 33px;
  padding: 13px 40px;
  cursor: pointer;
  margin-right: 24px;
  box-shadow: 0 4px 22px #F9B84632;
  transition: background .18s, color .16s, filter .13s;
  position: relative;
}
.cta-button:after {
  content: '';
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 100%;
  background: #E86A6A;
  margin-left: 16px;
  vertical-align: middle;
  transition: background .17s;
}
.cta-button:hover, .cta-button:focus {
  background: #234F3D;
  color: #fff;
  filter: brightness(0.98) contrast(1.08);
}
.cta-button:hover:after, .cta-button:focus:after {
  background: #F9B846;
}

.cta-secondary {
  border: 2px solid #4CBD9E;
  background: transparent;
  color: #234F3D;
  padding: 11px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 35px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 8px #4CBD9E15;
  margin-top: 20px;
  transition: background .2s, color .15s, border .22s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #4CBD9E;
  color: #fff;
  border-color: #234F3D;
}

/* ============================================================
   FLEXBOX PATTERNS (MANDATORY)
============================================================ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 22px;
  box-shadow: 0 4px 18px #4CBD9E19;
}
.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;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px #234F3D15;
  color: #234F3D;
  position: relative;
  font-size: 1.03rem;
  transition: box-shadow .19s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 30px #F9B84633;
  background: #F9F6F1;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 21px 19px 23px 19px;
  background: #fff;
  border-radius: 16px;
  min-width: 210px;
  max-width: 340px;
  flex: 1 1 210px;
  box-shadow: 0 2px 10px #A4927620;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .19s;
  border: 1.5px dashed #4CBD9E55;
  position: relative;
}
.feature-item img {
  width: 54px;
  height: 54px;
  filter: grayscale(0.32) opacity(0.8);
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 10px 38px #4CBD9E22;
  transform: translateY(-4px) scale(1.02) rotate(-1deg);
  border-color: #F9B846;
  background: #F9F6F1;
}
.feature-item h3 {
  margin-bottom: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #234F3D;
}
.feature-item p {
  margin: 0;
  color: #234F3D;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}

/* ============================================================
   TESTIMONIALS SLIDER & CARDS
============================================================ */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-author {
  font-weight: 700;
  color: #4CBD9E;
  font-size: 1.01rem;
  margin-left: 19px;
}

/* ============================================================
   GENERAL CARD STYLES
============================================================ */
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px #A4927621;
  padding: 30px 26px;
  color: #234F3D;
  transition: box-shadow .21s, transform .18s;
}
.card:hover, .card:focus {
  box-shadow: 0 12px 38px #A4927677;
  transform: translateY(-3px) scale(1.015);
}

/* Price tag style */
.price {
  display: inline-block;
  background: #F9B846;
  color: #234F3D;
  border-radius: 32px;
  padding: 4px 15px;
  font-weight: 700;
  margin-left: 16px;
  font-size: 1rem;
}

.text-section {
  gap: 8px;
}
.contact-note {
  color: #3E8268;
  font-style: italic;
  font-size: 1.07rem;
  margin-top: 14px;
}

/* ====================
   FOOTER
======================= */
footer {
  background: #234F3D;
  color: #fff;
  padding: 42px 0 0 0;
  border-top: 2px solid #A49276;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 0 20px 12px 20px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #F9B846;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FEAAA5;
}
.footer-address, .footer-email, .footer-hours {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 3px;
}
.footer-logo img {
  margin-top: 24px;
  height: 54px;
  filter: drop-shadow(0 3px 8px #0002);
}

/* ============================================================
   SECTION SPACING
============================================================ */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
section:last-child {
  margin-bottom: 0;
}

/* ============================================================
   COOKIE CONSENT BANNER/BUTTONS
============================================================ */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #234F3D;
  box-shadow: 0 -2px 18px #A4927632;
  padding: 24px 20px 24px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  z-index: 7777;
  font-size: 1.04rem;
  animation: cookieBannerIn .58s cubic-bezier(.39,1.2,.32,1.01);
}
@keyframes cookieBannerIn {
  from {
    transform: translateY(80px) scale(.98) skewY(3deg);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.cookie-banner-message {
  max-width: 800px;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.cookie-btn, .cookie-settings-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.02em;
  border-radius: 31px;
  padding: 9px 28px;
  background: #4CBD9E;
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px #4CBD9E29;
  cursor: pointer;
  transition: filter .17s, background .16s;
}
.cookie-btn.reject {
  background: #E86A6A;
}
.cookie-settings-btn {
  background: #F9B846; color: #234F3D;
  border: 2px solid #A49276;
}
.cookie-btn:hover, .cookie-settings-btn:hover, .cookie-btn:focus, .cookie-settings-btn:focus {
  filter: brightness(1.04) contrast(1.11);
}

/* Cookie preference modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(46,79,61,0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .24s;
}
@keyframes fadeIn {
  from{opacity:0}to{opacity:1}
}
.cookie-modal {
  background: #fff;
  color: #234F3D;
  border-radius: 18px;
  box-shadow: 0 8px 44px #234F3D42;
  padding: 34px 30px 28px 34px;
  min-width: 320px;
  min-height: 70px;
  max-width: 94vw;
  max-height: 85vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: start;
}
.cookie-modal h3 {
  margin-bottom: 14px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.09rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #4CBD9E;
}
.cookie-category input[type="checkbox"]:disabled {
  accent-color: #F9B846;
  opacity: .72;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  color: #234F3D;
  font-size: 2rem;
  cursor: pointer;
}

/* ============================================================
   TYPOGRAPHY (headings, scale)
============================================================ */
section h1, .content-wrapper h1 { font-size: 2.25rem; }
section h2, .content-wrapper h2 { font-size: 1.58rem; }
section h3, .content-wrapper h3 { font-size: 1.11rem; }
p, ul, ol, li, .price, span, address { font-size: 1rem; }
@media (min-width: 600px) {
  section h1, .content-wrapper h1 { font-size: 2.75rem; }
  section h2, .content-wrapper h2 { font-size: 2rem; }
  section h3 { font-size: 1.21rem; }
  .subheadline { font-size: 1.23rem; }
}

/* Art fonts & headings */
h2, h3 {
  position: relative;
}
h2:after {
  content: '';
  display: block;
  width: 54px;
  height: 4px;
  background: #F9B846;
  border-radius: 2px;
  margin-top: 7px;
}

/* ============================================================
   LISTS / UL & OL
============================================================ */
ul, ol {
  margin-bottom: 18px;
  padding-left: 25px;
}
ul li, ol li {
  margin-bottom: 11px;
  position: relative;
}
ul li::before {
  content: '•';
  color: #4CBD9E;
  font-weight: 900;
  display: inline-block; width: 1em;
  margin-left: -1em;
}

/* Links inside section content */
.text-section a, .footer-address a, .footer-email a {
  color: #234F3D;
  text-decoration: underline;
  transition: color .17s;
}
.text-section a:hover, .footer-address a:hover, .footer-email a:hover {
  color: #4CBD9E;
}

/* ============================================================
   GENERAL EFFECTS & ANIMATION
============================================================ */
.card, .feature-item, .testimonial-card, .cta-button, .header-cta {
  transition: box-shadow .23s, transform .21s, filter .21s, background .14s, color .12s;
}
.testimonial-card {
  transition: box-shadow .15s;
}

/* Micro-interactions: icon pulse for feature images */
.feature-item:hover img, .feature-item:focus img {
  animation: featurePulse .72s;
}
@keyframes featurePulse {
  0% { transform: scale(1) rotate(0deg); }
  45% { transform: scale(1.13) rotate(-10deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* Subtle highlight hover for cards */
.card:hover, .feature-item:hover, .testimonial-card:hover {
  filter: brightness(1.03);
}

/* ============================================================
   RESPONSIVE DESIGN
============================================================ */
@media (max-width: 1024px) {
  .container { max-width: 100%; }
  .footer-logo img { height: 42px; }
}
@media (max-width: 900px) {
  header .container { flex-direction: row; gap: 0; }
  .main-nav { gap: 18px; }
}
@media (max-width: 768px) {
  .container { padding-left: 10px; padding-right: 10px; }
  header .container { flex-direction: row; padding: 12px 6px; }
  nav.main-nav { display: none; }
  .header-cta { display: none; }
  .mobile-menu-toggle {
    display: inline-block;
    position: relative;
    z-index: 2002;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 12px;
  }
  .hero {
    padding: 38px 0 32px 0;
    min-height: 230px;
  }
  .content-wrapper, .section .container {
    padding: 0 0 0 0;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    font-size: 0.98rem;
    padding: 14px 12px;
    margin-bottom: 18px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 32px;
  }
  .card {
    padding: 16px 9px;
  }
  .feature-item {
    min-width: 100px; 
    max-width: 100%;
    padding: 10px 8px 13px 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .hero .content-wrapper { padding: 0; }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    font-size: 0.97rem;
    padding-right: 10px;
    padding-left: 10px;
  }
  .cookie-banner-buttons {
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
  }
  .cookie-category { font-size: 0.98rem; }
  .cookie-modal { padding: 18px 7px 14px 13px; }
}
/* Ultra-small screens */
@media (max-width: 420px) {
  .cookie-modal { min-width: 95vw; }
  .mobile-nav { margin-left: 10px; }
}

/* Remove outline on mouse interaction, show on keyboard only */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid #F9B846;
  outline-offset: 2px;
}

/* Hide visually but remain accessible */
.sr-only {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================================
  SPECIAL ARTISTIC/CREATIVE VISUALS
============================================================ */
/* Wavy underline for h2 on hover for artistic touch */
h2:hover::after {
  background: repeating-linear-gradient(
    90deg, #F9B846, #F9B846 10px, #E86A6A 10px, #E86A6A 20px
  );
  height: 6px;
}

/* Subtle decorative dots background for cards (creative style) */
.card, .feature-item, .testimonial-card {
  position: relative;
  background-image: radial-gradient(#F9B84622 1.1px, transparent 1.3px), radial-gradient(#FEAAA544 1.5px, transparent 2px);
  background-size: 22px 22px, 38px 38px;
  background-position: left bottom, right top;
}
@media (max-width: 768px) {
  .card, .feature-item, .testimonial-card {
    background-size: 16px 16px,24px 24px;
  }
}

/* Decorative brush line on CTAs */
.cta-button, .header-cta {
  position: relative;
}
.cta-button::before, .header-cta::before {
  content: '';
  display: block;
  position: absolute;
  bottom: -9px;
  left: 18px;
  width: 42px;
  height: 9px;
  border-radius: 7px;
  background: #FEAAA5;
  opacity: 0.67;
  z-index: 1;
  pointer-events: none;
}

.cta-secondary::before {
  content: '';
  display: block;
  position: absolute;
  left: 22px;
  bottom: -8px;
  width: 31px;
  height: 7px;
  border-radius: 7px;
  background: #F9B846;
  opacity: .58;
  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   PRINT STYLES (optional)
============================================================ */
@media print {
  header, nav, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  body { background: #fff; }
  .section, section { padding: 8px; margin: 0 0 16px 0; }
}
