/* ====================================================
   RESET & BASE STYLES (mobile-first)
==================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F4EA;
  color: #345242;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
  font-size: 1em;
}
a {
  text-decoration: none;
  color: #375A42;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B3356A;
}
button, .btn-primary {
  font-family: 'Roboto', Arial, sans-serif;
  background: #375A42;
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 6px rgba(55,90,66,0.08);
  letter-spacing: 0.03em;
  outline: none;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #B3356A;
  color: #fff;
}
.btn-secondary {
  background: #fff;
  color: #375A42;
  border: 2px solid #375A42;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #F7F4EA;
  border-color: #B3356A;
  color: #B3356A;
}
.btn-neutral {
  background: #ECE6DA;
  color: #375A42;
  border: 1px solid #ECE6DA;
}
.btn-neutral:hover, .btn-neutral:focus {
  background: #DFDBD1;
  color: #345242;
}
:focus {
  outline: 2px solid #B3356A;
  outline-offset: 1px;
}

/* Typography scale */
h1, .h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #375A42;
  line-height: 1.13;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
h2, .h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  color: #375A42;
  margin-bottom: 18px;
}
h3, .h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.38rem;
  font-weight: 600;
  color: #375A42;
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 500;
}
p, .text-section p, .content-wrapper p {
  margin-bottom: 16px;
  color: #345242;
  font-size: 1.06rem;
}
strong {
  font-weight: 600;
  color: #375A42;
}

/* Layout containers */
.container {
  width: 100%;
  max-width: 1100px;
  padding: 0 18px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  align-items: flex-start;
}

/* Feature grid and flex spacings (MANDATORY) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 24px 20px;
  border-radius: 20px;
  box-shadow: 0 1px 8px rgba(55,90,66,0.07);
  min-width: 230px;
  max-width: 340px;
  flex: 1 1 230px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item img {
  width: 48px;
  height: 48px;
  background: #F7F4EA;
  border-radius: 50%;
  padding: 6px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 4px 18px rgba(55,90,66,0.13);
  transform: translateY(-2px) scale(1.03);
}

/* Card container (used for future purposes) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(55,90,66,0.09);
  margin-bottom: 20px;
  padding: 24px 16px;
  min-width: 220px;
  max-width: 350px;
  flex: 1 1 220px;
  transition: box-shadow 0.18s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 18px rgba(179,53,106,0.14);
  transform: translateY(-2px);
}

/* MAIN NAVIGATION (desktop) */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(55,90,66,0.03);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 14px 10px;
}
.logo {
  display: flex;
  align-items: center;
  height: 56px;
  padding-right: 16px;
}
.logo img {
  height: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #375A42;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 10px;
  transition: background 0.15s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #B3356A;
  background: #F7F4EA;
}
.btn-primary {
  margin-left: 18px;
}
.mobile-menu-toggle {
  background: none;
  color: #375A42;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  margin-left: 20px;
  display: none;
  z-index: 110;
  width: 48px;
  height: 48px;
  line-height: 1;
  border-radius: 10px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F7F4EA;
}

/* MOBILE MENU (MANDATORY ANIMATION & OVERLAY) */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(247,244,234,0.98);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(-105vw);
  transition: transform 0.4s cubic-bezier(.9,.03,.69,.98);
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #375A42;
  font-size: 2rem;
  margin: 20px 30px 8px 0;
  cursor: pointer;
  align-self: flex-end;
  border-radius: 10px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F7F4EA;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 12px 42px 24px 32px;
}
.mobile-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.2rem;
  color: #375A42;
  padding: 12px 0;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.17s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #375A42;
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 1020px) {
  .main-nav {
    display: none !important;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Show desktop menu again for wider screens */
@media (min-width: 1021px) {
  .mobile-menu { display: none !important; }
}

/* ===============================
   RESPONSIVE LAYOUT & SPACING
=============================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (min-width: 700px) {
  .section {
    padding: 60px 0px;
    margin-bottom: 75px;
  }
}

.content-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .content-grid,
  .card-grid,
  .text-image-section,
  .feature-grid {
    flex-direction: column;
    gap: 24px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ===== TESTIMONIAL CARDS (Contrast safe!) ===== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(55,90,66,0.09);
  transition: box-shadow 0.18s, transform 0.17s;
  position: relative;
  color: #345242;
  font-size: 1.13rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 3px 16px rgba(55,90,66,0.17);
  transform: translateY(-2px);
}
.testimonial-card p {
  margin-bottom: 8px;
  color: #375A42;
  font-size: 1.04rem;
}
.testimonial-meta {
  font-size: 0.98em;
  color: #B3356A;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* =====================
   FOOTER STYLES
====================== */
footer {
  background: #375A42;
  color: #fff;
  padding: 38px 0 24px 0;
  margin-top: 64px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu a {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 2px;
  opacity: 0.92;
  transition: color 0.16s, opacity 0.2s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #B3356A;
  opacity: 1;
}
.footer-brand {
  flex: 0 0 90px;
  display: flex;
  align-items: center;
}
.footer-brand img {
  width: 54px;
  height: auto;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1em;
  opacity: 0.98;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-contact p {
  display: flex;
  align-items: center;
  color: #fff;
  margin-bottom: 4px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 10px;
}
.footer-social a img {
  width: 26px;
  height: 26px;
  filter: grayscale(0.15) brightness(1) contrast(1.2);
  transition: filter 0.14s;
}
.footer-social a:hover img {
  filter: none;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* =====================
   COOKIE CONSENT BANNER
====================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  background: #fff;
  color: #375A42;
  box-shadow: 0 -2px 12px rgba(55,90,66,0.10);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 26px 10px 20px 10px;
  font-size: 1rem;
  transition: transform 0.32s cubic-bezier(.9,.03,.69,.98), opacity 0.24s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 8px;
}
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary,
.cookie-banner .btn-neutral {
  font-size: 1rem;
  padding: 9px 22px;
  border-radius: 20px;
}
.cookie-banner a {
  color: #B3356A;
  text-decoration: underline;
  font-size: 0.97em;
  font-weight: 500;
}

/* Modal (cookie settings) */
.cookie-modal-bg {
  position: fixed;
  z-index: 1050;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(55,90,66,0.17);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.21s;
}
.cookie-modal-bg.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #375A42;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(55,90,66,0.15);
  max-width: 400px;
  width: 96vw;
  padding: 40px 24px 24px 24px;
  position: relative;
  animation: fadeInUp 0.4s cubic-bezier(.48,-0.08,.51,1.18);
}
@keyframes fadeInUp {
  0% { opacity:0; transform: translateY(40px); }
  100% { opacity:1; transform: translateY(0); }
}
.cookie-modal h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.38rem;
  margin-bottom: 18px;
  color: #375A42;
}
.cookie-modal ul {
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #F2EFE7;
  font-size: 1.01rem;
}
.cookie-modal li:last-child {
  border-bottom: none;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  border-radius: 12px;
  background: #ECE6DA;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
  margin-left: 8px;
  flex-shrink: 0;
}
.cookie-toggle.on {
  background: #B3356A;
}
.cookie-toggle-switch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.09);
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.17s;
}
.cookie-toggle.on .cookie-toggle-switch {
  left: 20px;
}

.cookie-modal .modal-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 10px;
  background: none;
  border: none;
  font-size: 1.55rem;
  color: #B3356A;
  cursor: pointer;
  border-radius: 10px;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #F7F4EA;
}

/* ===================
   ICONS in lists
=================== */
ul li img {
  width: 22px;
  height: 22px;
  margin-right: 7px;
  vertical-align: middle;
  position: relative;
  top: 2px;
}
ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 11px;
}

/* ================
   MISC SPACING
================= */
.content-wrapper ul {
  margin-bottom: 10px;
}
.content-wrapper li {
  font-size: 1em;
}
.content-wrapper > h2:not(:first-child) {
  margin-top: 28px;
}
.content-wrapper a.btn-primary {
  margin-top: 14px;
}

/* ================
   THANK YOU PAGE
================= */
.text-section {
  margin-bottom: 12px;
}
.text-section h1 {
  margin-bottom: 16px;
}
.text-section ul {
  margin-bottom: 24px;
}
.text-section a.btn-primary {
  margin-top: 16px;
}

/* ================
   BLOG PAGE & CARDS
================= */
.card-grid {
  margin-bottom: 24px;
}

/* ================
   GENERAL UTILITIES
================= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.gap-20 { gap: 20px !important; }
.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }
.justify-between { justify-content: space-between !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

/* ================
   MEDIA QUERIES
================= */
@media (min-width: 700px) {
  h1, .h1 { font-size: 3.2rem; }
  h2, .h2 { font-size: 2.3rem; }
  h3, .h3 { font-size: 1.5rem; }
}
@media (max-width: 517px) {
  h1, .h1 { font-size: 1.65rem; }
  h2, .h2 { font-size: 1.15rem; }
}
@media (max-width: 820px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .card {
    min-width: unset;
    max-width: none;
    width: 100%;
  }
}

/* ===============================
   PRINT FIXES (optional)
=============================== */
@media print {
  body, header, main, footer { background: #fff !important; color: #000 !important; }
  .main-nav, .mobile-menu, .cookie-banner { display: none !important; }
  .btn-primary, .btn-secondary { display: none !important; }
}

/* =================================
   CUSTOM SCROLLBAR (subtle)
================================= */
::-webkit-scrollbar {
  width: 8px;
  background: #F7F4EA;
}
::-webkit-scrollbar-thumb {
  background: #ECE6DA;
  border-radius: 10px;
}

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