:root{
  --pink: #e0186b;
  --pink-dark: #b30f56;
  --navy: #2a1454;
  --navy-dark: #1a0d35;
  --rose-gold: #c9976a;
  --bg: #fff8fa;
  --cream: #fdf1e9;
  --blush: #ffe3ee;
  --text: #3a2540;
  --text-soft: #6b5a72;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(42, 20, 84, 0.08);
  --shadow-lg: 0 20px 50px rgba(42, 20, 84, 0.14);
  --radius: 20px;
  --header-h: 84px; /* auto-synced by js/main.js to the real header height - leave this one alone */

  /* =========================================================================
     NAV-BAR SCROLL CONTROL
     This is where each nav button decides where its section lands on screen.
     --header-h is the fixed nav bar's height (auto-measured, don't edit it).
     Each --scroll-nudge-* below is an EXTRA adjustment just for that one
     section, added on top of the header height:
       0px   = section top sits exactly below the nav bar (default)
       20px  = section starts 20px lower (more breathing room under the nav)
       -20px = section starts 20px higher (tucks slightly under the nav)
     Change only the number, e.g. --scroll-nudge-contact: 30px;
     ========================================================================= */
  --scroll-nudge-home: 20px;
  --scroll-nudge-about: -135px;
  --scroll-nudge-products: -250px;
  --scroll-nudge-recovery: -150px;
  --scroll-nudge-contact: 0px;
}

*{ box-sizing: border-box; margin: 0; padding: 0; }

html{ scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

#home{ scroll-margin-top: calc(var(--header-h) + var(--scroll-nudge-home)); }
#about{ scroll-margin-top: calc(var(--header-h) + var(--scroll-nudge-about)); }
#products{ scroll-margin-top: calc(var(--header-h) + var(--scroll-nudge-products)); }
#recovery{ scroll-margin-top: calc(var(--header-h) + var(--scroll-nudge-recovery)); }
#contact{ scroll-margin-top: calc(var(--header-h) + var(--scroll-nudge-contact)); }

body{
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .logo-word{
  font-family: 'Playfair Display', serif;
}

a{ text-decoration: none; color: inherit; }
ul{ list-style: none; }
img{ max-width: 100%; display: block; }
button{ font-family: inherit; cursor: pointer; border: none; }

.container{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section{ padding: 100px 0; position: relative; scroll-margin-top: var(--header-h); }

/* Sections that fit fully within one screen (below the fixed header) */
.fit-screen{
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.section-tag{
  display: inline-block;
  color: var(--pink);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 14px;
}

.section-head{
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2{
  font-size: clamp(28px, 4vw, 42px);
  color: var(--navy);
  margin-bottom: 16px;
}

.section-head p{
  color: var(--text-soft);
  font-size: 17px;
}

.heart-divider{
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
  margin: 18px auto;
  position: relative;
}
.heart-divider::after{
  content: "\2665";
  position: absolute;
  top: -9px; left: 50%;
  transform: translateX(-50%);
  color: var(--pink);
  font-size: 14px;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-primary{
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: var(--white);
  box-shadow: 0 12px 24px rgba(224, 24, 107, 0.28);
}
.btn-primary:hover{ transform: translateY(-3px); box-shadow: 0 16px 30px rgba(224,24,107,.36); }
.btn-outline{
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover{ background: var(--navy); color: var(--white); transform: translateY(-3px); }
.btn-outline.light{ border-color: var(--white); color: var(--white); }
.btn-outline.light:hover{ background: var(--white); color: var(--navy); }
.btn-block{ width: 100%; justify-content: center; }

/* Header */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 248, 250, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(42,20,84,0.06);
  transition: box-shadow .3s ease;
}
.site-header.scrolled{ box-shadow: 0 6px 20px rgba(42,20,84,0.08); }

.nav-wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo{
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon{ width: 38px; height: 38px; flex-shrink: 0; object-fit: contain; }
.logo-text{ display: flex; flex-direction: column; line-height: 1.1; }
.logo-word{ font-size: 22px; font-weight: 700; }
.logo-word .amma{ color: var(--navy); }
.logo-word .care{ color: var(--pink); }
.logo-tagline{
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 10.5px;
  color: var(--text-soft);
  letter-spacing: .3px;
}

.nav-links{
  display: flex;
  gap: 36px;
}
.nav-links a, .nav-link-btn{
  font-weight: 500;
  font-size: 15px;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.nav-link-btn{
  background: none;
  font-family: inherit;
}
.nav-links a::after, .nav-link-btn::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--pink);
  transition: width .25s ease;
}
.nav-links a:hover::after, .nav-link-btn:hover::after{ width: 100%; }

.nav-cta{ display: flex; align-items: center; gap: 20px; }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
}
.nav-toggle span{
  width: 26px; height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s ease;
}

/* Hero */
.hero{
  min-height: 100vh;
  padding: var(--header-h) 0 40px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 85% 20%, rgba(224,24,107,0.08), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(42,20,84,0.06), transparent 45%),
    var(--bg);
  overflow: hidden;
}
.hero .container{ width: 100%; }
.hero .container{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blush);
  color: var(--pink-dark);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 22px;
}
.hero h1{
  font-size: clamp(34px, 5vw, 54px);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero h1 span{ color: var(--pink); font-style: italic; }
.hero p{
  font-size: 18px;
  color: var(--text-soft);
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-actions{ display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats{ display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats div strong{
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--navy);
}
.hero-stats div span{ font-size: 13px; color: var(--text-soft); }

.hero-visual{ position: relative; }
.hero-card{
  position: relative;
  background: var(--white);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}
.hero-card img{ border-radius: 18px; }
.hero-badge{
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--navy);
  color: var(--white);
  padding: 16px 22px;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
  max-width: 220px;
}
.hero-badge strong{ display:block; color: var(--pink); font-family:'Playfair Display', serif; font-size: 15px; margin-bottom: 4px;}
.hero-badge span{ font-size: 12.5px; color: rgba(255,255,255,0.85); }

/* Trust strip */
.trust-strip{
  background: var(--navy);
  padding: 26px 0;
}
.trust-strip .container{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}
.trust-strip .item{ color: var(--white); font-size: 14px; font-weight: 500; opacity: .92; display:flex; align-items:center; gap:8px; }
.trust-strip .item .ic{ color: var(--pink); font-size: 16px; }

/* About */
.about{
  background: var(--white);
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 50px 0;
}
.about-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-visual{ position: relative; }
.about-visual img{
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.about-content h2{
  font-size: clamp(26px, 3.4vw, 34px);
  color: var(--navy);
  margin-bottom: 14px;
}
.about-content p{ color: var(--text-soft); margin-bottom: 12px; font-size: 15.5px; }

.about-points{ margin-top: 18px; display: grid; gap: 12px; }
.about-point{ display: flex; gap: 14px; align-items: flex-start; }
.about-point .dot{
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--blush);
  color: var(--pink-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.about-point strong{ display: block; color: var(--navy); font-size: 15.5px; margin-bottom: 2px; }
.about-point p{ margin: 0; font-size: 14.5px; }

/* Products */
.products{ background: var(--bg); }
.product-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.product-card{
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-media{
  aspect-ratio: 4/3;
  background: #fff;
  overflow: hidden;
  position: relative;
}
.product-media img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-media img{ transform: scale(1.06); }
.product-media .tag{
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,0.92);
  color: var(--pink-dark);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 6px 12px;
  border-radius: 50px;
  text-transform: uppercase;
}
.product-body{ padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-body .brand-line{ font-size: 12px; color: var(--pink); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 6px; }
.product-body h3{ font-size: 21px; color: var(--navy); margin-bottom: 8px; }
.product-body p{ font-size: 14.5px; color: var(--text-soft); margin-bottom: 16px; flex: 1; }
.chip-row{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip{
  font-size: 12px;
  background: var(--cream);
  color: var(--navy);
  padding: 6px 12px;
  border-radius: 50px;
  font-weight: 500;
}
.product-body .card-link{
  font-size: 14px;
  font-weight: 600;
  color: var(--pink-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.product-body .card-link .arrow{ transition: transform .25s ease; }
.product-card:hover .card-link .arrow{ transform: translateX(4px); }

/* Recovery / process */
.recovery{ background: var(--navy); color: var(--white); }
.recovery .section-tag{ color: var(--rose-gold); }
.recovery .section-head{ max-width: none; }
.recovery .section-head h2{
  color: var(--white);
  font-size: clamp(24px, 3.1vw, 38px);
  white-space: nowrap;
}
.recovery .section-head p{
  color: rgba(255,255,255,0.75);
  font-size: clamp(13.5px, 1.35vw, 16px);
  white-space: nowrap;
}

.process-row{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}
.process-step{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 24px 18px;
  text-align: center;
  position: relative;
}
.process-step .num{
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-weight: 700; font-size: 14px;
}
.process-step h4{ font-size: 15px; margin-bottom: 6px; font-family: 'Poppins', sans-serif; font-weight: 600; }
.process-step p{ font-size: 12.5px; color: rgba(255,255,255,0.68); }
.process-arrow{ display:none; }

.assessment-panel{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
}
.assessment-panel h3{ font-size: 26px; margin-bottom: 14px; }
.assessment-panel > div:first-child p{ color: rgba(255,255,255,0.75); font-size: 15px; }
.assessment-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.assessment-item{
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.assessment-item .ic{ color: var(--rose-gold); }

/* Values */
.values{
  background: var(--white);
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 50px 0;
}
.values-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.value-card{
  text-align: center;
  padding: 34px 20px;
  border-radius: 18px;
  background: var(--bg);
  transition: transform .25s ease;
}
.value-card:hover{ transform: translateY(-6px); }
.value-icon{
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 22px;
}
.value-card h4{ color: var(--navy); font-size: 16.5px; margin-bottom: 8px; font-family:'Poppins',sans-serif; font-weight:600; }
.value-card p{ font-size: 13.5px; color: var(--text-soft); }

/* Quote */
.quote-section{
  background: var(--blush);
  text-align: center;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 50px 0;
  scroll-margin-top: var(--header-h);
}
.quote-section .container{ width: 100%; }
.quote-section .mark{ font-family: 'Playfair Display', serif; font-size: 60px; color: var(--pink); line-height: 1; }
.quote-section blockquote{
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(22px, 3.4vw, 32px);
  color: var(--navy);
  max-width: 780px;
  margin: 10px auto 20px;
  line-height: 1.4;
}
.quote-section cite{ font-style: normal; color: var(--text-soft); font-size: 14px; }

/* Contact */
.contact{ background: var(--bg); }
.contact-wrap{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.contact-info{
  background: var(--navy);
  color: var(--white);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
}
.contact-info::before{
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(224,24,107,0.35), transparent 70%);
  top: -80px; right: -80px;
  border-radius: 50%;
}
.contact-info h3{ font-size: 26px; margin-bottom: 14px; }
.contact-info p{ color: rgba(255,255,255,0.75); font-size: 14.5px; margin-bottom: 34px; }
.contact-detail{ display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-detail .ic{
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--rose-gold);
}
.contact-detail strong{ display: block; font-size: 14px; margin-bottom: 2px; }
.contact-detail span{ font-size: 13.5px; color: rgba(255,255,255,0.72); }

.contact-form{ padding: 50px 44px; }
.contact-form h3{ color: var(--navy); font-size: 24px; margin-bottom: 6px; }
.contact-form > p{ color: var(--text-soft); font-size: 14.5px; margin-bottom: 28px; }

.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field{ margin-bottom: 18px; }
.field label{ display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea{
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #ece0e6;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--pink);
}
.field textarea{ resize: vertical; min-height: 110px; }
.hidden-field{ position: absolute; left: -9999px; }

.form-note{ font-size: 12.5px; color: var(--text-soft); margin-top: 14px; text-align: center; }
.form-status{
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
}
.form-status.success{ display: block; background: #e5f6ec; color: #1c7a44; }
.form-status.error{ display: block; background: #fce8e8; color: #b3261e; }

/* Footer */
.site-footer{ background: var(--navy-dark); color: rgba(255,255,255,0.75); padding: 60px 0 26px; }
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-icon{
  background: rgba(255,255,255,0.94);
  border-radius: 50%;
  padding: 5px;
  box-sizing: border-box;
}
.footer-brand .logo-word .amma{ color: var(--white); }
.footer-brand .logo-tagline{ color: rgba(255,255,255,0.55); }
.footer-brand p{ margin-top: 16px; font-size: 14px; max-width: 320px; color: rgba(255,255,255,0.6); }
.footer-col h5{ color: var(--white); font-size: 15px; margin-bottom: 18px; font-family:'Poppins',sans-serif; }
.footer-col ul li{ margin-bottom: 12px; font-size: 14px; }
.footer-col ul li a:hover{ color: var(--pink); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

/* Reveal animation */
.reveal{ opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* Founder modal */
.modal-overlay{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(26, 13, 53, 0.82);
  padding: 40px 20px;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open{ display: flex; }
.modal-box{
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
}
.modal-box img{
  width: 100%;
  height: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.modal-close{
  position: absolute;
  top: -18px; right: -18px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform .2s ease, background .2s ease;
}
.modal-close:hover{ transform: scale(1.08); background: var(--blush); }

/* Responsive */
@media (max-width: 980px){
  /* Your desktop scroll-nudge values above are tuned to the desktop
     layout (multi-column cards, side-by-side sections). Tablet/mobile
     stack everything into a single column instead, so those same
     pixel offsets would land in the wrong spot - reset to 0 here so
     every nav button lands cleanly right below the header on smaller
     screens. Edit the numbers below if you want a different mobile
     landing spot; leave the desktop ones above untouched. */
  :root{
    --scroll-nudge-home: 0px;
    --scroll-nudge-about: 0px;
    --scroll-nudge-products: 0px;
    --scroll-nudge-recovery: 0px;
    --scroll-nudge-contact: 0px;
  }

  .hero .container{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; max-width: 420px; margin: 0 auto 20px; }
  .about-grid{ grid-template-columns: 1fr; }
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
  .values-grid{ grid-template-columns: repeat(2, 1fr); }
  .process-row{ grid-template-columns: repeat(5, 1fr); }
  .assessment-panel{ grid-template-columns: 1fr; }
  .contact-wrap{ grid-template-columns: 1fr; }

  /* the forced single-line heading/paragraph is a desktop-only treatment */
  .recovery .section-head{ max-width: 640px; }
  .recovery .section-head h2, .recovery .section-head p{
    white-space: normal;
  }
}

@media (max-width: 760px){
  .nav-links, .nav-cta .btn-outline{ display: none; }
  .nav-toggle{ display: flex; }
  section{ padding: 70px 0; }
  .process-row{ grid-template-columns: repeat(2, 1fr); }
  .product-grid{ grid-template-columns: 1fr; }
  .values-grid{ grid-template-columns: 1fr 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .hero-stats{ gap: 26px; }

  .modal-close{ top: 8px; right: 8px; width: 34px; height: 34px; font-size: 20px; }

  .nav-links.open{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    gap: 18px;
    box-shadow: var(--shadow);
  }
  .nav-cta.open{
    display: flex;
    position: absolute;
    top: calc(100% + 210px);
    left: 24px; right: 24px;
  }
}
