/* GENERAL */
@font-face {
    font-family: 'Chillax Variable';
    src: url('../fonts/Chillax-Variable.woff2') format('woff2');
    font-weight: 200 700;
    font-display: swap;
}

/* Uso general de la fuente para todo el sitio */
body {
    font-family: 'Chillax Variable', Arial, sans-serif;
    font-weight: 300;
}

/* Títulos principales */
h1,
h2 {
    font-family: 'Chillax Variable', Arial, sans-serif;
    font-weight: 700;
}

/* Subtítulos y títulos de tarjetas */
h3,
h4,
h5,
h6,
.card-title {
    font-family: 'Chillax Variable', Arial, sans-serif;
    font-weight: 500;
}

/* Párrafos y textos secundarios */
p,
.card-text {
    font-family: 'Chillax Variable', Arial, sans-serif;
    font-weight: 300;
}

.navbar-nav .nav-link {
    font-family: 'Chillax Variable', Arial, sans-serif;
    font-weight: 500;
    /* Igual que card-title */
    letter-spacing: .5px;
    /* Opcional: más elegancia */
}

/* Efecto hover para enlaces del menú */
.navbar-nav .nav-link {
    transition: color 0.2s, background 0.2s, font-weight 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #005593;
    /* azul, cambia por tu color preferido */
    font-weight: 700;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 6px;
}

/* LOGIN: fondo blanco, borde azul #005593, texto azul #005593 */
.btn-outline-primary {
    background-color: #fff;
    color: #005593;
    border-color: #005593;
    font-weight: 500;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: #eaf3fb;
    color: #005593;
    border-color: #005593;
    box-shadow: 0 0 6px #005593;
    /*font-weight: 700;*/
}

/* REGISTRO: fondo azul #005593, borde azul #005593, texto blanco */
.btn-primary {
    background-color: #005593;
    color: #fff;
    border-color: #003052;
    font-weight: 500;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #005593;
    color: #fff;
    border-color: #005593;
    box-shadow: 0 0 8px #005593;
    /*font-weight: 700;*/
}

/* secciones */
.hero-section {
    position: relative;
    min-height: 90vh;
    background-position: center;
    background-repeat: no-repeat;
}

section-gradient1 {
    background: linear-gradient(135deg, #005593 0%, #7c2ae8 50%, #24eaff 100%);
    /* Ajusta los colores (#005593, #7c2ae8, #24eaff) según tu marca */
    min-height: 50vh;
    /* ajusta el alto según tu necesidad */
}

.floating-img {
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card {
    border-radius: 1.5rem !important;
}

.floating-card {
    margin-top: 60px;
    box-shadow: 0 6px 32px 0 rgba(0, 0, 0, .18);
    border-radius: 1.5rem;
}

.section-space {
    min-height: 90vh;
    padding-top: 10rem;
    /* Ajusta el valor */
    padding-bottom: 10rem;
    /* Ajusta el valor */
}

/* Ajusta el alto de las imágenes dentro de las tarjetas para uniformidad */
.card-img-top {
    height: 300px;
    /* puedes ajustar este valor según el diseño */
    object-fit: cover;
    /* recorta para que todas se vean bien */
    width: 100%;
    border-top-left-radius: 1.5rem !important;
    border-top-right-radius: 1.5rem !important;
}

/* Iguala el alto de cada tarjeta en la fila */
.row.g-4>.col-md-4 {
    display: flex;
}

.card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

/* El área de texto ocupa el mismo espacio */
.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* footer */
.footer-mw {
    background: #181a20;
    color: #f5f5f5;
    font-family: 'Chillax Variable', Arial, sans-serif;
    padding-top: 40px;
    position: relative;
}

/* .footer-logo-social img {
  max-width: 90px;
  border-radius: 1.5rem;
} */

.footer-logo-social img {
    max-width: 90px;
    max-height: 100px;
    border-radius: 0.2rem;
    margin-left: 8px;
    margin-right: 8px;
    box-sizing: border-box;
    /* background: #fff; */
}


.footer-social-icons a {
    color: #f5f5f5;
    margin: 0 10px;
    font-size: 1.8rem;
    transition: color 0.2s;
}

.footer-social-icons a:hover {
    color: #ffd700;
}

.footer-divider,
.footer-second-divider {
    border-bottom: 1px solid #3a3c40;
    margin: 24px 0 24px 0;
}

.footer-vertical-divider {
    width: 1px;
    background: #181a20;
    margin: 0 1px;
    height: auto;
    display: inline-block;
}

.footer-main-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.footer-item {
    font-weight: 300;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #e1e1e1;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #36383b;
    margin-top: 22px;
    padding-top: 15px;
    font-size: 0.97rem;
}

#back-to-top-btn {
    position: fixed;
    right: 24px;
    bottom: 36px;
    z-index: 99;
    background: #005593;
    color: #ffd700;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.15);
    cursor: pointer;
    outline: none;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#back-to-top-btn:hover {
    background: #ffd700;
    color: #20232b;
}

@media (max-width: 767px) {
    .footer-logo-social img {
        margin-bottom: 15px;
    }

    .footer-cols-main .footer-vertical-divider {
        display: none !important;
    }
}

/* Panel emergente del menú nav */
/* .nav-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  min-width: 320px;
  max-width: 90vw;
  border-radius: 1.5rem;
  z-index: 1000;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
  display: none;
  transition: opacity 0.25s;
}
@media (max-width: 767px) {
  .nav-panel {
    left: 0;
    transform: none;
    min-width: 220px;
    width: 90vw;
    padding: 1rem !important;
  }
}

/* Transición suave */
/*.nav-panel.show {
  display: block;
  opacity: 1;
  animation: floatDown 0.7s ease;
}

@keyframes floatDown {
  from { opacity: 0; transform: translateY(-12px);}
  to { opacity: 1; transform: translateY(0);}
}

.nav-panel.nav-mega {
  min-width: 100px;
  max-width: 520vw;
}
@media (max-width: 767px) {
  .nav-panel.nav-mega {
    min-width: 240px;
    width: 98vw;
    padding: 1rem !important;
  }
}
 */
/* Botón específico del mega menú */

.nav-panel,
.nav-mega {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: #fff;
    box-shadow: 0 4px 24px 0 rgba(60, 122, 209, 0.07), 0 1.5px 4px 0 rgba(60, 122, 209, 0.07);
    border-radius: 1.25rem;
    width: 700px;
    /* ancho fijo ayuda a calcular posición antes de mostrar */
    min-width: 700px;
    max-width: 98vw;
    margin-top: 1.5rem;
    opacity: 0;
    visibility: hidden;
    /* Oculto pero mantiene flow y posición */
    pointer-events: none;
    transition: opacity .18s linear, visibility .18s linear;
    will-change: transform, left;
}

/* Estado visible */
.nav-panel.show,
.nav-mega.show {
    opacity: 1;
    visibility: visible;
    /* Se vuelve visible sin saltos */
    pointer-events: auto;
}

/* Responsive */
@media (max-width: 767px) {

    .nav-panel,
    .nav-mega {
        left: 0;
        transform: none;
        min-width: 220px;
        width: 90vw;
        padding: 1rem !important;
    }
}

/* cambio */
.mega-menu-row {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.mega-menu-icon {
    min-width: 38px;
    /* igual para todos los íconos */
    text-align: center;
}

.mega-menu-col-label {
    min-width: 160px;
    /* mismo ancho fija los celestes alineados */
    text-align: left;
    display: flex;
    align-items: center;
}

.mega-menu-col-desc {
    flex: 1 1 0;
    text-align: left;
    display: flex;
    align-items: center;
}

.mega-menu-subtitle {
    color: #569ce2;
    font-weight: 700;
    font-size: 1.09rem;
}

.mega-menu-desc {
    color: #2d4158;
    font-weight: 400;
    font-size: 0.99rem;
}

/* mega-menu-btn */
.mega-menu-btn {
    background-color: #005593;
    color: #fff;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 2px 10px 0 rgba(0, 85, 147, 0.15);
    transition: background 0.2s, box-shadow 0.2s;
    font-size: 1.09rem;
}

.mega-menu-btn:hover,
.mega-menu-btn:focus {
    background-color: #569ce2;
    color: #fff;
    box-shadow: 0 4px 18px 0 rgba(86, 156, 226, 0.21);
}

/* Color a íconos si prefieres por clase */
.mega-menu-icon,
.mega-menu-subtitle {
    color: #569ce2 !important;
}

/* Quiénes somos */
/* Estilo base para el panel (compartido) */
#navPanelQuienes {
    /* Si deseas que este menú tenga fondo distinto: */
    /* background: #eaf7ff;           azul suave */
    /* border-left: 6px solid #005593; */
}

/* Ejemplo de personalización de botón solo en este panel: */
#navPanelQuienes .mega-menu-btn {
    background: #005593;
    color: #fff;
}

/* Ejemplo: cambiar el color del título solo en Quiénes Somos */
#navPanelQuienes h4 {
    color: #005593;
}



/* Contacto */
.custom-border {
    border: 1px solid #005593 !important;
}

@media (max-width: 991.98px) {
    .hero-section .col-lg-6 {
        margin-bottom: 2rem;
    }

    .hero-section .row {
        flex-direction: column;
    }
}

/* Reflexiones */
/* Container superior celeste transparente */
.container-superior {
    /* background: rgba(44, 182, 255, 0.20); Celeste 20% */
    width: 100vw;
    min-height: 750px;
    padding-left: 0;
    padding-right: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.container-superior h2 {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .12);
}

/* Huincha azul */
.container-huincha {
    background: rgba(0, 85, 147, 0.50);
    /* Azul 005593, 50% transparente */
    width: 100vw;
    height: 200px;
    min-height: 120px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
}

.huincha-text {
    color: #fff;
    font-size: 1.4rem;
    max-width: 1020px;
    margin: 0 auto;
}

/* Container del botón (transparente, de lado a lado) */
.container-boton {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding-top: 2rem;
    padding-bottom: 2.2rem;
}

/* Estilo del botón píldora */
.btn-pill {
    border-radius: 999px !important;
    padding-left: 2em;
    padding-right: 2em;
    background-color: #005593 !important;
    color: #fff !important;
    font-weight: 500;
    border: none;
    box-shadow: 0 2px 10px 0 rgba(0, 85, 147, 0.13);
    transition: background 0.18s, box-shadow 0.18s;
}

.btn-pill:hover,
.btn-pill:focus {
    background-color: #0077d6 !important;
    color: #fff !important;
    box-shadow: 0 4px 18px 0 rgba(0, 85, 147, 0.22);
}

@media (max-width: 991.98px) {
    .container-superior h2 {
        font-size: 2.2rem;
    }

    .huincha-text {
        font-size: 1.05rem;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .container-huincha {
        height: auto;
        min-height: 100px;
    }

    .btn-pill {
        font-size: 1.05rem;
        padding-left: 1.2em;
        padding-right: 1.2em;
    }
}

@media (max-width: 575.98px) {
    .container-superior {
        min-height: 100px;
    }

    .container-huincha {
        min-height: 80px;
    }

    .container-superior h2 {
        font-size: 1.25rem;
    }

    .huincha-text {
        font-size: 0.96rem;
    }
}

/* Únete */
.btn-pill {
    border-radius: 999px !important;
    padding-left: 1.5em;
    padding-right: 1.5em;
    background-color: #005593 !important;
    color: #fff !important;
    font-weight: 500;
    border: none;
    box-shadow: 0 2px 10px 0 rgba(0, 85, 147, 0.13);
    transition: background 0.18s, box-shadow 0.18s;
}

.btn-pill:hover,
.btn-pill:focus {
    background-color: #0077d6 !important;
    color: #fff !important;
    box-shadow: 0 4px 18px 0 rgba(0, 85, 147, 0.22);
}

/* Opcional: ajusta radios y ancho mínimo en responsive */
@media (max-width: 991.98px) {

    .container-contenido,
    .container-izquierdo,
    .container-flor {
        min-width: 80px;
        border-radius: 1.1rem !important;
    }

    .container-contenido {
        padding: 1.2rem;
    }

    .btn-pill {
        width: 100%;
        min-width: 160px;
    }

    h2.display-4 {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .d-flex.flex-row.align-items-stretch {
        flex-direction: column;
        min-height: 200px;
    }

    .container-izquierdo,
    .container-flor,
    .container-contenido {
        min-width: 0;
        width: 100%;
        max-width: none;
        margin-bottom: 1rem;
        border-radius: 1rem !important;
    }
}

/* webmail */

.webmail-icon-link i {
    font-size: 2.6rem;
    /* Mucho más grande que el original */
    color: #005593;
    /* Azul principal */
    transition: color 0.2s;
}

.webmail-icon-link:hover i {
    color: #569ce2;
    /* Azul claro en hover */
}

/* Únete */
.section-featured {
    background-image: url('../img/pimg23.jpg');
    background-size: cover;          /* Para que cubra todo el contenedor */
    background-position: center;     /* Centra la imagen */
    background-repeat: no-repeat;    /* Evita repeticiones */
    min-height: 1000px;
}

@media (max-width: 991px) {
    .section-featured {
        min-height: 500px; /* O ajusta según la necesidad en dispositivos pequeños */
    }
}


/* Sección Directiva */
.section-featured-directiva {
    background-size: cover;          /* Para que cubra todo el contenedor */
    background-position: center;     /* Centra la imagen */
    background-repeat: no-repeat;    /* Evita repeticiones */
    min-height: 700px;
}

@media (max-width: 991px) {
    .section-featured-directiva {
        min-height: 500px; /* O ajusta según la necesidad en dispositivos pequeños */
    }
}

/* Afiche */

.imagenes-verticales {
    display: flex;
    flex-direction: column;      /* Apila en vertical */
    gap: 0;                      /* Sin espacio entre imágenes */
    margin: 0;
    padding: 0;
    width: 100%;
}

.imagenes-verticales img {
    display: block;
    width: 100%;                 /* Cada imagen ocupa todo el ancho del contenedor */
    height: auto;
    margin: 0;
    padding: 0;
    object-fit: cover;           /* Recorte inteligente si lo necesitas */
    border: none;
}





/* Zona central donde cada sección lleva fondo de imagen y texto superpuesto */
.catastro-central {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.bloque-fondo-img {
    position: relative;
    width: 100%;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,85,147,0.10);
    padding-top: 4em;
}

/* Imagen 1 con texto arriba */
.catastro-img1 {
    background-image: url('../img/afi1.jpg');
    height: 1700px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;  /* Texto pegado arriba */
    align-items: stretch;
}

/* Imagen 2 con texto centrado-arriba */
.catastro-img2 {
    background-image: url('../img/afi2.jpg');
    height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;  /* Arriba, pero centrado */
    align-items: center;          /* Centrado horizontal */
}

/* El bloque de texto */
.bloque-texto {
    width: auto;
    text-align: justify;
    color: #ffffff;
    z-index: 2;
    background: rgba(255,255,255,0.10);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,85,147,0.11);
    max-width: 85%;
    margin: 0 auto;
    padding: 22px 12px;
}

/* Ajuste para cada posición individual si quieres más precisión */
.posicion-texto-top .bloque-texto {
    margin-top: 16px;
    margin-bottom: 0;
    align-self: flex-start;
}

.posicion-texto-centro-arriba .bloque-texto {
    margin-top: 38px;
    margin-bottom: 0;
    align-self: center;
}

.bloque-texto h2, .bloque-texto h3 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 16px;
}

.bloque-texto p {
    color: #005593;
    font-weight: 500;
    font-size: 1.12rem;
    margin: 0;
    line-height: 1.6;
}







/* estudio0.html section estudio */

/* Estructura base */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

/* Sección del afiche */
/* .afiche-section {
  width: 100%;
  max-width: 1200px;
  height: 120vh;
  background-image: url('../img/afi1.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
}

.afiche-text {
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 4rem;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
} */

/* Sección instrucciiones */
.instrucciones-section {
  width: 100%;
  max-width: 1200px;
  min-height: 100vh; /* Altura del section */
  height: auto;
  background-color: #004779;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.instrucciones-title {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 50px;
  font-weight: 400;
}

.instrucciones-section p {
  width: 90vw;
  font-size: 1.25rem;
  line-height: 1.7;
  text-align: justify;
  color: #ffffff;
  margin-bottom: 2em;
  font-weight: 400;
}


/* === MEDIA QUERIES === */

/* Tablets */
@media (max-width: 992px) {
  .afiche-text {
    font-size: 2.4rem;
  }

  .proposito-title {
    font-size: 2.5rem;
  }

  .proposito-section p {
    width: 85%;
    font-size: 1.1rem;
  }

  .instrucciones-title {
    font-size: 2.5rem;
  }

  .instrucciones-section p {
    width: 85%;
    font-size: 1.1rem;
  }
}

/* Móviles */
@media (max-width: 600px) {
  /* .afiche-section {
    height: 60vh;
    padding: 20px 10px;
  }

  .afiche-text {
    font-size: 1.8rem;
  } */

  .proposito-section {
    padding: 40px 10px;
  }

  .proposito-title {
    font-size: 2rem;
  }

  .proposito-section p {
    width: 95%;
    font-size: 1rem;
    text-align: left;
  }

  .instrucciones-section {
    padding: 40px 10px;
  }

  .instrucciones-title {
    font-size: 2rem;
  }

  .instrucciones-section p {
    width: 95%;
    font-size: 1rem;
    text-align: left;
  }
}

/* sección detalles */

.spacer {
  height: 28px;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  width: 100%;
  max-width: 800px;
  text-align: left;
}

.icon-list li {
  display: inline-block;
  align-items: baseline;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 20px;
  gap: 16px;
}

.icon-list i {
  font-size: 2rem;
  min-width: 2.3rem;
  color: #69e6ff; /* o el color que desees para íconos (ejemplo verde WhatsApp) */
}

.icon-list p {
  font-size: 1.15rem;
  min-width: 2.3rem;
  width: 50vw;
  color: #ffffff; /* o el color que desees para íconos (ejemplo verde WhatsApp) */
}

#interior li {
  display: list-item;         /* Restaura el valor correcto para mostrar bullets */
  list-style-type: disc;      /* Define tipo de viñeta */
  list-style-position: inside;/* Opcional, controla posición del marcador */
  color: #fff;
}

/* Botón píldora */
.btn-pill {
  background-color: #005593;
  color: #fff;
  padding: 12px 36px;
  border: none;
  border-radius: 30px;
  font-size: 1.3rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.btn-pill:hover,
.btn-pill:focus {
  background-color: #0072b8;
  transform: scale(1.03);
}

/* Letra más pesada */
#pesada {
  font-weight: 600;       /* Peso intermedio, más fuerte pero no negrita completa */
  display: inline;        /* Garantiza que siga en la misma línea */
  vertical-align: baseline; /* Alinea el texto con el resto del párrafo */
}

#pesada2 {
  font-weight: 400;       /* Peso intermedio, más fuerte pero no negrita completa */
  display: inline;        /* Garantiza que siga en la misma línea */
  vertical-align: baseline; /* Alinea el texto con el resto del párrafo */
}