/* ==========================================================================
   Bendito Sol — styles.css
   Paleta: negro, gris carbón, blanco, amarillo solar como acento.
   ========================================================================== */

:root {
  --ink: #0b0b0c;
  --ink-2: #131315;
  --ink-3: #1c1c1f;
  --carbon: #4a4a4d;
  --line: rgba(255, 255, 255, 0.12);
  --line-ink: rgba(11, 11, 12, 0.16);
  --white: #ffffff;
  --paper: #f4f2ec;
  --muted: rgba(255, 255, 255, 0.64);
  --muted-ink: rgba(11, 11, 12, 0.66);
  --sun: #ffcc00;
  --sun-voltio: #fcc000;
  --sun-deep: #ff9f0a;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 22px;
  --nav-h: 76px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--sun); color: var(--ink); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

/* ---------- Tipografía base ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--sun);
}
.eyebrow::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 14px currentColor;
}
.eyebrow--ink { color: var(--ink); }
.eyebrow--ink::before { box-shadow: none; }

.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 78%;
  font-size: clamp(2.3rem, 6.2vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 16ch;
  margin-top: 18px;
}
.section-head { padding: 0 var(--gutter); margin-bottom: clamp(40px, 6vw, 80px); }
.section-head--row {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
}
.section-aside { max-width: 34ch; color: var(--muted); font-size: 0.95rem; }

em { font-style: normal; color: var(--sun); }

/* ---------- Botones ---------- */
.btn {
  --bg: transparent; --fg: var(--white); --bd: var(--line);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform 0.35s var(--ease-out), background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.4s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.45), transparent 70%);
  opacity: 0; transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }
.btn--sun { --bg: var(--sun); --fg: var(--ink); --bd: var(--sun); box-shadow: 0 0 0 rgba(255, 204, 0, 0); }
.btn--sun:hover { box-shadow: 0 10px 40px -8px rgba(255, 204, 0, 0.6); }
.btn--ghost:hover { --bd: var(--white); }
.btn--ink { --bg: var(--ink); --fg: var(--white); --bd: var(--ink); }
.btn--ink::after { background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(255, 204, 0, 0.35), transparent 70%); }
.btn--line { --bd: var(--line-ink); --fg: var(--ink); }
.btn--line:hover { --bg: var(--ink); --fg: var(--white); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 0.88rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--sun);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow span { transition: transform 0.3s var(--ease-out); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center;
  background: var(--ink);
  transition: clip-path 0.9s var(--ease-io), visibility 0s 0.9s;
  clip-path: inset(0 0 0 0);
  animation: splashSafety 0.01s 3.5s forwards;
}
.splash.is-out { clip-path: inset(0 0 100% 0); visibility: hidden; }
@keyframes splashSafety { to { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; } }
.splash__logo { grid-area: 1 / 1; width: 120px; animation: splashLogo 1.1s var(--ease-out) both; }
.splash__sun { grid-area: 1 / 1; width: 260px; height: 260px; display: grid; place-items: center; }
.splash__sun span {
  width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.55), rgba(255, 159, 10, 0.08) 55%, transparent 70%);
  animation: splashSun 1.6s var(--ease-out) both;
}
@keyframes splashLogo { from { opacity: 0; transform: translateY(16px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes splashSun { from { transform: scale(0.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Cursor ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 400; opacity: 0; transition: opacity 0.25s; }
.cursor.is-ready { opacity: 1; }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--sun); }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255, 204, 0, 0.6);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), margin 0.3s var(--ease-out), background-color 0.3s, border-color 0.3s;
}
.cursor.is-hover .cursor__ring { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(255, 204, 0, 0.12); border-color: transparent; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* Grano sutil */
.grain {
  position: fixed; inset: -50%; z-index: 250; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h); padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: transform 0.5s var(--ease-out), background-color 0.4s, backdrop-filter 0.4s;
}
.nav.is-scrolled { background: rgba(11, 11, 12, 0.82); }
@supports (backdrop-filter: blur(14px)) {
  .nav.is-scrolled { background: rgba(11, 11, 12, 0.55); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand img { width: 46px; transition: transform 0.5s var(--ease-out); }
.nav__brand:hover img { transform: rotate(-6deg) scale(1.06); }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 36px); font-size: 0.9rem; font-weight: 500; }
.nav__links a { position: relative; color: var(--muted); transition: color 0.3s; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sun);
  transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-current { color: var(--white); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__colab { gap: 7px; --fg: var(--muted); }
.nav__colab:hover { --fg: var(--white); }
.nav.menu-open .nav__colab { display: none; }
.nav__burger {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; cursor: pointer; position: relative;
}
.nav__burger i {
  position: absolute; left: 14px; right: 14px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out);
}
.nav__burger i:nth-of-type(1) { top: 18px; }
.nav__burger i:nth-of-type(2) { top: 26px; }
.nav__burger[aria-expanded="true"] i:nth-of-type(1) { top: 22px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] i:nth-of-type(2) { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 190; background: var(--sun); color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  clip-path: circle(0% at calc(100% - 40px) 38px);
  transition: clip-path 0.7s var(--ease-io);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 38px); }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font-family: var(--display); font-weight: 800; font-stretch: 75%;
  font-size: clamp(2.2rem, 10vw, 4.2rem); line-height: 1.02; text-transform: uppercase;
  display: flex; align-items: baseline; gap: 14px; padding: 4px 0;
  border-bottom: 1px solid var(--line-ink);
}
.menu nav a small { font-family: var(--body); font-size: 0.75rem; font-weight: 600; opacity: 0.6; }
.menu__pie { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-top: 20px; }
.menu__wa { font-weight: 700; font-size: 1.05rem; }
.menu__colab { font-weight: 600; font-size: .88rem; opacity: .65; }
.nav.menu-open { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav.menu-open .nav__brand img { filter: brightness(0); }
.nav.menu-open .nav__burger { border-color: var(--line-ink); }
.nav.menu-open .nav__burger i { background: var(--ink); }
.nav.menu-open .btn--sun { --bg: var(--ink); --fg: var(--white); --bd: var(--ink); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 40px) var(--gutter) clamp(28px, 5vh, 56px);
  isolation: isolate; overflow: clip;
}
.hero__sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--ink));
}
.hero__inner { position: relative; }
.hero__eyebrow { margin-bottom: clamp(18px, 3vh, 32px); }
.hero__title {
  font-family: var(--display); font-weight: 900;
  font-stretch: 72%;
  font-size: clamp(3.6rem, 13.5vw, 13rem);
  line-height: 0.84; letter-spacing: -0.03em; text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding: 0.06em 0 0.12em; margin-bottom: -0.14em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease-out), font-stretch 0.6s var(--ease-out); }
.hero__title .line:nth-child(2) > span { transition-delay: 0.1s; }
.hero__title .line:nth-child(3) > span { transition-delay: 0.2s; }
.hero__title .line--small { font-size: 0.42em; letter-spacing: -0.01em; margin-top: 0.12em; color: var(--white); }
.hero__title .line--small > span { font-stretch: 110%; font-weight: 700; }
.hero__title em { color: var(--sun); text-shadow: 0 0 60px rgba(255, 204, 0, 0.35); }
.is-loaded .hero__title .line > span { transform: none; }
.hero__title .line > span:hover { font-stretch: 100%; }
.hero__title .line--small > span:hover { font-stretch: 125%; }

.hero__foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  margin-top: clamp(24px, 4vh, 44px);
}
.hero__lede { max-width: 44ch; color: var(--muted); font-size: clamp(0.98rem, 1.2vw, 1.12rem); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
[data-hero-in] { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease-out) 0.35s, transform 1s var(--ease-out) 0.35s; }
.hero__title[data-hero-in] { opacity: 1; transform: none; }
.is-loaded [data-hero-in] { opacity: 1; transform: none; }

.hero__meta {
  position: absolute; top: calc(var(--nav-h) + 24px); right: var(--gutter);
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.hero__meta b { color: var(--sun); font-size: 1rem; }
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll::after { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--sun), transparent); animation: scrollCue 2.2s var(--ease-io) infinite; transform-origin: top; }
@keyframes scrollCue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Hero: Voltio con escudo (escudo.js) ---------- */
.hg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hg.is-off { display: none; }
.hg__fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.hg__voltio {
  position: absolute; left: 0; top: 0; pointer-events: auto; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hg__voltio svg, .hg__bill svg { display: block; width: 100%; height: auto; overflow: visible; }
.hg__bill {
  position: absolute; left: 0; top: 0; opacity: 0; transform-origin: 50% 50%;
}
.v-cell { opacity: 0; }
.v-rays { opacity: 0; }
.hg__pop {
  position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap;
  font-family: var(--display); font-weight: 900; font-stretch: 78%; text-transform: uppercase;
  font-size: clamp(0.72rem, 0.9vw, 0.9rem); letter-spacing: 0.02em; line-height: 1; color: var(--ink);
  background: var(--sun); padding: 0.32em 0.6em 0.28em; border-radius: 0.4em;
  box-shadow: 0 0 0 2px var(--ink), 0 6px 16px rgba(0, 0, 0, 0.45);
}
.hg__pop.is-on { animation: hgPop 1.2s var(--ease-out) forwards; }
@keyframes hgPop {
  0% { opacity: 0; transform: translate(-50%, -20%) scale(0.4) rotate(-10deg); }
  16% { opacity: 1; transform: translate(-50%, -60%) scale(1.18) rotate(-4deg); }
  32% { transform: translate(-50%, -70%) scale(1) rotate(-4deg); }
  78% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -140%) scale(1) rotate(-4deg); }
}
.hg--m .hg__pop { font-size: 0.66rem; }
.hg__hud {
  position: absolute; left: 0; top: 0; display: flex; align-items: baseline; gap: 7px; white-space: nowrap;
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  transform: translateX(-50%);
}
.hg__hud b { font-family: var(--display); font-size: 1rem; font-weight: 900; font-stretch: 78%; letter-spacing: 0; color: var(--sun); }
.hg__hud.is-bump b { animation: hgBump 0.5s var(--ease-out); }
@keyframes hgBump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }
.hg__hud b { display: inline-block; }
.hg--m .hg__hud { transform: none; font-size: 0.52rem; letter-spacing: 0.12em; }
.hg--m .hg__hud b { font-size: 0.85rem; }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line); overflow: hidden; background: var(--ink);
  padding: 18px 0;
}
.marquee__track {
  display: flex; gap: 36px; width: max-content; align-items: center;
  animation: marquee 48s linear infinite;
  font-family: var(--display); font-weight: 700; font-stretch: 100%;
  font-size: clamp(1.1rem, 2vw, 1.6rem); text-transform: uppercase; letter-spacing: 0.01em;
}
.marquee__track i { color: var(--sun); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal genérico ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
[data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 40ms); }
[data-split].is-visible .w > span { transform: none; }

.reveal-img { clip-path: inset(18% 0 18% 0 round var(--radius)); transition: clip-path 1.3s var(--ease-out); }
.reveal-img img { transform: scale(1.18); transition: transform 1.6s var(--ease-out); }
.reveal-img.is-visible { clip-path: inset(0 0 0 0 round var(--radius)); }
.reveal-img.is-visible img { transform: scale(1); }

/* ---------- DRAMA (amarillo) ---------- */
.drama {
  position: relative; background: var(--sun); color: var(--ink);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  min-height: 100vh; padding: clamp(80px, 10vw, 140px) var(--gutter) 0;
  overflow: clip;
}
.drama__copy { align-self: center; padding-bottom: clamp(40px, 8vw, 120px); }
.drama__title {
  font-family: var(--display); font-weight: 900; font-stretch: 70%;
  font-size: clamp(2.8rem, 7vw, 6.6rem); line-height: 0.9; letter-spacing: -0.025em;
  text-transform: uppercase; margin: 20px 0 28px; max-width: 12ch; text-wrap: balance;
}
.drama__text { max-width: 40ch; font-size: clamp(1rem, 1.3vw, 1.18rem); color: var(--muted-ink); font-weight: 500; }
.drama__figure { position: relative; align-self: end; justify-self: center; width: min(100%, 720px); }
.drama__figure img { width: 100%; transform-origin: 50% 100%; animation: wobble 5s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.6deg) translateY(-6px); } }
.stamp {
  position: absolute; top: 28%; left: 50%;
  font-family: var(--display); font-weight: 900; font-stretch: 85%;
  font-size: clamp(1.8rem, 4.6vw, 3.8rem); text-transform: uppercase; letter-spacing: 0.04em;
  color: #d4261c; border: 0.12em solid #d4261c; border-radius: 0.18em; padding: 0.06em 0.3em;
  mix-blend-mode: multiply; opacity: 0;
  transform: translate(-50%, -50%) rotate(-14deg) scale(2.6);
}
.stamp.is-on { animation: stamp 0.55s cubic-bezier(0.2, 1.4, 0.4, 1) forwards; }
@keyframes stamp {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-14deg) scale(2.6); }
  60% { opacity: 0.92; transform: translate(-50%, -50%) rotate(-14deg) scale(0.94); }
  100% { opacity: 0.9; transform: translate(-50%, -50%) rotate(-14deg) scale(1); }
}

/* ---------- SHIFT: de gasto a inversión ---------- */
.shift { position: relative; height: 300vh; background: var(--ink); }
.shift__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: calc(var(--nav-h) + 10px) var(--gutter) 28px; overflow: clip;
}
/* Centrado seguro: si el contenido no cabe, no se recorta por arriba */
.shift__sticky > :first-child { margin-top: auto; }
.shift__sticky > :last-child { margin-bottom: auto; }
.shift__head { margin-bottom: clamp(20px, 4vh, 48px); }
.shift__stage { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.shift__steps { display: grid; }
.shift__steps li {
  grid-area: 1 / 1; display: flex; flex-direction: column; gap: 18px;
  opacity: 0; transform: translateY(40px); filter: blur(6px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), filter 0.7s var(--ease-out);
  pointer-events: none;
}
.shift__steps li.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.shift__steps li.is-past { transform: translateY(-40px); }
.shift__n { font-family: var(--display); font-weight: 700; color: var(--sun); font-size: 1rem; letter-spacing: 0.1em; }
.shift__steps strong {
  font-family: var(--display); font-weight: 800; font-stretch: 76%;
  font-size: clamp(2.2rem, 5.6vw, 5.2rem); line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase;
  text-wrap: balance;
}
.shift__steps li > span:last-child { max-width: 42ch; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.15rem); }
.shift__viz { position: relative; aspect-ratio: 1; max-height: calc(100svh - var(--nav-h) - 200px); justify-self: center; width: 100%; max-width: calc(100svh - var(--nav-h) - 200px); display: grid; place-items: center; }
.shift__sun {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #fff6c2 0%, var(--sun) 28%, var(--sun-deep) 52%, rgba(255, 159, 10, 0) 72%);
  transform: scale(calc(0.2 + var(--p, 0) * 0.8)); opacity: calc(0.15 + var(--p, 0) * 0.85);
  filter: blur(2px); transition: transform 0.2s linear, opacity 0.2s linear;
}
.bill-bar {
  position: relative; z-index: 1; width: 100%; padding: 22px; border-radius: var(--radius);
  background: rgba(19, 19, 21, 0.86); border: 1px solid var(--line);
}
.bill-bar__label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-weight: 600; }
.bill-bar__label b { font-family: var(--display); font-stretch: 80%; font-size: clamp(2rem, 4vw, 3.4rem); color: var(--sun); line-height: 1; }
.bill-bar__track { height: 14px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bill-bar__fill {
  height: 100%; width: calc(100% - var(--p, 0) * 99%); min-width: 6px; border-radius: inherit;
  background: linear-gradient(90deg, #e3392b, var(--sun-deep));
  transition: width 0.2s linear;
}
.shift__note { margin-top: clamp(20px, 4vh, 40px); font-size: 0.75rem; color: rgba(255, 255, 255, 0.45); max-width: 70ch; }

/* ---------- SOLUCIONES ---------- */
.solutions { padding: clamp(100px, 14vw, 200px) 0 clamp(60px, 8vw, 120px); background: var(--ink); }
.brands { padding: clamp(40px, 6vw, 72px) var(--gutter) 0; color: var(--muted); font-size: 0.95rem; text-align: center; }
.brands b { color: var(--white); letter-spacing: 0.04em; }

/* ---------- Soluciones: pestañas ---------- */
.sol-tabs {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(16px, 2.4vw, 32px);
  padding: 0 var(--gutter); align-items: stretch;
}
.sol-tabs__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.sol-tab {
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: baseline;
  padding: clamp(18px, 2.4vw, 30px) 0; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  color: var(--muted); text-align: left; cursor: pointer; transition: color 0.4s;
}
.sol-tab::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--sun);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out);
}
.sol-tab.is-active { color: var(--white); }
.sol-tab.is-active::after { transform: scaleX(1); }
.sol-tab:hover { color: var(--white); }
.sol-tab__n { grid-row: 1 / span 2; font-family: var(--display); font-weight: 700; color: var(--sun); font-size: 0.95rem; }
.sol-tab__name { font-family: var(--display); font-weight: 900; font-stretch: 75%; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 0.95; text-transform: uppercase; transition: font-stretch 0.5s var(--ease-out); }
.sol-tab.is-active .sol-tab__name { font-stretch: 90%; }
.sol-tab__hint { font-size: 0.85rem; margin-top: 4px; }

.sol-tabs__panels { position: relative; display: grid; }
.sol-panel {
  grid-area: 1 / 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(16px, 2.4vw, 36px); align-items: center;
  padding: clamp(22px, 3vw, 44px); border-radius: calc(var(--radius) + 6px);
  background: radial-gradient(120% 90% at 0% 0%, rgba(255, 204, 0, 0.12), transparent 55%), var(--ink-2);
  border: 1px solid var(--line);
}
.sol-panel[hidden] { display: none; }
.sol-panel.is-active { animation: panelIn 0.7s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.sol-panel__copy { display: flex; flex-direction: column; gap: 20px; }
.sol-panel__copy h3 { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1; text-transform: uppercase; }
.sol-panel__copy .btn { align-self: flex-start; }
.sol__list { display: grid; gap: 10px; color: var(--muted); }
.sol__list li { padding-left: 22px; position: relative; }
.sol__list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; background: var(--sun); }

/* Ilustraciones de línea */
.sol-art { width: 100%; height: auto; overflow: visible; }
.sol-art .ln, .sol-art .sun path, .sol-art .sun circle {
  fill: none; stroke: rgba(255, 255, 255, 0.82); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 900; stroke-dashoffset: 900;
}
.sol-art .sun circle, .sol-art .sun path { stroke: var(--sun); }
.sol-art .pv rect { fill: rgba(255, 204, 0, 0.14); stroke: var(--sun); stroke-width: 1.6; opacity: 0; transform-box: fill-box; }
.sol-art .pv .ln { stroke: rgba(255, 255, 255, 0.5); }
.sol-panel.is-active .sol-art .ln { animation: draw 1.6s var(--ease-out) forwards; }
.sol-panel.is-active .sol-art .sun circle, .sol-panel.is-active .sol-art .sun path { animation: draw 1.2s var(--ease-out) 0.2s forwards; }
.sol-panel.is-active .sol-art .pv rect { animation: pvIn 0.5s var(--ease-out) forwards; }
.sol-panel.is-active .sol-art .pv rect:nth-of-type(1) { animation-delay: 0.9s; }
.sol-panel.is-active .sol-art .pv rect:nth-of-type(2) { animation-delay: 1s; }
.sol-panel.is-active .sol-art .pv rect:nth-of-type(3) { animation-delay: 1.1s; }
.sol-panel.is-active .sol-art .pv rect:nth-of-type(4) { animation-delay: 1.2s; }
.sol-panel.is-active .sol-art .pv rect:nth-of-type(5) { animation-delay: 1.3s; }
.sol-panel.is-active .sol-art .pv rect:nth-of-type(6) { animation-delay: 1.4s; }
.sol-art .sun { transform-origin: center; transform-box: fill-box; animation: spin 30s linear infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pvIn { to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- El panel LONGi (3D) ---------- */
.panel-sec {
  position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: center;
  padding: clamp(90px, 11vw, 160px) var(--gutter); background: var(--ink); overflow: clip;
}
.panel-sec::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 60vmin; height: 60vmin; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 204, 0, 0.22), transparent 65%); pointer-events: none;
}
.panel-sec__title {
  font-family: var(--display); font-weight: 900; font-stretch: 70%; text-transform: uppercase;
  font-size: clamp(3.4rem, 8vw, 7.4rem); line-height: 0.86; letter-spacing: -0.02em; margin: 18px 0 22px;
}
.panel-sec__title span { color: var(--sun); }
.panel-sec__title small { font-size: 0.45em; color: var(--sun); margin-left: 0.06em; }
.panel-sec__lede { color: var(--muted); max-width: 34ch; font-size: 1.05rem; }
.panel-sec__lede b { color: var(--white); }

.panel-sec__stage { position: relative; display: grid; place-items: center; perspective: 1100px; min-height: 440px; }
.p3d {
  position: relative; width: clamp(170px, 17vw, 230px); aspect-ratio: 1 / 1.95; transform-style: preserve-3d;
  transform: rotateX(8deg) rotateY(var(--ry, -18deg)); transition: transform 0.9s cubic-bezier(0.2, 0.9, 0.25, 1.15);
  cursor: pointer; animation: p3dFloat 5s ease-in-out infinite;
}
@keyframes p3dFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .p3d { animation: none; } }
.p3d__face { position: absolute; inset: 0; border-radius: 6px; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 5px solid #1d1f24; }
.p3d__face--front {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.0) 35%, rgba(255, 255, 255, 0.16) 45%, rgba(255, 255, 255, 0) 55%) 0 0 / 300% 100%,
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px) 0 0 / 100% 8.33%,
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px) 0 0 / 16.66% 100%,
    linear-gradient(180deg, transparent 49.6%, rgba(255, 255, 255, 0.35) 49.6% 50.4%, transparent 50.4%),
    linear-gradient(160deg, #222a3d, #07090f 70%);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1);
  background-position: var(--glare, 100%) 0, 0 0, 0 0, 0 0, 0 0;
}
.p3d__face--back {
  transform: rotateY(180deg);
  background:
    linear-gradient(rgba(255, 204, 0, 0.35) 1px, transparent 1px) 0 0 / 100% 8.33%,
    linear-gradient(90deg, rgba(255, 204, 0, 0.35) 1px, transparent 1px) 0 0 / 16.66% 100%,
    linear-gradient(160deg, rgba(255, 204, 0, 0.22), rgba(255, 159, 10, 0.08));
  display: grid; place-items: center;
}
.p3d__face--back span {
  writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--display); font-weight: 800; font-stretch: 80%;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--sun); font-size: 0.9rem;
}
.panel-sec__shadow { position: absolute; bottom: 8%; width: 60%; height: 22px; border-radius: 50%; background: radial-gradient(rgba(0, 0, 0, 0.8), transparent 70%); filter: blur(6px); }
.panel-sec__flip {
  position: absolute; bottom: 0; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px 10px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(19, 19, 21, 0.85);
  color: var(--white); font-weight: 700; font-size: 0.9rem; cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}
.panel-sec__flip:hover { border-color: var(--sun); background: rgba(255, 204, 0, 0.08); }
.panel-sec__flip-ico {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); color: var(--ink); font-size: 1.1rem; transition: transform 0.6s var(--ease-out);
}
.panel-sec__flip:hover .panel-sec__flip-ico { transform: rotate(180deg); }
.panel-sec__flip[aria-pressed="true"] .panel-sec__flip-ico { transform: rotate(180deg); }

.panel-sec__specs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.panel-sec__specs li { display: grid; grid-template-columns: 6.6rem 1fr; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.panel-sec__specs b { font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: 1.2rem; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.panel-sec__specs b small { font-size: 0.6em; color: var(--sun); }
.panel-sec__specs span { color: var(--muted); font-size: 0.92rem; }
.panel-sec__specs li:first-child b { color: var(--sun); font-size: 1.7rem; }

@media (max-width: 1080px) {
  .sol-tabs { grid-template-columns: 1fr; }
  .sol-tabs__list { flex-direction: row; overflow-x: auto; scrollbar-width: none; border-top: 0; }
  .sol-tabs__list::-webkit-scrollbar { display: none; }
  .sol-tab { flex: 1 0 auto; padding: 14px 18px 14px 0; grid-template-columns: auto auto; }
  .sol-tab__hint { display: none; }
  .sol-tab__name { font-size: clamp(1.4rem, 5vw, 2.2rem); }
  .panel-sec { grid-template-columns: 1fr 1fr; }
  .panel-sec__specs { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: 24px; }
}
@media (max-width: 860px) {
  .sol-panel { grid-template-columns: 1fr; }
  .sol-tab { padding: 12px 8px 12px 0; flex: 1 1 auto; min-width: 0; }
  .sol-tab__n { display: none; }
  .sol-tab__name, .sol-tab.is-active .sol-tab__name { font-size: clamp(0.95rem, 4.6vw, 1.5rem); font-stretch: 72%; }
  .sol-art { max-width: 420px; margin-inline: auto; }
  .panel-sec { grid-template-columns: 1fr; }
  .panel-sec__stage { min-height: 380px; }
  .panel-sec__specs { grid-template-columns: 1fr; }
  .seg--form { grid-template-columns: repeat(3, 1fr); }
}
.seg.seg--form { grid-template-columns: repeat(3, 1fr); }
@media (prefers-reduced-motion: reduce) { .sol-art .sun { animation: none; } }

/* ---------- PAQUETES (papel claro) ---------- */
.packs { background: var(--paper); color: var(--ink); padding: clamp(90px, 12vw, 170px) 0; border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0; }
.packs .eyebrow { color: var(--ink); }
.packs .eyebrow::before { box-shadow: none; background: var(--sun-deep); }
.packs .section-aside { color: var(--muted-ink); }
.packs .section-aside b { color: var(--ink); }

.packs__bar { display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap; padding: 0 var(--gutter); margin-bottom: 28px; }
.packs__modes { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-ink); }
.packs__modes label { position: relative; cursor: pointer; }
.packs__modes input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.packs__modes span { display: block; padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 0.88rem; white-space: nowrap; transition: background-color 0.3s, color 0.3s; }
.packs__modes input:checked + span { background: var(--ink); color: var(--sun); }
.packs__modes input:focus-visible + span { outline: 2px solid var(--sun-deep); outline-offset: 2px; }
.packs__mode-note { flex: 1 1 260px; font-size: 0.92rem; color: var(--muted-ink); }
.packs__mode-note b { color: var(--ink); }
.packs__mode-note span { display: none; }
[data-mode="contado"] [data-note="contado"], [data-mode="express"] [data-note="express"], [data-mode="semi"] [data-note="semi"], [data-mode="tarjeta"] [data-note="tarjeta"] { display: inline; }
.packs__nav { display: flex; gap: 8px; }
.packs__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-ink); background: var(--white); cursor: pointer; font-size: 1.1rem; transition: background-color 0.3s, color 0.3s; }
.packs__arrow:hover { background: var(--ink); color: var(--sun); }

.packs__row {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 24vw, 330px); gap: clamp(14px, 1.6vw, 22px);
  padding: 10px var(--gutter) 30px; overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.packs__row::-webkit-scrollbar { display: none; }
.pack {
  position: relative; display: flex; flex-direction: column; scroll-snap-align: start;
  border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-ink); overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.pack:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35); }
.pack--hot { background: var(--sun); border-color: var(--sun); }
.pack__tag {
  position: absolute; top: 16px; right: 16px; z-index: 1; background: var(--ink); color: var(--sun);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px;
}
.pack__panels {
  display: grid; grid-template-columns: repeat(var(--cols, 4), 34px); gap: 5px; align-content: end;
  min-height: 126px; margin: 54px 22px 0; perspective: 600px;
}
.pack__panels i {
  aspect-ratio: 1 / 1.7; border-radius: 3px; align-self: end;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px) 0 0 / 100% 16.6%,
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px) 0 0 / 33.3% 100%,
    linear-gradient(160deg, #2b3550, #0c1020 60%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  transform: rotateX(28deg); transform-origin: bottom;
  transition: transform 0.6s var(--ease-out);
}
.pack__panels i:nth-child(2n) { transition-delay: 40ms; }
.pack__panels i:nth-child(3n) { transition-delay: 80ms; }
.pack:hover .pack__panels i { transform: rotateX(0deg); }
.pack__body { display: flex; flex-direction: column; gap: 14px; padding: 20px 22px 24px; flex: 1; }
.pack__n { font-family: var(--display); font-stretch: 80%; font-weight: 700; font-size: 1.35rem; text-transform: uppercase; line-height: 1; }
.pack__n b { font-size: clamp(3rem, 4.4vw, 4rem); font-weight: 900; line-height: 0.8; margin-right: 4px; }
.pack__specs { display: grid; gap: 6px; border-block: 1px solid var(--line-ink); padding: 12px 0; }
.pack__specs div { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.pack__specs dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-ink); }
.pack__specs dd { font-weight: 700; font-size: 0.92rem; text-align: right; }
.pack__specs small { font-weight: 500; color: var(--muted-ink); }
.pack__pay { margin-top: auto; min-height: 84px; }
.pack__pay > div { display: none; animation: payIn 0.45s var(--ease-out); }
[data-mode="contado"] [data-pay="contado"], [data-mode="express"] [data-pay="express"], [data-mode="semi"] [data-pay="semi"], [data-mode="tarjeta"] [data-pay="tarjeta"] { display: block; }
@keyframes payIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pack__price { font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: clamp(2rem, 2.6vw, 2.5rem); line-height: 1; }
.pack__price small { font-family: var(--body); font-size: 0.85rem; font-weight: 600; color: var(--muted-ink); margin-left: 4px; }
.pack__sub { font-size: 0.8rem; color: var(--muted-ink); margin-top: 6px; line-height: 1.45; }
.pack .btn { align-self: stretch; }
.pack--custom { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pack--custom .pack__body { justify-content: flex-end; gap: 20px; padding: 28px 24px; }
.pack--custom .pack__n b { color: var(--sun); }
.pack__custom-text { color: var(--muted); }
.packs__legal { padding: 0 var(--gutter); font-size: 0.75rem; color: var(--muted-ink); max-width: 90ch; }

/* ---------- CALCULADORA ---------- */
.calc {
  position: relative; background: var(--ink);
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 100px);
  padding: clamp(100px, 13vw, 190px) var(--gutter);
}
.calc__intro { position: relative; }
.calc__lede { color: var(--muted); max-width: 42ch; margin-top: 24px; font-size: 1.05rem; }
.calc__voltio {
  margin-top: 40px; display: flex; align-items: center; gap: 18px; max-width: 420px;
  padding: 10px 18px 10px 10px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line);
}
.calc__voltio img { width: 96px; border-radius: 16px; background: var(--sun-voltio); }
.calc__voltio figcaption { font-size: 0.9rem; color: var(--muted); }

.calc__panel {
  position: relative; padding: clamp(22px, 3vw, 44px); border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-3)); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 28px;
}
.calc__panel::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(500px 180px at 80% 0%, rgba(255, 204, 0, 0.16), transparent 70%);
}
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; margin: 0; border: 1px solid var(--line); border-radius: 999px; background: rgba(0, 0, 0, 0.25); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px;
  border-radius: 999px; font-weight: 700; line-height: 1.15; text-align: center;
  transition: background-color 0.35s var(--ease-out), color 0.35s;
}
.seg small { font-weight: 500; font-size: 0.7rem; opacity: 0.7; }
.seg input:checked + span { background: var(--sun); color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 2px; }

.calc__input-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.calc__input-head > label { font-weight: 600; }
.calc__unit { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.25); }
.calc__unit label { position: relative; cursor: pointer; }
.calc__unit input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.calc__unit span { display: block; padding: 6px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; color: var(--muted); transition: background-color 0.3s, color 0.3s; }
.calc__unit input:checked + span { background: var(--white); color: var(--ink); }
.calc__unit input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 2px; }
.calc__tip { font-size: 0.8rem; color: var(--muted); margin-top: 8px; }
.calc__tip b { color: var(--sun); }
.res--wide { grid-column: 1 / -1; }
.calc__amount {
  display: flex; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 18px;
}
.calc__amount span { color: var(--muted); font-weight: 600; }
.calc__amount input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0;
  font-family: var(--display); font-weight: 800; font-stretch: 85%;
  font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; color: var(--white);
  -moz-appearance: textfield;
}
.calc__amount input::-webkit-outer-spin-button, .calc__amount input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer;
  --fill: 20%;
}
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--sun) var(--fill), rgba(255, 255, 255, 0.12) var(--fill)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--sun); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%;
  background: var(--sun); border: 6px solid var(--ink); box-shadow: 0 0 0 1px var(--sun), 0 0 24px rgba(255, 204, 0, 0.6);
}
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--sun); border: 5px solid var(--ink); box-shadow: 0 0 0 1px var(--sun); }

.calc__results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.res { background: var(--ink-2); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.res--big { grid-column: 1 / -1; background: var(--sun); color: var(--ink); }
.res__k { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; font-weight: 600; }
.res__v { font-family: var(--display); font-weight: 800; font-stretch: 85%; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.05; }
.res--big .res__v { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; }

.calc__chart svg { width: 100%; height: 150px; overflow: visible; }
.chart__zero { stroke: rgba(255, 255, 255, 0.18); stroke-dasharray: 4 6; }
.chart__line { fill: none; stroke: var(--sun); stroke-width: 3; vector-effect: non-scaling-stroke; transition: d 0.6s var(--ease-out); }
.chart__area { fill: url(#none); fill: rgba(255, 204, 0, 0.1); transition: d 0.6s var(--ease-out); }
.chart__dot { fill: var(--ink); stroke: var(--sun); stroke-width: 3; vector-effect: non-scaling-stroke; transition: cx 0.6s var(--ease-out), cy 0.6s var(--ease-out); }
.calc__chart-legend { display: flex; justify-content: space-between; font-size: 0.72rem; color: rgba(255, 255, 255, 0.5); margin-top: 8px; gap: 10px; }
.calc__chart-legend span:nth-child(2) { color: var(--sun); text-align: center; }
.calc__warn { padding: 14px 16px; border-radius: 14px; background: rgba(255, 204, 0, 0.12); color: var(--sun); font-weight: 600; font-size: 0.92rem; }
.calc__assumptions { border-top: 1px solid var(--line); padding-top: 18px; font-size: 0.86rem; color: var(--muted); }
.calc__assumptions summary { cursor: pointer; font-weight: 700; color: var(--white); list-style: none; display: flex; justify-content: space-between; }
.calc__assumptions summary::after { content: "+"; color: var(--sun); font-size: 1.2rem; line-height: 1; transition: transform 0.3s; }
.calc__assumptions[open] summary::after { transform: rotate(45deg); }
.calc__assumptions summary::-webkit-details-marker { display: none; }
.calc__assumptions ul { display: grid; gap: 8px; margin: 14px 0; padding-left: 18px; list-style: disc; }
.calc__assumptions b { color: var(--white); }

/* ---------- FINANCIAMIENTO (amarillo) ---------- */
.finance {
  position: relative; background: var(--sun); color: var(--ink); overflow: clip;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px);
  padding: clamp(90px, 12vw, 170px) var(--gutter);
  border-radius: clamp(24px, 4vw, 48px);
  margin: 0 clamp(0px, 1vw, 14px);
}
.finance__big { position: relative; align-self: center; }
.finance__num {
  display: block; font-family: var(--display); font-weight: 900; font-stretch: 62%;
  font-size: clamp(10rem, 30vw, 30rem); line-height: 0.76; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 2px var(--ink);
  background: linear-gradient(to top, var(--ink) var(--fill, 0%), transparent var(--fill, 0%));
  -webkit-background-clip: text; background-clip: text;
}
.finance__num::after {
  content: "meses"; position: absolute; right: 4%; bottom: 6%;
  font-family: var(--body); font-size: clamp(0.9rem, 1.6vw, 1.3rem); font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  -webkit-text-stroke: 0; color: var(--ink);
}
.finance__copy { position: relative; z-index: 1; align-self: center; }
.finance__title {
  font-family: var(--display); font-weight: 900; font-stretch: 72%;
  font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase;
  margin: 20px 0 32px; text-wrap: balance;
}
.finance__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-ink); border: 1px solid var(--line-ink); border-radius: 18px; overflow: hidden; }
.finance__list li { background: var(--sun); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; transition: background-color 0.3s; }
.finance__list li:hover { background: #ffd633; }
.finance__list b { font-family: var(--display); font-stretch: 85%; font-size: 1.25rem; text-transform: uppercase; line-height: 1.05; }
.finance__list span { font-size: 0.9rem; color: var(--muted-ink); }
.finance__legal { font-size: 0.78rem; color: var(--muted-ink); margin: 20px 0 26px; max-width: 46ch; }
.finance__voltio { position: absolute; right: clamp(-20px, 2vw, 40px); bottom: 0; width: clamp(140px, 16vw, 230px); pointer-events: none; }
.finance__voltio { bottom: clamp(20px, 3vw, 48px); }
.finance__voltio img {
  width: 100%; border-radius: 50%; border: 6px solid var(--white); background: var(--sun-voltio);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.45);
  transform: translateY(calc(40px - var(--peek, 0) * 40px)) rotate(calc(-14deg + var(--peek, 0) * 20deg));
  opacity: calc(0.2 + var(--peek, 0) * 0.8);
  transition: transform 0.2s linear, opacity 0.2s linear;
}

/* ---------- PROYECTOS (galería horizontal) ---------- */
.work { position: relative; height: var(--work-h, 400vh); background: var(--ink); margin-top: clamp(80px, 10vw, 140px); }
.work__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 4vh; }
.work__head {
  position: absolute; top: calc(var(--nav-h) + 8px); left: var(--gutter); right: var(--gutter); z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none;
}
.work__head .eyebrow { position: absolute; top: 0; left: 0; }
.work__head .section-title { margin-top: 30px; font-size: clamp(2rem, 4.4vw, 4rem); }
.work__count { font-family: var(--display); font-stretch: 80%; font-weight: 700; font-size: 1.2rem; color: var(--muted); margin-left: auto; }
.work__count span { color: var(--sun); }
.work__track {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 48px);
  padding: 0 var(--gutter); padding-left: 42vw;
  will-change: transform; width: max-content;
}
.shot { flex: none; margin: 0; }
.shot--wide { width: min(58vw, calc((100svh - var(--nav-h) - 290px) * 1.333)); }
.shot--tall { width: min(40vw, calc((100svh - var(--nav-h) - 290px) * 0.87)); }
.shot:nth-child(even) { transform: translateY(-3vh); }
.shot__img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; position: relative; }
.shot--tall .shot__img { aspect-ratio: 4 / 4.6; }
.shot__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15) translateX(var(--px, 0px)); transition: transform 0.1s linear; }
.shot figcaption { display: flex; gap: 14px; align-items: baseline; margin-top: 14px; font-weight: 600; color: var(--muted); font-size: 0.9rem; }
.shot figcaption span { color: var(--sun); font-family: var(--display); font-weight: 700; }
.shot figcaption { flex-wrap: wrap; row-gap: 8px; }
.shot figcaption b { color: var(--white); font-weight: 700; }
.shot__stats { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; font-style: normal; }
.shot__stats i {
  font-style: normal; font-size: 0.78rem; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--white);
}
.shot__stats i:last-child { background: var(--sun); border-color: var(--sun); color: var(--ink); font-weight: 700; }
.work__end { flex: none; width: min(36vw, 460px); display: flex; flex-direction: column; gap: 20px; align-self: center; }
.work__end p { font-family: var(--display); font-weight: 900; font-stretch: 72%; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 0.92; text-transform: uppercase; }

/* ---------- PROCESO ---------- */
.process { padding: clamp(100px, 13vw, 180px) 0; background: var(--ink); }
.process__wrap { position: relative; padding: 0 var(--gutter); max-width: 1200px; margin-left: auto; margin-right: auto; }
.process__line { position: absolute; left: calc(var(--gutter) + 38px); top: 0; height: 100%; width: 10px; overflow: visible; }
.process__line path { stroke: var(--sun); stroke-width: 2; fill: none; vector-effect: non-scaling-stroke; stroke-dasharray: 1000; stroke-dashoffset: calc(1000 - var(--draw, 0) * 1000); filter: drop-shadow(0 0 8px rgba(255, 204, 0, 0.7)); }
.process__wrap::before { content: ""; position: absolute; left: calc(var(--gutter) + 42px); top: 0; bottom: 0; width: 1px; background: var(--line); }
.process__list { display: grid; gap: clamp(48px, 7vw, 100px); }
.process__list li { display: grid; grid-template-columns: 88px 1fr; gap: clamp(20px, 4vw, 60px); align-items: start; }
.process__n {
  position: relative; z-index: 1; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); border: 1px solid var(--line);
  font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 1.6rem; color: var(--sun);
  transition: background-color 0.5s, color 0.5s, box-shadow 0.5s;
}
.process__list li.is-visible .process__n { background: var(--sun); color: var(--ink); box-shadow: 0 0 40px rgba(255, 204, 0, 0.35); }
.process__list h3 {
  font-family: var(--display); font-weight: 800; font-stretch: 78%;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1; text-transform: uppercase; margin: 14px 0 12px;
}
.process__list p { color: var(--muted); max-width: 52ch; font-size: 1.05rem; }

/* ---------- NOSOTROS ---------- */
.about { padding: clamp(100px, 13vw, 180px) var(--gutter); background: var(--paper); color: var(--ink); border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0; }
.about .eyebrow { color: var(--ink); }
.about .eyebrow::before { box-shadow: none; background: var(--sun-deep); }
.about__title {
  font-family: var(--display); font-weight: 900; font-stretch: 70%;
  font-size: clamp(2.8rem, 8.4vw, 8.4rem); line-height: 0.88; letter-spacing: -0.03em; text-transform: uppercase;
  margin: 20px 0 clamp(50px, 8vw, 110px); max-width: 15ch; text-wrap: balance;
}
.about__title em { color: var(--ink); background: linear-gradient(transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%); }

/* Opiniones de Google junto al título */
.about__statement { display: grid; grid-template-columns: minmax(0, auto) minmax(300px, 440px); justify-content: space-between; gap: clamp(24px, 4vw, 64px); align-items: center; margin-bottom: clamp(50px, 8vw, 110px); }
.about__statement .about__title { margin-bottom: 0; }
.reviews {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: clamp(22px, 2.6vw, 34px); border-radius: calc(var(--radius) + 6px);
  background: var(--white); border: 1px solid var(--line-ink); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.35);
}
.reviews::before {
  content: "“"; position: absolute; top: -0.32em; right: 18px; font-family: var(--display); font-weight: 900;
  font-size: 7rem; line-height: 1; color: var(--sun);
}
.reviews__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-right: 60px; }
.reviews__score { display: flex; align-items: center; gap: 10px; }
.reviews__score b { font-family: var(--display); font-weight: 900; font-stretch: 75%; font-size: 2.6rem; line-height: 1; }
.reviews__score .stars { font-size: 1.1rem; margin: 0; background: linear-gradient(90deg, var(--sun-deep) calc(var(--r) / 5 * 100%), rgba(0, 0, 0, 0.15) 0); -webkit-background-clip: text; background-clip: text; }
.reviews__src { font-size: 0.8rem; color: var(--muted-ink); width: 100%; }
.reviews { min-width: 0; }
.reviews__viewport { overflow: hidden; width: 100%; min-width: 0; }
.reviews__track { display: flex; width: 100%; transition: transform 0.7s var(--ease-out); }
.review { min-width: 0; }
@media (max-width: 1080px) { .about__statement { grid-template-columns: minmax(0, 1fr); } }
.review { flex: 0 0 100%; margin: 0; display: flex; flex-direction: column; gap: 16px; padding-right: 4px; }
.review blockquote { margin: 0; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.5; color: var(--ink); font-weight: 500; }
.review figcaption { display: flex; flex-direction: column; font-size: 0.85rem; color: var(--muted-ink); }
.review figcaption b { color: var(--ink); font-size: 0.95rem; }
.review__stars { color: var(--sun-deep); letter-spacing: 0.1em; font-size: 0.95rem; }
.reviews__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.reviews__dots { display: flex; gap: 6px; }
.reviews__dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: rgba(0, 0, 0, 0.18); cursor: pointer; transition: width 0.4s var(--ease-out), background-color 0.3s; }
.reviews__dots button[aria-current="true"] { width: 26px; background: var(--ink); }
.reviews__nav { display: flex; gap: 8px; }
.reviews__arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-ink); background: transparent; cursor: pointer; transition: background-color 0.3s, color 0.3s; }
.reviews__arrow:hover { background: var(--ink); color: var(--sun); }
.reviews__all { font-weight: 700; font-size: 0.9rem; border-top: 1px solid var(--line-ink); padding-top: 14px; display: flex; justify-content: space-between; }
.reviews__all:hover { color: var(--sun-deep); }
.reviews.is-empty .reviews__viewport, .reviews.is-empty .reviews__foot { display: none; }
@media (max-width: 1080px) { .about__statement { grid-template-columns: 1fr; } }
.about__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.about__text { grid-column: 1 / span 5; font-size: 1.08rem; display: grid; gap: 18px; color: var(--muted-ink); }
.about__text p:first-child { color: var(--ink); font-weight: 600; font-size: 1.2rem; }
.about__values { display: grid; gap: 10px; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line-ink); }
.about__values b { color: var(--ink); }
.about__video { grid-column: 3 / span 8; margin-top: clamp(40px, 6vw, 90px); }
.video { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; object-fit: contain; }
.video__cover {
  position: absolute; inset: 0; border: 0; padding: clamp(20px, 4vw, 48px); cursor: pointer; text-align: left;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  background:
    radial-gradient(60% 90% at 85% 20%, rgba(255, 204, 0, 0.55), transparent 60%),
    linear-gradient(135deg, #141416, #0b0b0c);
  color: var(--white); transition: opacity 0.5s var(--ease-out), visibility 0s 0.5s;
}
.video.is-playing .video__cover { opacity: 0; visibility: hidden; }
.video__kicker { color: var(--sun); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }
.video__title { font-family: var(--display); font-weight: 900; font-stretch: 70%; font-size: clamp(2.4rem, 7vw, 6rem); line-height: 0.88; text-transform: uppercase; }
.video__play {
  position: absolute; top: 50%; right: 12%; width: clamp(70px, 9vw, 110px); aspect-ratio: 1; margin-top: calc(clamp(70px, 9vw, 110px) / -2);
  border-radius: 50%; background: var(--sun); display: grid; place-items: center;
  box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.5); transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.video__play svg { width: 40%; fill: var(--ink); margin-left: 6%; }
.video__cover:hover .video__play { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(255, 204, 0, 0.15); }
.about__video figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--muted-ink); }

/* ---------- CONTACTO ---------- */
.contact {
  position: relative; overflow: clip; isolation: isolate;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px);
  padding: clamp(100px, 13vw, 180px) var(--gutter); background: var(--ink);
}
.contact__glow {
  position: absolute; z-index: -1; width: 90vmax; height: 90vmax; left: -30vmax; bottom: -60vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.32), rgba(255, 159, 10, 0.08) 40%, transparent 65%);
  animation: glow 9s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(6vmax, -4vmax) scale(1.08); } }
.contact__title {
  font-family: var(--display); font-weight: 900; font-stretch: 70%;
  font-size: clamp(3.2rem, 9vw, 8.8rem); line-height: 0.86; letter-spacing: -0.03em; text-transform: uppercase; margin: 20px 0 26px;
}
.contact__lede { color: var(--muted); max-width: 40ch; font-size: 1.08rem; }
.contact__direct { margin-top: 36px; }
.contact__wa { display: inline-flex; align-items: center; gap: 16px; padding: 12px 26px 12px 12px; border-radius: 999px; border: 1px solid var(--line); transition: border-color 0.3s, background-color 0.3s; }
.contact__wa:hover { border-color: #25d366; background: rgba(37, 211, 102, 0.08); }
.contact__wa-ico { width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: grid; place-items: center; }
.contact__wa-ico svg { width: 28px; fill: #fff; }
.contact__wa small { display: block; color: var(--muted); font-size: 0.78rem; }
.contact__wa > span:last-child { font-family: var(--display); font-weight: 800; font-stretch: 90%; font-size: 1.5rem; line-height: 1.1; }
.contact__mail { display: inline-block; margin-top: 18px; font-weight: 700; color: var(--white); border-bottom: 1px solid var(--sun); padding-bottom: 2px; transition: color 0.3s; }
.contact__mail:hover { color: var(--sun); }
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; max-width: 560px; }
.place {
  display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(19, 19, 21, 0.6); transition: border-color 0.3s, transform 0.4s var(--ease-out);
}
.place:hover { border-color: var(--sun); transform: translateY(-3px); }
.place__tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sun); }
.place__city { font-family: var(--display); font-weight: 900; font-stretch: 75%; font-size: 1.7rem; line-height: 1; text-transform: uppercase; }
.place__addr { font-size: 0.85rem; color: var(--muted); line-height: 1.45; }
.place__go { margin-top: auto; padding-top: 6px; font-size: 0.82rem; font-weight: 700; color: var(--white); }

.form {
  align-self: center; display: grid; gap: 16px; padding: clamp(24px, 3vw, 44px);
  border-radius: calc(var(--radius) + 6px); background: rgba(19, 19, 21, 0.9); border: 1px solid var(--line);
}
@supports (backdrop-filter: blur(20px)) { .form { background: rgba(19, 19, 21, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); } }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); outline: 0;
  padding: 26px 0 10px; font-size: 1.05rem; resize: vertical; border-radius: 0;
  transition: border-color 0.3s;
}
.field label {
  position: absolute; left: 0; top: 24px; color: var(--muted); pointer-events: none; transform-origin: left top;
  transition: transform 0.35s var(--ease-out), color 0.3s;
}
.field input:focus, .field textarea:focus { border-color: var(--sun); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-20px) scale(0.78); color: var(--sun); }
.field.is-invalid input { border-color: #ff5a4a; }
.seg--form { border-radius: 18px; margin-top: 10px; }
.seg--form legend { font-size: 0.8rem; color: var(--muted); padding: 0 6px; }
.seg--form span { border-radius: 14px; min-height: 44px; }
.check { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 0.95rem; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line); display: grid; place-items: center; cursor: pointer; margin: 0; transition: background-color 0.2s, border-color 0.2s; }
.check input:checked { background: var(--sun); border-color: var(--sun); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.form__error { color: #ff7a6b; font-size: 0.9rem; font-weight: 600; }
.form__note { font-size: 0.78rem; color: rgba(255, 255, 255, 0.45); }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding: clamp(60px, 8vw, 110px) var(--gutter) 40px; }
.footer__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__logo { width: clamp(140px, 18vw, 240px); }
.footer__claim { font-family: var(--display); font-weight: 900; font-stretch: 72%; font-size: clamp(2rem, 5vw, 4.4rem); line-height: 0.92; text-transform: uppercase; text-align: right; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 280px)); gap: 32px; margin: 56px 0 40px; }
.footer__cols b { color: var(--white); font-weight: 600; }
.footer__cols h3 { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sun); margin-bottom: 14px; }
.footer__cols a, .footer__cols span { display: block; color: var(--muted); padding: 4px 0; transition: color 0.3s; }
.footer__cols a:hover { color: var(--white); }
.footer__legal { font-size: 0.75rem; color: rgba(255, 255, 255, 0.4); max-width: 100ch; border-top: 1px solid var(--line); padding-top: 24px; }

/* ---------- Aviso de privacidad (dialog) ---------- */
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sun); cursor: pointer; }
.link-btn:hover { color: var(--sun); }
.privacy {
  width: min(760px, calc(100vw - 32px)); max-height: min(86vh, 900px); padding: 0; border: 0;
  border-radius: calc(var(--radius) + 6px); background: var(--paper); color: var(--ink);
  display: none; flex-direction: column; overflow: hidden;
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.7);
}
.privacy[open] { display: flex; animation: privIn 0.45s var(--ease-out); }
.privacy::backdrop { background: rgba(11, 11, 12, 0.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes privIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }
.privacy__head { position: relative; padding: 26px clamp(20px, 4vw, 40px) 18px; border-bottom: 1px solid var(--line-ink); background: var(--sun); }
.privacy__head .eyebrow::before { box-shadow: none; }
.privacy__title { font-family: var(--display); font-weight: 900; font-stretch: 72%; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3rem); line-height: 0.95; margin-top: 8px; }
.privacy__close {
  position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-ink); background: var(--white); color: var(--ink); font-size: 1rem; cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.privacy__close:hover { background: var(--ink); color: var(--sun); }
.privacy__body { overflow-y: auto; padding: 22px clamp(20px, 4vw, 40px) 10px; font-size: 0.95rem; line-height: 1.65; color: var(--muted-ink); overscroll-behavior: contain; }
.privacy__body h3 { font-family: var(--display); font-weight: 800; font-stretch: 85%; font-size: 1.15rem; text-transform: uppercase; color: var(--ink); margin: 22px 0 6px; }
.privacy__body p + p { margin-top: 8px; }
.privacy__body ul { list-style: disc; padding-left: 20px; margin: 6px 0 10px; display: grid; gap: 4px; }
.privacy__body b { color: var(--ink); }
.privacy__body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun-deep); }
.privacy__date { font-size: 0.8rem; }
.privacy__foot { padding: 16px clamp(20px, 4vw, 40px) 22px; border-top: 1px solid var(--line-ink); display: flex; justify-content: flex-end; }
mark.pending { background: #ffe066; color: var(--ink); padding: 0 4px; border-radius: 4px; font-weight: 700; }
body.privacy-open { overflow: hidden; }

/* ---------- Aviso de cookies ---------- */
.cookies {
  position: fixed; left: 16px; bottom: 16px; z-index: 185; width: min(440px, calc(100vw - 104px));
  display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; border-radius: 18px;
  background: rgba(19, 19, 21, 0.96); color: var(--white); border: 1px solid var(--line);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7); font-size: 0.88rem;
  transform: translateY(20px); opacity: 0; transition: transform 0.5s var(--ease-out), opacity 0.5s;
}
.cookies.is-on { transform: none; opacity: 1; }
.cookies[hidden] { display: none; }
.cookies p { color: var(--muted); }
.cookies__actions { display: flex; gap: 8px; justify-content: flex-end; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 180;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  transform: scale(0); transition: transform 0.5s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.wa-float.is-on { transform: scale(1); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; fill: #fff; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.6s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.7); opacity: 0; } }

/* ---------- PRUEBA SOCIAL ---------- */
.proof { background: var(--ink); padding: clamp(70px, 9vw, 130px) var(--gutter) 0; }
.proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(28px, 4vw, 56px) clamp(10px, 2vw, 28px); display: flex; flex-direction: column; gap: 10px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num {
  font-family: var(--display); font-weight: 900; font-stretch: 72%;
  font-size: clamp(4rem, 9vw, 8.6rem); line-height: 0.85; letter-spacing: -0.03em; color: var(--white);
  display: flex; align-items: flex-start; gap: 0.08em; flex-wrap: wrap;
}
.stat__num sup { font-size: 0.45em; color: var(--sun); line-height: 1; top: 0; }
.stat__num small { font-size: 0.42em; align-self: flex-end; margin-bottom: 0.12em; color: var(--sun); }
.stat__label { color: var(--muted); max-width: 22ch; }
.stat--google { transition: background-color 0.4s; border-radius: 0; }
.stat--google:hover { background: rgba(255, 204, 0, 0.06); }
.stat--google u { text-decoration-color: var(--sun); text-underline-offset: 4px; color: var(--white); }
.stars {
  font-family: var(--body); font-size: 0.24em; letter-spacing: 0.1em; align-self: center; margin-left: 0.2em;
  background: linear-gradient(90deg, var(--sun) calc(var(--r) / 5 * 100%), rgba(255, 255, 255, 0.2) 0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Financiamiento: punto estrella ---------- */
.finance__list li.finance__star { background: var(--ink); color: var(--white); }
.finance__list li.finance__star span { color: var(--muted); }
.finance__list li.finance__star b { color: var(--sun); }

/* ---------- Nosotros: tarjeta de Don Voltio ---------- */
.voltio-card {
  grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--ink); color: var(--white);
}
.voltio-card__stage { position: relative; background: var(--sun-voltio); min-height: 340px; }
.voltio-card__stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom;
  opacity: 0; transform: translateY(16px) scale(0.96); transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out);
}
.voltio-card__stage img.is-on { opacity: 1; transform: none; }
.voltio-card__copy { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.voltio-card__kicker { color: var(--sun); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }
.voltio-card__quote { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1; text-transform: uppercase; min-height: 2.1em; }
.voltio-card__bio { color: var(--muted); font-size: 0.92rem; }
.voltio-card__btn {
  align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--white); font-weight: 700; cursor: pointer; transition: border-color 0.3s, color 0.3s;
}
.voltio-card__btn:hover { border-color: var(--sun); color: var(--sun); }

@media (max-width: 860px) {
  .proof__grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat { padding-inline: 0; }
  .voltio-card { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .voltio-card__stage { min-height: 300px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__colab { display: none; }
  .nav__burger { display: block; }
  .calc { grid-template-columns: 1fr; }
  .calc__voltio { display: none; }
}

@media (max-width: 860px) {
  :root { --nav-h: 66px; --radius: 18px; }
  .nav__brand img { width: 40px; }
  .hero { justify-content: flex-end; }
  .hero__title { font-size: clamp(3.4rem, 19vw, 7rem); }
  .hero__title .line--small { font-size: 0.5em; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__meta { display: none; }

  .drama { grid-template-columns: 1fr; min-height: auto; padding-top: 90px; }
  .drama__copy { padding-bottom: 20px; }
  .drama__figure { width: 100%; margin-top: 10px; }

  .shift { height: 320vh; }
  .shift__stage { grid-template-columns: 1fr; gap: 24px; }
  .shift__viz { aspect-ratio: auto; order: -1; }
  .shift__sun { inset: -60% 10% -60% 10%; }
  .shift__steps strong { font-size: clamp(2rem, 10vw, 3.2rem); }


  .packs__row { grid-auto-columns: 78%; }
  .packs__nav { display: none; }
  .packs__modes { width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); border-radius: 18px; }
  .packs__modes span { padding: 9px 6px; font-size: 0.78rem; white-space: normal; text-align: center; line-height: 1.15; border-radius: 13px; min-height: 100%; display: grid; place-items: center; }

  .calc__results { grid-template-columns: 1fr 1fr; }
  .res { padding: 14px 16px; }

  .finance { grid-template-columns: 1fr; margin: 0; border-radius: 28px; padding-bottom: 180px; }
  .finance__big { margin-bottom: -10px; }
  .finance__num { font-size: clamp(11rem, 62vw, 20rem); }
  .finance__list { grid-template-columns: 1fr; }
  .finance__voltio { width: 150px; right: 12px; }

  /* Galería: scroll nativo con snap */
  .work { height: auto !important; margin-top: 90px; }
  .work__sticky { position: static; height: auto; overflow: visible; display: block; }
  .work__head { position: static; padding: 0; margin: 0 var(--gutter) 28px; display: block; pointer-events: auto; }
  .work__head .eyebrow { position: static; }
  .work__head .section-title { margin-top: 16px; }
  .work__count { display: none; }
  .work__track {
    transform: none !important; width: auto; padding: 0 var(--gutter) 20px; gap: 14px;
    overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; scrollbar-width: none; align-items: stretch;
  }
  .work__track::-webkit-scrollbar { display: none; }
  .shot, .shot--wide, .shot--tall { width: 84vw; scroll-snap-align: center; transform: none !important; }
  .shot__img, .shot--tall .shot__img { aspect-ratio: 4 / 4.4; }
  .shot__img img { transform: none; }
  .work__end { width: 70vw; padding-right: var(--gutter); }

  .process__list li { grid-template-columns: 60px 1fr; }
  .process__n { width: 60px; height: 60px; font-size: 1.2rem; }
  .process__line { left: calc(var(--gutter) + 24px); }
  .process__wrap::before { left: calc(var(--gutter) + 29px); }
  .process__list h3 { margin-top: 8px; }

  .about__grid { grid-template-columns: 1fr 1fr; }
  .about__text { grid-column: 1 / -1; }
  .about__video { grid-column: 1 / -1; }

  .contact { grid-template-columns: 1fr; }
  .places { grid-template-columns: 1fr; }
  .footer__claim { text-align: left; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .calc__results { grid-template-columns: 1fr; }
}

/* Hero en celular: menos texto, botones en una fila y la línea de proyectos legible */
@media (max-width: 860px) {
  .hero__desk { display: none; }
  .hero__eyebrow { font-size: 0.66rem; letter-spacing: 0.18em; }
  .hero__foot { gap: 22px; margin-top: 20px; }
  .hero__ctas { flex-wrap: nowrap; gap: 10px; }
  .hero__ctas .btn { flex: 1 1 0; width: auto; min-width: 0; padding: 0 14px; min-height: 50px; font-size: 0.9rem; }
  .hero__ctas .btn--ghost { flex: 0.75 1 0; }
}

/* Movimiento reducido: solo efectos intrusivos */
@media (prefers-reduced-motion: reduce) {
  .drama__figure img { animation: none; }
  .contact__glow { animation: none; }
  .wa-float::before { animation: none; }
  .hero__scroll::after { animation: none; }
}
