/* ==========================================================================
   Preventivosst SAS - Estilos Personalizados Integrados con Bootstrap 5
   ========================================================================== */

:root {
  --sst-primary: #033249;
  --sst-primary-dark: #02202f;
  --sst-primary-light: #0d4a6b;
  --sst-accent: #ff8038;
  --sst-accent-hover: #e66f28;
  --sst-accent-light: #fff2ea;
  --sst-bg: #f8fafc;
  --sst-text: #334155;
  --sst-text-heading: #0f172a;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--sst-text);
  background-color: var(--sst-bg);
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  color: var(--sst-text-heading);
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* Colores utilitarios acordes a la identidad */
.titulo-naranja {
  color: var(--sst-accent) !important;
}

.titulo-azul {
  color: var(--sst-primary) !important;
}

.titulo-blanco {
  color: #ffffff !important;
}

.bg-sst-primary {
  background-color: var(--sst-primary) !important;
}

.bg-sst-accent {
  background-color: var(--sst-accent) !important;
}

.text-sst-accent {
  color: var(--sst-accent) !important;
}

/* Divisores */
hr {
  background-color: var(--sst-accent);
  border: none;
  height: 3px;
  opacity: 1;
  width: 50px;
  margin: 1rem 0 1.5rem 0;
  border-radius: 2px;
}

.separador {
  height: 5px;
  background: linear-gradient(90deg, var(--sst-accent) 0%, #ffaa6b 100%);
}

.separador-azul {
  height: 4px;
  background-color: var(--sst-primary);
}

/* Navegación Bootstrap */
.navbar {
  background-color: var(--sst-primary) !important;
  box-shadow: 0 4px 12px rgba(3, 50, 73, 0.2);
}

.imagen-nav {
  height: 52px;
  width: auto;
  transition: transform 0.2s ease;
}

.imagen-nav:hover {
  transform: scale(1.02);
}

.navbar-nav .nav-link {
  color: #e2e8f0 !important;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.25s ease;
  border-radius: 4px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--sst-accent) !important;
  background-color: rgba(255, 255, 255, 0.08);
}

/* Botones con estilo propio y sin colisión con clases de Bootstrap */
.btn-sst {
  background-color: var(--sst-accent);
  border-color: var(--sst-accent);
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(255, 128, 56, 0.35);
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-sst:hover {
  background-color: var(--sst-accent-hover);
  border-color: var(--sst-accent-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255, 128, 56, 0.45);
}

.btn-sst-outline {
  background-color: transparent;
  border: 2px solid var(--sst-primary);
  color: var(--sst-primary) !important;
  font-weight: 600;
  padding: 0.5rem 1.3rem;
  border-radius: 6px;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-sst-outline:hover {
  background-color: var(--sst-primary);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Compatibilidad con clase previa .boton */
.boton {
  background-color: var(--sst-accent);
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  border: none;
  transition: all 0.25s ease;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(255, 128, 56, 0.3);
}

.boton:hover {
  background-color: var(--sst-accent-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.boton-outline {
  background-color: transparent;
  color: var(--sst-primary) !important;
  font-weight: 600;
  padding: 0.5rem 1.3rem;
  border-radius: 6px;
  border: 2px solid var(--sst-primary);
  transition: all 0.25s ease;
  display: inline-block;
  text-decoration: none;
}

.boton-outline:hover {
  background-color: var(--sst-primary);
  color: #ffffff !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--sst-primary) 0%, var(--sst-primary-light) 100%);
  color: #ffffff;
  padding: 4.5rem 0;
  position: relative;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 128, 56, 0.18);
  color: #ffb58e;
  border: 1px solid rgba(255, 128, 56, 0.45);
  padding: 0.35rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Estadísticas / Cifras clave */
.stat-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  border: 1px solid #e2e8f0;
  border-bottom: 4px solid var(--sst-accent);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.09);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--sst-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: 'Roboto Condensed', sans-serif;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Tarjetas de Servicios */
.service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem 1.7rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--sst-primary);
  transition: all 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
  border-top-color: var(--sst-accent);
}

.service-card.featured {
  border-top: 4px solid var(--sst-accent);
  background: linear-gradient(180deg, #ffffff 0%, #fffbf8 100%);
  position: relative;
}

.service-icon {
  width: 52px;
  height: 52px;
  line-height: 52px;
  border-radius: 10px;
  background-color: var(--sst-accent-light);
  color: var(--sst-accent);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.service-card ul {
  padding-left: 0;
  margin: 1rem 0 1.5rem 0;
  list-style: none;
}

.service-card ul li {
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: #475569;
  position: relative;
  padding-left: 1.4rem;
}

.service-card ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--sst-accent);
  font-size: 0.85rem;
}

/* Badges de Sectores */
.sector-badge {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--sst-primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sector-badge:hover {
  background-color: var(--sst-primary);
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(3, 50, 73, 0.2);
}

.sector-badge:hover i {
  color: var(--sst-accent) !important;
}

/* Caja de Promesa de Valor */
.promise-box {
  background: linear-gradient(135deg, var(--sst-primary) 0%, #094765 100%);
  border-radius: 16px;
  color: #ffffff;
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.promise-box::before {
  content: "“";
  font-size: 130px;
  line-height: 1;
  position: absolute;
  top: -20px;
  left: 20px;
  opacity: 0.12;
  font-family: Georgia, serif;
}

/* Planes y Normas */
.plan-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--sst-accent);
  height: 100%;
}

.norma-badge {
  display: inline-block;
  background: #edf2f7;
  color: var(--sst-primary);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Footer */
footer {
  background-color: var(--sst-primary);
  color: #ffffff;
}

.redes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.red-item {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.red-item:hover {
  color: var(--sst-accent);
}

.imagen-footer {
  max-width: 160px;
  height: auto;
}

.creditos {
  background-color: var(--sst-primary-dark);
}
