:root {
  --plum: #241627;
  --rose: #9c2f5c;
  --rose-light: #c98aa8;
  --blush: #f4e4eb;
  --cream: #faf6f1;
  --gold: #c9a05c;
  --ink: #241a22;
  --muted: #6d5d67;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 3px rgba(36, 22, 39, 0.06);
  --shadow-md: 0 8px 24px rgba(36, 22, 39, 0.08);
  --border-c: rgba(36, 22, 39, 0.10);
  --max: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.02em; line-height: 1.12; color: var(--plum); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--rose); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 30px; border-radius: 999px; font-weight: 700;
  border: none; cursor: pointer; font-size: .95rem; letter-spacing: -.01em;
  transition: background .15s ease, transform .15s ease;
}
.btn-primary { background: var(--plum); color: var(--white); }
.btn-primary:hover { background: var(--rose); }
.btn-outline { background: var(--blush); color: var(--plum); }
.btn-outline:hover { background: var(--rose-light); color: var(--white); }
.pill { display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--blush); color: var(--rose); font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 50; background: rgba(250,246,241,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-c);
}
header.site .bar { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; }
nav.main { display: flex; gap: 32px; align-items: center; }
nav.main a { color: var(--ink); font-weight: 500; font-size: .92rem; }
nav.main a:hover { color: var(--rose); }
.header-cta { display: flex; gap: 18px; align-items: center; }
.header-cta .btn { padding: 11px 22px; font-size: .88rem; }
.header-login-link { font-weight: 600; font-size: .88rem; color: var(--ink); }
.header-login-link:hover { color: var(--rose); }
.icon-btn { background: none; border: none; cursor: pointer; font-size: 1.3rem; color: var(--plum); position: relative; }
.cart-count { position: absolute; top: -6px; right: -8px; background: var(--rose); color: white; font-size: .65rem; padding: 1px 5px; border-radius: 999px; font-weight: 700; }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 0; }
.hero-media { position: relative; min-height: 620px; display: flex; align-items: center; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(36,22,39,.58) 0%, rgba(36,22,39,.30) 45%, rgba(36,22,39,.05) 78%); }
.hero-content { position: relative; z-index: 2; color: white; max-width: 660px; padding: 110px 24px; margin: 0 auto; width: 100%; }
.hero-content .pill { background: rgba(255,255,255,.2); color: white; }
.hero-content h1 { color: white; font-size: clamp(2.4rem, 5.2vw, 4.2rem); margin: 18px 0 20px; letter-spacing: -.03em; line-height: 1.04; }
.hero-content p.lead { font-size: 1.2rem; color: rgba(255,255,255,.92); max-width: 520px; font-weight: 400; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-content .btn-outline { background: rgba(255,255,255,.94); color: var(--plum); }
.hero-content .btn-outline:hover { background: #fff; }

.trust-bar { background: var(--white); color: var(--muted); padding: 22px 0; font-size: .85rem; border-bottom: 1px solid var(--border-c); }
.trust-bar .wrap { display: flex; gap: 0; justify-content: center; flex-wrap: wrap; }
.trust-bar span { padding: 0 28px; font-weight: 600; color: var(--ink); }
.trust-bar span + span { border-left: 1px solid var(--border-c); }

/* Sections */
section { padding: 100px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head .pill { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-alt { background: var(--white); }

/* Pillars grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
  border: 1px solid var(--border-c); transition: box-shadow .18s ease, transform .18s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.card a.more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .88rem; }
a.card, a.service-card { display: block; }
.card-photo { aspect-ratio: 16/10; overflow: hidden; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; margin: -32px -32px 20px; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
a.card:hover .card-photo img { transform: scale(1.05); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--cream); border-radius: var(--radius); padding: 30px 22px; text-align: center; border: 1px solid var(--border-c); transition: box-shadow .18s ease, transform .18s ease; }
a.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-card .card-photo { aspect-ratio: 16/10; margin: -30px -22px 18px; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.service-card h3 { font-size: 1.04rem; margin-bottom: 6px; }
.service-card p { font-size: .85rem; color: var(--muted); }
.disclaimer-note { max-width: 760px; margin: 40px auto 0; text-align: center; font-size: .82rem; color: var(--muted); background: var(--blush); padding: 18px 24px; border-radius: var(--radius-sm); }

/* Life stages */
.stage-row { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.stage-card { flex: 0 0 270px; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; position: relative; height: 340px; box-shadow: var(--shadow); }
.stage-card img { width: 100%; height: 100%; object-fit: cover; }
.stage-card .overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(36,22,39,.78), rgba(36,22,39,.02) 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: white; }
.stage-card h4 { color: white; margin-bottom: 4px; }
.stage-card p { color: rgba(255,255,255,.85); font-size: .84rem; margin: 0; }

/* Shop preview / product grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border-c); display: flex; flex-direction: column; transition: box-shadow .18s ease; }
.product-card:hover { box-shadow: var(--shadow-md); }
.product-card .thumb { aspect-ratio: 1/1; background: var(--blush); display: flex; align-items: center; justify-content: center; font-size: 2.4rem; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--rose); font-weight: 700; }
.product-card h4 { font-size: 1rem; margin: 0; color: var(--plum); }
.product-card .desc { font-size: .83rem; color: var(--muted); flex: 1; }
.product-card .price-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.product-card .price { font-weight: 800; font-size: 1.05rem; color: var(--plum); }
.product-card .price.muted { color: var(--muted); font-weight: 600; font-size: .82rem; }
.product-card .add { background: var(--plum); color: white; border: none; border-radius: 999px; padding: 9px 18px; font-size: .82rem; font-weight: 700; cursor: pointer; display: inline-block; text-decoration: none; transition: background .15s ease; }
.product-card .add:hover { background: var(--rose); }
.locked-card { border-style: dashed; background: var(--cream); }
.locked-thumb { background: var(--blush); }
.locked-card h4 { color: var(--muted); }
.membership-strip { background: var(--blush); border-radius: var(--radius-sm); padding: 16px 26px; text-align: center; font-size: .87rem; color: var(--plum); max-width: 760px; margin: 0 auto 36px; line-height: 1.6; }
.membership-strip a { font-weight: 700; text-decoration: underline; color: var(--plum); }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-chip { padding: 9px 20px; border-radius: 999px; border: 1px solid var(--border-c); background: white; cursor: pointer; font-weight: 600; font-size: .85rem; color: var(--ink); transition: all .15s ease; }
.filter-chip.active, .filter-chip:hover { background: var(--plum); color: white; border-color: var(--plum); }

/* Testimonial / trust */
.quote-block { background: var(--blush); color: var(--plum); border-radius: 28px; padding: 64px 56px; text-align: center; }
.quote-block p.quote { font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -.01em; max-width: 760px; margin: 0 auto 20px; line-height: 1.4; color: var(--plum); }
.quote-block .who { color: var(--rose); font-weight: 700; }

/* Footer */
footer.site { background: var(--plum); color: rgba(255,255,255,.72); padding: 72px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 48px; }
footer.site h5 { color: white; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 11px; font-size: .9rem; }
footer.site a { color: rgba(255,255,255,.72); }
footer.site a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; font-size: .78rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.compliance-box { font-size: .78rem; line-height: 1.65; max-width: 900px; margin: 0 auto 32px; color: rgba(255,255,255,.55); text-align: center; }

/* Treatment programs */
.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.program-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border-c); padding: 32px; }
.program-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 6px; }
.program-card .sub { color: var(--muted); font-size: .88rem; margin-bottom: 20px; }
.program-list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.program-list li { background: var(--cream); border: 1px solid var(--border-c); color: var(--ink); font-size: .87rem; padding: 11px 16px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.program-list .pname { flex: 1; }
.program-list .pprice { font-weight: 800; color: var(--rose); text-align: right; white-space: nowrap; }
.program-list .pprice small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); }
.program-list .pprice.muted { color: var(--muted); font-weight: 600; font-size: .8rem; }
.program-card .btn { width: 100%; justify-content: center; }
.programs-teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Comparison table ("the honest math") */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border-c); margin-bottom: 12px; }
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .87rem; min-width: 640px; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border-c); white-space: nowrap; }
.compare-table thead th { background: var(--plum); color: #fff; font-weight: 700; font-size: .8rem; }
.compare-table tbody td:first-child { font-weight: 700; color: var(--plum); }
.compare-table tbody tr:nth-child(even) { background: var(--cream); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.badge-most { display: inline-block; font-size: .6rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-left: 6px; vertical-align: middle; white-space: nowrap; }
.badge-most.affordable { background: var(--gold); color: #fff; }
.badge-most.chosen { background: var(--rose); color: #fff; }
.badge-brand { display: inline-block; font-size: .6rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-left: 6px; background: #8a7c88; color: #fff; vertical-align: middle; }
.savings-note { display: inline-block; background: var(--blush); color: var(--rose); font-weight: 700; font-size: .78rem; padding: 8px 16px; border-radius: 999px; margin: 6px 0 18px; }
.programs-teaser .card { text-align: center; }

/* Chatbot widget */
#urania-chat-launcher {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 62px; height: 62px; border-radius: 50%; background: var(--plum); color: white;
  border: none; box-shadow: var(--shadow-md); cursor: pointer; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
}
#urania-chat-panel {
  position: fixed; bottom: 100px; right: 24px; z-index: 999; width: 360px; max-width: 90vw; height: 480px;
  background: white; border-radius: 22px; box-shadow: 0 20px 50px rgba(36,22,39,.20); display: none; flex-direction: column; overflow: hidden;
  border: 1px solid var(--border-c);
}
#urania-chat-panel.open { display: flex; }
.chat-header { background: var(--plum); color: white; padding: 16px 18px; display: flex; align-items: center; gap: 10px; }
.chat-header .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--rose); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.chat-header .who { flex: 1; }
.chat-header .who strong { display: block; font-size: .92rem; }
.chat-header .who span { font-size: .74rem; color: rgba(255,255,255,.7); }
.chat-header button { background: none; border: none; color: white; font-size: 1.1rem; cursor: pointer; }
.chat-body { flex: 1; padding: 16px; overflow-y: auto; font-size: .88rem; background: var(--cream); }
.chat-msg { margin-bottom: 12px; max-width: 85%; padding: 10px 14px; border-radius: 14px; line-height: 1.4; }
.chat-msg.bot { background: white; border: 1px solid var(--border-c); }
.chat-msg.user { background: var(--plum); color: white; margin-left: auto; }
.chat-input-row { display: flex; border-top: 1px solid var(--border-c); }
.chat-input-row input { flex: 1; border: none; padding: 14px; font-size: .88rem; outline: none; }
.chat-input-row button { background: var(--plum); color: white; border: none; padding: 0 18px; cursor: pointer; }
.chat-voice-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; margin: 10px 16px 0; background: var(--blush); border: none; border-radius: var(--radius-sm); color: var(--plum); font-weight: 700; font-size: .82rem; cursor: pointer; }

/* Privacy consent bar */
.consent-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001; background: var(--white); border-top: 1px solid var(--border-c); box-shadow: 0 -8px 24px rgba(36,22,39,.10); padding: 20px 0; }
.consent-bar.hidden { display: none; }
.consent-bar-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.consent-text { flex: 1; min-width: 260px; }
.consent-text strong { display: block; font-size: 1rem; color: var(--plum); margin-bottom: 4px; font-weight: 800; }
.consent-text p { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent-actions .btn { padding: 12px 24px; font-size: .85rem; }
.consent-actions .btn-outline { background: var(--white); color: var(--plum); border: 1px solid var(--border-c); }
.consent-actions .btn-outline:hover { background: var(--blush); }

/* Login page */
.login-card { max-width: 420px; margin: 0 auto; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border-c); box-shadow: var(--shadow); padding: 40px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: .85rem; font-weight: 700; color: var(--plum); margin-bottom: 6px; }
.form-field input { width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border-c); font-size: .95rem; font-family: inherit; color: var(--ink); background: var(--cream); }
.form-field input:focus { outline: none; border-color: var(--rose); background: var(--white); }
.login-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.login-links { display: flex; justify-content: space-between; margin-top: 16px; font-size: .85rem; }
.login-divider { text-align: center; color: var(--muted); font-size: .8rem; margin: 26px 0; position: relative; }
.login-note { text-align: center; font-size: .88rem; color: var(--muted); }
.login-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--blush); color: var(--plum); font-size: .87rem; text-align: center; }
.login-status.show { display: block; }

/* Join / membership plan */
.plan-price { text-align: center; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border-c); }
.plan-price .amount { font-size: 2.6rem; font-weight: 800; color: var(--plum); letter-spacing: -.02em; }
.plan-price .period { font-size: .95rem; color: var(--muted); }
.plan-features { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { font-size: .9rem; color: var(--ink); display: flex; gap: 8px; align-items: flex-start; }
.plan-features li::before { content: "✓"; color: var(--rose); font-weight: 800; }

@media (max-width: 980px) {
  .grid-3, .grid-4, .services-grid, .product-grid, .program-grid, .programs-teaser { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  nav.main { display: none; }
  .mobile-toggle { display: block; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .services-grid, .product-grid, .program-grid, .programs-teaser { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 70px 20px; }
  .trust-bar span { padding: 0 14px; font-size: .8rem; }
  #urania-chat-panel { width: 92vw; right: 4vw; }
  .consent-actions { width: 100%; flex-direction: column; }
  .consent-actions .btn { width: 100%; justify-content: center; }
}
