/* =========================================================
   Cover Sun — estilos
   Paleta tomada de su marca: naranja, azul rey, verde y el sol.
   ========================================================= */
:root {
  --navy: #0b1d4a;
  --blue: #1b45c9;
  --blue-2: #2f63f0;
  --orange: #f7901e;
  --orange-d: #d9650c;
  --green: #22963f;
  --sun: #ffc21a;
  --sun-2: #ffdf6b;
  --cream: #fff6e8;
  --cream-2: #fbead0;
  --sand: #d8c39c;
  --ink: #131a2e;
  --muted: #4a5470;
  --line: rgba(19, 26, 46, .12);
  --wa: #1faa53;

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;

  --r-sm: 12px;
  --r: 22px;
  --r-lg: 34px;
  --shadow: 0 18px 50px -20px rgba(11, 29, 74, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1200px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.fill, svg .fill { fill: currentColor; stroke: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
h3 { font-size: 1.5rem; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }

.kicker {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--display); font-weight: 700; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--orange-d);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 28px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--orange) 0 40%, var(--blue) 40% 75%, var(--green) 75%); }
.kicker-light { color: var(--sun); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head-split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px 60px; flex-wrap: wrap; }
.section-head-split > div { max-width: 720px; }
.section-head-split .section-sub { max-width: 380px; }
.section-sub { margin-top: 20px; font-size: 1.15rem; color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font-family: var(--display); font-weight: 700; font-size: 1rem; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn svg { transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.08rem; }
.btn-sun { --bg: var(--orange); --fg: #1b1206; box-shadow: 0 6px 0 var(--orange-d); }
.btn-sun:hover { --bg: #ff9d2e; }
.btn-ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn-ghost:hover { --bg: rgba(255,255,255,.14); }
.btn-light { --bg: #fff; --fg: var(--navy); }
.btn-light:hover { --bg: var(--sun); }
.btn-dark { --bg: var(--navy); --fg: #fff; }
.btn-dark:hover { --bg: var(--blue); }
.btn-wa { --bg: var(--wa); --fg: #fff; width: 100%; box-shadow: 0 6px 0 #137a3a; }
.btn-wa:hover { --bg: #22bd5d; }
.btn-wa svg { width: 1.4em; height: 1.4em; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(var(--container), 100% - 24px); height: 62px;
  display: flex; align-items: center; gap: 24px; padding: 0 10px 0 12px;
  background: rgba(255, 246, 232, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.6); border-radius: 999px;
  box-shadow: 0 10px 30px -14px rgba(11,29,74,.35);
  transition: background-color .3s;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: var(--navy); }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand b { color: var(--orange-d); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 999px; color: var(--navy); transition: background-color .2s; }
.nav-links a:hover { background: rgba(27,69,201,.1); }
.nav-cta { min-height: 44px; padding: 8px 20px; box-shadow: 0 4px 0 var(--orange-d); }
.nav-toggle { display: none; }

/* ---------- HERO ---------- */
.hero { height: 150vh; position: relative; --p: 0; }
.stage { position: sticky; top: 0; height: 100vh; min-height: 620px; overflow: hidden; color: #fff; }
.sky { position: absolute; inset: 0; }
.sky-hot {
  background:
    radial-gradient(60% 70% at 72% 40%, #ffd23f 0%, rgba(255,160,30,.0) 60%),
    linear-gradient(160deg, #ff9d1c 0%, #f47a12 45%, #e3520c 100%);
}
.sky-cool {
  clip-path: polygon(calc(120% - var(--p) * 150%) 0, 120% 0, 120% 100%, calc(100% - var(--p) * 150%) 100%);
  background:
    radial-gradient(55% 60% at 72% 40%, rgba(79,132,255,.55) 0%, rgba(27,69,201,0) 65%),
    linear-gradient(160deg, #2a5cf0 0%, #1b45c9 45%, #0b1d4a 100%);
}

.hero-grid {
  position: relative; z-index: 2; height: 100%;
  width: min(var(--container), 100% - 40px); margin-inline: auto;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px;
  padding-top: var(--nav-h); padding-bottom: clamp(70px, 10vw, 130px);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; background: rgba(0,0,0,.16); padding: 8px 14px; border-radius: 999px; margin-bottom: clamp(14px, 2.8vh, 26px); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255,194,26,.3); }
.hero h1 { font-size: clamp(2.4rem, min(6.6vw, 8.6vh), 6rem); font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--navy); background: var(--sun); padding: 0 .14em; border-radius: .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lead { margin-top: clamp(14px, 2.6vh, 24px); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 30em; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(18px, 3.6vh, 34px); }

/* Escena */
.hero-scene { position: relative; aspect-ratio: 1; width: min(100%, 560px, 64vh); justify-self: center; }
.sun { position: absolute; inset: 6%; width: 88%; height: 88%; stroke: none; overflow: visible;
  transform: scale(calc(1 - var(--p) * .08)); filter: drop-shadow(0 0 calc(60px - var(--p) * 50px) rgba(255, 220, 80, .9)); }
.rays { fill: var(--sun); transform-origin: 200px 200px; animation: spin 40s linear infinite; }
.sun-core { fill: var(--sun); stroke: #f3a608; stroke-width: 6; }
.shades path { fill: #111; }
.shades .bridge { fill: none; stroke: #111; stroke-width: 8; stroke-linecap: round; }
.shades .glint { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 5; stroke-linecap: round; }
.smile { fill: none; stroke: #7a3d00; stroke-width: 8; stroke-linecap: round; }
@keyframes spin { to { transform: rotate(360deg); } }

.heat { position: absolute; left: 10%; bottom: 0; width: 80%; height: auto; stroke: rgba(255,255,255,.55); stroke-width: 4; opacity: calc(1 - var(--p) * 1.6); animation: shimmer 2.4s ease-in-out infinite; }
@keyframes shimmer { 50% { transform: translateY(-8px); } }

.sheet {
  position: absolute; left: -4%; top: 16%; width: 108%; height: 58%;
  transform: translate(calc((1 - var(--p)) * 120%), calc((1 - var(--p)) * -35%)) rotate(calc(-8deg + var(--p) * 4deg)) skewX(-6deg);
  opacity: min(1, calc(var(--p) * 4));
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .35));
  will-change: transform;
}
.mesh {
  position: absolute; inset: 0; border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, rgba(222, 204, 168, .96) 0 4px, rgba(0,0,0,0) 4px 9px),
    repeating-linear-gradient(0deg, rgba(196, 176, 138, .96) 0 4px, rgba(0,0,0,0) 4px 9px);
  box-shadow: inset 0 0 0 6px #b69c6c;
}
.grommet { position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 5px solid #e9edf3; background: rgba(0,0,0,.25); box-shadow: 0 2px 4px rgba(0,0,0,.4); }
.g1 { left: -8px; top: -8px; } .g2 { right: -8px; top: -8px; } .g3 { left: -8px; bottom: -8px; } .g4 { right: -8px; bottom: -8px; }

.ground-shadow { position: absolute; left: 10%; right: 10%; bottom: 4%; height: 12%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.35), transparent); transform: scaleX(var(--p)); opacity: var(--p); }

.readout {
  position: absolute; left: -2%; bottom: 8%; z-index: 3;
  display: grid; gap: 0; padding: 14px 20px 16px; border-radius: 20px; min-width: 190px;
  background: rgba(255,255,255,.95); color: var(--navy); box-shadow: var(--shadow);
}
.readout-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.readout strong { font-family: var(--display); font-size: 3.2rem; line-height: 1; font-weight: 800; color: var(--orange-d); transition: color .4s; }
.readout strong.cool { color: var(--blue); }
.readout-note { font-size: .9rem; font-weight: 500; }

.scroll-hint { position: absolute; z-index: 3; left: 50%; bottom: clamp(70px, 9vw, 120px); transform: translateX(-50%); display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; opacity: calc(1 - var(--p) * 3); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(60px, 9vw, 120px); z-index: 2; }
.w-orange { fill: var(--orange); } .w-blue { fill: var(--blue); } .w-green { fill: var(--green); } .w-cream { fill: var(--cream); }

/* ---------- Cinta ---------- */
.ticker { background: var(--navy); color: #fff; overflow: hidden; padding: 18px 0; border-block: 4px solid var(--orange); }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 32s linear infinite; }
.ticker span { font-family: var(--display); font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.8rem); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.ticker i { width: 14px; height: 14px; border-radius: 50%; background: var(--sun); flex: none; box-shadow: 0 0 0 5px rgba(255,194,26,.25); }
.ticker i:nth-of-type(3n+2) { background: var(--orange); box-shadow: 0 0 0 5px rgba(247,144,30,.25); }
.ticker i:nth-of-type(3n) { background: var(--green); box-shadow: 0 0 0 5px rgba(34,150,63,.3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Productos ---------- */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.product { border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.product-malla { background: var(--blue); color: #fff; }
.product-lona { background: var(--orange); color: #1b1206; }
.product-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .6s var(--ease); }
.product:hover .product-media img { transform: scale(1.04); }
.tag { position: absolute; left: 16px; top: 16px; background: rgba(11,29,74,.85); color: #fff; font-size: .82rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.product-body { padding: 30px 32px 34px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.product-body h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.product-body p { font-size: 1.05rem; opacity: .95; }
.pills { list-style: none; padding: 0; margin: 4px 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; border: 2px solid currentColor; }
.product .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Beneficios / sombra ---------- */
.shade { background: var(--navy); color: #fff; overflow: hidden; }
.shade-bg { position: absolute; inset: 0; opacity: .08;
  background:
    repeating-linear-gradient(90deg, #fff 0 3px, transparent 3px 11px),
    repeating-linear-gradient(0deg, #fff 0 3px, transparent 3px 11px);
  mask-image: linear-gradient(120deg, #000 10%, transparent 70%); -webkit-mask-image: linear-gradient(120deg, #000 10%, transparent 70%); }
.shade-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.shade h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.big-num { color: var(--sun); font-size: 1.5em; line-height: .8; display: inline-block; }
.benefits { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; }
.benefits li { display: flex; gap: 18px; align-items: flex-start; }
.benefits strong { display: block; font-family: var(--display); font-size: 1.25rem; }
.benefits span:not(.b-ico) { color: rgba(255,255,255,.78); }
.b-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--sun); flex: none; }
.b-ico svg { width: 26px; height: 26px; }
.uses-title { font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin-bottom: 16px; color: rgba(255,255,255,.8); }
.use-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.use { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.4; background: #16295e; }
.use:nth-child(2) { transform: translateY(28px); } .use:nth-child(4) { transform: translateY(28px); }
.use img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .6s var(--ease); }
.use:nth-child(2) img { object-position: center 80%; }
.use:nth-child(3) img { object-position: center 55%; }
.use:hover img { transform: scale(1.06); }
.use figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--sun); color: var(--navy); font-family: var(--display); font-weight: 800; padding: 6px 14px; border-radius: 999px; }

/* ---------- Lona ---------- */
.lona { background: var(--cream); }
.strike { position: relative; color: var(--muted); white-space: nowrap; }
.strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 55%; height: .12em; background: var(--orange); transform: rotate(-3deg) scaleX(var(--s, 0)); transform-origin: left; transition: transform .8s .2s var(--ease); border-radius: 4px; }
.strike.is-in::after { --s: 1; }
.lona-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.lona-visual { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); background: linear-gradient(150deg, var(--blue) 0%, var(--navy) 100%); display: grid; place-items: center; overflow: hidden; }
.lona-visual::before { content: ""; position: absolute; inset: auto -10% -30% -10%; height: 60%; background: var(--green); border-radius: 50% 50% 0 0; transform: rotate(-6deg); }
.lona-visual::after { content: ""; position: absolute; inset: auto -10% -42% -20%; height: 60%; background: var(--orange); border-radius: 50% 50% 0 0; transform: rotate(5deg); }
.tarp { position: relative; z-index: 1; width: 64%; aspect-ratio: 1.25; border-radius: 10px; background: linear-gradient(135deg, #fff 0%, #e8ebf1 55%, #cfd5df 100%); box-shadow: 0 30px 50px -20px rgba(0,0,0,.6), inset 0 0 0 10px #f3f5f9, inset 0 0 0 12px #c3cad6; transform: rotate(-6deg); }
.tarp-fold { position: absolute; right: 0; bottom: 0; width: 34%; height: 34%; background: linear-gradient(135deg, #bfc6d2 0 50%, transparent 50%); border-radius: 0 0 10px 0; }
.tarp-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--navy); font-family: var(--display); }
.tarp-label .cal { display: flex; justify-content: center; gap: clamp(10px, 1.6vw, 20px); }
.tarp-label .cal span { font-size: clamp(2.3rem, 4.8vw, 3.8rem); font-weight: 800; line-height: .9; letter-spacing: -.05em; }
.tarp-label .cal span:nth-child(2) { color: var(--blue); }
.tarp-label .cal span:nth-child(3) { color: var(--orange-d); }
.tarp-label small { margin-top: 8px; font-size: 1.4rem; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; }
.ring { position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 5px solid #9aa4b4; background: transparent; box-shadow: 0 0 0 2px #e6eaf0; }
.r1 { left: 14px; top: 14px; } .r2 { left: calc(50% - 11px); top: 14px; } .r3 { right: 14px; top: 14px; }
.stamp { position: absolute; z-index: 2; right: 8%; top: 8%; width: 118px; height: 118px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--sun); color: var(--navy); font-family: var(--display); font-weight: 800; font-size: 1rem; line-height: 1.05; text-transform: uppercase; transform: rotate(12deg); box-shadow: 0 0 0 6px rgba(255,194,26,.35); }

.specs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.spec { background: #fff; border-radius: var(--r); padding: 26px 24px 28px; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.spec:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.spec-n { font-family: var(--display); font-weight: 800; color: var(--orange); font-size: 1rem; }
.spec h3 { margin: 8px 0 8px; font-size: 1.3rem; color: var(--navy); }
.spec p { color: var(--muted); }
.spec-guarantee { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; background: var(--sun); border-color: transparent; }
.spec-guarantee h3 { margin-top: 0; }
.spec-guarantee p { color: var(--navy); }
.g-num { flex: none; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--navy); color: var(--sun); font-family: var(--display); font-weight: 800; font-size: 3.2rem; line-height: .8; padding-top: 14px; text-align: center; }
.g-num small { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-top: -10px; }

/* ---------- Industrial / gran escala ---------- */
.industrial { background: var(--navy); color: #fff; overflow: hidden; }
.industrial::before { content: ""; position: absolute; inset: 0; opacity: .07; background: repeating-linear-gradient(0deg, #fff 0 3px, transparent 3px 24px); mask-image: linear-gradient(100deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000); }
.industrial-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.industrial h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.industrial .hl { color: var(--navy); background: var(--sun); padding: 0 .14em; border-radius: .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.industrial .section-sub { color: rgba(255,255,255,.8); }
.ind-list { list-style: none; padding: 0; margin: 34px 0 36px; display: grid; gap: 12px; }
.ind-list li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--r); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.ind-list strong { display: block; font-family: var(--display); font-size: 1.25rem; }
.ind-list span:not(.b-ico) { color: rgba(255,255,255,.75); }
.ind-visual { position: relative; padding: 0 0 10% 0; }
.ind-main { margin: 0 0 0 4%; width: 80%; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); }
.ind-main img, .ind-side img { width: 100%; height: 100%; object-fit: cover; }
.ind-side { position: absolute; right: 0; bottom: 0; width: 50%; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; border: 6px solid var(--navy); transform: rotate(4deg); box-shadow: 0 24px 40px -18px rgba(0,0,0,.6); }
.ind-badge { position: absolute; left: -2%; top: 8%; width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--orange); color: #1b1206; font-family: var(--display); font-weight: 800; font-size: 1.05rem; line-height: 1.05; text-transform: uppercase; transform: rotate(-12deg); box-shadow: 0 0 0 6px rgba(247,144,30,.3); }

/* ---------- Proyectos ---------- */
.projects { background: var(--cream-2); padding-bottom: 120px; }
.projects .section-head { margin-bottom: 40px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--blue); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--orange-d); }
.rail {
  --rail-pad: max(20px, (100% - var(--container)) / 2);
  display: flex; gap: 18px; overflow-x: auto; align-items: flex-end;
  padding: 10px var(--rail-pad) 24px; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.rail::-webkit-scrollbar { display: none; }
.rail.manual { scroll-snap-type: x mandatory; scroll-padding-inline: var(--rail-pad); scrollbar-width: thin; scrollbar-color: var(--orange) transparent; }
.rail.manual .post { scroll-snap-align: start; }
.head-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.rail-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--navy); background: transparent; color: var(--navy); font: 700 .95rem var(--display); cursor: pointer; transition: background-color .2s, color .2s; }
.rail-toggle:hover { background: var(--navy); color: #fff; }
.rail-toggle .i-play { display: none; }
.rail-toggle.paused .i-play { display: block; }
.rail-toggle.paused .i-pause { display: none; }
.shot { margin: 0; flex: none; width: clamp(240px, 26vw, 320px); aspect-ratio: 4 / 4.2; border-radius: var(--r); overflow: hidden; position: relative; scroll-snap-align: start; background: #ddd; }
.shot.tall { aspect-ratio: 4 / 5.4; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.05); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.1rem; background: linear-gradient(transparent, rgba(11,29,74,.92)); }

.post { margin: 0; flex: none; width: clamp(240px, 24vw, 300px); }
.post img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); box-shadow: 0 14px 30px -18px rgba(11,29,74,.45); transition: transform .4s var(--ease); }
.post:hover img { transform: translateY(-6px) rotate(-1deg); }
.post figcaption { margin-top: 12px; font-family: var(--display); font-weight: 700; color: var(--navy); }

/* ---------- Entregas ---------- */
.delivery { background: var(--green); color: #fff; padding: 90px 0; position: relative; overflow: hidden; }
.delivery::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.07); }
.delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; }
.delivery-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; transform: rotate(-2deg); box-shadow: 0 30px 60px -25px rgba(0,0,0,.5); border: 8px solid #fff; }
.delivery-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.delivery h2 { margin-bottom: 20px; }
.delivery p { font-size: 1.15rem; max-width: 26em; margin-bottom: 30px; }
.delivery .kicker-light::before { background: #fff; }

/* ---------- Cotizador ---------- */
.quote { background: var(--cream); }
.quote-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; }
.quote-form { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px); border: 1px solid var(--line); display: grid; gap: 34px; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; min-width: 0; }
legend { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--navy); margin-bottom: 16px; padding: 0; }
.step { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--sun); font-size: 1rem; }

.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice input, .chip input, .check input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 14px 18px; border-radius: 16px; cursor: pointer;
  border: 2px solid var(--line); font-weight: 700; font-size: 1.05rem; transition: border-color .2s, background-color .2s, color .2s;
}
.choice span svg { width: 24px; height: 24px; color: var(--muted); }
.choice span:hover { border-color: var(--blue); }
.choice input:checked + span { border-color: var(--blue); background: rgba(27,69,201,.07); color: var(--blue); }
.choice input:checked + span svg { color: var(--blue); }
.choice input:focus-visible + span, .chip input:focus-visible + span, .check input:focus-visible + span { outline: 3px solid var(--blue-2); outline-offset: 2px; }

.dims { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.dims[hidden] { display: none; }
.dims .field { flex: 1 1 120px; }
.times { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--muted); padding-bottom: 10px; }
.area { flex: 0 0 auto; min-width: 116px; min-height: 52px; padding: 8px 16px; border-radius: 14px; background: var(--sun); color: var(--navy); display: flex; align-items: baseline; justify-content: center; gap: 4px; font-weight: 700; }
.area strong { font-family: var(--display); font-size: 1.6rem; font-weight: 800; }

.field { display: grid; gap: 6px; }
.field > span { font-weight: 700; font-size: .92rem; color: var(--navy); }
.field em { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--cream); border: 2px solid transparent; border-radius: 14px; transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 80px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--line); cursor: pointer; font-weight: 700; transition: all .2s; }
.chip span:hover { border-color: var(--orange); }
.chip input:checked + span { background: var(--orange); border-color: var(--orange); color: #1b1206; }

.check { display: inline-flex; position: relative; }
.check span { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; min-height: 44px; }
.check span::before { content: ""; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line); background: #fff center / 16px no-repeat; transition: all .2s; }
.check input:checked + span::before { background-color: var(--green); border-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }

/* Ticket */
.ticket {
  position: sticky; top: calc(var(--nav-h) + 20px);
  background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 28px 26px 26px; box-shadow: var(--shadow);
  background-image: radial-gradient(circle at 100% 0, rgba(255,194,26,.25), transparent 45%);
}
.ticket-top { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 2px dashed rgba(255,255,255,.2); }
.ticket-top img { border-radius: 50%; border: 3px solid var(--sun); }
.ticket-title { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.ticket-sub { font-size: .9rem; color: rgba(255,255,255,.7); }
.ticket-lines { margin: 18px 0 8px; display: grid; gap: 0; }
.ticket-lines div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.ticket-lines dt { color: rgba(255,255,255,.65); font-size: .95rem; }
.ticket-lines dd { margin: 0; font-weight: 700; text-align: right; }
.ticket-lines dd.empty { color: rgba(255,255,255,.35); font-weight: 500; }
.ticket-lines dd.pop { animation: pop .35s var(--ease); }
@keyframes pop { 40% { color: var(--sun); transform: scale(1.06); } }
.ticket-cut { height: 20px; margin: 10px -26px 22px; background: radial-gradient(circle at 0 50%, var(--cream) 10px, transparent 11px), radial-gradient(circle at 100% 50%, var(--cream) 10px, transparent 11px), linear-gradient(90deg, transparent 18px, rgba(255,255,255,.2) 18px, rgba(255,255,255,.2) calc(100% - 18px), transparent 0) center / 100% 2px no-repeat; }
.ticket-foot { margin-top: 16px; text-align: center; font-size: .95rem; color: rgba(255,255,255,.75); }
.ticket-foot a { color: var(--sun); font-weight: 700; }

/* ---------- Contacto ---------- */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: stretch; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 28px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.c-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--cream); color: var(--blue); flex: none; }
.c-ico svg { width: 24px; height: 24px; }
.contact-list small { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-list a { font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--navy); }
.contact-list a:hover { color: var(--blue); text-decoration: underline; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 18px; border-radius: 999px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; transition: background-color .2s; }
.socials a:hover { background: var(--blue); }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 420px; border: 1px solid var(--line); background: var(--cream); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 60px 0 34px; overflow: hidden; }
.footer-big { font-family: var(--display); font-weight: 800; font-size: clamp(4.5rem, 19vw, 17rem); line-height: .8; letter-spacing: -.06em; color: #fff; margin-bottom: 36px; }
.footer-big span { color: var(--orange); }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 40px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 22px; font-size: .95rem; }
.footer-row p:first-child { max-width: 36em; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; z-index: 40; right: 20px; bottom: 20px; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 30px -8px rgba(19,120,58,.7); transition: transform .2s var(--ease); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.07); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--wa); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { opacity: .8; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.5); } }

/* ---------- Revelado al hacer scroll ---------- */
.reveal { opacity: 0; translate: 0 30px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.reveal.is-in { opacity: 1; translate: 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 4px; padding: 14px;
    background: var(--cream); border-radius: 24px; box-shadow: var(--shadow);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s, transform .2s;
  }
  .nav-links a { padding: 14px 16px; font-size: 1.1rem; }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; transform: none; }
  .nav-cta { margin-left: auto; }
  .nav-toggle { display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); cursor: pointer; }
  .nav-toggle span { width: 20px; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .25s; }
  .nav.open .nav-toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

  .hero-grid { grid-template-columns: 1fr; align-content: center; gap: 8px; padding-top: calc(var(--nav-h) + 8px); }
  .hero-copy { text-align: left; }
  .hero-scene { width: min(78vw, 360px); order: -1; margin-top: 8px; }
  .readout { min-width: 150px; padding: 10px 14px 12px; }
  .readout strong { font-size: 2.3rem; }
  .hero-actions { margin-top: 24px; }
  .scroll-hint { display: none; }

  .product-grid, .shade-grid, .lona-grid, .industrial-grid, .delivery-grid, .quote-grid, .contact-grid { grid-template-columns: 1fr; }
  .industrial-grid { gap: 48px; }
  .ind-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .shade-grid { gap: 48px; }
  .lona-visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .ticket { position: static; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { height: 58px; gap: 10px; }
  .brand span { display: none; }
  .nav-cta { padding: 8px 16px; font-size: .95rem; }
  .hero { height: 140vh; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .lead { margin-top: 16px; }
  .hero-scene { width: min(64vw, 280px); }
  .eyebrow { margin-bottom: 16px; font-size: .75rem; }
  .btn-lg { width: 100%; }
  .product-body { padding: 24px 22px 28px; }
  .specs, .two { grid-template-columns: 1fr; }
  .choice span { min-height: 54px; padding: 10px 12px; font-size: .98rem; gap: 8px; }
  .choice span svg { width: 20px; height: 20px; }
  .hero-actions .btn-ghost { display: none; }
  .readout { left: auto; right: -14%; bottom: -2%; min-width: 0; padding: 8px 12px 10px; border-radius: 14px; }
  .readout-label { font-size: .62rem; }
  .readout-when { display: none; }
  .readout strong { font-size: 1.9rem; }
  .readout-note { font-size: .78rem; }
  .use-cards { gap: 10px; }
  .use:nth-child(2), .use:nth-child(4) { transform: translateY(18px); }
  .use figcaption { font-size: .85rem; padding: 4px 10px; left: 8px; bottom: 8px; }
  .stamp { width: 92px; height: 92px; font-size: .8rem; }
  .spec-guarantee { flex-direction: column; align-items: flex-start; }
  .ind-badge { width: 86px; height: 86px; font-size: .85rem; }
  .head-actions { gap: 14px; }
  .area { flex-basis: 100%; }
  .times { display: none; }
  .wa-float { width: 56px; height: 56px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero { height: auto; --p: 1; }
  .stage { position: relative; }
  .reveal { opacity: 1; translate: none; }
}

/* Recortes de fotos de Instagram (evitar el texto que traen encima) */
.product-lona .product-media img { object-position: center 33%; }
.delivery-img img { object-position: center 22%; }
.use:nth-child(2) img { object-position: center 0%; }
