/* ============================================================
   KC WELLNESS — BOTOX OFFER
   Phone-frame layout: 390px column centered on desktop
   Dark luxury — near-black, cream, warm gold
   ============================================================ */

:root {
  --gold:        #C9A96E;
  --gold-light:  #E8D48B;
  --gold-dark:   #9B7B3A;
  --ink:         #0D0D0D;
  --ink-card:    #171717;
  --ink-border:  rgba(255,255,255,0.08);
  --cream:       #EDE8E0;
  --cream-muted: #9E9890;
  --white:       #FFFFFF;

  --font-display: 'Cinzel', serif;
  --font-heading: 'Cormorant Garamond', serif;
  --font-ui:      'Raleway', sans-serif;

  --col: 390px;
  --ease: 0.24s ease;
}

/* --- RESET ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: #000;
  color: var(--cream);
  font-family: var(--font-ui);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* ============================================================
   PAGE WRAP — phone column centered on desktop
   ============================================================ */
.page-wrap {
  max-width: var(--col);
  width: 100%;
  margin: 0 auto;
  background: var(--ink);
  min-height: 100vh;
  position: relative;
  /* rounded top corners matching reference */
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  /* subtle shadow so the column lifts off the black bg on desktop */
  box-shadow: 0 0 80px rgba(0,0,0,0.9);
}


/* ============================================================
   HERO — full viewport height, image fills column
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
}

/* Portrait fills the entire hero column */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* Gradient: lighter at top (so topbar text reads), darker at bottom (so headline reads) */
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.28) 0%,
    rgba(0,0,0,0.0)  22%,
    rgba(0,0,0,0.0)  38%,
    rgba(0,0,0,0.55) 68%,
    rgba(0,0,0,0.82) 85%,
    rgba(13,13,13,1) 100%
  );
}

/* Top bar — logo left, badge right */
.hero-topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 0;
}

.topbar-logo {
  width: 120px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.topbar-badge {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--ink);
  background: var(--gold);
  padding: 6px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

/* Bottom content — label, headline, sub, button, location */
.hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  padding: 0 24px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-label {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 3.5px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Shimmer headline matching KC Wellness page pattern */
.hero-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(46px, 12vw, 64px);
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--white);
  margin-bottom: 14px;

  background: linear-gradient(
    90deg,
    var(--white)      0%,
    var(--gold-dark)  20%,
    var(--gold)       38%,
    var(--gold-light) 50%,
    var(--gold)       62%,
    var(--gold-dark)  80%,
    var(--white)      100%
  );
  background-size: 280% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.9s ease 0.3s forwards, shimmer 7s linear 2s infinite;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
}

@keyframes shimmer {
  0%   { background-position: 240% center; }
  100% { background-position: -240% center; }
}

.hero-sub {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
  color: rgba(237,232,224,0.82);
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 24px;
}

.btn-pill {
  display: inline-block;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 55%, var(--gold) 100%);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: box-shadow var(--ease), transform 0.1s;
  box-shadow: 0 4px 28px rgba(201,169,110,0.38);
  text-align: center;
  width: 100%;
  max-width: 340px;
}

.btn-pill:hover  { box-shadow: 0 6px 36px rgba(201,169,110,0.55); }
.btn-pill:active { transform: scale(0.98); }

.btn-pill--sm {
  font-size: 9px;
  letter-spacing: 2.5px;
  padding: 13px 28px;
  max-width: 240px;
}

.hero-location {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-top: 14px;
}

/* Hero load animations */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.d2 { animation-delay: 0.55s; }
.d3 { animation-delay: 0.8s; }
.d4 { animation-delay: 1.05s; }


/* ============================================================
   THREE CARDS — visible just below the fold, hints at scroll
   ============================================================ */
.cards-section {
  background: var(--ink);
  padding: 0 16px 4px;
}

.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px 0;
}

.card {
  background: var(--ink-card);
  border: 1px solid var(--ink-border);
  border-radius: 12px;
  padding: 16px 12px;
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 6px;
}

.card-body {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 11px;
  color: var(--cream-muted);
  line-height: 1.6;
}


/* ============================================================
   OFFER SPOTLIGHT
   ============================================================ */
.offer-section {
  background: var(--ink);
  padding: 64px 28px 56px;
  text-align: center;
}

.offer-eyebrow {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 5px;
  color: var(--cream-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.offer-sub-tag {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 32px;
}

/* Giant gold price number */
.offer-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
  margin-bottom: 12px;

  background: linear-gradient(
    160deg,
    var(--gold-dark)  0%,
    var(--gold)       35%,
    var(--gold-light) 55%,
    var(--gold)       75%,
    var(--gold-dark)  100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.offer-dollar {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(48px, 16vw, 72px);
  padding-top: 14px;
  line-height: 1;
}

.offer-num {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(110px, 34vw, 160px);
  line-height: 0.9;
  letter-spacing: -4px;
}

.offer-unit {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 5px;
  color: var(--cream-muted);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.offer-rule {
  width: 48px;
  height: 1px;
  background: rgba(201,169,110,0.4);
  margin: 0 auto 28px;
}

.offer-compare {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(22px, 6vw, 30px);
  color: var(--cream-muted);
  line-height: 1.35;
  margin-bottom: 20px;
}

.offer-compare strong {
  color: var(--white);
  font-weight: 600;
}

.offer-body {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 13px;
  color: var(--cream-muted);
  line-height: 1.8;
  max-width: 320px;
  margin: 0 auto;
}

/* ============================================================
   VIDEO
   ============================================================ */
.video-section {
  background: var(--ink);
  overflow: hidden;
}

.video-wrap video {
  width: 100%;
  display: block;
  max-height: 480px;
  object-fit: cover;
}


/* ============================================================
   DETAIL / BENEFIT LIST
   ============================================================ */
.detail-section {
  background: var(--ink);
  padding: 48px 24px;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
  text-align: center;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 4px 0 20px;
}

.detail-icon {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold);
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  padding-top: 2px;
}

.detail-text h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}

.detail-text p {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 13px;
  color: var(--cream-muted);
  line-height: 1.75;
}

.detail-divider {
  height: 1px;
  background: var(--ink-border);
  margin: 4px 0 20px;
}


/* ============================================================
   MID-PAGE IMAGE
   ============================================================ */
.midpage {
  overflow: hidden;
  position: relative;
}

.midpage-img-wrap {
  position: relative;
}

.midpage-img-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 480px;
  filter: brightness(0.65);
}

.midpage-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.midpage-tag {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.midpage-heading {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(28px, 8vw, 38px);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 24px;
}

.midpage-heading em { font-style: italic; }


/* ============================================================
   BEFORE & AFTER
   ============================================================ */
.ba-section {
  background: var(--ink);
  padding: 56px 16px 48px;
  text-align: center;
}

.ba-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 32px;
  color: var(--white);
  margin-bottom: 28px;
}

/* Tab bar */
.ba-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  border: 1px solid var(--ink-border);
  border-radius: 100px;
  overflow: hidden;
  padding: 4px;
  background: var(--ink-card);
}

.ba-tab {
  flex: 1;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--cream-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 12px 8px;
  border-radius: 100px;
  transition: background 0.25s ease, color 0.25s ease;
  text-transform: uppercase;
}

.ba-tab.active {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  color: var(--ink);
}

/* Slider */
.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  margin-bottom: 32px;
  border: 1px solid var(--ink-border);
}

.ba-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.ba-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.ba-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.ba-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 2.5px;
  color: var(--cream-muted);
  text-transform: uppercase;
}

.ba-stats .dot { color: var(--gold); font-size: 6px; }

.ba-tagline {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 5px;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0.65;
}


/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: var(--ink);
  padding: 64px 24px;
  text-align: center;
  border-top: 1px solid var(--ink-border);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.diamond {
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.dline {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 16px;
}

.cta-sub {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  color: var(--cream-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-note {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--cream-muted);
  margin-top: 18px;
  opacity: 0.55;
}


/* ============================================================
   FORM SECTION
   ============================================================ */
.form-section {
  background: var(--ink);
  padding: 16px 16px 48px;
}

.form-card {
  background: var(--ink-card);
  border: 1px solid rgba(201,169,110,0.22);
  border-radius: 16px;
  padding: 40px 24px 36px;
  text-align: center;
}

.form-eyebrow {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.form-heading {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(30px, 9vw, 42px);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.form-heading em { font-style: italic; }

.form-sub {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 13px;
  color: var(--cream-muted);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

/* Two-column row for first/last */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Field */
.fld {
  margin-bottom: 16px;
  text-align: left;
  position: relative;
}

.fld label {
  display: block;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 3px;
  color: var(--cream-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.fld input[type="text"],
.fld input[type="email"],
.fld input[type="tel"] {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fld input::placeholder { color: rgba(255,255,255,0.2); }

.fld input:focus {
  border-color: rgba(201,169,110,0.55);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.08);
}

.fld input.error { border-color: rgba(220,80,80,0.5); }

.fld-err {
  display: block;
  font-family: var(--font-ui);
  font-size: 10px;
  color: #e07070;
  margin-top: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.fld-err.visible { opacity: 1; }

/* Phone row */
.phone-row {
  display: flex;
  gap: 0;
}

.country-select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-right: none;
  border-radius: 10px 0 0 10px;
  padding: 14px 10px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--white);
  outline: none;
  cursor: pointer;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C9A96E' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 24px;
  transition: border-color 0.2s;
}

.country-select option { background: #1a1a1a; }

.country-select:focus {
  border-color: rgba(201,169,110,0.55);
  outline: none;
}

.phone-row input[type="tel"] {
  border-radius: 0 10px 10px 0;
  flex: 1;
  min-width: 0;
}

/* Full-width pill button */
.btn-pill--full {
  width: 100%;
  max-width: 100%;
  margin-top: 8px;
  padding: 18px;
}

.form-urgency {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 16px;
  opacity: 0.7;
}

/* Success state */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 24px 0;
  gap: 12px;
}

.form-success.visible {
  display: flex;
}

.success-check {
  width: 52px;
  height: 52px;
}

.check-circle {
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: strokeIn 0.6s ease 0.1s forwards;
}

.check-path {
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: strokeIn 0.4s ease 0.55s forwards;
}

@keyframes strokeIn { to { stroke-dashoffset: 0; } }

.success-main {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--white);
  font-weight: 300;
}

.success-sub {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--cream-muted);
  font-weight: 300;
  line-height: 1.6;
  max-width: 260px;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--ink-border);
  padding: 48px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-logo {
  width: 140px;
  filter: brightness(0) invert(1);
  opacity: 0.55;
}

.footer-address {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 12px;
  color: var(--cream-muted);
  letter-spacing: 0.3px;
}

.footer-ig {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 12px;
  color: var(--cream-muted);
  transition: color var(--ease);
}
.footer-ig:hover { color: var(--gold); }

.footer-rule {
  width: 40px; height: 1px;
  background: rgba(201,169,110,0.25);
}

.footer-copy {
  font-family: var(--font-ui);
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--cream-muted);
  opacity: 0.4;
}


/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   SECTION GRADIENT TRANSITIONS
   Each section fades in from the top and fades out at the bottom,
   creating the smooth dissolve seen in the reference.
   ============================================================ */

/* Gradient fade INTO top of section (from transparent → section bg) */
.cards-section::before,
.offer-section::before,
.video-section::before,
.detail-section::before,
.midpage::before,
.ba-section::before,
.form-section::before,
.footer::before {
  content: '';
  display: block;
  height: 48px;
  margin-bottom: -48px;
  background: linear-gradient(to bottom, var(--ink), transparent);
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* Gradient fade OUT of bottom of section (section bg → transparent/ink) */
.hero::after,
.cards-section::after,
.offer-section::after,
.video-section::after,
.detail-section::after,
.midpage::after,
.ba-section::after,
.form-section::after {
  content: '';
  display: block;
  height: 56px;
  margin-top: -56px;
  background: linear-gradient(to top, var(--ink), transparent);
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* Video and midpage sections use a slightly deeper fade since they have images */
.video-section::after,
.midpage::after {
  height: 80px;
  margin-top: -80px;
}

.video-section::before,
.midpage::before {
  height: 80px;
  margin-bottom: -80px;
}

/* ============================================================
   DESKTOP — keep phone frame, add subtle side labels
   ============================================================ */
@media (min-width: 500px) {
  /* Nothing overrides — the page-wrap constraint does everything */
}
