/* ============================================================
   Transporte Arce Hnos. S.A.
   Archetype: corporate logistics "control tower" — dark navy.
   Brand: navy #16243f · orange #f08a1d · red #d52b1e
   ============================================================ */

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
img,svg,video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul,ol { list-style: none; }
input,textarea,select { font: inherit; color: inherit; }

/* ---------- Tokens ---------- */
:root {
  --bg:        #0b1322;   /* deep navy, warm-cool, never #000 */
  --bg-2:      #0f1a2e;
  --bg-3:      #142440;   /* card */
  --bg-4:      #1a2c4d;
  --ink:       #eef2f8;   /* near-white text */
  --ink-2:     #c4cfe1;
  --ink-3:     #8493ad;   /* muted / metadata */
  --orange:    #f08a1d;
  --orange-2:  #ffa033;
  --red:       #d52b1e;
  --gold:      #f0a83d;
  --line:      rgba(238,242,248,.10);
  --line-2:    rgba(238,242,248,.16);

  --grad: linear-gradient(100deg, var(--orange) 0%, var(--red) 92%);

  --ff-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
  --maxw: 1240px;
  --pad: clamp(1.2rem, 5vw, 4rem);
}

html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--ff-display); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
h1, h2 { font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.3rem); text-wrap: balance; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p { text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.center-wrap { text-align: center; }

.eyebrow {
  font-family: var(--ff-mono); font-size: .76rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 1.1rem;
}
.eyebrow.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--ink-2); line-height: 1.6; }
.lead.center { margin-inline: auto; }
.lead.max { max-width: 62ch; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem; border-radius: 999px;
  font-family: var(--ff-display); font-weight: 600; font-size: .98rem;
  letter-spacing: -.01em; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  will-change: transform; white-space: nowrap;
}
.btn-sm { padding: .65rem 1.2rem; font-size: .88rem; }
.btn.full { width: 100%; }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(213,43,30,.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(240,138,29,.6); }
.btn-ghost {
  border: 1px solid var(--line-2); color: var(--ink); background: rgba(255,255,255,.02);
}
.btn-ghost:hover { border-color: var(--orange); background: rgba(240,138,29,.08); transform: translateY(-2px); }

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .7s var(--ease), visibility .7s;
  animation: splashSafety .01s 4.5s forwards; /* red de seguridad si falla el JS */
}
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.splash-inner { display: grid; gap: 1.4rem; justify-items: center; }
.splash-logo { width: clamp(150px, 30vw, 230px); opacity: .96; animation: splashPulse 1.6s var(--ease) infinite alternate; }
@keyframes splashPulse { to { opacity: .55; transform: translateY(-4px); } }
.splash-bar { width: 140px; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.splash-bar span { display: block; height: 100%; width: 40%; background: var(--grad); border-radius: 2px; animation: splashLoad 1.3s var(--ease) infinite; }
@keyframes splashLoad { 0% { transform: translateX(-120%); } 100% { transform: translateX(360%); } }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.is-stuck { background: rgba(11,19,34,.82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.nav-inner { max-width: var(--maxw); margin-inline: auto; padding: .9rem var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-brand img { height: 38px; width: auto; }
.nav-links { display: flex; gap: 1.7rem; }
.nav-links a { font-size: .92rem; font-weight: 500; color: var(--ink-2); position: relative; padding: .3rem 0; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--grad); transition: width .3s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: .8rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile { display: none; flex-direction: column; gap: .3rem; padding: 1rem var(--pad) 1.6rem; background: rgba(11,19,34,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-mobile a { padding: .8rem .2rem; font-size: 1.05rem; font-family: var(--ff-display); font-weight: 500; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.nav-mobile a.btn { margin-top: .8rem; border: 0; color: #fff; justify-content: center; }
.nav.is-open .nav-mobile { display: flex; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 8rem var(--pad) 3rem; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; background: #0b1322 url("assets/img/hero-poster.jpg") center/cover no-repeat; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-tint { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(11,19,34,.52) 0%, rgba(11,19,34,.26) 38%, rgba(11,19,34,.66) 100%),
  linear-gradient(95deg, rgba(11,19,34,.82) 0%, rgba(11,19,34,.34) 45%, rgba(11,19,34,.05) 70%); }
.hero-glow { position: absolute; top: 20%; right: -8%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; pointer-events: none;
  background: radial-gradient(circle, rgba(240,138,29,.28), rgba(213,43,30,.1) 45%, transparent 70%); filter: blur(40px); }
.hero-route { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.route-path { fill: none; stroke: url(#none); stroke: rgba(240,138,29,.32); stroke-width: 2; stroke-dasharray: 4 9; }
.route-dot { fill: var(--orange); filter: drop-shadow(0 0 6px rgba(240,138,29,.9)); }

.hero-inner { position: relative; max-width: 880px; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--ff-mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 1.4rem; }
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: #38d96b; box-shadow: 0 0 0 0 rgba(56,217,107,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(56,217,107,.55); } 70% { box-shadow: 0 0 0 9px rgba(56,217,107,0); } 100% { box-shadow: 0 0 0 0 rgba(56,217,107,0); } }
.hero-title { font-size: clamp(2.4rem, 6.6vw, 5.4rem); margin-bottom: 1.4rem; }
.hero-sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--ink-2); max-width: 56ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(2.5rem, 6vh, 5rem); background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.stat { background: rgba(15,26,46,.55); backdrop-filter: blur(6px); padding: 1.4rem 1.3rem; }
.stat-num { display: block; font-family: var(--ff-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.3rem); color: var(--ink); letter-spacing: -.02em; }
.stat-label { display: block; font-size: .85rem; color: var(--ink-3); margin-top: .25rem; }
.stat-label em { font-style: normal; color: var(--orange); }

.hero-scroll { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--ink-3); writing-mode: vertical-rl; }
.hero-scroll::after { content: ""; display: block; width: 1px; height: 34px; margin: .6rem auto 0; background: linear-gradient(var(--orange), transparent); animation: scrollLine 1.8s var(--ease) infinite; }
@keyframes scrollLine { 0%,100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- Ticker ---------- */
.ticker { background: var(--grad); color: #fff; overflow: hidden; border-block: 1px solid rgba(0,0,0,.15); }
.ticker-track { display: flex; align-items: center; gap: 1.6rem; white-space: nowrap; padding: .75rem 0; font-family: var(--ff-display); font-weight: 600; font-size: .98rem; letter-spacing: .01em; will-change: transform; width: max-content; animation: tickerMove 30s linear infinite; }
@keyframes tickerMove { to { transform: translateX(-50%); } }
.ticker-track span { display: inline-block; }
.ticker-track .sep { opacity: .6; font-size: .6rem; }

/* ---------- Section base ---------- */
.section { padding-block: clamp(4.5rem, 11vh, 9rem); position: relative; }
.empresa { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; } /* defensa obligatoria */
@media (prefers-reduced-motion: reduce) { .reveal { transition-duration: .35s; } }

/* ---------- Empresa ---------- */
.empresa-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-bottom: clamp(3.5rem, 8vh, 6rem); }
.empresa-text h2 { margin-bottom: 1.4rem; }
.empresa-text p { color: var(--ink-2); margin-bottom: 1.1rem; }
.empresa-mini { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.empresa-mini div { display: flex; flex-direction: column; }
.empresa-mini strong { font-family: var(--ff-display); font-size: 1.5rem; color: var(--orange); }
.empresa-mini span { font-size: .85rem; color: var(--ink-3); }
.empresa-figure { position: relative; border-radius: 18px; overflow: hidden; }
.empresa-figure img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; }
.empresa-figure-badge { position: absolute; left: 1.2rem; bottom: 1.2rem; background: rgba(11,19,34,.85); backdrop-filter: blur(8px); border: 1px solid var(--line-2); border-radius: 12px; padding: .8rem 1.1rem; display: flex; flex-direction: column; }
.empresa-figure-badge .num { font-family: var(--ff-display); font-weight: 700; font-size: 1.6rem; color: var(--ink); }
.empresa-figure-badge .txt { font-size: .72rem; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }

/* Valores */
.valores-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
.card { background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px; }
.valor { padding: 1.8rem 1.5rem; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; transform-style: preserve-3d; }
.valor:hover { border-color: var(--line-2); box-shadow: 0 24px 50px -28px rgba(0,0,0,.7); }
.valor-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(240,138,29,.12); margin-bottom: 1.1rem; }
.valor-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--orange); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.valor-ico svg .ck { stroke: var(--orange-2); }
.valor h3 { margin-bottom: .5rem; }
.valor p { font-size: .94rem; color: var(--ink-3); }

/* ---------- Por qué elegirnos ---------- */
.porque { background: var(--bg-2); }
.porque-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: end; margin-bottom: 3rem; }
.porque-intro { color: var(--ink-2); }
.porque-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.porque-list li { background: var(--bg); padding: 2rem 1.6rem; display: flex; flex-direction: column; gap: .9rem; transition: background .3s; }
.porque-list li:hover { background: var(--bg-3); }
.porque-list .num { font-family: var(--ff-mono); font-size: .8rem; color: var(--orange); letter-spacing: .1em; }
.porque-list strong { font-family: var(--ff-display); font-size: 1.15rem; }
.porque-list p { font-size: .9rem; color: var(--ink-3); }

/* ---------- Servicios ---------- */
.servicios h2 { margin-block: .4rem .8rem; }
.equipos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.8rem; }
.equipo { background: var(--bg-3); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .45s var(--ease), border-color .4s; }
.equipo:hover { transform: translateY(-6px); border-color: var(--line-2); }
.equipo-img { aspect-ratio: 4/3; overflow: hidden; }
.equipo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.equipo:hover .equipo-img img { transform: scale(1.06); }
/* mini-galería con crossfade (cards Sider/Batea y figura Quiénes Somos) */
.equipo-slides, .empresa-figure[data-slides] { position: relative; }
.empresa-figure[data-slides] { aspect-ratio: 4/3; }
.equipo-slides img, .empresa-figure[data-slides] img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease), transform .7s var(--ease); }
.equipo-slides img.is-active, .empresa-figure[data-slides] img.is-active { opacity: 1; }
.equipo-body { padding: 1.6rem 1.5rem 1.9rem; }
.equipo-tag { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.equipo h3 { margin: .5rem 0 .6rem; }
.equipo p { font-size: .94rem; color: var(--ink-3); }

/* Sectores que atendemos */
.sectores { margin-top: clamp(4rem, 9vh, 7rem); text-align: center; }
.sectores-title { max-width: 24ch; margin: .6rem auto 1rem; }
.sectores-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 1.2rem; margin-top: 2.8rem; text-align: left; }
.sector { background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px; padding: 1.7rem 1.5rem; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.sector:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 24px 50px -28px rgba(0,0,0,.7); }
.sector-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(240,138,29,.12); margin-bottom: 1.1rem; }
.sector-ico svg { width: 25px; height: 25px; fill: none; stroke: var(--orange); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sector h4 { font-size: 1.18rem; margin-bottom: .5rem; }
.sector p { font-size: .92rem; color: var(--ink-3); }

.capacidades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 1.2rem; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-align: left; }
.cap { background: var(--bg); padding: 1.4rem 1.4rem; }
.cap strong { display: block; font-family: var(--ff-display); font-size: 1.05rem; color: var(--ink); margin-bottom: .3rem; }
.cap strong::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); margin-right: .55rem; vertical-align: middle; }
.cap span { font-size: .85rem; color: var(--ink-3); }

.sectores-cta { margin-top: 2.8rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.sectores-cta p { font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.35rem); }

/* Proceso */
.proceso { margin-top: clamp(4rem, 9vh, 7rem); text-align: center; }
.proceso-title { max-width: 22ch; margin: .6rem auto 2.8rem; }
.proceso-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; text-align: left; position: relative; }
.proceso-steps li { position: relative; padding: 1.6rem 1.3rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-3); }
.proceso-steps .step-n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--ff-display); font-weight: 700; margin-bottom: 1rem; }
.proceso-steps h4 { font-size: 1.1rem; margin-bottom: .4rem; }
.proceso-steps p { font-size: .88rem; color: var(--ink-3); }

/* ---------- Flota / Torre de control ---------- */
.flota { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }
.flota-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.6rem; }
.flota-cap { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; font-size: 1.05rem; color: var(--ink-2); }
.flota-cap strong { font-family: var(--ff-display); font-size: 1.9rem; color: var(--ink); }
.flota-cap .plus { color: var(--orange); font-size: 1.6rem; font-family: var(--ff-display); }

.dash { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.dash-map { padding: 1.2rem; display: flex; flex-direction: column; gap: .8rem; position: relative; overflow: hidden; }
.dash-map-head { display: flex; justify-content: space-between; align-items: center; }
.live { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .12em; color: #38d96b; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #38d96b; animation: pulse 2.2s infinite; }
.dash-coords { font-family: var(--ff-mono); font-size: .78rem; color: var(--ink-3); }
.dash-route { width: 100%; height: 230px; }
.dash-grid-l { stroke: rgba(238,242,248,.06); stroke-width: 1; fill: none; }
.dash-line { fill: none; stroke: url(#rg); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2.4s var(--ease); }
.dash.is-on .dash-line { stroke-dashoffset: 0; }
.dash-node { fill: var(--bg); stroke: var(--orange); stroke-width: 2; }
.dash-node.end { fill: var(--orange); }
.dash-truck { fill: #fff; filter: drop-shadow(0 0 6px rgba(255,255,255,.8)); }
.dash-map-foot { display: flex; align-items: center; gap: .6rem; font-family: var(--ff-mono); font-size: .78rem; color: var(--ink-2); }
.dash-map-foot .arrow { color: var(--orange); }

.dash-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.metric { padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; }
.metric-label { font-size: .8rem; color: var(--ink-3); }
.metric-val { font-family: var(--ff-display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--ink); display: flex; align-items: baseline; gap: .2rem; }
.metric-val small { font-size: .9rem; color: var(--ink-3); font-weight: 500; }
.metric-bar { height: 5px; border-radius: 3px; background: rgba(238,242,248,.08); overflow: hidden; margin-top: .2rem; }
.metric-bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 3px; transition: width 1.6s var(--ease); }
.metric-bar.good i { background: linear-gradient(90deg, #2fb56a, #38d96b); }
.dash.is-on .metric-bar i { width: var(--w); }
.metric-sub { font-size: .76rem; color: var(--ink-3); }

.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.2rem; }
.tech { padding: 1.6rem 1.5rem; background: var(--bg-3); border: 1px solid var(--line); border-radius: 14px; transition: border-color .35s, transform .35s var(--ease); }
.tech:hover { border-color: var(--line-2); transform: translateY(-4px); }
.tech h4 { font-size: 1.1rem; margin-bottom: .5rem; color: var(--ink); }
.tech h4::before { content: "▸ "; color: var(--orange); }
.tech p { font-size: .9rem; color: var(--ink-3); }
.tech-photo { padding: 0; overflow: hidden; }
.tech-photo img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }

/* ---------- Clientes ---------- */
.clientes { background: var(--bg-2); overflow: hidden; }
.clientes h2 { margin-block: .4rem .9rem; }
.logos { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.1rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-row { display: flex; gap: 1.1rem; width: max-content; will-change: transform; animation: logoScroll 42s linear infinite; }
.logos-row.reverse { animation-direction: reverse; animation-duration: 52s; }
@keyframes logoScroll { to { transform: translateX(-50%); } }
.logos:hover .logos-row { animation-play-state: paused; }
.logo-chip { flex: 0 0 auto; display: grid; place-items: center; padding: 1rem 1.7rem; min-width: 184px; height: 96px; background: #fff; border-radius: 14px; border: 1px solid rgba(0,0,0,.06); box-shadow: 0 10px 26px -16px rgba(0,0,0,.7); transition: transform .35s var(--ease); }
.logo-chip:hover { transform: translateY(-4px); }
.logo-chip img { max-height: 54px; max-width: 132px; width: auto; object-fit: contain; }
.logo-word { font-family: var(--ff-display); font-weight: 800; font-size: 1.3rem; color: #16243f; letter-spacing: -.02em; white-space: nowrap; text-align: center; }

/* ---------- Sustentabilidad ---------- */
.sustent { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.sustent-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.sustent-text { max-width: 800px; }
.sustent-figure { border-radius: 18px; overflow: hidden; }
.sustent-figure img { width: 100%; height: 100%; max-height: 480px; object-fit: cover; }
.sustent-text h2 { margin-block: .4rem 1rem; }
.sustent-list { margin-top: 1.6rem; display: grid; gap: 1rem; }
.sustent-list li { position: relative; padding-left: 1.8rem; color: var(--ink-2); }
.sustent-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 2px; background: var(--grad); }
.sustent-list strong { color: var(--ink); }

/* ---------- RRHH ---------- */
.rrhh { background: var(--bg); }
.rrhh-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.rrhh-text p { color: var(--ink-2); margin-top: 1rem; }
.rrhh-text h2 { margin-top: .4rem; }

/* ---------- Forms ---------- */
.rrhh-form, .contacto-form { padding: 1.8rem; display: grid; gap: 1.1rem; }
.contacto-form { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; color: var(--ink-3); font-weight: 500; }
.field input, .field textarea, .field select {
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: .8rem .9rem; color: var(--ink); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,138,29,.15); }
.field textarea { resize: vertical; min-height: 80px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238493ad' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.form-note { grid-column: 1 / -1; font-size: .82rem; color: var(--ink-3); }
.form-note a { color: var(--orange); }
.contacto-form .btn { grid-column: 1 / -1; }
.form-ok { grid-column: 1 / -1; font-size: .9rem; color: #38d96b; font-weight: 500; }

/* ---------- Contacto ---------- */
.contacto { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contacto-text h2 { margin-block: .4rem 1rem; }
.contacto-info { margin-top: 2rem; display: grid; gap: 1.3rem; }
.contacto-info li { display: flex; flex-direction: column; gap: .15rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.contacto-info span { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.contacto-info a { font-size: 1.1rem; font-weight: 500; color: var(--ink); transition: color .25s; }
.contacto-info a:hover { color: var(--orange); }
.cobertura-note { margin-top: 1.8rem; color: var(--ink-2); }
.cobertura-note strong { color: var(--orange); }
.map { margin-top: clamp(2.5rem, 6vh, 4rem); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: clamp(3rem, 7vh, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 46px; margin-bottom: 1rem; }
.footer-brand p { color: var(--ink-3); font-size: .92rem; max-width: 36ch; }
.socials { display: flex; gap: .7rem; margin-top: 1.3rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line-2); color: var(--ink-2); transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; }
.socials a svg { width: 20px; height: 20px; }
.socials a:hover { transform: translateY(-3px); background: var(--grad); border-color: transparent; color: #fff; }
.footer-nav { display: flex; flex-direction: column; gap: .7rem; }
.footer-nav a { color: var(--ink-2); font-size: .95rem; transition: color .25s; }
.footer-nav a:hover { color: var(--orange); }
.footer-contact { display: flex; flex-direction: column; gap: .7rem; }
.footer-contact a, .footer-contact span { color: var(--ink-2); font-size: .95rem; }
.footer-contact a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; padding-block: 1.6rem 2rem; font-size: .82rem; color: var(--ink-3); }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 900; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .35s var(--ease), box-shadow .35s; }
.wa-float svg { width: 34px; height: 34px; fill: #fff; }
.wa-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 16px 38px -8px rgba(37,211,102,.7); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-primary { display: none; }
  .empresa-grid, .porque-head, .flota-head, .sustent-grid, .rrhh-inner, .contacto-grid { grid-template-columns: 1fr; }
  .valores-grid { grid-template-columns: repeat(2, 1fr); }
  .equipos-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .proceso-steps { grid-template-columns: repeat(2, 1fr); }
  .dash { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .capacidades { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sustent-figure { order: 2; }
}
@media (max-width: 680px) {
  .hero { padding-top: 7rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .valores-grid { grid-template-columns: 1fr; }
  .proceso-steps { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .contacto-form { grid-template-columns: 1fr; }
  .capacidades { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-scroll { display: none; }
}

/* ---------- Motion gating (solo lo intrusivo) ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .route-dot, .dash-truck { display: none; }
  .logos-row { animation: none; transform: none; }
  .ticker-track { animation: none !important; }
  .splash-logo, .splash-bar span { animation: none; }
}
