/* ─────────────────────────────────────────────────────
   VARIABLES Y COLORES
   ───────────────────────────────────────────────────── */

:root {
  --primary: #14B8A6;
  --warning: #F59E0B;
  --purple: #8B5CF6;
  --blue: #3B82F6;
  --pink: #EC4899;
  --dark: #0F172A;
  --light: #F8FAFC;
  --gray-text: #475569;
  --gray-light: #64748B;
}

/* ─────────────────────────────────────────────────────   VALUEBOXES - ESTILOS
   ───────────────────────────────────────────────────── */

.valuebox {
  font-size: 0.75rem !important;
  margin-bottom: 2rem !important;
}

.valuebox-title {
  font-size: 0.7rem !important;
}

.valuebox-value {
  font-size: 1.3rem !important;
}

/* Espacio entre row de valueboxes y gráfica siguiente */
.dashboard-row:has(.valuebox) {
  margin-bottom: 3rem !important;
}

/* ─────────────────────────────────────────────────────   SECCIÓN HERO (INTRO)
   ───────────────────────────────────────────────────── */

.hero-section {
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', sans-serif;
  
}

.hero-container {
  width: 100%;           /* Usa 100% del contenedor padre */
  padding: 0 2rem;       /* Deja espacios en los lados */
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 1.8rem;
}

.hero-accent {
  color: var(--warning);
}

.divider {
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 2rem auto;
}

/* ─────────────────────────────────────────────────────
   FULL WIDTH ROW
   ───────────────────────────────────────────────────── */

.full-width-row {
  width: 100%;
  padding: 1rem 1rem 4rem 1rem;
  background: white;
  margin-left: 0;
  margin-right: 0;
}

.hero-text {
  font-size: 1.1rem;
  color: var(--gray-text);
  line-height: 2;
  display: block;
  max-width: 680px;
  margin: 0 auto 1.5rem;
}

.hero-highlight {
  font-size: 1.05rem;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.9;
  display: block;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.cta-button {
  background: var(--warning);
  color: white ;
  font-weight: 800;
  padding: 1rem 2.6rem;
  border-radius: 50px;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}


.cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────────────────
   SECCIONES DE FONDO COLOREADO
   ───────────────────────────────────────────────────── */

.section-warning {
  background: var(--warning);
  padding: 5rem 2rem;
  font-family: 'Segoe UI', sans-serif;
}

.section-light {
  background: var(--light);
  padding: 6rem 2rem;
  font-family: 'Segoe UI', sans-serif;
}

.section-dark {
  background: var(--dark);
  padding: 2.2rem;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

/* ─────────────────────────────────────────────────────
   CONTENEDORES Y LAYOUTS
   ───────────────────────────────────────────────────── */

.section-container {
  max-width: 860px;
  margin: 0 auto;
}

.section-container-sm {
  max-width: 760px;
  margin: 0 auto;
}

.section-container-lg {
  max-width: 820px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────────────────
   TÍTULOS Y ETIQUETAS
   ───────────────────────────────────────────────────── */

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  color: var(--gray-light);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-label-sm {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  color: var(--gray-light);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.section-title-warning {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 2rem;
}

.section-title-large {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  color: #334155;
  line-height: 1.7;
  border-left: 4px solid var(--primary);
  padding: 1.2rem 1.8rem;
  background: #F0FDFA;
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0 2.5rem;
}

.section-intro {
  font-size: 1rem;
  color: var(--gray-light);
  line-height: 1.8;
  display: block;
  margin-bottom: 3rem;
}

.text-italic-secondary {
  font-size: 0.98rem;
  color: #292524;
  line-height: 2;
  display: block;
  max-width: 640px;
  margin: 0 auto;
  font-style: italic;
}

.text-secondary {
  font-size: 1.1rem;
  color: #1C1917;
  line-height: 1.8;
  display: block;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

/* ─────────────────────────────────────────────────────
   COLUMNAS Y CARDS
   ───────────────────────────────────────────────────── */

.card-container {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  height: 100%;
}

.card-warning {
  border-top: 4px solid var(--warning);
}

.card-blue {
  border-top: 4px solid var(--blue);
}

.card-purple {
  border-top: 4px solid var(--purple);
}

.card-teal {
  border-top: 4px solid var(--primary);
}

.card-light {
  background: white;
  border-radius: 12px;
  padding: 2rem 2.2rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.card-light.border-teal {
  border-left: 5px solid var(--primary);
}

.card-light.border-warning {
  border-left: 5px solid var(--warning);
}

.card-light.border-purple {
  border-left: 5px solid var(--purple);
}

.card-title {
  color: var(--dark);
  font-size: 1.05rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.6rem;
}

.card-text {
  color: var(--gray-text);
  font-size: 0.8rem;
  line-height: 1.6;
  display: block;
}

.card-number {
  font-size: 2.2rem;
  font-weight: 900;
  display: block;
  margin-bottom: 0.8rem;
}

.card-number.warning {
  color: var(--warning);
}

.card-number.blue {
  color: var(--blue);
}

.card-number.purple {
  color: var(--purple);
}

.card-number.teal {
  color: var(--primary);
}

.card-label {
  color: var(--dark);
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.6rem;
}

/* ─────────────────────────────────────────────────────
   PIE DE PÁGINA
   ───────────────────────────────────────────────────── */

.footer-text {
  color: #334155;
  font-size: 0.8rem;
  display: block;
}

.footer-text-secondary {
  color: var(--gray-text);
  font-size: 0.78rem;
  display: block;
  margin-top: 0.4rem;
}

/* ─────────────────────────────────────────────────────
   UTILITARIOS
   ───────────────────────────────────────────────────── */

.text-center {
  text-align: center;
}

.pad-2rem {
  padding: 2rem;
}

.pad-section {
  padding: 1.5rem;
}

.gap-bottom {
  margin-bottom: 1.5rem;
}
