  :root{
    --bg: #eef2f7;
    --card: #ffffff;
    --border: #e2e8f0;
    --text: #0f172a;
    --muted: #475569;
    --primary: #1f3a5f;
    --accent: #2fa37c;
  }

.bg-rojo-grisado {
  background-color: #f3e3cc !important;
  border: 1px solid rgba(180, 120, 40, 0.35);
}

  .bg-verde-grisado {
    background-color: #d6eadb !important;
    border: 1px solid rgba(50, 150, 90, 0.25);
  }


.btn-warning-custom {
  background-color: #ff9900;
  border-color: #ff9900;
  color: #000;
}

.btn-boton-email {
  background-color: #cc6600;
  border-color: #cc6600;
  color: #000;
}


.btn-boton-email:hover,
.btn-boton-email:focus {
  background-color: #996600;
  border-color: #996600;
}


.btn-warning-custom:hover,
.btn-warning-custom:focus {
  background-color: #e68a00;
  border-color: #e68a00;
}


  .scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: #ffc107;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  transform: translateY(8px);
}

/* visible */
.scroll-top-btn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* solo mobile */
@media (min-width: 992px) {
  .scroll-top-btn {
    display: none;
  }
}


  /* ===== TITULOS EN VERDE ===== */
  h1,h2,h3,h4,h5,h6{
    color:#4caf50 !important;
  }

  /* En tu código .section-title tenía color var(--primary) y pisaba títulos */
  .section-title{
    color:#4caf50 !important;
  }

  body{
    background: linear-gradient(#f8fafc, #eef2f7);
    color: var(--text);
  }

  /* ===== NAVBAR DEFINITIVO ===== */
  .navbar {
    background-color: #198754 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navbar.fixed-top {
    backdrop-filter: blur(6px);
  }

  .navbar-dark .navbar-brand {
    color: #ffffff;
  }

  .navbar-dark .navbar-nav .nav-link {
    color: #d6d9dd;
    font-weight: 500;
    transition: color 0.2s ease;
  }

  .navbar-dark .navbar-nav .nav-link:hover,
  .navbar-dark .navbar-nav .nav-link:focus {
    color: #ffffff;
  }

  .navbar .btn-accent {
    background-color: #ff8a00;
    border-color: #ff8a00;
    color: #111;
  }

  .navbar .btn-accent:hover {
    background-color: #ffa733;
    border-color: #ffa733;
  }

  .navbar-dark .navbar-toggler {
    border-color: rgba(255,255,255,0.25);
  }

  .hero{
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .badge-soft{
    background: rgba(31,58,95,.08);
    border: 1px solid rgba(31,58,95,.25);
    color: var(--primary);
  }

  .lead{ color: var(--muted); }

  .card{
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: 0 8px 22px rgba(0,0,0,.04);
  }

  .card:hover{
    transform: translateY(-2px);
    transition: .15s ease;
  }

  .section{
    padding: 4rem 0;
  }

  .divider{
    height: 1px;
    background: var(--border);
    margin: 2.5rem 0;
  }

  .img-card{
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #f1f5f9;
  }

  .img-placeholder{
    aspect-ratio: 16 / 10;
    width: 100%;
    object-fit: cover;
  }

  .kpi{
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #f9fafb;
    padding: 1rem 1.25rem;
  }

  .kpi .num{
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
  }

  .kpi .lbl{
    color: var(--muted);
    font-size: .9rem;
  }

  .list-check i{
    color: var(--accent);
  }

  .cta{
    background: linear-gradient(135deg, rgba(31,58,95,.06), rgba(47,163,124,.08));
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 1.6rem;
  }

  /* ===== FOOTER DEFINITIVO ===== */
  footer {
    background-color: #2b2f33;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
  }

  footer,
  footer small,
  footer p {
    color: #cfd3d7;
  }

  footer a {
    color: #e5e9ee;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  footer a:hover {
    color: #ffffff;
  }

  footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  footer small {
    font-size: 0.9rem;
    opacity: 0.9;
  }

  .btn-accent{
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    font-weight: 600;
  }

  .btn-accent:hover{
    background: #248d6b;
    border-color: #248d6b;
  }

  .btn-outline-light{
    border-color: var(--primary);
    color: var(--primary);
  }

  .btn-outline-light:hover{
    background: var(--primary);
    color: #fff;
  }

  a{ color: var(--primary); }
  a:hover{ color: #162c48; }

  .small-muted{
    color: var(--muted);
    font-size: .95rem;
  }

  /* ===== SUBTITULO HERO ===== */
  .subtitle-hero{
    color:#ff8a00;
    font-size:0.85em;
    font-weight:600;
  }

  /* ===== BOTONES HERO DEFINITIVOS (APLICA EN TODOS LOS TAMAÑOS) ===== */
  .btn-cta-orange,
  .btn-cta-green{
    padding: 0.65rem 1.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
  }

  /* Desktop/tablet mismo ancho */
  @media (min-width:576px){
    .btn-cta-orange,
    .btn-cta-green{
      min-width:240px;
    }
  }

  /* Mobile full width */
  @media (max-width:575.98px){
    .btn-cta-orange,
    .btn-cta-green{
      width:100% !important;
      min-width:0 !important;
    }
  }

  /* Colores forzados */
  .btn-cta-orange{
    background-color:#ff8a00 !important;
    border-color:#ff8a00 !important;
    color:#111 !important;
  }

  .btn-cta-orange:hover,
  .btn-cta-orange:focus{
    background-color:#ffa733 !important;
    border-color:#ffa733 !important;
    color:#111 !important;
  }

  .btn-cta-green{
    background-color:#4caf50 !important;
    border-color:#4caf50 !important;
    color:#fff !important;
  }

  .btn-cta-green:hover,
  .btn-cta-green:focus{
    background-color:#43a047 !important;
    border-color:#43a047 !important;
    color:#fff !important;
  }

  /* Solo para pantallas grandes: título hero más grande */
  @media (min-width: 1400px){
    .hero h1{
      font-size: 3.6rem;
      max-width: 1400px;
      margin-left: auto;
      margin-right: auto;
    }
  }

/* ===== KPI FONDO NEUTRO PREMIUM ===== */

.kpi{
  background: rgba(31, 58, 95, 0.08);   /* azul gris suave */
  border-color: rgba(31, 58, 95, 0.22);
}

/* ===== KPI ALTURA FIJA ===== */

.kpi{
  min-height: 110px;           /* ajustable */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===== CARD FONDO NEUTRO PREMIUM ===== */

.card-soft-primary{
  background: rgba(31, 58, 95, 0.08);
  border-color: rgba(31, 58, 95, 0.22);
}

.section-title{
  letter-spacing: -0.02em;
}

/* ===== LINEA TITULO SECCION ===== */

.section-title-line{
  display:block;
  width:90px;
  height:3px;
  background: linear-gradient(90deg, #4caf50, #ff8a00);
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.navbar-logo{
  height: 60px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
}

@media (max-width: 575.98px){
  .navbar-logo{
    height: 45px;
    max-width: 225px;
  }
}

/* ===== SUBRAYADO HERO ===== */

.subtitle-underline{
  position: relative;
  padding-bottom: 6px;
  display: inline-block;
}

.subtitle-underline::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 90px;
  height: 3px;
  background: linear-gradient(90deg, #ff8a00, #4caf50);
  border-radius: 3px;
}

/* ===== SUBRAYADO COMPLETO HERO ===== */

.subtitle-full-underline{
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: #ff8a00;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

/* ===== BAJAR IMAGEN METODO ===== */

@media (min-width: 992px){
  .metodo-img-col{
    margin-top: 110px; /* ajustable fino */
  }
}
