/* PureMama Freeze-Drying - site styles (mobile first) */

:root {
  --blush: #F7CAC9;
  --blush-deep: #e8a9a7;
  --rose: #b4706d;
  --cream: #fef6f4;
  --ink: #3a2e2c;
  --muted: #7a6b68;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(90, 50, 45, 0.10);
  --header-h: 64px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 7vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 5.5vw, 2.4rem); }

p { margin: 0 0 16px; }

a { color: var(--rose); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px;
  border-radius: 999px; border: 2px solid var(--blush-deep);
  font-family: var(--sans); font-weight: 700; font-size: 16px;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--rose); border-color: var(--rose); color: var(--white); box-shadow: 0 8px 20px rgba(180, 112, 109, .3); }
.btn-primary:hover { background: #9e5d5a; color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); }
.btn-ghost:hover { background: var(--blush); color: var(--ink); }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 4px solid var(--blush);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink); }
.brand-sub { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  display: flex; flex-direction: column; padding: 8px 20px 20px;
  background: var(--white); box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
.site-nav a {
  padding: 14px 4px; color: var(--ink); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid #f3e6e4;
}
.site-nav a.nav-cta {
  margin-top: 14px; border: 0; border-radius: 999px; text-align: center;
  background: var(--rose); color: var(--white);
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; flex-direction: row; align-items: center; gap: 4px; padding: 0;
    background: transparent; box-shadow: none; visibility: visible; opacity: 1; transform: none;
  }
  .site-nav a { padding: 8px 14px; border: 0; border-radius: 999px; font-size: 15px; }
  .site-nav a:hover { background: var(--cream); }
  .site-nav a.nav-cta { margin: 0 0 0 8px; padding: 10px 20px; }
  .site-nav a.nav-cta:hover { background: #9e5d5a; }
}

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

.hero {
  background: var(--cream);
  padding: 28px 0 48px;
  text-align: center;
}
.hero-logo { width: min(420px, 85%); height: auto; margin: 0 auto 16px; }
.hero h1 { max-width: 720px; margin: 0 auto 14px; }
.lead { max-width: 640px; margin: 0 auto 26px; color: var(--muted); font-size: 18px; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; max-width: 360px; margin: 0 auto; }
.trust {
  list-style: none; padding: 0; margin: 28px auto 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px;
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.trust .fa { color: var(--rose); margin-right: 4px; }

@media (min-width: 600px) {
  .hero { padding: 48px 0 72px; }
  .hero-ctas { flex-direction: row; justify-content: center; max-width: none; }
}

/* ---------- Sections ---------- */

.section { padding: 56px 0; }
.section-tint { background: var(--cream); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.section-head p { color: var(--muted); }

@media (min-width: 900px) {
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 44px; }
}

/* ---------- Carousel (reels + reviews) ---------- */

.carousel { position: relative; max-width: 1240px; margin: 0 auto; }
.carousel-track {
  display: flex; gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding: 0 20px;
  padding: 4px 20px 24px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; flex: 0 0 auto; }
.carousel-track:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; }

.carousel-btn {
  display: none; position: absolute; top: 45%; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--white); color: var(--ink); font-size: 26px; line-height: 1;
  box-shadow: var(--shadow); cursor: pointer;
}
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }
.carousel-btn:hover { background: var(--blush); }
.carousel-btn[disabled] { opacity: 0; pointer-events: none; }

@media (min-width: 900px) {
  .carousel-btn { display: block; }
  .carousel-track { padding-left: 64px; padding-right: 64px; scroll-padding: 0 64px; }
}

.reel {
  position: relative; width: min(230px, 58vw); aspect-ratio: 9 / 16;
  padding: 0; border: 0; border-radius: 20px; overflow: hidden; cursor: pointer;
  background: var(--blush); box-shadow: var(--shadow);
  display: block; color: var(--white); text-decoration: none;
}
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.reel::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(40, 25, 22, .78) 0%, rgba(40, 25, 22, 0) 45%);
}
.reel:hover img { transform: scale(1.04); }
.reel:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.reel-play {
  position: absolute; top: 50%; left: 50%; z-index: 1; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .88); color: var(--rose); font-size: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2); transition: transform .2s ease;
}
.reel-play .fa { margin-left: 4px; }
.reel:hover .reel-play { transform: translate(-50%, -50%) scale(1.08); }
.reel-title {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1;
  color: var(--white); font-weight: 700; font-size: 15px; line-height: 1.3;
}

#reels .center { margin-top: 8px; }
.reels-track { scroll-snap-type: none; }

.review {
  width: min(340px, 85vw); margin: 0;
  display: flex; flex-direction: column;
  padding: 26px; border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow);
}
.review blockquote { margin: 12px 0 20px; font-size: 16px; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.review figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--white); }
.stars { color: #e2a33b; letter-spacing: 2px; }

/* ---------- Steps ---------- */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.step {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.step img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.step-body { padding: 14px; }
.step-body p { margin: 0; font-size: 15px; line-height: 1.45; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-bottom: 8px; border-radius: 50%;
  background: var(--blush); font-weight: 700; font-size: 15px;
}

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .step-body { padding: 20px; }
  .step-body p { font-size: 16px; }
}

/* ---------- Reconstitute guide ---------- */

.guide-card {
  display: block; max-width: 460px; margin: 0 auto 16px;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.guide-card:hover { transform: translateY(-3px); }
.guide-card img { width: 100%; height: auto; }
.guide .center a { font-weight: 700; text-decoration: none; }

/* ---------- Pricing ---------- */

.price-card {
  max-width: 520px; margin: 0 auto; padding: 8px 8px 20px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table th {
  padding: 14px 18px; text-align: left; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  border-bottom: 2px solid var(--blush);
}
.price-table td { padding: 14px 18px; border-bottom: 1px solid #f3e6e4; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table th:last-child, .price-table td:last-child { text-align: right; }
.price-table td:last-child { font-weight: 700; font-size: 18px; color: var(--rose); }
.price-note { margin: 12px 18px 0; text-align: center; font-size: 15px; color: var(--muted); }

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

.faq details {
  background: var(--cream); border-radius: 12px; margin-bottom: 10px;
  box-shadow: 0 4px 14px rgba(90, 50, 45, .06);
}
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--blush); font-size: 20px; line-height: 1; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

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

.about { display: grid; gap: 28px; align-items: center; }
.about-photo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); height: auto; }
.eyebrow { color: var(--rose); font-weight: 700; margin-top: -4px; }
.about-text p:last-child { color: var(--muted); }

@media (min-width: 900px) {
  .about { grid-template-columns: 1fr 1fr; gap: 56px; }
}

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

.contact { background: linear-gradient(160deg, var(--blush) 0%, var(--cream) 100%); }
.contact p { color: var(--ink); }
.contact-buttons { display: flex; flex-direction: column; gap: 12px; max-width: 360px; margin: 24px auto 16px; }
.contact-email { font-weight: 700; word-break: break-word; }

@media (min-width: 600px) {
  .contact-buttons { flex-direction: row; justify-content: center; max-width: none; }
}

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

.site-footer { background: var(--ink); color: #e9dcda; padding: 40px 0 96px; }
.site-footer p { margin: 0 0 8px; color: #e9dcda; font-size: 15px; }
.site-footer .brand-name { color: var(--white); font-size: 26px; }
.footer-inner { display: flex; flex-direction: column; gap: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .1); color: var(--white); font-size: 20px; text-decoration: none;
}
.footer-social a:hover { background: var(--rose); }
.copyright { text-align: center; margin-top: 28px !important; font-size: 13px !important; opacity: .7; }

@media (min-width: 700px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .site-footer { padding-bottom: 40px; }
}

/* ---------- Mobile sticky CTA ---------- */

.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 40; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; border-radius: 999px;
  background: var(--rose); color: var(--white); font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 30px rgba(90, 50, 45, .35);
  transform: translateY(150%); transition: transform .3s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta:hover { color: var(--white); }

@media (min-width: 700px) {
  .sticky-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
