/* ============================================================================
   SpazeFy · web corporativa provisional
   ----------------------------------------------------------------------------
   CSS único, sin framework y sin build. La paleta NO se inventa: sale de los
   tokens reales de la aplicación (`src/index.css`) y del degradado del ave
   (`public/favicon.svg`), llevados a un fondo oscuro espacial.

     --sf-navy        #0E2A47   «navy del logo» (--gw-text de la app)
     --sf-blue        #2E86F0   «azul principal SpazeFy» (--gw-accent)
     --sf-blue-deep   #1E6FE6   arranque del degradado del ala
     --sf-cyan        #59ADF6   final del degradado del ala (--gw-accent2)

   Ni morados, ni verdes, ni acentos ajenos a esa rampa.
   ========================================================================== */

:root {
  --sf-navy: #0E2A47;
  --sf-blue: #2E86F0;
  --sf-blue-deep: #1E6FE6;
  --sf-cyan: #59ADF6;

  /* Fondo espacial: la misma navy, oscurecida por pasos. */
  --sf-space-0: #020814;
  --sf-space-1: #04101F;
  --sf-space-2: #071A30;
  --sf-space-3: #0A2340;

  --sf-white: #FFFFFF;
  --sf-text: #E8F0FA;
  --sf-text-2: #A9BFD8;
  --sf-muted: #7B93B0;

  --sf-line: rgba(126, 168, 224, 0.16);
  --sf-line-soft: rgba(126, 168, 224, 0.10);
  --sf-card: rgba(10, 30, 56, 0.55);

  --sf-shadow: 0 18px 50px rgba(2, 8, 20, 0.55);
  --sf-glow: 0 10px 30px rgba(46, 134, 240, 0.35);

  --sf-font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sf-font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --sf-max: 1180px;
  --sf-radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* La cabecera es fija: sin esto, un ancla deja el título debajo de ella. */
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--sf-space-0);
  color: var(--sf-text);
  font-family: var(--sf-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; }

.sf-wrap { width: 100%; max-width: var(--sf-max); margin: 0 auto; padding: 0 24px; }

/* Accesibilidad: salto al contenido, visible solo con teclado. */
.sf-skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--sf-blue); color: #fff; padding: 12px 20px;
  border-radius: 0 0 12px 0; font-weight: 600; text-decoration: none;
}
.sf-skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--sf-cyan); outline-offset: 3px; border-radius: 6px; }

/* ── Marca ────────────────────────────────────────────────────────────────── */

.sf-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.sf-logo img { width: 34px; height: 34px; display: block; flex-shrink: 0; }

/* El wordmark, con los MISMOS valores que el arranque de la app
   (index.html → .sf-boot-wordmark): Outfit 900, skew -7deg, tracking -0.035em.
   Sobre oscuro, «Spaze» pasa de navy a blanco; «Fy» conserva su azul. */
.sf-wordmark {
  font-family: var(--sf-font);
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.035em;
  transform: skewX(-7deg);
  color: var(--sf-white);
  white-space: nowrap;
}
.sf-wordmark i { font-style: normal; color: var(--sf-blue); }

/* ── Cabecera ─────────────────────────────────────────────────────────────── */

.sf-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 16px 0;
  background: rgba(2, 8, 20, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.sf-header.is-stuck { border-bottom-color: var(--sf-line-soft); background: rgba(2, 8, 20, 0.9); }
.sf-header .sf-wrap { display: flex; align-items: center; gap: 20px; }

.sf-nav { display: flex; align-items: center; gap: 30px; margin: 0 auto; }
.sf-nav a {
  font-family: var(--sf-font);
  font-size: 0.95rem; font-weight: 500;
  color: var(--sf-text-2); text-decoration: none;
  padding: 6px 0; position: relative;
  transition: color .18s ease;
}
.sf-nav a:hover { color: var(--sf-white); }
.sf-nav a[aria-current="page"] { color: var(--sf-blue); }
.sf-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px; background: var(--sf-blue);
}

/* ── Botones ──────────────────────────────────────────────────────────────── */

.sf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sf-font); font-weight: 600; font-size: 1rem;
  padding: 13px 26px; border-radius: 999px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  min-height: 48px; /* objetivo táctil */
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.sf-btn-primary {
  background: linear-gradient(135deg, var(--sf-blue-deep), var(--sf-blue));
  color: #fff; box-shadow: var(--sf-glow);
}
.sf-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(46, 134, 240, 0.48); }
.sf-btn-ghost { background: transparent; color: var(--sf-white); border-color: rgba(169, 191, 216, 0.38); }
.sf-btn-ghost:hover { border-color: var(--sf-white); background: rgba(255, 255, 255, 0.06); }
.sf-btn-sm { padding: 10px 20px; font-size: 0.92rem; min-height: 42px; }

/* Estado no accionable: la insignia «Próximamente» no lleva a ningún sitio
   porque todavía no existe destino real. Es un <span>, no un enlace. */
.sf-btn-soon {
  background: linear-gradient(135deg, var(--sf-blue-deep), var(--sf-blue));
  color: #fff; box-shadow: var(--sf-glow); cursor: default;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.sf-hero {
  position: relative; overflow: hidden;
  padding: 150px 0 90px;
  background:
    radial-gradient(1100px 620px at 76% 44%, rgba(46, 134, 240, 0.20), transparent 62%),
    linear-gradient(180deg, var(--sf-space-1) 0%, var(--sf-space-0) 100%);
}

/* El planeta: composición CSS pura (ni imagen, ni WebGL). Un disco oscuro con
   el terminador iluminado por el azul de marca y una atmósfera exterior. */
.sf-planet {
  position: absolute; z-index: 0; pointer-events: none;
  width: 1180px; height: 1180px;
  right: -240px; top: 50%; transform: translateY(-46%);
  border-radius: 50%;
  background:
    /* Terminador: el limbo que mira al espectador, iluminado. */
    radial-gradient(circle at 26% 30%, rgba(150, 205, 255, 0.62) 0%, rgba(89, 173, 246, 0.42) 12%, rgba(30, 111, 230, 0.26) 27%, rgba(9, 32, 62, 0.90) 50%, #020814 66%),
    radial-gradient(circle at 50% 50%, #04101F 0%, #020814 100%);
  box-shadow:
    inset 52px 30px 150px rgba(120, 190, 255, 0.34),
    inset -80px -60px 180px rgba(2, 8, 20, 0.96),
    0 0 180px rgba(46, 134, 240, 0.38);
  opacity: 1;
}
/* Halo atmosférico: un anillo azul justo por fuera del disco. */
.sf-planet::after {
  content: ""; position: absolute; inset: -26px; border-radius: 50%;
  background: radial-gradient(circle at 28% 32%, rgba(120, 195, 255, 0.55) 0%, rgba(46, 134, 240, 0.22) 34%, transparent 60%);
  filter: blur(34px);
}
/* Las «luces de ciudad»: puntos suaves, no un mapa real. */
.sf-planet::before {
  content: ""; position: absolute; inset: 6%; border-radius: 50%;
  background:
    radial-gradient(2px 2px at 30% 42%, rgba(255, 214, 150, 0.55), transparent),
    radial-gradient(2px 2px at 38% 55%, rgba(255, 214, 150, 0.42), transparent),
    radial-gradient(1.6px 1.6px at 26% 58%, rgba(255, 224, 176, 0.40), transparent),
    radial-gradient(2px 2px at 44% 38%, rgba(255, 206, 140, 0.34), transparent),
    radial-gradient(1.6px 1.6px at 34% 66%, rgba(255, 214, 150, 0.30), transparent),
    radial-gradient(1.6px 1.6px at 22% 48%, rgba(255, 224, 176, 0.34), transparent);
  opacity: 0.85;
}

/* Campo de estrellas, en un solo elemento. */
.sf-stars {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.55;
  background:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(255,255,255,.85), transparent),
    radial-gradient(1.2px 1.2px at 26% 62%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.5px 1.5px at 8% 74%, rgba(255,255,255,.70), transparent),
    radial-gradient(1.1px 1.1px at 44% 12%, rgba(255,255,255,.50), transparent),
    radial-gradient(1.3px 1.3px at 62% 8%, rgba(255,255,255,.60), transparent),
    radial-gradient(1.2px 1.2px at 88% 22%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.4px 1.4px at 94% 68%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.1px 1.1px at 18% 40%, rgba(255,255,255,.40), transparent),
    radial-gradient(1.2px 1.2px at 54% 84%, rgba(255,255,255,.42), transparent),
    radial-gradient(1.3px 1.3px at 72% 92%, rgba(255,255,255,.38), transparent);
}

/* El hero recorta (`overflow:hidden`) y el planeta es más alto que él: sin esto
   la esfera se cortaba con un canto recto visible justo en la costura con la
   sección siguiente. Este velo la funde con el fondo de la página. */
.sf-hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: 0; right: 0; bottom: 0; height: 220px;
  background: linear-gradient(180deg, rgba(2, 8, 20, 0) 0%, rgba(2, 8, 20, 0.72) 52%, var(--sf-space-0) 100%);
}

.sf-hero .sf-wrap { position: relative; z-index: 1; }
.sf-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 48px; align-items: center;
}

.sf-h1 {
  font-family: var(--sf-font);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.4vw, 4.15rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  color: var(--sf-white);
}
.sf-h1 span { display: block; color: var(--sf-blue); }

.sf-hero-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.17rem);
  color: var(--sf-text-2);
  max-width: 30em;
  margin: 0 0 34px;
}

.sf-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

/* Zona de refuerzo. Deliberadamente SIN cifras: no se publica ningún número de
   usuarios, vehículos, empresas ni ahorro medio, porque no hay dato medido que
   lo respalde. */
.sf-hero-claim {
  display: flex; align-items: center; gap: 14px;
  padding-top: 26px; border-top: 1px solid var(--sf-line-soft);
  max-width: 30em;
}
.sf-hero-claim img { width: 30px; height: 30px; flex-shrink: 0; opacity: 0.95; }
.sf-hero-claim p {
  margin: 0; font-family: var(--sf-font); font-weight: 500;
  font-size: 1rem; color: var(--sf-text); letter-spacing: -0.01em;
}
.sf-hero-claim small { display: block; font-family: var(--sf-font-body); font-weight: 400; color: var(--sf-muted); font-size: 0.88rem; }

/* ── Maqueta del teléfono ─────────────────────────────────────────────────── */

.sf-phone-col { display: flex; justify-content: center; }

.sf-phone {
  position: relative;
  width: 300px; flex-shrink: 0;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(155deg, #2C3644 0%, #0B1017 42%, #222B37 100%);
  box-shadow: 0 40px 90px rgba(2, 8, 20, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.sf-phone-screen {
  position: relative; overflow: hidden;
  border-radius: 36px;
  /* La app es de fondo CLARO: así es de verdad (--gw-bg #FFFFFF). */
  background: #FFFFFF;
  color: var(--sf-navy);
  font-family: var(--sf-font-body);
  aspect-ratio: 300 / 620;
  display: flex; flex-direction: column;
}
.sf-notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 25px; border-radius: 999px; background: #0B1017; z-index: 3;
}

.sf-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 20px 4px; font-size: 11.5px; font-weight: 700; color: var(--sf-navy);
}
.sf-status-icons { display: flex; align-items: center; gap: 4px; }
.sf-status-icons i {
  display: block; width: 3px; border-radius: 1px; background: var(--sf-navy); font-style: normal;
}
.sf-status-icons i:nth-child(1) { height: 5px; }
.sf-status-icons i:nth-child(2) { height: 7px; }
.sf-status-icons i:nth-child(3) { height: 9px; }
.sf-status-icons b { display: block; width: 17px; height: 9px; border: 1.4px solid var(--sf-navy); border-radius: 3px; margin-left: 3px; }

/* Buscador — el de la Home real. */
.sf-app-search {
  margin: 8px 14px 10px; padding: 10px 13px;
  display: flex; align-items: center; gap: 9px;
  background: #F1F5F9; /* --gw-input */
  border: 1px solid rgba(14, 42, 71, 0.10); /* --gw-border */
  border-radius: 14px;
  font-size: 12.5px; color: #6B7C95; /* --gw-muted */
  box-shadow: 0 2px 12px rgba(14, 42, 71, 0.06);
}
.sf-app-search svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Mapa: bandas de vía sobre el gris del mapa. Ni tiles ni datos reales. */
.sf-app-map {
  position: relative; flex: 1; margin: 0 14px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, #E8EEF6 0%, #DCE6F1 100%);
  border: 1px solid rgba(14, 42, 71, 0.08);
}
.sf-app-map .road { position: absolute; background: #FFFFFF; border-radius: 3px; }
.sf-app-map .road.r1 { left: -12%; top: 26%; width: 130%; height: 9px; transform: rotate(-9deg); }
.sf-app-map .road.r2 { left: -12%; top: 62%; width: 130%; height: 7px; transform: rotate(6deg); }
.sf-app-map .road.r3 { left: 30%; top: -12%; width: 8px; height: 130%; transform: rotate(11deg); }
.sf-app-map .road.r4 { left: 72%; top: -12%; width: 6px; height: 130%; transform: rotate(-6deg); }
.sf-app-map .park { position: absolute; border-radius: 12px; background: rgba(46, 134, 240, 0.07); }
.sf-app-map .park.p1 { left: 6%; top: 38%; width: 20%; height: 17%; }
.sf-app-map .park.p2 { left: 78%; top: 68%; width: 18%; height: 15%; }

.sf-pin {
  position: absolute; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center;
}
.sf-pin span {
  font-size: 9.5px; font-weight: 800; color: #FFFFFF;
  background: var(--sf-blue); padding: 3px 7px; border-radius: 8px;
  box-shadow: 0 4px 10px rgba(14, 42, 71, 0.22); white-space: nowrap;
  font-family: var(--sf-font);
}
.sf-pin span.alt { background: #FFFFFF; color: var(--sf-navy); border: 1px solid rgba(14, 42, 71, 0.12); }
.sf-pin::after { content: ""; width: 2px; height: 7px; background: rgba(14, 42, 71, 0.28); }
.sf-pin.pin-a { left: 34%; top: 34%; }
.sf-pin.pin-b { left: 70%; top: 52%; }
.sf-pin.pin-c { left: 46%; top: 72%; }

/* El punto del usuario. */
.sf-me { position: absolute; left: 52%; top: 58%; width: 13px; height: 13px; transform: translate(-50%, -50%); }
.sf-me i { position: absolute; inset: 0; border-radius: 50%; background: var(--sf-blue); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(14,42,71,.3); }
.sf-me b { position: absolute; inset: -9px; border-radius: 50%; background: rgba(46, 134, 240, 0.18); }

/* Tarjeta de recomendación — misma composición aprobada que
   `src/components/home/RepostarCard.jsx`: cabecera con el ahorro estimado,
   insignia y precio a la derecha, y fila de estación con distancia y acción. */
.sf-app-card {
  margin: 10px 14px 0; padding: 12px;
  background: #FFFFFF; border: 1px solid rgba(14, 42, 71, 0.10);
  border-radius: 16px; box-shadow: 0 8px 32px rgba(14, 42, 71, 0.12);
}
.sf-app-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.sf-app-card-top .sf-app-label { margin: 0; font-family: var(--sf-font); font-size: 11px; font-weight: 700; color: #6B7C95; letter-spacing: .01em; }
.sf-app-save { margin: 2px 0 0; font-family: var(--sf-font); font-size: 21px; font-weight: 800; color: var(--sf-navy); letter-spacing: -0.02em; line-height: 1.1; }
.sf-app-save-note { margin: 1px 0 0; font-size: 9.5px; color: #6B7C95; }
.sf-app-badge {
  display: inline-block; font-family: var(--sf-font);
  font-size: 8.5px; font-weight: 800; letter-spacing: .04em;
  color: #FFFFFF; background: var(--sf-blue);
  padding: 3px 7px; border-radius: 7px; white-space: nowrap;
}
.sf-app-price { margin: 5px 0 0; text-align: right; font-family: var(--sf-font); font-size: 15px; font-weight: 800; color: var(--sf-navy); letter-spacing: -0.02em; }
.sf-app-card-row {
  margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(14, 42, 71, 0.08);
  display: flex; align-items: center; gap: 8px;
}
.sf-app-station { flex: 1; min-width: 0; }
.sf-app-station strong { display: block; font-family: var(--sf-font); font-size: 12px; font-weight: 700; color: var(--sf-navy); }
.sf-app-station span { display: block; font-size: 9.5px; color: #6B7C95; }
.sf-app-chip {
  font-family: var(--sf-font); font-size: 10px; font-weight: 600;
  color: var(--sf-navy); background: #EEF3F9; /* --gw-chip */
  padding: 5px 9px; border-radius: 999px; white-space: nowrap;
}
.sf-app-go {
  font-family: var(--sf-font); font-size: 10.5px; font-weight: 700; color: #FFFFFF;
  background: var(--sf-blue); padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 4px 16px rgba(46, 134, 240, 0.28); /* --gw-shadow-accent */
}

/* Barra inferior — los CINCO accesos reales de `BottomNav.jsx`. */
.sf-app-nav {
  margin-top: 10px; padding: 8px 6px 12px;
  display: flex; justify-content: space-around;
  background: #FFFFFF; border-top: 1px solid rgba(14, 42, 71, 0.10);
}
.sf-app-nav div { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; }
.sf-app-nav svg { width: 17px; height: 17px; stroke: #6B7C95; fill: none; stroke-width: 1.8; }
.sf-app-nav span { font-size: 8px; font-weight: 500; color: #6B7C95; }
.sf-app-nav div.on svg { stroke: var(--sf-blue); stroke-width: 2.3; }
.sf-app-nav div.on span { color: var(--sf-blue); font-weight: 700; }

/* ── Secciones genéricas ──────────────────────────────────────────────────── */

.sf-section { padding: 96px 0; position: relative; }
.sf-section-alt { background: linear-gradient(180deg, var(--sf-space-0) 0%, var(--sf-space-1) 50%, var(--sf-space-0) 100%); }

.sf-section-head { text-align: center; max-width: 700px; margin: 0 auto 54px; }
.sf-h2 {
  font-family: var(--sf-font); font-weight: 700;
  font-size: clamp(1.85rem, 3.4vw, 2.5rem); line-height: 1.16;
  letter-spacing: -0.025em; margin: 0 0 14px; color: var(--sf-white);
}
.sf-h2 span { color: var(--sf-blue); }
.sf-sub { margin: 0; color: var(--sf-text-2); font-size: 1.05rem; }

/* ── Tarjetas de funciones ────────────────────────────────────────────────── */

/* La franja de SEIS del mockup. Se declaran los cortes a mano en vez de dejarlo
   en manos de `auto-fit`: con seis tarjetas, `auto-fit` calculaba cinco columnas
   y dejaba la sexta sola en una segunda fila. Los cortes son 6 · 3 · 2 · 1, que
   son los que reparten las seis sin huérfanas. */
.sf-features {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.sf-feature {
  padding: 24px 18px 26px;
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.sf-feature:hover { transform: translateY(-4px); border-color: rgba(46, 134, 240, 0.45); background: rgba(14, 40, 74, 0.65); }
.sf-feature-icon {
  width: 44px; height: 44px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 13px;
  background: rgba(46, 134, 240, 0.12);
  border: 1px solid rgba(46, 134, 240, 0.28);
}
.sf-feature-icon svg { width: 22px; height: 22px; stroke: var(--sf-blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sf-feature h3 {
  font-family: var(--sf-font); font-weight: 600; font-size: 1.06rem;
  line-height: 1.28; letter-spacing: -0.015em; margin: 0 0 10px; color: var(--sf-white);
}
.sf-feature p { margin: 0; font-size: 0.9rem; line-height: 1.6; color: var(--sf-text-2); }

/* ── Empresa ──────────────────────────────────────────────────────────────── */

.sf-empresa {
  position: relative; overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--sf-line);
  background:
    radial-gradient(900px 420px at 78% 60%, rgba(46, 134, 240, 0.26), transparent 66%),
    linear-gradient(135deg, #06162C 0%, #0A2440 52%, #04101F 100%);
  padding: 56px 52px;
}
.sf-empresa-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 42px; align-items: center; }
.sf-empresa h2 {
  font-family: var(--sf-font); font-weight: 700;
  font-size: clamp(1.85rem, 3.4vw, 2.6rem); line-height: 1.12;
  letter-spacing: -0.028em; margin: 0 0 18px; color: var(--sf-white);
}
.sf-empresa h2 span { color: var(--sf-blue); }
.sf-empresa > .sf-empresa-grid > div > p { color: var(--sf-text-2); margin: 0 0 26px; max-width: 34em; }

.sf-check { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 13px; }
.sf-check li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.97rem; color: var(--sf-text); }
.sf-check svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

.sf-fleet { display: flex; align-items: flex-end; justify-content: center; }
.sf-fleet img { width: 100%; height: auto; display: block; filter: drop-shadow(0 22px 40px rgba(2, 8, 20, 0.65)); }

/* ── Tiendas de aplicaciones ──────────────────────────────────────────────── */

.sf-stores {
  border: 1px solid var(--sf-line); border-radius: 22px;
  background: rgba(7, 26, 48, 0.42);
  padding: 44px 32px; text-align: center;
}
.sf-stores h2 { font-family: var(--sf-font); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; margin: 0 0 8px; color: var(--sf-white); }
.sf-stores > p { margin: 0 0 28px; color: var(--sf-muted); font-size: 0.94rem; }
.sf-store-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* Huecos preparados para las insignias OFICIALES de Google y Apple. No se
   dibujan a mano: cuando existan los assets oficiales y una URL real, se
   sustituye el contenido de cada hueco por su imagen y su enlace. */
.sf-store-slot {
  width: 200px; min-height: 62px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px dashed rgba(126, 168, 224, 0.34);
  border-radius: 13px; background: rgba(2, 8, 20, 0.35);
  color: var(--sf-muted); cursor: default;
}
.sf-store-slot svg { width: 22px; height: 22px; opacity: 0.75; flex-shrink: 0; }
.sf-store-slot strong { display: block; font-family: var(--sf-font); font-size: 0.92rem; font-weight: 600; color: var(--sf-text-2); }
.sf-store-slot small { display: block; font-size: 0.72rem; letter-spacing: .06em; text-transform: uppercase; }

/* ── Sobre nosotros / Contacto ────────────────────────────────────────────── */

.sf-about { max-width: 760px; margin: 0 auto; text-align: center; }
.sf-about p { color: var(--sf-text-2); font-size: 1.08rem; }
.sf-about p + p { margin-top: 18px; }

.sf-contact { max-width: 620px; margin: 0 auto; text-align: center; }
.sf-contact-mail {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 22px;
  padding: 16px 28px; border-radius: 16px;
  border: 1px solid var(--sf-line); background: rgba(7, 26, 48, 0.5);
  font-family: var(--sf-font); font-weight: 600; font-size: 1.08rem;
  color: var(--sf-white); text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.sf-contact-mail:hover { border-color: var(--sf-blue); transform: translateY(-2px); }
.sf-contact-mail svg { width: 21px; height: 21px; stroke: var(--sf-blue); fill: none; stroke-width: 1.7; }

/* ── Pie ──────────────────────────────────────────────────────────────────── */

.sf-footer { border-top: 1px solid var(--sf-line-soft); padding: 60px 0 34px; background: var(--sf-space-1); }
.sf-footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.sf-footer-brand p { margin: 16px 0 0; color: var(--sf-muted); font-size: 0.92rem; max-width: 26em; }
.sf-footer h3 { font-family: var(--sf-font); font-size: 0.85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sf-text); margin: 0 0 16px; }
.sf-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sf-footer a { color: var(--sf-muted); text-decoration: none; font-size: 0.92rem; transition: color .18s ease; }
.sf-footer a:hover { color: var(--sf-blue); }
.sf-footer-legal {
  margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--sf-line-soft);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  color: var(--sf-muted); font-size: 0.85rem;
}

/* ── Páginas de texto (legales) ───────────────────────────────────────────── */

.sf-doc { padding: 140px 0 90px; }
.sf-doc-inner { max-width: 780px; margin: 0 auto; }
.sf-doc h1 { font-family: var(--sf-font); font-weight: 700; font-size: clamp(2rem, 4vw, 2.7rem); letter-spacing: -0.028em; margin: 0 0 10px; color: var(--sf-white); }
.sf-doc .sf-doc-date { color: var(--sf-muted); font-size: 0.9rem; margin: 0 0 44px; }
.sf-doc h2 { font-family: var(--sf-font); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; margin: 42px 0 14px; color: var(--sf-white); }
.sf-doc h3 { font-family: var(--sf-font); font-weight: 600; font-size: 1.05rem; margin: 26px 0 10px; color: var(--sf-text); }
.sf-doc p, .sf-doc li { color: var(--sf-text-2); font-size: 1rem; }
.sf-doc ul { padding-left: 22px; display: grid; gap: 8px; }
.sf-doc a { color: var(--sf-blue); }
.sf-doc-box {
  border: 1px solid var(--sf-line); border-radius: 16px;
  background: rgba(7, 26, 48, 0.45); padding: 22px 26px; margin: 24px 0;
}
.sf-doc-box dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 20px; }
.sf-doc-box dt { font-family: var(--sf-font); font-weight: 600; color: var(--sf-text); font-size: .95rem; }
.sf-doc-box dd { margin: 0; color: var(--sf-text-2); font-size: .95rem; }
/* Las tablas anchas se desplazan dentro de su caja, nunca el documento. */
.sf-doc-scroll { overflow-x: auto; }

/* ── Adaptación ───────────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .sf-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1040px) {
  .sf-nav { display: none; }
  .sf-header .sf-wrap { justify-content: space-between; }
  .sf-empresa { padding: 44px 34px; }
  .sf-empresa-grid { grid-template-columns: 1fr; gap: 34px; }
  .sf-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
}

@media (max-width: 900px) {
  /* Hero en vertical: titular arriba, teléfono debajo y sin ocupar la pantalla
     entera. El planeta pasa a ser decoración de fondo. */
  .sf-hero { padding: 124px 0 70px; text-align: center; }
  .sf-hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .sf-hero-lead, .sf-hero-claim { margin-left: auto; margin-right: auto; }
  .sf-hero-cta { justify-content: center; }
  .sf-hero-claim { justify-content: center; text-align: left; }
  .sf-planet {
    width: 760px; height: 760px; right: -280px; top: 12%; transform: none; opacity: 0.5;
  }
  /* El teléfono se encoge ESCALANDO, no estrechándose. Sus medidas internas
     están en píxeles (es una maqueta, no una app real): al bajar solo el
     `width`, la tipografía se quedaba a su tamaño y «4,80 €» o «Estación
     cercana» se partían en dos líneas. `zoom` reduce la pieza entera y
     mantiene la proporción; donde no esté soportado se ve a 300 px, que
     también cabe. */
  .sf-phone { width: 300px; zoom: 0.9; }
  .sf-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-section { padding: 72px 0; }
  .sf-doc { padding: 118px 0 70px; }
}

@media (max-width: 600px) {
  .sf-wrap { padding: 0 18px; }
  .sf-hero { padding: 112px 0 60px; }
  .sf-hero-cta .sf-btn { flex: 1 1 100%; }
  .sf-phone { width: 300px; zoom: 0.8; }
  .sf-planet { width: 560px; height: 560px; right: -220px; top: 8%; opacity: 0.55; }
  .sf-features { grid-template-columns: 1fr; }
  .sf-empresa { padding: 34px 22px; border-radius: 20px; }
  .sf-stores { padding: 34px 20px; }
  .sf-store-slot { width: 100%; max-width: 300px; }
  .sf-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .sf-footer-legal { justify-content: flex-start; }
  .sf-doc-box { padding: 18px; }
  .sf-doc-box dl { grid-template-columns: 1fr; gap: 4px 0; }
  .sf-doc-box dd { margin-bottom: 10px; }
}

@media (max-width: 380px) {
  .sf-phone { zoom: 0.72; }
}
