/* =========================================================
   HidraGas · Sitio v2 "La llama azul"
   Motor de scroll: script.js escribe --p (portada), --sp (señales),
   --cp (cobertura) y --page (progreso). Sin librerías externas.
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

@property --p    { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --sp   { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --cp   { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --page { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --ph   { syntax: "<number>"; inherits: true; initial-value: 0.5; }

:root {
  --blue: #0B6E99;
  --blue-deep: #08506F;
  --night: #0A2533;
  --night-2: #103447;
  --leaf: #8FC93A;
  --leaf-deep: #4F7D16;
  --paper: #EEF4F7;
  --amber: #F2A93B;
  --ink: #13232D;
  --ink-soft: #46596A;
  --rule: #CFDDE6;
  --wa: #128C4A;
  --wa-deep: #0D6E39;
  --flame-blue: #3AA0E0;
  --flame-core: #BFE6FF;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: clamp(0.84rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.25rem + 1.2vw, 2.2rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.2vw, 3rem);
  --step-4: clamp(2.2rem, 1.5rem + 3.4vw, 4.25rem);

  --gutter: 20px;
  --header-h: 64px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-stretch: 100%;
  overflow-x: clip;
}
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1180px, 100% - var(--gutter) * 2); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--leaf); color: var(--night); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-stretch: 100%; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: var(--step--1); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-deep); }
.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: var(--blue-deep); }
.btn-line { background: transparent; color: inherit; border-color: currentColor; }
.btn-line:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- Barra de progreso de página ---------- */
.scroll-meter { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-meter span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--leaf));
  transform-origin: 0 50%;
  transform: scaleX(var(--page));
}
@supports (animation-timeline: scroll()) {
  .scroll-meter span { animation: meter linear both; animation-timeline: scroll(root block); }
  @keyframes meter { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: #fff;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.site-header.is-solid {
  background: rgba(238, 244, 247, 0.92);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--rule);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.brand { flex-shrink: 0; }
.logo { display: block; height: 40px; width: auto; }
.logo-on-light { display: none; }
.site-header.is-solid .logo-on-dark { display: none; }
.site-header.is-solid .logo-on-light { display: block; }
.site-nav { display: none; gap: 28px; margin-left: auto; }
.site-nav a { color: inherit; text-decoration: none; font-weight: 600; opacity: .85; }
.site-nav a:hover { opacity: 1; text-decoration: underline; }
.header-inner > .btn { margin-left: auto; }

/* =========================================================
   1 · PORTADA
   ========================================================= */
.hero { position: relative; height: 210svh; background: var(--night); color: #fff; }
.hero-stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden; overflow: clip;
  display: grid; align-items: center;
  padding: calc(var(--header-h) + 8px) 0 96px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.pipes { position: absolute; inset: -10% 0; width: 100%; height: 120%; fill: none; }
.pipes path { stroke-linecap: round; stroke-linejoin: round; }
.pipes-back { stroke: #17465E; stroke-width: 10; transform: translate3d(0, calc(var(--p) * -50px), 0); }
.pipes-back circle { fill: #17465E; }
.pipes-front { stroke: #1D5875; stroke-width: 16; transform: translate3d(0, calc(var(--p) * -170px), 0); opacity: .9; }
.pipes-front rect { fill: var(--leaf-deep); stroke: none; }
.hero-glow {
  position: absolute; width: 90vmax; height: 90vmax; right: -30vmax; top: 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side,
    color-mix(in oklab, var(--amber) calc((1 - var(--p)) * 100%), var(--flame-blue)) 0%,
    transparent 70%);
  opacity: .22;
  transform: translate3d(0, calc(var(--p) * -90px), 0);
}

.hero-grid { position: relative; display: grid; gap: 8px; grid-template-rows: auto auto; }
.hero-copy { order: 2; max-width: 40rem; }
.hero-kicker { font-weight: 600; color: #A9C6D6; margin-bottom: 14px; font-size: var(--step--1); }
.hero-titles { display: grid; font-size: var(--step-4); font-stretch: 100%; font-weight: 650; letter-spacing: -0.02em; line-height: 1.05; }
.ht { grid-area: 1 / 1; text-wrap: balance; will-change: opacity, transform; }
.ht-bad {
  color: #FFE2B0;
  opacity: clamp(0, calc((0.5 - var(--p)) * 5), 1);
  transform: translate3d(0, calc(var(--p) * -24px), 0);
}
.ht-good {
  color: #fff;
  opacity: clamp(0, calc((var(--p) - 0.45) * 5), 1);
  transform: translate3d(0, calc((1 - var(--p)) * 24px), 0);
}
.hero-lead { margin-top: 24px; color: #C8DAE4; max-width: 34rem; font-size: var(--step-0); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-price { margin-top: 18px; font-weight: 600; color: #DDEBC8; }
.hero-price strong { color: var(--leaf); font-weight: 800; font-stretch: 100%; font-size: 1.15em; }

/* La llama */
.flame-rig {
  order: 1; position: relative; margin: 0; justify-self: center;
  width: min(42vw, 180px); display: grid; justify-items: center;
}
.flame-halo {
  position: absolute; inset: -30% -60% 10%;
  background: radial-gradient(closest-side,
    color-mix(in oklab, var(--amber) calc((1 - var(--p)) * 100%), var(--flame-blue)) 0%, transparent 72%);
  opacity: calc(0.35 + var(--p) * 0.15);
  filter: blur(8px);
}
.flame {
  position: relative; width: 100%; overflow: visible;
  transform-origin: 50% 96%;
  --flick: calc(1 - var(--p));
  transform: scaleY(calc(1.12 - var(--p) * 0.28)) scaleX(calc(0.96 + var(--p) * 0.06));
}
.flame-outer { fill: color-mix(in oklab, #E9792B calc((1 - var(--p)) * 100%), #1F78C1); opacity: .9; }
.flame-mid   { fill: color-mix(in oklab, var(--amber) calc((1 - var(--p)) * 100%), var(--flame-blue)); }
.flame-core  { fill: color-mix(in oklab, #FFF1C2 calc((1 - var(--p)) * 100%), var(--flame-core)); }
.burner { width: 130%; margin-top: -6px; fill: #2A4F63; }
.burner rect:last-child { fill: #1C3B4C; }
.flame-readout { position: relative; display: grid; margin-top: 14px; font-size: var(--step--1); font-weight: 700; font-stretch: 100%; }
.flame-readout span { grid-area: 1 / 1; text-align: center; white-space: nowrap; }
.readout-bad  { color: var(--amber); opacity: clamp(0, calc((0.5 - var(--p)) * 6), 1); }
.readout-good { color: var(--leaf); opacity: clamp(0, calc((var(--p) - 0.5) * 6), 1); }

@media (prefers-reduced-motion: no-preference) {
  .flame-outer, .flame-mid { transform-origin: 50% 96%; animation: flicker 1.1s ease-in-out infinite alternate; }
  .flame-mid { animation-duration: .8s; animation-delay: -.3s; }
  @keyframes flicker {
    0%   { transform: skewX(calc(var(--flick) * -5deg)) scaleY(calc(1 + var(--flick) * 0.05)); }
    50%  { transform: skewX(calc(var(--flick) *  4deg)) scaleY(calc(1 - var(--flick) * 0.04)); }
    100% { transform: skewX(calc(var(--flick) * -2deg)) scaleY(calc(1 + var(--flick) * 0.07)); }
  }
}

.scroll-hint {
  position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--step--1); color: #A9C6D6; white-space: nowrap;
  opacity: clamp(0, calc(1 - var(--p) * 4), 1);
}
.scroll-hint-line { width: 2px; height: 28px; background: linear-gradient(var(--leaf), transparent); border-radius: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-hint-line { animation: hint 1.6s ease-in-out infinite; }
  @keyframes hint { 0%, 100% { transform: translateY(-4px); opacity: .4; } 50% { transform: translateY(6px); opacity: 1; } }
}

/* ---------- Fotos de fondo (reemplazables en img/) ---------- */
.bg-photo {
  position: absolute; left: 0; width: 100%; object-fit: cover; pointer-events: none;
  will-change: transform;
}
.hero-photo {
  top: -8%; height: 116%;
  opacity: .5; filter: saturate(.85);
  object-position: 60% 50%;
  transform: translate3d(0, calc(var(--p) * -70px), 0) scale(1.04);
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 37, 51, .94) 0%, rgba(10, 37, 51, .82) 45%, rgba(10, 37, 51, .55) 100%),
    linear-gradient(0deg, rgba(10, 37, 51, .9) 0%, transparent 40%);
}
.pipes { opacity: .75; }

/* Franja de foto con parallax */
.photo-band {
  position: relative; overflow: hidden; overflow: clip; isolation: isolate;
  background: var(--night); color: #fff;
}
.photo-band-img {
  top: -15%; height: 130%; z-index: -2;
  object-position: 72% 30%;
  transform: translate3d(0, calc((var(--ph) - 0.5) * -14%), 0);
}
.photo-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 37, 51, .78) 0%, rgba(10, 37, 51, .35) 50%, transparent 75%),
    linear-gradient(0deg, rgba(10, 37, 51, .92) 0%, rgba(10, 37, 51, .35) 55%, rgba(10, 37, 51, .1) 100%);
}
.photo-band-copy { position: relative; padding-block: clamp(220px, 42svh, 480px) 64px; display: grid; gap: 14px; }
.photo-band-copy h2 { font-size: var(--step-3); max-width: 22ch; text-wrap: balance; }
.photo-band-copy p { color: #D3E3EC; max-width: 40rem; font-size: var(--step-1); }

/* =========================================================
   2 · SEÑALES
   ========================================================= */
.signs { position: relative; background: var(--paper); padding: 96px 0; }
.signs-head { margin-bottom: 48px; }
.signs-head > * { max-width: 40rem; }
.signs-head h2 { font-size: var(--step-3); font-stretch: 100%; text-wrap: balance; }
.signs-head p { margin-top: 14px; color: var(--ink-soft); }
.signs-viewport { width: min(1180px, 100% - var(--gutter) * 2); margin-inline: auto; }
.signs-track { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.sign {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: #fff; border-radius: 20px; padding: 28px 24px;
  border: 1px solid var(--rule);
}
.sign-urgent { background: #FFF7EA; border-color: #F1D3A1; }
.sign-icon { width: 56px; height: 56px; }
.i-warm { fill: var(--amber); }
.i-light { fill: #FFE7B5; }
.i-stroke { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.sign-urgent .i-stroke { stroke: #C77A12; }
.i-dark { fill: #3B4A54; }
.sign h3 { font-size: var(--step-2); font-stretch: 100%; text-wrap: balance; }
.sign p { color: var(--ink-soft); flex-grow: 1; }
.sign-cta { align-self: flex-start; font-weight: 700; color: var(--wa-deep); text-decoration-thickness: 2px; }
.sign-cta:hover { color: var(--wa); }
.signs-progress { display: none; }

/* Modo horizontal fijado (lo activa script.js en pantallas anchas) */
.signs.is-pinned { height: var(--signs-h, 320vh); padding: 0; }
.signs.is-pinned .signs-stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden; overflow: clip;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--header-h);
}
.signs.is-pinned .signs-viewport { width: 100%; overflow: visible; }
.signs.is-pinned .signs-track {
  display: flex; gap: 32px; width: max-content;
  padding-inline: max(var(--gutter), (100vw - 1180px) / 2);
  transform: translate3d(calc(var(--sp) * var(--shift, 0) * -1px), 0, 0);
  will-change: transform;
}
.signs.is-pinned .sign { width: clamp(320px, 34vw, 440px); min-height: 380px; padding: 36px 32px; }
.signs.is-pinned .signs-progress { display: block; height: 3px; margin-top: 36px; background: var(--rule); border-radius: 3px; overflow: hidden; }
.signs.is-pinned .signs-progress span { display: block; height: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(var(--sp)); }

/* =========================================================
   3 · SERVICIOS
   ========================================================= */
.services { background: #fff; padding: 96px 0; }
.services-head { display: grid; gap: 16px; margin-bottom: 56px; max-width: 46rem; }
.services-head h2 { font-size: var(--step-4); font-stretch: 100%; letter-spacing: -0.02em; }
.services-head p { color: var(--ink-soft); }
.service-list { list-style: none; margin: 0; padding: 0; }
.service {
  position: relative; display: grid; gap: 14px; padding: 36px 0;
  border-top: 1px solid var(--rule);
}
.service::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--blue), var(--leaf));
  transform-origin: 0 50%; transform: scaleX(0);
}
.service:last-child { border-bottom: 1px solid var(--rule); }
.service h3 { font-size: var(--step-2); font-stretch: 100%; transition: color .2s; text-wrap: balance; }
.service p { color: var(--ink-soft); max-width: 36rem; }
.service .service-price { margin-top: 8px; color: var(--leaf-deep); font-weight: 700; font-stretch: 100%; }
.service .btn { justify-self: start; }
.service:hover h3 { color: var(--blue); }

.credentials { display: grid; gap: 32px; margin-top: 80px; }
.credentials > div { border-left: 4px solid var(--leaf); padding: 4px 0 4px 18px; }
.credentials h3 { font-size: var(--step-1); font-stretch: 100%; }
.credentials p { color: var(--ink-soft); margin-top: 6px; }

/* Aparición ligada al scroll */
[data-reveal].is-in::before { transform: scaleX(1); transition: transform 1s var(--ease-out); }
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  @supports (animation-timeline: view()) {
    .js [data-reveal] { opacity: 1; transform: none; transition: none; animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    .js .service::before { animation: draw linear both; animation-timeline: view(); animation-range: entry 40% cover 35%; }
    @keyframes rise { from { opacity: 0; transform: translate3d(0, 40px, 0); } to { opacity: 1; transform: none; } }
    @keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}

/* =========================================================
   4 · COBERTURA
   ========================================================= */
.coverage { position: relative; isolation: isolate; background: var(--blue); color: #fff; padding: 88px 0 80px; overflow: hidden; overflow: clip; }
.coverage-photo {
  top: -20%; height: 140%; z-index: -1;
  object-position: 30% 30%;
  opacity: .22; mix-blend-mode: luminosity;
  transform: translate3d(0, calc((var(--cp) - 0.5) * -90px), 0);
}
.band { white-space: nowrap; font-size: clamp(3rem, 2rem + 8vw, 9.5rem); font-weight: 700; font-stretch: 100%; line-height: 1; letter-spacing: -0.03em; will-change: transform; }
.band span { display: inline-block; }
.band-a { transform: translate3d(calc(var(--cp) * -35%), 0, 0); }
.band-b {
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.55);
  transform: translate3d(calc(-35% + var(--cp) * 30%), 0, 0);
  margin-top: 6px;
}
.coverage-note { margin-top: 36px; font-size: var(--step-1); font-weight: 600; }

/* =========================================================
   5 · AGENDA
   ========================================================= */
.booking { background: var(--paper); padding: 96px 0; }
.booking-grid { display: grid; gap: 36px; }
.booking-intro h2 { font-size: var(--step-3); font-stretch: 100%; }
.booking-intro > p { margin-top: 14px; color: var(--ink-soft); max-width: 30rem; }
.stepper { list-style: none; counter-reset: s; display: flex; gap: 8px; padding: 0; margin: 28px 0 0; flex-wrap: wrap; }
.stepper li {
  counter-increment: s; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--rule);
  font-weight: 600; font-size: var(--step--1); color: var(--ink-soft);
}
.stepper li::before {
  content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--rule); color: var(--ink); font-weight: 800;
}
.stepper li.is-current { color: var(--ink); border-color: var(--blue); }
.stepper li.is-current::before { background: var(--blue); color: #fff; }
.stepper li.is-done::before { background: var(--leaf); color: var(--night); content: "✓"; }
.booking-mail { margin-top: 24px; color: var(--ink-soft); }

.wizard {
  position: relative; background: #fff; border-radius: 24px; padding: 32px 24px;
  border: 1px solid var(--rule);
  box-shadow: 0 24px 60px -32px rgba(8, 80, 111, 0.45);
}
.step { display: none; }
.step.is-active { display: block; view-transition-name: wizard-step; }
@media (prefers-reduced-motion: no-preference) {
  .step.is-active { animation: stepIn .35s var(--ease-out); }
  @keyframes stepIn { from { opacity: 0; transform: translate3d(16px, 0, 0); } to { opacity: 1; transform: none; } }
}
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 18px; font-size: var(--step-2); font-weight: 650; font-stretch: 100%; letter-spacing: -0.015em; }
.options { display: grid; gap: 10px; }
.option {
  display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 16px;
  border: 2px solid var(--rule); border-radius: 14px; cursor: pointer; font-weight: 600;
  transition: border-color .15s, background-color .15s;
}
.option:hover { border-color: #9FBFD0; }
.option:has(input:checked) { border-color: var(--blue); background: #E8F3F9; }
.option input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); flex-shrink: 0; }
.field { margin-bottom: 18px; }
.field > label { display: block; font-weight: 600; margin-bottom: 6px; }
.opt { color: var(--ink-soft); font-weight: 400; }
.field input[type="text"], .field input[type="tel"], .field select {
  width: 100%; min-height: 50px; padding: 10px 14px;
  border: 2px solid var(--rule); border-radius: 12px; background: #fff;
  font: inherit; color: var(--ink);
}
.field input:focus, .field select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(11, 110, 153, 0.15); }
.field-check label { display: flex; gap: 12px; align-items: flex-start; font-size: var(--step--1); color: var(--ink-soft); }
.field-check input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--blue); }
.field-error { margin-top: 8px; color: #A8322A; font-size: var(--step--1); font-weight: 600; }
.step-actions { display: flex; gap: 12px; margin-top: 24px; }
.step-actions .btn { flex: 1 1 0; }
.form-status { margin-top: 16px; font-weight: 600; color: var(--wa-deep); }
.form-status:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

::view-transition-old(wizard-step) { animation: vtOut .2s ease both; }
::view-transition-new(wizard-step) { animation: vtIn .35s var(--ease-out) both; }
@keyframes vtOut { to { opacity: 0; transform: translateX(-16px); } }
@keyframes vtIn { from { opacity: 0; transform: translateX(16px); } }

/* =========================================================
   6 · CONTACTO Y PIE
   ========================================================= */
.contact { background: #fff; padding: 96px 0; }
.contact-grid { display: grid; gap: 36px; }
.contact h2 { font-size: var(--step-4); font-stretch: 100%; letter-spacing: -0.02em; }
.contact-list { margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list div { display: grid; gap: 2px; }
.contact-list dt { font-size: var(--step--1); color: var(--ink-soft); font-weight: 600; }
.contact-list dd { margin: 0; font-size: var(--step-1); font-weight: 600; }
.contact-list a { color: var(--ink); text-decoration-color: var(--leaf); text-decoration-thickness: 2px; }
.emergency { background: #FFF7EA; border: 1px solid #F1D3A1; border-radius: 20px; padding: 28px; }
.emergency h3 { font-size: var(--step-2); font-stretch: 100%; color: #7A4A0C; }
.emergency ol { margin: 16px 0 0; padding-left: 1.3em; display: grid; gap: 8px; color: #5A3A10; }

.site-footer { background: var(--night); color: #A9C6D6; padding: 64px 0 calc(64px + 76px); }
.footer-inner { display: grid; gap: 16px; }
.footer-logo { width: 180px; height: auto; margin-bottom: 4px; }
.footer-tag { color: #fff; font-weight: 600; }
.footer-legal { font-size: var(--step--1); max-width: 46rem; }
.site-footer a { color: #fff; }

/* Botón fijo de WhatsApp en móvil */
.mobile-wa {
  position: fixed; left: 12px; right: 12px; z-index: 90;
  bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; min-height: 54px;
  border-radius: 999px; background: var(--wa); color: #fff; font-weight: 800; text-decoration: none;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.45);
}

/* Móvil: la barra fija aparece al pasar la portada */
@media (max-width: 719.98px) {
  .header-inner > .btn { display: none; }
  .scroll-hint { display: none; }
  .flame-rig { width: min(30vw, 120px); }
  .flame-readout { margin-top: 8px; }
  .hero-titles { font-size: clamp(2.1rem, 1.2rem + 4.6vw, 2.6rem); }
  .hero-lead { margin-top: 14px; }
  .hero-actions { margin-top: 20px; }
  .js .mobile-wa { transform: translateY(140%); transition: transform .35s var(--ease-out); }
  .js.past-hero .mobile-wa { transform: none; }
  .hero-actions .btn { flex: 1 1 auto; padding-inline: 16px; }
}
/* Celulares (hasta 900 px de alto): portada compacta */
@media (max-width: 719.98px) and (max-height: 900px) {
  .flame-rig { width: clamp(80px, 17svh, 150px); }
  .flame-readout, .hero-kicker { display: none; }
  .hero-titles { font-size: clamp(1.9rem, 4.3svh, 2.5rem); }
  .hero-lead { font-size: 0.95rem; line-height: 1.5; }
  .hero-price { margin-top: 10px; }
  .hero-actions { margin-top: 16px; gap: 8px; }
}

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 720px) {
  :root { --gutter: 32px; --header-h: 76px; }
  .logo { height: 46px; }
  .options { grid-template-columns: 1fr 1fr; }
  .wizard { padding: 48px; }
  .signs-track { grid-template-columns: 1fr 1fr; }
  .credentials { grid-template-columns: repeat(3, 1fr); }
  .service { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: center; gap: 48px; }
  .service .btn { justify-self: end; }
  .mobile-wa { display: none; }
  .site-footer { padding-bottom: 64px; }
  .site-nav { display: flex; }
  .header-inner > .btn { margin-left: 0; }
}
@media (min-width: 960px) {
  .hero { height: 240svh; }
  .hero-stage { padding-bottom: 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); grid-template-rows: auto; align-items: center; gap: 72px; }
  .hero-copy { order: 1; }
  .flame-rig { order: 2; width: min(26vw, 320px); }
  .scroll-hint { bottom: 40px; }
  .booking-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; gap: 64px; }
  .booking-intro { position: sticky; top: calc(var(--header-h) + 32px); }
  .contact-grid { grid-template-columns: 1.2fr 1fr; align-items: start; gap: 64px; }
  :root { --gutter: 48px; }
  .services, .booking, .contact { padding: 136px 0; }
  .signs { padding: 120px 0; }
  .booking-grid { gap: 80px; }
}

/* Pantallas bajas (celular horizontal): portada sin fijar */
@media (max-height: 560px) {
  .hero { height: auto; }
  .hero-stage { position: relative; height: auto; min-height: 100svh; }
  .scroll-hint { display: none; }
}

/* Movimiento reducido: se muestra el estado final, sin efectos */
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; --p: 1; }
  .hero-stage { position: relative; height: auto; min-height: 100svh; }
  .scroll-hint { display: none; }
  .band-a, .band-b, .bg-photo { transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   Aviso de cookies, enlaces legales y página legal
   ========================================================= */
.link-button {
  background: none; border: 0; padding: 0; font: inherit; color: inherit;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: var(--step--1); }
.footer-links a, .footer-links .link-button { color: #fff; }

.cookie-banner {
  position: fixed; z-index: 150;
  left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px));
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; justify-content: center;
}
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  width: min(760px, 100%);
  display: grid; gap: 10px;
  background: #fff; color: var(--ink);
  border: 1px solid var(--rule); border-radius: 18px; padding: 20px 22px;
  box-shadow: 0 24px 60px -20px rgba(8, 40, 56, 0.55);
}
.cookie-title { font-weight: 700; font-size: var(--step-0); line-height: 1.3; }
.cookie-text { color: var(--ink-soft); font-size: var(--step--1); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.cookie-actions .btn { flex: 1 1 160px; }
.cookie-actions .btn-line { color: var(--blue-deep); }
@media (min-width: 720px) {
  .cookie-inner { grid-template-columns: 1fr auto; align-items: center; column-gap: 24px; }
  .cookie-title, .cookie-text { grid-column: 1; }
  .cookie-actions { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; flex-wrap: nowrap; }
  .cookie-actions .btn { flex: 0 0 auto; }
}

/* Página legal */
.page-legal { background: #fff; }
.legal { padding-top: calc(var(--header-h) + 56px); padding-bottom: 96px; }
.legal-wrap { max-width: 860px; }
.legal h1 { font-size: var(--step-3); text-wrap: balance; }
.legal-meta { margin-top: 12px; color: var(--ink-soft); font-size: var(--step--1); }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 8px; }
.legal-toc a {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rule);
  text-decoration: none; font-weight: 600; font-size: var(--step--1); color: var(--blue-deep);
}
.legal-toc a:hover { border-color: var(--blue); }
.legal section { padding-top: 48px; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal section + section { margin-top: 32px; border-top: 1px solid var(--rule); }
.legal h2 { font-size: var(--step-2); margin-bottom: 14px; }
.legal h3 { font-size: var(--step-1); margin: 28px 0 10px; }
.legal p, .legal li { color: #2C3E4A; max-width: 70ch; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; display: grid; gap: 8px; margin: 10px 0; }
.legal-facts { display: grid; gap: 10px; margin: 8px 0; }
.legal-facts div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.legal-facts dt { font-size: var(--step--1); color: var(--ink-soft); font-weight: 600; }
.legal-facts dd { margin: 0; font-weight: 600; }
@media (min-width: 720px) { .legal-facts div { grid-template-columns: 220px minmax(0, 1fr); gap: 16px; } }
.fill { background: #FFF1CC; color: #6B4A00; border-radius: 4px; padding: 0 4px; font-weight: 700; }
.table-scroll { overflow-x: auto; margin: 16px 0; }
.legal-table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: var(--step--1); }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.legal-table th { background: var(--paper); font-weight: 700; }
.legal-table code { font-size: 0.92em; background: var(--paper); padding: 1px 5px; border-radius: 4px; }
.legal .link-button { color: var(--blue); font-weight: 600; }
.legal-back { margin-top: 48px; }
.page-legal .site-footer { padding-bottom: 64px; }

/* Oferta de visita técnica */
.hero-offer { margin-top: 22px; display: grid; gap: 6px; }
.offer-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.offer-label { font-weight: 600; color: #DDEBC8; }
.offer-price {
  font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); font-weight: 800; line-height: 1;
  color: var(--leaf); letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.offer-star { color: var(--leaf); text-decoration: none; font-size: 0.6em; vertical-align: super; margin-left: 2px; }
.offer-star:hover { color: #fff; }
.offer-note { font-size: var(--step--1); color: #B9CEDA; max-width: 34rem; line-height: 1.45; }
.services-note { margin-top: 24px; font-size: var(--step--1); color: var(--ink-soft); max-width: 60rem; }
.booking-price { margin-top: 4px; padding: 12px 14px; border-radius: 12px; background: #EEF6E3; color: #33521A; font-weight: 600; font-size: var(--step--1); }
@media (max-width: 719.98px) and (max-height: 900px) {
  .hero-offer { margin-top: 12px; gap: 4px; }
  .offer-price { font-size: 2.1rem; }
  .offer-note { font-size: 0.78rem; }
}
/* Celulares bajos: prioridad a la oferta y al botón */
@media (max-width: 719.98px) and (max-height: 780px) {
  .hero-lead { display: none; }
  .hero-offer { margin-top: 16px; }
}


/* =========================================================
   NAVIDAD (diciembre): alumbrado, nieve, destellos y Papá Noel.
   Para quitarlo en enero: borra este bloque y los elementos
   marcados "NAVIDAD" en index.html.
   ========================================================= */
.flame-rig {
  /* Fases de la historia según el scroll (--p va de 0 a 1) */
  --in:    clamp(0, calc((var(--p) - 0.06) / 0.16), 1);
  --b1:    clamp(0, min(calc((var(--p) - 0.12) / 0.05), calc((0.32 - var(--p)) / 0.04)), 1);
  --blow:  clamp(0, min(calc((var(--p) - 0.32) / 0.05), calc((0.56 - var(--p)) / 0.05)), 1);
  --happy: clamp(0, calc((var(--p) - 0.58) / 0.08), 1);
}
/* El soplido dobla y achica la llama, pero no la apaga */
.flame {
  transform: skewX(calc(var(--blow) * 16deg))
             scaleY(calc(1.12 - var(--p) * 0.28 - var(--blow) * 0.2))
             scaleX(calc(0.96 + var(--p) * 0.06));
}

/* Papá Noel */
.santa {
  position: absolute; left: 74%; bottom: 16%; width: 62%; z-index: 2;
  opacity: var(--in);
  transform: translate3d(calc((1 - var(--in)) * 120%), 0, 0) rotate(calc((1 - var(--in)) * 14deg));
  transform-origin: 50% 100%;
}
.santa-svg { display: block; width: 100%; overflow: visible; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); }
.s-coat { fill: #C62828; }
.s-hat { fill: #D32F2F; }
.s-white { fill: #fff; }
.s-skin { fill: #F6C9A8; }
.s-nose { fill: #EB9C7C; }
.s-cheeks circle {
  fill: #EF7F7F; opacity: .75;
  transform-box: fill-box; transform-origin: center;
  transform: scale(calc(1 + var(--blow) * 0.5));
}
.s-eyes-open, .s-eyes-wink ellipse { fill: #2B1B17; }
.s-eyes-shut path, .s-eyes-wink path { fill: none; stroke: #2B1B17; stroke-width: 2.6; stroke-linecap: round; }
.s-eyes-open { opacity: calc(1 - max(var(--blow), var(--happy))); }
.s-eyes-shut { opacity: var(--blow); }
.s-eyes-wink { opacity: var(--happy); }
.s-brow { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.s-smile { fill: none; stroke: #8E2A2A; stroke-width: 3; stroke-linecap: round; opacity: calc(1 - var(--blow)); }
.s-blow {
  fill: #7A1F1F; opacity: var(--blow);
  transform-box: fill-box; transform-origin: center; transform: scale(calc(0.4 + var(--blow) * 0.6));
}
.s-thumb { fill: #2E7D32; opacity: var(--happy); transform: translate3d(0, calc((1 - var(--happy)) * 24px), 0); }

/* Ráfagas del soplido */
.wind {
  position: absolute; right: 50%; top: 42%; width: 95%; overflow: visible;
  fill: none; stroke: #DDF3FF; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 16 12;
  opacity: calc(var(--blow) * 0.9);
}

/* Globos de diálogo */
.bubble {
  position: absolute; right: 18%; bottom: 100%; margin-bottom: 10px;
  width: max-content; max-width: 15rem;
  padding: 10px 14px; border-radius: 16px;
  background: #fff; color: #0A2533;
  font-size: .92rem; font-weight: 700; line-height: 1.25; text-align: left;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5);
  transform-origin: 85% 100%;
}
.bubble::after {
  content: ""; position: absolute; right: 22px; top: 100%;
  border: 9px solid transparent; border-top-color: #fff; border-bottom: 0;
}
.bubble-1 { opacity: var(--b1);    transform: scale(calc(0.85 + var(--b1) * 0.15)); }
.bubble-2 { opacity: var(--blow);  transform: scale(calc(0.85 + var(--blow) * 0.15)); color: #C62828; font-size: 1.25rem; letter-spacing: .02em; }
.bubble-3 { opacity: var(--happy); transform: scale(calc(0.85 + var(--happy) * 0.15)); }

/* Destellos alrededor de la llama */
.sparkles {
  position: absolute; inset: 0; width: 100%; overflow: visible; pointer-events: none;
  fill: #FFF3C4; opacity: calc(0.35 + var(--p) * 0.65);
}
.sparkles path { transform-box: fill-box; transform-origin: center; }

/* Alumbrado colombiano */
.garland { position: absolute; left: 0; right: 0; top: calc(var(--header-h) - 2px); height: 30px; }
.garland-wire { position: absolute; inset: 0; width: 100%; height: 100%; }
.garland-wire path { fill: none; stroke: #2E5568; stroke-width: 2; vector-effect: non-scaling-stroke; }
.garland-bulbs { position: absolute; inset: 0; display: flex; }
.garland-bulbs i { flex: 1; position: relative; }
.garland-bulbs i::before {
  content: ""; position: absolute; left: 50%; top: 12px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 1px; background: #1B3A4A;
}
.garland-bulbs i::after {
  content: ""; position: absolute; left: 50%; top: 17px; width: 10px; height: 15px; margin-left: -5px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--c); box-shadow: 0 0 12px 3px var(--c); opacity: .95;
}
.garland-bulbs i:nth-child(5n+1) { --c: #FF4D4D; --d: 0.00s; }
.garland-bulbs i:nth-child(5n+2) { --c: #FFD54A; --d: -0.37s; }
.garland-bulbs i:nth-child(5n+3) { --c: #4CD964; --d: -0.74s; }
.garland-bulbs i:nth-child(5n+4) { --c: #4AA8FF; --d: -1.11s; }
.garland-bulbs i:nth-child(5n+5) { --c: #FF9F3A; --d: -1.48s; }

/* Copitos de nieve */
.hero-snow { position: absolute; inset: 0; }
.hero-snow i {
  position: absolute; top: -4%; left: var(--x); width: var(--s); height: var(--s);
  border-radius: 50%; background: #fff; opacity: .7;
  transform: translate3d(0, -20px, 0);
}
.hero-snow i:nth-child(4n) { border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17L20.7 7M9 4l3 2 3-2M9 20l3-2 3 2M4.5 9.5l.9 3.4-2.4 1.8M19.5 9.5l-.9 3.4 2.4 1.8'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .85; }
.hero-snow i:nth-child(1) { --x: 1.2%; --t: 10.2s; --d: -6.6s; --s: 3px; }
.hero-snow i:nth-child(2) { --x: 8.7%; --t: 9.8s; --d: -5.7s; --s: 4px; }
.hero-snow i:nth-child(3) { --x: 8.6%; --t: 12.5s; --d: -0.9s; --s: 3px; }
.hero-snow i:nth-child(4) { --x: 16.2%; --t: 9.5s; --d: -5.4s; --s: 14px; }
.hero-snow i:nth-child(5) { --x: 21.2%; --t: 13.7s; --d: -0.8s; --s: 6px; }
.hero-snow i:nth-child(6) { --x: 22.3%; --t: 10.8s; --d: -6.0s; --s: 4px; }
.hero-snow i:nth-child(7) { --x: 28.3%; --t: 10.2s; --d: -1.2s; --s: 5px; }
.hero-snow i:nth-child(8) { --x: 34.5%; --t: 14.5s; --d: -1.5s; --s: 18px; }
.hero-snow i:nth-child(9) { --x: 39.5%; --t: 12.0s; --d: -6.6s; --s: 3px; }
.hero-snow i:nth-child(10) { --x: 43.6%; --t: 14.0s; --d: -6.9s; --s: 6px; }
.hero-snow i:nth-child(11) { --x: 49.4%; --t: 12.7s; --d: -11.7s; --s: 5px; }
.hero-snow i:nth-child(12) { --x: 51.1%; --t: 15.4s; --d: -10.8s; --s: 14px; }
.hero-snow i:nth-child(13) { --x: 54.3%; --t: 11.4s; --d: -5.6s; --s: 5px; }
.hero-snow i:nth-child(14) { --x: 62.7%; --t: 11.3s; --d: -11.1s; --s: 3px; }
.hero-snow i:nth-child(15) { --x: 66.0%; --t: 10.3s; --d: -3.5s; --s: 6px; }
.hero-snow i:nth-child(16) { --x: 70.0%; --t: 16.7s; --d: -1.3s; --s: 18px; }
.hero-snow i:nth-child(17) { --x: 75.4%; --t: 16.0s; --d: -5.0s; --s: 5px; }
.hero-snow i:nth-child(18) { --x: 80.1%; --t: 13.6s; --d: -6.2s; --s: 3px; }
.hero-snow i:nth-child(19) { --x: 86.8%; --t: 12.8s; --d: -8.5s; --s: 3px; }
.hero-snow i:nth-child(20) { --x: 90.0%; --t: 11.5s; --d: -6.6s; --s: 18px; }
.hero-snow i:nth-child(21) { --x: 95.1%; --t: 11.3s; --d: -4.4s; --s: 5px; }
.hero-snow i:nth-child(22) { --x: 94.9%; --t: 12.7s; --d: -2.1s; --s: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .santa-svg { animation: santa-bob 2.6s ease-in-out infinite; }
  .wind { animation: gust .45s linear infinite; }
  .sparkles path { animation: twinkle 1.8s ease-in-out infinite alternate; }
  .sparkles path:nth-child(2) { animation-delay: -.6s; }
  .sparkles path:nth-child(3) { animation-delay: -1.1s; }
  .sparkles path:nth-child(4) { animation-delay: -.3s; }
  .sparkles path:nth-child(5) { animation-delay: -1.5s; }
  .garland-bulbs i::after { animation: bulb 1.4s ease-in-out infinite alternate; animation-delay: var(--d); }
  .hero-snow i {
    animation: snowfall var(--t) linear infinite, sway calc(var(--t) / 4) ease-in-out infinite alternate;
    animation-delay: var(--d), var(--d);
  }
  @keyframes santa-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-5px) rotate(2deg); } }
  @keyframes gust { to { stroke-dashoffset: 56; } }
  @keyframes twinkle { from { transform: scale(.35) rotate(0deg); opacity: .3; } to { transform: scale(1.1) rotate(45deg); opacity: 1; } }
  @keyframes bulb { from { opacity: .45; box-shadow: 0 0 4px 1px var(--c); } to { opacity: 1; box-shadow: 0 0 16px 5px var(--c); } }
  @keyframes snowfall { from { transform: translate3d(0, -20px, 0); } to { transform: translate3d(0, 112svh, 0); } }
  @keyframes sway { from { translate: -16px 0; } to { translate: 16px 0; } }
}
@media (prefers-reduced-motion: reduce) { .hero-snow { display: none; } }

/* Celular: Papá Noel y globos más compactos */
@media (max-width: 719.98px) {
  .santa { left: 78%; bottom: 10%; width: 66%; }
  .bubble { max-width: 10.5rem; font-size: .76rem; padding: 7px 10px; border-radius: 12px; right: 4%; }
  .bubble-2 { font-size: 1rem; }
  .bubble::after { right: 14px; border-width: 7px; }
  .garland { height: 22px; }
  .garland-bulbs i::before { top: 8px; width: 4px; height: 4px; margin-left: -2px; }
  .garland-bulbs i::after { top: 11px; width: 7px; height: 11px; margin-left: -3.5px; }
}

/* NAVIDAD: el cambio a llama azul ocurre después del soplido (--fix) */
.hero { --fix: clamp(0, calc((var(--p) - 0.56) / 0.14), 1); }
.hero-glow, .flame-halo {
  background: radial-gradient(closest-side,
    color-mix(in oklab, var(--amber) calc((1 - var(--fix)) * 100%), var(--flame-blue)) 0%, transparent 70%);
}
.flame { --flick: calc(1 - var(--fix)); }
.flame-outer { fill: color-mix(in oklab, #E9792B calc((1 - var(--fix)) * 100%), #1F78C1); }
.flame-mid   { fill: color-mix(in oklab, var(--amber) calc((1 - var(--fix)) * 100%), var(--flame-blue)); }
.flame-core  { fill: color-mix(in oklab, #FFF1C2 calc((1 - var(--fix)) * 100%), var(--flame-core)); }
.ht-bad  { opacity: clamp(0, calc(1 - var(--fix) * 2.2), 1); transform: translate3d(0, calc(var(--fix) * -24px), 0); }
.ht-good { opacity: clamp(0, calc(var(--fix) * 2.2 - 1.2), 1); transform: translate3d(0, calc((1 - var(--fix)) * 24px), 0); }
.readout-bad  { opacity: clamp(0, calc(1 - var(--fix) * 3), 1); }
.readout-good { opacity: clamp(0, calc(var(--fix) * 3 - 2), 1); }

/* NAVIDAD: Papá Noel de cuerpo entero, en tres cuartos y con perspectiva */
.santa {
  left: 68%; bottom: 7%; width: 70%;
  transform-origin: 50% 100%;
  transform: perspective(700px)
             translate3d(calc((1 - var(--in)) * 110%), 0, 0)
             rotateY(calc((1 - var(--in)) * -55deg + var(--blow) * 10deg))
             rotate(calc(var(--blow) * -5deg));
}
.s-red { fill: #E2452F; }
.s-red-dark { fill: #BE3627; }
.s-boot, .s-belt { fill: #2B2828; }
.s-sack { fill: #353030; }
.s-sack-shade { fill: #242020; }
.s-buckle { fill: #F7E7DA; }
.s-beard { fill: #FCEFE9; }
.s-hat { fill: #E2452F; }
.s-hat-shade { fill: #BE3627; }
.s-shadow { fill: rgba(0, 0, 0, .3); }
.s-line { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.6; stroke-linecap: round; }
.s-curl { fill: none; stroke: #D9BFB4; stroke-width: 1.4; stroke-linecap: round; }
.s-brow { stroke-width: 3.4; }
.s-arm-down { opacity: calc(1 - var(--happy)); }
.s-arm-up { opacity: var(--happy); transform-box: fill-box; transform-origin: 80% 80%; transform: rotate(calc((1 - var(--happy)) * 30deg)); }
.santa .wind { right: 56%; top: 15%; width: 80%; }
.santa .bubble { right: 30%; margin-bottom: 4px; }
@media (max-width: 719.98px) {
  .santa { left: 74%; bottom: 4%; width: 66%; }
  .santa .bubble { right: 10%; }
}

/* NAVIDAD v3: Papá Noel a la escala de la llama, con rasgos colombianos */
.s-skin { fill: #D9A07A; }
.s-nose { fill: #C47D5A; }
.s-strap { fill: none; stroke: #6D3B1F; stroke-width: 6; stroke-linecap: round; }
.s-strap-a { stroke: #FDD835; stroke-width: 2; stroke-dasharray: 4 4; }
.s-bag { fill: #F5EFE6; }
.s-bag-edge { fill: none; stroke: #6D3B1F; stroke-width: 3; stroke-linecap: round; }
.s-zig { fill: none; stroke: #0A2533; stroke-width: 1.4; opacity: .55; }
.s-scarf-y { fill: #FCD116; }
.s-scarf-b { fill: #003893; }
.s-scarf-r { fill: #CE1126; }
.s-arm-up { transform: none; }
.s-wave { transform-box: fill-box; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .s-wave { animation: wave .7s ease-in-out infinite alternate; }
  @keyframes wave { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
}
/* Santa del mismo alto que la llama; la pareja se centra corriendo la llama a la izquierda */
.santa { left: 78%; bottom: 7%; width: 96%; }
.flame-rig { translate: -34% 0; }
.santa .bubble { right: 34%; }
@media (max-width: 719.98px) {
  .flame-rig { translate: -38% 0; }
  .santa { left: 76%; bottom: 5%; width: 100%; }
  .santa .bubble { right: 18%; }
}
@media (max-width: 719.98px) {
  /* En celular el globo va al lado de la cara, para no chocar con el menú */
  .santa .bubble { bottom: 70%; right: 58%; margin-bottom: 0; }
}
