/* =============================================================
   GSK Dragonfruit Plus — Landing Page Styles
   Palette: dragon fruit pink, white, soft beige, light green
   ============================================================= */

:root {
  /* Wine / burgundy — matches the actual product box */
  --wine-900: #2d0810;
  --wine-800: #4a0f1a;
  --wine-700: #6e1828;
  --wine-600: #8a2030;
  --wine-500: #a83244;
  --wine-100: #f4dde2;
  --wine-50:  #fbf0f3;

  /* Dragon-fruit pink — used as a secondary highlight (matches fruit pulp) */
  --pink-700: #c92872;
  --pink-600: #e23a85;
  --pink-100: #fde4ee;
  --pink-50:  #fff3f8;

  /* Gold — matches the "Plus" wordmark on the box */
  --gold-600: #c9a13a;
  --gold-500: #e8c547;
  --gold-100: #fbf3d3;

  /* Grass green — matches the green band on the box */
  --green-700: #4a8a3a;
  --green-500: #7ebd5e;
  --green-300: #b6dca0;
  --green-100: #e8f3dd;

  --beige-100: #faf5ed;
  --beige-200: #f3ead6;
  --beige-300: #e8dcc1;

  --ink-900: #1c1014;
  --ink-700: #3b2c30;
  --ink-500: #6b5c60;
  --ink-300: #a99fa3;

  --white: #ffffff;
  --shadow-sm: 0 2px 6px rgba(45, 8, 16, 0.07);
  --shadow-md: 0 8px 24px rgba(45, 8, 16, 0.10);
  --shadow-lg: 0 18px 48px rgba(110, 24, 40, 0.22);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1180px;
  --gutter: 24px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink-900);
  background: var(--beige-100);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .4em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p  { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wine-700);
  background: var(--wine-100);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.eyebrow-green {
  color: var(--green-700);
  background: var(--green-100);
}
.eyebrow-gold {
  color: #8a6c1a;
  background: var(--gold-100);
}

.muted { color: var(--ink-500); }
.accent { color: var(--wine-700); }
.accent-gold { color: var(--gold-600); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-sub {
  color: var(--ink-500);
  font-size: 1.05rem;
  margin-top: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-family: inherit;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--wine-600), var(--wine-800));
  color: #fff;
  box-shadow: 0 8px 20px rgba(110, 24, 40, 0.38);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(110, 24, 40, 0.48);
}
.btn-primary:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--wine-900);
  box-shadow: 0 8px 20px rgba(201, 161, 58, 0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201, 161, 58, 0.42);
}

.btn-outline {
  background: transparent;
  color: var(--wine-700);
  border-color: var(--wine-700);
}
.btn-outline:hover {
  background: var(--wine-700);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-300);
}
.btn-ghost:hover {
  border-color: var(--wine-700);
  color: var(--wine-700);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: var(--header-top, 0); left: 0; right: 0;
  z-index: 50;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
}
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(31, 19, 32, 0.08);
  box-shadow: 0 2px 12px rgba(45, 8, 16, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transition: color .3s ease, text-shadow .3s ease;
}
.site-header.is-solid .brand {
  color: var(--ink-900);
  text-shadow: none;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-name { font-size: 1.05rem; }
.brand-name strong { color: var(--gold-500); transition: color .3s ease; }
.site-header.is-solid .brand-name strong { color: var(--wine-700); }
.brand-tag {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 700;
  margin-left: 6px;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transition: color .3s ease, text-shadow .3s ease;
}
.site-header.is-solid .nav-links {
  color: var(--ink-700);
  text-shadow: none;
}
.nav-links a:hover { color: var(--gold-500); }
.site-header.is-solid .nav-links a:hover { color: var(--wine-700); }

/* Mobile hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--wine-700);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(45, 8, 16, 0.3);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, background .2s ease;
}
.site-header.is-solid .nav-toggle {
  background: var(--wine-700);
  border-color: var(--wine-700);
  box-shadow: var(--shadow-sm);
}
.site-header.is-solid .nav-toggle span { background: #fff; }
.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  aspect-ratio: 1672 / 941;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--wine-900);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-bg-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(45, 8, 16, 0.55) 0%,
      rgba(45, 8, 16, 0.30) 30%,
      rgba(45, 8, 16, 0) 60%,
      rgba(45, 8, 16, 0) 100%),
    linear-gradient(180deg,
      rgba(45, 8, 16, 0.20) 0%,
      rgba(45, 8, 16, 0) 25%,
      rgba(45, 8, 16, 0) 75%,
      rgba(45, 8, 16, 0.25) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  height: 100%;
  padding-top: 100px;
  padding-bottom: 40px;
}
.hero-grid > .hero-copy {
  grid-column: 1;
  color: #fff;
  text-shadow: 0 2px 10px rgba(45, 8, 16, 0.55);
}
.hero-copy .eyebrow {
  background: rgba(255, 255, 255, 0.92);
  color: var(--wine-700);
  text-shadow: none;
}
.hero-copy h1 {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
}
.hero-copy h1 .accent-gold { color: var(--gold-500); }
.hero-copy .lede {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 520px;
  margin: 14px 0 28px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero-copy .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  text-shadow: none;
}
.hero-copy .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}
.payment-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-700);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  text-shadow: none;
}
.check {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green-500);
  color: #fff; font-size: 11px; font-weight: 800;
}
.trust-row {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.trust-row li {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-900);
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-shadow: none;
}

/* Hero visual — real product photo */
.hero-visual {
  position: relative;
  height: 100%;
  min-height: 460px;
  display: grid;
  place-items: center;
}
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(110, 24, 40, 0.42), transparent 60%),
    radial-gradient(circle at 30% 70%, rgba(126, 189, 94, 0.25), transparent 55%);
  filter: blur(50px);
  z-index: 0;
}
.product-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  display: grid;
  place-items: center;
  padding: 30px;
}
.product-photo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(45, 8, 16, 0.4)) drop-shadow(0 10px 20px rgba(45, 8, 16, 0.25));
  transform: rotate(-2deg);
  transition: transform .4s ease;
}
.product-photo:hover { transform: rotate(0); }
.product-spec-pill {
  position: absolute;
  top: 8px;
  right: 0;
  background: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--wine-700);
  border: 1px solid var(--wine-100);
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.product-spec-pill strong { color: var(--wine-900); }
.product-spec-pill-2 {
  position: absolute;
  bottom: 16px;
  left: 0;
  background: var(--gold-500);
  color: var(--wine-900);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

/* ---------- Problem ---------- */
.problem {
  background:
    url('Assets/B1.png') center / cover no-repeat,
    var(--beige-100);
  padding: 80px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: left;
}
.problem > .container {
  width: 100%;
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.problem-copy h2,
.problem-copy .problem-heading {
  color: var(--wine-700);
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  line-height: 1.15;
  margin: 12px 0 8px;
  position: relative;
  padding-bottom: 14px;
}
.problem-copy .problem-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--pink-100);
  border-radius: 2px;
}
.problem-sub {
  color: var(--ink-700);
  font-size: 1.05rem;
  margin: 14px 0 22px;
  max-width: 460px;
}
.problem-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wine-50);
  color: var(--wine-700);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 28px;
}
.problem-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.problem-cta-row .btn-primary {
  padding: 14px 26px;
}
.problem-reassurance {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--beige-300);
  max-width: 220px;
  line-height: 1.4;
}

.problem-cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.problem-card {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px 20px 14px 14px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(45, 8, 16, 0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: transform .2s ease, box-shadow .2s ease;
}
.problem-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 22px rgba(45, 8, 16, 0.1);
}
.problem-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-right: 16px;
  position: relative;
  overflow: hidden;
}
.problem-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.problem-card-icon::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: var(--beige-300);
}
.problem-card-text {
  font-size: 1rem;
  color: var(--ink-700);
  font-weight: 500;
  line-height: 1.45;
  padding-left: 6px;
}

/* ---------- Intro ---------- */
.intro {
  padding: 80px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #fbf2e8;
}
.intro > .container {
  width: 100%;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  grid-template-areas:
    "visual copy"
    "visual facts";
  gap: 32px 48px;
  align-items: center;
}
.intro-visual { grid-area: visual; }
.intro-copy { grid-area: copy; }
.intro-facts { grid-area: facts; }
.intro-visual {
  display: grid;
  place-items: center;
}
.intro-product-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(45, 8, 16, 0.12);
}
.intro-facts-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  margin-top: 22px;
  border-radius: var(--radius-md);
}
.intro-copy h2,
.intro-copy .intro-heading {
  margin-top: 4px;
  color: var(--wine-700);
}
.intro-copy p { font-size: 1.06rem; color: var(--ink-700); }
.intro-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  padding: 22px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--beige-300);
  box-shadow: var(--shadow-sm);
}
.intro-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.intro-meta-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--pink-50);
  color: var(--wine-700);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 6px;
  box-shadow: inset 0 0 0 1px var(--pink-100);
}
.intro-meta-item strong {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wine-700);
}
.intro-meta-item span {
  font-size: 0.95rem;
  color: var(--ink-700);
  font-weight: 600;
}

.intro-ingredients {
  list-style: none;
  padding: 16px 14px;
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--beige-300);
  box-shadow: var(--shadow-sm);
}
.intro-ingredients li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.intro-ingredients .ing-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.intro-ingredients small {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-700);
  letter-spacing: 0.01em;
}

/* ---------- Ingredients ---------- */
.ingredients {
  padding: 90px 0;
  background: var(--white);
}
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.ing-card {
  background: var(--beige-100);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--beige-200);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--wine-100);
}
.ing-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  font-size: 1.8rem;
  box-shadow: var(--shadow-sm);
}
.ing-icon-pink   { background: var(--pink-100); }
.ing-icon-yellow { background: var(--gold-100); }
.ing-icon-purple { background: #f0e2f6; }
.ing-icon-green  { background: var(--green-100); }
.ing-icon-leaf   { background: #e0efe1; }
.ing-icon-red    { background: var(--wine-100); }

.ing-card h3 { margin-bottom: 6px; color: var(--ink-900); }
.ing-card p { color: var(--ink-500); margin: 0; font-size: 0.92rem; }

/* ---------- Benefits ---------- */
.benefits {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--beige-100), var(--white));
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ben-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--beige-300);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ben-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.ben-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--wine-100);
  color: var(--wine-700);
  display: grid; place-items: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.ben-card h3 { color: var(--ink-900); }
.ben-card p { color: var(--ink-500); font-size: 0.95rem; margin: 0; }
.ben-wide {
  grid-column: span 4;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 28px;
  background: linear-gradient(135deg, var(--wine-100), var(--beige-100));
  border-color: var(--wine-100);
}
.ben-wide .ben-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  font-size: 1.6rem;
  margin: 0;
}
.ben-wide h3 { margin: 0 0 4px; }
.ben-wide p { margin: 0; }

/* ---------- Marquee strip ---------- */
.marquee {
  background: #000;
  color: #fff;
  overflow: hidden;
  position: relative;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding: 10px 0;
  white-space: nowrap;
  animation: marquee-scroll 28s linear infinite;
  will-change: transform;
}
.marquee-item {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-right: 36px;
}
.marquee-dot {
  color: var(--gold-500);
  font-size: 0.9rem;
  line-height: 1;
}
.marquee.marquee-reverse .marquee-track {
  animation-name: marquee-scroll-reverse;
}
@keyframes marquee-scroll {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@keyframes marquee-scroll-reverse {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-duration: 90s; }
}

/* ---------- Featured Videos ---------- */
.featured-videos {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--white), var(--beige-100));
}
.video-carousel {
  position: relative;
  margin: 0 auto;
  max-width: 980px;
  padding: 0 56px;
}
.vc-track {
  position: relative;
  height: clamp(440px, 64vw, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}
.video-card {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  width: clamp(240px, 34vw, 340px);
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--beige-300);
  transform: translate(-50%, -50%) scale(0.78);
  opacity: 0.55;
  filter: saturate(0.85);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .35s ease, box-shadow .35s ease, filter .35s ease;
  cursor: pointer;
  z-index: 1;
}
.video-card.is-active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  filter: none;
  box-shadow: var(--shadow-lg);
  cursor: default;
  z-index: 3;
}
.video-card.is-prev {
  transform: translate(calc(-50% - 58%), -50%) scale(0.82) rotateY(8deg);
  z-index: 2;
}
.video-card.is-next {
  transform: translate(calc(-50% + 58%), -50%) scale(0.82) rotateY(-8deg);
  z-index: 2;
}
.video-frame {
  position: relative;
  background: var(--wine-900);
}
.video-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  background: var(--wine-900);
  object-fit: cover;
  pointer-events: none;
}
.video-card.is-active .video-player { pointer-events: auto; }
.video-card figcaption {
  padding: 14px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--wine-900);
  text-align: center;
  border-top: 1px solid var(--beige-200);
  background: var(--white);
}

/* Arrow buttons */
.vc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--beige-300);
  background: var(--white);
  color: var(--wine-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .2s ease, color .2s ease, transform .2s ease;
  z-index: 5;
}
.vc-arrow:hover { background: var(--wine-700); color: var(--white); transform: translateY(-50%) scale(1.05); }
.vc-arrow svg { width: 22px; height: 22px; }
.vc-prev { left: 8px; }
.vc-next { right: 8px; }

/* Dots */
.vc-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.vc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--beige-300);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, width .2s ease;
}
.vc-dot.is-active { background: var(--wine-700); width: 26px; border-radius: 999px; }

@media (max-width: 980px) {
  .featured-videos { padding: 56px 0; }
  .video-carousel { padding: 0 44px; max-width: 100%; }
  .vc-track { height: clamp(420px, 110vw, 560px); }
  .video-card { width: clamp(220px, 60vw, 300px); }
  .video-card.is-prev { transform: translate(calc(-50% - 52%), -50%) scale(0.78) rotateY(8deg); }
  .video-card.is-next { transform: translate(calc(-50% + 52%), -50%) scale(0.78) rotateY(-8deg); }
}
@media (max-width: 560px) {
  .video-carousel { padding: 0 16px; }
  .vc-arrow { width: 40px; height: 40px; }
  .vc-prev { left: -2px; }
  .vc-next { right: -2px; }
}

/* ---------- Reviews ---------- */
.reviews {
  padding: 90px 0;
  background: var(--beige-100);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 12px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--beige-300);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.review-stars {
  color: var(--gold-500);
  font-size: 1.05rem;
  letter-spacing: 2px;
  line-height: 1;
}
.review-text {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.97rem;
  line-height: 1.6;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--beige-200);
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--wine-700);
  color: var(--white);
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
  flex: 0 0 auto;
}
.review-avatar-anon { background: var(--ink-300); }
.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.review-name {
  font-weight: 700;
  color: var(--ink-900);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.review-verified {
  display: inline-grid;
  place-items: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #1d9bf0;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
}
.review-tag {
  font-size: 0.78rem;
  color: var(--ink-500);
  letter-spacing: 0.02em;
}

/* Hide cards beyond the visible count when collapsed */
.reviews-grid:not(.is-expanded) .review-card.is-hidden { display: none; }

.reviews-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.reviews-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.reviews-toggle-icon {
  width: 18px;
  height: 18px;
  transition: transform .25s ease;
}
.reviews-toggle[aria-expanded="true"] .reviews-toggle-icon {
  transform: rotate(180deg);
}

@media (max-width: 980px) {
  .reviews { padding: 56px 0; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 620px) {
  .reviews-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .review-card { padding: 22px 20px; }
}

/* ---------- Pricing ---------- */
.pricing {
  padding: 90px 0;
  background: var(--white);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--beige-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 2px solid var(--beige-300);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.price-card header { margin-bottom: 18px; }
.price-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 6px 0 0;
}
.price-label {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-500);
  background: var(--white);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--beige-300);
}
.price-label-save {
  color: var(--green-700);
  background: var(--green-100);
  border-color: var(--green-300);
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 8px 0 4px;
}
.price-amount .currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink-700);
}
.price-amount .amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.per-box {
  color: var(--ink-500);
  font-size: 0.95rem;
  margin: 0 0 22px;
}
.price-features {
  list-style: none; padding: 0; margin: 0 0 26px;
  display: grid; gap: 10px;
}
.price-features li {
  font-size: 0.95rem;
  color: var(--ink-700);
}
.price-card .btn { margin-top: auto; }

.price-popular {
  background: linear-gradient(160deg, var(--wine-50), var(--white));
  border-color: var(--wine-700);
  box-shadow: 0 18px 38px rgba(110, 24, 40, 0.22);
  transform: translateY(-8px);
  z-index: 1;
}
.price-popular:hover { transform: translateY(-12px); }
.best-value-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--wine-900);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}
.pricing-cta {
  text-align: center;
  margin-top: 40px;
}

/* ---------- Story ---------- */
.story {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--white), var(--wine-50));
}
.story-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.story-photo {
  position: relative;
  display: grid; place-items: center;
}
.photo-frame {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1/1;
  background: linear-gradient(160deg, var(--beige-200), var(--beige-300));
  border-radius: var(--radius-lg);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--white);
}
.photo-initials {
  font-family: "Plus Jakarta Sans", serif;
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--wine-700);
  letter-spacing: -0.02em;
}
.photo-badge {
  position: absolute;
  bottom: 10px; right: 10px;
  background: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.photo-badge span { color: #f5b342; font-size: 0.9rem; letter-spacing: 0.1em; display: block; }
.photo-badge small { color: var(--ink-500); font-size: 0.78rem; }

.story-copy h2 { margin-top: 4px; }
blockquote {
  margin: 0 0 16px;
  padding: 22px 28px;
  border-left: 4px solid var(--wine-700);
  background: var(--white);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink-700);
  box-shadow: var(--shadow-sm);
}
.story-attribution { color: var(--ink-500); font-size: 0.95rem; }

/* ---------- How to Order ---------- */
.how-to-order {
  padding: 90px 0;
  background: var(--white);
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.steps li {
  position: relative;
  background: var(--beige-100);
  border-radius: var(--radius-md);
  padding: 32px 24px 24px;
  border: 1px solid var(--beige-200);
  text-align: left;
}
.step-num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--wine-700), var(--wine-900));
  color: var(--gold-500);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 14px;
  box-shadow: 0 6px 14px rgba(110, 24, 40, 0.32);
}
.steps li h3 { margin-bottom: 6px; }
.steps li p { margin: 0; color: var(--ink-500); font-size: 0.95rem; }

/* ---------- Admin / Login Page ---------- */
[hidden] { display: none !important; }
.page-admin {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--beige-100);
}
.page-admin main {
  flex: 1;
  padding-top: 72px;
}

.login-screen {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 40px var(--gutter);
  background:
    radial-gradient(ellipse at top, rgba(110, 24, 40, 0.10), transparent 60%),
    linear-gradient(180deg, var(--wine-50), var(--beige-100));
}
.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--beige-300);
  text-align: center;
}
.login-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--wine-50);
  margin: 0 auto 18px;
  padding: 8px;
  display: grid;
  place-items: center;
  border: 1px solid var(--wine-100);
}
.login-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.login-card h1 {
  font-size: 1.6rem;
  margin: 0 0 6px;
  color: var(--wine-900);
}
.login-sub {
  color: var(--ink-500);
  font-size: 0.95rem;
  margin: 0 0 24px;
}
.login-card .form-row { text-align: left; margin-bottom: 18px; }
.login-error {
  margin-top: 12px;
  color: #c8334a;
  font-size: 0.9rem;
  font-weight: 600;
}
.input-error {
  animation: shake .4s ease;
  border-color: #d24c63 !important;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* Admin dashboard */
.admin-screen {
  padding: 48px 0 80px;
}
.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.admin-head h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 6px 0 6px;
  color: var(--wine-900);
}
.admin-sub {
  color: var(--ink-500);
  font-size: 0.95rem;
  margin: 0;
  max-width: 520px;
}
.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.admin-stat {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  border: 1px solid var(--beige-300);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.admin-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-700);
  transition: color 0.2s ease;
}
.btn-link:hover { color: var(--wine-700); }
/* Admin header has no hamburger menu — keep the back link visible on mobile. */
.admin-header .nav-cta { display: inline-flex; }

.admin-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  background: var(--beige-100);
}
.admin-stat-icon svg {
  width: 22px;
  height: 22px;
}
.stat-total .admin-stat-icon { background: var(--wine-100); color: var(--wine-700); }
.stat-pending .admin-stat-icon { background: var(--gold-100); color: var(--gold-600); }
.stat-shipped .admin-stat-icon { background: var(--green-100); color: var(--green-700); }
.stat-revenue .admin-stat-icon { background: var(--pink-100); color: var(--pink-700); }
.admin-stat-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.admin-stat-label {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-500);
}
.admin-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--wine-900);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

/* Toolbar / filters */
.admin-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--beige-300);
  box-shadow: var(--shadow-sm);
}
.admin-search {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.admin-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  pointer-events: none;
  opacity: 0.6;
}
.admin-search input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border: 1.5px solid var(--beige-300);
  border-radius: 10px;
  background: var(--beige-100);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink-900);
  transition: border-color .15s ease, background .15s ease;
}
.admin-search input:focus {
  outline: none;
  border-color: var(--wine-700);
  background: var(--white);
}
.admin-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-filters select {
  padding: 10px 12px;
  border: 1.5px solid var(--beige-300);
  border-radius: 10px;
  background: var(--beige-100);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.admin-filters select:hover { background: var(--white); border-color: var(--wine-100); }
.admin-filters select:focus {
  outline: none;
  border-color: var(--wine-700);
  background: var(--white);
}

.admin-table-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--beige-300);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.admin-table thead {
  background: var(--beige-100);
}
.admin-table th {
  text-align: left;
  padding: 14px 16px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 700;
  border-bottom: 1px solid var(--beige-300);
  white-space: nowrap;
}
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--beige-200);
  color: var(--ink-700);
  vertical-align: top;
}
.admin-table tbody tr:hover { background: var(--wine-50); }
.cell-date { white-space: nowrap; color: var(--ink-500); font-size: 0.86rem; }
.cell-customer-name {
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 2px;
}
.cell-customer-contact {
  color: var(--wine-700);
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
}
.cell-customer-contact:hover { text-decoration: underline; }
.cell-bundle { white-space: nowrap; font-weight: 600; color: var(--ink-900); }
.cell-address { max-width: 240px; font-size: 0.88rem; line-height: 1.4; }
.cell-address-toggle {
  display: inline-block;
  margin-top: 4px;
  background: none;
  border: none;
  color: var(--wine-700);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.cell-address-toggle:hover { text-decoration: underline; }
.cell-actions { width: 1%; }

.payment-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.payment-cod { background: var(--green-100); color: var(--green-700); }
.payment-gcash { background: #dcecff; color: #1d4ed8; }
.payment-card { background: var(--gold-100); color: #8a6c1a; }

/* Status pill + dropdown */
.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 0;
  position: relative;
  border: 1.5px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
.status-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: inherit;
  padding: 5px 26px 5px 12px;
  cursor: pointer;
  border-radius: var(--radius-pill);
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(-45deg, transparent 50%, currentColor 50%);
  background-position: calc(100% - 12px) center, calc(100% - 8px) center;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
}
.status-select:focus { outline: none; }
.status-pending { background: var(--gold-100); color: #8a6c1a; border-color: #ecd994; }
.status-confirmed { background: #dcecff; color: #1d4ed8; border-color: #b8d4ff; }
.status-shipped { background: #e0d7f5; color: #5b21b6; border-color: #c8b9ee; }
.status-delivered { background: var(--green-100); color: var(--green-700); border-color: var(--green-300); }
.status-cancelled { background: #fde2e6; color: #c8334a; border-color: #f0c0c8; }

.btn-icon-delete {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--beige-300);
  background: var(--white);
  color: var(--ink-500);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-icon-delete:hover {
  background: #fde2e6;
  color: #c8334a;
  border-color: #f0c0c8;
}

.admin-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--ink-500);
}
.admin-empty-icon {
  font-size: 3rem;
  margin-bottom: 8px;
}
.admin-empty h3 {
  color: var(--ink-900);
  margin: 0 0 6px;
  font-size: 1.1rem;
}
.admin-empty p { margin: 0 0 16px; }

.admin-note {
  margin-top: 22px;
  padding: 14px 18px;
  background: var(--gold-100);
  border: 1px solid #ecd994;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: #6e5410;
}
.admin-note strong { color: #5a420a; }

@media (max-width: 980px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .admin-head { flex-direction: column; }
  .admin-actions { width: 100%; }
  .admin-toolbar { padding: 12px; flex-direction: column; align-items: stretch; }
  .admin-search { min-width: 0; }
  .admin-filters { width: 100%; }
  .admin-filters select { flex: 1 1 30%; min-width: 0; }
  .admin-table { font-size: 0.85rem; }
  .admin-table th,
  .admin-table td { padding: 10px 12px; }
  .cell-address { max-width: 160px; }
  .admin-stat-icon { width: 40px; height: 40px; font-size: 1.2rem; }
  .admin-stat-value { font-size: 1.3rem; }
  .admin-stat { padding: 14px 16px; gap: 12px; }
}
@media (max-width: 480px) {
  .admin-stats { grid-template-columns: 1fr; }
}

/* ---------- Order Page (standalone) ---------- */
.page-order { min-height: 100vh; display: flex; flex-direction: column; }
.page-order main { flex: 1; padding-top: 72px; }
.page-order .final-cta { padding: 60px 0 80px; }

/* ---------- Final CTA / Order Form ---------- */
.final-cta {
  padding: 90px 0;
  background:
    radial-gradient(ellipse at top left, rgba(110, 24, 40, 0.22), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(126, 189, 94, 0.14), transparent 55%),
    linear-gradient(180deg, var(--wine-50), var(--beige-100));
}
.final-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.final-copy h2 { margin-top: 4px; }
.final-copy .lede { color: var(--ink-700); font-size: 1.1rem; max-width: 520px; }
.final-bullets {
  list-style: none; padding: 0; margin: 24px 0;
  display: grid; gap: 10px;
}
.final-bullets li {
  font-weight: 600; color: var(--ink-700); font-size: 1rem;
}
.order-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--beige-300);
}
.order-form h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.form-sub { color: var(--ink-500); font-size: 0.95rem; margin-bottom: 22px; }

.form-row {
  margin-bottom: 16px;
  border: 0;
  padding: 0;
}
.form-row label,
.form-row legend {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.form-row label span,
.form-row legend span {
  color: var(--wine-700);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--beige-300);
  background: var(--beige-100);
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink-900);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.form-row textarea { resize: vertical; min-height: 80px; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--wine-700);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(110, 24, 40, 0.16);
}
.form-row input:invalid:not(:placeholder-shown) {
  border-color: #d24c63;
}

.payment-row legend { margin-bottom: 8px; }
.payment-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--beige-300);
  background: var(--beige-100);
  cursor: pointer;
  transition: all .15s ease;
}
.pay-card strong { font-size: 0.95rem; color: var(--ink-900); }
.pay-card small { color: var(--ink-500); font-size: 0.78rem; }
.pay-opt input:checked + .pay-card {
  border-color: var(--wine-700);
  background: var(--wine-50);
  box-shadow: 0 0 0 3px rgba(110, 24, 40, 0.14);
}
.pay-opt input:focus-visible + .pay-card {
  outline: 2px solid var(--wine-700);
  outline-offset: 2px;
}

.form-disclaimer {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--ink-500);
  text-align: center;
}

.form-success {
  margin-top: 18px;
  text-align: center;
  background: var(--green-100);
  border: 1px solid var(--green-300);
  border-radius: var(--radius-md);
  padding: 22px;
}
.success-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--green-500);
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 10px;
}
.form-success h4 { color: var(--green-700); margin-bottom: 4px; }
.form-success p { color: var(--ink-700); font-size: 0.95rem; margin: 0; }

.form-error {
  margin-top: 14px;
  text-align: center;
  color: #c8334a;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--wine-900), #1a050a);
  color: #d8c8cc;
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand-name strong { color: var(--gold-500); }
.footer-brand p { margin-top: 14px; max-width: 380px; color: #b6a4a8; font-size: 0.95rem; }

.footer-links h4,
.footer-payments h4 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-links ul,
.pay-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.footer-links a:hover { color: var(--gold-500); }
.pay-list li {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 6px;
}
.no-claims-strip {
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--wine-700);
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #fff;
}

.disclaimer {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #9a8f9c;
  font-size: 0.88rem;
  line-height: 1.6;
}
.disclaimer p { margin: 0 0 8px; }
.disclaimer p:last-child { margin: 0; }

.copyright {
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  color: #847788;
}
.copyright p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav { height: 64px; }
  .nav {
    justify-content: flex-start;
    gap: 12px;
  }
  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 60;
    order: 1;
  }
  .brand {
    position: relative;
    z-index: 60;
    order: 2;
  }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    color: var(--ink-700);
    text-shadow: none;
    padding: 96px var(--gutter) 32px;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    overflow-y: auto;
    z-index: 40;
  }
  .site-header.is-open .nav-links {
    opacity: 1;
    pointer-events: auto;
  }
  .site-header.is-open {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
  .nav-links a {
    display: block;
    padding: 22px var(--gutter);
    border-bottom: 1px solid rgba(31, 19, 32, 0.06);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--wine-900);
    margin: 0 calc(var(--gutter) * -1);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a:hover { color: var(--wine-700); background: var(--wine-50); }
  body.nav-open { overflow: hidden; }

  /* Mobile hero — stacked: image banner on top, wine text panel below */
  .hero {
    aspect-ratio: auto;
    padding: 0;
    min-height: auto;
    display: flex;
    flex-direction: column;
    background: var(--wine-900);
  }
  .hero-bg {
    position: relative;
    inset: auto;
    z-index: 0;
    height: clamp(280px, 48vh, 380px);
    flex-shrink: 0;
  }
  .hero-bg-img {
    object-fit: cover;
    object-position: 60% center;
  }
  .hero-bg-fade {
    background:
      linear-gradient(180deg,
        rgba(45, 8, 16, 0) 60%,
        rgba(45, 8, 16, 0.45) 85%,
        var(--wine-900) 100%);
  }
  .hero-grid {
    display: block;
    height: auto;
    min-height: 0;
    padding: 28px var(--gutter) 40px;
    margin-top: -1px; /* eliminate sub-pixel seam with the image fade */
  }
  .hero-grid > .hero-copy {
    grid-column: auto;
    text-shadow: none;
  }
  .hero-copy h1 {
    font-size: clamp(1.7rem, 6.8vw, 2.4rem);
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 12px;
    overflow-wrap: anywhere;
  }
  .hero-copy .lede {
    margin: 0 0 22px;
  }
  .hero-ctas {
    position: absolute;
    top: calc(clamp(280px, 48vh, 380px) / 2 - 48px);
    left: var(--gutter);
    z-index: 5;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    width: auto;
  }
  .hero-ctas .btn {
    width: auto;
    flex: 0 0 auto;
    padding: 9px 22px;
    font-size: 0.82rem;
    min-width: 140px;
    white-space: nowrap;
  }
  .hero-copy .btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .intro,
  .problem {
    min-height: auto;
    padding: 56px 0;
  }
  .intro-grid,
  .story-grid,
  .final-grid,
  .problem-grid {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    gap: 32px;
  }
  .intro-grid {
    display: flex;
    flex-direction: column;
  }
  .intro-grid .intro-copy { order: 1; }
  .intro-grid .intro-visual { order: 2; }
  .intro-grid .intro-facts { order: 3; }
  .problem-copy { text-align: center; }
  .problem-copy .problem-heading { padding-bottom: 16px; }
  .problem-copy .problem-heading::after { left: 50%; transform: translateX(-50%); }
  .problem-sub { margin-left: auto; margin-right: auto; }
  .problem-cta-row { justify-content: center; }
  .problem-reassurance { max-width: none; }
  .ingredient-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ben-wide { grid-column: span 2; flex-direction: row; }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
  .price-popular {
    order: -1;
    transform: none;
  }
  .price-popular:hover { transform: translateY(-4px); }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }

  body { font-size: 0.92rem; }
  h1 { font-size: clamp(1.55rem, 7vw, 2rem); line-height: 1.15; }
  h2 { font-size: clamp(1.25rem, 5vw, 1.6rem); line-height: 1.2; }
  h3 { font-size: 1rem; }
  p { font-size: 0.92rem; }

  .eyebrow { font-size: 0.7rem; padding: 5px 10px; }

  .section-head { margin-bottom: 28px; }
  .section-sub { font-size: 0.92rem; }

  .hero-bg { height: clamp(260px, 44vh, 340px); }
  .hero-bg-img { object-position: 62% center; }
  .hero-ctas { top: calc(clamp(260px, 44vh, 340px) / 2 - 48px); }
  .hero-copy h1 {
    font-size: clamp(1.5rem, 6.8vw, 1.95rem);
  }
  .hero-copy .lede { font-size: 0.92rem; max-width: 100%; line-height: 1.5; }

  .problem { padding: 56px 0; }
  .problem-copy h2 { margin-bottom: 8px; }
  .problem-sub { font-size: 0.9rem; }
  .problem-card { padding: 12px 16px 12px 12px; }
  .problem-card-icon { width: 56px; height: 56px; margin-right: 14px; }
  .problem-card-icon::after { right: -10px; }
  .problem-card-text { font-size: 0.88rem; }
  .problem-cta-row { flex-direction: column; align-items: stretch; gap: 14px; }
  .problem-cta-row .btn { width: 100%; }
  .problem-reassurance {
    border-left: none;
    padding-left: 0;
    justify-content: center;
    text-align: center;
  }

  .intro, .ingredients, .benefits, .pricing, .story, .how-to-order, .final-cta {
    padding: 56px 0;
  }

  .intro-product-img { max-width: 100%; width: 100%; }
  .intro-facts-img { max-width: 100%; width: 100%; margin-top: 16px; }
  .intro-copy p { font-size: 0.92rem; line-height: 1.5; margin-bottom: 0.8em; }

  .ingredient-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .ing-card { padding: 22px 16px; }
  .ing-icon { width: 56px; height: 56px; font-size: 1.5rem; }

  .benefit-grid { grid-template-columns: 1fr; gap: 14px; }
  .ben-wide {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .price-card { padding: 24px 20px; }
  .price-card h3 { font-size: 1.25rem; }
  .price-amount .amount { font-size: 2.4rem; }
  .per-box { font-size: 0.88rem; }
  .price-features li { font-size: 0.88rem; }

  .story-grid { gap: 24px; }
  .photo-frame { max-width: 280px; }
  .photo-initials { font-size: 3.6rem; }
  blockquote { padding: 18px 22px; font-size: 1rem; }

  .steps { grid-template-columns: 1fr; gap: 14px; }
  .steps li { padding: 24px 20px 20px; }

  .order-form { padding: 24px 20px; border-radius: var(--radius-md); }
  .order-form h3 { font-size: 1.2rem; }
  .form-row input,
  .form-row select,
  .form-row textarea {
    font-size: 16px;  /* prevents iOS zoom on focus */
    padding: 13px 14px;
  }
  .payment-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .pay-card { padding: 14px 16px; flex-direction: row; gap: 8px; align-items: center; }
  .pay-card strong { font-size: 1rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-brand { grid-column: span 1; }

  .btn-lg { padding: 14px 22px; font-size: 1rem; }
  .btn-sm { padding: 10px 16px; min-height: 40px; }

  .brand-name { font-size: 0.95rem; }
  .brand-mark { width: 40px; height: 40px; }
}

@media (max-width: 380px) {
  .ingredient-grid { grid-template-columns: 1fr; }
  .brand-name { display: none; }
  .hero-bg { height: 240px; }
  .hero-bg-img { object-position: 65% center; }
  .hero-ctas { top: 72px; }
  .hero-copy h1 { font-size: 1.6rem; }
  .intro-meta { grid-template-columns: 1fr; gap: 14px; }
  .intro-ingredients { grid-template-columns: repeat(2, 1fr); }
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1) var(--reveal-delay, 0s),
              transform .7s cubic-bezier(.22, .61, .36, 1) var(--reveal-delay, 0s);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1) var(--reveal-delay, 0s),
              transform .7s cubic-bezier(.22, .61, .36, 1) var(--reveal-delay, 0s);
}
.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1) var(--reveal-delay, 0s),
              transform .7s cubic-bezier(.22, .61, .36, 1) var(--reveal-delay, 0s);
}
.reveal-zoom {
  opacity: 0;
  transform: scale(.96);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1) var(--reveal-delay, 0s),
              transform .7s cubic-bezier(.22, .61, .36, 1) var(--reveal-delay, 0s);
}
.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-zoom.is-visible {
  opacity: 1;
  transform: none;
}

/* Hero entrance on initial page load */
.hero-copy > * {
  opacity: 0;
  transform: translateY(14px);
  animation: hero-rise .8s cubic-bezier(.22, .61, .36, 1) forwards;
}
.hero-copy > *:nth-child(1) { animation-delay: .15s; }
.hero-copy > *:nth-child(2) { animation-delay: .3s; }
.hero-copy > *:nth-child(3) { animation-delay: .45s; }
.hero-copy > *:nth-child(4) { animation-delay: .6s; }
.hero-bg-img {
  animation: hero-zoom 1.4s cubic-bezier(.22, .61, .36, 1) both;
}
@keyframes hero-rise {
  to { opacity: 1; transform: none; }
}
@keyframes hero-zoom {
  from { transform: scale(1.05); opacity: .85; }
  to { transform: scale(1); opacity: 1; }
}

/* Subtle hover lift on cards */
.problem-card,
.price-card,
.intro-meta,
.intro-ingredients {
  will-change: transform;
}

/* Bundle select flash when chosen via pricing CTA */
@keyframes flash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(238, 85, 153, 0); }
  40%      { box-shadow: 0 0 0 6px rgba(238, 85, 153, 0.25); }
}
.flash { animation: flash .8s ease; border-color: var(--pink-600) !important; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-zoom,
  .hero-copy > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
