:root {
  --navy: #0f2747;
  --navy-soft: #183a63;
  --red: #c0392b;
  --whatsapp: #25d366;
  --white: #ffffff;
  --light: #f5f6f8;
  --ink: #172033;
  --muted: #5f6b7a;
  --line: #dfe5ee;
  --shadow: 0 18px 50px rgba(15, 39, 71, 0.12);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.top-banner {
  width: 100%;
  padding: 24px 0 14px;
  background: var(--light);
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-banner img {
  width: min(520px, 100%);
  height: auto;
  display: block;
}

.section {
  padding: 96px 0;
}

.section-muted {
  background: var(--light);
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(192, 57, 43, 0.18), transparent 42%),
    var(--navy);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 229, 238, 0.85);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-name {
  font-size: 0.95rem;
}

.brand-subtitle {
  color: var(--muted);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(15, 39, 71, 0.16);
  font-size: 0.82rem;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

.phone-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  margin: 4px auto;
  display: block;
  background: var(--navy);
  border-radius: 999px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: currentColor;
}

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

.btn-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 24px rgba(192, 57, 43, 0.24);
}

.btn-primary:hover {
  background: #ad3125;
}


.hero {
  position: relative;
  min-height: calc(100svh - 83px);
  display: grid;
  align-items: center;
  padding: 78px 0 88px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 18, 35, 0.479), rgba(6, 18, 35, 0.56) 48%, rgba(6, 18, 35, 0.24)),
    url("../img/camioneta (6).jpeg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 8px;
  background: linear-gradient(90deg, var(--navy), var(--red), var(--whatsapp));
}

.hero-grid {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 760px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.hero-brand-subtitle {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 3.3vw, 3.2rem);
}

h3 {
  font-size: 1.16rem;
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.hero-text {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}


.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 800;
}

.trust-strip svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--whatsapp);
  stroke-width: 2;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.vehicle-placeholder,
.fleet-photo {
  display: grid;
  place-items: center;
  gap: 16px;
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(15, 39, 71, 0.04), rgba(37, 211, 102, 0.07)),
    var(--white);
  border: 1px dashed rgba(15, 39, 71, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.vehicle-placeholder svg,
.fleet-photo svg {
  width: 76px;
  height: 76px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.vehicle-placeholder span,
.fleet-photo span {
  font-weight: 900;
}

.vehicle-main {
  position: absolute;
  inset: 32px 0 auto 44px;
  min-height: 315px;
}

.vehicle-secondary {
  position: absolute;
  right: 40px;
  bottom: 24px;
  width: min(68%, 330px);
  min-height: 225px;
  color: var(--red);
}

.route-card {
  position: absolute;
  left: 0;
  bottom: 96px;
  z-index: 2;
  width: min(72%, 330px);
  display: flex;
  gap: 12px;
  padding: 18px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(15, 39, 71, 0.25);
}

.route-card p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.route-dot {
  width: 13px;
  height: 13px;
  margin-top: 5px;
  flex: 0 0 auto;
  background: var(--whatsapp);
  border-radius: 999px;
  box-shadow: 0 0 0 7px rgba(37, 211, 102, 0.18);
}

.section-heading {
  max-width: 690px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.align-left {
  margin-inline: 0;
  text-align: left;
}



.fleet-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(15, 39, 71, 0.07);
}

.fleet-card:hover {
  transform: translateY(-5px);
  border-color: rgba(192, 57, 43, 0.32);
  box-shadow: var(--shadow);
}

.fleet-content p {
  color: var(--muted);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: start;
  gap: 48px;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.benefit {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.benefit svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
}

.expand-toggle {
  display: none;
  margin-top: 24px;
  padding: 14px 18px;
  border: 1px solid rgba(15, 39, 71, 0.16);
  border-radius: calc(var(--radius) * 1.1);
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  text-align: center;
  box-shadow: 0 12px 24px rgba(15, 39, 71, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.expand-toggle:hover {
  background: rgba(15, 39, 71, 0.04);
}

.expand-toggle::after {
  content: "⯆";
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.expand-toggle.is-open::after {
  transform: rotate(180deg);
}

.benefits-list {
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
}

.benefits-list.is-open {
  max-height: 2000px;
  opacity: 1;
  pointer-events: auto;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: stretch;
}

.fleet-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.fleet-photo {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  height: 300px;
  border-width: 0 0 1px;
  border-style: dashed;
  box-shadow: none;
  overflow: hidden;
}

.fleet-photo img {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  object-fit: cover;
  display: block;
}

.fleet-photo span {
  padding: 12px 0 0;
}

.fleet-content {
  flex: 1;
  padding: 28px;
}



.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  position: relative;
  min-height: 210px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.step span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--whatsapp);
  border-radius: 999px;
  font-weight: 900;
}

.step svg {
  width: 42px;
  height: 42px;
  margin: 34px 0 18px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
}

.coverage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  align-items: center;
  gap: 50px;
}

.coverage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.coverage-tags span {
  padding: 10px 14px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.map-card {
  min-height: 420px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

#mapa-cobertura {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
}

.leaflet-container {
  width: 100%;
  height: 100%;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: #ffffff;
  color: #0f2747;
  border-radius: 12px;
  border: 1px solid rgba(15, 39, 71, 0.08);
}

.leaflet-popup-content {
  margin: 12px 14px;
  font-size: 0.95rem;
}

.leaflet-popup-content h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.leaflet-popup-content p {
  margin: 0;
  color: #243b5d;
}

.map-shape::before {
  content: "";
  position: absolute;
  inset: 20%;
  border: 2px solid rgba(192, 57, 43, 0.25);
  border-radius: 50%;
}

.pin {
  position: absolute;
  padding: 7px 9px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(15, 39, 71, 0.2);
}

.pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
}

.pin-caba {
  left: 48%;
  top: 44%;
  background: var(--red);
}

.pin-norte {
  left: 48%;
  top: 18%;
}

.pin-sur {
  left: 55%;
  top: 69%;
}

.pin-oeste {
  left: 19%;
  top: 48%;
}

.pin-interior {
  left: 28%;
  top: 78%;
  background: var(--whatsapp);
  color: #062010;
}


.footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 44px 0 28px;
}

.footer-brand {
  color: var(--white);
}

.footer .brand-mark {
  background: var(--red);
}

.footer p {
  max-width: 440px;
  margin: 14px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer-links a {
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 850;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #062010;
  background: var(--whatsapp);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 1180px) {
  .nav-panel {
    gap: 16px;
  }

  .phone-link {
    display: none;
  }
}

@media (max-width: 1040px) {

  .hero-grid,
  .coverage-grid,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 470px;
  }

  .benefits-section {
    border: 1px solid rgba(15, 39, 71, 0.09);
    border-radius: calc(var(--radius) * 1.2);
    background: rgba(255, 255, 255, 0.96);
    padding: 24px 0 20px;
  }

  .section-heading {
    margin-bottom: 16px;
  }

  .benefits-list {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .benefits-list.is-open {
    max-height: 2000px;
    opacity: 1;
    pointer-events: auto;
  }

  .expand-toggle {
    display: inline-flex;
  }

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

@media (max-width: 820px) {
  .section {
    padding: 72px 0;
  }

  .nav {
    min-height: 72px;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 1001;
  }

  .nav-panel {
    position: fixed;
    inset: 72px 0 auto;
    display: grid;
    gap: 22px;
    padding: 24px 16px 30px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

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

  .nav-links,
  .nav-actions {
    display: grid;
    gap: 12px;
  }

  .nav-actions .phone-link {
    display: inline-flex;
  }

  .hero {
    min-height: calc(100svh - 73px);
    padding: 54px 0 64px;
    background:
      linear-gradient(90deg, rgba(6, 18, 35, 0.479), rgba(6, 18, 35, 0.56) 48%, rgba(6, 18, 35, 0.24)),
      url("../img/camioneta (1).jpeg") center / cover no-repeat;
    background-position: 58% center;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 420px;
  }

  .vehicle-main {
    left: 0;
  }

  .vehicle-secondary {
    right: 0;
  }

  .route-card {
    width: min(82%, 330px);
  }

  .fleet-grid,
  .benefits-list {
    grid-template-columns: 1fr;
  }

  .expand-toggle {
    display: inline-flex;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand {
    max-width: 245px;
    font-size: 0.78rem;
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero-visual {
    min-height: 390px;
  }

  .vehicle-main {
    min-height: 265px;
  }

  .vehicle-secondary {
    width: 76%;
    min-height: 190px;
  }

  .route-card {
    bottom: 76px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .map-card {
    min-height: 340px;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
