/* ============================================================
   MEVDESAV — Transporte y Logística
   Estilos principales
   ============================================================ */

/* ── Variables ───────────────────────────────────────────── */
:root {
  --primary:      #f97316;
  --primary-d:    #ea580c;
  --brand-blue:   #1560BD;
  --dark:         #0d1b2a;
  --dark-2:       #122032;
  --gray:         #94a3b8;
  --light:        #f8fafc;
  --white:        #ffffff;
  --text:         #1e293b;
  --text-light:   #64748b;
  --border:       #e2e8f0;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.18);
  --transition:   all .3s ease;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

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

ul { list-style: none; }

/* ── Container ───────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography helpers ──────────────────────────────────── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,.1);
  color: var(--primary);
  border: 1px solid rgba(249,115,22,.25);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-badge.light {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.3);
  color: var(--white);
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 14px;
}

.section-title.light { color: var(--white); }

.section-title .highlight { color: var(--brand-blue); }
.hero-title .highlight    { color: var(--primary); }

.section-desc {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 580px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-desc { margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249,115,22,.38);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.55);
}

.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ── Navbar ──────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: var(--dark);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .02em;
}

.logo-accent { color: var(--brand-blue); }

.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  border-radius: 6px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
}

.logo-sub {
  font-size: .62rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.78);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

.nav-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--white);
  padding: 9px 18px;
  border-radius: 8px;
  font-size: .87rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: var(--transition);
}

.nav-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: scale(1.06);
  transition: transform 8s ease;
}

.hero.loaded .hero-img { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(13,27,42,.88) 0%,
    rgba(13,27,42,.62) 55%,
    rgba(13,27,42,.35) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.82);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .45; transform: scale(1.5); }
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  margin-bottom: 26px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero-desc {
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  color: rgba(255,255,255,.72);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 42px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.42);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,.35);
  border-bottom: 2px solid rgba(255,255,255,.35);
  transform: rotate(45deg);
  animation: scrollBounce 1.6s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0,0); }
  50%       { transform: rotate(45deg) translate(4px,4px); }
}

/* ── Stats ───────────────────────────────────────────────── */
.stats-section {
  background: var(--dark);
  padding: 36px 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 36px;
  flex: 1;
  min-width: 150px;
}

.stat-icon {
  font-size: 1.7rem;
  color: var(--primary);
  opacity: .85;
  flex-shrink: 0;
}

.stat-body { display: flex; flex-direction: column; }

.stat-number-row {
  display: flex;
  align-items: baseline;
  gap: 1px;
  line-height: 1;
}

.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
}

.stat-suffix {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: .78rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: 5px;
}

.stat-sep {
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* ── Nosotros ────────────────────────────────────────────── */
.nosotros-section {
  padding: 100px 0;
  background: var(--white);
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.nosotros-images {
  position: relative;
  padding-bottom: 30px;
}

.img-main {
  width: 100%;
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.img-accent {
  position: absolute;
  bottom: 0;
  right: -20px;
  width: 54%;
  height: 195px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.img-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 15px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.img-badge strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.img-badge span { font-size: .7rem; opacity: .88; }

.nosotros-text {
  font-size: .97rem;
  color: var(--text-light);
  line-height: 1.82;
  margin-bottom: 18px;
}

.nosotros-values {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.value-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249,115,22,.1);
  color: var(--primary);
  border-radius: 10px;
  font-size: .95rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-item strong {
  display: block;
  font-weight: 600;
  color: var(--text);
  font-size: .95rem;
  margin-bottom: 2px;
}

.value-item span {
  font-size: .86rem;
  color: var(--text-light);
}

/* ── Servicios ───────────────────────────────────────────── */
.servicios-section {
  padding: 100px 0;
  background: var(--light);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.servicio-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 26px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.servicio-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-d));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.servicio-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 50px rgba(0,0,0,.09);
  border-color: transparent;
}

.servicio-card:hover::after { transform: scaleX(1); }

.servicio-icon {
  width: 54px;
  height: 54px;
  background: rgba(249,115,22,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 18px;
  transition: var(--transition);
}

.servicio-card:hover .servicio-icon {
  background: var(--primary);
  color: var(--white);
}

.servicio-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.servicio-card p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.72;
}

/* ── Flota ───────────────────────────────────────────────── */
.flota-section {
  padding: 100px 0;
  background: var(--white);
}

.fleet-feature {
  position: relative;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow-lg);
}

.fleet-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  filter: brightness(.68);
  transition: transform .6s ease;
}

.fleet-feature:hover .fleet-main-img { transform: scale(1.04); }

.fleet-chips {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.fleet-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,27,42,.82);
  backdrop-filter: blur(6px);
  color: var(--white);
  padding: 9px 16px;
  border-radius: 50px;
  font-size: .83rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,.14);
}

.fleet-chip i { color: var(--primary); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  height: 195px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover img { transform: scale(1.1); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,.48);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay i {
  color: var(--white);
  font-size: 1.4rem;
  background: rgba(249,115,22,.85);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* ── Por qué elegirnos ───────────────────────────────────── */
.porque-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.porque-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.porque-bg img { filter: brightness(.3) saturate(.6); }

.porque-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(13,27,42,.92) 0%, rgba(13,27,42,.72) 100%);
  z-index: 1;
}

.porque-content { position: relative; z-index: 2; }

.porque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.porque-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 30px 22px;
  transition: var(--transition);
  cursor: default;
}

.porque-item:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(249,115,22,.4);
  transform: translateY(-4px);
}

.porque-icon {
  width: 50px;
  height: 50px;
  background: rgba(249,115,22,.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 18px;
}

.porque-item h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.porque-item p {
  font-size: .86rem;
  color: rgba(255,255,255,.6);
  line-height: 1.72;
}

/* ── CTA Strip ───────────────────────────────────────────── */
.cta-strip {
  background: var(--primary);
  padding: 60px 0;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.cta-text p { color: rgba(255,255,255,.78); font-size: .93rem; }

.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.cta-btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
}

.cta-btn-white:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.cta-btn-wa {
  background: rgba(0,0,0,.18);
  color: var(--white);
  font-weight: 600;
  border: 2px solid rgba(255,255,255,.4);
}

.cta-btn-wa:hover {
  background: rgba(0,0,0,.32);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ── Contacto ────────────────────────────────────────────── */
.contacto-section {
  padding: 100px 0;
  background: var(--light);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 56px;
  align-items: start;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(249,115,22,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-details { display: flex; flex-direction: column; gap: 3px; }

.contact-details strong {
  font-size: .76rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.contact-details a,
.contact-details span {
  font-size: .93rem;
  color: var(--text);
  transition: var(--transition);
}

.contact-details a:hover { color: var(--primary); }

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .93rem;
  transition: var(--transition);
  margin-top: 6px;
}

.whatsapp-cta:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.28);
}

.whatsapp-cta i { font-size: 1.2rem; }

/* ── Form ────────────────────────────────────────────────── */
.contacto-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: .93rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(249,115,22,.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0bec5; }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select { cursor: pointer; }

.form-message {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: .88rem;
  display: none;
}

.form-message.success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  display: block;
}

.form-message.error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  display: block;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.5fr;
  gap: 44px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-logo span { color: var(--primary); }

.footer-brand p { font-size: .86rem; line-height: 1.72; max-width: 250px; }

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

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
}

.footer-social a:hover { background: #25D366; color: var(--white); }

.footer-links h4,
.footer-contact h4 {
  font-size: .8rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 18px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 9px; }

.footer-links a {
  font-size: .86rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--primary); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .86rem;
}

.footer-contact-item i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }

.footer-contact-item a:hover { color: var(--primary); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.28);
}

/* ── WhatsApp Float ──────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.65rem;
  box-shadow: 0 8px 32px rgba(37,211,102,.42);
  transition: var(--transition);
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 42px rgba(37,211,102,.55);
}

.wa-tooltip {
  position: absolute;
  right: 68px;
  background: var(--dark);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: .8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--dark);
}

.wa-float:hover .wa-tooltip { opacity: 1; }

/* ── Lightbox ────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.05rem;
  transition: var(--transition);
  z-index: 10000;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--primary); border-color: var(--primary); }

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }

/* ── Scroll animations ───────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nosotros-grid { gap: 50px; }
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .porque-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  /* Mobile menu */
  .nav-links,
  .nav-whatsapp { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--dark);
    padding: 100px 40px 40px;
    gap: 10px;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.open .nav-link {
    font-size: 1.3rem;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .hamburger { display: flex; }

  /* Sections */
  .nosotros-grid { grid-template-columns: 1fr; gap: 64px; }
  .img-accent { right: 0; }
  .servicios-grid { grid-template-columns: 1fr; }
  .porque-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contacto-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contacto-form { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Stats */
  .stats-grid { flex-direction: column; align-items: stretch; }
  .stat-item { padding: 16px 28px; }
  .stat-sep { width: 80%; height: 1px; margin: 0 auto; }

  /* CTA */
  .cta-content { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  .fleet-feature { height: 260px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-item { height: 155px; }
  .footer-grid { grid-template-columns: 1fr; }
}
