/* Layout: inicio oscuro con una ventana corrediza que se abre, cinta de productos en movimiento,
   historia con un "30" que se desplaza al hacer scroll, catálogo de aberturas que se abren, contacto oscuro. */
:root {
  --ink: #0a1430;
  --ink-2: #111d40;
  --navy: #0d2a66;
  --blue: #3b7cf0;
  --ice: #e8effb;
  --paper: #ffffff;
  --mist: #f3f5f9;
  --fg: #121722;
  --muted: #5b6474;
  --grey: #6a6b6f;
  --line: #e1e6ee;
  --on-ink: #eef2fb;
  --on-ink-muted: #a9b5d3;
  --wa: #1fa855;
  --display: "Unbounded", "Arial Black", Arial, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.65,0,.25,1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--fg); font: 16px/1.65 var(--body); overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.05; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.label { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Encabezado ---------- */
header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .3s; }
header.scrolled { box-shadow: 0 6px 24px rgba(10,20,48,.10); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 42px; width: auto; transition: transform .5s var(--ease); }
.brand:hover img { transform: translateX(-3px) rotate(-2deg); }
.brand b { font: 800 14px var(--display); letter-spacing: .06em; }
nav { display: flex; align-items: center; gap: 6px; }
nav a { position: relative; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; color: var(--muted); transition: color .2s; }
nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
nav a:hover, nav a.on { color: var(--navy); }
nav a:hover::after, nav a.on::after { transform: scaleX(1); }

/* ---------- Inicio ---------- */
.hero { position: relative; background: var(--ink); color: var(--on-ink); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, rgba(59,124,240,.35), transparent 60%); animation: drift 14s ease-in-out infinite alternate; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; pointer-events: none; }
@keyframes drift { to { transform: translate(-18%, 22%); } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-block: 72px 88px; }
.hero-grid > * { min-width: 0; }
.hero .label { color: var(--on-ink-muted); display: inline-flex; gap: 10px; align-items: center; }
.hero .label::before { content: ""; width: 28px; height: 1px; background: var(--blue); }
.hero h1 { font-weight: 800; font-size: clamp(22px, 2.6vw, 34px); margin-top: 22px; }
.hero h1, .hero .lead { text-align: center; }
.hero h1 .one { text-transform: uppercase; white-space: nowrap; font-size: min(1.25em, 6vw); letter-spacing: -.01em; }
.hero .lead { margin-left: auto; margin-right: auto; }
.hero .ctas { justify-content: center; }
.hero h1 .line { display: block; overflow-x: visible; overflow-y: clip; padding-bottom: .08em; }
.hero h1 .line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(105%); } }
.rot { display: inline-grid; justify-items: center; color: var(--blue); }
.rot span { grid-area: 1 / 1; animation: word 12s var(--ease) infinite both; opacity: 0; }
.rot span:nth-child(2) { animation-delay: 3s; } .rot span:nth-child(3) { animation-delay: 6s; } .rot span:nth-child(4) { animation-delay: 9s; }
@keyframes word { 0% { opacity: 0; transform: translateY(60%); } 4%, 22% { opacity: 1; transform: none; } 27%, 100% { opacity: 0; transform: translateY(-60%); } }
.hero .lead { margin-top: 22px; font-size: 16px; color: var(--on-ink-muted); max-width: 46ch; animation: fade 1s .5s both; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; animation: fade 1s .7s both; }
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; font: 700 15px var(--body); padding: 15px 22px; border-radius: 999px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-line { border-color: rgba(255,255,255,.3); color: var(--on-ink); }
.btn-line .arr { transition: transform .3s var(--ease); }
.btn-line:hover .arr { transform: translateY(3px); }

/* Ventana corrediza animada */
.window { container-type: inline-size; position: relative; width: 100%; max-width: 440px; margin-left: auto; aspect-ratio: 4 / 5; border: 14px solid #2a3448; border-radius: 6px; background: #2a3448; box-shadow: 0 40px 80px rgba(0,0,0,.45), inset 0 0 0 2px #3b465c; cursor: pointer; animation: fade 1s .2s both; }
.view { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(180deg, #1c3f8f 0%, #4f86e8 55%, #b9d3fb 100%); }
.sun { position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; right: 8%; top: 12%; background: radial-gradient(circle, #fff4cf 0 35%, rgba(255,244,207,0) 70%); animation: glow 5s ease-in-out infinite alternate; }
@keyframes glow { to { transform: scale(1.12); } }
.city { position: absolute; inset: auto 0 0; height: 34%; display: flex; align-items: flex-end; gap: 3%; padding: 0 4%; }
.city i { flex: 1; background: #0e1d44; border-radius: 2px 2px 0 0; }
.years { position: absolute; right: 0; top: 38%; width: 50%; text-align: center; color: #fff; }
.years b { display: block; font: 800 15cqw/1 var(--display); letter-spacing: -.04em; text-shadow: 0 8px 30px rgba(10,20,48,.35); }
.years span { display: block; font: 600 max(12px, 3.6cqw)/1.35 var(--body); padding: 0 8%; margin-top: 6px; }
.pane { position: absolute; top: 0; bottom: 0; width: 51%; border: 9px solid #34405a; background: linear-gradient(135deg, rgba(220,235,255,.28), rgba(160,195,250,.10)); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); overflow: hidden; transition: transform 1.4s var(--ease); }
.pane::after { content: ""; position: absolute; inset: -20% -60%; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.35) 48%, transparent 54%); animation: shine 6s ease-in-out infinite; }
@keyframes shine { 0%, 60% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.pane.back { left: 0; }
.pane.front { left: 49%; z-index: 2; animation: slide 1.6s .9s var(--ease) both; }
.pane.front .handle { position: absolute; left: 6px; top: 46%; width: 5px; height: 12%; border-radius: 3px; background: #c9d2e2; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-96%); } }
.window.closed .pane.front { animation: none; transform: translateX(0); }
.window.reopen .pane.front { animation: none; transform: translateX(-96%); }
.sill { position: absolute; left: -24px; right: -24px; bottom: -30px; height: 16px; background: #3b465c; border-radius: 3px; }
.window-tip { margin-top: 44px; text-align: right; color: var(--on-ink-muted); font-size: 13px; }

/* ---------- Cinta ---------- */
.ticker { background: var(--blue); color: #fff; overflow: hidden; border-block: 1px solid rgba(255,255,255,.2); }
.ticker-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { font: 600 13px var(--display); padding: 16px 28px; white-space: nowrap; display: flex; align-items: center; gap: 28px; }
.ticker-track span::after { content: ""; width: 10px; height: 10px; border: 2px solid currentColor; transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Historia ---------- */
.story { position: relative; overflow: hidden; padding-block: 110px; }
.big30 { position: absolute; top: 50%; left: 0; transform: translate(var(--x, 0px), -50%); font: 800 clamp(220px, 34vw, 460px)/1 var(--display); color: transparent; -webkit-text-stroke: 2px var(--line); white-space: nowrap; pointer-events: none; user-select: none; }
.story-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.story-grid > * { min-width: 0; }
.story .label { color: var(--navy); }
.story h2 { font-size: clamp(21px, 2.4vw, 30px); font-weight: 800; margin-top: 18px; color: var(--navy); }
.story-text { display: grid; gap: 16px; color: var(--muted); font-size: 15.5px; max-width: 60ch; }
.story-text p:first-child { color: var(--fg); font-size: 17px; font-weight: 500; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; position: relative; }
.fact { border-top: 2px solid var(--navy); padding-top: 18px; display: grid; gap: 6px; }
.fact b { font: 600 17px var(--display); color: var(--navy); }
.fact span { color: var(--muted); font-size: 15px; }
.rv { transition: transform 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: var(--d, 0s); }
.rv.below { transform: translateY(46px); }
.rv.below.from-left { transform: translateX(-60px); }
.rv.below.from-right { transform: translateX(60px); }
.rv.below.zoom { transform: scale(.9); filter: saturate(.4); }

/* ---------- Productos ---------- */
.products { background: var(--mist); padding-block: 100px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(24px, 2.8vw, 36px); font-weight: 800; color: var(--navy); margin-top: 14px; }
.sec-head p { color: var(--muted); max-width: 40ch; }
.sec-head .label { color: var(--grey); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { --ty: 0px; --rx: 0deg; --ry: 0deg; background: var(--paper); border-radius: 18px; padding: 0 0 22px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); transform: perspective(900px) translateY(var(--ty)) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease), box-shadow .5s var(--ease); transition-delay: 0s; }
.card:hover, .card.open { --ty: -8px; box-shadow: 0 28px 56px rgba(13,42,102,.16); }
.card.tilting { transition: transform .12s linear, box-shadow .5s var(--ease); }
.card.rv.below { transform: perspective(900px) translateY(70px) rotateX(10deg); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.stage::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.65) 50%, transparent 65%); transform: translateX(-130%); }
.card:hover .stage::before, .card.open .stage::before { transform: translateX(130%); transition: transform 1s var(--ease); }
.card:hover .quote svg { animation: wiggle .6s ease; }
@keyframes wiggle { 25% { transform: rotate(-14deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-6deg); } }
.stage { height: 200px; display: grid; place-items: center; background: linear-gradient(180deg, var(--ice), var(--paper)); position: relative; }
.stage::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 22px; height: 6px; border-radius: 50%; background: rgba(13,42,102,.12); filter: blur(3px); }
.card .body { padding: 20px 22px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .label { color: var(--grey); font-size: 11px; }
.card h3 { font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.quote { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: #fff; background: var(--wa); text-decoration: none; margin-top: 8px; padding: 10px 16px; border-radius: 999px; box-shadow: 0 6px 16px rgba(31,168,85,.28); transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .2s; }
.quote:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(31,168,85,.38); }
.quote svg { width: 18px; height: 18px; flex: none; }
.quote .arr { transition: transform .35s var(--ease); }
.card:hover .quote .arr { transform: translateX(5px); }

.stage.photo { background: #ffffff; overflow: hidden; }
.stage.photo::after { display: none; }
.stage.photo.cover img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.stage.photo.rounded img { height: 78%; border-radius: 10px; box-shadow: 0 10px 24px rgba(13,42,102,.14); }
.stage.photo.fit img { width: 100%; height: 100%; max-width: none; object-fit: contain; }
.stage.photo img { position: absolute; inset: 0; margin: auto; height: 88%; width: auto; max-width: 92%; object-fit: contain; transition: transform .8s var(--ease); }
.card:hover .stage.photo img, .card.open .stage.photo img { transform: scale(1.08); }
.stage .model { position: absolute; left: 12px; bottom: 10px; font: 500 10.5px var(--mono); letter-spacing: .06em; color: var(--muted); background: rgba(255,255,255,.9); padding: 3px 7px; border-radius: 999px; border: 1px solid var(--line); }
/* Aberturas dibujadas con CSS que se abren */
.frame { position: relative; width: 86px; height: 140px; border: 6px solid #1d2a44; border-bottom-width: 4px; background: linear-gradient(180deg, #fff6dd, #ffe3a3); perspective: 500px; z-index: 1; }
.frame::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.9), transparent 60%); }
.leaf { position: absolute; inset: 0; transform-origin: left center; transition: transform 1.1s var(--ease); box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.leaf::after { content: ""; position: absolute; right: 7px; top: 50%; width: 4px; height: 16px; border-radius: 2px; background: var(--grey); }
.card:hover .leaf, .card.open .leaf { transform: rotateY(-72deg); }
.k-placa .leaf { background: #fbfbfa; }
.k-placa .leaf::before { content: ""; position: absolute; inset: 12px 10px; border: 1px solid #d9dde3; }
.k-chapa .leaf { background: repeating-linear-gradient(180deg, #c9d0da 0 3px, #e4e8ee 3px 20px); }
.k-reforzada .leaf { background: linear-gradient(to top right, transparent 48.5%, #7d8796 48.5% 51.5%, transparent 51.5%), linear-gradient(to top left, transparent 48.5%, #7d8796 48.5% 51.5%, transparent 51.5%), repeating-linear-gradient(180deg, #aeb6c2 0 3px, #ccd2db 3px 18px); }
.k-seguridad .leaf { background: var(--navy); }
.k-seguridad .leaf::before { content: ""; position: absolute; inset: 12px 12px 54% 12px; border: 2px solid rgba(255,255,255,.25); box-shadow: 0 64px 0 0 transparent; }
.k-seguridad .leaf::after { background: #e8c56a; height: 6px; width: 6px; border-radius: 50%; box-shadow: 0 -18px 0 #e8c56a, 0 18px 0 #e8c56a; top: 46%; }
.k-aluminio .frame { border-color: #8a929e; }
.k-aluminio .leaf { background: linear-gradient(180deg, #bcd6f7 0 56%, #c5cbd3 56% 58%, #dde1e6 58%); border: 5px solid #a3abb6; }
.k-aluminio .leaf::after { background: #5f6773; }
.k-corrediza .frame { width: 150px; }
.k-corrediza .leaf { width: 52%; transform-origin: center; }
.k-corrediza .leaf.a { left: 0; background: #f6f2ea; border-right: 3px solid #c9b796; }
.k-corrediza .leaf.b { left: auto; right: 0; background: #efe8db; border-left: 3px solid #c9b796; }
.k-corrediza .leaf::after { left: 8px; right: auto; }
.card.k-corrediza:hover .leaf.a, .card.k-corrediza.open .leaf.a { transform: translateX(-62%); }
.card.k-corrediza:hover .leaf.b, .card.k-corrediza.open .leaf.b { transform: translateX(62%); }
.k-corrediza .frame { overflow: hidden; }
.k-ventana .frame { width: 160px; height: 110px; border-color: #8a929e; background: linear-gradient(180deg, #2f5fc0, #8db6f5); }
.k-ventana .frame::before { background: radial-gradient(circle at 75% 30%, #fff4cf 0 10%, transparent 26%); }
.k-ventana .leaf { width: 52%; background: linear-gradient(135deg, rgba(225,238,255,.75), rgba(190,214,250,.55)); border: 5px solid #a3abb6; transform-origin: center; }
.k-ventana .leaf.a { left: 0; } .k-ventana .leaf.b { left: auto; right: 0; z-index: 2; }
.k-ventana .leaf::after { left: 3px; right: auto; height: 14px; background: #5f6773; }
.card.k-ventana:hover .leaf.b, .card.k-ventana.open .leaf.b { transform: translateX(-88%); }
.k-claraboya .frame { width: 150px; height: 90px; border: none; background: none; perspective: 400px; }
.k-claraboya .frame::before { content: ""; position: absolute; inset: auto -12px 0; height: 20px; background: #b9a58a; border-radius: 2px; }
.k-claraboya .curb { position: absolute; left: 22px; right: 22px; bottom: 20px; height: 26px; background: #e6eaf0; border: 3px solid #8a929e; border-bottom: none; }
.k-claraboya .leaf { inset: auto 16px 44px; height: 14px; background: linear-gradient(180deg, #d4e6ff, #9fc3f6); border: 3px solid #8a929e; border-radius: 6px 6px 2px 2px; transform-origin: left bottom; }
.k-claraboya .leaf::after { display: none; }
.k-claraboya .rays { position: absolute; left: 50%; bottom: 46px; width: 100px; height: 80px; transform: translateX(-50%) scaleY(0); transform-origin: bottom; background: conic-gradient(from 160deg at 50% 100%, transparent 0 4deg, rgba(255,214,110,.6) 4deg 10deg, transparent 10deg 18deg, rgba(255,214,110,.6) 18deg 24deg, transparent 24deg 32deg, rgba(255,214,110,.6) 32deg 38deg, transparent 38deg); transition: transform .8s .2s var(--ease); }
.card.k-claraboya:hover .leaf, .card.k-claraboya.open .leaf { transform: rotate(-28deg) translateY(-6px); }
.card.k-claraboya:hover .rays, .card.k-claraboya.open .rays { transform: translateX(-50%) scaleY(1); }

/* ---------- Contacto ---------- */
.contact { background: var(--ink); color: var(--on-ink); padding-block: 100px; position: relative; overflow: hidden; }
.contact .label { color: var(--on-ink-muted); }
.contact h2 { font-size: clamp(24px, 2.8vw, 36px); font-weight: 800; margin-top: 14px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; margin-top: 48px; }
.contact-grid > * { min-width: 0; }
.info { display: grid; gap: 34px; align-content: start; }
.info h3 { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: 10px; }
.info .v { font: 600 clamp(16px, 1.8vw, 19px)/1.3 var(--display); user-select: all; }
.info a.small { display: inline-flex; gap: 8px; margin-top: 10px; color: #8fb4ff; font-weight: 700; font-size: 14px; text-decoration: none; }
.info a.small:hover { text-decoration: underline; }
.info .copy { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--body); }
.info .copy:hover { text-decoration: underline; }
.info .v { overflow-wrap: anywhere; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 8px 28px; font-variant-numeric: tabular-nums; }
.hours dt { color: var(--on-ink-muted); }
.hours dd { margin: 0; font-weight: 700; }
.hours .now { display: inline-block; margin-left: 10px; font: 500 11px var(--mono); padding: 3px 8px; border-radius: 999px; vertical-align: middle; }
.hours .now.open { background: rgba(31,168,85,.18); color: #6fe3a0; }
.hours .now.shut { background: rgba(255,255,255,.08); color: var(--on-ink-muted); }
form { background: var(--paper); color: var(--fg); border-radius: 22px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
form h3 { font: 800 22px var(--display); color: var(--navy); }
form .hint { font-size: 14px; color: var(--muted); margin-top: -6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--fg); }
input, select, textarea { font: 500 15px var(--body); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--mist); color: var(--fg); width: 100%; transition: border-color .2s, background .2s; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: var(--paper); }
form .btn { justify-content: center; }

footer { padding-block: 44px calc(44px + 80px); background: var(--paper); }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer img { height: 96px; width: auto; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--fg); }
.foot-list li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; overflow-wrap: anywhere; }
.foot-list li span { color: var(--muted); }
.foot-list .name { display: block; color: var(--navy); font-family: var(--display); font-weight: 600; letter-spacing: .04em; margin-bottom: 6px; }

/* WhatsApp flotante */
.wa-float { position: fixed; z-index: 55; right: calc(22px + env(safe-area-inset-right, 0px)); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; padding: 13px 20px 13px 15px; border-radius: 999px; box-shadow: 0 12px 30px rgba(31,168,85,.4); animation: pop .7s 1.6s var(--ease) both; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: ring 2.4s 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.35); opacity: 0; } }
@keyframes pop { from { transform: scale(0) rotate(-20deg); } }
.wa-float svg { width: 26px; height: 26px; flex: none; }

/* Animaciones extra */
.sec-head h2, .contact h2 { position: relative; display: inline-block; }
.sec-head h2::after, .contact h2::after { content: ""; position: absolute; left: 0; bottom: -10px; height: 4px; width: 64px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 1s .3s var(--ease); }
.sec-head h2.in::after, .contact h2.in::after { transform: scaleX(1); }
.fact { position: relative; border-top-color: var(--line); }
.fact::before { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 100%; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.fact.in::before { transform: scaleX(1); }
.contact::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; left: -20%; bottom: -50%; background: radial-gradient(circle, rgba(59,124,240,.28), transparent 60%); animation: drift 16s ease-in-out infinite alternate-reverse; pointer-events: none; }
.contact > .wrap { position: relative; }
.info > div { transition: transform .4s var(--ease); }
.info > div:hover { transform: translateX(8px); }
footer img { animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.products { position: relative; overflow: hidden; }
.products::before { content: ""; position: absolute; width: 50%; aspect-ratio: 1; right: -15%; top: -20%; background: radial-gradient(circle, rgba(59,124,240,.10), transparent 60%); animation: drift 18s ease-in-out infinite alternate; pointer-events: none; }
.products > .wrap { position: relative; }
.progress { position: fixed; left: 0; top: env(safe-area-inset-top, 0px); height: 3px; width: 100%; background: var(--blue); transform: scaleX(var(--p, 0)); transform-origin: left; z-index: 70; pointer-events: none; }

@media (max-width: 980px) {
  .hero-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .window { margin: 0 auto; max-width: 360px; }
  .window-tip { text-align: center; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid, .facts, .row2 { grid-template-columns: 1fr; }
  .brand b { display: none; }
  nav a { padding: 8px 8px; font-size: 14px; }
  nav a::after { left: 8px; right: 8px; }
  .hero-grid { padding-block: 48px 72px; }
  .story, .products, .contact { padding-block: 72px; }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; }
  .foot-list li { grid-template-columns: 110px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rot span { animation: none; } .rot span:first-child { opacity: 1; }
  .ticker-track { animation: none; }
  .rv.below { transform: none; }
}
