/* ============ GlowyCare24.cl — Design System ============ */
@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/playfair-display-var-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope-var-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  font-style: normal;
}

:root {
  --plum: #7a2b40;
  --plum-deep: #4a1626;
  --ink: #3a2028;
  --grey: #6b565d;
  --rose: #a83348;
  --rose-bright: #c2566e;
  --coral: #e98fa0;
  --cream: #fdf8f6;
  --blush: #f7c6ce;
  --sand: #f6eae4;
  --gold: #c8a24a;
  --green: #2f8f68;
  --card: #ffffff;
  --line: #f0d9d3;
  --radius: 22px;
  --shadow-s: 0 2px 10px rgba(74, 22, 38, .06);
  --shadow-m: 0 10px 34px rgba(74, 22, 38, .10);
  --shadow-l: 0 22px 60px rgba(74, 22, 38, .16);
  --grad-cta: linear-gradient(135deg, #c2566e 0%, #a83348 55%, #7a2b40 100%);
  --grad-band: linear-gradient(120deg, #a83348 0%, #7a2b40 45%, #4a1626 100%);
  --grad-soft: linear-gradient(160deg, #fdf8f6 0%, #f7c6ce 60%, #eeb9c3 100%);
  --grad-gold: linear-gradient(135deg, #e3c98f, #c8a24a);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, .serif {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--plum);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 700; }
h2 { font-size: clamp(24px, 3.2vw, 36px); }
h3 { font-size: clamp(19px, 2vw, 22px); }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.wrap-narrow { width: min(860px, calc(100% - 40px)); margin-inline: auto; }

section { padding: clamp(44px, 6vw, 84px) 0; }
.section-head { max-width: 780px; margin: 0 auto 34px; text-align: center; }
.section-head p { color: var(--grey); font-size: 18px; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rose); background: #fbe9ec; border: 1px solid #f3cdd5;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 16px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 17px;
  color: #fff; background: var(--grad-cta);
  padding: 17px 34px; border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 12px 28px rgba(168, 51, 72, .38), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .18s ease, box-shadow .18s ease;
  text-decoration: none; line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(168, 51, 72, .46), inset 0 1px 0 rgba(255,255,255,.25); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-block { width: 100%; }
.btn-ghost {
  background: #fff; color: var(--plum); border: 2px solid var(--blush);
  box-shadow: var(--shadow-s);
}
.btn-ghost:hover { border-color: var(--coral); }
.btn-lg { font-size: 19px; padding: 20px 42px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-s); padding: 28px;
}

.badge-disc { background: linear-gradient(135deg, #ffe9c9, #f6d9a8); color: #7a560f; }

/* ============ Top urgency bar ============ */
.topbar {
  background: var(--grad-band); color: #ffe9ee;
  font-size: 14px; font-weight: 600; text-align: center;
  padding: 9px 16px; letter-spacing: .02em;
}
.topbar b { color: #ffd9a8; font-weight: 800; }

/* ============ Header ============ */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(253, 248, 246, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 22px; padding: 12px 0; }
.logo { display: flex; align-items: center; gap: 11px; font-family: 'Playfair Display', serif; font-size: 23px; font-weight: 700; color: var(--plum); text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 13px; background: var(--grad-cta);
  display: grid; place-items: center; color: #ffe9ee;
  font-size: 22px; box-shadow: var(--shadow-s);
}
.logo small { display: block; font-family: 'Manrope'; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a {
  color: var(--ink); font-weight: 600; font-size: 14.5px; padding: 9px 13px; border-radius: 10px; text-decoration: none;
}
.nav a:hover { background: #fbe9ec; color: var(--plum); text-decoration: none; }
.header .btn { padding: 11px 22px; font-size: 15px; }
@media (max-width: 900px) { .nav { display: none; } }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; background: var(--grad-soft); }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 60% at 82% 16%, rgba(255, 236, 200, .75) 0%, transparent 70%),
    radial-gradient(40% 52% at 8% 88%, rgba(255, 255, 255, .55) 0%, transparent 70%);
}
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: clamp(40px, 6vw, 80px) 0; }
.hero h1 em { font-style: normal; color: var(--rose); }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--grey); max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 20px; }
.hero-facts { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-facts div { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; font-weight: 600; color: var(--ink); max-width: 210px; }
.hero-facts svg { flex: none; margin-top: 2px; }
.hero-img { position: relative; }
.hero-img img { border-radius: 32px; box-shadow: var(--shadow-l); }
.hero-chip {
  position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow-m);
  padding: 12px 18px; font-size: 14px; font-weight: 700; color: var(--plum);
  display: flex; align-items: center; gap: 10px;
}
.hero-chip .stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; }
.chip-1 { top: 26px; left: -14px; }
.chip-2 { bottom: 40px; right: -8px; }
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-img { order: -1; max-width: 520px; margin-inline: auto; }
  .chip-1 { left: 8px; } .chip-2 { right: 8px; }
}

/* ============ Price box ============ */
.pricebox { display: flex; align-items: baseline; gap: 14px; margin: 8px 0 4px; }
.price-new { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(34px, 4vw, 46px); color: var(--rose); }
.price-old { font-size: clamp(18px, 2vw, 22px); color: var(--grey); text-decoration: line-through; font-weight: 600; }
.price-off { background: var(--grad-gold); color: #5c4409; font-weight: 800; font-size: 14px; border-radius: 999px; padding: 6px 14px; }

/* ============ Countdown ============ */
.countdown { display: inline-flex; gap: 8px; align-items: center; }
.countdown .cell {
  background: var(--plum-deep); color: #ffd9a8; border-radius: 12px;
  min-width: 56px; padding: 8px 6px 6px; text-align: center;
}
.countdown .cell b { display: block; font-size: 24px; font-weight: 800; line-height: 1; color: #fff; }
.countdown .cell span { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.countdown .sep { color: var(--plum-deep); font-weight: 800; font-size: 22px; }

/* ============ Stock bar ============ */
.stockbar { background: #fff; border: 1px dashed var(--coral); border-radius: 14px; padding: 10px 16px; font-size: 14.5px; font-weight: 600; color: var(--plum); display: inline-flex; gap: 10px; align-items: center; }
.stockbar .bar { width: 130px; height: 8px; background: #f3d7dc; border-radius: 99px; overflow: hidden; }
.stockbar .bar i { display: block; height: 100%; width: 28%; background: var(--grad-cta); border-radius: 99px; }

/* ============ Trust row ============ */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-s); }
.trust-item svg { flex: none; }
.trust-item b { display: block; font-size: 15.5px; color: var(--plum); }
.trust-item span { font-size: 13.5px; color: var(--grey); line-height: 1.45; display: block; }
@media (max-width: 960px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } }

/* ============ Grid cards ============ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.icon-badge {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, #fbe9ec, #f7c6ce); color: var(--rose); margin-bottom: 14px;
}

/* ============ Problem cards ============ */
.problem { position: relative; overflow: hidden; padding: 0; }
.problem img { width: 100%; height: 210px; object-fit: cover; }
.problem .body { padding: 20px 22px 24px; }
.problem h3 { margin-bottom: 6px; }
.problem p { color: var(--grey); font-size: 15px; margin: 0; }

/* ============ Numbered steps ============ */
.step { position: relative; padding-left: 74px; min-height: 56px; }
.step .num {
  position: absolute; left: 0; top: 0; width: 54px; height: 54px; border-radius: 50%;
  background: var(--grad-cta); color: #fff; font-weight: 800; font-size: 22px;
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(168, 51, 72, .3);
}
.step h3 { margin-bottom: 4px; }
.step p { color: var(--grey); margin: 0; font-size: 15.5px; }

/* ============ Table ============ */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-s); background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15.5px; }
table.cmp th, table.cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp thead th { background: #fbe9ec; color: var(--plum); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp td.yes { color: var(--green); font-weight: 800; }
table.cmp td.no { color: #b0435a; }
table.cmp tr.hl { background: #fff7f2; }
table.cmp tr.hl td:first-child { font-weight: 800; color: var(--plum); }

/* ============ Reviews ============ */
.review { display: flex; flex-direction: column; gap: 14px; }
.review .who { display: flex; align-items: center; gap: 13px; }
.review .who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.review .who b { display: block; color: var(--plum); font-size: 16px; line-height: 1.2; }
.review .who span { font-size: 13px; color: var(--grey); }
.stars { color: var(--gold); letter-spacing: 2.5px; font-size: 15px; }
.review blockquote { margin: 0; color: var(--ink); font-size: 15.5px; }
.review .ba { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.review .ba figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; }
.review .ba figcaption {
  position: absolute; left: 8px; bottom: 8px; background: rgba(58, 32, 40, .72); color: #fff;
  font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; letter-spacing: .08em; text-transform: uppercase;
}
.rating-summary { display: flex; align-items: center; gap: 16px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.rating-summary .score { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700; color: var(--plum); line-height: 1; }
.rating-summary .meta { font-size: 14px; color: var(--grey); }

/* ============ Expert ============ */
.expert { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; }
.expert .ava {
  width: 120px; height: 120px; border-radius: 50%; background: var(--grad-cta);
  display: grid; place-items: center; color: #fff; font-family: 'Playfair Display', serif;
  font-size: 44px; font-weight: 700; box-shadow: var(--shadow-m);
}
.expert blockquote { margin: 0 0 10px; font-size: 16.5px; color: var(--ink); }
.expert .who b { color: var(--plum); }
.expert .who span { color: var(--grey); font-size: 14px; }
@media (max-width: 640px) { .expert { grid-template-columns: 1fr; text-align: left; } }

/* ============ FAQ ============ */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-s); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 18px 22px; font-weight: 800; color: var(--plum); font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fbe9ec; display: grid; place-items: center; color: var(--rose); transition: transform .2s; }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq .faq-body { padding: 0 22px 20px; color: var(--grey); font-size: 15.5px; }

/* ============ CTA band ============ */
.cta-band {
  background: var(--grad-band); border-radius: 28px; color: #fff;
  padding: clamp(30px, 4.6vw, 56px); position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 85% 10%, rgba(255, 217, 168, .28) 0%, transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #f3d3db; max-width: 620px; }
.cta-band .price-new { color: #ffd9a8; }
.cta-band .price-old { color: #d9a5b2; }

/* ============ Order form ============ */
.order-card {
  background: #fff; border-radius: 26px; box-shadow: var(--shadow-l);
  padding: clamp(24px, 3vw, 38px); border: 1px solid var(--line);
}
.order-card h3 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 4px; }
.order-card .sub { color: var(--grey); font-size: 14.5px; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13.5px; font-weight: 800; color: var(--plum); margin-bottom: 6px; letter-spacing: .04em; }
.field .control { display: flex; align-items: stretch; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; transition: border-color .15s; }
.field .control:focus-within { border-color: var(--rose-bright); }
.field .cc { display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #fbe9ec; font-weight: 800; color: var(--plum); font-size: 15.5px; border-right: 2px solid var(--line); white-space: nowrap; }
.field input {
  flex: 1; border: 0; outline: none; padding: 15px 16px; font: inherit; font-size: 16.5px; color: var(--ink); background: transparent; min-width: 0;
}
.field input::placeholder { color: #c9aeb5; }
.field .hint { font-size: 12.5px; color: var(--grey); margin-top: 5px; }
.form-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--grey); margin-top: 12px; }
.form-msg { border-radius: 12px; padding: 12px 16px; font-size: 14.5px; font-weight: 600; margin-top: 12px; display: none; }
.form-msg.err { display: block; background: #fdecef; color: #a12a44; border: 1px solid #f3c4ce; }
.form-msg.ok { display: block; background: #e8f5ee; color: #1d6b4a; border: 1px solid #bfe3d2; }
.form-success { text-align: center; padding: 26px 8px; }
.form-success .big { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; background: #e8f5ee; display: grid; place-items: center; color: var(--green); }
.order-adv { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.order-adv li { display: flex; gap: 10px; font-size: 14px; color: var(--grey); align-items: flex-start; }
.order-adv svg { flex: none; margin-top: 2px; }

/* ============ Sticky mobile CTA ============ */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: none; gap: 12px; align-items: center; box-shadow: 0 -8px 30px rgba(74, 22, 38, .12);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .p { line-height: 1.15; }
.sticky-cta .p b { color: var(--rose); font-size: 18px; }
.sticky-cta .p span { display: block; font-size: 11.5px; color: var(--grey); font-weight: 600; }
.sticky-cta .btn { padding: 13px 22px; font-size: 15.5px; flex: none; }
@media (max-width: 780px) { .sticky-cta { display: flex; } body { padding-bottom: 74px; } }

/* ============ Modal ============ */
.modal { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; padding: 18px; }
.modal.open { display: grid; }
.modal .backdrop { position: absolute; inset: 0; background: rgba(58, 22, 34, .55); backdrop-filter: blur(4px); }
.modal .box {
  position: relative; background: #fff; border-radius: 26px; max-width: 460px; width: 100%;
  padding: 30px 28px; box-shadow: var(--shadow-l); max-height: 92vh; overflow: auto;
  animation: pop .3s cubic-bezier(.2, 1.2, .4, 1);
}
@keyframes pop { from { transform: scale(.92) translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal .close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  background: #fbe9ec; color: var(--plum); border: 0; cursor: pointer; font-size: 19px; font-weight: 800; line-height: 1;
}
.modal .mini-price { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 14px; }

/* ============ Footer ============ */
.footer { background: var(--plum-deep); color: #d9b3bf; margin-top: 60px; font-size: 14.5px; }
.footer a { color: #f3d3db; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding: 54px 0 34px; }
.footer h4 { color: #fff; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; font-weight: 800; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer .brandline { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; color: #fff; font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 700; }
.footer .legal { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0 26px; font-size: 12.8px; line-height: 1.6; color: #b98e9c; }
@media (max-width: 900px) { .footer-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-in { grid-template-columns: 1fr; } }

/* ============ Breadcrumbs ============ */
.crumbs { font-size: 13.5px; color: var(--grey); padding: 16px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: var(--coral); }
.crumbs a { color: var(--grey); }

/* ============ Article / prose ============ */
.prose { max-width: 820px; margin-inline: auto; font-size: 16.5px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { color: var(--grey); }
.prose li { margin-bottom: .5em; }
.prose .lead { font-size: 19px; color: var(--ink); font-weight: 500; }
.figure { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-s); margin: 26px 0; }
.figure figcaption { font-size: 13.5px; color: var(--grey); text-align: center; margin-top: 12px; }
.figure img, .figure svg { margin-inline: auto; }

.notice {
  background: #fff7f2; border: 1px solid #f3cdd5; border-left: 5px solid var(--rose);
  border-radius: 14px; padding: 16px 20px; font-size: 15px; color: var(--ink);
}

/* helpers */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.bg-white { background: #fff; }
.bg-soft { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
