/* ═══════════════════════════════════════════════════════════
   JULI AUTOS — Estilos principales
   ═══════════════════════════════════════════════════════════ */

:root {
  --blue:        #CC0000;
  --blue-dark:   #AA0000;
  --blue-light:  #FFE5E5;
  --navy:        #0D1B2A;
  --navy-mid:    #1E3A5F;
  --amber:       #CC0000;
  --green:       #25D366;
  --green-dark:  #1ebe57;
  --text:        #1F2937;
  --text-light:  #6B7280;
  --bg:          #FFFFFF;
  --bg-alt:      #F8FAFC;
  --border:      #E5E7EB;
  --radius:      14px;
  --radius-lg:   22px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:   0 12px 48px rgba(37,99,235,0.12);
  --transition:  all 0.28s cubic-bezier(0.4,0,0.2,1);
  --font:        'Plus Jakarta Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

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

/* ══════════════ BUTTONS ══════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,0.4); color: #fff; background: rgba(255,255,255,0.1); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn--wsp { background: var(--green); color: #fff; }
.btn--wsp:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.3); }
.btn--sm { padding: 8px 16px; font-size: 0.85rem; }
.btn--lg { padding: 14px 32px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }
.link-btn { background: none; border: none; color: var(--blue); cursor: pointer; font-weight: 600; text-decoration: underline; font-size: inherit; }

/* ══════════════ HEADER / NAV ══════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav__logo {
  display: flex;
  align-items: center;
  transition: var(--transition);
}
.nav__logo-img {
  height: 52px;
  width: auto;
  border-radius: 10px;
  mix-blend-mode: screen;
  transition: var(--transition);
  padding: 2px;
}
.header.scrolled .nav__logo-img {
  mix-blend-mode: normal;
  background: #111;
  padding: 4px 8px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  outline: 2px solid rgba(220,38,38,0.4);
}

.nav__menu {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav__link {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  position: relative;
}
.header.scrolled .nav__link { color: var(--text); }
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 2px;
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link:hover { color: #fff; }
.header.scrolled .nav__link:hover { color: var(--blue); }

.nav__actions { display: flex; align-items: center; gap: 12px; margin-left: 16px; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.header.scrolled .nav__hamburger span { background: var(--navy); }
.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ══════════════ HERO ══════════════ */
.hero {
  background: linear-gradient(135deg, #000000 0%, #1a0000 50%, #0d0010 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,38,38,0.18), transparent 70%);
}
.hero__circle--1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.hero__circle--2 { width: 400px; height: 400px; bottom: 100px; left: -150px; }
.hero__circle--3 { width: 300px; height: 300px; top: 50%; right: 20%; opacity: 0.5; }

.hero__content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 120px;
  padding-bottom: 60px;
}
.hero__text { max-width: 560px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(220,38,38,0.15);
  border: 1px solid rgba(220,38,38,0.3);
  color: #fca5a5;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero__title em { color: var(--amber); font-style: normal; }
.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__visual {
  flex-shrink: 0;
  width: min(420px, 45vw);
  animation: float 4s ease-in-out infinite;
}
.hero__logo-img {
  width: 100%;
  border-radius: 20px;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 40px rgba(220,38,38,0.3));
}

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

.hero__stats {
  background: rgba(220,38,38,0.08);
  border-top: 1px solid rgba(220,38,38,0.15);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.stat__label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  margin-top: 2px;
}

/* ══════════════ SECTIONS ══════════════ */
.section { padding: 90px 0; }
.section--alt  { background: var(--bg-alt); }
.section--dark { background: linear-gradient(135deg, #000000 0%, #1a0000 50%, #0d0010 100%); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-title em { color: var(--blue); font-style: normal; }
.section-sub { color: var(--text-light); font-size: 1rem; max-width: 480px; margin: 0 auto; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ══════════════ FILTERS ══════════════ */
.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  align-items: center;
}
.filter-input, .filter-select {
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--text);
  background: #fff;
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.filter-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.filter-input { min-width: 220px; flex: 1; }
.filter-input:focus, .filter-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* ══════════════ CAR CARDS ══════════════ */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.car-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  animation: fadeUp 0.4s ease both;
}
.car-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,0.2);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.car-card__img-wrap {
  position: relative;
  height: 200px;
  background: var(--bg-alt);
  overflow: hidden;
}
.car-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.car-card:hover .car-card__img-wrap img { transform: scale(1.05); }

.car-card__no-img {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.85rem;
  gap: 8px;
}
.car-card__no-img svg { opacity: 0.3; }

.car-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--amber);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.car-card__body { padding: 20px; }
.car-card__brand {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.car-card__model {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.3;
}
.car-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}
.spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-light);
}
.spec-item__icon { font-size: 0.9rem; }
.car-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.car-card__price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.car-card__cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 4px;
}
.car-card__cta::after { content: '→'; }

/* Skeleton */
.skeleton-card {
  height: 360px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-light);
}
.empty-state__icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.2rem; color: var(--text); margin-bottom: 8px; }

/* ══════════════ DARK SECTION OVERRIDES ══════════════ */
.section--dark .section-title { color: #fff; }
.section--dark .section-sub   { color: rgba(255,255,255,0.55); }
.section--dark .eyebrow        { color: #fca5a5; }

/* Servicios cards en dark */
.servicios .servicio-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}
.servicios .servicio-card:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(220,38,38,0.45);
  box-shadow: 0 8px 32px rgba(220,38,38,0.15);
}
.servicios .servicio-card h3 { color: #fff; }
.servicios .servicio-card p  { color: rgba(255,255,255,0.58); }

/* Nosotros en dark */
.nosotros .section-title { color: #fff; }
.nosotros__text p        { color: rgba(255,255,255,0.65); }
.nosotros__list li       { color: #fff; }
.nosotros .check         { background: rgba(220,38,38,0.2); color: #fca5a5; }
.nosotros .nosotros__card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}
.nosotros .nosotros__card--accent {
  background: rgba(220,38,38,0.18);
  border-color: rgba(220,38,38,0.3);
}
.nosotros .nosotros__card strong { color: #fff; }
.nosotros .nosotros__card span   { color: rgba(255,255,255,0.5); }

/* ══════════════ SERVICIOS ══════════════ */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.servicio-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.servicio-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.servicio-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}
.servicio-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.servicio-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }

/* ══════════════ SEGUROS ══════════════ */
.seguros { background: var(--bg-alt); }
.seguros .section-title { color: var(--navy); }
.seguros .section-sub   { color: var(--text-light); }
.seguros .eyebrow       { color: var(--blue); }

.seguros-planes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
  align-items: start;
}

.plan-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
}
.plan-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(245,158,11,0.15);
  transform: translateY(-4px);
}
.plan-card--featured {
  background: linear-gradient(135deg, #000000 0%, #1a0000 50%, #0d0010 100%);
  border-color: transparent;
  transform: scale(1.04);
  box-shadow: 0 16px 56px rgba(0,0,0,0.3);
}
.plan-card--featured:hover { transform: scale(1.04) translateY(-4px); }
.plan-card--featured:hover { transform: scale(1.04) translateY(-4px); }

.plan-card__badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--amber);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.plan-card__header { text-align: center; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.plan-card--featured .plan-card__header { border-color: rgba(255,255,255,0.12); }
.plan-card__icon    { font-size: 1.6rem; display: block; margin-bottom: 12px; }
.plan-card__name    { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.plan-card--featured .plan-card__name { color: #fff; }
.plan-card__desc    { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; }
.plan-card--featured .plan-card__desc { color: rgba(255,255,255,0.6); }

.plan-card__features {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px;
  font-size: 0.88rem;
}
.plan-card__features li { display: flex; align-items: center; gap: 10px; }
.included     { color: var(--text); font-weight: 500; }
.not-included { color: var(--text-light); opacity: 0.45; }
.plan-card--featured .included     { color: rgba(255,255,255,0.9); }
.plan-card--featured .not-included { color: rgba(255,255,255,0.3); opacity: 1; }

.plan-card .btn--outline {
  border-color: var(--border);
  color: var(--text);
}
.plan-card .btn--outline:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}
.plan-card--featured .btn--outline {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.plan-card--featured .btn--outline:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.6);
}
.plan-btn-featured {
  background: var(--blue) !important;
  box-shadow: 0 4px 20px rgba(245,158,11,0.35);
}
.plan-btn-featured:hover {
  background: var(--blue-dark) !important;
  box-shadow: 0 8px 28px rgba(245,158,11,0.5) !important;
}

.seguros-beneficios {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 32px;
  background: linear-gradient(135deg, #000000 0%, #1a0000 50%, #0d0010 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.seguro-benefit {
  display: flex; align-items: flex-start; gap: 14px;
}
.seguro-benefit__icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.seguro-benefit strong { display: block; color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 3px; }
.seguro-benefit span   { color: rgba(255,255,255,0.55); font-size: 0.8rem; line-height: 1.4; }

@media (max-width: 900px) {
  .seguros-planes { grid-template-columns: 1fr; }
  .plan-card--featured { transform: none; }
  .plan-card--featured:hover { transform: translateY(-4px); }
  .seguros-beneficios { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .seguros-beneficios { grid-template-columns: 1fr; padding: 20px; }
}

/* ══════════════ NOSOTROS ══════════════ */
.nosotros__inner {
  display: flex;
  align-items: center;
  gap: 80px;
}
.nosotros__text { flex: 1; }
.nosotros__text p { color: var(--text-light); margin: 20px 0 28px; line-height: 1.75; }
.nosotros__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.nosotros__list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.check {
  width: 22px; height: 22px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.nosotros__visual {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 320px;
}
.nosotros__card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.nosotros__card:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.nosotros__card--accent {
  background: var(--navy);
  border-color: transparent;
  margin-left: 32px;
}
.nosotros__card--accent strong,
.nosotros__card--accent span { color: #fff; }
.nosotros__card--accent .nosotros__card-icon { background: rgba(255,255,255,0.1); }
.nosotros__card-icon {
  width: 44px; height: 44px;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.nosotros__card strong { display: block; font-size: 0.95rem; color: var(--navy); font-weight: 700; }
.nosotros__card span { display: block; font-size: 0.8rem; color: var(--text-light); }

/* ══════════════ CONTACTO ══════════════ */
.contacto__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}
.contacto__form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 600; font-size: 0.88rem; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-success {
  background: #D1FAE5;
  color: #065F46;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
}

.contacto__info { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.info-card__icon { font-size: 1.3rem; flex-shrink: 0; }
.info-card strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.info-card span { font-size: 0.88rem; color: var(--text-light); line-height: 1.5; }

/* ══════════════ FOOTER ══════════════ */
.footer {
  background: #0a0a0a;
  padding: 48px 0;
  color: rgba(255,255,255,0.5);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__logo { display: block; margin-bottom: 6px; }
.footer__logo-img {
  height: 56px;
  width: auto;
  border-radius: 8px;
  mix-blend-mode: screen;
}
.footer__tagline { font-size: 0.85rem; }
.footer__nav { display: flex; gap: 28px; }
.footer__nav a { font-size: 0.88rem; transition: var(--transition); }
.footer__nav a:hover { color: #fff; }
.footer__copy { font-size: 0.82rem; }
.footer__powered { font-size: 0.78rem; color: rgba(255,255,255,0.25); }
.footer__powered span { color: rgba(255,255,255,0.5); font-weight: 700; letter-spacing: 0.3px; }

/* ══════════════ WHATSAPP FLOAT ══════════════ */
.wsp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 90;
  width: 58px; height: 58px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulse 2.5s ease-in-out infinite;
}
.wsp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.7); }
}

/* ══════════════ MODAL ══════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  max-width: 840px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.modal-overlay.open .modal { transform: translateY(0); }

.modal__close {
  position: sticky;
  top: 0;
  float: right;
  margin: 16px 16px 0 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text);
  z-index: 10;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.modal__close:hover { background: rgba(0,0,0,0.16); }

/* Gallery */
.modal__gallery { clear: both; }
.gallery__main {
  position: relative;
  height: 340px;
  background: var(--bg-alt);
  overflow: hidden;
}
.gallery__main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  z-index: 5;
  color: var(--navy);
}
.gallery__nav:hover { background: #fff; transform: translateY(-50%) scale(1.1); }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__thumbs {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  background: #fff;
}
.gallery__thumb {
  width: 72px; height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
  opacity: 0.6;
  transition: var(--transition);
  border: 2px solid transparent;
}
.gallery__thumb.active { opacity: 1; border-color: var(--blue); }

.modal__body { padding: 24px 28px 32px; }
.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.modal__brand {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.modal__title { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.modal__price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
  white-space: nowrap;
}
.modal__specs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
  padding: 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}
.modal__spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.modal__spec-label { font-size: 0.75rem; color: var(--text-light); font-weight: 500; }
.modal__spec-val { font-size: 0.95rem; font-weight: 700; color: var(--navy); }
.modal__desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}
.modal__actions { display: flex; gap: 12px; }

/* ══════════════ REVEAL ANIMATION ══════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 900px) {
  .hero__content { flex-direction: column; text-align: center; padding-top: 100px; }
  .hero__ctas { justify-content: center; }
  .hero__visual { width: min(340px, 90vw); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nosotros__inner { flex-direction: column; gap: 48px; }
  .nosotros__visual { width: 100%; }
  .nosotros__card--accent { margin-left: 0; }
  .contacto__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 700px) {
  .nav__menu {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 4px;
    box-shadow: var(--shadow);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .nav__menu.open { display: flex; }
  .nav__menu .nav__link { color: var(--text); padding: 10px 0; font-size: 1rem; }
  .nav__hamburger { display: flex; }
  .btn--wsp.nav__actions .btn--wsp { display: none; }
  .hero__title { font-size: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .modal__header { flex-direction: column; gap: 8px; }
  .modal__actions { flex-direction: column; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__nav { justify-content: center; flex-wrap: wrap; gap: 16px; }
}
