/* Control de Flota y Telemedición (Premium 2030, rediseño) — estilos propios de control-de-flota.html.
   Se carga después de styles.css, apps.css y apps-v2.css; todo acotado a .flota-page.
   Reutiliza tokens y componentes del sitio: .hero-kicker, .eyebrow, .breadcrumb, .btn-back (portada / apps.css)
   y .apps-page.v2, .v2-phone, .v2-icon, .v2-label, .v2-dot (Apps Premium V2). */

.flota-page {
  --flota-r-lg: 24px;
  --flota-r-md: 16px;
  --flota-band-y: clamp(72px, 8vw, 128px);
  --flota-ink-2: oklch(0.16 0.02 155);
}

/* Contenedor y franjas */
.flota-wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.flota-band { padding: var(--flota-band-y) 0; scroll-margin-top: 0; }
.flota-band--light { background: var(--paper); color: var(--ink); }
.flota-band--forest { position: relative; isolation: isolate; background: var(--forest); color: var(--paper); }
.flota-band--forest::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 70% at 85% 0%, oklch(0.86 0.13 125 / 0.1), transparent 70%), radial-gradient(50% 60% at 0% 100%, oklch(0.16 0.04 155 / 0.6), transparent 70%); }
.flota-band--ink { background: var(--ink); color: var(--paper); }
.flota-page .eyebrow { margin-bottom: 18px; }
.flota-h2 { margin: 0; font-weight: 500; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.flota-index { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--green); }

/* ── Hero ── */
.flota-page .flota-hero {
  --veil: 0.18 0.045 155;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, calc(88svh - var(--nav-h)), 820px);
  display: flex; flex-direction: column; color: #fff; background: oklch(var(--veil));
}
.flota-hero-photo {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 38%;
  filter: saturate(1.1) contrast(1.05);
}
/* Velo: lateral para el texto (izquierda), inferior para la navegación; la maquinaria queda limpia a la derecha */
.flota-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, oklch(var(--veil) / 0.92) 0%, oklch(var(--veil) / 0.78) 30%, oklch(var(--veil) / 0.32) 55%, oklch(var(--veil) / 0) 72%),
    linear-gradient(0deg, oklch(var(--veil) / 0.95) 0%, oklch(var(--veil) / 0.45) 22%, oklch(var(--veil) / 0) 45%),
    linear-gradient(180deg, oklch(var(--veil) / 0.45) 0%, oklch(var(--veil) / 0) 22%);
}
.flota-hero-inner {
  flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 32px;
  width: 100%; max-width: 1320px; margin: 0 auto;
  padding: clamp(20px, 3vw, 32px) var(--gutter) clamp(32px, 5vh, 56px);
}
.flota-page .flota-breadcrumb {
  margin: 0; align-self: flex-start; flex-wrap: wrap; padding: 8px 14px; border-radius: 999px;
  background: oklch(var(--veil) / 0.55); border: 1px solid oklch(1 0 0 / 0.16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: oklch(1 0 0 / 0.78);
}
.flota-page .flota-breadcrumb a { color: var(--lime); }
.flota-page .flota-breadcrumb a:hover { color: #fff; }
.flota-page .flota-breadcrumb [aria-current] { color: #fff; }
.flota-hero-content { margin-top: auto; max-width: 720px; }
.flota-hero-title {
  margin: 0; font-weight: 600; font-size: clamp(42px, min(6.4vw, 11vh), 104px); line-height: .96; letter-spacing: -0.045em;
  text-shadow: 0 2px 24px oklch(0.12 0.03 155 / 0.45);
}
.flota-hero-title span { display: block; }
.flota-hero-title em { font-style: normal; color: var(--lime); }
.flota-hero-lead {
  margin: clamp(18px, 2.6vh, 28px) 0 0; max-width: 40ch;
  font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; color: oklch(1 0 0 / 0.9); text-wrap: pretty;
}
/* Navegación interna: franja de vidrio numerada al pie del hero */
.flota-hero-nav {
  position: relative; z-index: 1;
  border-top: 1px solid oklch(1 0 0 / 0.14);
  background: oklch(var(--veil) / 0.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.flota-hero-nav ol { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: 1320px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.flota-hero-nav li + li { border-left: 1px solid oklch(1 0 0 / 0.12); }
.flota-hero-nav a { display: flex; align-items: baseline; gap: 12px; padding: 20px 18px; font-size: 15px; font-weight: 500; color: #fff; transition: background-color .2s, color .2s; }
.flota-hero-nav li:first-child a { padding-left: 0; }
.flota-hero-nav a span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--lime); }
.flota-hero-nav a:hover { color: var(--lime); background: oklch(1 0 0 / 0.04); }
.flota-hero-nav a:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }

/* ── 01 Control de flota ── */
.flota-system { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.flota-system-text .flota-h2 { max-width: 12ch; }
.flota-caps { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: flex; flex-direction: column; }
.flota-cap { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: start; padding: 22px 0; border-top: 1px solid oklch(0.18 0.01 150 / 0.12); }
.flota-cap:last-child { border-bottom: 1px solid oklch(0.18 0.01 150 / 0.12); }
.flota-cap p { margin: 0; font-size: 17px; line-height: 1.6; color: oklch(0.32 0.01 150); text-wrap: pretty; }
.flota-cap-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: oklch(0.86 0.13 125 / 0.28); color: var(--forest); box-shadow: inset 0 0 0 1px oklch(0.42 0.08 150 / 0.2); }
.flota-cap-icon svg, .flota-console-icon svg, .flota-tele-note-icon svg { width: 22px; height: 22px; display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Consola: los cinco datos registrados por surtida */
.flota-console {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--flota-r-lg); color: var(--paper);
  background: linear-gradient(160deg, oklch(0.31 0.058 155), oklch(0.2 0.045 155));
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.08), 0 40px 80px -40px oklch(0.2 0.05 155 / 0.85), 0 0 0 1px oklch(0.2 0.05 155 / 0.2);
}
.flota-console::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 80% at 100% 0%, oklch(0.86 0.13 125 / 0.2), transparent 70%),
    linear-gradient(oklch(1 0 0 / 0.04) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, oklch(1 0 0 / 0.04) 1px, transparent 1px) 0 0 / 48px 100%;
}
.flota-console-bar { display: flex; align-items: center; gap: 16px; padding: 18px clamp(20px, 2.6vw, 32px); border-bottom: 1px solid oklch(1 0 0 / 0.1); }
.flota-console-bar p { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); }
.flota-console-dots { display: flex; gap: 6px; }
.flota-console-dots i { width: 8px; height: 8px; border-radius: 50%; background: oklch(1 0 0 / 0.22); }
.flota-console-dots i:first-child { background: var(--lime); box-shadow: 0 0 0 3px oklch(0.86 0.13 125 / 0.22); }
.flota-console-list { list-style: none; margin: 0; padding: 8px clamp(20px, 2.6vw, 32px) 16px; }
.flota-console-list li {
  display: grid; grid-template-columns: 52px 36px minmax(0, 1fr); align-items: center; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid oklch(1 0 0 / 0.08);
}
.flota-console-list li:last-child { border-bottom: 0; }
.flota-console-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; color: var(--lime); background: oklch(1 0 0 / 0.06); box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.1); }
.flota-console-num { font-family: var(--mono); font-size: 12px; color: oklch(0.975 0.005 100 / 0.5); }
.flota-console-label { font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; letter-spacing: -0.02em; }

/* ── 02 Llaves ── */
.flota-keys { margin-top: clamp(72px, 8vw, 120px); padding-top: clamp(40px, 4vw, 56px); border-top: 1px solid oklch(0.18 0.01 150 / 0.12); }
.flota-keys-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.flota-key {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: stretch;
  border-radius: var(--flota-r-lg); overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px oklch(0.18 0.01 150 / 0.08), 0 30px 60px -40px oklch(0.26 0.05 155 / 0.55);
  transition: box-shadow .3s ease, transform .3s var(--ease);
}
.flota-key:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px oklch(0.42 0.08 150 / 0.3), 0 36px 64px -36px oklch(0.26 0.05 155 / 0.6); }
/* Escenario de producto: fondo blanco puro (el de las fotos originales); la foto entra completa con object-fit: contain */
.flota-key-stage, .flota-product-stage { --pad: clamp(16px, 2.4vw, 32px); position: relative; background: #fff; }
.flota-key-stage { aspect-ratio: 1 / 1; }
.flota-key-stage img, .flota-product-stage img { position: absolute; inset: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; display: block; }
.flota-key-body { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: clamp(20px, 2.4vw, 32px); background: oklch(0.955 0.006 100); border-left: 1px solid oklch(0.18 0.01 150 / 0.06); }
.flota-key-body h3 { margin: 0; font-weight: 500; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; letter-spacing: -0.03em; }
.flota-key-body p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--muted); }

/* ── 03 Equipamiento ── */
.flota-equip-head { max-width: 860px; margin-bottom: clamp(40px, 5vw, 72px); }
.flota-equip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.flota-product {
  display: flex; flex-direction: column; border-radius: var(--flota-r-lg); overflow: hidden;
  background: linear-gradient(170deg, oklch(0.3 0.052 155), oklch(0.22 0.045 155));
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.1), 0 40px 80px -48px oklch(0.06 0.03 155 / 0.95);
  transition: box-shadow .3s ease, transform .3s var(--ease);
}
.flota-product:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px oklch(0.86 0.13 125 / 0.4), 0 44px 84px -44px oklch(0.06 0.03 155 / 0.95); }
.flota-product-stage { --pad: clamp(20px, 3vw, 40px); margin: 10px 10px 0; aspect-ratio: 4 / 3; border-radius: calc(var(--flota-r-lg) - 8px); }
.flota-product-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.8vw, 36px); }
.flota-product-meta { margin: 0; display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); }
.flota-product-meta span { color: oklch(0.975 0.005 100 / 0.5); }
.flota-product-body h3 { margin: 0; font-weight: 500; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.06; letter-spacing: -0.035em; }
.flota-product-body p:not(.flota-product-meta) { margin: 0; max-width: 46ch; font-size: 17px; line-height: 1.6; color: oklch(0.975 0.005 100 / 0.8); text-wrap: pretty; }

/* ── 04 Telemedición (protagonista) ── */
.flota-tele { position: relative; isolation: isolate; overflow: hidden; }
.flota-tele::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 40% at 70% 32%, oklch(0.86 0.13 125 / 0.1), transparent 70%),
    linear-gradient(oklch(1 0 0 / 0.03) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, oklch(1 0 0 / 0.03) 1px, transparent 1px) 0 0 / 64px 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.flota-tele-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.flota-tele-title { margin: 0; font-weight: 500; font-size: clamp(48px, 7.4vw, 112px); line-height: .92; letter-spacing: -0.05em; }
.flota-tele-lead { margin: 0; max-width: 30ch; font-size: clamp(20px, 2vw, 28px); line-height: 1.35; letter-spacing: -0.015em; color: var(--paper); text-wrap: pretty; }
.flota-tele-figures { display: flex; flex-direction: column; gap: clamp(28px, 3.2vw, 44px); }
.flota-tele-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.flota-figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.flota-screen {
  padding: 8px; border-radius: 20px;
  background: linear-gradient(160deg, oklch(0.38 0.03 150), oklch(0.15 0.02 155));
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.16), 0 40px 80px -36px oklch(0.02 0.02 155 / 0.95), 0 0 0 6px oklch(1 0 0 / 0.025);
}
.flota-screen img { display: block; width: 100%; height: auto; border-radius: 13px; background: #fff; }
.flota-figure figcaption { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: oklch(0.975 0.005 100 / 0.72); }
.flota-figure figcaption::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px oklch(0.86 0.13 125 / 0.2); }
.flota-tele-note { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 3vw, 40px); border-radius: var(--flota-r-lg); background: oklch(1 0 0 / 0.04); box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.1); }
.flota-tele-note-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; color: var(--ink); background: var(--lime); }
.flota-tele-note p { margin: 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: oklch(0.975 0.005 100 / 0.86); text-wrap: pretty; }
.flota-tele-note .flota-tele-hint { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: oklch(0.975 0.005 100 / 0.55); }

/* Ampliación: el marco .flota-screen pasa a ser un botón (mismo aspecto) con un ícono discreto */
.flota-zoom { position: relative; display: block; width: 100%; margin: 0; border: 0; font: inherit; color: inherit; text-align: left; cursor: zoom-in; transition: box-shadow .3s ease, transform .3s var(--ease); }
.flota-zoom:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px oklch(0.86 0.13 125 / 0.45), 0 30px 50px -24px oklch(0.05 0.03 155 / 0.95); }
.flota-zoom:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
/* Ícono sobre la esquina superior derecha del marco (zona vacía en ambas imágenes): no tapa datos */
.flota-zoom-icon { position: absolute; right: -10px; top: -10px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: oklch(0.2 0.05 155 / 0.78); border: 1px solid oklch(1 0 0 / 0.22); box-shadow: 0 6px 16px -6px oklch(0.05 0.03 155 / 0.8); transition: background-color .2s, color .2s; }
.flota-zoom-icon svg { width: 16px; height: 16px; display: block; }
.flota-zoom:hover .flota-zoom-icon, .flota-zoom:focus-visible .flota-zoom-icon { background: var(--lime); color: var(--ink); }

.flota-zoom-dialog { width: min(1240px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0; border: 1px solid oklch(1 0 0 / 0.14); border-radius: 20px; background: oklch(0.2 0.04 155); color: var(--paper); box-shadow: 0 40px 80px -20px oklch(0.02 0.02 155 / 0.9); overflow: hidden; }
.flota-zoom-dialog[open] { display: flex; flex-direction: column; }
.flota-zoom-dialog::backdrop { background: oklch(0.1 0.03 155 / 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.flota-zoom-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-bottom: 1px solid oklch(1 0 0 / 0.1); }
.flota-zoom-title { margin: 0; min-width: 0; font-family: var(--mono); font-size: 11px; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: oklch(0.975 0.005 100 / 0.72); }
.flota-zoom-actions { display: flex; gap: 8px; flex: none; }
.flota-zoom-btn { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid oklch(1 0 0 / 0.2); background: oklch(1 0 0 / 0.05); color: var(--paper); font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.flota-zoom-close { width: 44px; padding: 0; font-size: 16px; }
.flota-zoom-btn:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.flota-zoom-btn:focus-visible, .flota-zoom-body:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.flota-zoom-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 16px; display: grid; place-items: center; }
/* Ajustada: imagen completa, con su proporción, dentro de la pantalla */
.flota-zoom-body img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 24px - 66px - 32px); border-radius: 12px; background: #fff; }
/* Más grande: hasta su tamaño real (o el doble del ancho disponible), con desplazamiento dentro del diálogo */
.flota-zoom-dialog.is-zoomed .flota-zoom-body { place-items: start; }
.flota-zoom-dialog.is-zoomed .flota-zoom-body img { max-width: none; max-height: none; width: max(100%, min(220%, var(--nat, 100%))); }
@media (max-width: 640px) {
  .flota-zoom-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 16px; }
  .flota-zoom-bar { padding: 8px 8px 8px 14px; }
  .flota-zoom-title { font-size: 10px; }
  .flota-zoom-btn { padding: 0 12px; font-size: 13px; }
  .flota-zoom-close { padding: 0; }
  .flota-zoom-body { padding: 10px; }
  .flota-zoom-body img { max-height: calc(100dvh - 16px - 62px - 20px); border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) { .flota-zoom, .flota-zoom-icon, .flota-zoom-btn { transition: none; } .flota-zoom:hover { transform: none; } }

/* ── 05 Apps relacionadas (sobre .apps-page.v2: mismo fondo, colores por área y marco de teléfono del catálogo) ── */
.flota-page .flota-apps { padding: var(--flota-band-y) 0; }
.flota-apps .flota-h2 { color: var(--on-deep); }
.flota-apps-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.flota-apps-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(14px, 1.6vw, 24px); align-items: stretch; }
/* Tarjeta base compartida (destacada y compactas) */
.flota-app-feature, .flota-app {
  position: relative; overflow: hidden; isolation: isolate; color: var(--on-deep);
  border-radius: var(--flota-r-lg);
  background: linear-gradient(160deg, oklch(0.28 0.05 155), oklch(0.225 0.045 155));
  border: 1px solid var(--hairline);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.06), 0 1px 2px oklch(0.1 0.03 155 / 0.4);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s var(--ease);
}
.flota-app-feature::before, .flota-app::before { content: ''; position: absolute; inset: -40% -30% auto auto; width: 70%; height: 80%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, color-mix(in oklch, var(--accent) 22%, transparent), transparent); opacity: .7; transition: opacity .3s; }
.flota-app-feature::after, .flota-app::after { content: ''; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); opacity: .85; }
.flota-app-feature:hover, .flota-app:hover { color: var(--on-deep); border-color: color-mix(in oklch, var(--accent) 45%, transparent); transform: translateY(-3px); box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.08), 0 24px 48px -28px oklch(0.06 0.03 155 / 0.95); }
.flota-app-feature:hover::before, .flota-app:hover::before { opacity: 1; }
.flota-app-feature:focus-visible, .flota-app:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.flota-app-head { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; }
.flota-apps .v2-icon { width: 56px; height: 56px; }
.flota-app-cta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-deep-muted); transition: color .2s; }
.flota-app-feature:hover .flota-app-cta, .flota-app:hover .flota-app-cta { color: var(--accent); }

/* Destacada: AgroTI Tractores, con dos capturas superpuestas */
.flota-app-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 40px); padding: clamp(24px, 3vw, 40px); }
.flota-app-feature-text { display: flex; flex-direction: column; gap: 18px; }
.flota-app-feature .v2-name { font-size: clamp(22px, 2vw, 28px); }
.flota-app-feature-tagline { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; line-height: 1.2; letter-spacing: -0.025em; text-wrap: balance; }
.flota-app-feature .v2-desc { font-size: 16px; }
.flota-app-features { display: flex; flex-direction: column; gap: 9px; margin-top: 2px; }
.flota-app-features > span { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; color: var(--on-deep-soft); }
.flota-app-features > span::before { content: ''; position: absolute; left: 0; top: .18em; width: 16px; height: 16px; border-radius: 50%; background: color-mix(in oklch, var(--accent) 20%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--accent) 55%, transparent); }
.flota-app-features > span::after { content: ''; position: absolute; left: 5.5px; top: calc(.18em + 4px); width: 4px; height: 7px; border: solid var(--accent); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.flota-app-feature .flota-app-cta { margin-top: auto; padding-top: 8px; }
/* Dos capturas: lista de tractores al frente, reporte diario detrás; ambas completas */
.flota-app-feature-phones { display: flex; align-items: center; justify-content: center; padding: 12px 0; }
.flota-app-feature-phones .v2-phone { position: relative; flex: 0 0 auto; width: min(60%, 240px); }
.flota-phone--front { order: 1; z-index: 2; transform: rotate(-4deg) translateY(18px); }
.flota-phone--back { order: 2; z-index: 1; margin-left: -20%; transform: rotate(5deg) translateY(-18px); opacity: .94; }
.flota-app-feature:hover .flota-phone--front { transform: rotate(-5deg) translateY(12px); }
.flota-app-feature-phones .v2-phone { transition: transform .4s var(--ease); }

/* Compactas: Surtidas, Tanques y Cisternas */
.flota-app-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.flota-app-list > li { display: flex; }
.flota-app {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 96px; grid-template-areas: "head shot" "tag shot" "cta shot";
  gap: 10px 18px; align-items: start; padding: 20px 20px 20px 24px;
}
.flota-app .flota-app-head { grid-area: head; }
.flota-app .v2-name { font-size: 18px; }
.flota-app .v2-tagline { grid-area: tag; margin: 0; font-size: 15.5px; }
.flota-app .flota-app-cta { grid-area: cta; align-self: end; }
.flota-app .v2-phone { grid-area: shot; width: 96px; padding: 3px; border-radius: 16px; transition: transform .35s var(--ease); }
.flota-app .v2-phone img { border-radius: 13px; aspect-ratio: 9 / 16; }
.flota-app:hover .v2-phone { transform: translateY(-3px) rotate(-1.5deg); }

/* ── Proveedores y regreso ── */
.flota-page .flota-partners-band { padding: clamp(56px, 6vw, 88px) 0 clamp(48px, 5vw, 72px); }
.flota-partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: var(--flota-r-lg); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px oklch(0.18 0.01 150 / 0.08), 0 30px 60px -44px oklch(0.26 0.05 155 / 0.5); }
.flota-partner { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: clamp(32px, 4vw, 56px) 24px; text-align: center; color: var(--ink); transition: background-color .25s; }
.flota-partner + .flota-partner { border-left: 1px solid oklch(0.18 0.01 150 / 0.08); }
.flota-partner:hover { color: var(--ink); background: oklch(0.975 0.01 125); }
.flota-partner:focus-visible { outline: 2px solid var(--green); outline-offset: -4px; }
.flota-partner-label { font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.02em; color: var(--muted); }
.flota-partner-logo { height: clamp(64px, 7vw, 96px); display: flex; align-items: center; }
.flota-partner-logo img { display: block; width: auto; height: 100%; }
.flota-partner-logo img[src$="logo-montesur.png"] { height: 64%; }
.flota-partner-link { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.flota-page .flota-back { margin-top: clamp(32px, 4vw, 48px); }
.flota-page .btn-back:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.flota-page .flota-apps .btn-back:focus-visible { outline-color: var(--lime); }

/* ── Ajuste de densidad en escritorio (03 Equipamiento, 04 Telemedición, 05 Apps) ──
   Solo ≥1100 px: menos aire vertical para que entre más contenido en pantallas de ~900 px de alto.
   Las imágenes siguen completas (contain / proporción natural); tablet y móvil no cambian. */
@media (min-width: 1100px) {
  #equipos, #telemedicion, .flota-page #apps-relacionadas { --flota-band-y: clamp(56px, 4.2vw, 72px); }
  #equipos .eyebrow, #telemedicion .eyebrow, #apps-relacionadas .eyebrow { margin-bottom: 12px; }
  /* 03 Equipamiento */
  #equipos .flota-equip-head { margin-bottom: clamp(24px, 2vw, 32px); }
  #equipos .flota-h2 { font-size: clamp(34px, 3.6vw, 56px); }
  #equipos .flota-product-stage { --pad: clamp(20px, 2vw, 32px); aspect-ratio: 16 / 10; }
  #equipos .flota-product-body { gap: 10px; padding: clamp(18px, 1.6vw, 24px) clamp(22px, 2vw, 30px) clamp(22px, 2vw, 30px); }
  /* 04 Telemedición */
  #telemedicion .flota-tele-head { margin-bottom: clamp(24px, 2vw, 28px); }
  #telemedicion .flota-tele-title { font-size: clamp(48px, 4.4vw, 76px); }
  #telemedicion .flota-tele-figures { gap: clamp(24px, 2.2vw, 36px); }
  #telemedicion .flota-figure { gap: 10px; }
  /* 05 Apps relacionadas */
  #apps-relacionadas .flota-h2 { font-size: clamp(34px, 3.4vw, 52px); }
  #apps-relacionadas .flota-apps-head { margin-bottom: clamp(24px, 2vw, 28px); }
  #apps-relacionadas .flota-apps-grid, #apps-relacionadas .flota-app-list { gap: 16px; }
  #apps-relacionadas .flota-app-feature { padding: clamp(24px, 2.2vw, 28px); }
  #apps-relacionadas .flota-app-feature-text { gap: 12px; }
  #apps-relacionadas .flota-app-feature-phones { padding: 4px 0; }
  #apps-relacionadas .flota-app-feature-phones .v2-phone { width: min(56%, 200px); }
  #apps-relacionadas .flota-app { padding: 16px 18px 16px 24px; }
  #apps-relacionadas .flota-app .v2-phone { width: 84px; }
}

/* ── Responsive ── */
@media (max-width: 1099.98px) {
  .flota-system { grid-template-columns: minmax(0, 1fr); }
  .flota-system-text .flota-h2 { max-width: none; }
  .flota-caps { flex-direction: row; gap: 24px; }
  .flota-cap { flex: 1; border-bottom: 1px solid oklch(0.18 0.01 150 / 0.12); }
  .flota-key { grid-template-columns: minmax(0, 1fr); }
  .flota-key-body { border-left: 0; border-top: 1px solid oklch(0.18 0.01 150 / 0.06); }
  .flota-key-stage { aspect-ratio: 4 / 3; }
  .flota-tele-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .flota-apps-grid { grid-template-columns: minmax(0, 1fr); }
  .flota-app-list { grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flota-app { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "tag" "shot" "cta"; }
  .flota-app .v2-phone { width: min(100%, 150px); justify-self: center; margin: 6px 0; }
}
@media (max-width: 899.98px) {
  .flota-hero-nav ol { grid-template-columns: repeat(5, auto); overflow-x: auto; scrollbar-width: none; }
  .flota-hero-nav ol::-webkit-scrollbar { display: none; }
  .flota-hero-nav a { white-space: nowrap; padding: 16px 16px; font-size: 14px; }
  .flota-tele-head { grid-template-columns: minmax(0, 1fr); }
  .flota-tele-row { grid-template-columns: minmax(0, 1fr); }
  .flota-app-feature { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}
@media (max-width: 700px) {
  .flota-page { --flota-band-y: 64px; }
  .flota-page .flota-hero { min-height: clamp(520px, calc(90svh - var(--nav-h)), 720px); }
  /* Refinamiento móvil: la foto (2:1) ocupa la mitad superior del hero en lugar de cubrirlo entero.
     Así se ve cerca del 60 % de su ancho (antes, el 27 %): cosechadora y tractor a la vez.
     Se funde hacia abajo con el mismo verde del velo; el texto queda sobre fondo liso. */
  .flota-hero-photo { inset: 0 0 auto 0; height: clamp(280px, 50%, 380px); object-position: 46% 50%;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%); }
  .flota-hero::after {
    background:
      linear-gradient(0deg, oklch(var(--veil) / 0.96) 0%, oklch(var(--veil) / 0.9) 40%, oklch(var(--veil) / 0.3) 54%, oklch(var(--veil) / 0) 66%),
      linear-gradient(180deg, oklch(var(--veil) / 0.5) 0%, oklch(var(--veil) / 0) 20%);
  }
  .flota-page .flota-breadcrumb { font-size: 11px; gap: 4px 8px; padding: 7px 12px; border-radius: 14px; }
  .flota-hero-title { font-size: clamp(38px, 11.4vw, 52px); }
  .flota-hero-lead { font-size: 16.5px; padding-right: 40px; }
  /* Franja libre a la derecha para el botón flotante de WhatsApp */
  .flota-hero-nav ol { padding-right: 40px; scroll-padding-inline: 20px; }
  /* Indicación de que la navegación continúa: flecha en una columna propia a la derecha de la barra
     (no se superpone a los enlaces; la barra desplazable termina antes). No captura toques. */
  .flota-hero-nav { display: flex; }
  .flota-hero-nav ol { flex: 1 1 auto; min-width: 0; margin: 0; }
  .flota-hero-nav::after {
    content: '→'; flex: none; width: 44px; pointer-events: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; color: var(--lime);
    border-left: 1px solid oklch(1 0 0 / 0.12);
  }
  /* Con el foco de teclado dentro de la barra, el indicador se oculta para no tapar el enlace activo */
  .flota-hero-nav:focus-within::after { display: none; }
  /* Mejora progresiva (Chromium): el indicador se desvanece al llegar al final del desplazamiento.
     Sin soporte de animation-timeline, queda visible y fijo. */
  @supports (animation-timeline: scroll()) {
    .flota-hero-nav { timeline-scope: --flota-nav; }
    .flota-hero-nav ol { scroll-timeline: --flota-nav inline; }
    .flota-hero-nav::after { animation: flota-nav-hint linear both; animation-timeline: --flota-nav; animation-range: 75% 100%; }
  }
  /* Leyendas de Telemedición: 11 → 12 px (las únicas por debajo de 12 px en móvil) */
  .flota-page .flota-figure figcaption { font-size: 12px; line-height: 1.45; }
  .flota-h2 { font-size: clamp(32px, 9vw, 42px); }
  .flota-caps { flex-direction: column; gap: 0; }
  .flota-cap { border-bottom: 0; }
  .flota-cap:last-child { border-bottom: 1px solid oklch(0.18 0.01 150 / 0.12); }
  .flota-console-list li { grid-template-columns: 44px 28px minmax(0, 1fr); gap: 12px; padding: 13px 0; }
  .flota-console-icon { width: 44px; height: 44px; border-radius: 12px; }
  .flota-console-label { font-size: 18px; }
  .flota-keys-grid, .flota-equip-grid { grid-template-columns: minmax(0, 1fr); }
  .flota-key { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .flota-key-stage { aspect-ratio: 1 / 1; }
  .flota-key-body { border-top: 0; border-left: 1px solid oklch(0.18 0.01 150 / 0.06); padding: 18px; }
  .flota-key-body h3 { font-size: 21px; }
  .flota-key-body p { font-size: 16px; }
  .flota-product-body p:not(.flota-product-meta) { font-size: 16px; }
  .flota-tele-title { font-size: clamp(46px, 14vw, 64px); }
  .flota-tele-lead { font-size: 20px; }
  .flota-screen { padding: 5px; border-radius: 16px; }
  .flota-screen img { border-radius: 11px; }
  .flota-tele-note { padding: 22px; }
  .flota-tele-note p { font-size: 17px; }
  .flota-app-feature { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .flota-app-feature-phones { padding: 20px 0 8px; }
  .flota-app-feature-phones .v2-phone { width: 150px; }
  .flota-app-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .flota-app { grid-template-columns: minmax(0, 1fr) 88px; grid-template-areas: "head shot" "tag shot" "cta shot"; padding: 18px 16px 16px 18px; border-radius: 18px; }
  .flota-app .v2-phone { width: 88px; margin: 0; justify-self: end; }
  .flota-app-feature::after, .flota-app::after { top: 18px; bottom: 18px; }
  .flota-partners { grid-template-columns: minmax(0, 1fr); }
  .flota-partner + .flota-partner { border-left: 0; border-top: 1px solid oklch(0.18 0.01 150 / 0.08); }
  .flota-partner { padding: 28px 20px; gap: 16px; }
  .flota-partner-logo { height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .flota-key, .flota-product, .flota-app-feature, .flota-app, .flota-app-feature::before, .flota-app::before, .flota-app .v2-phone, .flota-app-feature-phones .v2-phone, .flota-app-cta, .flota-partner, .flota-hero-nav a { transition: none; }
  .flota-key:hover, .flota-product:hover, .flota-app-feature:hover, .flota-app:hover, .flota-app:hover .v2-phone, .flota-app-feature:hover .flota-phone--front { transform: none; }
  .flota-app-feature:hover .flota-phone--front { transform: rotate(-4deg) translateY(18px); }
}
@keyframes flota-nav-hint { from { opacity: 1; } to { opacity: 0; } }
