/* ============================================================
   HERO — Diagonal Cut
   ============================================================ */

.hero-container {
  position: relative;
  overflow: hidden;
  background: #fff;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
}

/* ── Image half with diagonal clip ── */
.hero-img-half {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  overflow: hidden;
  z-index: 1;
}

.hero-img-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-img-half::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(238, 0, 47, 0.15) 0%, transparent 60%);
}

/* ── Red accent stripe along the diagonal ── */
.hero-stripe {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  clip-path: polygon(18% 0, 20.5% 0, 2.5% 100%, 0% 100%);
  background: var(--rojo);
  z-index: 3;
}

/* ── Content ── */
.hero-content {
  position: relative;
  z-index: 4;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 64px 64px;
  max-width: 620px;
}

.hero-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--rojo);
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-eyebrow::before {
  content: "";
  width: 40px;
  height: 3px;
  background: var(--rojo);
}

.hero-title {
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  font-size: 120px;
  line-height: 0.88;
  letter-spacing: 0.01em;
  color: var(--negro);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.text-highlight {
  color: var(--rojo);
}

.hero-description {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  max-width: 420px;
  margin-bottom: 40px;
}

.hero-description strong {
  color: var(--negro);
  font-weight: 700;
}

/* ── CTAs ── */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.btn-primary {
  background: var(--rojo);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 20px 36px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(238, 0, 47, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(238, 0, 47, 0.4);
}

.btn-secondary {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--negro);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.btn-secondary::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--negro);
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.3s;
}

.btn-secondary:hover::after {
  transform: scaleX(1);
}

/* ── Floating stat pill ── */
.hero-pill {
  position: absolute;
  bottom: 40px;
  right: 48%;
  z-index: 5;
  background: #fff;
  padding: 16px 22px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-pill-num {
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  font-size: 36px;
  color: var(--celeste);
  line-height: 1;
}

.hero-pill-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--negro);
  line-height: 1.3;
}

/* ============================================================
   RESPONSIVE — SMALL DESKTOP (1025–1450px)
   Prevents title from crossing the diagonal and pill from
   overlapping the CTA buttons.
   ============================================================ */
@media (max-width: 1450px) and (min-width: 1025px) {
  .hero-title {
    font-size: 88px;
  }

  .hero-content {
    padding: 120px 48px 64px;
    max-width: 480px;
  }

  .hero-description {
    max-width: 380px;
  }

  .hero-pill {
    /* Anchor to bottom-left, clear of the CTA row */
    right: auto;
    left: 48px;
    bottom: 28px;
  }
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 72px;
  }

  .hero-content {
    padding: 120px 40px 48px;
    max-width: 440px;
  }

  .hero-description {
    max-width: 360px;
  }

  .hero-pill {
    right: auto;
    left: 40px;
    bottom: 24px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .hero-container {
    min-height: auto;
  }

  /* Image goes on top, full width with angled bottom clip */
  .hero-img-half {
    position: relative;
    width: 100%;
    height: 260px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
  }

  .hero-stripe {
    display: none;
  }

  .hero-content {
    padding: 28px 24px 40px;
    max-width: 100%;
  }

  .hero-eyebrow {
    font-size: 8px;
    margin-bottom: 16px;
  }

  .hero-title {
    font-size: 56px;
    margin-bottom: 18px;
  }

  .hero-description {
    font-size: 13px;
    max-width: 100%;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .btn-primary {
    padding: 16px 28px;
  }

  /* Pill: integrated inline card with brand accent */
  .hero-pill {
    position: relative;
    bottom: auto;
    right: auto;
    left: auto;
    margin: 32px 24px 24px;
    align-self: stretch;
    background: linear-gradient(135deg, #fff 0%, #fdf5f6 100%);
    border-left: 4px solid var(--rojo);
    padding: 18px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  }

  .hero-pill-num {
    font-size: 28px;
    color: var(--rojo);
  }

  .hero-pill-text {
    font-size: 9px;
  }
}
