/* ============================================================
   Farizon V7E landing — dark "interactive product" theme
   Distinta de la SV (clara/editorial). Base navy + acento teal
   tomado de la iluminación de interior del propio V7E.
   ============================================================ */

:root {
  --bg:        #0A0E16;
  --bg-2:      #0E1320;
  --surface:   #141A29;
  --surface-2: #1B2335;
  --line:      rgba(255,255,255,.10);
  --line-2:    rgba(255,255,255,.06);
  --text:      #EAF0F7;
  --text-mut:  #9AA7B8;
  --text-dim:  #6B7888;
  --accent:    #2BE0BE;       /* teal eléctrico */
  --accent-2:  #14B894;
  --accent-ink:#04221C;
  --danger:    #FF6B5E;

  --r-sm: 10px; --r: 16px; --r-lg: 22px; --r-xl: 30px;
  --shadow: 0 24px 60px -20px rgba(0,0,0,.7);
  --maxw: 1200px;
  --ff-display: "Space Grotesk", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, sans-serif;
  --ff-mono: "Spline Sans Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.hl { color: var(--accent); }

/* ----- shared bits ----- */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow--center { text-align: center; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-title {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.1; letter-spacing: -.02em;
}
.section-sub { color: var(--text-mut); margin-top: 16px; font-size: 1.02rem; }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-mono); font-size: .76rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-mut); margin-bottom: 20px;
}
.kicker--center { justify-content: center; }
.kicker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(43,224,190,.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff-display); font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; border-radius: 999px; padding: 13px 22px;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -8px rgba(43,224,190,.5); }
.btn--primary:hover { background: #46ecca; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--lg { padding: 15px 26px; font-size: 1rem; }
.btn--xl { padding: 18px 34px; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* ----- topbar ----- */
.topbar {
  background: #05070C; color: var(--text-mut); text-align: center;
  font-size: .82rem; padding: 9px 40px 9px 16px; position: relative; z-index: 60;
  border-bottom: 1px solid var(--line-2);
}
.topbar__short { display: none; }
.topbar__close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--text-dim); display: inline-flex; padding: 4px; }
.topbar__close:hover { color: var(--text); }
.topbar[hidden] { display: none; }

/* ----- header ----- */
.header { position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); background: rgba(10,14,22,.72);
  border-bottom: 1px solid var(--line-2); transition: background .3s; }
.header__inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.header__logo { display: inline-flex; align-items: center; gap: 10px; }
.header__logo img { height: 26px; width: auto; }
.header__model { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .14em;
  color: var(--accent); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; }
.header__nav { display: flex; gap: 26px; margin-left: auto; }
.header__nav a { font-size: .92rem; color: var(--text-mut); transition: color .15s; }
.header__nav a:hover { color: var(--text); }
.header .btn { margin-left: 8px; }

/* ----- hero ----- */
.hero { position: relative; padding: clamp(40px, 6vw, 78px) 0 0; overflow: hidden; }
.hero__glow { position: absolute; inset: -20% 0 auto; height: 700px;
  background: radial-gradient(60% 70% at 70% 25%, rgba(43,224,190,.16), transparent 70%);
  pointer-events: none; z-index: 0; }
.hero__inner { position: relative; z-index: 1; display: grid;
  grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.hero__title { font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.04; letter-spacing: -.025em; }
.hero__sub { color: var(--text-mut); font-size: 1.08rem; margin-top: 20px; max-width: 30em; }
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__note { color: var(--text-dim); font-size: .85rem; margin-top: 16px; }

.hero__stage { position: relative; }
.viewer { position: relative; aspect-ratio: 16/10; width: 100%;
  touch-action: pan-y; cursor: grab; user-select: none;
  background: radial-gradient(120% 90% at 50% 18%, #11151f 0%, #06070b 75%);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.viewer:active { cursor: grabbing; }
.viewer__img { width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 40px 50px rgba(0,0,0,.6)); position: relative; z-index: 1; }
.viewer__floor { position: absolute; left: 8%; right: 8%; bottom: 6%; height: 40px; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(43,224,190,.22), transparent 70%); filter: blur(8px); }
.viewer__hint { position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-mono);
  font-size: .74rem; color: var(--text-mut); background: rgba(20,26,41,.7);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; transition: opacity .4s; }
.viewer.is-touched .viewer__hint { opacity: 0; }

.hero__pricetag { position: absolute; top: 6%; right: 0; text-align: right;
  background: rgba(20,26,41,.66); border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 16px; backdrop-filter: blur(8px); }
.hero__pricetag-label { display: block; font-size: .72rem; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: .1em; }
.hero__pricetag-value { display: block; font-family: var(--ff-display); font-weight: 700; font-size: 1.5rem; }
.hero__pricetag-unit { display: block; font-size: .72rem; color: var(--text-mut); }

/* ----- ticker ----- */
.ticker { margin-top: clamp(24px, 4vw, 50px); border-block: 1px solid var(--line-2);
  background: var(--bg-2); }
.ticker__row { display: flex; flex-wrap: wrap; }
.ticker__cell { flex: 1; min-width: 140px; padding: 20px 18px; text-align: center;
  border-left: 1px solid var(--line-2); }
.ticker__cell:first-child { border-left: none; }
.ticker__v { display: block; font-family: var(--ff-display); font-weight: 700; font-size: 1.3rem; color: var(--accent); }
.ticker__l { display: block; font-size: .8rem; color: var(--text-mut); margin-top: 4px; }

/* ----- price shock ----- */
.priceshock { padding: clamp(56px, 8vw, 100px) 0; text-align: center; }
.priceshock__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px;
  align-items: stretch; max-width: 880px; margin: 0 auto; }
.priceshock__col { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 24px; display: flex; flex-direction: column; gap: 6px; }
.priceshock__col--win { border-color: rgba(43,224,190,.5); background:
  linear-gradient(180deg, rgba(43,224,190,.08), var(--surface)); box-shadow: var(--shadow); }
.priceshock__tag { font-family: var(--ff-mono); font-size: .76rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-mut); }
.priceshock__col--win .priceshock__tag { color: var(--accent); }
.priceshock__num { font-family: var(--ff-display); font-weight: 700; font-size: clamp(2.2rem,5vw,3.2rem); line-height: 1; }
.priceshock__num--muted { color: var(--text-dim); }
.priceshock__unit { font-size: .85rem; color: var(--text-mut); }
.priceshock__vs { align-self: center; font-family: var(--ff-mono); color: var(--text-dim); font-size: 1.1rem; }
.priceshock__line { font-family: var(--ff-display); font-size: clamp(1.1rem,2.4vw,1.5rem); margin: 36px auto 0; max-width: 22em; }
.priceshock__line strong { color: var(--accent); }
.priceshock__foot { color: var(--text-dim); font-size: .78rem; margin: 18px auto 0; max-width: 50em; }

/* ----- video band ----- */
.videoband { position: relative; min-height: clamp(360px, 56vw, 600px); display: flex; align-items: flex-end; overflow: hidden; }
.videoband__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.videoband__overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,14,22,.35) 0%, rgba(10,14,22,.1) 40%, rgba(10,14,22,.92) 100%); }
.videoband__copy { position: relative; z-index: 2; padding-block: clamp(36px, 6vw, 70px); }
.videoband__title { font-family: var(--ff-display); font-weight: 700; font-size: clamp(1.7rem,4vw,3rem); line-height: 1.06; letter-spacing: -.02em; }
.videoband__sub { color: var(--text-mut); margin-top: 14px; font-size: 1.05rem; max-width: 34em; }

/* ----- specs ----- */
.specs { padding: clamp(56px, 8vw, 110px) 0; background: var(--bg-2); }
.specs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; transition: transform .25s ease, border-color .25s; }
.spec:hover { transform: translateY(-4px); border-color: rgba(43,224,190,.4); }
.spec__num { display: block; font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--accent); letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; }
.spec__num--text { font-family: var(--ff-display); }
.spec__label { display: block; font-weight: 600; margin-top: 12px; font-size: 1.05rem; }
.spec__sub { display: block; color: var(--text-mut); font-size: .88rem; margin-top: 6px; }

/* ----- compare ----- */
.compare { padding: clamp(56px, 8vw, 110px) 0; }
.compare__table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch; }
.compare__table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--surface); }
.compare__table th, .compare__table td { padding: 16px 18px; text-align: left; font-size: .92rem;
  border-bottom: 1px solid var(--line-2); }
.compare__table thead th { font-family: var(--ff-display); font-weight: 600; color: var(--text-mut);
  background: var(--bg-2); position: sticky; top: 0; }
.compare__table thead th.is-win { color: var(--accent); }
.compare__table tbody th { font-weight: 500; color: var(--text-mut); }
.compare__table td.is-win { background: rgba(43,224,190,.06); color: var(--text); }
.compare__table td.is-win strong { color: var(--accent); }
.compare__table tr:last-child td, .compare__table tr:last-child th { border-bottom: none; }

/* ----- calculator ----- */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; margin-top: 40px; }
.calc__controls, .calc__result { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px; }
.calc__title { font-family: var(--ff-display); font-size: 1.25rem; }
.calc__intro { color: var(--text-mut); font-size: .9rem; margin-bottom: 18px; }
.calc__field { margin-bottom: 20px; }
.calc__field label { display: flex; justify-content: space-between; align-items: baseline;
  font-size: .9rem; color: var(--text-mut); margin-bottom: 8px; }
.calc__field output { font-family: var(--ff-mono); color: var(--accent); font-weight: 600; }
.calc__field input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 6px;
  background: var(--surface-2); border-radius: 999px; outline: none; }
.calc__field input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px;
  border-radius: 50%; background: var(--accent); cursor: pointer; box-shadow: 0 0 0 4px rgba(43,224,190,.2); }
.calc__field input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border: none;
  border-radius: 50%; background: var(--accent); cursor: pointer; }
.calc__assump { color: var(--text-dim); font-size: .76rem; margin-top: 6px; }
.calc__result { display: flex; flex-direction: column; text-align: center;
  background: linear-gradient(180deg, rgba(43,224,190,.08), var(--surface)); border-color: rgba(43,224,190,.4); }
.calc__result-label { color: var(--text-mut); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.calc__result-num { font-family: var(--ff-display); font-weight: 700; font-size: clamp(2.6rem,6vw,3.6rem);
  color: var(--accent); line-height: 1.05; font-variant-numeric: tabular-nums; }
.calc__result-sub { color: var(--text-mut); font-size: .95rem; margin-bottom: 18px; }
.calc__result-sub strong { color: var(--text); }
.calc__bars { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; text-align: left; }
.calc__bar-label { font-size: .8rem; color: var(--text-mut); }
.calc__bar-track { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin: 5px 0; }
.calc__bar-fill { height: 100%; border-radius: 999px; width: 0; transition: width .6s cubic-bezier(.2,.7,.3,1); }
.calc__bar-fill--diesel { background: var(--danger); }
.calc__bar-fill--v7e { background: var(--accent); }
.calc__bar-val { font-family: var(--ff-mono); font-size: .82rem; }
.calc__disc { color: var(--text-dim); font-size: .76rem; margin-top: 12px; }

/* ----- oficio tabs ----- */
.oficio { padding: clamp(56px, 8vw, 110px) 0; background: var(--bg-2); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.tab { font-family: var(--ff-display); font-weight: 600; font-size: .92rem; color: var(--text-mut);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 11px 20px; transition: all .18s; }
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.tabpanel { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.tabpanel[hidden] { display: none; }
.tabpanel__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--line); }
.tabpanel__media img { width: 100%; height: 100%; object-fit: cover; }
.tabpanel__copy h3 { font-family: var(--ff-display); font-size: clamp(1.3rem,2.6vw,1.8rem); line-height: 1.15; }
.tabpanel__copy p { color: var(--text-mut); margin-top: 14px; }
.tabpanel__copy p strong { color: var(--text); }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; color: var(--text); font-size: .95rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px;
  border-radius: 50%; background: rgba(43,224,190,.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232BE0BE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; }

/* ----- color & versión ----- */
.color { padding: clamp(56px, 8vw, 110px) 0; }
.color__stage { position: relative; max-width: 820px; margin: 0 auto; aspect-ratio: 16/8; display: flex; align-items: center; justify-content: center; }
.color__img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(0,0,0,.6));
  position: relative; z-index: 1; transition: opacity .25s ease; }
.color__img.is-fading { opacity: 0; }
.color__floor { position: absolute; left: 12%; right: 12%; bottom: 8%; height: 36px;
  background: radial-gradient(ellipse at center, rgba(43,224,190,.2), transparent 70%); filter: blur(8px); z-index: 0; }
.color__controls { max-width: 820px; margin: 24px auto 0; }
.swatches { display: flex; gap: 10px; justify-content: center; }
.swatch { display: inline-flex; align-items: center; gap: 9px; font-family: var(--ff-display); font-weight: 600;
  font-size: .9rem; color: var(--text-mut); background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 16px; transition: all .18s; }
.swatch span { width: 16px; height: 16px; border-radius: 50%; background: var(--sw); border: 1px solid rgba(255,255,255,.25); }
.swatch:hover { color: var(--text); }
.swatch.is-active { border-color: var(--accent); color: var(--text); }
.versions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.version { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.version h4 { font-family: var(--ff-display); font-size: 1.05rem; }
.version p { color: var(--text-mut); font-size: .9rem; margin-top: 6px; }

/* ----- gallery ----- */
.gallery { padding: clamp(56px, 8vw, 110px) 0; background: var(--bg-2); }
.gallery__viewport { position: relative; margin-top: 8px; }
.gallery__track { list-style: none; display: flex; gap: 16px; padding: 4px 22px; margin: 0;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 auto; width: min(440px, 80vw); aspect-ratio: 4/3; scroll-snap-align: center;
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; background: rgba(20,26,41,.9); border: 1px solid var(--line);
  color: var(--text); display: inline-flex; align-items: center; justify-content: center; }
.gallery__nav:hover { background: var(--accent); color: var(--accent-ink); }
.gallery__nav--prev { left: 14px; } .gallery__nav--next { right: 14px; }

/* ----- network ----- */
.network { padding: clamp(56px, 8vw, 100px) 0; }
.network__cities { list-style: none; padding: 0; margin: 8px auto 0; max-width: 760px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.network__cities li { text-align: center; font-family: var(--ff-mono); font-size: .9rem; color: var(--text-mut);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 8px; }

/* ----- faq ----- */
.faq { padding: clamp(56px, 8vw, 110px) 0; background: var(--bg-2); }
.faq__list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq__item summary { font-family: var(--ff-display); font-weight: 600; font-size: 1.02rem; padding: 18px 22px;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--ff-mono); color: var(--accent); font-size: 1.4rem; flex: 0 0 auto; }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { padding: 0 22px 20px; color: var(--text-mut); }
.faq__item p strong { color: var(--text); }

/* ----- cta final ----- */
.ctafinal { padding: clamp(64px, 9vw, 120px) 0; text-align: center;
  background: radial-gradient(70% 120% at 50% 0%, rgba(43,224,190,.14), transparent 60%), var(--bg); }
.ctafinal__title { font-family: var(--ff-display); font-weight: 700; font-size: clamp(1.9rem,4.4vw,3.1rem);
  line-height: 1.08; letter-spacing: -.02em; max-width: 16em; margin: 0 auto; }
.ctafinal__sub { color: var(--text-mut); margin: 18px auto 30px; max-width: 36em; font-size: 1.05rem; }
.ctafinal__stats { color: var(--text-mut); font-size: .92rem; margin-top: 22px; }
.ctafinal__stats strong { color: var(--text); }

/* ----- footer ----- */
.footer { border-top: 1px solid var(--line-2); padding: 40px 0; }
.footer__top { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.footer__logo img { height: 26px; }
.footer__email { display: inline-flex; align-items: center; gap: 8px; color: var(--text-mut); font-size: .92rem; }
.footer__email:hover { color: var(--accent); }
.footer__legal { color: var(--text-dim); font-size: .82rem; margin-top: 22px; }
.footer__legal a:hover { color: var(--accent); }
.footer__fine { color: var(--text-dim); font-size: .74rem; margin-top: 12px; line-height: 1.5; }

/* ----- sticky cta ----- */
.sticky-cta { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 130%); z-index: 45;
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--ff-display); font-weight: 600;
  background: var(--accent); color: var(--accent-ink); border: none; border-radius: 999px; padding: 14px 26px;
  box-shadow: 0 14px 36px -8px rgba(43,224,190,.6); transition: transform .3s cubic-bezier(.2,.7,.3,1); }
.sticky-cta.is-visible { transform: translate(-50%, 0); }
@media (min-width: 860px) { .sticky-cta { display: none; } }

/* ----- modal ----- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5,7,12,.7); backdrop-filter: blur(4px); }
.modal__content { position: relative; z-index: 1; width: 100%; max-width: 440px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; box-shadow: var(--shadow);
  max-height: 92vh; overflow-y: auto; }
.modal__close { position: absolute; top: 14px; right: 14px; background: none; border: none; color: var(--text-mut); padding: 6px; }
.modal__close:hover { color: var(--text); }
.modal__title { font-family: var(--ff-display); font-weight: 700; font-size: 1.6rem; margin: 6px 0; }
.modal__sub { color: var(--text-mut); font-size: .95rem; margin-bottom: 22px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .85rem; color: var(--text-mut); }
.field__hint { color: var(--text-dim); }
.field input, .field select { font: inherit; font-size: 16px; color: var(--text); background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; outline: none; transition: border-color .15s; }
.field input:focus, .field select:focus { border-color: var(--accent); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239AA7B8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form__legal { color: var(--text-dim); font-size: .76rem; margin-top: 4px; }
.form__legal a { color: var(--accent); }
.success { text-align: center; padding: 16px 0; }
.success__icon { width: 64px; height: 64px; color: var(--accent); margin: 0 auto 16px; }
.success__title { font-family: var(--ff-display); font-size: 1.4rem; }
.success__sub { color: var(--text-mut); margin-top: 10px; }

/* ----- reveal on scroll ----- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__stage { order: -1; }
  .specs__grid { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; }
  .tabpanel { grid-template-columns: 1fr; gap: 22px; }
  .tabpanel__media { order: -1; }
}
@media (max-width: 720px) {
  .topbar__full { display: none; } .topbar__short { display: inline; }
  .header__nav { display: none; }
  .priceshock__grid { grid-template-columns: 1fr; }
  .priceshock__vs { transform: rotate(90deg); }
  .specs__grid { grid-template-columns: 1fr; }
  .network__cities { grid-template-columns: repeat(2, 1fr); }
  .versions { grid-template-columns: 1fr; }
  .hero__pricetag { position: static; display: inline-flex; flex-direction: column; margin-top: 14px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
