/* =========================================================
   IX Congreso Internacional de Enfermería — Universidad de Montemorelos
   Paleta: identidad institucional UM (morado/dorado) + acentos del
   logotipo oficial del congreso (magenta, naranja, azul, turquesa).
   ========================================================= */

:root{
  /* Identidad institucional UM */
  --um-purple: #3f1a52;
  --um-purple-dark: #2a1038;
  --um-gold: #b6924f;

  /* Acentos del logo del congreso */
  --congress-pink: #e6127e;
  --congress-orange: #f5a300;
  --congress-blue: #1e6fbf;
  --congress-teal: #2ec4c6;
  --congress-purple: #9b4fce;

  --gray-900: #221b27;
  --gray-700: #524a58;
  --gray-500: #8a8a8a;
  --gray-200: #ece7ee;
  --gray-100: #f7f5f8;

  --radius-lg: 1.25rem;
  --radius-md: .75rem;
  --shadow-soft: 0 10px 30px rgba(63,26,82,.10);
}

*{box-sizing:border-box;}

body{
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-900);
  background: #fff;
  scroll-behavior: smooth;
}

a{ text-decoration:none; }

.placeholder-data{
  border-bottom: 2px dashed var(--congress-pink);
  color: var(--congress-pink);
  font-weight: 600;
  cursor: help;
}

/* Insignia "Próximamente" para datos aún no confirmados (reemplaza el
   estilo de corchetes [PLACEHOLDER] en el contenido público del sitio). */
.proximamente{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--congress-pink);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-radius: 50px;
  padding: .3rem .85rem;
}
.proximamente::before{
  content: "";
  width:6px; height:6px; border-radius:50%;
  background: var(--congress-pink);
}

.section-label{
  display:inline-block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--congress-pink);
  margin-bottom: .5rem;
}

.section-title{
  font-weight: 800;
  color: var(--um-purple);
}

/* ---------- NAVBAR ---------- */
.navbar-um{
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(63,26,82,.08);
}
.navbar-um .navbar-brand img{
  height: 44px;
}
.navbar-um-logo{
  height: 34px;
  width: auto;
}
.navbar-divider{
  width: 1px;
  height: 32px;
  background: var(--gray-200);
  display: inline-block;
}
.navbar-um .navbar-brand img.navbar-um-logo-lg{
  height: 84px;
  width: auto;
}
@media (max-width: 480px){
  .navbar-um-logo{ height: 28px; }
  .navbar-um .navbar-brand img.navbar-um-logo-lg{ height: 58px; }
}
.navbar-um .nav-link{
  font-weight: 600;
  color: var(--gray-700) !important;
  padding: .5rem 1rem !important;
}
.navbar-um .nav-link:hover,
.navbar-um .nav-link.active{
  color: var(--congress-pink) !important;
}
.btn-um-cta{
  background: linear-gradient(135deg, var(--congress-pink), var(--congress-purple));
  color:#fff;
  font-weight:700;
  border:none;
  border-radius: 50px;
  padding: .6rem 1.6rem;
  box-shadow: 0 8px 20px rgba(230,18,126,.28);
}
.btn-um-cta:hover{ color:#fff; filter:brightness(1.05); }

.btn-outline-um{
  border: 2px solid var(--um-purple);
  color: var(--um-purple);
  font-weight:700;
  border-radius: 50px;
  padding: .55rem 1.5rem;
}
.btn-outline-um:hover{ background: var(--um-purple); color:#fff; }

/* ---------- HERO ---------- */
.hero{
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(230,18,126,.08), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(30,111,191,.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--gray-100) 100%);
  padding: 5rem 0 4rem;
}
.hero-logo{
  max-width: 460px;
  width: 100%;
  height: auto;
}
.hero-eyebrow{
  color: var(--um-purple);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .85rem;
}
.hero-title{
  font-weight: 800;
  color: var(--um-purple);
  line-height: 1.15;
}
.hero-tagline{
  color: var(--gray-700);
  font-size: 1.1rem;
}
.hero-meta{
  display:flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.hero-meta .meta-chip{
  background:#fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: .75rem 1.1rem;
  display:flex;
  align-items:center;
  gap:.65rem;
  font-weight:600;
  color: var(--gray-900);
}
.hero-meta .meta-chip .dot{
  width:10px; height:10px; border-radius:50%;
  background: var(--congress-pink);
  flex-shrink:0;
}

/* ---------- ORGANIZA / COLABORAN ---------- */
.organiza-badge{
  background:#fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-weight:700;
  color: var(--um-purple);
  box-shadow: var(--shadow-soft);
  text-align:center;
  min-height: 140px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.organiza-logo{
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
}
.colabora-box{
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  min-height: 140px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.colabora-box:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.colabora-box img{
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.colabora-box.colabora-box--tight{
  padding: 0.5rem;
}
.colabora-box img.logo-uaq{
  max-height: 125px;
  max-width: 125px;
}

/* ---------- MODALIDADES ---------- */
.modalidad-card{
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2rem 1.75rem;
  height:100%;
  transition: transform .2s ease, box-shadow .2s ease;
  background:#fff;
  border-top: 5px solid var(--congress-pink);
}
.modalidad-card:nth-of-type(2){ border-top-color: var(--congress-orange); }
.modalidad-card:nth-of-type(3){ border-top-color: var(--congress-blue); }
.modalidad-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(63,26,82,.16);
}
.modalidad-icon{
  width:56px; height:56px;
  border-radius: 16px;
  display:flex; align-items:center; justify-content:center;
  font-size: 1.5rem;
  color:#fff;
  margin-bottom: 1.1rem;
  background: linear-gradient(135deg, var(--congress-pink), var(--congress-purple));
}
.modalidad-card:nth-of-type(2) .modalidad-icon{ background: linear-gradient(135deg, var(--congress-orange), #ffc94d); }
.modalidad-card:nth-of-type(3) .modalidad-icon{ background: linear-gradient(135deg, var(--congress-blue), var(--congress-teal)); }

.modalidad-card h3{
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--um-purple);
}
.modalidad-card p{ color: var(--gray-700); font-size:.95rem; }
.modalidad-card .btn{
  font-weight:700;
  border-radius: 50px;
  font-size:.9rem;
}

/* ---------- CONVOCATORIA (trabajos de investigación) ---------- */
.eje-chip{
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  padding: .45rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--um-purple);
}
.convocatoria-card{
  background:#fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2.25rem;
  border-left: 5px solid var(--congress-pink);
}
.convocatoria-card h3{
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--um-purple);
  margin-bottom: 1rem;
}
.convocatoria-card li{
  color: var(--gray-700);
  padding: .4rem 0;
}

/* ---------- DIRIGIDO A ---------- */
.dirigido-section{
  background: var(--um-purple);
  color:#fff;
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.dirigido-section .section-label{ color: var(--congress-teal); }
.dirigido-section .section-title{ color:#fff; }
.dirigido-chip{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .55rem 1.2rem;
  font-weight: 600;
  font-size:.95rem;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
}
.dirigido-chip .dot{ width:8px; height:8px; border-radius:50%; background: var(--congress-teal); }

/* ---------- CRONOGRAMA ---------- */
.cronograma-card{
  background:#fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  height: 100%;
  border-left: 4px solid var(--congress-pink);
}
.cronograma-card h4{
  font-size:.85rem;
  text-transform: uppercase;
  letter-spacing:.06em;
  color: var(--gray-500);
  font-weight:700;
}
.cronograma-card .valor{
  font-size:1.15rem;
  font-weight:800;
  color: var(--um-purple);
}

.horario-table{
  width:100%;
  border-collapse: separate;
  border-spacing: 0 .5rem;
}
.horario-table td{
  background:#fff;
  padding: 1rem 1.25rem;
  vertical-align: middle;
}
.horario-table tr td:first-child{
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-weight:800;
  color: var(--congress-pink);
  white-space: nowrap;
  width: 190px;
}
.horario-table tr td:last-child{
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--gray-900);
  font-weight:600;
  box-shadow: var(--shadow-soft);
}

.horario-row{
  background:#fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1.4rem;
  height: 100%;
  display:flex;
  flex-direction: column;
  gap: .35rem;
  border-left: 4px solid var(--congress-pink);
}
.horario-row:nth-of-type(2){ border-left-color: var(--congress-blue); }
.horario-row .hora{
  font-weight:800;
  color: var(--congress-pink);
}
.horario-row .desc{
  color: var(--gray-900);
  font-weight:600;
}

/* ---------- LÍNEA DE TIEMPO (fechas importantes) ---------- */
.timeline{
  position: relative;
  padding-left: 2.25rem;
}
.timeline::before{
  content:"";
  position:absolute;
  left: 7px;
  top: .5rem;
  bottom: .5rem;
  width: 2px;
  background: var(--gray-200);
}
.timeline-item{
  position: relative;
  padding-bottom: 1.4rem;
}
.timeline-item:last-child{ padding-bottom: 0; }
.timeline-item::before{
  content:"";
  position:absolute;
  left: -2.25rem;
  top: .3rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--congress-pink);
}
.timeline-item.is-final::before{ border-color: var(--um-purple); }
.timeline-item .fecha{
  display:block;
  font-weight: 800;
  color: var(--congress-pink);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.timeline-item.is-final .fecha{ color: var(--um-purple); }
.timeline-item .actividad{
  color: var(--gray-900);
  font-weight: 600;
}

/* ---------- LINEAMIENTOS DE RESUMEN ---------- */
.formato-resumen{
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-top: 1.5rem;
}
.formato-resumen dt{
  font-weight: 800;
  color: var(--um-purple);
  font-size: .88rem;
  margin-top: .75rem;
}
.formato-resumen dt:first-child{ margin-top: 0; }
.formato-resumen dd{
  color: var(--gray-700);
  font-size: .88rem;
  margin-bottom: 0;
}

/* ---------- PROGRAMA DEL EVENTO (resumen por día) ---------- */
.programa-dia{
  background:#fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  height: 100%;
}
.programa-dia h4{
  color: var(--um-purple);
  font-weight: 800;
  font-size: 1.05rem;
}
.programa-dia .bloque{
  display:flex;
  gap: .75rem;
  padding: .5rem 0;
  border-top: 1px solid var(--gray-200);
}
.programa-dia .bloque:first-of-type{ border-top: none; }
.programa-dia .bloque .hora{
  font-weight: 700;
  color: var(--congress-pink);
  white-space: nowrap;
  font-size: .85rem;
  min-width: 108px;
}
.programa-dia .bloque .desc{
  color: var(--gray-700);
  font-size: .9rem;
}

/* ---------- REGISTRO / CTA ---------- */
.registro-section{
  background: var(--gray-100);
}
.registro-cta{
  background:#fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 3rem 2rem;
  text-align:center;
  max-width: 720px;
  margin: 0 auto;
}
.form-card{
  background:#fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2.5rem;
}
.form-label{ font-weight:700; color: var(--gray-900); font-size:.9rem; }
.form-control, .form-select{
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: .7rem .9rem;
}
.form-control:focus, .form-select:focus{
  border-color: var(--congress-pink);
  box-shadow: 0 0 0 .2rem rgba(230,18,126,.15);
}
#form-feedback{ display:none; }

/* ---------- CONTACTO ---------- */
.contacto-item{
  display:flex;
  gap:1rem;
  align-items:flex-start;
}
.contacto-icon{
  width:44px; height:44px;
  border-radius: 12px;
  background: var(--gray-100);
  display:flex; align-items:center; justify-content:center;
  color: var(--congress-pink);
  flex-shrink:0;
}

/* ---------- FOOTER ---------- */
footer.site-footer{
  background: var(--um-purple-dark);
  color: rgba(255,255,255,.75);
  padding: 3rem 0 1.5rem;
}
footer.site-footer h5{ color:#fff; font-weight:800; }
footer.site-footer a{ color: rgba(255,255,255,.75); }
footer.site-footer a:hover{ color: var(--congress-teal); }
footer.site-footer .sep{ border-color: rgba(255,255,255,.12); margin: 2rem 0 1rem; }
footer.site-footer .um-brand{ height: 34px; }

@media (max-width: 767px){
  .dirigido-section{ padding: 2rem 1.25rem; }
  .form-card{ padding: 1.5rem; }
  .horario-table tr td:first-child{ width: auto; }
}
