/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F0EDE7;
  color: #184C36;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: #184C36;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D9A441;
}
ul {
  list-style: disc inside;
  margin: 0 0 16px 0;
  padding-left: 16px;
}
li + li {
  margin-top: 8px;
}
h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, serif;
  color: #184C36;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}
/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-center {
  align-items: center !important;
  text-align: center;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(216, 164, 65, 0.07), 0 2px 6px 0 rgba(24,76,54,0.04);
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 6px;
    border-radius: 16px;
  }
  .content-wrapper.hero {
    padding: 24px 4px;
  }
}

/* HERO SECTIONS */
.hero {
  background: #F0EDE7;
  border-radius: 32px;
  padding: 60px 32px 48px 32px;
  box-shadow: 0 8px 32px 0 rgba(216,164,65,0.10);
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: #184C36;
  font-size: 2.5rem;
}
.hero .subheadline {
  font-size: 1.25rem;
  color: #184C36;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .hero {
    padding: 24px 8px 24px 8px;
    align-items: center;
    border-radius: 19px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero .subheadline {
    font-size: 1rem;
  }
}

/* BUTTONS */
.btn-primary,
.main-nav .btn-primary {
  background: #D9A441;
  color: #184C36 !important;
  padding: 12px 32px;
  border-radius: 28px;
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(221,147,25,0.11);
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.16s;
  outline: none;
  display: inline-block;
  margin-top: 8px;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #184C36;
  color: #fff !important;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px 0 rgba(24,76,54,0.09);
}
/* MOBILE NAV BUTTONS */
.mobile-menu-close,
.mobile-menu-toggle {
  background: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 12px #e9e1d0;
  color: #184C36;
  font-size: 2rem;
  height: 48px;
  width: 48px;
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 3500;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.13s, color 0.13s, box-shadow 0.16s, transform 0.12s;
}
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 16px;
  top: 22px;
  z-index: 3000;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus,
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #D9A441;
  color: #fff;
  box-shadow: 0 2px 6px #d9a44177;
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
  .main-nav {
    display: none !important;
  }
}

/* MAIN NAV */
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  background: #fff;
  padding: 12px 0;
  border-radius: 28px;
  margin-top: 18px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 20px;
  color: #184C36;
  border-radius: 18px;
  transition: background 0.14s, color 0.14s;
  font-weight: 500;
}
.main-nav a:not(.btn-primary):hover,
.main-nav a:not(.btn-primary):focus {
  background: #F0EDE7;
  color: #D9A441;
}
.main-nav .btn-primary {
  margin-left: 12px;
}
.main-nav img {
  height: 40px;
  width: auto;
  margin-right: 8px;
}

/* MOBILE NAV (SIDEBAR) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #184C36ee;
  z-index: 3200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
  transform: translateX(110%);
  transition: opacity 0.3s, transform 0.3s;
}
.mobile-menu.active {
  pointer-events: all;
  opacity: 1;
  transform: translateX(0);
}
.mobile-nav {
  background: #fff;
  border-radius: 22px 0 0 22px;
  box-shadow: -2px 6px 24px rgba(24,76,54,0.08);
  width: 88vw;
  max-width: 370px;
  min-height: 100vh;
  padding: 48px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 3250;
}
.mobile-nav a {
  width: 100%;
  font-size: 1.1rem;
  color: #184C36;
  padding: 14px 0 14px 10px;
  border-radius: 16px;
  background: transparent;
  margin-bottom: 4px;
  transition: background 0.12s, color 0.14s;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F0EDE7;
  color: #D9A441;
}

/* HEADER */
header {
  padding-bottom: 18px;
  background: #fff;
  box-shadow: 0 1px 12px rgba(24,76,54,0.04);
  position: relative;
  z-index: 1200;
}
@media (max-width: 900px) {
  header {
    padding-bottom: 0;
  }
}

/* FOOTER */
footer {
  margin-top: 60px;
  background: #F0EDE7;
  padding: 44px 0 24px 0;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
}
.footer-links,
.social-links,
.contact-info {
  margin-bottom: 14px;
}
.content-wrapper > .footer-links,
.content-wrapper > .contact-info {
  margin-bottom: 12px;
}
.footer-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links a {
  color: #184C36;
  font-size: 1rem;
  background: none;
  border-radius: 14px;
  padding: 4px 8px;
  transition: background 0.13s, color 0.13s;
}
.footer-links a:hover,
.footer-links a:focus {
  color: #D9A441;
  background: #fff3e3;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.social-links img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: box-shadow 0.16s, transform 0.12s;
}
.social-links a:hover img,
.social-links a:focus img {
  box-shadow: 0 2px 8px #d9a44144;
  transform: scale(1.17);
}
.contact-info {
  font-size: 1rem;
  color: #184C36;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-info img {
  display: inline;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 8px;
}
@media (min-width: 990px) {
  .content-wrapper {
    gap: 40px;
  }
  .footer-links, .contact-info, .social-links {
    margin-bottom: 0;
  }
}
@media (max-width: 768px) {
  footer {
    padding: 24px 0 12px 0;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
  }
  .footer-links {
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
  }
  .contact-info, .social-links {
    align-items: flex-start;
  }
}

/* SECTIONAL PATTERNS AND FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 13px #f5e5c7cc;
  padding: 22px 18px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 240px;
  flex: 1 1 280px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.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;
}
@media (max-width: 768px) {
  .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    align-items: stretch;
  }
  .card {
    min-width: 0;
    padding: 13px 6px;
  }
  .text-image-section {
    gap: 14px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 210px;
  background: #fff;
  border-radius: 18px;
  padding: 22px 16px;
  box-shadow: 0 2px 10px 0 #e9e1d088;
  margin-bottom: 20px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-grid > div {
  flex: 1 1 200px;
  min-width: 220px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 #e9e1d077;
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.features-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 7px;
}
@media (max-width: 990px) {
  .features-grid {
    flex-direction: column;
    gap: 15px;
  }
  .features-grid > div {
    min-width: 0;
    width: 100%;
  }
}

.text-section {
  font-size: 1rem;
  color: #22553C;
  margin-bottom: 12px;
}
.text-section ul {
  margin: 10px 0 10px 12px;
  padding-left: 18px;
}
.text-section li {
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .text-section {
    font-size: 0.98rem;
    padding: 0;
  }
}

.contact-info-block {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 20px;
}
.contact-info-block > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 16px;
  padding: 18px 14px;
  box-shadow: 0 1px 6px #e9e1d022;
  gap: 8px;
  min-width: 205px;
  flex: 1 1 220px;
  font-size: 1rem;
}
.contact-info-block img {
  width: 22px;
  height: 22px;
  margin-bottom: 3px;
}
.location-map {
  margin-top: 12px;
  text-align: left;
  color: #184C36;
  font-style: italic;
  font-size: 1rem;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 18px 0 rgba(216,164,65,0.10);
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.15s;
  max-width: 700px;
}
.testimonial-card p {
  color: #184C36;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.testimonial-card strong {
  color: #D9A441;
  font-family: 'Merriweather',serif;
  font-size: 1rem;
  font-weight: 700;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 8px 44px 0 #cfa64324, 0 3px 12px 0 #184c3620;
  transform: translateY(-3px) scale(1.01);
}
@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 8px;
  }
  .testimonial-card p {
    font-size: 1rem;
  }
}

/* CTA BUTTONS IN SECTIONS */
.content-wrapper.text-center a.btn-primary {
  margin-top: 18px;
}

/* FORMS (if present in future) */
input, textarea, select, button {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 8px;
  border: 1px solid #e5e0d0;
  padding: 10px 14px;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 16px;
  transition: border 0.12s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #D9A441;
}
button {
  cursor: pointer;
}

/* Z-INDEX for Overlays */
.mobile-menu, .cookie-banner, .cookie-modal-overlay { z-index: 3200; }
.mobile-menu.active { z-index: 3300; }
.cookie-modal-active { z-index: 3400; }

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff6e4;
  color: #184C36;
  box-shadow: 0 -2px 20px #d9a44130;
  padding: 24px 24px 18px 24px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 22px;
  font-size: 1rem;
  border-radius: 18px 18px 0 0;
  opacity: 1;
  transition: transform 0.33s cubic-bezier(0.69,0.25,0.32,1.1), opacity 0.25s;
  z-index: 4000;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(150%);
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 auto;
  max-width: 600px;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
}
.cookie-banner button {
  min-width: 110px;
  margin-bottom: 0;
  padding: 10px 22px;
  font-size: 0.99rem;
  background: #D9A441;
  color: #184C36;
  border: none;
  font-weight: 700;
  border-radius: 18px;
  cursor: pointer;
  transition: background 0.16s, color 0.14s, transform 0.1s;
  box-shadow: 0 2px 8px #e9e1d0;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #184C36;
  color: #fff;
  transform: scale(1.04);
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #184C36;
  border: 1.5px solid #D9A441;
  padding: 10px 18px;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #D9A441;
  color: #184C36;
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 14px 8px 10px 8px;
    font-size: 0.98rem;
    border-radius: 10px 10px 0 0;
  }
  .cookie-banner .cookie-banner-text {
    max-width: 100%;
  }
  .cookie-banner-buttons {
    gap: 10px;
  }
}
/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 4100;
  background: rgba(24,76,54,0.22);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.active {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 36px #d9a44138, 0 3px 12px #184c3624;
  max-width: 410px;
  width: 95vw;
  padding: 30px 28px 20px 28px;
  color: #184C36;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 4200;
  animation: cookie-modal-pop 0.35s cubic-bezier(.33,1.34,.5,.7);
}
@keyframes cookie-modal-pop {
  0% { opacity: 0; transform:scale(0.9) translateY(60px); }
  75% { opacity: 1; transform:scale(1.05) translateY(-13px); }
  100% { opacity: 1; transform:scale(1) translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 1.05rem;
}
.cookie-category input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: #D9A441;
  border-radius: 8px;
}
.cookie-category label {
  font-size: 1.08rem;
  color: #184C36;
  font-weight: 500;
  margin-bottom: 0;
  cursor: pointer;
}
.cookie-category .cookie-required-text {
  color: #A27512;
}
.cookie-modal button {
  min-width: 100px;
  margin-bottom: 0;
  padding: 10px 22px;
  font-size: 0.99rem;
  background: #D9A441;
  color: #184C36;
  border: none;
  font-weight: 700;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.13s, color 0.12s, transform 0.09s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #184C36;
  color: #fff;
  transform: scale(1.04);
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px;
  right: 13px;
  font-size: 1.7rem;
  background: transparent;
  color: #D9A441;
  border: none;
  cursor: pointer;
  padding: 0;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  background: #fff;
  color: #184C36;
}
/* --- MICRO-INTERACTIONS (transitions) --- */
.btn-primary, .main-nav .btn-primary, .footer-links a, .main-nav a, .mobile-nav a, .testimonial-card, .features-grid > div, .card, .feature-item {
  transition: all 0.17s cubic-bezier(0.39,0.21,0.33,1.05);
}
.features-grid > div:hover, .feature-item:hover {
  box-shadow: 0 8px 35px 0 #cfa64323, 0 2px 10px 0 #184c3611;
  transform: translateY(-2px);
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 23px #d9a44138;
  transform: translateY(-2px);
}

/* --- TYPOGRAPHY SCALE/HEIRARCHY --- */
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p,li,em { font-size: 1rem; }
@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.07rem; }
  h4 { font-size: 1rem; }
}

/* --- GLOBAL UTILITY CLASSES --- */
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
@media (max-width: 650px) {
  .section { padding: 14px 4px; }
}

/* --- SPECIFIC OVERRIDES FOR PAGES --- */
/* Thank You Page */
.hero.text-center {
  align-items: center;
  text-align: center;
}
/* Socials for index only if present */
.social-links {
  display: flex;
  gap: 14px;
}

/* Hide hamburger on desktop, show on mobile */
@media (min-width: 901px) {
  .mobile-menu-toggle, .mobile-menu, .mobile-menu-close { display: none !important; }
}

/* ALWAYS ENSURE SPACING BETWEEN FLEX CHILDREN */
.card-container > *,
.content-grid > *,
.features-grid > *,
.text-image-section > *,
.testimonial-card > *,
.feature-item > * {
  margin-bottom: 0;
}

/* Prevent content overlap by ensuring outer gap/margins */
.card + .card, .feature-item + .feature-item,
.testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* Make sure no elements overlap on all screens */
main > section, .section, .card-container, .features-grid, .content-grid, .testimonial-card, .feature-item, .text-image-section {
  margin-bottom: 24px;
}

/* RESPONSIVE FLEX DIRECTION SWITCH for text-image-section, content-grid, etc. */
@media (max-width: 768px) {
  .text-image-section, .content-grid, .features-grid, .card-container {
    flex-direction: column !important;
    align-items: stretch !important;
  }
}

/* --- GENERAL ACCESSIBILITY/CONTRAST --- */
.testimonial-card, .testimonial-card p, .testimonial-card strong {
  color: #184C36 !important;
  background: #fff !important;
}

/* Hide non-visible elements during overlay/modal state */
body.menu-open {
  overflow: hidden;
}

/* --- END --- */
