﻿/* ============================================================
   JUSTA â€” design system
   ============================================================ */
:root {
  --bg: #000000;
  --surface: #000000;
  --card: #000000;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --red: #e50914;
  --red-bright: #ff2b36;
  --red-soft: rgba(229, 9, 20, 0.14);
  --red-glow: rgba(229, 9, 20, 0.55);
  --white: #f7f7f7;
  --muted: #8b8b8b;
  --wa: #25d366;
  --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --nav-h: 68px;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

::selection { background: var(--red); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1a1a1a; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { list-style: none; }

.accent { color: var(--red); }
em { font-style: normal; color: var(--red); }

section[id] { scroll-margin-top: calc(var(--nav-h) + 10px); }

/* ============================================================
   Preloader
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__logo {
  width: 84px; height: 84px;
  display: grid; place-items: center;
  background: #fff;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 0 60px var(--red-glow);
  animation: pulse 1s ease-in-out infinite;
  overflow: hidden;
}
.preloader__logo img { width: 100%; height: 100%; object-fit: contain; }
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 40px var(--red-glow); }
  50% { transform: scale(1.08); box-shadow: 0 0 80px var(--red-glow); }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-weight: 600; font-size: 15px; letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.3s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  width: 100%;
}
.btn--red { background: var(--red); color: #fff; box-shadow: 0 12px 34px -12px var(--red-glow); }
.btn--red:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 18px 44px -12px var(--red-glow); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--red); color: var(--red-bright); transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #06281a; }
.btn--wa:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn--dark { background: var(--bg); color: #fff; border-color: transparent; }
.btn--dark:hover { background: #111; transform: translateY(-2px); }
.btn--dark-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn--dark-ghost:hover { border-color: #fff; transform: translateY(-2px); }
.btn--link { background: none; color: var(--muted); border: none; padding: 6px; text-decoration: underline; width: auto; }
.btn--link:hover { color: var(--red); }
.btn--sm { padding: 11px 20px; font-size: 14px; width: auto; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(0, 0, 0, 0.92); }
.nav__inner {
  max-width: 1180px; height: 100%;
  margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__img { height: 30px; width: auto; display: block; }
.logo__mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 20px;
  border-radius: 9px;
  box-shadow: 0 6px 22px -6px var(--red-glow);
}
.logo__text { font-family: var(--font-head); font-weight: 700; letter-spacing: 3px; font-size: 18px; }
.logo__dot { color: var(--red); }
.nav__links { display: none; align-items: center; gap: 28px; }
.nav__links a {
  color: var(--muted); font-size: 14.5px; font-weight: 500;
  position: relative; transition: color 0.2s ease;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--red); transition: width 0.25s ease;
}
.nav__links a:hover, .nav__links a.active { color: var(--white); }
.nav__links a.active::after, .nav__links a:hover::after { width: 100%; }
.nav__cta { display: none; }
.nav__burger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--white); transition: transform 0.25s ease, opacity 0.2s ease; }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  display: none;
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: rgba(0, 0, 0, 0.98);
  border-bottom: 1px solid var(--line);
  padding: 12px 20px calc(20px + env(safe-area-inset-bottom));
  flex-direction: column; gap: 4px;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 14px 4px; font-weight: 600; font-size: 17px;
  border-bottom: 1px solid var(--line); color: var(--muted);
}
.nav__mobile a:hover { color: var(--white); }
.nav__mobile .btn { border-bottom: none; margin-top: 12px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--nav-h) + 48px) 20px 56px;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; z-index: 0; opacity: 0.7; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 380px at 85% -10%, rgba(229, 9, 20, 0.16), transparent 60%),
    radial-gradient(500px 420px at -10% 110%, rgba(229, 9, 20, 0.10), transparent 60%);
}
.hero__inner { position: relative; z-index: 1; max-width: 860px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--muted); font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
}
.eyebrow__line { width: 30px; height: 1px; background: var(--red); }
.hero__eyebrow { animation: rise 0.8s var(--ease) both; }
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(38px, 11vw, 76px);
  line-height: 1.05; letter-spacing: -2px; font-weight: 700;
  margin: 20px 0 18px;
  animation: rise 0.8s var(--ease) 0.1s both;
}
.hero__sub {
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 19px);
  max-width: 600px; margin: 0 auto 32px;
  animation: rise 0.8s var(--ease) 0.2s both;
}
.hero__actions {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 360px; margin: 0 auto;
  animation: rise 0.8s var(--ease) 0.3s both;
}
.hero__stats {
  display: flex; justify-content: center; gap: clamp(20px, 7vw, 72px);
  margin-top: 56px; flex-wrap: wrap;
  animation: rise 0.8s var(--ease) 0.45s both;
}
.stat { text-align: center; min-width: 100px; }
.stat__num { font-family: var(--font-head); font-size: clamp(28px, 5vw, 44px); font-weight: 700; line-height: 1; }
.stat__plus { color: var(--red); font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 3vw, 28px); }
.stat__label { display: block; color: var(--muted); font-size: 12.5px; margin-top: 6px; letter-spacing: 0.3px; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  background: var(--red);
  border-block: 1px solid var(--red);
  overflow: hidden;
  padding: 13px 0;
  transform: rotate(-0.8deg) scale(1.02);
}
.marquee__track {
  display: flex; gap: 22px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: #fff; font-size: 14px;
  animation: marquee 24s linear infinite;
  width: max-content;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: clamp(60px, 10vw, 110px) 20px; }
.section--tight { padding: clamp(52px, 8vw, 90px) 20px; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head .eyebrow { margin-bottom: 14px; }
.section__title {
  font-family: var(--font-head);
  font-size: clamp(30px, 7vw, 50px);
  line-height: 1.08; letter-spacing: -1.5px; font-weight: 700;
}
.section__sub { color: var(--muted); margin-top: 14px; font-size: clamp(15.5px, 2vw, 17px); }
.section__cta { text-align: center; margin-top: 44px; }
.desktop-only { display: none; }

/* ============================================================
   Pains
   ============================================================ */
.pains { display: grid; gap: 14px; max-width: 880px; margin: 0 auto; }
.pain {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
  font-size: 15.5px; color: #d5d5d5;
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}
.pain:hover { border-color: rgba(229, 9, 20, 0.45); transform: translateX(4px); }
.pain__icon {
  width: 30px; height: 30px; flex-shrink: 0;
  display: grid; place-items: center;
  color: var(--red-bright);
  border: 1px solid rgba(229, 9, 20, 0.35); border-radius: 9px;
  background: var(--red-soft);
  font-size: 14px; font-weight: 700;
}
.pain strong { color: var(--white); }
.pain__bridge { font-family: var(--font-head); font-size: clamp(19px, 3.4vw, 26px); font-weight: 600; color: var(--muted); line-height: 1.3; }
.pain__bridge span { color: var(--white); }

/* ============================================================
   Services grid
   ============================================================ */
.services { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.services::-webkit-scrollbar { display: none; }
.card {
  flex: 0 0 82%; scroll-snap-align: center;
  background: linear-gradient(180deg, var(--card), #000000);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  position: relative; overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.3s ease;
}
.card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(420px 220px at 50% -20%, rgba(229, 9, 20, 0.18), transparent 70%);
  opacity: 0; transition: opacity 0.3s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(229, 9, 20, 0.5); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.9); }
.card:hover::before { opacity: 1; }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.service__num { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--red); letter-spacing: 1px; }
.service__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 12px;
  color: var(--white); font-size: 17px; background: #000000;
}
.service__name { font-family: var(--font-head); font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.service__desc { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.service__list { display: grid; gap: 8px; margin-bottom: 22px; }
.service__list li { font-size: 14px; color: #cfcfcf; padding-left: 20px; position: relative; }
.service__list li::before { content: 'â†’'; position: absolute; left: 0; color: var(--red); }
.service__foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; }
.service__price { font-family: var(--font-head); font-weight: 600; color: var(--red-bright); }
.service__duration { font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }

/* ============================================================
   Results
   ============================================================ */
.results { display: grid; gap: 16px; max-width: 1180px; margin: 0 auto; }
.result-card {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.12), transparent 55%), var(--card);
  border: 1px solid var(--line);
  border-radius: 18px; padding: 28px;
  position: relative; overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s ease;
}
.result-card:hover { transform: translateY(-5px); border-color: rgba(229, 9, 20, 0.5); }
.result-card__stat {
  font-family: var(--font-head); font-size: clamp(40px, 8vw, 58px); font-weight: 700;
  color: var(--red-bright); line-height: 1; display: block; margin-bottom: 10px;
}
.result-card__text { color: #d5d5d5; font-size: 15.5px; margin-bottom: 16px; }
.result-card__tag {
  font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; display: inline-block;
}

/* ============================================================
   Testimonials
   ============================================================ */
.t-carousel { max-width: 720px; margin: 0 auto; }
.t-carousel__viewport { overflow: hidden; border-radius: 18px; }
.t-carousel__track { display: flex; transition: transform 0.5s var(--ease); }
.t-card {
  flex: 0 0 100%;
  background: linear-gradient(160deg, var(--card), #000000);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 5vw, 40px);
  min-height: 250px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  transition: opacity 0.45s ease, transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}
.t-card.active { opacity: 1; transform: scale(1); }
.t-card:not(.active) { opacity: 0.3; transform: scale(0.96); }
.t-card.active:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(229, 9, 20, 0.55);
  box-shadow: 0 32px 70px -28px rgba(229, 9, 20, 0.35);
}
.t-card blockquote {
  font-family: var(--font-head);
  font-size: clamp(17px, 3.4vw, 22px);
  line-height: 1.45; font-weight: 500;
  color: var(--white);
}
.t-card blockquote::before { content: '\201C'; color: var(--red); font-size: 1.5em; display: block; line-height: 0.5; }
.t-fig {
  display: flex; align-items: center; gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.t-meta { display: grid; gap: 3px; }
.t-meta strong { font-family: var(--font-head); font-size: 15px; }
.t-meta span:last-child { color: var(--muted); font-size: 13px; }
.t-carousel__nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }
.t-btn {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent; color: var(--white);
  font-size: 18px; cursor: pointer;
  display: grid; place-items: center;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.t-btn:hover { border-color: var(--red); color: var(--red-bright); background: var(--red-soft); }
.t-dots { display: flex; gap: 8px; }
.t-dot { width: 8px; height: 8px; border-radius: 50%; background: #1a1a1a; border: 0; padding: 0; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; }
.t-dot.active { background: var(--red); transform: scale(1.3); }

/* ============================================================
   Steps
   ============================================================ */
.steps { display: grid; gap: 26px; max-width: 1180px; margin: 0 auto; }
.step { border-left: 1px solid var(--line); padding: 8px 0 8px 24px; position: relative; }
.step::before {
  content: ''; position: absolute; left: -3px; top: 10px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.9);
}
.step__num {
  font-family: var(--font-head); font-size: 40px; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px var(--red);
  display: block; margin-bottom: 8px;
}
.step__title { font-family: var(--font-head); font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq__item[open] { border-color: rgba(229, 9, 20, 0.45); }
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 18px;
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; font-size: 22px; color: var(--red); font-weight: 500;
  transition: transform 0.25s ease; flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); font-size: 14.5px; padding: 0 18px 18px; }

/* ============================================================
   Booking
   ============================================================ */
.booking { display: grid; gap: 32px; max-width: 1180px; margin: 0 auto; align-items: start; }
.booking__info-title { font-family: var(--font-head); font-size: 21px; margin-bottom: 18px; }
.booking__points { display: grid; gap: 14px; margin-bottom: 26px; }
.booking__points li { display: flex; align-items: flex-start; gap: 12px; color: #d5d5d5; font-size: 15px; }
.point__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-top: 9px; flex-shrink: 0; box-shadow: 0 0 10px rgba(229, 9, 20, 0.7); }
.booking__contact { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 18px; }
.booking__contact-label { display: block; color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.booking__contact-link { font-family: var(--font-head); font-weight: 600; color: var(--wa); display: block; font-size: 16px; }
.booking__contact-link:hover { text-decoration: underline; }
.booking__contact-alt { display: block; color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.booking__contact-alt a { color: var(--red-bright); }
.booking__slot-summary { margin-top: 20px; border: 1px solid rgba(229, 9, 20, 0.4); background: var(--red-soft); border-radius: var(--radius); padding: 16px; }
.slot-summary__label { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--red-bright); font-weight: 600; }
.booking__slot-summary strong { display: block; margin-top: 4px; font-family: var(--font-head); font-size: 15px; }

.widget {
  background: linear-gradient(180deg, var(--card), #000000);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(20px, 5vw, 34px);
  position: relative;
}
.widget__progress { height: 4px; background: #1c1c1c; border-radius: 4px; margin-bottom: 24px; overflow: hidden; }
.widget__progress-bar { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--red), var(--red-bright)); border-radius: 4px; transition: width 0.35s var(--ease); }
.widget__title { font-family: var(--font-head); font-size: clamp(20px, 4.4vw, 26px); margin-bottom: 18px; }
.widget__hint { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.widget__error { color: var(--red-bright); font-size: 14px; margin: 6px 0 12px; }
.widget__options { display: grid; gap: 12px; }
.opt {
  display: flex; justify-content: space-between; align-items: center;
  background: #000000; border: 1px solid var(--line); color: var(--white);
  border-radius: 12px; padding: 16px 18px;
  font-size: 15px; font-weight: 500; cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
  text-align: left; width: 100%;
}
.opt span { color: var(--muted); font-size: 13px; font-family: var(--font-body); }
.opt:hover { border-color: rgba(229, 9, 20, 0.6); transform: translateX(3px); }
.opt.selected { border-color: var(--red); background: var(--red-soft); }
.opt.selected span { color: var(--red-bright); }

.widget__dates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.date-pill {
  background: #000000; border: 1px solid var(--line); color: var(--white);
  border-radius: 12px; padding: 12px 6px; cursor: pointer; text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
  font-family: var(--font-head);
}
.date-pill:hover { border-color: rgba(229, 9, 20, 0.6); transform: translateY(-2px); }
.date-pill.selected { border-color: var(--red); background: var(--red-soft); }
.date-pill.disabled, .date-pill:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.date-pill__day { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.date-pill__num { display: block; font-size: 22px; font-weight: 600; }

.widget__times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.time-pill {
  background: #000000; border: 1px solid var(--line); color: var(--white);
  border-radius: 10px; padding: 13px 6px; cursor: pointer; text-align: center;
  font-family: var(--font-head); font-weight: 500; font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.time-pill:hover { border-color: rgba(229, 9, 20, 0.6); transform: translateY(-2px); }
.time-pill.selected { border-color: var(--red); background: var(--red-soft); color: var(--white); }
.time-pill.disabled, .time-pill:disabled { opacity: 0.3; cursor: not-allowed; transform: none; }
.time-pill.booked { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.time-pill.booked:hover { transform: none; border-color: var(--line); }

.widget__form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13.5px; color: #cfcfcf; font-weight: 500; }
.field em { color: var(--muted); font-style: normal; font-weight: 400; }
.field input, .field textarea {
  background: #000000; border: 1px solid var(--line); color: var(--white);
  border-radius: 10px; padding: 13px 14px; font-size: 16px; font-family: inherit;
  outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical; width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.15); }
.field input.invalid { border-color: var(--red-bright); }

.widget__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.widget__done { text-align: center; padding: 14px 0; }
.done__check {
  width: 62px; height: 62px; margin: 0 auto 16px;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; font-size: 30px; font-weight: 700;
  box-shadow: 0 0 40px rgba(229, 9, 20, 0.6);
  animation: pop 0.4s var(--ease);
}
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.done__text { color: var(--muted); max-width: 420px; margin: 0 auto 18px; }
.done__details { background: var(--red-soft); border: 1px solid rgba(229, 9, 20, 0.4); border-radius: 12px; padding: 16px; margin-bottom: 18px; font-size: 15px; }
.done__details strong { color: var(--white); }
.btn__loader {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Minijuego: El Embudo Roto
   ============================================================ */
.game { max-width: 440px; margin: 0 auto; }
.game__frame {
  background: #000000;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 30px 80px -30px rgba(229, 9, 20, 0.3);
}
.game__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.game__title {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px; letter-spacing: 1px; color: var(--white);
}
.game__title::before { content: '▶ '; color: var(--red); }
.game__sound {
  font-family: 'Press Start 2P', monospace; font-size: 8px;
  background: none; border: 1px solid var(--line);
  color: var(--muted); padding: 7px 9px; border-radius: 6px;
  cursor: pointer; transition: color 0.2s ease, border-color 0.2s ease;
}
.game__sound:hover { color: var(--red-bright); border-color: var(--red); }
.game__screen { position: relative; border-radius: 8px; overflow: hidden; background: #000000; border: 1px solid rgba(229, 9, 20, 0.3); }
.game__canvas {
  display: block; width: 100%; height: auto;
  image-rendering: pixelated; image-rendering: crisp-edges;
  background: #000000;
  touch-action: none;
}
.game__overlay[hidden] { display: none; }
.game__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  text-align: center; padding: 22px;
  background: rgba(0, 0, 0, 0.9);
  font-family: 'Press Start 2P', monospace;
}
.game__blink { color: var(--red-bright); font-size: 13px; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }
.game__hint { color: var(--muted); font-size: 8.5px; line-height: 2; }
.game__end-title { font-size: 14px; color: var(--white); }
.game__end-msg { font-size: 9px; color: var(--muted); line-height: 1.9; max-width: 320px; }
.game__end-score { font-size: 10px; color: var(--white); }
.game__end-score strong { color: var(--red-bright); }
.game__cta { white-space: normal; height: auto; padding: 14px 18px; line-height: 1.5; }
.game__cta span { display: block; font-size: 12px; font-weight: 500; font-family: var(--font-body); }
.game__cta strong { display: block; font-size: 14px; font-weight: 700; font-family: var(--font-head); }
.game__legend { display: flex; justify-content: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.game__legend span { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); font-family: var(--font-head); }
.px { width: 12px; height: 12px; display: inline-block; border-radius: 2px; }
.px--lead { background: #ffffff; }
.px--bad { background: var(--red); }
.px--super { background: #ffffff; box-shadow: 0 0 0 2px var(--red); }
.px--bar { background: var(--red); box-shadow: 0 0 0 2px #ffffff; }

/* ============================================================
   CTA final
   ============================================================ */
.cta-final {
  background:
    radial-gradient(800px 400px at 50% -20%, rgba(255, 255, 255, 0.12), transparent 60%),
    var(--red);
  padding: clamp(60px, 10vw, 110px) 20px;
  text-align: center;
  position: relative; overflow: hidden;
}
.eyebrow--onred { color: rgba(255, 255, 255, 0.85); }
.eyebrow__line--white { background: #fff; }
.cta-final__title {
  font-family: var(--font-head);
  font-size: clamp(30px, 7vw, 56px);
  font-weight: 700; letter-spacing: -1.5px; line-height: 1.08;
  margin: 18px 0 16px;
}
.cta-final__accent { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.5); text-underline-offset: 8px; }
.cta-final__sub { color: rgba(255, 255, 255, 0.85); font-size: clamp(15px, 2.2vw, 17px); max-width: 480px; margin: 0 auto 30px; }
.cta-final__actions { display: flex; flex-direction: column; gap: 12px; max-width: 360px; margin: 0 auto; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: #000000; padding-top: 56px; }
.footer__inner {
  max-width: 1180px; margin: 0 auto; padding: 0 20px 44px;
  display: grid; gap: 30px; grid-template-columns: 1fr 1fr;
}
.footer__brand .logo { margin-bottom: 14px; }
.footer__tag { color: var(--muted); font-size: 14.5px; max-width: 300px; }
.footer__wa {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--wa); font-family: var(--font-head); font-weight: 600; font-size: 15px;
  margin-top: 14px;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-family: var(--font-head); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.footer__col a { color: #cfcfcf; font-size: 14.5px; transition: color 0.2s ease; width: fit-content; }
.footer__col a:hover { color: var(--red-bright); }
.footer__bar {
  border-top: 1px solid var(--line);
  padding: 20px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px; max-width: 1180px; margin: 0 auto;
}
.footer__heart { color: var(--red); }

/* ============================================================
   Cursor personalizado
   ============================================================ */
.cursor { display: none; }

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html, body, a, button, input, textarea, select, summary, label, .opt, .date-pill, .time-pill { cursor: none; }

  .cursor {
    display: block;
    position: fixed; inset: 0 auto auto 0; z-index: 9999;
    pointer-events: none;
  }
  .cursor__dot {
    position: fixed; left: 0; top: 0;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--red);
    transform: translate(-50%, -50%);
    transition: opacity 0.25s ease;
  }
  .cursor__ring {
    position: fixed; left: 0; top: 0;
    width: 36px; height: 36px; border-radius: 50%;
    border: 1.5px solid rgba(229, 9, 20, 0.65);
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.25s var(--ease), border-color 0.2s ease, background 0.2s ease;
  }
  .cursor.hover .cursor__ring {
    transform: translate(-50%, -50%) scale(1.7);
    border-color: var(--red-bright);
    background: rgba(229, 9, 20, 0.12);
  }
  .cursor.hidden .cursor__dot,
  .cursor.hidden .cursor__ring { opacity: 0; }
}

@media (pointer: fine) and (prefers-reduced-motion: reduce) {
  .cursor { display: none !important; }
}

/* ============================================================
   Reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   Tablet (>= 640px)
   ============================================================ */
@media (min-width: 640px) {
  .btn { width: auto; }
  .hero__actions { flex-direction: row; max-width: none; justify-content: center; }
  .pains { grid-template-columns: 1fr 1fr; }
  .card { flex-basis: 46%; }
  .results { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .cta-final__actions { flex-direction: row; max-width: none; justify-content: center; }
  .widget__dates { grid-template-columns: repeat(5, 1fr); }
  .widget__times { grid-template-columns: repeat(4, 1fr); }
  .footer__inner { grid-template-columns: 2fr 1fr 1fr; }
  .nav__mobile { display: none !important; }
}

/* ============================================================
   Desktop (>= 960px)
   ============================================================ */
@media (min-width: 960px) {
  :root { --nav-h: 74px; }
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
  .hero { min-height: 100vh; }
  .hero__title { letter-spacing: -3px; }
  .desktop-only { display: block; }
  .services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; overflow: visible; padding: 0; margin: 0; scroll-snap-type: none; }
  .services::-webkit-scrollbar { display: block; }
  .card { flex: none; scroll-snap-align: none; }
  .results { grid-template-columns: repeat(3, 1fr); }
  .booking { grid-template-columns: 1fr 1.5fr; }
  .widget__dates { grid-template-columns: repeat(6, 1fr); }
  .widget__times { grid-template-columns: repeat(5, 1fr); }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .preloader { display: none; }
}
