/* Paleta (fallback por si no defines las variables en :root) */
:root {
  --brand-dark: #1a524f;
  --brand-primary: #2e7d32;
  --brand-accent: #4caf50;
}

/* Hero moderno y sobrio */
.hero {
  /* Layout & caja */
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: clamp(1.25rem, 2vw + 1rem, 3rem);

  /* Fondo con luz sutil + gradiente de marca */
  background: radial-gradient(
      1200px 600px at -10% -10%,
      rgba(255, 255, 255, 0.14),
      transparent 60%
    ),
    radial-gradient(
      800px 400px at 120% -10%,
      rgba(255, 255, 255, 0.1),
      transparent 55%
    ),
    linear-gradient(
      135deg,
      var(--brand-dark) 0%,
      var(--brand-primary) 55%,
      var(--brand-accent) 100%
    );

  color: #fff;

  /* Borde fino para “definir” el bloque */
  border: 1px solid rgba(255, 255, 255, 0.14);

  /* Sombra realista (tu `box-shadow: 10px` no era válido) */
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18), 0 8px 12px rgba(0, 0, 0, 0.12);

  /* Sutil interacción */
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22), 0 10px 16px rgba(0, 0, 0, 0.12);
  }
}

/* Detalles tipográficos sugeridos (opcionales) */
.hero .hero-title {
  margin: 0 0 0.4rem 0;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

.hero .hero-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 60ch;
}

/* Botones claros sobre fondo oscuro (opcional si usas Bootstrap) */
.hero .btn-light {
  color: #123;
}

.page-title {
  font-weight: 700;
  background: var(--brand-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-outline-success {
  color: var(--brand-primary);
  border: 1px solid var(--brand-accent);
  background-color: rgba(76, 175, 80, 0.06);
}

.card-aseguradora {
  background-color: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 4px solid #4CAF50;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card-aseguradora:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.09);
}

.card-aseguradora .card-title {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.badge-soft-success {
  background: rgba(76, 175, 80, 0.12);
  color: var(--brand-primary);
  border: 1px solid rgba(76, 175, 80, 0.25);
}

.link-telefono {
  text-decoration: none;
}

.link-telefono:hover {
  text-decoration: underline;
}

.card-aseguradora .meta {
  font-size: 0.85rem;
  color: #6c757d;
}

.btn-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.btn-icon i {
  font-size: 1rem;
  line-height: 1;
}

.modern-modal {
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.modern-modal .modal-header {
  background: #e7607b;
  color: #fff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.modern-modal .modal-footer {
  background: #f8f9fa;
}

.badge-soft-success {
  background: rgba(76, 175, 80, 0.12);
  color: var(--brand-primary);
  border: 1px solid rgba(76, 175, 80, 0.25);
}

