/* ==========================================================================
   Bank Autos — Estilos base
   --------------------------------------------------------------------------
   1.  Tokens
   2.  Reset y base
   3.  Tipografía y utilidades
   4.  Botones y etiquetas
   5.  Topbar y encabezado
   6.  Navegación móvil
   7.  Tarjeta de vehículo
   8.  Pie de página
   9.  Botones flotantes y toast
   10. Animaciones de entrada
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Marca */
  --navy-900: #010f1f;
  --navy-800: #021b35;
  --navy-700: #052a4d;
  --navy-600: #0a3a68;
  --cyan-600: #04889c;
  --cyan-500: #05acc5;
  --cyan-400: #22c4dc;
  --cyan-300: #7fdcec;
  --cyan-050: #e8f8fb;

  /* Neutros */
  --ink: #0e1c2b;
  --muted: #61748a;
  --line: #e2eaf2;
  --surface: #ffffff;
  --bg: #f4f7fb;
  --bg-alt: #edf3f9;

  /* Apoyo */
  --amber: #f5a524;
  --green: #12a150;

  /* Sombras */
  --shadow-xs: 0 1px 3px rgba(2, 27, 53, 0.06);
  --shadow-sm: 0 4px 14px rgba(2, 27, 53, 0.07);
  --shadow-md: 0 14px 34px rgba(2, 27, 53, 0.1);
  --shadow-lg: 0 28px 64px rgba(2, 27, 53, 0.16);
  --shadow-cyan: 0 12px 28px rgba(5, 172, 197, 0.28);

  /* Radios */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Medidas */
  --container: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Tipografía */
  --font-title: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* --------------------------------------------------------------------------
   1.b Pantalla de carga
   Se muestra al entrar y al cambiar de página. Lleva su propio respaldo en
   CSS: aunque el JavaScript fallara, desaparece sola a los 5.5 s.
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  animation: preloader-failsafe 0.45s var(--ease) 5.4s forwards;
}

@keyframes preloader-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.preloader::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 42%, rgba(5, 172, 197, 0.22), transparent 58%);
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

.preloader__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 24px;
  text-align: center;
}

.preloader__logo {
  width: min(280px, 66vw);
  height: auto;
  object-fit: contain;
  /* El logo es azul marino: se invierte a blanco sobre el fondo oscuro */
  filter: brightness(0) invert(1);
  animation: preloader-pulse 1.6s var(--ease) infinite;
}

@keyframes preloader-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

.preloader__text {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #8ea6bd;
}

/* Mientras carga no se puede desplazar el fondo */
.is-loading body {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .preloader__logo {
    animation: none;
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   2. Reset y base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

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

button {
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--cyan-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--cyan-500);
  color: #fff;
}

/* Barra de desplazamiento */
::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
::-webkit-scrollbar-track {
  background: var(--bg-alt);
}
::-webkit-scrollbar-thumb {
  background: #b9c9d9;
  border-radius: var(--r-pill);
  border: 3px solid var(--bg-alt);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan-500);
}

/* --------------------------------------------------------------------------
   3. Tipografía y utilidades
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy-800);
}

h1 {
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.8rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.7rem);
}
h3 {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
}

p {
  color: var(--muted);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(60px, 7vw, 104px);
}

.section--tight {
  padding-block: clamp(46px, 5vw, 72px);
}

.section--alt {
  background: var(--bg);
}

.section--dark {
  background: var(--navy-800);
  color: #dbe7f2;
  position: relative;
  overflow: hidden;
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section--dark p {
  color: #a8bfd4;
}

/* Encabezado de sección */
.section-head {
  max-width: 660px;
  margin-bottom: clamp(32px, 4vw, 54px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-600);
  background: var(--cyan-050);
  border-radius: var(--r-pill);
  padding: 7px 15px;
  margin-bottom: 16px;
}

.eyebrow i {
  font-size: 1.05rem;
}

.section--dark .eyebrow {
  color: var(--cyan-300);
  background: rgba(5, 172, 197, 0.14);
}

.section-head p {
  margin-top: 14px;
  font-size: 1.05rem;
}

.lead {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
}

.text-cyan {
  color: var(--cyan-500);
}

.divider-line {
  width: 54px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan-500), var(--cyan-300));
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}

.section-head--center .divider-line {
  margin-inline: auto;
}

/* Rejillas reutilizables */
.grid {
  display: grid;
  gap: 26px;
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 999;
  background: var(--cyan-500);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 16px;
}

/* --------------------------------------------------------------------------
   4. Botones y etiquetas
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-title);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1;
  padding: 15px 26px;
  min-height: 48px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn i {
  font-size: 1.2em;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn--primary {
  background: var(--cyan-500);
  color: #fff;
  box-shadow: var(--shadow-cyan);
}
.btn--primary:hover {
  background: var(--cyan-400);
  box-shadow: 0 16px 34px rgba(5, 172, 197, 0.38);
}

.btn--navy {
  background: var(--navy-800);
  color: #fff;
}
.btn--navy:hover {
  background: var(--navy-700);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--navy-800);
  background: var(--surface);
}
.btn--ghost:hover {
  border-color: var(--cyan-500);
  color: var(--cyan-600);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn--outline-light:hover {
  background: #fff;
  color: var(--navy-800);
  border-color: #fff;
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.3);
}
.btn--whatsapp:hover {
  background: #1fb855;
}

.btn--sm {
  padding: 11px 18px;
  min-height: 42px;
  font-size: 0.88rem;
}

.btn--block {
  width: 100%;
}

.btn--icon {
  width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border-radius: 50%;
}

/* Enlace con flecha */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--cyan-600);
}
.link-arrow i {
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover i {
  transform: translateX(5px);
}

/* Etiquetas */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-title);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--cyan-500);
  color: #fff;
}
.tag--amber {
  background: var(--amber);
  color: #4a2f00;
}
.tag--navy {
  background: var(--navy-800);
}
.tag--soft {
  background: var(--cyan-050);
  color: var(--cyan-600);
}

/* --------------------------------------------------------------------------
   5. Topbar y encabezado
   -------------------------------------------------------------------------- */
.header-wrap {
  position: sticky;
  top: 0;
  z-index: 200;
}

.topbar {
  background: var(--navy-800);
  color: #a8bfd4;
  font-size: 0.85rem;
  overflow: hidden;
  max-height: 46px;
  transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
}

.topbar__list {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar__item i {
  color: var(--cyan-400);
  font-size: 1.05rem;
}

.topbar__item a:hover {
  color: #fff;
}

.topbar__social {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar__social a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.topbar__social a:hover {
  background: var(--cyan-500);
  color: #fff;
  transform: translateY(-2px);
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: var(--header-h);
  transition: min-height 0.3s var(--ease);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* El logo es muy apaisado (1012x128): se dimensiona con la pantalla para
   que siempre quepa junto al botón de menú. */
.brand img {
  height: clamp(24px, 7vw, 40px);
  width: auto;
  object-fit: contain;
  transition: height 0.3s var(--ease);
}

/* Estado compacto al desplazar */
.header-wrap.is-scrolled .topbar {
  max-height: 0;
  opacity: 0;
}
.header-wrap.is-scrolled .site-header {
  box-shadow: var(--shadow-md);
}
.header-wrap.is-scrolled .site-header__inner {
  min-height: 64px;
}
.header-wrap.is-scrolled .brand img {
  height: clamp(22px, 6vw, 34px);
}

/* Navegación principal */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}

.nav__link {
  position: relative;
  display: block;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--navy-800);
  padding: 10px 15px;
  border-radius: var(--r-sm);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 4px;
  height: 2px;
  background: var(--cyan-500);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--cyan-600);
}
.nav__link:hover::after,
.nav__link[aria-current='page']::after {
  transform: scaleX(1);
}

.nav__link[aria-current='page'] {
  color: var(--cyan-600);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  place-items: center;
  color: var(--navy-800);
  font-size: 1.7rem;
  background: var(--bg);
}

/* --------------------------------------------------------------------------
   6. Navegación móvil
   -------------------------------------------------------------------------- */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 86vw);
  background: var(--surface);
  z-index: 400;
  transform: translateX(102%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav__head img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.mobile-nav__close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg);
  font-size: 1.5rem;
  color: var(--navy-800);
}

.mobile-nav__links {
  padding: 12px 16px;
}

.mobile-nav__links a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--navy-800);
  padding: 14px 12px;
  border-radius: var(--r-sm);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.mobile-nav__links a i {
  color: var(--cyan-500);
  font-size: 1.3rem;
}

.mobile-nav__links a:hover,
.mobile-nav__links a[aria-current='page'] {
  background: var(--cyan-050);
  color: var(--cyan-600);
}

.mobile-nav__foot {
  margin-top: auto;
  padding: 22px 24px 28px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.mobile-nav__contact {
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

.mobile-nav__contact a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav__contact i {
  color: var(--cyan-500);
  font-size: 1.15rem;
}

.mobile-nav__social {
  display: flex;
  gap: 10px;
}

.mobile-nav__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--navy-800);
  font-size: 1.2rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.mobile-nav__social a:hover {
  background: var(--cyan-500);
  color: #fff;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(1, 15, 31, 0.55);
  backdrop-filter: blur(2px);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   7. Tarjeta de vehículo
   -------------------------------------------------------------------------- */
.v-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.v-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.v-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-alt);
}

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

.v-card:hover .v-card__media img {
  transform: scale(1.06);
}

.v-card__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(1, 15, 31, 0.72), transparent);
  pointer-events: none;
}

.v-card__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
}

.v-card__year {
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-800);
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 12px;
  border-radius: var(--r-pill);
}

.v-card__photos {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #fff;
}

.v-card__photos i {
  font-size: 1.05rem;
}

.v-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}

.v-card__title {
  font-size: 1.22rem;
  margin-bottom: 4px;
}

.v-card__title a:hover {
  color: var(--cyan-600);
}

.v-card__version {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.v-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}

.v-card__specs li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 0.85rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.v-card__specs i {
  font-size: 1.15rem;
  color: var(--cyan-500);
  flex-shrink: 0;
}

.v-card__foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.v-card__price strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: -0.02em;
}

.v-card__price small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.v-card__actions {
  display: flex;
  gap: 8px;
}

.v-card__actions .btn--icon {
  width: 42px;
  height: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  color: var(--navy-800);
  font-size: 1.15rem;
}

.v-card__actions .btn--icon:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

/* --------------------------------------------------------------------------
   8. Pie de página
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: #97afc6;
  padding-top: clamp(52px, 6vw, 84px);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan-500), var(--navy-600), var(--cyan-500));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 42px;
  padding-bottom: 48px;
}

.footer-logo {
  height: clamp(28px, 7vw, 42px);
  width: auto;
  object-fit: contain;
  /* El logo es azul marino: se invierte a blanco para el fondo oscuro */
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-about p {
  color: #8ea6bd;
  font-size: 0.94rem;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #cfe0ee;
  font-size: 1.2rem;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease),
    color 0.25s var(--ease);
}

.footer-social a:hover {
  background: var(--cyan-500);
  color: #fff;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.94rem;
  color: #97afc6;
  transition: color 0.22s var(--ease), transform 0.22s var(--ease);
}

.footer-links a i {
  font-size: 0.85rem;
  color: var(--cyan-500);
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-contact {
  display: grid;
  gap: 16px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  font-size: 0.94rem;
  line-height: 1.5;
}

.footer-contact i {
  color: var(--cyan-500);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 1px;
}

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

.footer-hours {
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.footer-hours li:last-child {
  border-bottom: 0;
}

.footer-hours span:last-child {
  color: #cfe0ee;
  font-weight: 500;
  white-space: nowrap;
}

.footer-hours .is-closed span:last-child {
  color: #ff8f8f;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.footer-bottom p {
  color: #7f97ae;
  font-size: 0.88rem;
}

.footer-bottom strong {
  color: #cfe0ee;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. Botones flotantes y toast
   -------------------------------------------------------------------------- */
.floats {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 250;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.float-btn {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.7rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.float-btn:hover {
  transform: translateY(-4px) scale(1.05);
}

.float-btn--wa {
  background: #25d366;
  position: relative;
}

.float-btn--wa::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse-ring 2.4s var(--ease) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.55);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.float-btn--top {
  background: var(--navy-800);
  font-size: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}

.float-btn--top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Aviso emergente */
.toast-zone {
  position: fixed;
  right: 20px;
  bottom: 92px;
  z-index: 500;
  display: grid;
  gap: 10px;
  justify-items: end;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 340px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan-500);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  font-size: 0.92rem;
  transform: translateX(120%);
  transition: transform 0.45s var(--ease), opacity 0.35s var(--ease);
  pointer-events: auto;
}

.toast.is-shown {
  transform: translateX(0);
}

.toast.is-hiding {
  opacity: 0;
  transform: translateX(120%);
}

.toast i {
  font-size: 1.4rem;
  color: var(--cyan-500);
  flex-shrink: 0;
}

.toast--ok {
  border-left-color: var(--green);
}
.toast--ok i {
  color: var(--green);
}

.toast--error {
  border-left-color: #e5484d;
}
.toast--error i {
  color: #e5484d;
}

.toast strong {
  display: block;
  font-family: var(--font-title);
  color: var(--navy-800);
  margin-bottom: 2px;
}

.toast span {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   10. Animaciones de entrada
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

/* Cuando GSAP no está disponible, la aparición la hace una transición CSS */
.reveal-css [data-reveal] {
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Respaldo final: sin IntersectionObserver o con movimiento reducido */
.reveal-fallback [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

@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;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   11. Adaptaciones responsive generales
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 992px) {
  .nav,
  .header-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .topbar__list .topbar__item--hide-md {
    display: none;
  }
}

@media (max-width: 768px) {
  .topbar {
    font-size: 0.8rem;
  }

  .topbar__list {
    gap: 16px;
  }

  .v-card__body {
    padding: 18px 18px 20px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .topbar__list .topbar__item--hide-sm {
    display: none;
  }

  .floats {
    right: 14px;
    bottom: 14px;
  }

  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 1.55rem;
  }

  .toast-zone {
    right: 12px;
    left: 12px;
    bottom: 80px;
    justify-items: stretch;
  }

  .toast {
    max-width: none;
  }
}
