/* ==========================================================================
   NEW ENERGY — asesoría energética de Grupo New Energy
   Archetype: Editorial Dark Warm, paleta oficial de marca.
   ========================================================================== */

:root {
  --bg: #141412;
  --bg-2: #1D1D1B;          /* negro de marca */
  --bg-3: #242421;
  --line: rgba(244, 242, 236, .10);
  --line-2: rgba(244, 242, 236, .18);
  --text: #F4F2EC;
  --text-2: #CFCDC5;
  --muted: #9C9A92;
  --verde: #4DAC6F;
  --lima: #BBD151;
  --amarillo: #E8E349;
  --verde-tipo: #74B959;
  --grad: linear-gradient(90deg, var(--verde) 0%, var(--lima) 55%, var(--amarillo) 100%);
  --grad-v: linear-gradient(180deg, var(--amarillo) 0%, var(--lima) 45%, var(--verde) 100%);
  --font-d: "Jost", "Avenir Next", "Futura", system-ui, sans-serif;
  --font-b: "Manrope", "Inter", system-ui, sans-serif;
  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 48px);
  --r: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --mx: 50%;
  --my: 35%;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-d); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { color: var(--text); font-weight: 700; }
.wrap { width: min(var(--wrap), 100% - var(--pad) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lima); color: #111; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.br-d { display: none; }
@media (min-width: 800px) { .br-d { display: inline; } }

/* ---------- Fondo vivo ---------- */
.energia {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; opacity: .9;
}
.halo {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(560px circle at var(--mx) var(--my), rgba(187, 209, 81, .16), transparent 60%),
    radial-gradient(900px circle at calc(var(--mx) + 18%) calc(var(--my) + 25%), rgba(77, 172, 111, .12), transparent 60%),
    radial-gradient(700px circle at calc(var(--mx) - 22%) calc(var(--my) - 10%), rgba(232, 227, 73, .07), transparent 60%);
  filter: blur(10px);
  transition: opacity .6s;
}
main, .nav, .footer, .menu-movil { position: relative; z-index: 1; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(20, 20, 18, .55);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.is-scrolled { background: rgba(20, 20, 18, .86); border-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; display: block; }
.brand__word { font-family: var(--font-d); letter-spacing: .22em; font-size: 15px; text-transform: uppercase; white-space: nowrap; }
.brand__word b { font-weight: 500; color: var(--text); }
.brand__word i { font-style: normal; font-weight: 500; color: var(--verde-tipo); }
.nav__links { display: none; gap: 26px; margin-left: auto; }
.nav__links a { font-size: 14.5px; color: var(--text-2); position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--grad); transition: right .35s var(--ease); }
.nav__links a:hover::after { right: 0; }
.nav__cta { display: none; align-items: center; gap: 18px; }
.tel { font-family: var(--font-d); font-size: 15px; letter-spacing: .04em; color: var(--text-2); }
.tel:hover { color: var(--lima); }
.burger { margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; position: relative; padding: 0; cursor: pointer; }
.burger span { position: absolute; left: 50%; top: 50%; width: 20px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease); }
.burger span:first-child { transform: translate(-50%, -50%) translateY(-3.5px); }
.burger span:last-child { transform: translate(-50%, -50%) translateY(3.5px); }
.burger[aria-expanded="true"] span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
@media (min-width: 980px) {
  .nav__links, .nav__cta { display: flex; }
  .nav__cta { margin-left: 8px; }
  .burger { display: none; }
}
.menu-movil {
  position: fixed; inset: 72px 0 0 0; z-index: 49;
  background: rgba(20, 20, 18, .96); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; gap: 6px; padding: 28px var(--pad);
}
.menu-movil[hidden] { display: none; }
.menu-movil a { font-family: var(--font-d); font-size: 26px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu-movil .btn { margin-top: 18px; border: 0; font-size: 17px; justify-content: center; }
.menu-movil__tel { border: 0 !important; color: var(--lima); font-size: 20px !important; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-d); font-weight: 500; font-size: 16px; letter-spacing: .01em;
  padding: 15px 26px; border-radius: 999px; position: relative; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
  will-change: transform;
}
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--solid { color: #141412; background: var(--grad); box-shadow: 0 8px 24px -10px rgba(187, 209, 81, .55); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(187, 209, 81, .7); }
.btn--ghost { color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { border-color: var(--lima); color: var(--lima); transform: translateY(-2px); }
.btn--full { width: 100%; }
.btn__ok { display: none; }
.btn.is-done .btn__txt { display: none; }
.btn.is-done .btn__ok { display: inline; }
.btn.is-sending { opacity: .7; pointer-events: none; }

/* ---------- Texto común ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-d); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.eyebrow--center { justify-content: center; width: 100%; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(187, 209, 81, .15); }
.sec { padding: clamp(84px, 11vw, 150px) 0; }
.sec__head { text-align: center; max-width: 780px; margin: 0 auto clamp(44px, 6vw, 72px); }
.sec__head--left { text-align: left; margin-inline: 0; }
.sec__head--left .eyebrow { justify-content: flex-start; }
.sec__title { font-size: clamp(32px, 4.6vw, 58px); font-weight: 400; letter-spacing: -.02em; text-wrap: balance; }
.sec__lead, .lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--text-2); line-height: 1.55; }
.sec__lead { margin-top: 18px; }
em { font-style: italic; }
h1 em, .sec__title em, .manifiesto__title em { font-style: italic; font-weight: 300; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }
.char { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(3deg); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.char--bloque { padding: 0 .12em .05em .06em; margin: 0 -.08em -.05em -.04em; transform: translateY(.35em); }
[data-split].is-in .char { opacity: 1; transform: none; }
html.no-js .char { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { min-height: calc(100svh - 72px); display: flex; align-items: center; position: relative; padding: 60px 0 80px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; width: min(var(--wrap), 100% - var(--pad) * 2); }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.25fr .9fr; gap: 40px; } }
.hero__title { font-size: clamp(38px, 5.6vw, 74px); font-weight: 400; letter-spacing: -.025em; line-height: 1.04; max-width: 17ch; text-wrap: balance; margin: 0 0 26px; }
.hero__roles { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--text-2); font-family: var(--font-d); font-size: clamp(15px, 1.3vw, 18px); letter-spacing: .02em; margin: 0 0 34px; }
.hero__roles .sep { color: var(--lima); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__proof { display: inline-flex; align-items: center; gap: 16px; padding: 14px 22px 14px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(29, 29, 27, .6); backdrop-filter: blur(8px); }
.hero__proof-num { font-family: var(--font-d); font-size: 30px; font-weight: 500; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__proof-txt { font-size: 13.5px; line-height: 1.25; color: var(--text-2); text-transform: uppercase; letter-spacing: .08em; }
.hero__visual { position: relative; display: grid; place-items: center; min-height: 320px; }
.hero__logo { width: clamp(200px, 26vw, 340px); height: auto; position: relative; z-index: 2; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); animation: flota 7s ease-in-out infinite; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 1; }
.orb--a { width: 360px; height: 360px; background: radial-gradient(circle, rgba(187, 209, 81, .55), transparent 65%); top: 8%; left: 18%; animation: orb 14s ease-in-out infinite; }
.orb--b { width: 300px; height: 300px; background: radial-gradient(circle, rgba(77, 172, 111, .5), transparent 65%); bottom: 4%; right: 10%; animation: orb 18s ease-in-out infinite reverse; }
@keyframes flota { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
@keyframes orb { 0%, 100% { transform: translate(0, 0) } 50% { transform: translate(24px, -18px) } }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 14px; display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 3px; background: var(--lima); animation: rueda 2s ease-in-out infinite; }
@keyframes rueda { 0% { transform: translateY(0); opacity: 1 } 70% { transform: translateY(14px); opacity: 0 } 100% { opacity: 0 } }
@media (min-width: 900px) { .hero__scroll { display: block; } }

/* ---------- Cifras ---------- */
.cifras { padding: 10px 0 0; }
.cifras__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
@media (min-width: 900px) { .cifras__grid { grid-template-columns: repeat(4, 1fr); } }
.cifra { background: rgba(29, 29, 27, .75); backdrop-filter: blur(8px); padding: 28px 24px 26px; display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; }
.cifra::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .3s; }
.cifra.is-in::after { transform: scaleX(1); }
.cifra__num { font-family: var(--font-d); font-size: clamp(30px, 3.4vw, 42px); font-weight: 400; letter-spacing: -.02em; line-height: 1; color: var(--text); display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.cifra__pre, .cifra__arrow { color: var(--lima); }
.cifra__arrow { font-size: .7em; }
.cifra__num--inf .inf { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.25em; line-height: .9; }
.cifra__lbl { font-size: 13.5px; color: var(--muted); letter-spacing: .02em; line-height: 1.35; }


/* ---------- Pilares ---------- */
.pilares__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 820px) { .pilares__grid { grid-template-columns: repeat(3, 1fr); } }
.pilar {
  position: relative; padding: 34px 30px 32px; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(36, 36, 33, .9), rgba(29, 29, 27, .8));
  border: 1px solid var(--line); overflow: hidden; transform-style: preserve-3d;
  transition: border-color .4s, box-shadow .4s;
}
.pilar::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; }
.pilar:hover::before { opacity: .8; }
.pilar:hover { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.pilar__n { font-family: var(--font-d); font-size: 13px; letter-spacing: .2em; color: var(--muted); }
.pilar__icon { width: 52px; height: 52px; margin: 22px 0 18px; color: var(--lima); }
.pilar__icon svg { width: 100%; height: 100%; }
.pilar h3 { font-size: 24px; margin-bottom: 12px; }
.pilar p { color: var(--text-2); font-size: 16px; margin: 0; }
.pilares__cta, .pasos__cta { text-align: center; margin-top: 44px; }


/* balas de "Solo hacemos bien tres cosas" */
.balas { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 22px; }
.balas li { position: relative; padding-left: 26px; font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); line-height: 1.45; text-align: left; }
.balas li::before { content: ""; position: absolute; left: 0; top: .52em; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(187, 209, 81, .14); }
.balas strong { color: var(--text); }

/* ---------- Historia ---------- */
.historia { background: linear-gradient(180deg, transparent, rgba(29, 29, 27, .55) 15%, rgba(29, 29, 27, .55) 85%, transparent); }
.historia__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.historia__grid > *, .gratis__grid > *, .contacto__grid > *, .hero__grid > *, .foto { min-width: 0; }
@media (min-width: 980px) { .historia__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: start; } }
.historia__texto p { color: var(--text-2); font-size: 17.5px; line-height: 1.7; }
.historia__texto .lead { color: var(--text); font-size: clamp(19px, 1.8vw, 23px); }
.historia__texto .lead::first-letter { font-family: var(--font-d); font-size: 2.9em; float: left; line-height: .8; padding: 8px 10px 0 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 400; }

.melancolia { font-family: var(--font-d); font-style: italic; font-weight: 300; font-size: 22px; letter-spacing: .08em; color: var(--muted); margin: -4px 0 28px; }
.cita { margin: 30px 0; padding: 8px 0 8px 26px; border-left: 2px solid; border-image: var(--grad-v) 1; }
.cita p { font-family: var(--font-d); font-size: clamp(20px, 2vw, 26px); line-height: 1.3; color: var(--text); font-weight: 300; font-style: italic; margin: 0; }
.cita--grande p { font-size: clamp(24px, 2.6vw, 34px); font-style: normal; }
.cita footer { margin-top: 12px; color: var(--muted); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font-d); }
.historia__fotos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; position: sticky; top: 100px; }
.foto { margin: 0; position: relative; display: flex; flex-direction: column; }
.foto--1 { grid-column: 1 / -1; }
.foto--4, .foto--5 { grid-column: 1 / -1; }
.foto--1 .foto__img, .foto--1 .foto__ph { aspect-ratio: 16 / 10; }
.foto--2 .foto__img, .foto--3 .foto__img, .foto--2 .foto__ph, .foto--3 .foto__ph { aspect-ratio: 4 / 3; }
.foto--5 .foto__img { aspect-ratio: 16 / 10; }
.foto--4 .foto__img, .foto--4 .foto__ph { aspect-ratio: 4 / 5; object-position: 50% 40%; }
/* Imágenes ilustrativas (IA) de la historia */
.foto__img {
  display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--r-sm);
  border: 1px solid var(--line); filter: saturate(.88) contrast(1.04); transition: filter .5s, transform .6s var(--ease);
}
.foto:hover .foto__img { filter: saturate(1) contrast(1.04); }
.foto figcaption.foto__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 9px 4px 0; font-size: 13.5px; line-height: 1.35; }
.foto__nota { font-family: var(--font-d); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.foto__ph {
  width: 100%; height: 100%; border-radius: var(--r-sm); border: 1px dashed var(--line-2);
  background: linear-gradient(135deg, rgba(77, 172, 111, .08), rgba(232, 227, 73, .05)), rgba(20, 20, 18, .5);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; position: relative; overflow: hidden;
}
.foto__ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(244, 242, 236, .025) 12px 13px); }
.foto__tag { position: absolute; top: 12px; left: 12px; font-family: var(--font-d); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #141412; background: var(--lima); padding: 4px 8px; border-radius: 4px; }
.foto__cap { font-size: 14px; color: var(--text-2); position: relative; }

/* ---------- Timeline ---------- */
.tl { position: relative; max-width: 860px; margin: 0 auto; padding-left: 0; }
.tl::before { content: ""; position: absolute; left: 14px; top: 6px; bottom: 6px; width: 1px; background: var(--line-2); }
.tl::after { content: ""; position: absolute; left: 14px; top: 6px; width: 1px; height: var(--draw, 0%); background: var(--grad-v); transition: height .2s linear; }
.tl__item { position: relative; display: grid; grid-template-columns: 1fr; gap: 8px; padding: 0 0 20px 44px; }
.tl__item::before { content: ""; position: absolute; left: 10px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--lima); box-shadow: 0 0 0 6px rgba(187, 209, 81, .08); z-index: 1; }
.tl__year { font-family: var(--font-d); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--lima); padding-top: 3px; }
.tl__card { padding: 15px 20px; border-radius: var(--r-sm); background: rgba(29, 29, 27, .8); border: 1px solid var(--line); }
.tl__card h3 { font-size: 18.5px; margin-bottom: 4px; }
.tl__card p { color: var(--text-2); font-size: 14.5px; line-height: 1.5; margin: 0; }
.tl__card--hit { border-color: rgba(187, 209, 81, .45); background: linear-gradient(135deg, rgba(187, 209, 81, .12), rgba(29, 29, 27, .85)); }
.tl__card--hoy { border-color: transparent; background: var(--grad); color: #141412; }
.tl__card--hoy h3, .tl__card--hoy p { color: #141412; }
@media (min-width: 820px) {
  .tl::before, .tl::after { left: 50%; }
  .tl__item { grid-template-columns: 1fr 1fr; padding-left: 0; gap: 0 44px; }
  .tl__item::before { left: 50%; margin-left: -6px; top: 10px; }
  .tl__year { text-align: right; padding-top: 6px; }
  .tl__item:nth-child(even) .tl__year { order: 2; text-align: left; }
  .tl__item:nth-child(even) .tl__card { order: 1; }
}

/* ---------- Marcas ---------- */
.marcas { padding: clamp(60px, 8vw, 100px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(29, 29, 27, .4); overflow: hidden; }
.marcas__head { text-align: center; }
.marcas__head .eyebrow { justify-content: center; width: 100%; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); padding: 18px 0; }
.marquee__track { display: flex; align-items: center; gap: clamp(44px, 5vw, 72px); width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marca { display: inline-flex; align-items: center; white-space: nowrap; }
.marca img { height: clamp(26px, 3vw, 38px); width: auto; display: block; opacity: .68; filter: grayscale(0); transition: opacity .35s, transform .35s var(--ease); }
.marca--grupo img { opacity: .95; }
.marca:hover img { opacity: 1; transform: scale(1.06); }
.marcas__nota { text-align: center; color: var(--muted); font-size: 14px; margin-top: 14px; }
.marca-grupo-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--grad); color: #141412; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-right: 6px; }

/* ---------- Gratis ---------- */
.gratis__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; }
@media (min-width: 940px) { .gratis__grid { grid-template-columns: 1.1fr .9fr; gap: 80px; } }
.gratis__copy p { color: var(--text-2); }
.gratis__puntos { display: grid; gap: 14px; }
.punto { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: center; padding: 22px 24px; border-radius: var(--r-sm); background: rgba(29, 29, 27, .8); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.punto:hover { border-color: rgba(187, 209, 81, .4); transform: translateX(6px); }
.punto__ico { width: 72px; height: 72px; border-radius: 16px; display: grid; place-items: center; font-family: var(--font-d); font-size: 22px; font-weight: 500; color: #141412; background: var(--grad); }
.punto h3 { font-size: 19px; margin-bottom: 4px; }
.punto p { color: var(--text-2); font-size: 15px; margin: 0; }

/* ---------- Pasos ---------- */
.pasos { background: linear-gradient(180deg, transparent, rgba(29, 29, 27, .55) 15%, rgba(29, 29, 27, .55) 85%, transparent); }
.pasos__visual { margin: 0 auto 26px; max-width: 1040px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); position: relative; }
.pasos__visual img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; filter: saturate(.9); }
.pasos__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 20, 18, .05), rgba(20, 20, 18, .35)); pointer-events: none; }
@media (max-width: 640px) { .pasos__visual img { aspect-ratio: 16 / 10; } }
.pasos__grid { display: grid; grid-template-columns: 1fr; gap: 16px; counter-reset: paso; }
@media (min-width: 700px) { .pasos__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pasos__grid { grid-template-columns: repeat(4, 1fr); } }
.paso { position: relative; padding: 30px 26px 28px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(20, 20, 18, .6); overflow: hidden; }
.paso::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.paso.is-in::after { transform: scaleX(1); }
.paso__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--lima); color: var(--lima); font-family: var(--font-d); font-size: 17px; margin-bottom: 18px; }
.paso h3 { font-size: 21px; margin-bottom: 8px; }
.paso p { color: var(--text-2); font-size: 15.5px; margin: 0; }
.pasos__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pasos__cta-nota { font-size: 14px; color: var(--muted); }

/* ---------- Manifiesto ---------- */
.manifiesto { position: relative; padding: clamp(110px, 15vw, 190px) 0; text-align: center; overflow: hidden; }
.manifiesto__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; opacity: .38; filter: saturate(.85); pointer-events: none; z-index: 0; }
.manifiesto--img::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(20, 20, 18, .45) 22%, rgba(20, 20, 18, .55) 78%, var(--bg) 100%); }
.manifiesto > .wrap { position: relative; z-index: 1; }
.manifiesto::before { z-index: 1; }
.manifiesto::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 380px at 50% 50%, rgba(187, 209, 81, .10), transparent 70%); pointer-events: none; }
.manifiesto__title { font-size: clamp(42px, 8vw, 112px); font-weight: 300; letter-spacing: -.03em; line-height: 1; text-wrap: balance; margin: 0 auto 30px; max-width: 16ch; }
.manifiesto__txt { max-width: 640px; margin: 0 auto; color: var(--text-2); font-size: clamp(17px, 1.5vw, 20px); }

/* ---------- Segmentos ---------- */
.segmentos__grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .segmentos__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .segmentos__grid { grid-template-columns: repeat(3, 1fr); } }
.seg { padding: 28px 26px; border-radius: var(--r); background: rgba(29, 29, 27, .8); border: 1px solid var(--line); position: relative; overflow: hidden; transition: border-color .35s, transform .35s var(--ease); transform-style: preserve-3d; }
.seg::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(187, 209, 81, .22), transparent 65%); top: -110px; right: -110px; opacity: 0; transition: opacity .4s; }
.seg:hover::before { opacity: 1; }
.seg:hover { border-color: rgba(187, 209, 81, .35); }
.seg:has(.seg__img) { padding: 0; display: flex; flex-direction: column; }
.seg__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); filter: saturate(.85) brightness(.92); transition: filter .45s, transform .7s var(--ease); }
.seg:hover .seg__img { filter: saturate(1) brightness(1); transform: scale(1.03); }
.seg__body { padding: 22px 24px 26px; position: relative; }
.seg h3 { font-size: 21px; margin-bottom: 8px; position: relative; }
.seg p { color: var(--text-2); font-size: 15.5px; margin: 0; position: relative; }

/* ---------- Contacto ---------- */
.contacto { background: linear-gradient(180deg, transparent, rgba(29, 29, 27, .6) 20%); }
.contacto__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 980px) { .contacto__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }
.contacto__vias { display: grid; gap: 10px; }
.via { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 18px 22px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(20, 20, 18, .55); transition: border-color .3s, transform .3s var(--ease); }
.via:not(.via--static):hover { border-color: rgba(187, 209, 81, .45); transform: translateX(6px); }
.via__k { grid-column: 1; font-family: var(--font-d); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.via__v { grid-column: 1; font-family: var(--font-d); font-size: clamp(18px, 1.8vw, 22px); color: var(--text); }
.via__arrow { grid-column: 2; grid-row: 1 / span 2; font-size: 22px; color: var(--lima); transition: transform .3s var(--ease); }
.via:hover .via__arrow { transform: translateX(4px); }
.via__tel:hover { color: var(--lima); }
.via__dir { font-size: 17px; }
.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r); background: rgba(29, 29, 27, .85); border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-family: var(--font-d); }
.field small { text-transform: none; letter-spacing: 0; color: var(--muted); font-family: var(--font-b); font-size: 12px; }
.field input, .field select, .field textarea {
  width: 100%; font: 16px/1.4 var(--font-b); color: var(--text); background: rgba(20, 20, 18, .8);
  border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 14px; outline: none; transition: border-color .25s, box-shadow .25s;
  letter-spacing: 0; text-transform: none;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--lima) 50%), linear-gradient(135deg, var(--lima) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: #1D1D1B; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lima); box-shadow: 0 0 0 4px rgba(187, 209, 81, .15); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #e07a5f; }
.field--file input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.field--file { position: relative; }
.file__ui { display: flex; align-items: center; gap: 12px; border: 1px dashed var(--line-2); border-radius: 10px; padding: 10px 10px 10px 12px; cursor: pointer; text-transform: none; letter-spacing: 0; font-family: var(--font-b); font-size: 15px; color: var(--text-2); transition: border-color .25s; }
.file__ui:hover, .field--file input:focus ~ .file__ui { border-color: var(--lima); }
.file__btn { padding: 8px 14px; border-radius: 8px; background: rgba(244, 242, 236, .08); color: var(--text); font-size: 14px; white-space: nowrap; }
.file__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.field--consent { grid-template-columns: auto 1fr; align-items: start; text-transform: none; letter-spacing: 0; font-family: var(--font-b); font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.field--consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--lima); }
.field--consent a { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form__msg { margin: 0; font-size: 14px; color: var(--text-2); min-height: 1.4em; }
.form__msg.is-error { color: #e8a090; }
.form__msg.is-ok { color: var(--lima); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: rgba(20, 20, 18, .9); padding: 54px 0 28px; font-size: 14.5px; color: var(--text-2); }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.2fr 1.3fr 1fr; align-items: start; } }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 48px; height: 48px; }
.footer__brand b { font-family: var(--font-d); letter-spacing: .2em; font-weight: 500; color: var(--text); }
.footer__brand span { color: var(--muted); font-size: 13.5px; }
.footer__brand p { margin: 0; line-height: 1.4; }
.footer__legal p { margin: 0; line-height: 1.7; color: var(--muted); }
.footer__legal a:hover, .footer__links a:hover { color: var(--lima); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (min-width: 860px) { .footer__links { justify-content: flex-end; } }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.totop:hover { color: var(--lima); }

/* ---------- Páginas legales ---------- */
.legal { padding: 60px 0 100px; max-width: 780px; }
.legal h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 400; margin-bottom: 10px; }
.legal .fecha { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--lima); text-decoration: underline; text-underline-offset: 3px; }
.legal .volver { display: inline-block; margin-bottom: 30px; color: var(--muted); }
.legal .volver:hover { color: var(--lima); }

/* ---------- Reduced motion: solo lo intrusivo ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__logo, .orb { animation: none; }
  .hero__scroll span { animation: none; }
  .marquee__track { animation-duration: 120s; }
}

/* Marcas propias del grupo, en su color */
.b { font-weight: 600; color: inherit; }
.b--mega { color: #30B7BB; }
.b--kleen { color: #93D60F; }
.b--net { color: #86C440; }
.b--colors { background: linear-gradient(90deg, #F46335, #F4AE25, #21BF5E, #4581FE); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl__card--hoy .b--mega { color: #0E6A6D; }
.tl__card--hoy .b--kleen { color: #1F5E0C; }
.tl__card--hoy .b--net { color: #2F6A12; }
.tl__card--hoy .b--colors { background-image: linear-gradient(90deg, #C23E15, #A86E00, #0E7A3A, #1F55C2); }
.tl__logo { display: block; height: 34px; width: auto; margin: 0 0 12px; }
.tl__card p + .tl__p2 { margin-top: 14px; }
.tl__kicker { font-family: "Jost", sans-serif; font-style: italic; font-size: 15px; letter-spacing: .02em; opacity: .85; margin: 0 0 6px; }
.hero__lead { display: block; max-width: 44ch; line-height: 1.5; letter-spacing: 0; }
.cifra__num--txt { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: 0; }
