/* ═════════════════════════════════════════════════════════════════════════
   PEDLOOM — landing page (redesigned)
   Warm, parent-friendly, premium baby clothing brand.
   ═════════════════════════════════════════════════════════════════════════ */

:root {
  --paper:    #F4F2EC;
  --paper-2:  #ECE9E1;
  --ink:      #0E1116;
  --ink-2:    #2A2F38;
  --ink-3:    #5C616A;
  --clinical: #E8ECEF;
  --signal:   #FF5B2E;
  --warm:     #F2DDD1;
  --warm-2:   #E8C5B5;
  --line:     rgba(14, 17, 22, 0.12);
  --line-2:   rgba(14, 17, 22, 0.24);
  --line-3:   rgba(14, 17, 22, 0.70);

  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  --font-body:    'Inter Tight', -apple-system, system-ui, sans-serif;

  --pad-x:    clamp(1.25rem, 4vw, 4rem);
  --pad-y:    clamp(5rem, 10vw, 9rem);
  --max:      1280px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; }
em { font-style: italic; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* faint paper texture */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.05 0 0 0 0 0.05 0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  z-index: 1;
}
main, header, footer, nav { position: relative; z-index: 2; }


/* ─── shared type ────────────────────────────────────────────────────── */
.section-head {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 2rem;
  max-width: 20ch;
  font-variation-settings: "opsz" 48;
}


/* ═════════════════════════════════════════════════════════════════════════
   TOPBAR
   ═════════════════════════════════════════════════════════════════════════ */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem var(--pad-x);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(244, 242, 236, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
}
.logo__mark { width: 32px; height: 32px; flex-shrink: 0; }
.logo__word {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  font-variation-settings: "opsz" 24;
}
.logo__ped { color: var(--signal); font-weight: 500; }
.logo__loom { color: var(--ink); font-weight: 300; }

.topbar__nav {
  display: flex;
  gap: 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-2);
}
.topbar__nav a {
  position: relative;
  transition: color 0.3s var(--ease);
}
.topbar__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1.5px; background: var(--signal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.topbar__nav a:hover { color: var(--ink); }
.topbar__nav a:hover::after { transform: scaleX(1); }

.topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--signal);
  color: white;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.3s var(--ease);
}
.topbar__cta:hover {
  background: var(--ink);
}
.topbar__cta-arrow { transition: transform 0.3s var(--ease); }
.topbar__cta:hover .topbar__cta-arrow { transform: translateX(3px); }

/* hamburger */
.topbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.topbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: all 0.3s var(--ease);
}
.topbar__hamburger.is-open span:first-child {
  transform: rotate(45deg) translate(2.5px, 2.5px);
}
.topbar__hamburger.is-open span:last-child {
  transform: rotate(-45deg) translate(2.5px, -2.5px);
}

/* mobile nav */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  transition: color 0.3s var(--ease);
}
.mobile-nav a:hover { color: var(--signal); }
.mobile-nav__cta {
  margin-top: 1rem;
  padding: 0.8rem 2rem;
  background: var(--signal);
  color: white;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 880px) {
  .topbar__nav { display: none; }
  .topbar__hamburger { display: flex; }
}
@media (max-width: 480px) {
  .topbar__cta span:first-child { display: none; }
  .topbar__cta { padding: 0.6rem; border-radius: 6px; }
}


/* ═════════════════════════════════════════════════════════════════════════
   HERO
   ═════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x) clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 2rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.dot {
  width: 6px; height: 6px;
  background: var(--signal);
  border-radius: 50%;
}
.hero__headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 1.75rem;
  font-variation-settings: "opsz" 72;
}
.hero__headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--signal);
}
.reveal-line {
  display: block;
  overflow: hidden;
}
.reveal-line > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: rise 1.1s var(--ease) forwards;
}
.reveal-line:nth-child(1) > span { animation-delay: 0.05s; }
.reveal-line:nth-child(2) > span { animation-delay: 0.18s; }
.reveal-line:nth-child(3) > span { animation-delay: 0.31s; }
@keyframes rise {
  to { transform: translateY(0); opacity: 1; }
}
.hero__lede {
  max-width: 42ch;
  margin: 0 0 2rem;
  font-size: 1.0625rem;
  color: var(--ink-2);
  line-height: 1.65;
  opacity: 0;
  animation: fade 1s var(--ease) 0.55s forwards;
}
@keyframes fade { to { opacity: 1; } }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fade 1s var(--ease) 0.7s forwards;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 6px;
  border: 1.5px solid var(--ink);
  transition: all 0.3s var(--ease);
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn--primary:hover {
  background: var(--signal);
  border-color: var(--signal);
}
.btn--ghost { background: transparent; }
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn span:last-child { transition: transform 0.3s var(--ease); }
.btn:hover span:last-child { transform: translateX(3px); }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  animation: fade 1s var(--ease) 0.85s forwards;
}
.hero__stats > div {
  background: var(--paper);
  padding: 1rem 0.85rem 0.9rem;
}
.hero__stats dt {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin-bottom: 0.4rem;
}
.hero__stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 36;
}
.hero__stats dd span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--ink-3);
  font-weight: 400;
  margin-left: 1px;
}

/* hero image */
.hero__figure { margin: 0; }
.hero__image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, var(--warm) 0%, var(--paper-2) 100%);
}
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: imgIn 1.4s var(--ease) 0.3s forwards;
}
@keyframes imgIn {
  to { opacity: 1; }
}

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { order: -1; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__placeholder { aspect-ratio: 16 / 10; }
}
@media (max-width: 480px) {
  .hero__headline { font-weight: 300; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}


/* ═════════════════════════════════════════════════════════════════════════
   PRODUCTS
   ═════════════════════════════════════════════════════════════════════════ */
.products {
  padding: var(--pad-y) var(--pad-x);
  border-bottom: 1px solid var(--line);
  background: white;
}
.products__header {
  max-width: var(--max);
  margin: 0 auto 3rem;
}
.products__intro {
  max-width: 50ch;
  color: var(--ink-2);
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
}
.products__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.product-card:hover {
  box-shadow: 0 8px 32px rgba(14, 17, 22, 0.08);
  transform: translateY(-4px);
}
.product-card__image {
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--warm) 0%, #f5ede7 100%);
  overflow: hidden;
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-card__image img {
  transform: scale(1.05);
}
.product-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
}
.product-card__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--signal);
  background: rgba(255, 91, 46, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}
.product-card__body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.product-card__body p {
  font-size: 0.9rem;
  color: var(--ink-2);
  margin: 0 0 1.25rem;
  line-height: 1.55;
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-card__price {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
}
.product-card__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: background 0.3s var(--ease);
}
.product-card__btn:hover { background: var(--signal); }

@media (max-width: 880px) {
  .products__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .products__grid { grid-template-columns: 1fr; max-width: 400px; }
}


/* ═════════════════════════════════════════════════════════════════════════
   WHY PEDLOOM (ISSUE)
   ═════════════════════════════════════════════════════════════════════════ */
.issue {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.issue .section-head {
  max-width: var(--max);
  margin: 0 auto 3rem;
  max-width: 26ch;
}
.issue__grid {
  max-width: var(--max);
  margin: 0 auto;
}
.issue__row {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.issue__row:last-child { border-bottom: 1px solid var(--line); }
.issue__row header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.issue__row header span:first-child {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--ink-3);
}
.issue__row header span:last-child {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.issue__bad, .issue__good {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.issue__bad p:not(.label) { color: var(--ink-3); }
.issue__good strong { color: var(--ink); font-weight: 500; }
.issue__good {
  position: relative;
  padding-left: 1.25rem;
  background: rgba(242, 221, 209, 0.3);
  border-radius: 8px;
  padding: 1.25rem;
  margin: -0.5rem 0;
}
.issue__good::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--signal);
  border-radius: 3px 0 0 3px;
}
.label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

@media (max-width: 880px) {
  .issue__row { grid-template-columns: 1fr; gap: 1rem; }
}


/* ═════════════════════════════════════════════════════════════════════════
   SPECIFICATION
   ═════════════════════════════════════════════════════════════════════════ */
.spec {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
  background: var(--clinical);
  border-bottom: 1px solid var(--line);
}
.spec__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--signal);
  margin: 0 0 1rem;
}
.spec__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.spec__intro p {
  max-width: 38ch;
  color: var(--ink-2);
  margin: 0 0 1.5rem;
  line-height: 1.65;
}
.link-arrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--signal);
  display: inline-flex;
  gap: 0.4rem;
  transition: gap 0.3s var(--ease);
}
.link-arrow:hover { gap: 0.7rem; }

.spec__table-wrap {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
}
.spec__table {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.01em;
}
.spec__table tr {
  border-top: 1px solid var(--line);
}
.spec__table tr:first-child { border-top: none; }
.spec__table th, .spec__table td {
  text-align: left;
  padding: 0.85rem 1rem;
  vertical-align: top;
  font-weight: 400;
}
.spec__table th {
  width: 28%;
  color: var(--ink-3);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.spec__table td:nth-child(2) { color: var(--ink); width: 48%; font-family: var(--font-body); font-size: 0.875rem; }
.spec__table td:nth-child(3) {
  text-align: right;
  color: var(--ink-3);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .spec__grid { grid-template-columns: 1fr; }
}


/* ═════════════════════════════════════════════════════════════════════════
   CERTIFICATION
   ═════════════════════════════════════════════════════════════════════════ */
.cert {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.cert__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-align: center;
  margin: 0 0 2.5rem;
}
.cert__row {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.cert__item {
  padding: 2rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  transition: all 0.4s var(--ease);
}
.cert__item:hover {
  background: var(--warm);
  border-color: var(--warm-2);
}
.cert__seal {
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--ink-3);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 0.75rem;
  text-align: center;
  line-height: 1.1;
  font-weight: 500;
}
.cert__seal span {
  font-size: 7px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-top: 1px;
}
.cert__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0;
}
.cert__sub {
  font-size: 0.8rem;
  color: var(--ink-2);
  margin: 0;
}

@media (max-width: 880px) {
  .cert__row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .cert__row { grid-template-columns: repeat(2, 1fr); }
}


/* ═════════════════════════════════════════════════════════════════════════
   TEST PROCESS
   ═════════════════════════════════════════════════════════════════════════ */
.test {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.test__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--signal);
  margin: 0 0 1rem;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.test .section-head {
  max-width: var(--max);
  margin: 0 auto 3.5rem;
}
.test__steps {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: steps;
}
.test__steps li {
  background: var(--paper);
  border-radius: 10px;
  padding: 1.75rem 1.5rem 2rem;
  border: 1px solid var(--line);
  transition: box-shadow 0.4s var(--ease);
}
.test__steps li:hover {
  box-shadow: 0 4px 16px rgba(14, 17, 22, 0.06);
}
.test__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 200;
  color: var(--warm-2);
  margin: 0 0 1rem;
}
.test__steps h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  margin: 0 0 0.65rem;
  letter-spacing: -0.01em;
}
.test__steps p {
  font-size: 0.9rem;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 880px) {
  .test__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .test__steps { grid-template-columns: 1fr; }
}


/* ═════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═════════════════════════════════════════════════════════════════════════ */
.testimonials {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--warm) 0%, var(--paper) 100%);
}
.testimonials .section-head {
  text-align: center;
  max-width: var(--max);
  margin: 0 auto 3.5rem;
}
.testimonials__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.testimonial {
  margin: 0;
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.testimonial p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0 0 1.25rem;
  font-variation-settings: "opsz" 24;
}
.testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.testimonial footer strong {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
}
.testimonial footer span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--ink-3);
}

/* doctor card */
.testimonial--doctor {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: white;
  border-color: var(--warm-2);
  padding: 2.5rem;
}
.testimonial__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--warm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  flex-shrink: 0;
}
.testimonial__avatar span:last-child { color: var(--signal); }

@media (max-width: 880px) {
  .testimonials__grid { grid-template-columns: 1fr; max-width: 600px; }
}


/* ═════════════════════════════════════════════════════════════════════════
   FAQ
   ═════════════════════════════════════════════════════════════════════════ */
.faq {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.faq .section-head {
  max-width: var(--max);
  margin: 0 auto 3rem;
}
.faq__list {
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--signal); }
.faq__plus {
  position: relative;
  width: 14px; height: 14px;
  flex-shrink: 0;
}
.faq__plus::before, .faq__plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}
.faq__plus::before { left: 0; right: 0; top: 6.5px; height: 1px; }
.faq__plus::after  { top: 0; bottom: 0; left: 6.5px; width: 1px; }
details[open] .faq__plus::after { transform: rotate(90deg); }
.faq details p {
  margin: 0 0 1.5rem 0;
  max-width: 60ch;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.65;
  animation: fadeUp 0.5s var(--ease);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ═════════════════════════════════════════════════════════════════════════
   ORDER / CTA
   ═════════════════════════════════════════════════════════════════════════ */
.order {
  background: var(--ink);
  color: var(--paper);
  padding: var(--pad-y) var(--pad-x);
}
.order__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.order__eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
  margin: 0 0 1.25rem;
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 91, 46, 0.4);
  border-radius: 20px;
}
.order h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  font-variation-settings: "opsz" 48;
}
.order__text {
  max-width: 44ch;
  margin: 0 auto 1.5rem;
  color: rgba(244, 242, 236, 0.65);
  line-height: 1.6;
}
.order__trust {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 0 2.5rem;
  font-size: 0.8125rem;
  color: rgba(244, 242, 236, 0.5);
}
.order__trust li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.order__trust li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
  opacity: 0.7;
}
.order__form {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto;
  border: 1px solid rgba(244, 242, 236, 0.25);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.order__form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 1rem 1.15rem;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}
.order__form input::placeholder { color: rgba(244, 242, 236, 0.35); }
.order__form input:focus { outline: none; }
.order__form button {
  background: var(--signal);
  color: white;
  border: none;
  padding: 0 1.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.3s var(--ease);
  white-space: nowrap;
}
.order__form button:hover { background: var(--paper); color: var(--ink); }
.order__msg {
  position: absolute;
  left: 0; right: 0; bottom: -2.25rem;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--signal);
}

@media (max-width: 600px) {
  .order__trust { flex-direction: column; align-items: center; gap: 0.5rem; }
  .order__form {
    flex-direction: column;
    border: none;
    gap: 0.6rem;
    border-radius: 0;
  }
  .order__form input {
    border: 1px solid rgba(244, 242, 236, 0.25);
    border-radius: 8px;
    padding: 0.9rem 1rem;
    min-height: 48px;
  }
  .order__form button {
    border-radius: 8px;
    padding: 0.9rem 1rem;
    min-height: 48px;
    justify-content: center;
  }
  .order__msg { position: static; margin-top: 0.75rem; text-align: center; }
}


/* ═════════════════════════════════════════════════════════════════════════
   FOOTER
   ═════════════════════════════════════════════════════════════════════════ */
.foot {
  background: var(--paper);
  padding: var(--pad-y) var(--pad-x) 1.5rem;
}
.foot__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.logo--foot { align-items: flex-start; }
.foot__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.foot__head {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 1rem;
}
.foot__cols a {
  display: block;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.5;
  transition: color 0.3s var(--ease);
}
.foot__cols a:hover { color: var(--signal); }

.foot__strip {
  max-width: var(--max);
  margin: 1.25rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--ink-3);
}

@media (max-width: 880px) {
  .foot__top { grid-template-columns: 1fr; padding-bottom: 2rem; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .foot__cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .foot__strip { flex-direction: column; gap: 0.4rem; }
}


/* ═════════════════════════════════════════════════════════════════════════
   REVEAL ON SCROLL
   ═════════════════════════════════════════════════════════════════════════ */
.section-head,
.issue__row,
.spec__intro,
.spec__table-wrap,
.cert__item,
.test__steps li,
.testimonial,
.faq details,
.product-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.is-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* stagger */
.test__steps li:nth-child(2) { transition-delay: 0.08s; }
.test__steps li:nth-child(3) { transition-delay: 0.16s; }
.test__steps li:nth-child(4) { transition-delay: 0.24s; }
.cert__item:nth-child(2) { transition-delay: 0.06s; }
.cert__item:nth-child(3) { transition-delay: 0.12s; }
.cert__item:nth-child(4) { transition-delay: 0.18s; }
.cert__item:nth-child(5) { transition-delay: 0.24s; }
.faq details:nth-child(2) { transition-delay: 0.05s; }
.faq details:nth-child(3) { transition-delay: 0.10s; }
.faq details:nth-child(4) { transition-delay: 0.15s; }
.faq details:nth-child(5) { transition-delay: 0.20s; }
.product-card:nth-child(2) { transition-delay: 0.08s; }
.product-card:nth-child(3) { transition-delay: 0.16s; }


/* ═════════════════════════════════════════════════════════════════════════
   RESPONSIVE FINE-TUNING
   ═════════════════════════════════════════════════════════════════════════ */
@media (max-width: 880px) {
  :root {
    --pad-y: clamp(3.5rem, 9vw, 5.5rem);
    --pad-x: clamp(1.15rem, 5vw, 2rem);
  }
  body { font-size: 16px; }
  .section-head {
    font-size: clamp(1.75rem, 7vw, 2.8rem);
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 480px) {
  :root {
    --pad-y: 3rem;
    --pad-x: 1.15rem;
  }
  .section-head { font-size: clamp(1.6rem, 8vw, 2.2rem); }
}

/* ── touch targets ──────────────────────────────────────────────────── */
@media (hover: none) and (pointer: coarse) {
  .topbar__nav a,
  .foot__cols a,
  .faq summary,
  .btn,
  .topbar__cta,
  .order__form button,
  .product-card__btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ── reduced motion ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .reveal-line > span { transform: none; opacity: 1; }
}
