:root {
  --blue-900: #12194f;
  --blue-800: #1b2560;
  --blue-700: #242873;
  --blue-600: #33418f;
  --blue-100: #e2e7f9;
  --blue-50: #f1f4fd;
  --gold-500: #f59e0b;
  --gold-400: #fbbf24;
  --gold-600: #d97706;
  --ink: #16231d;
  --muted: #5b6b63;
  --line: #e3ebe7;
  --bg: #f7faf9;
  --white: #ffffff;
  --red-600: #dc2626;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(18, 25, 79, 0.08);
  --shadow-lg: 0 18px 45px rgba(18, 25, 79, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

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

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

section { padding: 56px 0; }

h1, h2, h3, h4 { line-height: 1.2; color: var(--blue-900); font-weight: 800; }

h1 { font-size: clamp(28px, 4.6vw, 46px); letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3.6vw, 36px); letter-spacing: -0.01em; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head p { color: var(--muted); margin-top: 10px; font-size: 18px; }

.kicker {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 32px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:active { transform: scale(0.98); }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: #3b2503;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover { background: linear-gradient(180deg, #fcd34d, var(--gold-500)); box-shadow: 0 10px 26px rgba(245, 158, 11, 0.45); transform: translateY(-1px); }

.btn-blue {
  background: var(--blue-700);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(51, 65, 143, 0.3);
}

.btn-blue:hover { background: var(--blue-800); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--blue-700);
  border: 2px solid var(--blue-600);
}

.btn-outline:hover { background: var(--blue-50); }

.btn-block { width: 100%; }

.btn-lg { padding: 18px 40px; font-size: 19px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.brand { font-size: 22px; font-weight: 900; color: var(--blue-900); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--blue-600); }

.nav-links { display: none; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--blue-700); }

.header-cta { display: none; }

.nav-toggle { background: none; border: none; cursor: pointer; padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 3px; background: var(--blue-900); border-radius: 3px; transition: 0.2s; }

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 20px 0 40px; background: radial-gradient(1200px 500px at 50% -10%, var(--blue-100), transparent 70%), var(--bg); }

.hero-grid { display: grid; gap: 14px; align-items: center; }

.hero-head { text-align: center; }
.hero h1 { margin: 10px 0 0; }
.hero .subtitle { font-size: 16px; color: var(--muted); max-width: 540px; text-align: center; margin: 0 auto; }

.price-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 12px; margin: 4px 0 0; }
.price-now { font-size: 42px; font-weight: 900; color: var(--blue-800); }
.price-was { font-size: 20px; color: var(--muted); text-decoration: line-through; }
.price-per { font-size: 16px; color: var(--muted); font-weight: 600; }

.save-chip {
  display: inline-block;
  background: var(--red-600);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 2px; max-width: 380px; margin-left: auto; margin-right: auto; }

.hero-img-wrap { max-width: 220px; margin: 0 auto; }

.hero-img-wrap img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.hero-note { font-size: 13px; color: var(--muted); margin-top: 4px; text-align: center; }
.hero-note b { color: var(--blue-700); }

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas:
      "head img"
      "subtitle img"
      "price img"
      "ctas img"
      "note img";
    gap: 16px 56px;
  }
  .hero-head { grid-area: head; text-align: left; }
  .hero .subtitle { grid-area: subtitle; text-align: left; margin: 0; font-size: 19px; }
  .price-line { grid-area: price; justify-content: flex-start; margin-top: 4px; }
  .hero-ctas { grid-area: ctas; flex-direction: row; max-width: none; margin: 8px 0 0; margin-left: 0; }
  .hero-note { grid-area: note; text-align: left; margin-top: 8px; font-size: 14px; }
  .hero-img-wrap { grid-area: img; max-width: 340px; align-self: center; }
  .hero h1 { margin-top: 18px; }
}

/* ---------- Trust badges ---------- */
.trust-bar { background: var(--white); border-block: 1px solid var(--line); padding: 0; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 32px 0; }

.trust-item { text-align: center; }
.trust-item img { width: 110px; margin: 0 auto 10px; }
.trust-item strong { display: block; font-size: 15px; color: var(--blue-900); }
.trust-item span { font-size: 13.5px; color: var(--muted); }

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

/* ---------- Generic cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.two-col { display: grid; gap: 36px; align-items: center; }
.two-col.rev .col-img { order: -1; }
.col-img img { border-radius: var(--radius); box-shadow: var(--shadow); }

@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; gap: 20px; }

.testi { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.testi .stars { color: var(--gold-500); letter-spacing: 2px; font-size: 16px; }
.testi p { margin: 12px 0 16px; color: var(--ink); font-size: 15.5px; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .who img { width: 48px; height: 48px; border-radius: 50%; }
.testi .who strong { display: block; font-size: 14.5px; color: var(--blue-900); }
.testi .who span { font-size: 13px; color: var(--muted); }

@media (min-width: 900px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; }
.step { position: relative; }
.step .num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-700);
  color: #fff;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; gap: 24px; align-items: stretch; }

.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.price-card.featured {
  border: 2px solid var(--blue-600);
  box-shadow: var(--shadow-lg);
}

.price-card .bottles { width: 150px; margin: 0 auto 6px; }
.price-card.six .bottles { width: 150px; margin: 0 auto 6px; }
@media (min-width: 900px) { .price-card .bottles { width: 170px; } }

.flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: #3b2503;
  font-size: 12.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(245, 158, 11, 0.35);
}

.price-card h3 { font-size: 20px; }
.price-card .bottle-count { color: var(--muted); font-size: 14.5px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 2px; }
.price-row .per { font-size: 34px; font-weight: 900; color: var(--blue-800); }
.price-row .was { color: var(--muted); text-decoration: line-through; }
.price-row .bottle { font-size: 14.5px; color: var(--muted); }
.ship { font-size: 14px; color: var(--muted); }
.ship .free { color: var(--blue-700); font-weight: 800; }
.total { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.total b { color: var(--ink); }

@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Guarantee ---------- */
.guarantee {
  background: linear-gradient(160deg, var(--blue-900), var(--blue-700));
  color: #e9f0fe;
  border-radius: 24px;
  padding: 44px 28px;
  display: grid;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.guarantee img { width: 220px; margin: 0 auto; }

.guarantee h2 { color: #fff; }
.guarantee .sub { color: #c5d3f5; margin-top: 8px; font-size: 17px; }
.guarantee ul { list-style: none; margin-top: 20px; display: grid; gap: 12px; }
.guarantee li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.guarantee li::before { content: "✔"; color: var(--gold-400); font-weight: 900; }

@media (min-width: 900px) { .guarantee { grid-template-columns: 0.8fr 1.2fr; padding: 56px 64px; } }

/* ---------- Ingredients ---------- */
.ing-grid { display: grid; gap: 16px; }
.ing { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.ing strong { display: block; color: var(--blue-800); margin-bottom: 6px; font-size: 16.5px; }
.ing p { font-size: 14.5px; color: var(--muted); }

@media (min-width: 900px) { .ing-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Benefits ---------- */
.benefits { display: grid; gap: 16px; }
.benefit { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.benefit .ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-100); color: var(--blue-700); font-size: 22px; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.benefit strong { display: block; color: var(--blue-900); margin-bottom: 4px; }
.benefit p { font-size: 15px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }

details.faq { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  font-weight: 700;
  color: var(--blue-900);
  font-size: 16.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--blue-600); transition: transform 0.2s ease; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .ans { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(160deg, var(--blue-900), var(--blue-700)); color: #fff; text-align: center; border-radius: 24px; padding: 48px 28px; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c5d3f5; margin: 10px 0 24px; font-size: 18px; }
.cta-band .btn { margin: 8px 6px; }
.cta-band .mini { font-size: 13.5px; color: #93a8e6; margin-top: 16px; }

/* ---------- Checkout ---------- */
.checkout-wrap { display: grid; gap: 28px; align-items: start; }
.checkout-img { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 12px; box-shadow: var(--shadow); }
.checkout-img img { border-radius: 10px; }

@media (min-width: 900px) { .checkout-wrap { grid-template-columns: 0.8fr 1.2fr; } }

.secure-row { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-top: 18px; }
.secure-row img { width: 150px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #b9c6ee; padding: 48px 0 90px; margin-top: 24px; }
.site-footer p { font-size: 13.5px; line-height: 1.7; }
.site-footer a { color: var(--gold-400); }
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; }
.footer-links a:hover { color: var(--gold-400); }
.footer-legal { max-width: 860px; margin: 0 auto; text-align: center; display: grid; gap: 14px; }
.copyright { text-align: center; color: #8ba0df; margin-top: 22px; font-size: 14px; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: none;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

@media (max-width: 899px) {
  .mobile-cta { display: block; }
  .mobile-cta.show { transform: translateY(0); }
}

/* ---------- Legal pages ---------- */
.legal-page section { padding: 48px 0; }
.legal-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 26px; }
.legal-card h1 { margin-bottom: 18px; }
.legal-card p { color: var(--muted); margin-bottom: 14px; font-size: 15.5px; }
.legal-card strong { color: var(--ink); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.on { opacity: 1; transform: none; }
