/* ==========================================================
   MediaNet Solar · Landing page
   Paleta tomada del anuncio de MediaNet: azul noche + verde lima
   ========================================================== */

:root {
  --bg: #020C18;
  --surface: #071526;
  --elevated: #0B2040;
  --text: #FFFFFF;
  --muted: #AEBBD0;
  --muted-2: #7E8FA6;
  --lime: #B5D916;
  --lime-hover: #C9EB33;
  --blue: #7FB0FF;
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.07);
  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--lime); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.is-white { color: #fff; }

/* ---------- Tipografía y piezas comunes ---------- */
.h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.875rem); line-height: 1.08; letter-spacing: -0.025em; color: var(--text); text-wrap: balance; }
.h2--md { font-size: clamp(2rem, 3.8vw, 2.75rem); line-height: 1.1; }
.h2--band { font-size: clamp(1.9rem, 3.8vw, 2.75rem); line-height: 1.12; text-align: center; }
.h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--text); text-wrap: balance; }
.subtitle { font-family: var(--font-head); font-weight: 500; font-size: 1.25rem; line-height: 1.35; color: var(--lime); }
.subtitle--muted { color: var(--muted); }
.lead { font-size: 1.0625rem; text-wrap: pretty; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2; color: var(--lime); }
.eyebrow i { display: block; width: 28px; height: 2px; background: var(--lime); }
.eyebrow--center { justify-content: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; border: 1px solid transparent; font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; white-space: nowrap; }
.btn .ic { font-size: 18px; }
.btn--primary { background: var(--lime); color: var(--bg); }
.btn--primary:hover { background: var(--lime-hover); }
.btn--ghost { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.26); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); font-family: var(--font-head); font-weight: 600; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; color: #fff; }
.pill .ic { color: var(--lime); font-size: 16px; }

/* Aparición al hacer scroll (solo si hay JavaScript) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.44, 0, .56, 1) var(--d, 0s), transform .7s cubic-bezier(.44, 0, .56, 1) var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(2, 12, 24, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--nav-h); }
.nav__logo { justify-self: start; display: inline-flex; }
.nav__logo img { width: 102px; height: auto; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a:not(.btn) { font-weight: 600; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--lime); }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.05); color: #fff; align-items: center; justify-content: center; font-size: 22px; }
.nav__toggle .ic--close { display: none; }
.nav__toggle[aria-expanded="true"] .ic--open { display: none; }
.nav__toggle[aria-expanded="true"] .ic--close { display: block; }
.nav__cta-mobile { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 120px; }
.hero__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__glow--lime { width: 820px; height: 820px; right: -180px; top: -120px; background: radial-gradient(50% 50% at 50% 50%, rgba(181, 217, 22, 0.30) 0%, rgba(181, 217, 22, 0) 70%); }
.hero__glow--blue { width: 900px; height: 900px; left: -320px; bottom: -420px; background: radial-gradient(50% 50% at 50% 50%, rgba(37, 99, 217, 0.30) 0%, rgba(37, 99, 217, 0) 70%); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 64px; align-items: center; }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.5rem, 5.2vw, 3.875rem); line-height: 1.04; letter-spacing: -0.03em; color: #fff; }
.hero__title span { display: block; color: var(--lime); }
.hero__lead { font-family: var(--font-head); font-weight: 500; font-size: 1.375rem; line-height: 1.35; color: #fff; }
.hero__copy { font-size: 1.0625rem; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__brands { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14px; color: #fff; line-height: 1.3; }
.hero__brands .ic { color: var(--lime); font-size: 18px; }

.hero__media { position: relative; width: 100%; max-width: 520px; height: 660px; justify-self: end; }
.hero__img { position: absolute; inset: 0; border-radius: 260px 48px 260px 48px; overflow: hidden; background: #0B2040; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 12, 24, 0) 55%, rgba(2, 12, 24, 0.55) 100%); }

.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 20px; background: rgba(7, 21, 38, 0.86); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.float-card strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.25; color: #fff; }
.float-card small { display: block; font-size: 13px; line-height: 1.35; color: var(--muted); }
.float-card__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(181, 217, 22, 0.18); color: var(--lime); font-size: 22px; }
.float-card__icon--blue { background: rgba(37, 99, 217, 0.26); color: var(--blue); }
.float-card--a { left: -48px; bottom: 92px; width: 272px; animation: floatY 3.2s ease-in-out infinite alternate; }
.float-card--b { right: -28px; top: 88px; width: 250px; animation: floatY 3.8s ease-in-out infinite alternate-reverse; }
@keyframes floatY { from { transform: translateY(-8px); } to { transform: translateY(8px); } }

/* ---------- Cifras ---------- */
.stats { background: var(--surface); border-block: 1px solid var(--line-soft); padding: 64px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 48px; }
.stat { display: grid; gap: 10px; align-content: start; }
.stat__num { display: flex; align-items: flex-end; gap: 2px; font-family: var(--font-head); font-weight: 700; font-size: 60px; line-height: 1; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.stat__num b { color: var(--lime); font-weight: 700; letter-spacing: 0; }
.stat__label { font-family: var(--font-head); font-weight: 600; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3; color: #fff; }
.stat p:last-child { font-size: 15px; line-height: 1.55; text-wrap: pretty; }

/* ---------- Secciones ---------- */
.section { padding: 112px 0; position: relative; }
.section--surface { background: var(--surface); }
.section__head { display: grid; gap: 18px; margin-bottom: 64px; }
.section__head--split { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.section__head--split > div:first-child { display: grid; gap: 20px; }
.section__head--end { align-items: end; }
.section__head-text { display: grid; gap: 18px; padding-top: 34px; font-size: 1.0625rem; text-wrap: pretty; }
.section__head--end .section__head-text { padding-top: 0; }
.section__lead { font-size: 1.0625rem; text-wrap: pretty; max-width: 760px; }

/* ---------- Sistemas ---------- */
.systems { display: grid; gap: 120px; margin-top: 32px; }
.system { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.system--reverse .system__media { order: 2; }
.system__media { position: relative; height: 540px; overflow: hidden; background: #0B2040; }
.system__media--a { border-radius: 220px 44px 220px 44px; }
.system__media--b { border-radius: 44px 220px 44px 220px; }
.system__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.system__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 12, 24, 0) 60%, rgba(2, 12, 24, 0.5) 100%); pointer-events: none; }
.badge { position: absolute; bottom: 32px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: rgba(2, 12, 24, 0.76); border: 1px solid rgba(255, 255, 255, 0.18); font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: .14em; line-height: 1.2; color: #fff; }
.badge .ic { color: var(--lime); font-size: 18px; }
.badge--left { left: 28px; }
.badge--right { right: 28px; }
.system__body { display: grid; gap: 22px; justify-items: start; }
.system__body p { text-wrap: pretty; font-size: 1.0625rem; }
.system__label { display: flex; align-items: center; gap: 16px; }
.system__num { font-family: var(--font-head); font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: -0.03em; color: rgba(255, 255, 255, 0.16); font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); font-weight: 600; font-size: 13.5px; line-height: 1.2; color: #fff; }
.chips .ic { color: var(--lime); font-size: 15px; }
.ideal { width: 100%; display: grid; gap: 6px; padding: 20px 22px; border-radius: 20px; background: rgba(181, 217, 22, 0.08); border: 1px solid rgba(181, 217, 22, 0.30); }
.ideal span { font-family: var(--font-head); font-weight: 700; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.system__body .ideal p { font-weight: 500; font-size: 1rem; line-height: 1.5; color: #fff; }

/* ---------- Banda ---------- */
.band { position: relative; overflow: hidden; padding: 140px 0; display: grid; place-items: center; background: #0B2040; }
.band__img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.band__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 12, 24, 0.80) 0%, rgba(2, 12, 24, 0.56) 50%, rgba(2, 12, 24, 0.86) 100%); }
.band__content { position: relative; z-index: 2; width: min(820px, calc(100% - 80px)); display: grid; gap: 24px; justify-items: center; text-align: center; }

/* ---------- Comparativa ---------- */
.table-wrap { max-width: 100%; contain: paint; overflow-x: auto; border-radius: 28px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 900px; border-collapse: collapse; table-layout: fixed; text-align: center; }
.compare th, .compare td { padding: 22px; border: 1px solid var(--line-soft); font-size: 14px; line-height: 1.4; vertical-align: middle; }
.compare tr:first-child > *, .compare tr > :first-child { border-left: 0; }
.compare thead tr > * { border-top: 0; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tr > :last-child { border-right: 0; }
.compare thead th { background: rgba(255, 255, 255, 0.05); font-family: var(--font-head); font-weight: 700; font-size: 15px; color: #fff; }
.compare thead .compare__corner { text-align: left; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); width: 24%; }
.compare tbody th { text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; line-height: 1.35; color: #fff; }
.compare__ic { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 8px; border-radius: 12px; background: rgba(181, 217, 22, 0.16); color: var(--lime); font-size: 20px; }
.mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 16px; }
.mark--yes { background: rgba(181, 217, 22, 0.18); color: var(--lime); }
.mark--no { background: rgba(255, 255, 255, 0.05); color: var(--muted-2); }
.compare__last td { font-weight: 600; color: #fff; }
.note { display: flex; align-items: center; gap: 12px; margin-top: 32px; font-size: 15px; line-height: 1.5; color: #fff; }
.note .ic { color: var(--lime); font-size: 20px; }

/* ---------- Diseño ---------- */
.design { overflow: hidden; }
.design__glow { position: absolute; width: 900px; height: 900px; left: -380px; top: 40px; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(37, 99, 217, 0.24) 0%, rgba(37, 99, 217, 0) 70%); pointer-events: none; }
.design__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.design__media { position: relative; height: 640px; }
.design__img { position: absolute; inset: 0; overflow: hidden; border-radius: 44px 240px 44px 240px; background: #0B2040; }
.design__img img { width: 100%; height: 100%; object-fit: cover; }
.design__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 12, 24, 0) 55%, rgba(2, 12, 24, 0.5) 100%); }
.float-card--design { right: -24px; bottom: 56px; width: 270px; }
.design__text { display: grid; gap: 26px; justify-items: start; }
.steps { width: 100%; }
.steps li { display: flex; align-items: flex-start; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.steps li:first-child { border-top: 1px solid var(--line); }
.steps li:hover { background: rgba(255, 255, 255, 0.03); }
.steps__n { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: rgba(181, 217, 22, 0.14); border: 1px solid rgba(181, 217, 22, 0.32); font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--lime); font-variant-numeric: tabular-nums; }
.steps li > div { flex: 1; display: grid; gap: 4px; }
.steps h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.125rem; line-height: 1.3; color: #fff; }
.steps p { font-size: 15px; line-height: 1.55; }
.steps__ic { margin-top: 12px; font-size: 22px; color: var(--muted-2); }

/* ---------- Proyectos realizados ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shot { display: grid; gap: 12px; padding: 8px; border-radius: 20px; background: #0A1E3E; border: 1px solid rgba(255, 255, 255, 0.06); align-content: start; }
.shot--wide { grid-column: span 2; }
.shot__img { height: 360px; border-radius: 12px; overflow: hidden; background: #071526; }
.shot__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.shot:hover .shot__img img { transform: scale(1.04); }
.shot figcaption { padding: 0 6px 4px; font-weight: 600; font-size: 14.5px; line-height: 1.3; color: var(--muted); }

/* ---------- Tecnología ---------- */
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.brand { display: flex; flex-direction: column; gap: 20px; padding: 36px 32px; border-radius: 28px; background: var(--elevated); border: 1px solid rgba(255, 255, 255, 0.10); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); transition: transform .25s ease; }
.brand:hover { transform: translateY(-6px); }
.brand header { display: flex; align-items: center; justify-content: space-between; }
.brand header .ic { color: var(--lime); font-size: 22px; }
.tag { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-family: var(--font-head); font-weight: 700; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; color: var(--muted); }
.brand h3 { font-family: var(--font-head); font-weight: 800; font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.03em; color: #fff; }
.brand__role { font-family: var(--font-head); font-weight: 500; font-size: 15px; line-height: 1.4; color: var(--muted); padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.10); }
.brand ul { display: grid; gap: 14px; }
.brand li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.brand li .ic { color: var(--lime); font-size: 18px; margin-top: 3px; }
.brand small { font-size: 12px; line-height: 1.4; color: var(--muted-2); }
.trust { position: relative; overflow: hidden; margin-top: 64px; padding: 56px; display: grid; gap: 18px; border-radius: 32px; background: linear-gradient(160deg, #0B2342 0%, #08172E 100%); border: 1px solid var(--line-soft); }
.trust::before { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -200px; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(181, 217, 22, 0.28) 0%, rgba(181, 217, 22, 0) 70%); pointer-events: none; }
.trust h3 { position: relative; max-width: 860px; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 2.5vw, 1.875rem); line-height: 1.25; letter-spacing: -0.015em; color: #fff; text-wrap: balance; }
.trust p { position: relative; display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.3; color: #fff; }
.trust p .ic { font-size: 20px; }

/* ---------- Contacto ---------- */
.contact { position: relative; overflow: hidden; padding: 112px 0; background: linear-gradient(180deg, rgba(2, 12, 24, 0.90) 0%, rgba(2, 12, 24, 0.84) 100%), url("../assets/img/on-grid-paneles-techo.webp") center / cover no-repeat, #031225; }
.contact__glow { position: absolute; width: 900px; height: 900px; right: -360px; top: -80px; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(181, 217, 22, 0.22) 0%, rgba(181, 217, 22, 0) 70%); pointer-events: none; }
.contact__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact__text { display: grid; gap: 26px; justify-items: start; }
.checks { display: grid; gap: 14px; }
.checks li { display: flex; align-items: flex-start; gap: 14px; font-weight: 500; font-size: 1.03rem; line-height: 1.45; color: #fff; }
.checks li span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(181, 217, 22, 0.18); color: var(--lime); font-size: 15px; }
.contact__links { display: grid; gap: 12px; padding-top: 10px; }
.contact__links a { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 500; font-size: 15.5px; line-height: 1.3; color: #fff; transition: opacity .2s; }
.contact__links a:hover { opacity: .75; }
.contact__links .ic { color: var(--lime); font-size: 20px; }

.form-card { padding: 40px; border-radius: 32px; background: var(--elevated); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); display: grid; gap: 24px; }
.form-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.625rem; line-height: 1.2; letter-spacing: -0.015em; color: #fff; }
.form-card > p { font-size: 15px; line-height: 1.5; margin-top: -12px; }
.form-card form { display: grid; gap: 18px; }
.form-card label { display: grid; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 13px; line-height: 1.2; color: #fff; }
.form-card input { width: 100%; height: 54px; padding: 0 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); font-family: var(--font-body); font-weight: 500; font-size: 16px; color: #fff; transition: border-color .2s, box-shadow .2s; }
.form-card input::placeholder { color: rgba(174, 187, 208, 0.65); }
.form-card input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(181, 217, 22, 0.18); }
.form-card input[aria-invalid="true"] { border-color: #FF8A80; }
.form-card small { font-family: var(--font-body); font-weight: 400; font-size: 12.5px; line-height: 1.4; color: rgba(174, 187, 208, 0.85); }
.hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.btn--submit { width: 100%; height: 58px; font-size: 16px; }
.btn--submit[disabled] { opacity: .75; cursor: progress; }
.btn--submit.is-sent { background: #2FD28B; }
.form-status { min-height: 1.4em; font-size: 14px; line-height: 1.45; color: var(--lime); }
.form-status.is-error { color: #FF9C94; }
.form-status a { text-decoration: underline; }
.form-note { font-size: 12px; line-height: 1.5; color: rgba(174, 187, 208, 0.75); margin-top: -8px; }

/* ---------- Pie ---------- */
.footer { background: #010812; border-top: 1px solid var(--line-soft); padding: 72px 0 36px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__brand img { width: 102px; }
.footer__tag { font-family: var(--font-head); font-weight: 500; font-size: 1.0625rem; line-height: 1.4; color: #fff; }
.footer__brand p:last-child { font-size: 14.5px; line-height: 1.55; }
.footer h4 { margin-bottom: 14px; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2; color: var(--lime); }
.footer ul { display: grid; gap: 14px; }
.footer li { font-size: 15px; line-height: 1.45; color: #fff; }
.footer li a { transition: opacity .2s; word-break: break-word; }
.footer li a:hover { opacity: .7; }
.footer__copy { margin-top: 32px; font-size: 13.5px; line-height: 1.4; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .container { width: calc(100% - 56px); }
  .hero { padding: 64px 0 88px; }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__media { justify-self: center; height: 560px; }
  .section { padding: 88px 0; }
  .section__head--split { grid-template-columns: 1fr; }
  .section__head-text { padding-top: 0; }
  .system { grid-template-columns: 1fr; gap: 40px; }
  .system--reverse .system__media { order: 0; }
  .systems { gap: 88px; }
  .system__media { height: 480px; }
  .design__grid, .contact__grid { grid-template-columns: 1fr; gap: 56px; }
  .design__media { height: 520px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact { padding: 88px 0; }
  .band { padding: 104px 0; }
  .stats { padding: 48px 0; }
}

@media (max-width: 1000px) {
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__toggle { display: inline-flex; }
  .nav__links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 28px 24px; background: rgba(2, 12, 24, 0.98); border-bottom: 1px solid rgba(255, 255, 255, 0.08); display: none; }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 16px 4px; font-size: 17px; border-bottom: 1px solid var(--line-soft); }
  .nav__inner { position: relative; }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .container { width: calc(100% - 40px); }
  .nav__cta { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 18px; }
  .nav__links { padding: 8px 20px 24px; }
  .hero { padding: 48px 0 72px; }
  .hero__media { height: 440px; }
  .float-card--a { left: 12px; width: 250px; bottom: 56px; }
  .float-card--b { right: 12px; top: 40px; width: 230px; }
  .float-card--design { right: 12px; width: 250px; bottom: 32px; }
  .hero__ctas .btn { width: 100%; }
  .stats__grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
  .systems { gap: 72px; }
  .system__media { height: 400px; }
  .system__media--a { border-radius: 160px 36px 160px 36px; }
  .system__media--b { border-radius: 36px 160px 36px 160px; }
  .badge--left { left: 16px; }
  .badge--right { right: 16px; }
  .design__media { height: 440px; }
  .design__img { border-radius: 36px 160px 36px 160px; }
  .band { padding: 80px 0; }
  .band__content { width: calc(100% - 40px); }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shot__img { height: 220px; }
  .shot--wide { grid-column: span 2; }
  .brands { grid-template-columns: 1fr; }
  .trust { padding: 36px 24px; margin-top: 40px; }
  .contact { padding: 72px 0; }
  .form-card { padding: 28px 22px; }
  .footer { padding: 56px 0 28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .steps li { gap: 14px; }
  .steps__ic { display: none; }
  .hero__brands { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-card--a, .float-card--b { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .band__img { transform: none !important; }
}

/* ==========================================================
   Formulario de registro (feria / QR)
   ========================================================== */
[hidden] { display: none !important; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row > label { min-width: 0; }
.form-card select {
  width: 100%; height: 54px; padding: 0 44px 0 18px; border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-body); font-weight: 500; font-size: 16px; color: #fff; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23AEBBD0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  transition: border-color .2s, box-shadow .2s;
}
.form-card select:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(181, 217, 22, 0.18); }
.form-card select:invalid { color: rgba(174, 187, 208, 0.75); }
.form-card select option { background: #0B2040; color: #fff; }
.form-card select[aria-invalid="true"] { border-color: #FF8A80; }

.upload { display: grid; gap: 10px; position: relative; }
.upload__title { font-family: var(--font-head); font-weight: 600; font-size: 13px; line-height: 1.2; color: #fff; }
.form-card .upload__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 18px; border-radius: 14px; background: rgba(181, 217, 22, 0.12); border: 1px solid rgba(181, 217, 22, 0.45); font-family: var(--font-head); font-weight: 600; font-size: 14px; line-height: 1.2; color: #fff; cursor: pointer; text-align: center; transition: background-color .2s; }
.form-card .upload__btn:hover { background: rgba(181, 217, 22, 0.2); }
.form-card .upload__btn--alt { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.18); font-weight: 500; }
.form-card .upload__btn--alt:hover { background: rgba(255, 255, 255, 0.10); }
.upload__btn .ic { font-size: 18px; color: var(--lime); }
.form-card input.sr-file { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; overflow: hidden; pointer-events: none; }
.upload:focus-within .upload__btn { outline: 2px solid var(--lime); outline-offset: 2px; }
.form-card .upload small.is-ok { color: var(--lime); }
.form-card .upload small.is-bad { color: #FF9C94; }

.form-card label.consent { display: flex; align-items: flex-start; gap: 12px; font-family: var(--font-body); font-weight: 400; font-size: 13px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.form-card label.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; padding: 0; accent-color: var(--lime); border-radius: 6px; }
.form-card label.consent.is-invalid { color: #FF9C94; }
.form-card input[type="checkbox"]:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.eyebrow #eyebrowText { display: inline; }

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; gap: 18px; }
}

/* Recorte sin posibilidad de desplazamiento (evita que el navegador "mueva" la sección al enfocar un campo) */
.hero, .design, .band, .contact, .trust { overflow: hidden; overflow: clip; }
