/*-----------------------------------------------------------
   CSS Reset & Normalize
------------------------------------------------------------*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background: #F7F4F0;
}
body {
  background: #F7F4F0;
  color: #605749;
  font-family: 'Montserrat', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
a {
  color: #30504A;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #867C6C;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
  color: #30504A;
  letter-spacing: 0.02em;
  font-weight: 700;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #867C6C;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, li, em, strong, span {
  font-family: 'Montserrat', Arial, sans-serif;
}
p, li {
  font-size: 1rem;
  color: #605749;
}
li {
  margin-bottom: 12px;
  line-height: 1.6;
}
strong, b {
  color: #30504A;
}
em {
  color: #867C6C;
  font-style: italic;
}
::selection {
  background: #E4D8CB;
}

/*-----------------------------------------------------------
   Color Variables (Soft Pastel Palette)
------------------------------------------------------------*/
:root {
  --primary: #867C6C;
  --primary-dark: #605749;
  --secondary: #F7F4F0;
  --secondary-soft: #FAF8F5;
  --accent: #30504A;
  --pastel-pink: #F6E5E9;
  --pastel-mint: #DCF2EA;
  --pastel-blue: #E7EEFB;
  --pastel-yellow: #FCF6E6;
  --pastel-beige: #F4EBDD;
  --shadow: 0 2px 12px 0 rgba(180, 148, 104, 0.06);
  --radius: 18px;
}

/*-----------------------------------------------------------
   Layout Containers
------------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #FCF6E6 60%, #F6E5E9 100%);
  padding: 60px 0 40px 0;
  border-radius: 0 0 var(--radius) var(--radius);
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 22px;
}
.hero h1 {
  color: var(--accent);
  font-size: 2.7rem;
  font-weight: 700;
  font-family: 'Quicksand', Arial, sans-serif;
}
.hero p {
  font-size: 1.2rem;
  color: #7B6E60;
}
.hero .cta-primary {
  margin-top: 18px;
}

/* Flexbox-based patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 26px;
  min-width: 260px;
  max-width: 400px;
  transition: box-shadow 0.18s cubic-bezier(.5,0,.5,1);
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 16px 0 rgba(180, 148, 104, 0.12);
}
.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 {
  background: var(--pastel-mint);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 540px;
}
.testimonial-card p {
  color: #30504A;
  margin-right: auto;
  font-size: 1.03rem;
}
.testimonial-card span {
  color: #867C6C;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-yellow);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

/* Utility Spacing */
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }

/*-----------------------------------------------------------
   Header & Navigation
------------------------------------------------------------*/
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(180, 148, 104, 0.07);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 29;
  min-height: 72px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo img {
  height: 46px;
  width: auto;
  vertical-align: middle;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #605749;
  font-weight: 500;
  font-size: 1.02rem;
  padding: 6px 12px;
  border-radius: 10px;
  transition: background .18s, color .18s cubic-bezier(.4,0,.2,1);
}
.main-nav a:not(.cta-primary):hover, .main-nav a:not(.cta-primary):focus {
  background: var(--pastel-mint);
  color: #30504A;
}
.main-nav .cta-primary {
  background: var(--accent);
  color: #fff;
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 9px 22px;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(48, 80, 74, 0.10);
  margin-left: 8px;
  transition: background .2s cubic-bezier(.4,0,.2,1), box-shadow .2s;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #3C685F;
  box-shadow: 0 4px 14px 0 rgba(48,80,74,0.15);
}
/* Hamburger mobile menu button */
.mobile-menu-toggle {
  display: none;
  background: var(--pastel-pink);
  border: none;
  font-size: 2rem;
  padding: 7px 16px;
  border-radius: 16px;
  color: #867C6C;
  margin-left: 18px;
  cursor: pointer;
  transition: background .22s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--pastel-mint);
  color: #30504A;
}

/*----------------------------
   Mobile Menu Styles
-----------------------------*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(252, 246, 230, 0.97);
  box-shadow: 0 4px 24px 0 rgba(48,80,74,0.13);
  z-index: 99;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.42,0,.3,1);
  padding-top: 18px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--pastel-pink);
  border: none;
  font-size: 2.1rem;
  color: #867C6C;
  border-radius: 14px;
  align-self: flex-end;
  margin-right: 26px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background .17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-mint);
  color: #30504A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 34px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #30504A;
  font-family: 'Quicksand', Arial, sans-serif;
  padding: 11px;
  border-radius: 11px;
  font-weight: 600;
  transition: background .16s, color .16s cubic-bezier(.4,0,.2,1);
  width: 100%;
  text-align: left;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-beige);
  color: #867C6C;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 890px) {
  .main-nav {
    gap: 9px;
  }
  .main-nav .cta-primary {
    padding: 8px 13px;
    font-size: 1rem;
  }
}
@media (max-width: 880px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/*-----------------------------------------------------------
   Buttons - Primary / Secondary / General CTAs
------------------------------------------------------------*/
.cta-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  padding: 11px 28px;
  border-radius: 25px;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(60,104,95,0.07);
  cursor: pointer;
  transition: background .21s, box-shadow .22s cubic-bezier(.4,0,.2,1);
}
.cta-primary:focus, .cta-primary:hover {
  background: #41887B;
  box-shadow: 0 4px 16px 0 rgba(48,80,74,0.17);
  color: #fff;
}
.cta-secondary {
  display: inline-block;
  background: var(--pastel-beige);
  color: var(--accent);
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 22px;
  border-radius: 18px;
  border: 1px solid var(--accent);
  box-shadow: none;
  margin-top: 14px;
  margin-bottom: 2px;
  cursor: pointer;
  transition: background .18s, color .17s, border .18s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
button {
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background .17s cubic-bezier(.45,0,.55,1);
}

/*-----------------------------------------------------------
   Cards & Features (Lists, Icons, Boxes)
------------------------------------------------------------*/
ul li img {
  width: 32px;
  height: 32px;
  margin-right: 12px;
  vertical-align: -9px;
  background: var(--pastel-pink);
  border-radius: 50%;
  padding: 2px;
  box-shadow: 0 1px 5px 0 rgba(223, 167, 189, 0.1);
}
ol {
  list-style: decimal inside;
  margin-left: 1.6em;
  margin-bottom: 1em;
}
ul {
  list-style: disc inside;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
  color: #605749;
  font-size: 1rem;
}

/*-----------------------------------------------------------
   Footer
------------------------------------------------------------*/
footer {
  background: #FFF;
  padding: 34px 0 26px 0;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -2px 12px 0 rgba(180, 148, 104, 0.06);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  margin-bottom: 10px;
}
.footer-nav a {
  font-size: 1rem;
  color: #867C6C;
  font-weight: 500;
  border-radius: 8px;
  padding: 5px 10px;
  transition: background 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--pastel-mint);
  color: var(--accent);
}
footer p {
  color: #867C6C;
  font-size: 0.96rem;
  margin-bottom: 4px;
}
footer img {
  vertical-align: middle;
  height: 24px;
  width: auto;
  margin-right: 6px;
}

/*-----------------------------------------------------------
   Cookie Consent Banner & Modal
------------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(95deg,#F6E5E9 60%,#FCF6E6 100%);
  color: #30504A;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -4px 18px rgba(48,80,74,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 24px 18px 24px;
  gap: 13px;
  z-index: 800;
  transition: opacity 0.22s, transform 0.24s cubic-bezier(.52,0,.48,1);
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner button {
  margin: 0 12px 0 0;
}
.cookie-btn-accept {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 16px;
  padding: 8px 19px;
  border: none;
  margin-right: 8px;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #41887B;
}
.cookie-btn-reject {
  background: var(--pastel-mint);
  color: var(--accent);
  border-radius: 14px;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  font-weight: 500;
  margin-right: 8px;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: var(--pastel-beige);
  color: #867C6C;
}
.cookie-btn-settings {
  background: var(--pastel-pink);
  color: var(--accent);
  border-radius: 14px;
  padding: 8px 13px;
  border: 1px solid var(--accent);
  font-weight: 500;
  margin-right: 4px;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: var(--pastel-mint);
  color: #867C6C;
}
.cookie-banner-text {
  font-size: 1rem;
  margin-bottom: 7px;
  color: #30504A;
}
/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(60, 87, 80, 0.28);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.22s cubic-bezier(.46,0,.54,1);
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #30504A;
  border-radius: var(--radius);
  min-width: 305px;
  max-width: 90vw;
  box-shadow: 0 4px 28px rgba(48,80,74,0.14);
  padding: 32px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 7px;
}
.cookie-modal-categories label {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  font-size: 1.08rem;
  color: #30504A;
}
.cookie-modal-categories input[type=checkbox] {
  accent-color: #867C6C;
  margin-right: 10px;
  width: 18px;
  height: 18px;
}
.cookie-modal-category-desc {
  color: #867C6C;
  margin-left: 28px;
  font-size: 0.93rem;
  margin-bottom: 5px;
}
.cookie-modal-btns {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/*-----------------------------------------------------------
   Responsive Design (Mobile First)
------------------------------------------------------------*/
@media (max-width: 768px) {
  .hero {
    padding: 35px 0 28px 0;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  .section {
    padding: 25px 7px;
    margin-bottom: 29px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 12px;
    min-width: 180px;
    max-width: 96vw;
  }
  .feature-item {
    padding: 14px 8px;
  }
  .card {
    padding: 14px 8px;
    min-width: 170px;
  }
  .text-image-section, .content-grid, .card-container {
    flex-direction: column;
    gap: 13px;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
    padding-left: 4px;
    padding-right: 4px;
  }
  .content-wrapper {
    gap: 10px;
  }
}

@media (max-width: 525px) {
  html { font-size: 14px; }
  .container {
    padding-left: 2px;
    padding-right: 2px;
  }
  .footer-nav {
    gap: 4px;
    font-size: 0.97rem;
  }
}

/* Focus Accessibility Outline */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 2px solid #41887B;
  outline-offset: 2px;
}

/*-----------------------------------------------------------
   Subtle Animations & Micro-interactions
------------------------------------------------------------*/
.cta-primary, .cta-secondary, .main-nav a, .footer-nav a, .mobile-nav a, .cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings {
  transition: background .18s, color .16s, box-shadow .2s;
}
.card, .testimonial-card, .feature-item {
  transition: box-shadow .18s cubic-bezier(.57,0,.56,1), transform .13s;
}
.card:hover, .testimonial-card:hover, .feature-item:hover {
  box-shadow: 0 6px 36px 0 rgba(180,148,104,0.12);
  transform: translateY(-2px) scale(1.015);
}

/*-----------------------------------------------------------
   Miscellaneous
------------------------------------------------------------*/
::-webkit-scrollbar {
  width: 10px;
  background: var(--secondary-soft);
}
::-webkit-scrollbar-thumb {
  background: var(--pastel-beige);
  border-radius: 20px;
}

/*-----------------------------------------------------------
   Form Styling (if forms are included in future)
------------------------------------------------------------*/
input, textarea, select {
  border: 1px solid var(--pastel-beige);
  border-radius: 12px;
  font-size: 1rem;
  padding: 10px 13px;
  background: #fff;
  color: #605749;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 18px;
  width: 100%;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--accent);
  outline: none;
}
label {
  font-size: 1rem;
  color: #867C6C;
  margin-bottom: 8px;
  display: block;
  font-family: 'Quicksand', Arial, sans-serif;
}

/*-----------------------------------------------------------
   Typography Scale & Hierarchy
------------------------------------------------------------*/
.display-1 {
  font-size: 2.7rem;
  font-family: 'Quicksand', Arial, sans-serif;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 22px;
}
.subtitle {
  font-size: 1.4rem;
  color: #7B6E60;
  font-weight: 600;
  margin-bottom: 11px;
}
/*-----------------------------------------------------------
   General Pastel Styling Embellishments
------------------------------------------------------------*/
.section {
  background: linear-gradient(110deg, #FCF6E6 60%, #DCF2EA 120%);
}
.card, .testimonial-card, .feature-item {
  background: linear-gradient(130deg, #FFFFFF 85%, #DCF2EA 100%);
}

/*-----------------------------------------------------------
   Z-index Context for Overlays
------------------------------------------------------------*/
header { z-index: 29; }
.mobile-menu { z-index: 99; }
.cookie-banner { z-index: 800; }
.cookie-modal-overlay { z-index: 900; }

/*-----------------------------------------------------------
   Prevent Overlap: Enforce Margin Between Cards/Sections
------------------------------------------------------------*/
.section + .section,
.card + .card,
.feature-item + .feature-item,
.testimonial-card + .testimonial-card {
  margin-top: 20px !important;
}

/*-----------------------------------------------------------
   Print Styles (Minimal)
------------------------------------------------------------*/
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer {
    display: none !important;
  }
  .container, .section {
    box-shadow: none !important;
    padding: 0 !important;
    background: #fff !important;
  }
}
