/* Flexline Transport — Apple Pro & Linear-Grade Motion UX (v31) */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-500-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-500-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-500-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #070B12;
  --bg-alt: #0B111D;
  --surface: rgba(18, 27, 43, 0.78);
  --surface-hover: rgba(24, 36, 58, 0.92);
  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(56, 189, 248, 0.28);
  --text: #F8FAFC;
  --text-muted: #A6B5CB;
  --accent: #38BDF8;
  --primary: #0A84FF;
  --primary-hover: #2592FF;
  --wa: #22C55E;
  --amber: #F59E0B;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Manrope", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.25rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Foco visible para teclado en toda la página (v45). */
:focus-visible {
  outline: 0.125rem solid var(--accent);
  outline-offset: 0.1875rem;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* AMBIENT INTERACTIVE BACKGROUND CANVAS */
.ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

main, .site-footer {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease-spring), background-color 0.25s var(--ease-spring), border-color 0.25s var(--ease-spring), transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-spring);
}

h1, h2, h3, p {
  margin: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.skip-link {
  position: absolute;
  left: -624.9375rem;
  top: 0.5rem;
  z-index: 200;
  background: var(--primary);
  color: #fff;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
}
.skip-link:focus {
  left: 1rem;
}

/* KEYFRAME ANIMATIONS */
@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
    box-shadow: 0 0 0 0.4375rem rgba(34, 197, 94, 0);
  }
}

@keyframes orbFloat1 {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-2.5rem, 1.75rem, 0) scale(1.12);
  }
}

@keyframes orbFloat2 {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(2.25rem, -1.5rem, 0) scale(1.08);
  }
}

@keyframes shimmerSweep {
  0% {
    transform: translateX(-140%) skewX(-20deg);
  }
  100% {
    transform: translateX(240%) skewX(-20deg);
  }
}

@keyframes routeDotMove {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateX(6.25rem);
    opacity: 0;
  }
}

@keyframes kenBurnsSlow {
  0%, 100% {
    transform: scale(1.01) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.07) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes progressCycle1 {
  0%, 100% { width: 64%; }
  50% { width: 86%; }
}
@keyframes progressCycle2 {
  0%, 100% { width: 42%; }
  50% { width: 74%; }
}
@keyframes progressCycle3 {
  0%, 100% { width: 100%; }
  50% { width: 100%; }
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.375rem);
  }
}

/* SCROLL REVEAL TRANSITIONS (SAFE FALLBACK WHEN JS NOT ACTIVE) */
html.js-motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 1.625rem, 0) scale(0.975);
  transition:
    opacity 0.65s var(--ease-spring),
    transform 0.7s var(--ease-spring);
  will-change: opacity, transform;
}

html.js-motion [data-reveal="scale"] {
  transform: translate3d(0, 1.25rem, 0) scale(0.95);
}

html.js-motion [data-reveal].in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

html.js-motion [data-delay="1"] { transition-delay: 0.05s; }
html.js-motion [data-delay="2"] { transition-delay: 0.12s; }
html.js-motion [data-delay="3"] { transition-delay: 0.19s; }
html.js-motion [data-delay="4"] { transition-delay: 0.26s; }
html.js-motion [data-delay="5"] { transition-delay: 0.33s; }
html.js-motion [data-delay="6"] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  html.js-motion [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 76.25rem;
  margin: 0 auto;
  padding: 0 clamp(1.125rem, 4vw, 2.5rem);
}

/* STICKY HEADER (NEVER OVERLAPS HERO) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 18, 0.78);
  backdrop-filter: saturate(190%) blur(1.375rem);
  -webkit-backdrop-filter: saturate(190%) blur(1.375rem);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(7, 11, 18, 0.92);
  box-shadow: 0 0.75rem 2.5rem rgba(0, 0, 0, 0.55);
}

.scroll-progress-svg {
  display: block;
  width: 100%;
  height: 0.125rem;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
  min-height: 4rem;
}

@media (min-width: 1024px) {
  .header-inner {
    gap: 1rem;
    min-height: 4.5rem;
  }
}

.brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.brand img {
  height: 1.875rem;
  width: auto;
  transition: transform 0.3s var(--ease-spring);
}

@media (min-width: 1024px) {
  .brand img {
    height: 2.0625rem;
  }
}
.brand:hover img {
  transform: scale(1.04);
}

/* Menú: plegado bajo un botón por debajo de 1024 px; en fila a partir de 1024 px (v45). */
.main-nav {
  display: none;
  align-items: center;
  gap: clamp(0.875rem, 1.6vw, 1.625rem);
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.5rem;
  height: 0.125rem;
  border-radius: 0.125rem;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease-spring);
}

.main-nav a:hover,
.main-nav a.is-current {
  color: #fff;
}

.main-nav a:hover::after,
.main-nav a.is-current::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 62.4375rem;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav-toggle[hidden] {
  display: none;
}

.nav-toggle:hover {
  background: rgba(56, 189, 248, 0.14);
  border-color: var(--accent);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.125rem;
  height: 0.125rem;
  border-radius: 0.125rem;
  background: currentColor;
  transition: transform 0.3s var(--ease-spring), background-color 0.2s ease;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -0.375rem;
}

.nav-toggle-bars::after {
  top: 0.375rem;
}

.nav-open .nav-toggle-bars {
  background: transparent;
}

.nav-open .nav-toggle-bars::before {
  transform: translateY(0.375rem) rotate(45deg);
}

.nav-open .nav-toggle-bars::after {
  transform: translateY(-0.375rem) rotate(-45deg);
}

@media (max-width: 1023.98px) {
  .header-actions {
    order: 1;
    margin-left: auto;
  }

  .nav-toggle {
    order: 2;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 110;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 4.5rem);
    max-height: calc(100dvh - 4.5rem);
    overflow-y: auto;
    padding: 0.375rem clamp(1.125rem, 4vw, 2.5rem) 0.875rem;
    background: #090E17;
    border-bottom: 1px solid var(--border-strong);
    box-shadow: 0 1.75rem 3.5rem rgba(0, 0, 0, 0.6);
  }

  .site-header.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    display: flex;
    min-height: 3.25rem;
    padding: 0 0.25rem;
    font-size: 1.0625rem;
    color: var(--text);
    white-space: normal;
  }

  .main-nav a + a {
    border-top: 1px solid var(--border);
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a.is-current {
    color: var(--accent);
  }
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }

  .main-nav a {
    min-width: 2.75rem;
    justify-content: center;
  }

  .nav-toggle {
    display: none;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

/* En el móvil el botón de oferta ya está en la barra de abajo. */
@media (max-width: 719.98px) {
  .header-actions .header-cta {
    display: none;
  }
}

/* LANGUAGE SELECTOR */
.lang-menu {
  position: relative;
}

.lang-menu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  padding: 0 0.875rem;
  border-radius: 62.4375rem;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-spring);
}

.lang-menu summary:hover {
  background: rgba(56, 189, 248, 0.14);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.lang-menu summary::-webkit-details-marker {
  display: none;
}

.lang-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.625rem);
  width: min(27.5rem, calc(100vw - 2rem));
  max-height: 70vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.625rem;
  background: #0D1422;
  border: 1px solid var(--border-strong);
  border-radius: 1rem;
  box-shadow: 0 1.5rem 3.75rem rgba(0, 0, 0, 0.75);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.25rem;
  z-index: 120;
}

/* Móvil: la lista ocupa el ancho de la cabecera y no se sale por la izquierda. */
@media (max-width: 599.98px) {
  .lang-menu {
    position: static;
  }

  .lang-dropdown {
    left: 0.75rem;
    right: 0.75rem;
    top: calc(100% + 0.25rem);
    width: auto;
    max-height: calc(100vh - 6rem);
    max-height: calc(100dvh - 6rem);
  }
}

@media (max-width: 359.98px) {
  .lang-dropdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lang-dropdown a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.84375rem;
  line-height: 1.25;
  color: var(--text-muted);
  border: 1px solid transparent;
}

.lang-dropdown a:hover {
  background: rgba(56, 189, 248, 0.1);
  color: #fff;
  transform: translateX(0.125rem);
}

.lang-dropdown a[aria-current="true"] {
  background: rgba(10, 132, 255, 0.22);
  border-color: var(--primary);
  color: #fff;
  font-weight: 700;
}

/* BUTTONS */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.625rem;
  border-radius: 62.4375rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-spring), background-color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-0.125rem) scale(1.02);
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn-sm {
  min-height: 2.75rem;
  padding: 0 1.125rem;
  font-size: 0.84375rem;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0A84FF 0%, #0265D2 100%);
  color: #fff;
  box-shadow: 0 0.5rem 1.625rem rgba(10, 132, 255, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2592FF 0%, #0A84FF 100%);
  box-shadow: 0 0.875rem 2.25rem rgba(56, 189, 248, 0.48);
  color: #fff;
}

/* v45: sin destello en bucle sobre los botones; el botón se ve sin perseguir al visitante. */
.btn-glow::after {
  content: none;
}

/* Cabecera: el botón de oferta, presente pero tranquilo (tinte, sin resplandor). */
.btn-primary.header-cta {
  background: rgba(10, 132, 255, 0.16);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: none;
}

.btn-primary.header-cta:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: none;
  transform: none;
}

.icon-arrow {
  transition: transform 0.3s var(--ease-spring);
}
.btn:hover .icon-arrow {
  transform: translateX(0.25rem);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(0.625rem);
}
.btn-secondary:hover {
  background-color: rgba(56, 189, 248, 0.14);
  border-color: var(--accent);
  box-shadow: 0 0.625rem 1.75rem rgba(56, 189, 248, 0.2);
  color: #fff;
}

.btn-wa {
  background: linear-gradient(135deg, #22C55E 0%, #15803D 100%);
  color: #fff;
  box-shadow: 0 0.5rem 1.5rem rgba(34, 197, 94, 0.3);
}
.btn-wa:hover {
  box-shadow: 0 0.875rem 2.125rem rgba(34, 197, 94, 0.45);
  color: #fff;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Móvil: los botones a todo el ancho; en la misma fila solo si caben sin partir el texto. */
@media (max-width: 599.98px) {
  .btn-group .btn {
    flex: 1 1 auto;
  }
}

/* TYPOGRAPHY HELPERS */
.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.4375rem 0.9375rem;
  margin-bottom: 1.125rem;
  border-radius: 62.4375rem;
  background: rgba(10, 132, 255, 0.13);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 1.5rem rgba(10, 132, 255, 0.2);
}

.pulse-ring {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--wa);
  animation: pulseGlow 2.2s infinite;
  flex-shrink: 0;
}

.eyebrow-text {
  font-size: clamp(0.75rem, 0.25vw + 0.7rem, 0.8125rem);
  font-weight: 700;
  line-height: 1.45;
  color: #E0F2FE;
  letter-spacing: 0.01em;
}

.section-title {
  font-size: clamp(1.625rem, 1.6vw + 1.25rem, 2.625rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.022em;
  color: #fff;
  max-width: 25ch;
  text-wrap: balance;
}

.section-lead {
  margin-top: 0.875rem;
  font-size: clamp(1rem, 0.35vw + 0.9375rem, 1.15625rem);
  line-height: 1.62;
  color: var(--text-muted);
  max-width: 62ch;
}

/* HERO SECTION */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 6vw, 4.75rem) 0 clamp(3.25rem, 7.5vw, 5.875rem);
  border-bottom: 1px solid var(--border);
}

.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(5.3125rem);
  pointer-events: none;
  z-index: 0;
}

.hero-orb-1 {
  width: 30rem;
  height: 30rem;
  right: 5%;
  top: -5rem;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.28), transparent 70%);
  animation: orbFloat1 11s ease-in-out infinite;
}

.hero-orb-2 {
  width: 23.75rem;
  height: 23.75rem;
  left: -5rem;
  bottom: -3.75rem;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 70%);
  animation: orbFloat2 14s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

/* Portada apilada (titular, texto, botones y después el Radar) hasta 960 px; a dos columnas desde ahí (v45). */
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
  }
}

.hero-copy {
  min-width: 0;
}

.hero-title {
  font-size: clamp(2rem, 2.2vw + 1.5rem, 3.375rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
  background: linear-gradient(180deg, #FFFFFF 0%, #CFE6FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #fff;
  margin-bottom: 1.125rem;
}

.hero-lead {
  font-size: clamp(1rem, 0.45vw + 0.925rem, 1.1875rem);
  line-height: 1.62;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 54ch;
}

.hero-subnote {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-visual {
  min-width: 0;
}

.map-card {
  position: relative;
  background: rgba(11, 17, 29, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 1.375rem;
  overflow: hidden;
  box-shadow: 0 1.75rem 4.375rem rgba(0, 0, 0, 0.65), 0 0 2.8125rem rgba(10, 132, 255, 0.18);
  animation: floatCard 7s ease-in-out infinite;
}

.map-card-hud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6875rem 1rem;
  background: rgba(15, 23, 38, 0.95);
  border-bottom: 1px solid var(--border);
  font-size: 0.71875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #E2E8F0;
}

.hud-corridor {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.71875rem;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hud-corridor.switching {
  opacity: 0;
  transform: translateY(0.25rem);
}

.map-card-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #060A11;
}

/* Móvil: el mapa entero, sin recortar Europa. */
@media (max-width: 599.98px) {
  .map-card-stage {
    aspect-ratio: 1103 / 941;
  }
}

.map-card-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 42%;
  /* Sin ken-burns: el mapa tiene que quedarse quieto para que las etiquetas
     del radar (canvas) caigan sobre su ciudad. El movimiento lo pone el canvas. */
  animation: none;
}

.map-overlay-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.map-caption {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.8125rem 1.125rem;
  background: rgba(15, 23, 38, 0.95);
  border-top: 1px solid var(--border);
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--text-muted);
}

.status-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--wa);
  animation: pulseGlow 2.2s infinite;
  flex-shrink: 0;
}

/* SECTIONS */
.section {
  position: relative;
  padding: clamp(3.75rem, 8.5vw, 6.5rem) 0;
  border-bottom: 1px solid var(--border);
}

.section-alt {
  background: linear-gradient(180deg, rgba(11, 17, 29, 0.88) 0%, rgba(7, 11, 18, 0.92) 100%);
}

.section-head {
  margin-bottom: clamp(2.125rem, 4.8vw, 3.25rem);
}

/* SERVICES GRID */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19.375rem), 1fr));
  gap: 1.375rem;
}

.service-item {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: clamp(1.375rem, 2vw + 0.875rem, 1.75rem);
  background: var(--surface);
  backdrop-filter: blur(0.875rem);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  min-width: 0;
  transition:
    transform 0.4s var(--ease-spring),
    border-color 0.35s ease,
    background-color 0.35s ease,
    box-shadow 0.4s var(--ease-spring);
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.125rem;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
  opacity: 0.4;
  transition: opacity 0.35s ease;
}

.service-item:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  transform: translateY(-0.5rem) scale(1.015);
  box-shadow: 0 1.375rem 3rem rgba(0, 0, 0, 0.55), 0 0 2rem rgba(56, 189, 248, 0.16);
}

.service-item:hover::before {
  opacity: 1;
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.service-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 132, 255, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent);
  transition: transform 0.35s var(--ease-spring), background-color 0.35s ease;
}

.service-icon .icon {
  width: 1.375rem;
  height: 1.375rem;
}

.service-icon-cyan {
  background: rgba(56, 189, 248, 0.16);
  color: #7DD3FC;
}

.service-icon-amber {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.35);
  color: #FBBF24;
}

.service-icon-green {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(34, 197, 94, 0.35);
  color: #4ADE80;
}

.service-item:hover .service-icon {
  transform: scale(1.1) rotate(-4deg);
}

.service-tag {
  padding: 0.25rem 0.625rem;
  border-radius: 62.4375rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.service-item h3 {
  font-size: 1.21875rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.service-item p {
  font-size: 0.9375rem;
  line-height: 1.58;
  color: var(--text-muted);
}

.service-arrow {
  align-self: flex-end;
  margin-top: auto;
  color: var(--accent);
  opacity: 0.55;
  transform: translateX(0);
  transition: transform 0.3s var(--ease-spring), opacity 0.3s ease;
}

.service-item:hover .service-arrow {
  opacity: 1;
  transform: translateX(0.375rem);
}

/* FLEET VISUAL SHOWCASE STRIP */
.fleet-showcase {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.125rem), 1fr));
  gap: 1.25rem;
}

.fleet-card {
  position: relative;
  border-radius: 1.125rem;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  aspect-ratio: 16 / 10;
  background: #06090F;
  box-shadow: 0 1.125rem 2.75rem rgba(0, 0, 0, 0.48);
}

.fleet-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-spring);
}

.fleet-card:hover img {
  transform: scale(1.08);
}

.fleet-badge {
  position: absolute;
  left: 0.875rem;
  bottom: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 0.8125rem;
  border-radius: 62.4375rem;
  background: rgba(7, 11, 18, 0.82);
  backdrop-filter: blur(0.75rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.71875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

/* COVERAGE PILLARS & COUNTRIES */
.coverage-pillars {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.375rem;
  margin-bottom: 1.875rem;
}

/* Tableta: dos columnas y la tercera tarjeta a lo ancho; escritorio: tres. */
@media (min-width: 600px) {
  .coverage-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coverage-pillars > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .coverage-pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .coverage-pillars > :last-child:nth-child(odd) {
    grid-column: auto;
  }
}

.pillar {
  position: relative;
  padding: clamp(1.375rem, 2vw + 0.875rem, 1.75rem);
  background: var(--surface);
  backdrop-filter: blur(0.875rem);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  min-width: 0;
  transition: transform 0.35s var(--ease-spring), border-color 0.35s ease, box-shadow 0.35s ease;
}

.pillar:hover {
  transform: translateY(-0.375rem);
  border-color: var(--accent);
  box-shadow: 0 1.25rem 2.75rem rgba(0, 0, 0, 0.5), 0 0 1.75rem rgba(56, 189, 248, 0.14);
}

.pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}

.pillar-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 0.625rem;
  background: rgba(10, 132, 255, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--accent);
}

.pillar-route-svg {
  width: 7.5rem;
  height: 1.5rem;
  overflow: visible;
}

.route-pulse-dot {
  animation: routeDotMove 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.route-pulse-delay-1 {
  animation-delay: 0.9s;
}
.route-pulse-delay-2 {
  animation-delay: 1.8s;
}

.pillar h3 {
  font-size: 1.21875rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 0.5rem;
}

.pillar p {
  font-size: 0.9375rem;
  line-height: 1.58;
  color: var(--text-muted);
}

.countries-box {
  padding: 1.5rem;
  background: rgba(15, 23, 38, 0.72);
  border: 1px solid var(--border-strong);
  border-radius: 1.25rem;
  box-shadow: inset 0 0 2rem rgba(10, 132, 255, 0.06);
}

.countries-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.countries-pills span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9375rem;
  border-radius: 62.4375rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  color: #E2E8F0;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease-spring),
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.countries-pills span:hover,
.countries-pills span.is-wave {
  background: rgba(10, 132, 255, 0.22);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-0.1875rem) scale(1.04);
  box-shadow: 0 0.5rem 1.375rem rgba(56, 189, 248, 0.25);
}

/* FLEXLINE TMS SECTION */
.tms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 960px) {
  .tms-grid {
    grid-template-columns: 1.02fr 0.98fr;
  }
}

/* Tableta: la ventana del TMS centrada y sin estirarse a todo el ancho. */
@media (min-width: 600px) and (max-width: 959.98px) {
  .tms-preview {
    width: 100%;
    max-width: 37.5rem;
    margin: 0 auto;
  }
}

.tms-copy {
  min-width: 0;
}

.tms-features {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin: 1.75rem 0 2rem;
}

.tms-feat {
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-left: 0.1875rem solid var(--accent);
  border-radius: 0.875rem;
  transition: transform 0.3s var(--ease-spring), background-color 0.3s ease, border-color 0.3s ease;
}

.tms-feat:hover {
  transform: translateX(0.375rem);
  background: rgba(56, 189, 248, 0.07);
  border-color: rgba(56, 189, 248, 0.35);
}

.tms-feat h3 {
  font-size: 1.09375rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 0.25rem;
}

.tms-feat p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.tms-preview {
  min-width: 0;
}

.tms-window {
  background: rgba(11, 17, 29, 0.92);
  border: 1px solid var(--border-strong);
  border-radius: 1.375rem;
  overflow: hidden;
  box-shadow: 0 1.75rem 4.375rem rgba(0, 0, 0, 0.6), 0 0 2.5rem rgba(10, 132, 255, 0.16);
}

.tms-win-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8125rem 1.125rem;
  background: rgba(18, 27, 43, 0.95);
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 700;
}

.win-dots {
  display: flex;
  gap: 0.375rem;
}

.win-dots span {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.win-dots span:nth-child(1) { background: #EF4444; }
.win-dots span:nth-child(2) { background: #F59E0B; }
.win-dots span:nth-child(3) { background: #22C55E; }

.win-url {
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78125rem;
}

.win-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  color: var(--wa);
  font-size: 0.75rem;
}

.tms-win-routes {
  padding: 1rem 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.route-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 0.875rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.route-row.is-active-route,
.route-row:hover {
  background: rgba(10, 132, 255, 0.12);
  border-color: var(--accent);
  transform: translateX(0.25rem);
  box-shadow: 0 0.5rem 1.5rem rgba(10, 132, 255, 0.18);
}

.route-row-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.route-row strong {
  display: block;
  font-size: 0.90625rem;
  color: #fff;
}

.route-row small {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.route-progress {
  width: 100%;
  height: 0.25rem;
  border-radius: 62.4375rem;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.route-progress-bar {
  display: block;
  height: 100%;
  border-radius: 62.4375rem;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.bar-1 {
  width: 72%;
  animation: progressCycle1 6s ease-in-out infinite;
}
.bar-2 {
  width: 54%;
  animation: progressCycle2 7s ease-in-out infinite;
}
.bar-3 {
  width: 100%;
  background: linear-gradient(90deg, #16A34A, #4ADE80);
  animation: progressCycle3 5s ease-in-out infinite;
}

.badge-live, .badge-done {
  padding: 0.25rem 0.625rem;
  border-radius: 62.4375rem;
  font-size: 0.71875rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge-live {
  background: rgba(56, 189, 248, 0.16);
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.badge-done {
  background: rgba(34, 197, 94, 0.16);
  color: #4ADE80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.tms-win-map {
  position: relative;
  height: 12.5rem;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.tms-win-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 48%;
}

/* ABOUT & FAQ */
.about-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 960px) {
  .about-block {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.facts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

@media (min-width: 360px) {
  .facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.fact-box {
  padding: 1.375rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 1.125rem;
  transition: transform 0.35s var(--ease-spring), border-color 0.35s ease, box-shadow 0.35s ease;
}

.fact-box:hover {
  transform: translateY(-0.3125rem);
  border-color: var(--accent);
  box-shadow: 0 1rem 2.25rem rgba(10, 132, 255, 0.2);
}

.fact-box strong {
  display: block;
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(90deg, #FFFFFF, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: #fff;
  margin-bottom: 0.375rem;
}

.fact-box span {
  font-size: 0.84375rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.faq-block {
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.faq-grid {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26.25rem), 1fr));
  gap: 1.25rem;
}

.faq-card {
  padding: 1.625rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.125rem;
  transition: transform 0.35s var(--ease-spring), border-color 0.35s ease, box-shadow 0.35s ease;
}

.faq-card:hover {
  transform: translateY(-0.3125rem);
  border-color: var(--accent);
  box-shadow: 0 1.125rem 2.5rem rgba(0, 0, 0, 0.45);
}

.faq-card h3 {
  font-size: 1.09375rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 0.5rem;
}

.faq-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* QUOTE SECTION */
.quote-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

@media (min-width: 960px) {
  .quote-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.contact-links {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  overflow-wrap: anywhere;
}

.contact-links a:hover {
  color: var(--accent);
  transform: translateX(0.25rem);
}

.company-meta {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.company-meta strong {
  color: #fff;
}

.quote-form {
  padding: clamp(1.375rem, 3.5vw, 2.25rem);
  background: var(--surface);
  backdrop-filter: blur(1.125rem);
  border: 1px solid var(--border-strong);
  border-radius: 1.375rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.55), 0 0 2.25rem rgba(10, 132, 255, 0.12);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.125rem), 1fr));
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* 16 px en los campos: iOS no amplía la página al tocarlos (v45). */
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.875rem;
  background: rgba(7, 11, 18, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: 0.75rem;
  font-size: 1rem;
  color: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7E8DA4;
  opacity: 1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 0.1875rem rgba(56, 189, 248, 0.4);
}

.field textarea {
  resize: vertical;
}

.form-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.form-actions .btn {
  flex: 1 1 12.5rem;
}

.form-legal {
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.form-legal a {
  color: var(--accent);
  text-decoration: underline;
}

/* v45: fuera la barra fija de tres botones del móvil (el dueño, 17/11: «que no sea tan atosigador»).
   La oferta queda en la portada, en el menú y en el formulario. */
.main-nav .menu-cta {
  display: none;
}

@media (max-width: 719.98px) {
  .site-header.nav-open .main-nav .menu-cta {
    display: flex;
    justify-content: center;
    min-height: 3rem;
    margin-top: 0.875rem;
    padding: 0 1.25rem;
    border: 1px solid transparent;
    font-size: 0.9375rem;
    color: #fff;
  }
}

/* FOOTER */
.site-footer {
  padding: 3.5rem 0 calc(2.5rem + env(safe-area-inset-bottom));
  background: #05080E;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem 2rem;
}

@media (min-width: 560px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  }
}

.footer-brand img {
  height: 1.875rem;
  width: auto;
  margin-bottom: 0.875rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 34ch;
}

.footer-col h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-col ul a {
  display: inline-flex;
  align-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  overflow-wrap: anywhere;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-col a:hover {
  color: #fff;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  margin-top: 0.875rem;
}

.anpc-badge {
  display: inline-block;
  border-radius: 0.375rem;
  overflow: hidden;
}

.anpc-badge img {
  width: 11.0625rem;
  height: auto;
}

.eu-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5625rem;
  height: 2.75rem;
  padding: 0 0.75rem 0 0.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
}

.eu-flag {
  width: 2.75rem;
  height: 1.875rem;
  flex-shrink: 0;
  border-radius: 0.1875rem;
}

.eu-t {
  display: flex;
  flex-direction: column;
  font-size: 0.71875rem;
  line-height: 1.2;
  color: var(--text-muted);
}

.eu-t strong {
  font-size: 0.78125rem;
  font-weight: 700;
  color: #fff;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-legal-line strong {
  color: #fff;
}

.footer-copy-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Estado del formulario: enviando / enviado / error (v40) */
.form-note { margin-top: 0.875rem; font-size: 0.90625rem; line-height: 1.55; color: var(--text-muted); }
.form-note[hidden] { display: none; }
.form-note.ok { color: #7FE3A2; }
.form-note.err { color: #FFB4A8; }
.form-note.ok::before { content: "✓"; font-weight: 800; margin-right: 0.5rem; }
.form-actions .btn.is-sent,
.form-actions .btn.is-sent:hover {
  background: linear-gradient(135deg, #1E7A45 0%, #14532D 100%);
  box-shadow: none; cursor: default; transform: none; opacity: 1;
}
.form-actions .btn.is-sent svg { display: none; }

/* v45 · Toques sin «hover» pegado: en pantallas táctiles las tarjetas no se quedan levantadas tras tocarlas. */
@media (hover: none) {
  .btn:hover,
  .service-item:hover,
  .pillar:hover,
  .fact-box:hover,
  .faq-card:hover,
  .tms-feat:hover,
  .route-row:hover,
  .contact-links a:hover,
  .lang-dropdown a:hover,
  .countries-pills span:hover {
    transform: none;
  }
}

/* v45 · Movimiento reducido: sin animaciones en bucle ni desplazamientos suaves. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* v46 · Invitación suave en el móvil, en lugar de la barra de tres botones
   (dueño, 17/11: «¿indeciso? pregúntanos, estamos para ayudarte»).
   Aparece pasada la portada y se esconde al llegar al contacto o al pie. */
.help-pill {
  position: fixed;
  left: 50%;
  bottom: calc(0.875rem + env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: max-content;
  max-width: calc(100vw - 1.5rem);
  min-height: 3.25rem;
  padding: 0.5rem 1.25rem 0.5rem 0.875rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border-strong);
  background: #0D1422;
  box-shadow: 0 0.875rem 2.25rem rgba(0, 0, 0, 0.55);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 1rem);
  transition: opacity 0.3s ease, transform 0.35s var(--ease-spring), visibility 0s linear 0.35s;
}

.help-pill[hidden] {
  display: none;
}

.help-pill.is-shown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.3s ease, transform 0.35s var(--ease-spring), visibility 0s;
}

.help-pill .icon {
  width: 1.375rem;
  height: 1.375rem;
  color: var(--accent);
}

.help-pill-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.help-pill-q {
  font-size: 0.78125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.help-pill-a {
  font-size: 0.875rem;
  font-weight: 700;
}

@media (min-width: 720px) {
  .help-pill {
    display: none;
  }
}

/* v47 · Versión sobria (dueño, 17/11: «hazla mejor»). Criterios suyos del 13/11 para la web: nada que
   parezca hecho con IA — sin punto que late, sin etiquetas en mayúsculas, sin iconos en cuadraditos de
   color, sin brillos ni animaciones en bucle. Mismo fondo oscuro y mismos textos. */

/* Fondo quieto: sin partículas ni manchas de luz que se mueven. */
.hero-glow-orb,
.scroll-progress-svg {
  display: none;
}

.hero {
  background: radial-gradient(56.25rem 30rem at 80% -5%, rgba(10, 132, 255, 0.13), transparent 70%);
}

/* Portada */
.eyebrow-pill {
  gap: 0;
  padding: 0;
  margin-bottom: 0.875rem;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.pulse-ring {
  display: none;
}

.eyebrow-text {
  font-size: clamp(0.8125rem, 0.2vw + 0.775rem, 0.875rem);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-muted);
}

.hero-title {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.map-card {
  animation: none;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 1.5rem 3.75rem rgba(0, 0, 0, 0.5);
}

.map-card-hud,
.hud-corridor {
  letter-spacing: 0.02em;
}

.hud-corridor {
  font-family: var(--font);
  font-weight: 600;
}

.status-dot {
  animation: none;
}

/* Encima de cada título, una etiqueta discreta y sin mayúsculas. */
.eyebrow {
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
}

.section-title {
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* Botones de color liso: sin degradado ni resplandor. */
.btn-primary,
.btn-primary:hover,
.btn-wa,
.btn-wa:hover,
.btn-secondary:hover {
  box-shadow: none;
}

.btn-primary {
  background: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-wa {
  background: #15803D;
}

.btn-wa:hover {
  background: #166534;
}

.btn-secondary {
  backdrop-filter: none;
}

.btn:hover,
.btn:active {
  transform: none;
}

.btn:hover .icon-arrow {
  transform: translateX(0.1875rem);
}

/* Tarjetas planas: sin iconos decorativos, sin filete de color y sin levantarse al pasar. */
.service-icon,
.service-item::before,
.pillar-route-svg {
  display: none;
}

.service-item,
.pillar,
.fact-box,
.faq-card,
.tms-window,
.quote-form {
  backdrop-filter: none;
}

.service-item:hover,
.pillar:hover,
.fact-box:hover,
.faq-card:hover,
.tms-feat:hover,
.route-row:hover,
.route-row.is-active-route,
.contact-links a:hover,
.lang-dropdown a:hover,
.countries-pills span:hover {
  transform: none;
  box-shadow: none;
}

.service-item:hover,
.pillar:hover,
.fact-box:hover,
.faq-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
}

.service-item:hover .service-arrow {
  transform: translateX(0.1875rem);
}

.service-tag {
  padding: 0;
  background: none;
  border: 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.pillar-num {
  width: auto;
  height: auto;
  background: none;
  border: 0;
  border-radius: 0;
  font-size: 0.875rem;
}

.countries-pills span:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.fact-box strong {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #fff;
}

.tms-window,
.quote-form {
  box-shadow: 0 1.5rem 3.75rem rgba(0, 0, 0, 0.45);
}

.route-progress-bar {
  animation: none;
}

/* El desplegable del formulario con el aspecto de los demás campos, no el del navegador. */
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.625rem;
  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 d='M1 1.5l5 5 5-5' fill='none' stroke='%23A6B5CB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.75rem 0.5rem;
}

/* Móvil: la barra de la ventana del TMS en una sola línea y los cuatro datos de «Cine suntem» en 2 × 2. */
.win-url {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.win-status {
  flex-shrink: 0;
  white-space: nowrap;
}

.fact-box {
  padding: clamp(1rem, 1.5vw + 0.625rem, 1.375rem);
}

.fact-box strong {
  font-size: clamp(1.25rem, 1.2vw + 0.9375rem, 1.625rem);
}

/* v47 · Países: ahora son botones (eligen el destino del formulario), con 44 px de alto. */
.countries-pills {
  gap: 0.5rem;
}

.countries-pills span {
  min-height: 2.75rem;
  padding: 0 0.9375rem;
}


/* v48 · Pantallas anchas («hazlo más responsive», el dueño, 18/11). Las medidas van en rem:
   1 rem = 16 px hasta 1440 px de ancho (igual que antes). Desde 1280 px el contenido llega al 90 % del
   ancho; desde 1440, todo crece con la pantalla (1 rem = 1/90 del ancho: 21,3 px a 1920; tope 28 px). */
html { font-size: 16px; }

@media (min-width: 1280px) {
  .container {
    max-width: none;
    padding-left: 5vw;
    padding-right: 5vw;
  }
}

@media (min-width: 1440px) {
  html { font-size: min(calc(100vw / 90), 28px); }
}
