/* ------------------ 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, 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;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #222;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background-color: #FAF8F3;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #386641;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 1em;
}
input, button, textarea, select {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}

:root {
  --primary: #386641;
  --secondary: #6A994E;
  --accent: #F2E8CF;
  --danger: #FF5A36;
  --vibrant-pink: #F72585;
  --vibrant-blue: #277DA1;
  --dark: #222;
  --light: #fff;
}

/* ------------------ UTILITIES ------------------ */
.container {
  width: 100%;
  max-width: 1216px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
/* Flexbox content grids */
.features-grid,
.card-container,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0px 3px 24px 0px rgba(106,153,78, 0.11);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0px 8px 32px rgba(247,37,133,0.2);
  transform: translateY(-7px) scale(1.03);
  z-index: 3;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  background: #F2E8CF;
  color: #222;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(39, 125, 161, 0.09);
  min-width: 250px;
  max-width: 620px;
  position: relative;
}
.testimonial-card blockquote {
  font-size: 20px;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  margin-bottom: 5px;
}
.testimonial-meta {
  font-size: 14px;
  color: #6A994E;
  margin-left: 12px;
}

/* -------------- TYPOGRAPHY ---------------- */
h1, .hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--vibrant-pink);
  margin-bottom: 20px;
  line-height: 1.15;
}
h3 {
  font-size: 1.25rem;
  color: var(--vibrant-blue);
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-weight: 800;
  margin-bottom: 10px;
}
strong {
  font-weight: 800;
  color: var(--secondary);
}
p, li {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222;
  margin-bottom: 12px;
}
ul li {
  margin-bottom: 8px;
}

/* --------------- HERO BANNER ------------------- */
.hero {
  background: linear-gradient(90deg, var(--vibrant-pink) 0%, var(--accent) 80%);
  min-height: 360px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  border-radius: 0 0 46px 46px;
  box-shadow: 0 10px 38px rgba(58,102,65,0.12);
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
}
.hero .content-wrapper {
  padding: 30px 0 10px 0;
}
.hero h1 {
  color: var(--light);
  text-shadow: 0 3px 32px rgba(56,102,65,0.12);
}
.hero p {
  color: #362f2b;
  font-size: 1.2rem;
  margin-bottom: 28px;
  font-weight: 400;
}

/* -------------- FEATURES & OVERVIEW GRIDS ------------ */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.feature {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(39,125,161,0.07);
  padding: 24px 18px;
  flex: 1 1 240px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.2s;
}
.feature img {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 1px 4px #F72585aa);
}
.feature:hover {
  box-shadow: 0 6px 28px rgba(42,102,161,0.12);
  transform: translateY(-6px) scale(1.03);
}

/* -------------------- BUTTONS ---------------------- */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  font-weight: 700;
  padding: 14px 36px;
  margin-top: 12px;
  font-size: 1.09rem;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s, transform 0.14s;
  box-shadow: 0 2px 14px 0 rgba(58,102,65,0.09);
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(90deg, var(--primary) 60%, var(--secondary) 100%);
  color: #fff;
  border: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--vibrant-pink);
  color: var(--light);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 5px 14px 0 rgba(247,37,133,0.11);
}
.btn-secondary {
  background: #F2E8CF;
  color: var(--vibrant-blue);
  border: 2px solid var(--vibrant-blue);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--vibrant-blue);
  color: #fff;
  border: 2px solid var(--vibrant-blue);
  transform: scale(1.03);
}

/* ------------- HEADER & NAVIGATION ----------------- */
header {
  background: #fff;
  box-shadow: 0 1px 14px rgba(106,153,78,0.09);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 10px 20px;
  border-radius: 0 0 18px 18px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 22px;
  min-width: 118px;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.1rem;
  border-radius: 18px;
  padding: 7px 18px;
  transition: background 0.18s, color 0.14s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--vibrant-pink);
  background: var(--accent);
}
header .btn-primary {
  margin-left: 30px;
  box-shadow: 0 3px 18px rgba(58,102,65,0.08);
  font-size: 1rem;
  padding: 11px 20px;
}

/* --------------- MOBILE MENU -------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  font-size: 2.1rem;
  border-radius: 9px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 99;
  transition: background 0.18s;
  box-shadow: 0 2px 8px rgba(58,102,65,0.13);
  margin-left: 18px;
}
.mobile-menu-toggle:hover {
  background: var(--vibrant-pink);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: rgba(242,232,207,0.97);
  box-shadow: -6px 0 32px rgba(39, 125, 161, 0.11);
  transition: transform 0.4s cubic-bezier(.68,-0.55,.27,1.45);
  transform: translateX(0);
  z-index: 999;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  left: 0;
  transform: translateX(-100vw);
}
.mobile-menu-close {
  background: none;
  color: var(--vibrant-pink);
  font-size: 2rem;
  border: none;
  padding: 16px 16px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1005;
  transition: color 0.18s;
}
.mobile-menu-close:hover {
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 74px;
  width: 100%;
  gap: 0;
}
.mobile-nav a {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.32rem;
  padding: 19px 32px;
  width: 100%;
  border-bottom: 1px solid #E0DAC5;
  background: none;
  transition: background 0.13s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--vibrant-pink);
  background: var(--accent);
}

/* Responsive Nav */
@media (max-width: 1060px) {
  .main-nav {
    gap: 10px;
    font-size: 1.01rem;
  }
  header .btn-primary {
    margin-left: 10px;
  }
}
@media (max-width: 860px) {
  .container {
    max-width: 97vw;
  }
  header .container {
    flex-wrap: wrap;
    row-gap: 8px;
  }
}
@media (max-width: 768px) {
  .main-nav, header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Hide/show mobile menu in JS by toggling .open */
.mobile-menu:not(.open) {
  display: none !important;
}

/* -------------- CTA Section ------------- */
.cta-section {
  background: linear-gradient(90deg, var(--vibrant-blue) 0, var(--secondary) 80%);
  color: #fff;
  border-radius: 36px;
  padding: 46px 18px;
  box-shadow: 0 6px 22px #3866411a;
  margin-bottom: 52px;
}
.cta-section .content-wrapper {
  text-align: center;
}
.cta-section h2 {
  color: #fff;
  margin-bottom: 13px;
}
.cta-section p {
  color: #F2E8CF;
  font-size: 1.15rem;
}
.cta-section .btn-primary{
  margin: 18px auto 0 auto;
  font-size: 1.1rem;
}

/* ------------ FOOTER ------------ */
footer {
  background: #222;
  color: #fff;
  font-size: 1rem;
  margin-top: 60px;
  padding-top: 28px;
  border-radius: 34px 34px 0 0;
  box-shadow: 0 -1px 24px #38664113;
}
.footer-top {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 12px;
}
.footer-top img {
  height: 55px;
  width: auto;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 10px 18px 10px;
}
.footer-contact, .footer-nav, .footer-legal {
  font-size: 1rem;
  color: #F2E8CF;
  margin-bottom: 12px;
}
.footer-contact strong {
  color: var(--accent);
}
.footer-nav a, .footer-legal a {
  color: #F2E8CF;
  margin: 0 3px;
  font-weight: 600;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: var(--vibrant-pink);
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a img {
  height: 29px;
  width: 29px;
  filter: drop-shadow(0 2px 6px var(--vibrant-pink));
  transition: filter 0.19s;
}
.footer-social a:hover img {
  filter: drop-shadow(0 5px 18px var(--vibrant-blue));
}

/* Copyright (if present) */
footer .copyright {
  color: #f2e8cfcc;
  font-size: 0.96rem;
  text-align: center;
  margin: 8px 0;
}

/* ------- COOKIES BANNER & MODAL --------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #277DA1;
  color: #fff;
  z-index: 10005;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 18px 10px;
  box-shadow: 0 -4px 28px 0 rgba(39,125,161,0.19);
  font-size: 1rem;
  animation: slideUpBanner 0.36s cubic-bezier(.43,.83,.57,1.23);
}
@keyframes slideUpBanner {
  0%{ transform: translateY(100%); opacity: 0; }
  100%{ transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  margin-left: 8px;
  margin-right: 5px;
  border-radius: 18px;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  background: var(--accent);
  color: var(--primary);
  transition: background 0.17s, color 0.18s, transform 0.13s;
  box-shadow: 0 1px 10px rgba(39,125,161,0.08);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--vibrant-pink);
  color: #fff;
  transform: translateY(-1px) scale(1.03);
}
.cookie-banner .cookie-settings {
  background: var(--vibrant-blue);
  color: #fff;
  margin-right: 2px;
}

.cookie-modal{
  display: none;
  position: fixed;
  top:0; left:0; bottom:0; right:0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,32,44,0.61);
  z-index: 10019;
  align-items: center;
  justify-content: center;
  animation: fadeInModal .22s cubic-bezier(.17,.49,.53,.95);
}
.cookie-modal.open{
  display: flex;
}
@keyframes fadeInModal {
  0%{ opacity: 0 }
  100%{ opacity: 1 }
}
.cookie-modal-inner{
  background: #fff;
  max-width: 380px;
  padding: 34px 26px 24px 26px;
  border-radius: 24px;
  box-shadow: 0 4px 32px rgba(39,125,161,0.15);
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
}
.cookie-modal-inner h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 7px;
  font-family: 'Playfair Display', serif;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--vibrant-pink);
}
.cookie-essential {
  color: #277DA1;
  font-weight: 700;
}
.cookie-modal-close{
  position: absolute;
  top: 7px;
  right: 12px;
  font-size: 1.4rem;
  background: none;
  border: none;
  color: var(--vibrant-pink);
}
.cookie-modal-close:hover{
  color: var(--primary);
}
.cookie-modal-actions{
  display: flex;
  gap: 14px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  padding: 8px 22px;
}

/* ----------- TEXT-SECTION AND INLINE-FLEX GROUPS -------- */
.text-section {
  margin-bottom: 24px;
  font-size: 1.09rem;
}

/* ----------- RESPONSIVE STYLES ----------- */
@media (max-width: 1100px) {
  .content-wrapper {
    max-width: 92vw;
  }
}
@media (max-width: 990px) {
  .features-grid, .card-container, .content-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .footer-content {
    gap: 28px;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 6px;
  }
}
@media (max-width: 860px) {
  .card {
    min-width: 210px;
    flex: 1 1 180px;
    padding: 18px;
  }
  .testimonial-card {
    max-width: 98vw;
    min-width: unset;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 28px 9px;
  }
  .hero {
    min-height: 230px;
    padding: 11vw 0 7vw 0;
    border-radius: 0 0 28px 28px;
    margin-bottom: 38px;
  }
  .footer-top img {
    height: 41px;
  }
  .footer-content {
    gap: 18px;
    font-size: 1rem;
  }
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature, .card {
    min-width: unset;
    width: 100%;
    padding: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 7px;
    padding: 17px;
    font-size: 0.98rem;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  h1, .hero h1 {
    font-size: 1.74rem;
  }
  h2 {
    font-size: 1.23rem;
  }
}
@media (max-width: 520px) {
  .footer-content, .container, .content-wrapper {
    padding-left: 8px;
    padding-right: 8px;
  }
  .cta-section {
    padding: 24px 6px;
    border-radius: 12px;
  }
  .hero {
    border-radius: 0 0 14px 14px;
  }
  .footer-top img {
    height: 31px;
  }
}

/* --------- FOCUS VISIBLE for accessibility --------- */
:focus-visible {
  outline: 2.5px dotted var(--vibrant-pink);
  outline-offset: 2px;
}

/* -------------- SMOOTH INTERACTIONS -------------- */
a, button {
  transition: all 0.16s ease;
}

/* ------ Z-INDEX LAYERING for MENUS & COOKIE BANNER ------ */
header, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal {
  z-index: 9999;
}

/* --------- CUSTOM SCROLLBAR (Webkit compatible only) ------ */
::-webkit-scrollbar {
  width: 7px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--vibrant-blue);
  border-radius: 8px;
}

/* ------ MISC OVERRIDES TO PREVENT OVERLAPPING ------- */
.card, .feature, .cta-section, .testimonial-card {
  margin-bottom: 20px;
}

/* ==================== END CSS =================== */
