/* ── Hero Section v2 — Margarita Moto Rent ── */

.hero2 {
  position: relative;          /* bloque contenedor de todo */
  overflow: hidden;
  min-height: 580px;
  background: linear-gradient(120deg, #f0f9ff 0%, #e4f4f8 55%, #d0eef5 100%);
  display: flex;
  align-items: center;
}

/* ── IMAGEN DE FONDO — cubre TODA la sección, sin bordes visibles ── */
.hero2-bg {
  position: absolute;
  inset: 0;             /* top/right/bottom/left: 0 */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;  /* moto visible en la parte derecha */
  display: block;
  z-index: 0;
}

/* Degradado sobre la imagen: izquierda opaca → derecha transparente */
.hero2-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #f0f9ff  0%,
    #f0f9ff  28%,
    rgba(240,249,255,.97) 38%,
    rgba(240,249,255,.75) 50%,
    rgba(240,249,255,.25) 62%,
    transparent          75%
  );
  z-index: 1;
  pointer-events: none;
}

/* ── CHIPS FLOTANTES ── */
.hero2-deco {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  color: #14213d;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  white-space: nowrap;
  border: 1px solid rgba(10,147,150,.18);
  z-index: 3;
}
.hero2-deco svg { color: #0a9396; stroke: #0a9396; }
.hero2-deco--tl { top: 28px; right: 36%; }
.hero2-deco--br { bottom: 28px; right: 28px; }

/* ── CONTENIDO IZQUIERDO ── */
.hero2-left {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
  /* Alinea el contenido como si estuviera en un container de 1200px */
  padding: 60px 40px 56px max(24px, calc(50vw - 600px + 24px));
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Eyebrow */
.hero2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #0a9396;
  margin-bottom: 14px;
}

/* Headline */
.hero2-headline {
  display: flex;
  flex-direction: column;
  margin: 0 0 18px;
}

.hero2-line1 {
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  font-weight: 900;
  color: #14213d;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: 1.1;
  display: block;
}

.hero2-line2 {
  font-family: 'Pacifico', cursive;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  color: #0a9396;
  line-height: 1.18;
  display: block;
  position: relative;
  width: fit-content;
}
.hero2-line2::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 80%; height: 3px;
  background: linear-gradient(90deg, #0a9396, transparent);
  border-radius: 2px;
}

/* Subtitle */
.hero2-sub {
  font-size: .97rem;
  color: #374151;
  line-height: 1.65;
  margin: 0 0 24px;
}
.hero2-sub strong { color: #0a9396; font-weight: 700; }

/* Features */
.hero2-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 14px;
  margin-bottom: 28px;
  padding: 16px 18px;
  background: rgba(255,255,255,.80);
  border-radius: 14px;
  border: 1px solid rgba(10,147,150,.14);
  backdrop-filter: blur(10px);
}

.hero2-feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}

.hero2-feat-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e0f7fa, #b2dfdb);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero2-feat-icon svg {
  width: 19px; height: 19px;
  color: #0a9396; stroke: #0a9396;
}
.hero2-feat-text {
  font-size: .68rem;
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.35;
}

/* CTAs */
.hero2-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero2-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-weight: 800;
  font-size: .86rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.32);
  transition: background .15s, transform .15s;
}
.hero2-btn-wa:hover { background: #1ebe5c; transform: translateY(-2px); }

.hero2-btn-online {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #14213d;
  font-weight: 800;
  font-size: .86rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid #14213d;
  transition: background .15s, color .15s, transform .15s;
}
.hero2-btn-online:hover { background: #14213d; color: #fff; transform: translateY(-2px); }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .hero2 {
    flex-direction: column;
    min-height: auto;
    padding-bottom: 0;
    background: linear-gradient(120deg, #f0f9ff 0%, #e4f4f8 100%);
  }
  /* En móvil la imagen de fondo se oculta — redundante con el contenido apilado */
  .hero2-bg,
  .hero2-fade,
  .hero2-deco {
    display: none;
  }
  .hero2-left {
    max-width: 100%;
    padding: 40px 20px 40px 20px;
  }
}

@media (max-width: 480px) {
  .hero2-features { grid-template-columns: repeat(2, 1fr); }
  .hero2-ctas { flex-direction: column; }
  .hero2-btn-wa, .hero2-btn-online { justify-content: center; }
}
