/* ===== HOME PAGE UICM ===== */

html {
  scroll-behavior: smooth;
}

.home-navbar {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

/* Logo */
.home-logo {
  width: 42px;
  height: auto;
}

/* ===== SECCIONES BASE ===== */
.section-white {
  background-color: #ffffff;
}

.section-muted {
  background-color: #f5f6fa;
}

.section-green {
  color: #ffffff;
}

.section-accent {
  background-color: #e5f4ec;
}

/* ===== HERO con FOTO de FONDO ===== */
.hero-section {
  position: relative;
  padding: 7rem 0 4rem; /* espacio por la navbar fija */
  overflow: hidden;
}

/* Fondo: foto + se mezcla con overlay */
.hero-section.section-green {
  background-image:
    url("../IMG/logo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* HERO en pantallas grandes: que el logo no se expanda tanto */
@media (min-width: 992px) {
  .hero-section {
    padding: 7rem 0 5rem;  /* puedes bajar o subir un poco el alto */
    min-height: 480px;
  }

  .hero-section.section-green {
    /* el logo mantiene un tamaño fijo en lugar de crecer con toda la pantalla */
    background-size: 700px auto;   /* prueba 650–800 hasta que te guste */
    background-position: left center;  /* lo pegamos un poco a la izquierda */
  }
}


/* Capa verde traslúcida encima de la foto */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    rgba(6, 78, 59, 0.93),
    rgba(4, 47, 35, 0.96));
}

/* Contenido del hero encima del overlay */
.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  opacity: 0.9;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1rem;
  max-width: 520px;
}

/* Botones hero */
.hero-btn-primary {
  background-color: #ffffff;
  color: var(--uicm-verde-oscuro);
  font-weight: 600;
}

.hero-btn-primary:hover {
  background-color: #f3f4f6;
  color: var(--uicm-verde-oscuro);
}

.hero-btn-outline {
  border-color: #ffffff;
  color: #ffffff;
  font-weight: 500;
}

.hero-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Panel lateral */
.hero-panel {
  background-color: rgba(255, 255, 255, 0.98);
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
  color: #111827;
}

.hero-panel h5 {
  font-weight: 600;
  color: var(--uicm-verde-oscuro);
}

.hero-list {
  list-style: none;
  padding-left: 0;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.94rem;
}

.hero-bullet {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background-color: var(--uicm-verde-claro);
  flex-shrink: 0;
}

/* ===== FRANJA DE CIFRAS ===== */
.stats-strip {
  padding: 1.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.stats-item {
  text-align: center;
}

.stats-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--uicm-verde-oscuro);
  line-height: 1.1;
}

.stats-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

/* ===== TITULOS GENERALES ===== */
.section-title {
  color: var(--uicm-verde-oscuro);
  font-weight: 700;
}

/* ===== SOBRE LA UICM ===== */
.uicm-about p {
  color: #4b5563;
}

/* Línea de tiempo */
.about-timeline {
  border-left: 3px solid var(--uicm-oro);
  padding-left: 1.2rem;
}

.about-step {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.about-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background-color: var(--uicm-verde);
  margin-left: -1.05rem;
  margin-top: 0.25rem;
}

.about-step h6 {
  margin-bottom: 0.15rem;
  font-weight: 600;
  color: var(--uicm-verde-oscuro);
}

.about-step p {
  font-size: 0.92rem;
  color: #4b5563;
}

/* ===== ÁREAS DE FORMACIÓN ===== */
.info-block {
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.info-block h5 {
  color: var(--uicm-verde-oscuro);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-block p {
  font-size: 0.94rem;
  color: #4b5563;
}

.info-block ul {
  margin-bottom: 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
}

/* ===== CARRUSEL VIDA UNIVERSITARIA ===== */
.uicm-gallery .gallery-inner {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(15, 81, 50, 0.2);
}

.gallery-img {
  max-height: 380px;
  object-fit: cover;
}

/* Carrusel más contenido en escritorio */
@media (min-width: 992px) {
  .uicm-gallery .gallery-inner {
    max-width: 1050px;   /* hace “más corto” el carrusel */
    margin: 0 auto;      /* lo centra dentro del container */
  }

  .gallery-img {
    max-height: 320px;   /* baja la altura para que no se vea tan enorme */
  }
}


@media (min-width: 1400px) {
  .uicm-gallery .gallery-inner {
    max-width: 960px;
  }
}


.gallery-caption {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  padding: 0.75rem 1rem;
}

/* ===== MODELO Y PLATAFORMA ===== */
.uicm-platform p {
  color: #4b5563;
}

.pill-row {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.pill-item {
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.pill-item h6 {
  margin: 0;
  font-weight: 600;
  color: var(--uicm-verde-oscuro);
}

.pill-item p {
  margin-top: 0.15rem;
  font-size: 0.9rem;
  color: #4b5563;
}

/* ===== CINTILLO OFERTA ===== */
.section-accent .section-title {
  font-size: 1.3rem;
}

/* ===== CONTACTO ===== */
.uicm-contact {
  background-color: #ffffff;
}

.contact-panel {
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 2px 8px rgba(15, 81, 50, 0.12);
}

.contact-panel h5 {
  color: var(--uicm-verde-oscuro);
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 992px) {
  .hero-title {
    font-size: 2.4rem;
  }
}


/* HERO en móviles: logo más discreto */
@media (max-width: 575.98px) {
  .hero-section {
    padding: 6rem 0 3.5rem; /* un poco menos alto en móvil */
  }

  .hero-section.section-green {
    /* el logo no ocupa toda la pantalla */
    background-size: 260px auto;   /* prueba 260–300 hasta que te guste */
    background-position: center 10%;
  }

  /* overlay un poco más oscuro para que el logo no se marque tanto */
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(6, 78, 59, 0.97),
      rgba(4, 47, 35, 0.99));
  }
}
