/* ========================================
   Laurie Carrey — Landing Page
   Colors: Green + Mauve | Fonts: Fraunces + Inter
   ======================================== */

:root {
  --green: #6CA853;
  --green-dark: #568742;
  --green-light: #EDF5E8;
  --mauve: #673047;
  --mauve-dark: #502538;
  --mauve-light: #F3E4EB;
  --accent-yellow: #FEE440;
  --accent-pink: #FF6B9D;
  --bg-cream: #FDFAF5;
  --bg-white: #FFFFFF;
  --bg-card: #F7F5F0;
  --text-dark: #1A1432;
  --text-secondary: #5C5577;
  --text-muted: #9B98A8;
  --text-light: #FFFFFF;
  --font-heading: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --container-padding: 80px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a { text-decoration: none; color: inherit; }

/* ---- Utilities ---- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
}

.badge-green { background: var(--green-light); color: var(--green-dark); font-weight: 700; }
.badge-mauve { background: var(--mauve-light); color: var(--mauve); font-weight: 700; }
.badge svg { flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  white-space: nowrap;
}

.btn-sm { padding: 12px 24px; font-size: 14px; }

.btn-primary { background: var(--green); color: var(--text-light); }
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(108, 168, 83, 0.35);
}

.btn-outline-mauve {
  background: transparent;
  color: var(--mauve);
  border: 2px solid var(--mauve);
}
.btn-outline-mauve:hover {
  background: var(--mauve-light);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--text-dark);
}

.section-header p {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 700px;
}

/* ---- Header ---- */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--container-padding);
  background: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
}

.header .logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  flex-shrink: 0;
}

.nav { display: flex; gap: 32px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s;
}
.nav a:hover { color: var(--green); }
.nav a:hover::after { width: 100%; }

.header-right { display: flex; align-items: center; gap: 20px; }

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.header-phone svg { color: var(--green); }
.header-phone:hover { color: var(--green); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}
.header.menu-open .mobile-menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.menu-open .mobile-menu-btn span:nth-child(2) { opacity: 0; }
.header.menu-open .mobile-menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---- */

.hero {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: var(--container-padding);
  min-height: 85vh;
  background:
    radial-gradient(circle at 85% 30%, rgba(103, 48, 71, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(108, 168, 83, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 120%, rgba(254, 228, 64, 0.06) 0%, transparent 50%),
    var(--bg-cream);
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark);
}

.hero-sub {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 540px;
}

.hero-ctas { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.trust-bar { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.trust-item svg { color: var(--green); flex-shrink: 0; }

.hero-image {
  width: 560px;
  max-width: 100%;
  height: 480px;
  flex-shrink: 0;
  border-radius: 32px;
  overflow: hidden;
  will-change: transform;
  box-shadow: 0 20px 60px rgba(103, 48, 71, 0.15), 0 8px 24px rgba(0,0,0,0.06);
  border: 4px solid var(--mauve-light);
}

/* ---- Partners ---- */

.partners {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px var(--container-padding);
  background: var(--bg-white);
  overflow: hidden;
}

.partners-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.partners-logos {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.partners-logos span {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.3s;
}
.partners-logos span:hover {
  opacity: 1;
  color: var(--mauve);
}

/* ---- Services ---- */

.services {
  padding: var(--container-padding);
  background: var(--bg-white);
}

.services .section-header { margin-bottom: 48px; }

.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: var(--bg-white);
  border-radius: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  will-change: transform;
  border: 2px solid transparent;
}
.service-card:nth-child(1) { border-color: var(--green-light); }
.service-card:nth-child(2) { border-color: var(--mauve-light); }
.service-card:nth-child(3) { border-color: #FEF3C7; }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon.green { background: var(--green-light); color: var(--green); }
.service-icon.mauve { background: var(--mauve-light); color: var(--mauve); }

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.service-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  transition: gap 0.3s;
}
.card-link:hover { gap: 10px; }

/* ---- About ---- */

.about {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: var(--container-padding);
  background: var(--bg-white);
  overflow: hidden;
}

.about-image {
  width: 480px;
  max-width: 100%;
  height: 560px;
  flex-shrink: 0;
  border-radius: 32px;
  overflow: hidden;
  will-change: transform;
  border: 4px solid var(--green-light);
  box-shadow: 0 20px 60px rgba(108, 168, 83, 0.12);
}

.about-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.stats-row {
  display: flex;
  gap: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number, .stat-suffix {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 700;
  display: inline;
}
.stat-number.green, .stat-suffix.green { color: var(--green); }
.stat-number.mauve, .stat-suffix.mauve { color: var(--mauve); }
.stat-number.green-dark, .stat-suffix.green-dark { color: var(--green-dark); }

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ---- Testimonials ---- */

.testimonials {
  padding: var(--container-padding);
  background: var(--bg-white);
}
.testimonials .section-header { margin-bottom: 48px; }

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: var(--mauve-light);
  border-radius: 16px;
  transition: transform 0.3s;
  will-change: transform;
}
.testimonial-card:hover { transform: translateY(-4px); }

.quote-icon {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.quote-icon.mauve-bg { background: var(--mauve); }
.quote-icon.green-bg { background: var(--green); }
.quote-icon.mauve-dark-bg { background: var(--mauve-dark); }

.quote {
  font-size: 16px;
  font-style: italic;
  line-height: 1.6;
  flex: 1;
}

.stars { font-size: 18px; color: var(--green); }

.testimonial-card hr {
  border: none;
  height: 1px;
  background: #DDD8E8;
}

.author { display: flex; flex-direction: column; gap: 4px; }
.author strong { font-size: 16px; font-weight: 600; }
.author span { font-size: 14px; color: var(--text-secondary); }

/* ---- Blog ---- */

.blog {
  padding: var(--container-padding);
  background: var(--bg-cream);
}
.blog .section-header { margin-bottom: 48px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  will-change: transform;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--mauve-light);
}

.blog-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.blog-card-image img {
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--bg-white);
  font-size: 12px;
  font-weight: 600;
  color: var(--green-dark);
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.blog-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.blog-card-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

.blog-card-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.blog-card-content .card-link {
  margin-top: 4px;
}

/* ---- FAQ ---- */

.faq {
  padding: var(--container-padding);
  background: var(--bg-cream);
}
.faq .section-header { margin-bottom: 48px; }

.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  background: var(--bg-white);
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item.active {
  background: var(--mauve-light);
  border: 2px solid var(--mauve);
  box-shadow: 0 4px 20px rgba(103, 48, 71, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
}

.faq-question svg {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s, color 0.3s;
}
.faq-item.active .faq-question svg {
  color: var(--mauve);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer { max-height: 300px; }

.faq-answer p {
  padding: 0 28px 28px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Contact CTA ---- */

.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: var(--container-padding);
  background: linear-gradient(135deg, var(--mauve) 0%, var(--mauve-dark) 50%, #3A1828 100%);
  text-align: center;
  overflow: hidden;
  position: relative;
}
.contact-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(108, 168, 83, 0.1);
  pointer-events: none;
}
.contact-cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(254, 228, 64, 0.08);
  pointer-events: none;
}

.contact-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--text-light);
}

.contact-cta > p {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-light);
  line-height: 1.5;
  max-width: 560px;
  opacity: 0.9;
}

.contact-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-trust {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

/* ---- Footer ---- */

.footer {
  background: var(--text-dark);
  padding: 48px var(--container-padding);
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand .logo {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  color: var(--text-light);
}
.footer-brand .tagline { font-size: 14px; color: var(--text-muted); }

.footer-links { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 4px;
}
.footer-col a, .footer-col span {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--green); }

.footer hr {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ---- GSAP initial states (set via JS, fallback hidden) ---- */

.gs-hidden { visibility: hidden; }

/* ---- Responsive ---- */

@media (max-width: 1200px) {
  :root { --container-padding: 48px; }
}

@media (max-width: 1024px) {
  :root { --container-padding: 32px; }

  .hero {
    flex-direction: column;
    min-height: auto;
    gap: 40px;
  }
  .hero-image { width: 100%; height: 360px; }

  .cards-row { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .about {
    flex-direction: column;
    gap: 40px;
  }
  .about-image { width: 100%; height: 360px; }

  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .partners-logos { gap: 32px; }
  .partners-logos span { font-size: 17px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --container-padding: 24px; }

  /* Mobile nav */
  .nav, .header-phone { display: none; }
  .mobile-menu-btn { display: flex; }
  .header .btn-sm { display: none; }

  .header.menu-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 24px 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    gap: 20px;
  }
  .header.menu-open .nav a { font-size: 18px; }

  .hero { padding-top: 48px; padding-bottom: 48px; }
  .hero h1 { font-size: 32px; }
  .hero-image { height: 280px; border-radius: 16px; }

  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }

  .trust-bar { gap: 12px; }

  .service-card { padding: 24px; }

  .about-image { height: 300px; border-radius: 16px; }
  .stats-row { gap: 24px; }

  .testimonials .cards-row { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .blog-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .faq-question { padding: 20px 20px; font-size: 16px; }
  .faq-answer p { padding: 0 20px 20px; font-size: 15px; }

  .contact-buttons { flex-direction: column; width: 100%; }
  .contact-buttons .btn { width: 100%; justify-content: center; }

  .footer-links { gap: 24px; }
  .footer-col { min-width: 140px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .partners-logos span { font-size: 15px; }
  .partners-logos { gap: 20px; }
  .stats-row { flex-direction: column; }
}
