/* ----------- BASE ----------- */
body {
  background-color: #ffffff;
  color: #222;
  font-family: 'Montserrat', sans-serif;
  min-height: 100vh;
  /* padding-top: 80px; */ /* <-- Quitamos esto */
}


/* ----------- NAVBAR ----------- */
header nav .navbar-brand h1 {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.8rem;
}

.navbar-dark .navbar-nav .nav-link {
  color: #FFFFFF;
  font-weight: 600;
}
.navbar-dark .navbar-nav .nav-link.active {
  color: #ffd100;
}

.navbar-dark {
  background-color: #0cb7f2;  /*  #0cb7f2; azul TEA sólido */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: none; /* elimina blur */
}

/* --- FIX desplegado en mobile --- */
@media (max-width: 768px) {
  .navbar-collapse {
    background-color: #0cb7f2; /* mantiene azul en mobile */
    border-radius: 8px;
    padding: 10px 20px;
    margin-top: 10px;
    text-align: right;
    position: absolute;
    right: 15px;
    top: 100%;
    z-index: 999;
    width: calc(100% - 30px);
    max-width: 280px;
  }

  .navbar-collapse .nav-link {
    text-align: right;
    padding-right: 10px;
    color: #ffffff;
  }
}






/* ----------- HERO SECTION ----------- */
#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background-color: transparent;
}

/* Imagen de fondo en escritorio */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

body { margin: 0; }

/* ===== SOLO MÓVIL ===== */
@media (max-width: 768px) {
  #hero { 
    min-height: auto; 
    display: block;
  }

  .hero-bg-img {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    background-color: #ffffff;
  }

  .hero-content {
    position: static;  /* quita posicionamiento relativo al 100vh */
    z-index: 1;
    height: auto !important; /* anula 100vh */
    min-height: auto !important;
    display: block;
    padding: 16px 16px 20px;
    margin: 0;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2rem;
    margin: 0 0 8px;
  }

  .hero-content p {
    font-size: 1rem;
    margin: 0 0 12px;
  }

  .hero-content .mt-4 {
    margin-top: 0.5rem !important;
  }
}

/* ===== ESCRITORIO ===== */
.hero-content {
  position: relative;
  z-index: 3;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff; /* blanco puro */
  text-shadow: 
    0 0 58px rgba(0,0,0,0.8),
    0 0 30px rgba(0,0,0,0.7),
    0 0 30px rgba(0,0,0,0.6),
    0 0 50px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.70); /* blanco suavizado */
  max-width: 700px;
  margin-bottom: 1.5rem;
  text-shadow: 
    0 0 6px rgba(0,0,0,0.6),
    0 0 12px rgba(0,0,0,0.5),
    0 0 18px rgba(0,0,0,0.4);
}

.hero-content h1 .asistea {
  color: #0cb7f2; /* azul corporativo solo para "AsisTEA" */
}


.btn-custom {
  background-color: #007BFF;
  color: #fff;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-custom:hover {
  background-color: #0056b3;
  color: #fff;
}



/* === Botones del hero (ya que en el HTML usás .btn-hero) === */
.btn-hero {
  display: inline-flex;
  align-items: center;                  /* centra verticalmente el texto */
  justify-content: center;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .06s ease, box-shadow .2s ease, background-color .2s ease;
  border: 1px solid transparent;
}
.btn-hero:active { transform: translateY(1px); }

.btn-hero-primary {
  background: #007BFF;
  color: #fff;
  border-color: #007BFF;
}
.btn-hero-primary:hover {
  background: #0056b3;
  border-color: #0056b3;
  color: #fff;
}

.btn-hero-ghost {
  background: rgba(255,255,255,0.85);
  color: #0b3d6d;
  border-color: #dbeafe;                /* borde suave */
}
.btn-hero-ghost:hover {
  background: #ffffff;
  color: #0b3d6d;
  box-shadow: 0 3px 14px rgba(0,0,0,.08);
}




/* ----------- INTRO INFO ----------- */
#intro-info {
  max-width: 900px;
  margin: 0 auto;
  color: #333;
  padding: 40px 20px 60px;
  text-align: center;
}
#intro-info p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
}
#intro-info .features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  justify-items: center;
}
#intro-info .feature-item {
  min-width: 150px;
}
#intro-info .feature-item h5 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  color: #007BFF;
  font-weight: 700;
  font-size: 1.1rem;
}
#intro-info .feature-item p {
  font-size: 0.95rem;
  color: #555;
}
#intro-info .feature-item i {
  color: #007BFF;
  font-size: 2rem;
}

/* ----------- FOOTER ----------- */
footer {
  background: #f0f4ff;
  color: #333;
  padding: 20px 0;
  border-top: 1px solid #ddd;
  position: relative;
  z-index: 1;
}
footer a {
  color: #007BFF;
  margin: 0 8px;
  font-size: 1.2rem;
}
footer a:hover {
  color: #0056b3;
}

/* ----------- BOTÓN VOLVER ARRIBA ----------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #007BFF;
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
  transition: background-color 0.3s ease, color 0.3s ease;
  z-index: 9999;
}
.back-to-top:hover {
  background-color: #0056b3;
  color: #fff;
}
.back-to-top i {
  font-size: 1.3rem;
}

/* ----------- TEXTOS GENERALES ----------- */
.section-title {
  font-weight: 700;
  font-size: 1.8rem;
  margin-top: 40px !important;
  margin-bottom: 20px;
  color: #007BFF;
  border-bottom: 2px solid #007BFF;
  padding-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.section-title i {
  font-size: 1.5rem;
  color: #007BFF;
}

p {
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: #333;
}

/* ----------- FORMULARIOS (Contacto, Ingresar) ----------- */
.contact-form label {
  color: #222;
}
.contact-form input,
.contact-form textarea {
  background-color: #fff;
  border: 1px solid #ccc;
  color: #222;
}

.cta-button {
  background-color: #007BFF;
  color: #fff;
}
.cta-button:hover {
  background-color: #0056b3;
  color: #fff;
}
.plane-icon {
  margin-left: 10px;
  transition: transform 0.4s ease;
}
.cta-button:hover .plane-icon {
  transform: translateX(6px) rotate(15deg);
}

/* Responsive ajustes generales */
@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

/* ----------- HR DIVISOR AZUL ----------- */
.divisor-azul {
  max-width: 150px;
  margin: 3rem auto;
  border-top: 3px solid #3399cc;
}

/* ----------- TESTIMONIOS ----------- */
.testimonial-card {
  border: 1px solid #cce5ff;
  border-left: 6px solid #007BFF;
  background-color: #f8fbff;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.08);
}
.testimonial-card .card-text {
  color: #333;
}

/* ----------- RECURSOS - EMOJIS COLORES VERDE|ROJO ----------- */
<style>
  /* Colores de iconos para listas "ok" y "no" */
  .list-check--ok  li i { color: #198754; background-color: #d1e7dd; border-radius: 50%; padding: 4px; }
.list-check--no li i.fa-circle-xmark {
  color: #dc3545 !important; /* rojo Bootstrap */
}

</style>
/* ----------- Estilos para el modal de reporte familiar ----------- */
#modalReporte .modal-body {
  background-color: #fdfdfd;
  padding: 2rem;
}
#modalReporte .reporte-html {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem;
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
#modalReporte .reporte-html h1,
#modalReporte .reporte-html h2,
#modalReporte .reporte-html h3,
#modalReporte .reporte-html h4 {
  margin-top: 1.5rem;
  font-weight: 600;
  color: #0053a0; /* azul familiar */
}
#modalReporte .modal-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  padding: 1rem 1.5rem;
}

/* ----------- Estilos para el modal de reporte profesional ----------- */
#modalReporteProfesional .modal-body {
  background-color: #fdfdfd;
  padding: 2rem;
}
#modalReporteProfesional .reporte-html {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem;
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
#modalReporteProfesional .reporte-html h1,
#modalReporteProfesional .reporte-html h2,
#modalReporteProfesional .reporte-html h3,
#modalReporteProfesional .reporte-html h4 {
  margin-top: 1.5rem;
  font-weight: 600;
  color: #0d6efd; /* azul profesional */
}
#modalReporteProfesional .modal-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  padding: 1rem 1.5rem;
}

/* ----------- Estilos comunes a ambos ----------- */
.reporte-html ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.reporte-html li { margin-bottom: .5rem; }
.reporte-html p {
  margin-bottom: 1rem;
  line-height: 1.6;
}
.reporte-html pre {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 6px;
  white-space: pre-wrap;
  border: 1px solid #e0e0e0;
}
.reporte-html strong { color: #212529; }

/* Metadatos */
.report-meta {
  font-size: 0.85rem;
  color: #6c757d;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 0.25rem;
  margin-bottom: 1rem;
}

/* Ocultar extras */
.kpi { display: none !important; }
.meta-line { display: none !important; }

/* Forzar color en los títulos renderizados dinámicamente */
#modalReporteProfesional .report-content h1,
#modalReporteProfesional .report-content h2,
#modalReporteProfesional .report-content h3,
#modalReporteProfesional .report-content h4 {
  color: #0d6efd !important; /* azul profesional */
  font-weight: 600;
  margin-top: 1.2rem;
  margin-bottom: 0.6rem;
}

#modalReporte .report-content h1,
#modalReporte .report-content h2,
#modalReporte .report-content h3,
#modalReporte .report-content h4 {
  color: #0053a0 !important; /* azul familiar */
  font-weight: 600;
  margin-top: 1.2rem;
  margin-bottom: 0.6rem;
}
