*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
 
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f6f8fa;
  color: #1d1d1d;
  overflow-x: hidden;
}
 
img {
  max-width: 100%;
  height: auto;
  display: block;
}
 
section {
  scroll-margin-top: 82px;
}

:root {
  --red:      #e52d35;
  --red-dark: #c0222a;
  --navy:     #0b3543;
  --dark:     #052632;
  --muted:    #5f6b72;
  --bg-light: #f6f8fa;
  --header-h: 82px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 500;
  width: 100%;
  height: var(--header-h);
  padding: 0 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(11,53,67,0.08);
}
 
.logo img {
  width: 160px;
  max-height: 58px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
 
.nav__link {
  position: relative;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  padding-bottom: 4px;
  transition: color .25s;
}
 
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  background: var(--red);
  border-radius: 10px;
  transition: width .25s;
}
 
.nav__link:hover,
.nav__link.active {
  color: var(--red);
}
 
.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__btn {
  background: var(--red);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background .25s, transform .2s;
}
 
.nav__btn::after { display: none !important; }
 
.nav__btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}
 
.nav__btn.active {
  background: var(--red-dark);
  color: #fff !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 600;
}
 
.hamburger__bar {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: transform .35s, opacity .35s;
}

.hamburger.open .hamburger__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open .hamburger__bar:nth-child(2) {
  opacity: 0;
}
.hamburger.open .hamburger__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 550;
}
 
.nav-overlay.visible {
  display: block;
}
 

.nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 600;
  display: flex;
  flex-direction: column;
  padding: 0;
  box-shadow: -8px 0 32px rgba(0,0,0,0.18);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;

  overscroll-behavior: contain;
}
 
.nav-panel.open {
  transform: translateX(0);
}

.nav-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #eee;
  min-height: var(--header-h);
}
 
.nav-panel__head img {
  width: 120px;
  object-fit: contain;
}
 
.nav-panel__close {
  background: var(--bg-light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
 
.nav-panel__close:hover {
  background: #e0e0e0;
}

.nav-panel__links {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  flex: 1;
}
 
.nav-panel__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 24px;
  color: var(--dark);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-left: 4px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
 
.nav-panel__link:hover {
  background: var(--bg-light);
  color: var(--red);
  border-left-color: var(--red);
}
 
.nav-panel__link.active {
  background: rgba(229,45,53,0.07);
  color: var(--red);
  border-left-color: var(--red);
}

.nav-panel__link i {
  width: 20px;
  text-align: center;
  font-size: 15px;
  color: var(--red);
  opacity: .75;
}

.nav-panel__cta {
  margin: 16px 24px 24px;
  padding: 14px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  border-radius: 28px;
  text-decoration: none;
  transition: background .25s;
}
 
.nav-panel__cta:hover {
  background: var(--red-dark);
}

.hero {
  min-height: calc(100vh - var(--header-h));
  padding: 0 8%;
  display: flex;
  align-items: center;
  background:
    linear-gradient(to right, rgba(5,38,50,0.95) 0%, rgba(5,38,50,0.70) 55%, rgba(5,38,50,0.25) 100%),
    url("imagenes/lima.jpg") center / cover no-repeat;
}
 
.hero-content {
  max-width: 680px;
  color: #fff;
  padding: 38px;
  border-radius: 24px;
  background: rgba(5,38,50,0.25);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
 
.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 40px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
 
.section-label {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 40px;
  background: rgba(229,45,53,0.12);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
 
.light {
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
}
 
.hero h1 {
  font-size: 54px;
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
 
.hero p {
  font-size: 18px;
  line-height: 1.8;
  color: #e8f0f4;
  margin-bottom: 30px;
}
 
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
 
.btn-primary, .btn-outline {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
 
.btn-primary {
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
  box-shadow: 0 8px 24px rgba(229,45,53,0.35);
}
 
.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 2px solid #fff;
}
 
.btn-primary:hover, .btn-outline:hover {
  transform: translateY(-3px);
}

.trust {
  width: 84%;
  margin: -50px auto 0;
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  box-shadow: 0 16px 44px rgba(0,0,0,0.11);
  position: relative;
  z-index: 10;
}
 
.trust h3 { font-size: 38px; color: var(--red); }
.trust p  { color: var(--muted); font-size: 14px; }

.section {
  padding: 96px 8%;
  text-align: center;
}
 
.section h2, .fleet h2, .coverage h2, .about h2,
.payments h2, .quote h2, .testimonials h2, .gallery h2 {
  font-size: 40px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
}
 
.fleet h2, .quote h2, .testimonials h2 { color: #fff; }
 
.subtitle {
  max-width: 820px;
  margin: 0 auto 42px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.about {
  padding: 96px 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  background: #fff;
}
 
.about-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 16px 44px rgba(0,0,0,0.12);
}
 
.about-text { text-align: left; }
.about-text p { color: var(--muted); line-height: 1.8; font-size: 16px; }
 
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
 
.mission-grid div {
  background: var(--bg-light);
  padding: 22px;
  border-radius: 18px;
  border-left: 5px solid var(--red);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}
 
.mission-grid h3 { color: var(--red); margin-bottom: 8px; font-size: 16px; }
.mission-grid p  { color: var(--muted); font-size: 14px; line-height: 1.7; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
 
.service-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 14px 40px rgba(0,0,0,0.09);
  border: 1px solid rgba(11,53,67,0.07);
  transition: transform .3s;
}
 
.service-card:hover { transform: translateY(-8px); }
 
.service-card img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: #fff;
  padding: 14px;
  transition: transform .4s;
}
 
.service-card:hover img { transform: scale(1.04); }
 
.service-card div { padding: 28px 30px 32px; }
 
.service-card h3 {
  color: var(--navy);
  font-size: 22px;
  margin-bottom: 10px;
}
 
.service-card h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background: var(--red);
  border-radius: 10px;
  margin-top: 8px;
}
 
.service-card p { color: var(--muted); line-height: 1.7; font-size: 15px; }

.fleet {
  padding: 100px 8%;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(5,38,50,0.95), rgba(5,38,50,0.95)),
    url("imagenes/fondof.jpg") center/cover no-repeat;
}
 
.fleet-title p {
  max-width: 820px;
  margin: 0 auto 42px;
  color: #dce7eb;
  line-height: 1.8;
  font-size: 17px;
}
 
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
 
.fleet-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  padding: 32px;
  text-align: left;
  transition: transform .3s, background .3s;
  backdrop-filter: blur(10px);
}
 
.fleet-card:hover {
  transform: translateY(-7px);
  background: rgba(255,255,255,0.11);
}
 
.fleet-card span {
  color: var(--red);
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 13px;
}
 
.fleet-card h3 { font-size: 22px; margin: 12px 0; }
 
.fleet-card p, .fleet-card li {
  color: #dce7eb;
  line-height: 1.7;
  font-size: 15px;
}
 
.fleet-card ul { margin-top: 14px; list-style: none; }
 
.fleet-card li::before {
  content: "✓ ";
  color: var(--red);
  font-weight: 900;
}

.coverage {
  padding: 96px 8%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 44px;
  align-items: center;
  background: var(--bg-light);
}
 
.coverage p { color: var(--muted); line-height: 1.8; font-size: 16px; }
 
.coverage-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
 
.coverage-list p {
  color: var(--navy);
  font-weight: 700;
  background: #fff;
  padding: 11px 14px;
  border-radius: 12px;
  margin-bottom: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  font-size: 14px;
}
 
.map-box {
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(0,0,0,0.12);
}
 
.map-box iframe { width: 100%; height: 100%; border: 0; }

.gallery {
  padding: 96px 8%;
  background: #fff;
  text-align: center;
}
 
.gallery p {
  max-width: 720px;
  margin: 0 auto 42px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
}
 
.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}
 
.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.11);
  transition: transform .35s, box-shadow .35s;
}
 
.gallery-grid img:first-child {
  grid-row: span 2;
  height: 540px;
}
 
.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 48px rgba(0,0,0,0.16);
}
 

.testimonials {
  padding: 96px 0;
  background: var(--navy);
  text-align: center;
  overflow: hidden;
}
 
.testimonials h2 { font-size: 40px; margin-bottom: 12px; }
 
.testimonial-subtitle {
  color: #dce7eb;
  max-width: 700px;
  margin: 0 auto 42px;
  line-height: 1.7;
  padding: 0 20px;
  font-size: 16px;
}
 
.testimonial-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}
 
.testimonial-slider::before,
.testimonial-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
 
.testimonial-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--navy), transparent);
}
 
.testimonial-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--navy), transparent);
}
 
.testimonial-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: scrollTrack 40s linear infinite;
  will-change: transform;
}
 
.testimonial-slider:hover .testimonial-track {
  animation-play-state: paused;
}
 
@keyframes scrollTrack {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 11px)); }
}
 
.testimonial {
  width: 320px;
  flex: 0 0 320px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  padding: 26px;
  color: #fff;
  text-align: left;
  backdrop-filter: blur(10px);
}
 
.testimonial-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
 
.avatar {
  width: 46px;
  height: 46px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}
 
.testimonial-head strong { display: block; color: #fff; margin-bottom: 3px; }
.testimonial-head span  { color: #aec3ca; font-size: 13px; }
 
.stars {
  color: #ffd166;
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
 
.testimonial p { color: #e4eef2; line-height: 1.7; font-size: 14px; }
 

.payments {
  padding: 80px 8%;
  text-align: center;
  background: #fff;
}
 
.payments .section-label { display: inline-block; }
.payments p {
  max-width: 700px;
  margin: 0 auto 24px;
  color: var(--muted);
  line-height: 1.7;
}
 
.payment-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}
 
.payment-logos img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  padding: 10px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.11);
  transition: transform .3s;
}
 
.payment-logos img:hover { transform: translateY(-4px) scale(1.05); }

.quote {
  padding: 96px 8%;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(5,38,50,0.92), rgba(5,38,50,0.92)),
    url("imagenes/taxivan.jpg") center/cover no-repeat;
}
 
.quote-box { max-width: 820px; margin: auto; }
 
.quote p {
  color: #dce7eb;
  line-height: 1.8;
  margin-bottom: 28px;
}

.footer {
  background: #062632;
  color: #fff;
  border-top: 4px solid var(--red);
}
 
.footer-container {
  padding: 64px 8%;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 44px;
}
 
.footer img {
  width: 160px;
  background: #fff;
  padding: 8px;
  border-radius: 14px;
  margin-bottom: 16px;
}
 
.footer p, .footer a {
  color: #c9d6da;
  text-decoration: none;
  display: block;
  margin-bottom: 9px;
  line-height: 1.7;
  font-size: 14px;
}
 
.footer h4 { font-size: 17px; margin-bottom: 18px; color: #fff; }
.footer a:hover { color: #fff; }
 
.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
 
.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 18px;
  transition: background .25s, transform .25s;
  margin: 0;
  padding: 0;
  text-decoration: none;
}
 
.footer-social a:hover {
  background: var(--red);
  transform: translateY(-3px);
}
 
.footer-bottom {
  background: #041b24;
  text-align: center;
  color: #c9d6da;
  padding: 16px;
  font-size: 13px;
}
 

#wa-global {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 700;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform .25s, opacity .25s;
  pointer-events: all;
}
 
#wa-global:hover { transform: scale(1.1); }
 
#wa-global img {
  width: 32px;
  height: 32px;
}
 

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 560;
}
 
.nav-overlay.visible { display: block; }
 

@media (max-width: 1024px) {
  .service-grid,
  .fleet-grid,
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
 
  .trust { grid-template-columns: repeat(3, 1fr); }
 
  .hero h1 { font-size: 44px; }
 
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about-text { text-align: center; }
  .about-image img { max-height: 340px; object-fit: cover; }
}
 
@media (max-width: 768px) {
 
  :root { --header-h: 70px; }
 
  section { scroll-margin-top: 70px; }
 
  /* Header */
  .header { padding: 0 16px; }
 
  .logo img { width: 130px; }
 

  .nav { display: none; }
  .hamburger { display: flex; }
 

  .hero {
    min-height: 88vh;
    padding: 80px 16px 48px;
    justify-content: center;
    text-align: center;
    background:
      linear-gradient(rgba(5,38,50,0.65), rgba(5,38,50,0.65)),
      url("imagenes/lima.jpg") center/cover no-repeat;
  }
 
  .hero-content {
    max-width: 100%;
    padding: 28px 20px;
    border-radius: 20px;
  }
 
  .hero h1 {
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: -0.5px;
  }
 
  .hero p { font-size: 15px; line-height: 1.7; }
 
  .hero-buttons { justify-content: center; gap: 10px; }
 
  .btn-primary, .btn-outline {
    flex: 1;
    text-align: center;
    padding: 14px 10px;
    font-size: 14px;
  }

  .trust {
    width: 92%;
    margin: -22px auto 0;
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 16px;
    border-radius: 20px;
  }
 
  .trust h3 { font-size: 32px; }
 

  .section, .fleet, .coverage, .about,
  .payments, .quote, .testimonials, .gallery {
    padding: 64px 18px;
  }
 
  .section h2, .fleet h2, .coverage h2, .about h2,
  .payments h2, .quote h2, .testimonials h2, .gallery h2 {
    font-size: 26px;
    line-height: 1.2;
  }
 
  .subtitle { font-size: 15px; }
 

  .about { grid-template-columns: 1fr; gap: 26px; }
  .about-text { text-align: center; }
  .about-image img { height: 260px; object-fit: cover; border-radius: 18px; }
  .mission-grid { grid-template-columns: 1fr; }
 

  .service-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card img { height: 200px; }
  .service-card div { padding: 20px; }
  .service-card h3 { font-size: 19px; }
 

  .fleet-grid { grid-template-columns: 1fr; }
  .fleet-card { padding: 26px; }
  .fleet-card h3 { font-size: 20px; }
 

  .coverage { grid-template-columns: 1fr; gap: 22px; }
  .coverage-list { grid-template-columns: 1fr 1fr; }
  .map-box { height: 230px; border-radius: 16px; }
 
 
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .gallery-grid img,
  .gallery-grid img:first-child {
    height: 160px;
    grid-row: auto;
    border-radius: 14px;
  }
 

  .testimonial { width: 270px; flex: 0 0 270px; }
 
  .testimonial-slider::before,
  .testimonial-slider::after { width: 40px; }
 

  .payment-logos img { width: 56px; height: 56px; }
 

  .footer-container {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 22px;
    text-align: center;
  }
 
  .footer-container > .footer-links:nth-child(3) { display: none; }
 
  .footer img, .footer-btn {
    margin-left: auto;
    margin-right: auto;
  }
 
  .footer-social { justify-content: center; }
 
  #wa-global {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
  }
 
  #wa-global img { width: 28px; height: 28px; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 1.75rem; }
  .coverage-list { grid-template-columns: 1fr; }
  .gallery-grid img,
  .gallery-grid img:first-child { height: 140px; }
}