/* ══════════════════════════════════════════════════════════════
   PÁGINA FLOTA — Estilos específicos
   ══════════════════════════════════════════════════════════════ */

/* ─── HERO FLOTA ─────────────────────────────────────────── */
.flota-hero {
  position: relative;
  min-height: clamp(480px, 65vh, 700px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.flota-hero-bg { position: absolute; inset: 0; z-index: 0; }
.flota-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.flota-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(10, 10, 10, 0.80) 45%,
    rgba(10, 10, 10, 0.40) 75%,
    transparent 100%
  );
}
.flota-hero-franja {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 74%,
    rgba(245, 197, 24, 0.18) 75%,
    rgba(245, 197, 24, 0.08) 78%,
    transparent 79%
  );
  pointer-events: none;
}
.flota-hero-container {
  position: relative;
  z-index: 2;
  padding: 7rem 0 4rem;
  display: flex;
  justify-content: flex-start;
}
.flota-hero-content { max-width: 580px; width: 100%; }

@media (max-width: 767px) {
  .flota-hero-container { padding: 6rem 1.5rem 3rem; }
  .flota-hero-content { max-width: 100%; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .flota-hero-container { padding: 7rem 2rem 4rem; }
}

.flota-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  background: rgba(245, 197, 24, 0.10);
  border: 1px solid rgba(245, 197, 24, 0.30);
  border-radius: 100px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 1.25rem;
}
.flota-hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.flota-hero-sub {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 500px;
  margin: 0 0 1.5rem;
}
.flota-hero-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.flota-hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}
.flota-hero-btns { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ─── INTRO ────────────────────────────── */
#flota-intro { padding: 4.5rem 0; background: var(--dark); }
.flota-intro-layout { display: flex; flex-direction: column; gap: 2.5rem; }
.flota-intro-text .section-label,
.flota-intro-text .section-title { text-align: left; }
.flota-intro-text p {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 1rem 0 0;
}
.flota-intro-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 500px) { .flota-intro-stats { grid-template-columns: repeat(4, 1fr); } }
.flota-intro-stat {
  padding: 1.25rem 1rem;
  background: var(--card);
  border: 1px solid rgba(245, 197, 24, 0.15);
  border-radius: 12px;
  text-align: center;
}
.flota-intro-stat strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.flota-intro-stat span { font-family: 'Barlow', sans-serif; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
@media (min-width: 900px) {
  .flota-intro-layout { flex-direction: row; align-items: center; gap: 4rem; }
  .flota-intro-text { flex: 1.2; }
  .flota-intro-stats { flex: 1; grid-template-columns: repeat(2, 1fr); }
}

/* ─── GALERÍA DE VEHÍCULOS ─────────────── */
#flota-vehiculos { padding: 4.5rem 0; background: var(--black); }
.flota-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 600px) { .flota-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .flota-grid { grid-template-columns: repeat(3, 1fr); } }

.flota-card {
  background: linear-gradient(180deg, var(--card) 0%, #141414 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.flota-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 197, 24, 0.30);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(245, 197, 24, 0.08);
}
.flota-card-img-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: transparent;
  cursor: zoom-in;
  border: none;
  padding: 0;
}
.flota-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  padding: 0.75rem 1rem;
}
.flota-card-img-wrap:hover img { transform: scale(1.05); }
.flota-card-zoom {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
}
.flota-card-zoom svg { width: 16px; height: 16px; }
.flota-card-img-wrap:hover .flota-card-zoom { opacity: 1; }
.flota-card-img-label {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  background: rgba(245, 197, 24, 0.90);
  color: #0a0a0a;
  border-radius: 6px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.flota-card-img-label svg { width: 12px; height: 12px; }
.flota-card-body { padding: 1.25rem 1.25rem 1.5rem; }
.flota-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}
.flota-card-header h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.005em;
}
.flota-card-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.flota-badge-hibrido  { background: rgba(34, 197, 94, 0.15);  color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.30); }
.flota-badge-berlina  { background: rgba(99, 102, 241, 0.15); color: #a5b4fc; border: 1px solid rgba(99, 102, 241, 0.30); }
.flota-badge-familiar { background: rgba(245, 197, 24, 0.12); color: var(--yellow); border: 1px solid rgba(245, 197, 24, 0.30); }
.flota-badge-minivan  { background: rgba(249, 115, 22, 0.12); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.30); }
.flota-badge-electrico{ background: rgba(6, 182, 212, 0.12);  color: #67e8f9; border: 1px solid rgba(6, 182, 212, 0.30); }
.flota-badge-local    { background: rgba(245, 197, 24, 0.10); color: var(--yellow); border: 1px solid rgba(245, 197, 24, 0.25); }
.flota-card-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
  margin: 0 0 1rem;
}
.flota-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.flota-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}
.flota-card-features li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5C518' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 9px no-repeat,
    rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.25);
}

/* ─── LIGHTBOX ─────────────────────────── */
.flota-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.flota-lightbox[aria-hidden="false"] { visibility: visible; opacity: 1; }
.flota-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.flota-lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.flota-lightbox[aria-hidden="false"] .flota-lightbox-content { transform: scale(1); }
.flota-lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: background 0.2s ease;
}
.flota-lightbox-close:hover { background: rgba(245, 197, 24, 0.2); }
.flota-lightbox-img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  background: transparent;
}
.flota-lightbox-caption {
  text-align: center;
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0.75rem 0 0;
}
.flota-lightbox-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 -2rem;
}
.flota-lightbox-nav button {
  pointer-events: all;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: background 0.2s ease;
  margin: 0 -1.5rem;
}
.flota-lightbox-nav button:hover { background: rgba(245, 197, 24, 0.25); }
.flota-lightbox-nav svg { width: 20px; height: 20px; }

/* ─── TIPOS ─────────────────────────────── */
#flota-tipos { padding: 4.5rem 0; background: var(--dark); }
.flota-tipos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 700px) { .flota-tipos-grid { grid-template-columns: repeat(3, 1fr); } }
.flota-tipo-card {
  padding: 2rem 1.5rem;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.flota-tipo-card:hover { transform: translateY(-4px); border-color: rgba(245, 197, 24, 0.25); }
.flota-tipo-card-featured {
  border-color: rgba(245, 197, 24, 0.30);
  background: linear-gradient(180deg, rgba(245, 197, 24, 0.06) 0%, var(--card) 100%);
}
.flota-tipo-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 197, 24, 0.10);
  border: 1px solid rgba(245, 197, 24, 0.25);
  border-radius: 14px;
  margin-bottom: 1.25rem;
}
.flota-tipo-icon svg { width: 26px; height: 26px; color: var(--yellow); }
.flota-tipo-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  margin: 0 0 0.65rem;
}
.flota-tipo-card p {
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
  margin: 0 0 1rem;
}
.flota-tipo-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.flota-tipo-card li {
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  padding-left: 1.2rem;
  position: relative;
}
.flota-tipo-card li::before { content: '→'; position: absolute; left: 0; color: var(--yellow); font-weight: 700; }

/* ─── CONFORT ───────────────────────────── */
#flota-confort { padding: 4.5rem 0; background: var(--black); }
.flota-confort-layout { display: flex; flex-direction: column; gap: 2.5rem; }
.flota-confort-text .section-label,
.flota-confort-text .section-title { text-align: left; }
.flota-confort-text > p {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 1rem 0 2rem;
}
.flota-confort-items { display: flex; flex-direction: column; gap: 1.25rem; }
.flota-confort-item { display: flex; gap: 1rem; align-items: flex-start; }
.flota-confort-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 197, 24, 0.10);
  border: 1px solid rgba(245, 197, 24, 0.22);
  border-radius: 10px;
}
.flota-confort-icon svg { width: 20px; height: 20px; color: var(--yellow); }
.flota-confort-item div strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.flota-confort-item div span {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}
.flota-confort-img { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.flota-confort-img img { width: 100%; height: 100%; object-fit: cover; }
.flota-confort-badge { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.flota-confort-badge span {
  padding: 0.35rem 0.8rem;
  background: rgba(245, 197, 24, 0.92);
  color: #0a0a0a;
  font-family: 'Barlow', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
}
@media (min-width: 900px) {
  .flota-confort-layout { flex-direction: row; align-items: flex-start; gap: 4rem; }
  .flota-confort-text { flex: 1.2; }
  .flota-confort-img { flex: 1; margin-top: 5.5rem; }
}

/* ─── DIFERENCIAL ───────────────────────── */
#flota-diferencial { padding: 4.5rem 0; background: var(--dark); }
.flota-diferencial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 600px) { .flota-diferencial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .flota-diferencial-grid { grid-template-columns: repeat(4, 1fr); } }
.flota-dif-item {
  padding: 1.5rem 1.25rem;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.flota-dif-item:hover { transform: translateY(-3px); border-color: rgba(245, 197, 24, 0.25); }
.flota-dif-icon {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 197, 24, 0.10);
  border: 1px solid rgba(245, 197, 24, 0.22);
  border-radius: 50%;
  margin-bottom: 1rem;
  overflow: hidden;
}
.flota-dif-icon svg { width: 22px; height: 22px; color: var(--yellow); position: relative; z-index: 1; }
.flota-dif-item h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  margin: 0 0 0.5rem;
}
.flota-dif-item p { font-family: 'Barlow', sans-serif; font-size: 0.875rem; line-height: 1.5; color: rgba(255, 255, 255, 0.65); margin: 0; }

/* ─── SECCIÓN RESERVA ─── */
#flota-reserva { padding: 4.5rem 0; background: var(--black); }
.flota-reserva-header { text-align: center; margin-bottom: 3rem; }
.flota-reserva-header .section-sub { max-width: 560px; margin: 0.75rem auto 0; }
#flota-reserva .reserva-layout { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 900px) {
  #flota-reserva .reserva-layout { flex-direction: row; align-items: flex-start; gap: 3.5rem; }
  #flota-reserva .form-info { flex: 0 0 300px; min-width: 0; display: flex; flex-direction: column; }
  #flota-reserva .form-box { flex: 1; min-width: 0; }
}
@media (max-width: 899px) {
  #flota-reserva .form-info { display: contents; }
  #flota-reserva .form-info > h3,
  #flota-reserva .form-info > ul,
  #flota-reserva .form-info > .form-info-box { order: 0; }
  #flota-reserva .form-info > .form-info-logo { order: 99; }
}

/* ─── CTA BANNER FLOTA ──────────────────── */
#flota-cta { padding: 4rem 0; background: var(--dark); }
.flota-cta-banner {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
  box-shadow: 0 20px 50px -15px rgba(245, 197, 24, 0.35);
  position: relative;
  overflow: hidden;
}
.flota-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.flota-cta-content { position: relative; z-index: 1; }
.flota-cta-content h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: #0a0a0a;
  margin: 0 0 0.65rem;
}
.flota-cta-content p { font-family: 'Barlow', sans-serif; font-size: 0.95rem; color: rgba(10, 10, 10, 0.82); margin: 0; }
.flota-cta-btns { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; position: relative; z-index: 1; }
@media (min-width: 768px) {
  .flota-cta-banner { flex-direction: row; text-align: left; padding: 2.5rem 3rem; gap: 2.5rem; }
  .flota-cta-content { flex: 1; }
}

/* ─── INTERLINK FLOTA ───────────────────── */
#flota-interlink { padding: 3rem 0 4.5rem; background: var(--black); }
