/* ---------- Base / mobile-only ---------- */
:root {
  --brand: #b0305a;
  --brand-dark: #8a2246;
  --accent: #e8536f;
  --accent-deep: #c93a56;
  --ink: #241a1f;
  --muted: #7a6b70;
  --bg: #ffffff;
  --bg-soft: #fdf5f6;
  --line: #f1dde1;
  --success: #1a9e5c;
  --danger: #d3312f;
  --radius: 16px;
  --max: 480px;
  --font-display: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-soft);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

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

.page {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--bg);
  min-height: 100vh;
  position: relative;
  padding-bottom: 84px;
}

/* ---------- Top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 20;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.topbar .badge {
  font-size: 0.72rem;
  color: var(--success);
  background: #e8f8ef;
  border-radius: 999px;
  padding: 5px 10px;
  font-weight: 700;
}

/* ---------- Gallery ---------- */
.gallery { position: relative; background: #14161c; }
.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  scroll-snap-align: center;
  cursor: zoom-in;
}
.gallery-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.gallery-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.2s, background 0.2s;
}
.gallery-dots .dot.active { width: 18px; background: #fff; }
.gallery-zoom-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  pointer-events: none;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: 10px; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- Hero copy ---------- */
.hero-copy { padding: 18px 18px 6px; }
.eyebrow {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 0 0 10px;
  font-weight: 700;
}
.subhead { color: var(--muted); font-size: 0.96rem; line-height: 1.5; margin: 0 0 16px; }

.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.price-now { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--ink); }
.price-was { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; }
.price-save {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 3px 9px;
  border-radius: 999px;
}

.cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.08rem;
  border: none;
  border-radius: var(--radius);
  padding: 16px 18px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(232, 83, 111, 0.3);
}
.cta-btn:active { transform: translateY(1px); }
.cta-sub { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 8px; }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.trust-item { text-align: center; font-size: 0.72rem; color: var(--ink); font-weight: 700; }
.trust-item .ico { font-size: 1.3rem; display: block; margin-bottom: 4px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- How It Works steps ---------- */
.steps { display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { font-size: 0.98rem; margin: 4px 0 4px; font-weight: 700; }
.step p { font-size: 0.85rem; color: var(--muted); margin: 0; line-height: 1.4; }

/* ---------- Benefit rows ---------- */
.benefit { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.benefit:last-child { border-bottom: none; }
.benefit img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.benefit h3 { font-size: 0.98rem; margin: 0 0 4px; font-weight: 700; }
.benefit p { font-size: 0.85rem; color: var(--muted); margin: 0; line-height: 1.4; }

/* ---------- Color/light modes grid ---------- */
.mode-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mode-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--bg-soft); }
.mode-card .dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; margin-right: 6px; vertical-align: middle; }
.mode-card h4 { display: inline; font-size: 0.86rem; font-weight: 700; }
.mode-card p { font-size: 0.78rem; color: var(--muted); margin: 6px 0 0; line-height: 1.4; }
.mode-card.highlight {
  border-color: var(--brand);
  background: #fdeef1;
  box-shadow: 0 0 0 1px var(--brand);
  animation: pulseHighlight 1.1s ease 2;
}
@keyframes pulseHighlight {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* ---------- Concern picker ---------- */
.concern-picker { margin-bottom: 16px; }
.concern-result {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fdeef1;
  border: 1px solid #f6c9d4;
  font-size: 0.88rem;
  color: var(--ink);
}
.concern-result strong { font-family: var(--font-display); color: var(--brand-dark); font-size: 1rem; }

/* ---------- Order form ---------- */
.order-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; box-shadow: 0 4px 24px rgba(20, 20, 40, 0.06); }
.order-card h2 { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 4px; font-weight: 700; }
.order-card .order-lead { color: var(--muted); font-size: 0.86rem; margin: 0 0 18px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.field input[type="text"], .field input[type="tel"], .field select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
  background: var(--bg-soft);
  color: var(--ink);
  font-family: inherit;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); background: #fff; }
.field input.invalid { border-color: var(--danger); background: #fdeceb; }
.field-error { display: none; color: var(--danger); font-size: 0.76rem; margin: 6px 0 0; font-weight: 600; }
.field-error:not(:empty) { display: block; }

/* ---------- Package cards ---------- */
.package-grid { display: flex; flex-direction: column; gap: 10px; }
.package-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 14px;
  cursor: pointer;
  background: var(--bg-soft);
}
.package-card input { position: absolute; opacity: 0; pointer-events: none; }
.package-card:has(input:checked) { border-color: var(--brand); background: #fdeef1; box-shadow: 0 0 0 1px var(--brand); }
.package-card.popular { margin-top: 10px; }
.popular-badge {
  position: absolute;
  top: -11px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.popular-badge.save-badge { background: var(--success); }
.package-info { display: flex; flex-direction: column; gap: 2px; }
.package-qty { font-weight: 700; font-size: 0.95rem; }
.package-unit-price { font-size: 0.78rem; color: var(--muted); }
.package-total { font-weight: 700; font-size: 1.05rem; white-space: nowrap; }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  margin: 10px 0 16px;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  font-weight: 700;
}
.order-total-row .label { color: var(--muted); font-weight: 600; font-size: 0.88rem; }
.order-total-row .value { font-family: var(--font-display); font-size: 1.25rem; }

.form-note { font-size: 0.76rem; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.4; }

.form-status { display: none; border-radius: 10px; padding: 12px 14px; font-size: 0.88rem; font-weight: 600; margin-bottom: 14px; }
.form-status.show { display: block; }
.form-status.ok { background: #e8f8ef; color: var(--success); }
.form-status.err { background: #fdeceb; color: var(--danger); }

/* ---------- Thank you panel ---------- */
.thank-you { text-align: center; padding: 8px 0 4px; }
.thank-you-icon {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--success); color: #fff; font-size: 1.6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.thank-you h2 { font-family: var(--font-display); margin-bottom: 6px; }
.ty-summary { text-align: left; background: var(--bg-soft); border-radius: 12px; padding: 4px 14px; margin: 16px 0; }
.ty-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.ty-row:last-child { border-bottom: none; }
.ty-row span:first-child { color: var(--muted); }
.ty-row span:last-child { font-weight: 700; }
.ty-total span:last-child { font-size: 1.1rem; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
  position: fixed;
  right: max(16px, calc(50% - var(--max) / 2 + 16px));
  bottom: 92px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  z-index: 25;
  text-decoration: none;
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  padding: 14px 0; font-weight: 700; font-size: 0.92rem; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0 0 14px; color: var(--muted); font-size: 0.86rem; line-height: 1.5; }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 100%; max-width: var(--max);
  background: var(--bg); border-top: 1px solid var(--line);
  padding: 10px 18px; padding-bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 30; display: flex; gap: 10px; align-items: center;
}
.sticky-cta .price { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.sticky-cta .cta-btn { padding: 13px 16px; font-size: 0.95rem; }

/* ---------- Footer ---------- */
footer { padding: 24px 18px 40px; text-align: center; color: var(--muted); font-size: 0.76rem; line-height: 1.6; }
footer a { color: var(--muted); text-decoration: underline; }

@media (min-width: 540px) {
  body { background: #f2e3e6; }
  .page { margin: 24px auto; border-radius: 22px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.18); min-height: auto; }
  .sticky-cta { border-radius: 0 0 22px 22px; }
}
