:root {
  --icers-primary: #4B2EFF;
  --icers-dark: #0E1A2B;
  --icers-accent: #8F7CFF;
}

body {
   background: #F5F7FA; /* fondo base claro */
  color: #0E1A2B;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Navbar base */
.nav-icers {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(14, 26, 43, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(143,124,255,.15);
}

.btn-primary {
  background: var(--icers-primary);
  border-color: var(--icers-primary);
}

.btn-outline-accent {
  color: var(--icers-accent);
  border-color: var(--icers-accent);
}

.btn-outline-accent:hover {
  background: var(--icers-accent);
  color: #000;
}

.section {
  padding: 5rem 0;
}

.card-icers {
  background: #111b2e;
  border: 1px solid rgba(143, 124, 255, .15) !important;
  border-radius: 25px !important;
}

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;

  background:
    linear-gradient(
      180deg,
      rgba(14,26,43,.65),
      rgba(6,11,20,.95)
    ),
    var(--hero-image);

  background-size: cover;
  background-position: center;
}



/* Links */
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,.85);
  padding: .75rem .5rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #fff;
}

/* Activo */
.navbar-dark .navbar-nav .nav-link.active {
  color: #8F7CFF;
  font-weight: 600;
}

/* Botón App */
.nav-icers .btn-primary {
  background: #4B2EFF;
  border-color: #4B2EFF;
}

/* Botones */
.btn {
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

/* Cards */
.card-icers {
  transition: transform .2s ease, box-shadow .2s ease;
}

.card-icers:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Mobile spacing */
@media (max-width: 991px) {
  .navbar-nav {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

.navbar-dark .nav-link {
  position: relative;
}

.navbar-dark .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #8F7CFF;
  transition: width .2s ease;
}

.navbar-dark .nav-link:hover::after,
.navbar-dark .nav-link.active::after {
  width: 100%;
}

/* Botón outline ICERS (para fondos oscuros) */
.btn-outline-icers {
  color: #ffffff !important;
  border: 2px solid #4B2EFF !important;
  background: #4B2EFF;
}
.btn-outline-dark-icers {
  color: #4B2EFF !important;
  border: 2px solid #4B2EFF !important;
  background: #4B2EFF;
}

.btn-outline-icers:hover {
  background: #4B2EFF !important;
  color: #ffffff !important;
  border-color: #4B2EFF !important;
}
.btn-outline-dark-icers:hover {
  background: #4B2EFF !important;
  color: #ffffff !important;
  border-color: #4B2EFF !important;
}

.btn:focus-visible {
  outline: 3px solid #8F7CFF;
  outline-offset: 2px;
}
.media-tab {
  transition: opacity .3s ease;
}

.nav-pills .nav-link {
  background: rgba(255,255,255,.06);
  color: #fff;
}

.nav-pills .nav-link.active {
  background: #4B2EFF;
}

.bg-accent {
  background-color: #8F7CFF;
  color: #0E1A2B;
}

.section-light {
  background: #1E293B; /* azul gris profundo, no negro */
  color: #ffffff;
}

.section-white {
  background: #F5F7FA;
  color: #0E1A2B;
}

.section-white .card {
  background: #ffffff;
}

.section-white .card-icers {
  background: #FFFFFF;
  border: 1px solid rgba(14,26,43,.08);
}

/* En fondos oscuros */
.section-light .card-icers {
  background: #111b2e;
}

/* En fondos claros */
.section-white .card-icers {
  background: #ffffff;
}

.logo-icers {
  height: 38px;
  width: auto;
  display: block;
}

@media (max-width: 576px) {
  .logo-icers {
    height: 32px;
  }
}

/* .footer-icers {
  background: #0B1424;  
  color: rgba(255,255,255,.85);
}

.footer-icers a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
}

.footer-icers a:hover {
  color: #8F7CFF;
  text-decoration: none;
}

.footer-links li {
  margin-bottom: .5rem;
}

.footer-divider {
  border-color: rgba(255,255,255,.1);
}
 */




.footer-icers {
  background: linear-gradient(
    180deg,
    #0E1A2B 0%,
    #0B1424 100%
  );
  color: rgba(255,255,255,.9);
}

/* Logo grande y claro */
.footer-logo {
  height: 120px;   /* antes ~32px */
  width: auto;
}

/* Texto principal */
.footer-description {
  color: rgba(255,255,255,.85);
  font-size: 0.95rem;
  max-width: 280px;
}

/* Dirección */
.footer-address {
  color: rgba(255,255,255,.65);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Títulos */
.footer-icers h6 {
  color: #ffffff;
  font-weight: 600;
}

/* Links */
.footer-icers a {
  color: rgba(255,255,255,.75);
}

.footer-icers a:hover {
  color: #8F7CFF;
}

/* Divider */
.footer-divider {
  border-color: rgba(255,255,255,.08);
}

/* Corrección de contraste en footer */
.footer-icers .text-muted {
  color: rgba(255,255,255,.65) !important;
}

.colum-footer{
  margin-top: 160px !important;
}

.sec-reuniones{
  background: #e6efff;
}

.sec-eventos{
  background:#f3f5d3;
}
.section-white h5 {
  color: #0E1A2B;
}

.section-white .col-md-6 > div > div {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.section-white .col-md-6 > div > div:last-child {
  border-bottom: none;
}

.badge.bg-accent {
  background-color: #8F7CFF;
  color: #0E1A2B;
  font-weight: 500;
}

.bg-accent {
  background-color: #8F7CFF;
}

.card-img-top{
  width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 25px 25px 0px 0px !important;
}

.instagram-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 16px;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .ig-grid { grid-template-columns: repeat(4, 1fr); }
}

.ig-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #f2f2f2;
}

.ig-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform .3s ease;
}

.ig-item:hover img {
  transform: scale(1.05);
}

.btn-icers {
  background: #4B2EFF !important;
  color: #ffffff !important;
  border-color: #4B2EFF !important;
  border-radius: 50px !important;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    
    color: black !important;
}
.h1-hero{
  color: white !important;
}
.h6-footer{
  color: white !important;
}
.seccion-multimedia{
  /* background:  #edf6fa !important; */
  background: linear-gradient(to right, #edf6fa, white);
}
.seccion-quiereserparte{
  background: linear-gradient(to bottom, #fae3e7, white);
}
.seccion-reuniones{
  background: linear-gradient(to left,#edf6fa, white);
}
.seccion-instagram{
  background: linear-gradient(to right,#faf9ed, white);
}
.center {
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center;     /* vertical */
}

.seccion-home{
  height: 700px;
}


.parallax-multimedia {
  min-height: 40vh;
  background-image: var(--parallax-multimedia-image);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.parallax-reuniones {
  min-height: 40vh;
  background-image: var(--parallax-reuniones-image);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.parallax-eventos {
  min-height: 40vh;
  background-image: var(--parallax-eventos-image);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* CSS PAGINA 404 */
.text-icers-accent {
  color: var(--icers-accent);
}
.error-bg {
  background:
    radial-gradient(circle at center, rgba(143,124,255,.12), transparent 60%);
}
/* FIN CSS PAGINA 404 */


.nav-media  {
    color: #4b2eff !important;
}
.nav-media.active  {
    color: white !important;
}

.form-label{
    color: #0E1A2B !important;
}