/* =============================================================
   TRANSPORTES SAIZ — Hoja de estilos
   Diseño oscuro (por defecto) + modo claro conmutable.
   Paleta de marca: azul marino + naranja (extraída del logo).
   ============================================================= */

:root {
  /* Marca (constantes en ambos temas) */
  --orange: #e8821e;
  --orange-soft: #f7a64b;
  --orange-dark: #cf6f12;
  --navy: #16365c;
  --navy-deep: #0a1422;

  /* Estructura */
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --header-h: 72px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- TEMA OSCURO (por defecto) ---------- */
[data-theme="dark"] {
  --bg:        #0a1422;
  --bg-alt:    #0d1b2e;
  --bg-soft:   #0f2138;
  --surface:   rgba(255,255,255,.04);
  --surface-2: rgba(255,255,255,.06);
  --border:    rgba(255,255,255,.10);
  --border-strong: rgba(255,255,255,.18);
  --heading:   #ffffff;
  --text:      #d9e2ee;
  --muted:     #94a6bd;
  --header-bg: rgba(10,20,34,.82);
  --shadow:    0 24px 60px rgba(0,0,0,.45);
  --shadow-sm: 0 8px 24px rgba(0,0,0,.35);
  --glow:      0 0 32px rgba(248,166,75,.55);
  --glow-sm:   0 0 18px rgba(248,166,75,.45);
  --logo-dark: none;     /* logo normal oculto */
  --logo-light: block;   /* logo blanco visible */
  --text-glow: 0 2px 18px rgba(248,166,75,.35);
  --stat-glow: 0 2px 16px rgba(248,166,75,.4);
}

/* ---------- TEMA CLARO ---------- */
[data-theme="light"] {
  --bg:        #ffffff;
  --bg-alt:    #f5f7fa;
  --bg-soft:   #eef2f7;
  --surface:   #ffffff;
  --surface-2: #f5f7fa;
  --border:    #e4e8ee;
  --border-strong: #d4dbe5;
  --heading:   #16365c;
  --text:      #2f343b;
  --muted:     #5b6573;
  --header-bg: rgba(255,255,255,.86);
  --shadow:    0 24px 60px rgba(16,39,66,.16);
  --shadow-sm: 0 8px 24px rgba(16,39,66,.10);
  --glow:      0 0 28px rgba(232,130,30,.40);
  --glow-sm:   0 0 16px rgba(232,130,30,.32);
  --logo-dark: block;    /* logo normal visible */
  --logo-light: none;    /* logo blanco oculto */
  --text-glow: 0 1px 8px rgba(232,130,30,.16);
  --stat-glow: 0 1px 8px rgba(232,130,30,.18);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .4s var(--ease), color .4s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--orange); color: #fff; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { color: var(--heading); line-height: 1.16; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 900; }
h3 { font-size: 1.2rem; }
p { color: var(--muted); }
.accent { color: var(--orange); }
.gradient-text {
  background: linear-gradient(90deg, var(--orange), var(--orange-soft) 70%, #ffcf94);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(var(--text-glow));
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section__head p { margin-top: 16px; font-size: 1.06rem; }
.accent-line { width: 46px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft));
  box-shadow: var(--glow); }
.section__head .accent-line { margin: 0 auto 18px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-soft); margin-bottom: 14px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(232,130,30,.14); border: 1px solid rgba(248,166,75,.45);
  box-shadow: var(--glow-sm);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; border: 2px solid transparent;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-soft));
  box-shadow: 0 10px 26px rgba(232,130,30,.4), var(--glow-sm); }
.btn--primary:hover { transform: translateY(-2px);
  background: linear-gradient(135deg, var(--orange-dark), var(--orange));
  box-shadow: 0 16px 38px rgba(232,130,30,.5), var(--glow); }
.btn--ghost { background: transparent; color: var(--heading); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }

/* =============================================================
   HEADER / NAV
   ============================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
  background: transparent; transition: background .3s var(--ease), box-shadow .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--border); box-shadow: var(--shadow-sm);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; }
.nav__brand img { height: 52px; width: auto; }
.nav__brand .logo-dark { display: var(--logo-dark); }
.nav__brand .logo-light { display: var(--logo-light); }
.nav__menu { display: flex; align-items: center; gap: 6px; }
.nav__menu a.nav-link {
  position: relative; padding: 8px 14px; font-weight: 600; font-size: .96rem; color: var(--text); transition: color .18s;
}
.nav__menu a.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__menu a.nav-link:hover { color: var(--heading); }
.nav__menu a.nav-link:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--heading); display: grid; place-items: center;
  transition: border-color .2s, transform .2s, background .2s;
}
.theme-toggle:hover { border-color: var(--orange-soft); color: var(--orange-soft); transform: rotate(15deg); box-shadow: var(--glow-sm); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: var(--logo-light); }  /* en oscuro mostramos sol */
.theme-toggle .icon-moon { display: var(--logo-dark); }  /* en claro mostramos luna */

.nav__toggle { display: none; background: none; border: 0; padding: 8px; width: 44px; height: 44px; border-radius: 10px; }
.nav__toggle span { display: block; width: 24px; height: 2.4px; background: var(--heading); border-radius: 3px; transition: transform .3s var(--ease), opacity .2s; margin: 5px auto; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* El header flota transparente sobre el hero, que es siempre oscuro en los dos
   temas. Mientras no se haga scroll forzamos estilos claros (logo, iconos, menú
   de escritorio) para que se lean bien también en modo claro; en cuanto el header
   coge fondo sólido (.is-scrolled) vuelve a los colores normales del tema.
   El menú móvil desplegado no se ve afectado: tiene su propio fondo sólido y ya
   usa los colores normales del tema (ver @media 760px más abajo). */
.header:not(.is-scrolled) .nav__brand .logo-dark { display: none; }
.header:not(.is-scrolled) .nav__brand .logo-light { display: block; }
.header:not(.is-scrolled) .theme-toggle {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: #fff;
}
.header:not(.is-scrolled) .theme-toggle:hover { border-color: rgba(255,255,255,.6); color: var(--orange-soft); }
.header:not(.is-scrolled) .nav__toggle span { background: #fff; }
@media (min-width: 761px) {
  .header:not(.is-scrolled) .nav__menu a.nav-link { color: rgba(255,255,255,.92); }
  .header:not(.is-scrolled) .nav__menu a.nav-link:hover { color: #fff; }
}

/* =============================================================
   HERO  (siempre oscuro y dramático en ambos temas)
   ============================================================= */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 60px) 0 80px;
  background:
    radial-gradient(900px 460px at 78% 6%, rgba(248,166,75,.30), transparent 58%),
    radial-gradient(700px 400px at 12% 95%, rgba(232,130,30,.18), transparent 60%),
    linear-gradient(165deg, #0a1422 0%, #0e2541 55%, #123056 100%);
  color: #fff; overflow: hidden; text-align: center;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(118deg, transparent 0 42px, rgba(255,255,255,.035) 42px 44px);
}
.hero__inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.hero h1 { color: #fff; }
.hero .gradient-text { filter: drop-shadow(0 2px 18px rgba(248,166,75,.35)); }
.hero__tagline { color: #fff; font-weight: 700; font-size: clamp(1.2rem, 2.6vw, 1.6rem); margin: 16px auto 0; max-width: 640px; }
.hero__lead { color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 640px; margin: 14px auto 0; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn--ghost:hover { border-color: var(--orange); color: var(--orange-soft); }
.hero__mark {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 85%; max-width: 1400px; height: auto; opacity: .06;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: center; margin-top: 44px; }
.hero__badge { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.88); }
.hero__badge svg { width: 20px; height: 20px; color: var(--orange); }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: rgba(255,255,255,.5); z-index: 1; animation: bounce 2s infinite; }
.hero__scroll svg { width: 28px; height: 28px; }
@keyframes bounce { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

/* =============================================================
   STATS
   ============================================================= */
.stats { border-block: 1px solid var(--border); background: var(--bg-alt); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-block: 56px; }
.stat { text-align: center; }
.stat b { display: block; font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 900; line-height: 1;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft) 75%, #ffcf94);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(var(--stat-glow)); }
.stat span { display: block; margin-top: 8px; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* =============================================================
   CARDS GENÉRICAS
   ============================================================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s, background .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow), var(--glow-sm); border-color: rgba(248,166,75,.5); }
.card:hover .card__icon { box-shadow: var(--glow); border-color: rgba(248,166,75,.7); }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(232,130,30,.28), rgba(232,130,30,.08));
  border: 1px solid rgba(248,166,75,.45); color: var(--orange-soft);
  box-shadow: var(--glow-sm); transition: box-shadow .25s var(--ease), border-color .25s;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; color: var(--heading); }
.card p { font-size: .96rem; }

/* =============================================================
   FLOTA
   ============================================================= */
.fleet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.fleet__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.fleet__card:hover { transform: translateY(-6px); box-shadow: var(--shadow), var(--glow-sm); border-color: rgba(248,166,75,.5); }
.fleet__body { padding: 24px 26px 28px; }
.fleet__badge { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .06em;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
  background: rgba(232,130,30,.14); border: 1px solid rgba(248,166,75,.4); color: var(--orange-soft);
  box-shadow: var(--glow-sm); }
.fleet__badge svg { width: 13px; height: 13px; }
.fleet__card h3 { margin-bottom: 14px; }
.fleet__features { display: grid; gap: 9px; }
.fleet__features li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.fleet__features svg { width: 15px; height: 15px; color: var(--orange); flex: 0 0 auto; }

/* Marcador de imagen (placeholder elegante) */
.ph {
  position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center;
  background:
    radial-gradient(600px 200px at 70% 0%, rgba(232,130,30,.14), transparent 60%),
    linear-gradient(160deg, #0e2541, #0a1422);
  color: rgba(255,255,255,.55); overflow: hidden;
}
.ph__inner { position: relative; z-index: 1; text-align: center; padding: 16px; }
.ph__inner svg { width: 52px; height: 52px; color: rgba(255,255,255,.4); margin: 0 auto 10px; }
.ph__inner span { font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =============================================================
   HSEQ / SEGURIDAD
   ============================================================= */
.hseq { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 36px; }
.hseq__item { text-align: center; padding: 34px 24px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.hseq__item:hover { transform: translateY(-6px); border-color: rgba(248,166,75,.5); box-shadow: var(--shadow), var(--glow-sm); }
.hseq__item:hover .hseq__ic { box-shadow: var(--glow); border-color: rgba(248,166,75,.7); }
.hseq__ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px;
  background: rgba(232,130,30,.16); border: 1px solid rgba(248,166,75,.45); color: var(--orange-soft);
  box-shadow: var(--glow-sm); transition: box-shadow .25s var(--ease), border-color .25s; }
.hseq__ic svg { width: 30px; height: 30px; }
.hseq__item h3 { margin-bottom: 10px; }
.hseq__item p { font-size: .92rem; }
.cert-band { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.cert-band .lbl { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.cert { padding: 7px 16px; border-radius: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  background: rgba(232,130,30,.14); border: 1px solid rgba(248,166,75,.42); color: var(--orange-soft);
  box-shadow: var(--glow-sm); }

/* =============================================================
   ¿POR QUÉ ELEGIRNOS?
   ============================================================= */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why__list { display: grid; gap: 16px; margin-top: 26px; }
.why__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-weight: 500; }
.why__list svg { width: 22px; height: 22px; color: var(--orange); flex: 0 0 auto; margin-top: 2px; }
.why__media { position: relative; }
.why__media .ph { border-radius: var(--radius); border: 1px solid var(--border); }
.why__badge { position: absolute; left: -18px; bottom: -22px; color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-soft));
  border-radius: 14px; padding: 16px 22px; box-shadow: 0 16px 40px rgba(232,130,30,.45), var(--glow); }
.why__badge b { display: block; font-size: 1.9rem; font-weight: 900; line-height: 1; }
.why__badge span { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .95; }

/* =============================================================
   CONTACTO
   ============================================================= */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact__info { display: grid; gap: 18px; margin-top: 26px; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; }
.contact__item .ic { width: 48px; height: 48px; border-radius: 12px; flex: 0 0 auto; display: grid; place-items: center;
  background: rgba(232,130,30,.16); border: 1px solid rgba(248,166,75,.42); color: var(--orange-soft);
  box-shadow: var(--glow-sm); }
.contact__item .ic svg { width: 22px; height: 22px; }
.contact__item h4 { color: var(--heading); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 3px; }
.contact__item a, .contact__item p { color: var(--text); font-size: 1rem; font-weight: 500; }
.contact__item a:hover { color: var(--orange); }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; font-family: inherit; font-size: 1rem; color: var(--text);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232,130,30,.16);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a6bd' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.form-consent input { margin-top: 4px; width: 16px; height: 16px; flex: 0 0 auto; accent-color: var(--orange); }
.form-consent a { color: var(--orange); text-decoration: underline; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-feedback { display: none; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 600; margin-bottom: 18px; }
.form-feedback.ok { display: block; background: rgba(34,160,86,.14); color: #36c172; border: 1px solid rgba(34,160,86,.4); }
.form-feedback.err { display: block; background: rgba(214,60,52,.14); color: #ef6b63; border: 1px solid rgba(214,60,52,.4); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

/* =============================================================
   FOOTER
   ============================================================= */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer__brand img { width: 320px; max-width: 100%; height: auto; }
.footer__brand .logo-dark { display: var(--logo-dark); }
.footer__brand .logo-light { display: var(--logo-light); }
.footer__brand p { margin-top: 18px; max-width: 320px; font-size: .94rem; }
.footer h4 { color: var(--heading); font-size: 1rem; margin-bottom: 18px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { font-size: .95rem; color: var(--muted); transition: color .18s; }
.footer__links a:hover { color: var(--orange); }
.footer__contact { display: grid; gap: 12px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.footer__contact svg { width: 18px; height: 18px; color: var(--orange); flex: 0 0 auto; margin-top: 3px; }
.footer__contact a:hover { color: var(--orange); }
.footer__bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.footer__bottom a:hover { color: var(--orange); }

/* WhatsApp flotante */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(37,211,102,.45); transition: transform .18s var(--ease); }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }

/* =============================================================
   ANIMACIONES
   ============================================================= */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0; will-change: opacity, transform;
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
}
.reveal        { transform: translateY(34px); }
.reveal-left   { transform: translateX(-48px); }
.reveal-right  { transform: translateX(48px); }
.reveal-scale  { transform: scale(.92); filter: blur(6px); }
.reveal.is-visible, .reveal-left.is-visible, .reveal-right.is-visible, .reveal-scale.is-visible {
  opacity: 1; transform: none; filter: none;
}

/* =============================================================
   PÁGINAS LEGALES (Aviso legal / Política de privacidad)
   Son páginas sin hero: forzamos la cabecera siempre sólida
   (si no, hereda los estilos pensados para flotar sobre el hero
   oscuro y el logo/menú se verían blancos sobre fondo blanco).
   ============================================================= */
body.no-hero .header {
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--border); box-shadow: var(--shadow-sm);
}
body.no-hero .header:not(.is-scrolled) .nav__brand .logo-dark { display: var(--logo-dark); }
body.no-hero .header:not(.is-scrolled) .nav__brand .logo-light { display: var(--logo-light); }
body.no-hero .header:not(.is-scrolled) .theme-toggle { background: var(--surface); border-color: var(--border-strong); color: var(--heading); }
body.no-hero .header:not(.is-scrolled) .theme-toggle:hover { border-color: var(--orange-soft); color: var(--orange-soft); }
body.no-hero .header:not(.is-scrolled) .nav__toggle span { background: var(--heading); }
@media (min-width: 761px) {
  body.no-hero .header:not(.is-scrolled) .nav__menu a.nav-link { color: var(--text); }
  body.no-hero .header:not(.is-scrolled) .nav__menu a.nav-link:hover { color: var(--heading); }
}

.legal-page { padding: calc(var(--header-h) + 56px) 0 100px; }
.legal-page .container { max-width: 780px; }
.legal-page .back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.legal-page .back-link svg { width: 16px; height: 16px; }
.legal-page .back-link:hover { color: var(--orange); }
.legal-page h1 { margin-bottom: 8px; }
.legal-page .legal-updated { font-size: .9rem; color: var(--muted); margin-bottom: 44px; }
.legal-page h2 { font-size: 1.4rem; margin-top: 42px; margin-bottom: 14px; }
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page h3 { font-size: 1.05rem; margin-top: 24px; margin-bottom: 10px; }
.legal-page p { margin-bottom: 14px; }
.legal-page ul { list-style: disc; padding-left: 1.3em; margin-bottom: 14px; }
.legal-page li { margin-bottom: 8px; color: var(--muted); }
.legal-page strong { color: var(--heading); }
.legal-page a.inline-link { color: var(--orange-soft); font-weight: 600; }
.legal-page a.inline-link:hover { text-decoration: underline; }
.legal-todo {
  display: block; margin: 4px 0 18px; padding: 12px 16px; border-radius: 10px;
  background: rgba(232,130,30,.12); border: 1px solid rgba(248,166,75,.4);
  color: var(--orange-soft); font-size: .92rem; font-weight: 600;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 980px) {
  .cards, .fleet { grid-template-columns: repeat(2, 1fr); }
  .hseq { grid-template-columns: repeat(2, 1fr); }
  .why, .contact { grid-template-columns: 1fr; gap: 40px; }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .why__media { order: -1; }
}
@media (max-width: 760px) {
  .nav__menu {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    padding: 16px 24px 26px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .32s var(--ease); visibility: hidden;
  }
  .nav__menu.is-open { transform: translateY(0); visibility: visible; }
  .nav__menu a.nav-link { padding: 14px 12px; font-size: 1.05rem; }
  .nav__menu a.nav-link::after { display: none; }
  .nav__cta-mobile { margin-top: 10px; }
  .nav__cta-mobile .btn { width: 100%; justify-content: center; }
  .nav__toggle { display: block; }
  .section { padding: 72px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .cards, .fleet, .hseq { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { transition: none; opacity: 1; transform: none; filter: none; }
  .hero__scroll { animation: none; }
}
