/* ==========================================================================
   WonderHauz — Clinical Luxury Design System
   ========================================================================== */

:root {
  --black: #0A0A0A;
  --black-soft: #141414;
  --white: #FFFFFF;
  --off-white: #FAFAF8;
  --ink: #1A1A1A;
  --ink-soft: #4A4A4A;
  --chrome-light: #E5E5E5;
  --chrome: #C0C0C0;
  --chrome-dark: #9A9A9A;
  --teal: #3D8B85;
  --teal-dark: #2F6E69;
  --teal-tint: #E9F2F1;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1180px;
  --radius: 10px;
  --radius-sm: 6px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--teal);
}

.dark .eyebrow {
  color: var(--chrome);
}
.dark .eyebrow::before {
  background: var(--chrome);
}

h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h1 { font-weight: 800; }

p { margin: 0 0 16px; color: var(--ink-soft); }

.section {
  padding: 88px 0;
}

.section--dark {
  background: var(--black);
  color: var(--white);
}

.section--dark p { color: rgba(255,255,255,0.72); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
}

/* Chrome divider */
.chrome-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--chrome) 20%, var(--chrome-light) 50%, var(--chrome) 80%, transparent);
  border: none;
  margin: 0;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(61, 139, 133, 0.28);
}
.btn--primary:hover { background: var(--teal-dark); }

.btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.btn--outline:hover { border-color: var(--chrome); background: rgba(255,255,255,0.06); }

.btn--block { width: 100%; }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(192,192,192,0.16);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.brand span {
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--chrome-light); }

.header-cta { display: none; }

@media (min-width: 860px) {
  .header-cta { display: inline-flex; }
}

.nav-links { display: none; }
@media (min-width: 860px) {
  .nav-links { display: flex; }
}

/* ---------------- Hero ---------------- */
.hero {
  background: radial-gradient(ellipse at top right, #151515 0%, var(--black) 55%);
  color: var(--white);
  padding: 168px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(192,192,192,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192,192,192,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at top right, black, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  gap: 56px;
  align-items: center;
}

@media (min-width: 940px) {
  .hero .container {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero-copy h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 20px;
}

.hero-copy .lead {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 28px;
}

.hero-stats .stat-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--chrome-light);
}
.hero-stats .stat-label {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}

.badge-float {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(192,192,192,0.25);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--chrome-light);
  z-index: 3;
}

.badge-float svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--teal); }

/* ---------------- Discount badge ---------------- */
.discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 100px;
  background: rgba(61,139,133,0.14);
  border: 1px solid rgba(61,139,133,0.45);
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.discount-badge svg { width: 16px; height: 16px; flex-shrink: 0; }

.section--white .discount-badge,
.package-card .discount-badge {
  background: var(--teal-tint);
  color: var(--teal-dark);
  border-color: rgba(61,139,133,0.3);
}

/* ---------------- Product photography (AI-rendered vial shots) ---------------- */
.hero-visual {
  position: relative;
}

.hero-visual__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.hero-visual .badge-float {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  margin-top: 14px;
}

.product-shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(192,192,192,0.22);
  background: var(--black-soft);
  aspect-ratio: 1024 / 559;
}

.product-shot__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.package-media .product-shot--main {
  position: absolute;
  inset: 0;
  border-radius: 0;
  border: none;
}

.package-media .product-shot--main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 55%);
  pointer-events: none;
}

.product-shot--companion {
  position: absolute;
  z-index: 2;
  width: 27%;
  right: 6%;
  bottom: 8%;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.45);
}

.product-shot__caption {
  position: absolute;
  left: 20px;
  right: 36%;
  bottom: 20px;
  z-index: 3;
}

.product-shot__eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--chrome);
  margin-bottom: 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.product-shot__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* ---------------- Brand story ---------------- */
.story {
  background: var(--off-white);
}

.story-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
  }
}

.story-copy h2 { font-size: clamp(26px, 3.6vw, 36px); }

.story-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.metric-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}

.metric-card .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
}
.metric-card .num span { color: var(--teal); }

.metric-card .label {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.story-panel {
  background: var(--black);
  border-radius: 18px;
  padding: 36px;
  color: var(--white);
  border: 1px solid rgba(192,192,192,0.18);
}

.story-panel ul { list-style: none; margin: 0; padding: 0; }
.story-panel li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14.5px;
  color: rgba(255,255,255,0.82);
}
.story-panel li:last-child { border-bottom: none; }
.story-panel li svg {
  width: 20px; height: 20px; flex-shrink: 0; color: var(--chrome);
  margin-top: 1px;
}

/* ---------------- Trust badges ---------------- */
.trust {
  background: var(--off-white);
}

.trust-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

.trust-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}

.trust-card .icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--black);
  color: var(--chrome);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.trust-card .icon-wrap svg { width: 24px; height: 24px; }

.trust-card h3 { font-size: 17px; margin-bottom: 8px; }
.trust-card p { font-size: 14px; margin: 0; }

/* ---------------- Products (2 separate packages) ---------------- */
.products {
  background: var(--black);
  color: var(--white);
}

.package-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .package-grid { grid-template-columns: repeat(2, 1fr); }
}

.package-card {
  background: var(--black-soft);
  border: 1px solid rgba(192,192,192,0.18);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.package-card:hover {
  border-color: rgba(192,192,192,0.42);
  transform: translateY(-3px);
}

.package-media {
  position: relative;
  aspect-ratio: 1024 / 559;
  border-radius: 0;
  border: none;
}

.package-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  background: rgba(10,10,10,0.75);
  border: 1px solid rgba(192,192,192,0.3);
  color: var(--chrome-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 100px;
}

.package-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.package-body h3 { font-size: 22px; margin-bottom: 6px; }
.package-body .sub { font-size: 13px; color: var(--chrome); margin-bottom: 14px; }
.package-body > p { font-size: 14.5px; color: rgba(255,255,255,0.65); }

.package-list-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--chrome);
  margin-top: 8px;
  margin-bottom: 10px;
}

.package-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.package-list li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.package-list li:last-child { border-bottom: none; }
.package-list li svg {
  width: 17px; height: 17px; color: var(--teal); flex-shrink: 0; margin-top: 2px;
}

.package-body .price-hidden {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  margin-bottom: 16px;
}

/* ---------------- Testimonials ---------------- */
.testi {
  background: var(--off-white);
}

.testi-track-wrap {
  position: relative;
  overflow: hidden;
}

.testi-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 24px;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }

.testi-card {
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .testi-card { width: 340px; }
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  color: #D9A441;
}
.stars svg { width: 16px; height: 16px; }

.testi-card p.quote {
  font-size: 14.5px;
  color: var(--ink);
  flex: 1;
  margin-bottom: 16px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.testi-author .name { font-weight: 600; font-size: 14px; color: var(--ink); }
.testi-author .tag { font-size: 12px; color: var(--ink-soft); }

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
}

.testi-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.testi-arrow:hover { background: var(--teal-tint); border-color: var(--teal); }
.testi-arrow svg { width: 18px; height: 18px; }

.testi-dots {
  display: flex;
  gap: 7px;
}
.testi-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.testi-dot.active { background: var(--teal); transform: scale(1.3); }

/* ---------------- FAQ ---------------- */
.faq {
  background: var(--white);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.09);
}
.faq-item:first-child { border-top: 1px solid rgba(0,0,0,0.09); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: inherit;
}

.faq-q .plus {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: '';
  position: absolute;
  background: var(--ink);
}
.faq-q .plus::before { width: 10px; height: 1.4px; }
.faq-q .plus::after { width: 1.4px; height: 10px; transition: opacity 0.2s ease; }

.faq-item.open .faq-q .plus { background: var(--teal); border-color: var(--teal); }
.faq-item.open .faq-q .plus::before,
.faq-item.open .faq-q .plus::after { background: var(--white); }
.faq-item.open .faq-q .plus::after { opacity: 0; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.faq-a-inner {
  padding: 0 4px 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 680px;
}

/* ---------------- Final CTA ---------------- */
.final-cta {
  background: var(--black);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(61,139,133,0.18), transparent 60%);
}

.final-cta .container { position: relative; }

.final-cta h2 {
  font-size: clamp(28px, 4.5vw, 42px);
  max-width: 620px;
  margin: 0 auto 16px;
}

.final-cta p {
  max-width: 520px;
  margin: 0 auto 32px;
  color: rgba(255,255,255,0.68);
}

.final-cta .btn { margin-bottom: 12px; }

.final-cta .fine {
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: #060606;
  color: rgba(255,255,255,0.55);
  padding: 56px 0 32px;
  font-size: 13px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand img { width: 32px; height: 32px; border-radius: 50%; }
.footer-brand span { color: var(--white); font-weight: 700; font-size: 15px; }

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-links a { color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: var(--chrome-light); }

.disclaimer-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(192,192,192,0.15);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.disclaimer-box .flag {
  display: inline-block;
  background: #3a2a12;
  color: #E8B457;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 12px;
}

/* ---------------- Sticky mobile CTA ---------------- */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(192,192,192,0.18);
}
@media (min-width: 860px) {
  .mobile-sticky-cta { display: none; }
}
body { padding-bottom: 78px; }
@media (min-width: 860px) {
  body { padding-bottom: 0; }
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
