.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  color: #ffffff;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(9, 15, 22, 0.8),
    rgba(9, 15, 22, 0.4)
  );
}

.hero .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
  color: #f7c54f;
}

.eyebrow.dark {
  color: #e74c3c;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.12;
}

.hero-copy {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.12rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-primary {
  background: #e74c3c;
  color: #fff;
  box-shadow: 0 12px 26px rgba(231, 76, 60, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
}

.servicios,
.benefits,
.quienes-somos,
.cta-section {
  padding: 80px 0;
}

.section-title {
  margin: 0 0 12px;
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #112233;
}

.section-intro {
  max-width: 780px;
  margin: 0 auto 30px;
  text-align: center;
  line-height: 1.8;
  color: #485666;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.card {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid rgba(17, 34, 51, 0.08);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(17, 34, 51, 0.06);
}

.card-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.card-heading h3 {
  margin: 0;
  font-size: 1.45rem;
  color: #102030;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(231, 76, 60, 0.1);
  font-size: 1.6rem;
}

.card p {
  margin: 0;
  line-height: 1.8;
  color: #46576b;
}

.benefits {
  background: #f7f7f7;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(17, 34, 51, 0.08);
  line-height: 1.7;
  color: #37465a;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e74c3c;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
}

.cert-card {
  padding: 30px 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  border: 1px solid rgba(17, 34, 51, 0.08);
  text-align: left;
}

.cert-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  margin-bottom: 22px;
}

.cert-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #2eaf68;
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.cert-card strong {
  display: block;
  color: #102030;
  font-size: 1.25rem;
}

.cert-card p {
  margin: 0;
  line-height: 1.7;
  color: #4b5b6d;
}

.cta-section {
  background: #f1f5f9;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 36px;
  border-radius: 24px;
  background: linear-gradient(135deg, #111f2a 0%, #1a2d3d 100%);
  color: #fff;
}

.cta-box h2 {
  margin: 8px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(90px, 1fr));
  gap: 18px;
  align-items: center;
  margin-top: 32px;
}

.logos-grid img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  justify-self: center;
  filter: grayscale(1);
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .cards-grid,
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 70px 15px;
  }

  .cards-grid,
  .cert-grid,
  .check-grid,
  .logos-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }
}
