/* =============================================================
   AGADE PROTECT — Industrial Spec Sheet
   Arquetipo: 07 Brutalist Grid, adaptado a paleta oscura del logo
   (negro, blanco, naranja de seguridad). Esquinas rectas, retícula
   técnica, líneas de señalización, etiquetas mono tipo ficha técnica.
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  --bg: #0a0b0c;
  --bg-2: #101214;
  --panel: #15181b;
  --panel-2: #1c2024;
  --line: rgba(243, 242, 239, .09);
  --line-2: rgba(243, 242, 239, .18);
  --ink: #f3f2ef;
  --mute: #a4a8ad;
  --dim: #6c7177;
  --accent: #f57c1f;        /* naranja del casco del logo */
  --accent-2: #ff9b42;
  --accent-dk: #c45e0c;
  --accent-ink: #0a0b0c;
  --ok: #4cc38a;
  --wa: #25d366;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1360px;
  --gut: clamp(1rem, 4vw, 2.5rem);
  --nav-h: 72px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.25, .46, .45, .94);

  --grid-tex:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px;
  --stripes: repeating-linear-gradient(-45deg, var(--accent) 0 14px, var(--accent-ink) 14px 28px);
}

/* 2. Reset & base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; line-height: 1.02; font-family: var(--display); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

/* 3. Utilities ------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 999; padding: .7rem 1rem; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.hazard { height: 10px; background: var(--stripes); background-size: 39.6px 39.6px; }
.hazard--thin { height: 6px; flex: 1; }
.dot { width: 8px; height: 8px; background: var(--accent); display: inline-block; flex: none; box-shadow: 0 0 0 0 rgba(245,124,31,.6); animation: ping 2.2s var(--ease-out) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(245,124,31,.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(245,124,31,0); } }

/* 4. Typography ----------------------------------------------- */
.tag {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute);
}
.tag span:not(.dot) { color: var(--accent); }
.lead { color: var(--mute); font-size: clamp(1rem, 1.2vw, 1.15rem); max-width: 58ch; }
.mini-h { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: .6rem; }

/* 5. Components ----------------------------------------------- */
.btn {
  --bh: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: var(--bh); padding: 0 1.4rem;
  font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: .02em; text-transform: uppercase;
  font-variation-settings: "wdth" 112;
  border: 1px solid var(--line-2); isolation: isolate; overflow: hidden;
  transition: transform .45s var(--ease-out), background-color .3s, color .3s, border-color .3s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .45s var(--ease-out); }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--accent-ink); border-color: var(--ink); }
.btn .arr { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--wa svg { width: 20px; height: 20px; color: var(--wa); transition: color .3s; }
.btn--wa:hover svg { color: var(--accent-ink); }
.btn--ghost { background: transparent; }
.btn--sm { --bh: 40px; padding: 0 1rem; font-size: .8rem; }
.btn--lg { --bh: 56px; padding: 0 1.7rem; }
.btn--block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-transform: uppercase; font-size: .82rem; letter-spacing: .06em;
  color: var(--accent); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px;
  transition: background-size .45s var(--ease-out);
}
.link-arrow .arr { width: 16px; height: 16px; transition: transform .45s var(--ease-out); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover .arr { transform: translateX(4px); }

.list li { position: relative; padding-left: 1.3rem; font-size: .92rem; line-height: 1.45; margin-bottom: .42rem; color: var(--ink); }
.list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; }
.list--risk li::before { background: transparent; border: 2px solid var(--accent); transform: rotate(45deg); width: 7px; height: 7px; }
.list--ok li::before { background: var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.chips li { font-size: .78rem; padding: .3rem .55rem; border: 1px solid var(--line-2); color: var(--ink); background: rgba(255,255,255,.02); }

/* Image placeholders — se sustituyen por <img> WebP */
.ph {
  position: relative; display: grid; place-content: center; gap: .4rem; text-align: center; padding: 1.2rem;
  background:
    linear-gradient(135deg, transparent 49.6%, var(--line-2) 49.8%, var(--line-2) 50.2%, transparent 50.4%),
    linear-gradient(45deg, transparent 49.6%, var(--line) 49.8%, var(--line) 50.2%, transparent 50.4%),
    var(--grid-tex), var(--panel);
  border: 1px solid var(--line); overflow: hidden; color: var(--dim);
}
.ph--4x3 { aspect-ratio: 4 / 3; }
.ph--4x5 { aspect-ratio: 4 / 5; }
.ph--wide { aspect-ratio: 16 / 10; }
.ph-label { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; color: var(--accent); background: var(--bg); padding: .25rem .5rem; justify-self: center; border: 1px solid var(--line-2); }
.ph-desc { font-size: .8rem; max-width: 30ch; justify-self: center; background: rgba(10,11,12,.75); padding: .2rem .4rem; }

/* Fotos reales (sustituyen a los huecos .ph) */
.ph-img { position: relative; overflow: hidden; background: var(--panel); }
.ph-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .6s; }
.line:hover .line-img img { transform: scale(1.06); filter: saturate(1.15); }
.hero-ph.ph-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,12,.05) 50%, rgba(10,11,12,.45)); pointer-events: none; }

/* 6. Sections ------------------------------------------------- */
.brand-kicker { color: var(--accent); font-weight: 600; letter-spacing: .2em; }
.about-grid { display: grid; gap: 1.5rem 4rem; }
.about-body { display: grid; gap: 1.1rem; color: var(--mute); max-width: 68ch; }
.about-lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--ink); line-height: 1.5; }
.about-lead b { color: var(--accent); font-weight: 700; }
.about .sec-head { margin-bottom: 0; }
.about .quote-points { margin: .6rem 0 0; }
.credits-h { margin: .9rem 0 1rem; font-weight: 900; text-transform: uppercase; font-size: clamp(1.9rem, 4vw, 3rem); }
.credits-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.credit { display: grid; grid-template-columns: 120px 1fr; gap: 1.2rem; align-items: center; padding: 1rem; background: var(--bg); font-size: .88rem; }
.credit img { width: 120px; height: 90px; object-fit: cover; }
.credit div { display: grid; gap: .2rem; color: var(--mute); }
.credit b { color: var(--ink); }
.credit a { color: var(--accent); }
.credits-link { color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }

/* progress + topbar + nav */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.topbar { background: var(--bg-2); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--mute); }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 36px; }
.topbar-links { margin-left: auto; display: flex; align-items: center; gap: 1.6rem; }
.topbar p { display: flex; align-items: center; gap: .6rem; text-transform: uppercase; }
.topbar a { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink); }
.topbar a svg { width: 14px; height: 14px; color: var(--accent); }

.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s, backdrop-filter .35s; }
.nav.is-solid { background: rgba(10,11,12,.94); border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(10px)) { .nav.is-solid { background: rgba(10,11,12,.78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); } }
.nav-in { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand img { width: 46px; height: auto; }
.brand-word { display: flex; flex-direction: column; line-height: .95; font-family: var(--display); }
.brand-word b { font-weight: 900; font-size: 1.15rem; letter-spacing: .14em; font-variation-settings: "wdth" 125; }
.brand-word i { font-style: normal; font-weight: 700; font-size: .66rem; letter-spacing: .5em; color: var(--accent); font-variation-settings: "wdth" 125; }
.menu { display: none; }
.menu a { position: relative; font-size: .86rem; font-weight: 600; color: var(--mute); padding: .4rem 0; transition: color .25s; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .4s var(--ease-out); }
.menu a:hover { color: var(--ink); }
.menu a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav-cta { display: none; }
.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border: 1px solid var(--line-2); }
.burger span { width: 20px; height: 2px; background: var(--ink); transition: transform .35s var(--ease-out); }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-open .menu {
  display: flex; flex-direction: column; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49; padding: 2rem var(--gut);
  background: var(--bg) ; gap: .2rem; border-top: 1px solid var(--line);
}
.menu-open .menu a { font-family: var(--display); font-size: 1.8rem; font-weight: 800; color: var(--ink); text-transform: uppercase; font-variation-settings: "wdth" 115; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.menu-open .menu .menu-cta-m { color: var(--accent); }
.menu-cta-m { display: none; }
.menu-open .menu-cta-m { display: block; }
.menu-open { overflow: hidden; }

/* hero */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4.5rem, 8vw, 6.5rem); isolation: isolate; }
.mesh {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px circle at var(--mx, 70%) var(--my, 35%), rgba(245,124,31,.16), transparent 62%),
    var(--grid-tex);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
          mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.tag--hero { margin-bottom: 1.4rem; color: var(--ink); }
.hero-h {
  font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: .94;
  font-size: clamp(1.6rem, 2.6vw + .85rem, 3.9rem); font-variation-settings: "wdth" 100;
}
.hero-h .ln--gap { margin-top: .32em; }
.hero-h .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-h .ln > span { display: inline-block; animation: lineUp 1s var(--ease-out) both; }
.hero-h .ln:nth-child(2) > span { animation-delay: .08s; }
.hero-h .ln:nth-child(3) > span { animation-delay: .16s; }
.hero-h .ln:nth-child(4) > span { animation-delay: .24s; }
.hero-h em { font-style: normal; color: var(--accent); }
.hero-h .ln > .hl { color: transparent; -webkit-text-stroke: 1.5px var(--ink); background: linear-gradient(90deg, var(--ink) 0 0) 0 0 / 0% 100% no-repeat; -webkit-background-clip: text; background-clip: text; animation: lineUp 1s var(--ease-out) both, fillIn 1.4s .9s var(--ease-out) forwards; }
.hero-h .ln:nth-child(3) > .hl { animation-delay: .16s, .9s; }
.hero-h .ln:nth-child(4) > .hl { animation-delay: .24s, 1.1s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fillIn { to { background-size: 100% 100%; } }
.hero-h--lp { font-size: clamp(1.9rem, 4.6vw, 4rem); text-transform: none; line-height: 1; font-variation-settings: "wdth" 108; }
.hero-sub { margin-top: 1.4rem; font-size: clamp(1.02rem, 1.4vw, 1.22rem); color: var(--mute); max-width: 56ch; animation: fadeUp .9s .35s var(--ease-out) both; }
.hero-sub b { color: var(--ink); font-weight: 700; }
.hero-copy .cta-row { margin-top: 2rem; animation: fadeUp .9s .45s var(--ease-out) both; }
.hero-trust { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); animation: fadeUp .9s .55s var(--ease-out) both; }
.hero-trust li { display: flex; align-items: center; gap: .5rem; }
.hero-trust li::before { content: ""; width: 10px; height: 10px; background: var(--stripes); background-size: 8px 8px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero-visual { position: relative; animation: fadeUp 1.1s .2s var(--ease-out) both; }
.hero-frame { position: relative; max-width: 520px; margin-inline: auto; }
.hero-ph { border-color: var(--line-2); }
.corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--accent); }
.c1 { top: -8px; left: -8px; border-right: 0; border-bottom: 0; }
.c2 { top: -8px; right: -8px; border-left: 0; border-bottom: 0; }
.c3 { bottom: -8px; left: -8px; border-right: 0; border-top: 0; }
.c4 { bottom: -8px; right: -8px; border-left: 0; border-top: 0; }
.scan { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.scan::after { content: ""; position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(245,124,31,.14) 85%, rgba(245,124,31,.6) 100%); animation: scan 5s 1.2s var(--ease-soft) infinite; }
@keyframes scan { 0% { top: -30%; } 60%, 100% { top: 100%; } }
.frame-ref { position: absolute; left: 0; bottom: -2rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; color: var(--dim); }

.hotspots { position: absolute; inset: 0; pointer-events: none; }
.hs { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: .5rem; animation: fadeUp .7s var(--d) var(--ease-out) both; pointer-events: auto; }
.hs-dot { width: 14px; height: 14px; border: 2px solid var(--accent); background: var(--bg); transform: translate(-50%, -50%) rotate(45deg); flex: none; position: relative; }
.hs-dot::after { content: ""; position: absolute; inset: 2px; background: var(--accent); }
.hs-lbl { display: flex; flex-direction: column; line-height: 1.15; transform: translateY(-50%); background: rgba(10,11,12,.88); border: 1px solid var(--line-2); border-left: 2px solid var(--accent); padding: .3rem .55rem; white-space: nowrap; }
.hs-lbl b { font-size: .74rem; font-weight: 700; }
.hs-lbl small { font-family: var(--mono); font-size: .6rem; color: var(--accent); letter-spacing: .08em; }
.hs--r { flex-direction: row-reverse; translate: -100% 0; }
.hs--r .hs-lbl { border-left: 1px solid var(--line-2); border-right: 2px solid var(--accent); text-align: right; }
.hs--r .hs-dot { transform: translate(50%, -50%) rotate(45deg); }

/* ticker */
.ticker { border-block: 1px solid var(--line); background: var(--accent); color: var(--accent-ink); overflow: hidden; transform: rotate(-1deg); margin: 1rem -1rem; }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker span { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1rem, 2vw, 1.5rem); letter-spacing: .04em; padding: .7rem 1.4rem; display: flex; align-items: center; gap: 2.8rem; font-variation-settings: "wdth" 120; }
.ticker span::after { content: ""; width: 12px; height: 12px; background: var(--accent-ink); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections base */
.sec { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.sec-head { max-width: 900px; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); padding-top: 1.2rem; border-top: 1px solid var(--line-2); position: relative; }
.sec-head::before { content: ""; position: absolute; top: -2px; left: 0; width: 64px; height: 3px; background: var(--accent); }
.sec-head h2 { margin: .9rem 0 1rem; font-weight: 900; text-transform: uppercase; font-size: clamp(1.9rem, 4.4vw, 3.6rem); letter-spacing: -.005em; font-variation-settings: "wdth" 110; }
.sec-head--split { max-width: none; display: grid; gap: 1rem; align-items: end; }
.sec-head--split h2 { margin-bottom: 0; }

/* sectors */
.sectors { background: var(--bg-2); }
.sector-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sector {
  --rx: 0deg; --ry: 0deg; --sx: 50%; --sy: 50%;
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--bg);
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease-out);
  isolation: isolate;
}
.sector-img { border: 0; border-bottom: 1px solid var(--line); transition: transform 1s var(--ease-out); }
.sector:hover .sector-img { transform: scale(1.05); }
.sector-shade { display: none; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,11,12,.1) 0%, rgba(10,11,12,.75) 45%, rgba(10,11,12,.97) 75%); }
.sector-body { padding: clamp(1.4rem, 3vw, 2.2rem); }
.sector-n { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); display: flex; align-items: center; gap: .7rem; }
.sector-n span { color: var(--accent-ink); background: var(--accent); padding: .1rem .4rem; font-weight: 600; }
.sector-t { margin: .7rem 0 .6rem; font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-variation-settings: "wdth" 112; }
.sector-intro { color: var(--mute); max-width: 52ch; margin-bottom: 1.2rem; }
.sector-more { display: grid; gap: 1.2rem; margin-bottom: 1.4rem; padding-top: 1.2rem; border-top: 1px dashed var(--line-2); }
.spot { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--sx) var(--sy), rgba(245,124,31,.14), transparent 60%); }
.sector:hover .spot { opacity: 1; }
.sector::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--stripes); background-size: 20px 20px; transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease-out); }
.sector:hover::after, .sector:focus-within::after { transform: none; }

/* products */
.filters { display: flex; gap: .4rem; overflow-x: auto; overflow-y: visible; padding: .3rem .1rem 1rem; margin-bottom: 1.4rem; scrollbar-width: thin; }
.filters button {
  flex: none; padding: .6rem 1rem; border: 1px solid var(--line-2); font-size: .84rem; font-weight: 600; color: var(--mute);
  transition: color .25s, background-color .25s, border-color .25s, transform .3s var(--ease-out);
}
.filters button sup { font-family: var(--mono); font-size: .62rem; color: var(--accent); margin-left: .2rem; }
.filters button:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.filters button[aria-pressed="true"] sup { color: var(--accent-ink); }
.line-grid { display: grid; gap: 1rem; }
.line {
  position: relative; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .5s var(--ease-out), border-color .3s, box-shadow .5s var(--ease-out);
}
.line:hover { transform: translate(-6px, -6px); border-color: var(--accent); box-shadow: 6px 6px 0 0 var(--accent), 12px 12px 0 0 rgba(245,124,31,.25); }
.line-img { border: 0; border-bottom: 1px solid var(--line); }
.line-body { padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.line-norm { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--mute); display: flex; gap: .5rem; align-items: center; }
.line-norm span { color: var(--accent-ink); background: var(--ink); padding: .05rem .35rem; font-weight: 600; }
.line-t { font-weight: 800; text-transform: uppercase; font-size: 1.3rem; font-variation-settings: "wdth" 110; }
.line-body > p:not(.line-norm):not(.line-risks) { color: var(--mute); font-size: .94rem; }
.line-risks { margin-top: auto; display: flex; flex-wrap: wrap; gap: .3rem .8rem; padding-top: .8rem; border-top: 1px dashed var(--line-2); }
.line-risks span { font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.line-risks span::before { content: "▲ "; font-size: .55rem; }

/* process */
.process { background: var(--bg-2); overflow: clip; }
.process::before { content: "EPP"; position: absolute; right: -2vw; top: 8%; font-family: var(--display); font-weight: 900; font-size: clamp(8rem, 26vw, 26rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--line); font-variation-settings: "wdth" 125; pointer-events: none; }
.steps { position: relative; display: grid; gap: 0; max-width: 920px; }
.steps-rail { position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--line-2); }
.steps-rail span { position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: 50% 0; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; padding: 1.1rem 0 2rem; }
.step-n {
  width: 56px; height: 56px; display: grid; place-content: center; position: relative; z-index: 1;
  font-family: var(--mono); font-weight: 600; font-size: .95rem; background: var(--bg); border: 1px solid var(--line-2); color: var(--mute);
  transition: background-color .4s, color .4s, border-color .4s, transform .5s var(--ease-out);
}
.step.is-active .step-n { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(-4deg); }
.step h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 108; margin: .7rem 0 .4rem; transition: color .4s; }
.step p { color: var(--mute); max-width: 60ch; }
.process-cta { margin-top: 1rem; padding-left: calc(56px + 1.2rem); }

/* why */
.why-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why-item { position: relative; background: var(--bg); padding: 2rem 1.6rem; overflow: hidden; transition: background-color .4s; }
.why-item::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease-out); z-index: 0; }
.why-item > * { position: relative; z-index: 1; transition: color .35s; }
.why-item:hover::before { transform: scaleY(1); }
.why-item:hover, .why-item:hover p, .why-item:hover .why-n, .why-item:hover .ico { color: var(--accent-ink); }
.why-n { position: absolute !important; top: 1.2rem; right: 1.4rem; font-family: var(--mono); font-size: .75rem; color: var(--dim); }
.why-item .ico { width: 44px; height: 44px; color: var(--accent); margin-bottom: 1.4rem; transition: transform .5s var(--ease-out), color .35s; }
.why-item:hover .ico { transform: translateY(-4px) rotate(-6deg); }
.why-item h3 { font-size: 1.15rem; font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 108; margin-bottom: .5rem; }
.why-item p { color: var(--mute); font-size: .94rem; }
.why-item--cta { background: var(--panel); display: flex; flex-direction: column; justify-content: space-between; gap: 1.4rem; }
.why-item--cta p { font-family: var(--display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; color: var(--ink); line-height: 1.1; }
.why-item--cta:hover .link-arrow { color: var(--accent-ink); }

/* band */
.band { background: var(--panel); }
.band-in { display: grid; gap: 1.6rem; align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem); }
.band-t { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 3.2vw, 2.6rem); line-height: 1.02; font-variation-settings: "wdth" 110; max-width: 24ch; }

/* clients */
.marquee { display: flex; overflow: hidden; border-block: 1px solid var(--line); margin-bottom: clamp(2.5rem, 5vw, 4rem); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; flex: none; animation: marquee2 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee2 { to { transform: translateX(-100%); } }
.logo-ph { width: 200px; height: 96px; display: grid; place-content: center; border-right: 1px solid var(--line); font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; color: var(--dim); transition: color .3s, background-color .3s; }
.logo-ph:hover { color: var(--accent); background: var(--panel); }
.testis { position: relative; max-width: 1000px; }
.testis-track { display: grid; gap: 1.5rem; }
.testi { position: relative; padding: clamp(1.6rem, 4vw, 3rem); background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent); }
.testi-q { position: absolute; top: -.2em; right: .3em; font-family: var(--display); font-weight: 900; font-size: 9rem; line-height: 1; color: var(--accent); opacity: .18; }
.testi blockquote p { font-size: clamp(1.15rem, 2.2vw, 1.7rem); line-height: 1.35; font-weight: 500; }
.testi figcaption { margin-top: 1.4rem; display: flex; flex-direction: column; gap: .2rem; }
.testi figcaption b { font-weight: 700; }
.testi figcaption span { font-family: var(--mono); font-size: .74rem; color: var(--mute); letter-spacing: .04em; }
.testis-ctrl { display: none; }
.js .testis.is-slider .testis-track { display: grid; grid-template-areas: "s"; }
.js .testis.is-slider .testi { grid-area: s; opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), visibility 0s .6s; }
.js .testis.is-slider .testi.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.js .testis.is-slider .testis-ctrl { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.ctrl { width: 48px; height: 48px; border: 1px solid var(--line-2); font-size: 1.1rem; transition: background-color .25s, color .25s, border-color .25s; }
.ctrl:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.dots { display: flex; gap: .4rem; }
.dots button { width: 28px; height: 4px; background: var(--line-2); transition: background-color .3s, width .4s var(--ease-out); padding: 0; }
.dots button[aria-selected="true"] { background: var(--accent); width: 52px; }

/* faq */
.faq { background: var(--bg-2); }
.faq-grid { display: grid; gap: 2rem; }
.qa { border-bottom: 1px solid var(--line-2); }
.qa:first-child { border-top: 1px solid var(--line-2); }
.qa summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1.3rem 0; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa-n { font-family: var(--mono); font-size: .75rem; color: var(--accent); }
.qa h3 { font-family: var(--sans); font-size: clamp(1.02rem, 1.6vw, 1.2rem); font-weight: 700; line-height: 1.3; transition: color .25s; }
.qa summary:hover h3 { color: var(--accent); }
.qa-x { width: 32px; height: 32px; border: 1px solid var(--line-2); position: relative; flex: none; transition: transform .4s var(--ease-out), background-color .3s; }
.qa-x::before, .qa-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; translate: -50% -50%; }
.qa-x::after { rotate: 90deg; transition: rotate .4s var(--ease-out); }
.qa[open] .qa-x { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.qa[open] .qa-x::after { rotate: 0deg; }
.qa-a { padding: 0 0 1.5rem calc(1rem + 2ch); color: var(--mute); max-width: 72ch; }
.qa[open] .qa-a { animation: fadeUp .5s var(--ease-out); }

/* quote form */
.quote { background: var(--bg); }
.quote::before { content: ""; position: absolute; inset: 0; background: var(--grid-tex); opacity: .6; pointer-events: none; -webkit-mask-image: radial-gradient(70% 70% at 80% 40%, #000, transparent); mask-image: radial-gradient(70% 70% at 80% 40%, #000, transparent); }
.quote-grid { position: relative; display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.quote-side h2 { margin: .9rem 0 1rem; font-weight: 900; text-transform: uppercase; font-size: clamp(1.9rem, 4vw, 3.2rem); font-variation-settings: "wdth" 110; }
.quote-points { margin: 1.8rem 0; display: grid; gap: .8rem; }
.quote-points li { display: flex; gap: 1rem; align-items: baseline; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.quote-points b { font-family: var(--mono); color: var(--accent); font-size: .8rem; }
.quote-direct { display: grid; gap: .8rem; }
.direct { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--line-2); background: var(--panel); transition: border-color .3s, transform .45s var(--ease-out); }
.direct:hover { border-color: var(--accent); transform: translateX(6px); }
.direct svg { width: 28px; height: 28px; color: var(--accent); flex: none; }
.direct:first-child svg { color: var(--wa); }
.direct span { display: flex; flex-direction: column; font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.direct small { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-weight: 400; }

.form { background: var(--panel); border: 1px solid var(--line-2); padding: clamp(1.3rem, 3vw, 2.2rem); position: relative; box-shadow: 12px 12px 0 0 rgba(245,124,31,.12); }
.form-head { display: flex; align-items: center; gap: 1rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; color: var(--mute); margin-bottom: 1.4rem; }
.fgrid { display: grid; gap: 1rem; }
.f { display: flex; flex-direction: column; gap: .4rem; position: relative; }
.f > span { font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--mute); }
.f input, .f select, .f textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem; background: var(--bg); border: 1px solid var(--line-2); border-radius: 0;
  transition: border-color .25s, box-shadow .25s; appearance: none; -webkit-appearance: none;
}
.f select { background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem; }
.f select option { background: var(--bg); color: var(--ink); }
.f textarea { resize: vertical; min-height: 110px; }
.f input::placeholder, .f textarea::placeholder { color: var(--dim); }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245,124,31,.2); }
.f-hint { position: absolute; right: .8rem; top: 2.15rem; font-style: normal; font-family: var(--mono); font-size: .64rem; color: var(--dim); pointer-events: none; }
.is-bad input, .is-bad select, .is-bad textarea { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245,124,31,.25); }
.check { display: flex; gap: .7rem; align-items: flex-start; margin: 1.3rem 0; font-size: .82rem; color: var(--mute); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; border: 1px solid var(--line-2); background: var(--bg); display: grid; place-content: center; margin-top: .1rem; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { content: ""; width: 10px; height: 5px; border: 2px solid var(--accent-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check.is-bad input { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245,124,31,.25); }
.form-msg { margin-top: 1rem; font-size: .9rem; min-height: 1.4em; }
.form-msg.is-ok { color: var(--ok); }
.form-msg.is-err { color: var(--accent-2); }
.form.is-sending button[type=submit] { opacity: .7; pointer-events: none; }
.form.is-sent button[type=submit] { background: var(--ok); border-color: var(--ok); }

/* landing extras */
.crumbs { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: var(--dim); margin-bottom: 1.2rem; text-transform: uppercase; }
.crumbs a { color: var(--mute); }
.crumbs a:hover { color: var(--accent); }
.norm-band { padding: 0; }
.norm-in { display: flex; gap: 1.2rem; align-items: center; padding: 1.6rem 1.4rem; border: 1px solid var(--line-2); border-left: 4px solid var(--accent); background: var(--panel); }
.norm-ico .ico { width: 40px; height: 40px; color: var(--accent); }
.norm-in p { font-size: 1rem; }
.sector-grid.is-single .sector { min-height: 480px; }

/* footer */
.foot { background: #000; border-top: 1px solid var(--line); padding-bottom: 5rem; }
.foot-grid { display: grid; gap: 2.4rem; padding-block: clamp(3rem, 6vw, 5rem); }
.foot-brand img { width: 160px; margin-bottom: 1.2rem; }
.foot-brand p { color: var(--mute); font-size: .92rem; max-width: 36ch; }
.foot-h { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; font-weight: 600; }
.foot ul li { margin-bottom: .55rem; }
.foot ul a { color: var(--mute); font-size: .92rem; transition: color .25s, padding-left .35s var(--ease-out); }
.foot ul a:hover { color: var(--ink); padding-left: .4rem; }
.social { display: flex; gap: .5rem; margin-top: 1.2rem; }
.social a { width: 40px; height: 40px; display: grid; place-content: center; border: 1px solid var(--line-2); color: var(--mute); transition: background-color .25s, color .25s, border-color .25s; }
.social a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.social svg { width: 18px; height: 18px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding-block: 1.4rem; border-top: 1px solid var(--line); font-size: .76rem; color: var(--dim); }
.foot-bottom .addr { font-size: .7rem; }

/* floating whatsapp + mobile bar */
.wa-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 40; width: 60px; height: 60px; display: none; place-content: center;
  background: var(--wa); color: #fff; border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,.45);
  transition: transform .45s var(--ease-out);
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: waPulse 2.6s var(--ease-out) infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-tip { position: absolute; right: calc(100% + 12px); top: 50%; translate: 0 -50%; white-space: nowrap; background: var(--ink); color: var(--accent-ink); font-size: .8rem; font-weight: 700; padding: .5rem .8rem; opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .4s var(--ease-out); pointer-events: none; }
.wa-float:hover .wa-tip { opacity: 1; transform: none; }
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: var(--bg); border-top: 1px solid var(--line-2); padding-bottom: env(safe-area-inset-bottom); }
.mbar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 56px; font-weight: 700; font-size: .85rem; text-transform: uppercase; border-right: 1px solid var(--line); }
.mbar a svg { width: 20px; height: 20px; }
.mbar a:nth-child(1) svg { color: var(--accent); }
.mbar a:nth-child(2) svg { color: var(--wa); }
.mbar .mbar-cta { background: var(--accent); color: var(--accent-ink); border: 0; }
.mbar .mbar-cta .arr { width: 16px; height: 16px; }

/* 7. Effects (reveals) ---------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out) var(--rd, 0ms), transform .9s var(--ease-out) var(--rd, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .sector[data-reveal].is-in { transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)); transition: opacity .9s var(--ease-out) var(--rd, 0ms), transform .5s var(--ease-out); }
.js .line[data-reveal].is-in { transition: opacity .9s var(--ease-out) var(--rd, 0ms), transform .5s var(--ease-out), border-color .3s, box-shadow .5s var(--ease-out); }

/* 8. Responsive (mobile-first) -------------------------------- */
@media (min-width: 540px) {
  .fgrid { grid-template-columns: 1fr 1fr; }
  .f--full { grid-column: 1 / -1; }
  .line-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .quote-direct { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .sector-more { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .sec-head--split { grid-template-columns: 1.2fr 1fr; }
  .band-in { grid-template-columns: 1fr auto; }
}
@media (min-width: 960px) {
  .menu { display: flex; gap: 1.8rem; }
  .nav-cta { display: inline-flex; }
  .burger { display: none; }
  .hero-grid { grid-template-columns: 1.4fr .9fr; }
  .hero-frame { max-width: 460px; }
  .hero--lp .hero-grid { grid-template-columns: 1.4fr 1fr; }
  .sector-grid { grid-template-columns: 1fr 1fr; }
  .sector-grid.is-single { grid-template-columns: 1fr; }
  .line-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; }
  .about-grid { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .sec-head--side { position: sticky; top: calc(var(--nav-h) + 2rem); }
  .quote-grid { grid-template-columns: .85fr 1.15fr; }
  .quote-direct { grid-template-columns: 1fr; }
  .mbar { display: none; }
  .sector { min-height: 560px; }
  .sector-img { position: absolute; inset: 0; z-index: -2; aspect-ratio: auto; border: 0; place-content: start center; padding-top: 3rem; }
  .sector-shade { display: block; }
  .sector-img.ph-img { padding: 0; }
  .wa-float { display: grid; }
  .foot { padding-bottom: 0; }
  .foot-bottom { padding-right: calc(var(--gut) + 80px); }
  /* En escritorio con hover, el detalle del sector se despliega al pasar el ratón */
  .sector-more, .sector .link-arrow { transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), max-height .6s var(--ease-out); }
}
@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
  .sector .sector-more { max-height: 0; opacity: 0; transform: translateY(12px); overflow: hidden; margin-bottom: 0; padding-top: 0; border-top-color: transparent; }
  .sector:hover .sector-more, .sector:focus-within .sector-more { max-height: 360px; opacity: 1; transform: none; margin-bottom: 1.4rem; padding-top: 1.2rem; border-top-color: var(--line-2); }
  .sector .sector-intro { margin-bottom: 1.2rem; }
  .sector-grid.is-single .sector .sector-more { max-height: none; opacity: 1; transform: none; margin-bottom: 1.4rem; padding-top: 1.2rem; border-top-color: var(--line-2); }
}
@media (min-width: 1280px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 539px) {
  .hs-lbl small { display: none; }
  .hs-lbl b { font-size: .66rem; }
  .topbar p { font-size: .62rem; }
  .topbar a span { display: none; }
}

/* 9. Reduced motion — solo efectos intrusivos ------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scan::after, .wa-float::before, .dot { animation: none; }
  .ticker-track, .marquee-track { animation-duration: 90s; }
}
