:root {
  --bg: #05070c;
  --bg-alt: #11151d;
  --surface: rgba(17, 21, 29, 0.78);
  --surface-strong: rgba(7, 10, 15, 0.94);
  --line: rgba(214, 219, 225, 0.12);
  --line-strong: rgba(255, 204, 40, 0.28);
  --text: #f3f5f7;
  --muted: #b8bec6;
  --accent: #f7b500;
  --accent-strong: #ffd84f;
  --accent-cool: #a7adb6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --radius-sm: 18px;
  --container: min(1180px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top, rgba(247, 181, 0, 0.12), transparent 26%),
    linear-gradient(180deg, #161a22 0%, #090b10 38%, #05070c 100%);
  color: var(--text);
}

body.nav-open {
  overflow: hidden;
}

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

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

.page-shell {
  position: relative;
  overflow: clip;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

.page-shell::before {
  top: -10rem;
  right: -6rem;
  background: rgba(247, 181, 0, 0.16);
}

.page-shell::after {
  bottom: -12rem;
  left: -8rem;
  background: rgba(167, 173, 182, 0.12);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(5, 7, 12, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.5rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
}

.brand-mark {
  width: 2.8rem;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(247, 181, 0, 0.98), rgba(255, 216, 79, 0.78));
  box-shadow: 0 10px 30px rgba(247, 181, 0, 0.3);
}

.brand-mark span {
  display: block;
  width: 0.36rem;
  border-radius: 999px;
  background: #080b11;
  transform: skew(-28deg);
}

.brand-mark span:nth-child(1) {
  height: 1.35rem;
}

.brand-mark span:nth-child(2) {
  height: 1.65rem;
}

.brand-mark span:nth-child(3) {
  height: 1rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-copy strong,
.site-footer strong {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.brand-copy small {
  color: var(--muted);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(247, 181, 0, 0.16), rgba(247, 181, 0, 0.08));
  border: 1px solid rgba(247, 181, 0, 0.24);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.3rem auto;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.hero {
  position: relative;
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid span {
  position: absolute;
  inset: auto;
  border: 1px solid rgba(173, 192, 207, 0.08);
  border-radius: 999px;
  animation: float 16s infinite ease-in-out;
}

.hero-grid span:nth-child(1) {
  width: 34rem;
  height: 34rem;
  top: 2rem;
  right: -10rem;
}

.hero-grid span:nth-child(2) {
  width: 18rem;
  height: 18rem;
  top: 10rem;
  left: -5rem;
  animation-duration: 12s;
}

.hero-grid span:nth-child(3) {
  width: 10rem;
  height: 10rem;
  top: 26rem;
  right: 18%;
  animation-duration: 9s;
}

.hero-grid span:nth-child(4) {
  width: 24rem;
  height: 24rem;
  top: 20rem;
  left: 14%;
  animation-duration: 14s;
}

.hero-content,
.proof-layout,
.coverage-layout,
.footer-wrap {
  display: grid;
  gap: 2rem;
}

.hero-content {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.77rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

h1 {
  max-width: 11ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

h2 {
  max-width: 14ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3vw, 3.3rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text,
.section-head p {
  max-width: 60ch;
  font-size: 1.05rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.contact-chip:hover,
.contact-chip:focus-visible,
.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #f68a00);
  color: #080b11;
  box-shadow: 0 18px 45px rgba(246, 138, 0, 0.35);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 2.2rem 0 0;
  list-style: none;
}

.hero-points li,
.trust-items > div,
.service-card,
.proof-panel article,
.coverage-card,
.contact-panel,
.hero-card,
.stat-card,
.contact-chip {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.hero-points li {
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  color: var(--text);
}

.hero-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(17, 21, 29, 0.88), rgba(5, 7, 12, 0.96)),
    radial-gradient(circle at top right, rgba(247, 181, 0, 0.12), transparent 35%);
  overflow: hidden;
}

.route-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
}

.route {
  position: absolute;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.route::after {
  content: "";
  position: absolute;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 12px rgba(247, 181, 0, 0.1);
  animation: routePulse 4.4s infinite ease-in-out;
}

.route-a {
  inset: 8% 10% auto 22%;
  height: 16rem;
}

.route-a::after {
  top: 24%;
  left: 72%;
}

.route-b {
  inset: auto 14% 10% 8%;
  height: 12rem;
}

.route-b::after {
  top: 56%;
  left: 18%;
}

.route-c {
  inset: 22% 26% 22% 26%;
}

.route-c::after {
  bottom: 18%;
  right: 24%;
}

.stat-card {
  position: relative;
  padding: 1.1rem;
  border-radius: 1.25rem;
  backdrop-filter: blur(10px);
}

.stat-card small,
.proof-panel small,
.contact-chip span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  font-weight: 800;
}

.stat-card strong,
.proof-panel strong,
.contact-chip strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1.12rem;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.hero-mini-grid .wide {
  grid-column: 1 / -1;
}

.trust-strip {
  padding: 1rem 0 0;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-items > div,
.service-card,
.coverage-card,
.proof-panel article {
  border-radius: 1.5rem;
  padding: 1.35rem;
}

.trust-items strong {
  display: block;
  margin-bottom: 0.4rem;
}

.trust-items span {
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 6rem 0;
}

.section-head {
  margin-bottom: 2rem;
}

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

.service-card {
  position: relative;
  min-height: 15rem;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
  background: rgba(247, 181, 0, 0.12);
  color: var(--accent-strong);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.section-showcase {
  padding-top: 0;
}

.showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1.22fr);
  gap: 2rem;
  align-items: center;
}

.showcase-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-fleet {
  padding-top: 0;
}

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

.fleet-card {
  overflow: hidden;
  border-radius: 1.6rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.fleet-media {
  margin: 0;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.fleet-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.fleet-card:hover .fleet-media img,
.fleet-card:focus-within .fleet-media img {
  transform: scale(1.04);
}

.fleet-copy {
  padding: 1.25rem;
}

.fleet-copy small {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  font-weight: 800;
}

.fleet-copy h3 {
  margin-bottom: 0.75rem;
}

.proof-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  align-items: start;
}

.check-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.check-list div {
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 1rem 1rem 0;
}

.proof-panel {
  display: grid;
  gap: 1rem;
}

.coverage-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  align-items: center;
}

.coverage-map {
  position: relative;
  min-height: 20rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(7, 16, 25, 0.8), rgba(10, 25, 39, 0.95)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 44px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 44px
    );
  box-shadow: var(--shadow);
}

.map-core,
.map-ring,
.map-pulse {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.map-core {
  width: 1rem;
  height: 1rem;
  background: var(--accent);
  box-shadow: 0 0 0 12px rgba(247, 181, 0, 0.16);
}

.map-ring {
  border: 1px solid rgba(255, 191, 105, 0.36);
}

.ring-one {
  width: 12rem;
  height: 12rem;
}

.ring-two {
  width: 18rem;
  height: 18rem;
}

.map-pulse {
  width: 12rem;
  height: 12rem;
  background: rgba(247, 181, 0, 0.08);
  animation: pulse 3.4s infinite ease-out;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 2rem;
  padding: 2rem;
  border-radius: var(--radius);
}

.contact-actions {
  margin: 0;
  align-content: start;
}

.contact-chip {
  display: block;
  width: 100%;
  padding: 1rem 1.15rem;
  border-radius: 1.2rem;
  transition: transform 180ms ease, border-color 180ms ease;
}

.site-footer {
  padding: 0 0 4rem;
}

.footer-wrap {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-note {
  text-align: right;
}
/*
.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.5rem;
  min-height: 3.6rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffcf3f, #f5a000);
  color: #04150b;
  font-weight: 900;
  letter-spacing: 0.01em;
  box-shadow: 0 20px 50px rgba(245, 160, 0, 0.28);
}*/
.floating-whatsapp {
  position: fixed;
  right: 2rem; /* Más separado del borde */
  bottom: 2rem;
  z-index: 100; /* Aseguramos que esté por encima de todo */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.8rem; /* Tamaño base circular */
  height: 3.8rem;
  padding: 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25D366, #128C7E); /* Color oficial WhatsApp */
  color: #fff;
  font-weight: 900;
  box-shadow: 0 15px 35px rgba(18, 140, 126, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden; /* Para el texto expandible */
}
/* codigo nuevo para mostrar el texto "WhatsApp" al hacer hover */
.floating-whatsapp {
  font-size: 0; /* Oculta el texto "WhatsApp" */
}

/* Icono (usando un emoji o puedes poner un SVG en el HTML) */
.floating-whatsapp svg {
    width: 2.2rem; /* Tamaño del logo */
    height: 2.2rem;
    fill: #fff;    /* Color blanco para que resalte */
    transition: transform 0.3s ease;
}
/* codigo nuevo para mostrar el texto "WhatsApp" al hacer hover */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 120ms;
}

.reveal-delay-2 {
  transition-delay: 220ms;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 14px, 0);
  }
}

@keyframes routePulse {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.55);
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

@media (max-width: 980px) {

  .hero-content,
  .proof-layout,
  .showcase-layout,
  .coverage-layout,
  .contact-panel,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .hero-points,
  .trust-items,
  .fleet-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section,
  .hero {
    padding: 4.5rem 0;
  }

  .footer-note {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.2rem;
    background: rgba(8, 17, 27, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero-points,
  .trust-items,
  .fleet-grid,
  .services-grid,
  .hero-mini-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 12ch;
  }

  .hero {
    padding-top: 3.2rem;
  }

  /* --- AQUÍ ESTÁ LA CORRECCIÓN CLAVE --- */

  /* 1. Botones normales: se estiran para ser fáciles de tocar */
  .button {
    width: 100% !important;
    display: flex !important;
  }

  /* 2. Botón WhatsApp: NO se estira, se queda circular y pequeño */
  .floating-whatsapp {
    width: 4rem !important;
    height: 4rem !important;
    min-width: 4rem !important;
    max-width: 4rem !important; /* Evita que crezca */
    padding: 0 !important;
    right: 1.5rem !important;
    bottom: 1.5rem !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }

  /* 3. El logo (sea imagen o SVG) centrado y de buen tamaño */
  .floating-whatsapp img, 
  .floating-whatsapp svg {
    width: 2.4rem !important;
    height: 2.4rem !important;
    margin: 0 !important;
    display: block !important;
    flex-shrink: 0 !important; /* Evita que se aplaste */
  }
}
@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
body .floating-whatsapp {
    position: fixed !important;
    right: 30px !important;
    bottom: 30px !important;
    background: none !important; 
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 99999 !important;
    width: auto !important; /* Que el contenedor no fuerce tamaño */
    height: auto !important;
    display: block !important;
}

/* 2. La imagen: Aquí ponemos los límites estrictos */
body .floating-whatsapp img {
    width: 70px !important;      /* Tamaño fijo para PC */
    height: 70px !important;
    max-width: 70px !important;  /* CANDADO: No puede ser más grande que esto */
    min-width: 70px !important;  /* CANDADO: No puede ser más chico que esto */
    display: block !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
}

/* 3. Efecto hover */
body .floating-whatsapp:hover img {
    transform: scale(1.1) !important;
}

/* --- AJUSTE PARA CELULAR (MÓVIL) --- */
@media (max-width: 760px) {
    body .floating-whatsapp {
        right: 15px !important;
        bottom: 15px !important;
    }

    body .floating-whatsapp img {
        /* En el celu lo bajamos a un tamaño normal (60px) */
        width: 60px !important;      
        height: 60px !important;
        max-width: 60px !important;  /* CANDADO PARA MÓVIL */
        min-width: 60px !important;
        margin: 0 !important;
    }
}