@font-face {
    font-family: "Gotham-Book";
    src: url("../fonts/Gotham-Book.otf") format("truetype");
}

@font-face {
    font-family: "Gotham-black";
    src: url("../fonts/1830-font.otf") format("truetype");
}

body{
    background-image: url("../img/fondo1.png");
    /* background-image: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)), url("../img/fondos/fondo2.jpg"); */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
}

html, body{
    height:100%;
    margin:0;
}

.bg-light {
    background-color: #ffffff !important;
}

.bg-nav {
    background-color: #00090a !important;
}

body,
p,
ul,
ol,
li {
    font-family: "Gotham-Book", "Roboto", sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Gotham-black", "Roboto", sans-serif !important;
}

ul li::marker,
ol li::marker {
    font-family: "Gotham-black", "Roboto", sans-serif !important;
    font-weight: bold;
    color: #0EA597;
}

li {
    margin-bottom: 12px;
}

b {
    font-family: "Gotham-black", "Roboto", sans-serif !important;
}

.texto-justificado p, .texto-justificado li {
    
    text-align: justify;
    
}

#contenido {
    height: calc(100% - 38px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2);
}

.contenedor-presentaciones {
    border-radius: 15px;
    /* background: rgba(255, 255, 255, 0.6); */
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    height: calc(100vh - (100px + 0.1rem));

}

/* .contenedor-presentaciones {
    border-radius: 15px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    height: calc(100vh - (120px + 6rem));
    margin-bottom: 50px;

    background-image: url("../img/quienessomos.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
} */


.contenedor-botones-navegacion {
    height: 38px;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

#btnIzquierda {
    border-radius: 0px 15px;
}

#btnDerecha {
    border-radius: 15px 0px;
}

#btnIzquierda,
#btnDerecha {
    background-color: #0EA597;
    border: 1px solid #0EA597;
}

/* Items del menú */
/* .menu-slide {
    padding: 12px 15px;
    margin-bottom: 5px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
    color: #ffffff;
} */

.numero-tab {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px;
    min-height: 50px;
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    margin-left: 10px;

    font-size: 25px !important;
    flex-shrink: 0; /* 🔥 evita que se encoja */
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;

    background: linear-gradient(145deg, #0EA597, #0b7d73);
    border: 2px solid rgba(255,255,255,0.3);

    box-shadow:
        0 0 10px rgba(14,165,151,0.6),
        inset 0 0 8px rgba(255,255,255,0.2);

    backdrop-filter: blur(4px);

    /* 🔥 AQUÍ ESTÁ LA MAGIA */
    -webkit-text-stroke: 1.2px rgba(255,255,255,0.7);
    text-shadow:
        0 1px 2px rgba(0,0,0,0.4),
        0 0 4px rgba(255,255,255,0.3);
}

.tab-header{
    display: flex;
    align-items: center;
    gap: 15px; /* espacio entre número y título */
}

/* boton Reto */

.reto-box {
  margin-top: 30px;
  margin-bottom: 25px;
  padding: 20px 25px;
  border-radius: 16px;
  border: 1px solid rgba(14,165,151,0.4);

  /* background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(10,30,40,0.9)); */
  backdrop-filter: blur(6px);

  color: #fff;
}

.reto-icono {
  width: 55px;
  height: 55px;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255,255,255,0.2);
  color: #0EA597;
  font-size: 22px;
}

.reto-texto h5 {
  margin: 0;
  color: #0EA597;
  font-weight: 700;
  letter-spacing: 1px;
}

.reto-texto p {
  margin: 0;
  font-size: 14px;
  opacity: 0.85;
}

/* BOTÓN */
.btn-reto {
  background: linear-gradient(145deg, #0EA597, #0b7d73);
  border: none;
  padding: 12px 25px;
  border-radius: 10px;

  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;

  display: flex;
  align-items: center;
  gap: 10px;

  transition: all 0.3s ease;
}

.btn-reto:hover {
  transform: translateX(6px);
  box-shadow: 0 5px 20px rgba(14,165,151,0.5);
}

@media (max-width: 991px) {

  .btn-reto {
    margin-left: auto;
  }

}

@media (max-width: 768px) {

  .reto-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-reto {
    margin-top: 15px;
    padding: 8px 18px;   /* 👈 más pequeño */
    font-size: 14px;
  }

}

/* =========================
   BOTON BACK SIMPLE
========================= */

.btn-back{

    position: absolute;

    top: 8px;

    left: 10px;

    border: none !important;

    outline: none !important;

    background: transparent !important;

    box-shadow: none !important;

    color: #ffffff;

    font-size: 34px;

    cursor: pointer;

    z-index: 20;

    padding: 0;

    transition:
        color .35s ease,
        transform .35s ease,
        text-shadow .35s ease;

}

/* HOVER */

.btn-back:hover{

    background: transparent !important;

    color: #0EA597;

    transform: translateX(-4px);

    text-shadow:
        0 0 10px rgba(14,165,151,0.7),
        0 0 20px rgba(14,165,151,0.4);

}

/* FOCUS */

.btn-back:focus,
.btn-back:active{

    outline: none !important;

    box-shadow: none !important;

    background: transparent !important;

}

/* MOBILE */

@media (max-width: 768px){

    .btn-back{

        top: 15px;

        left: 15px;

        font-size: 28px;

    }

}

/* boton atras */

/* .btn-back{
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;

    background: rgba(14,165,151,0.08); 
    border: 1px solid rgba(14,165,151,0.4);

    border-radius: 12px;
    color: #0EA597;

    font-size: 18px;
    cursor: pointer;

    backdrop-filter: blur(6px);

    transition: all 0.25s ease;

    
    box-shadow: 0 4px 12px rgba(14,165,151,0.2);
} */

/* HOVER 🔥 */
/* .btn-back:hover{
    background: #0EA597;
    color: #fff;

    transform: translateX(-4px);
    box-shadow: 0 8px 20px rgba(14,165,151,0.4);
} */

/* CLICK */
/* .btn-back:active{
    transform: scale(0.95);
} */

.instruccion{
    display: flex;
    align-items: center;
    gap: 15px; 
    width: 100%;
}

/* opcional: que el texto no se pegue */
.texto-instruccion{
    flex: 1;
    font-size: 22px; 
    line-height: 1.6;
}


/* Hover moderno */
.menu-slide:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
    transform: translateX(3px); /* pequeño movimiento lateral */
    /* box-shadow: 0 4px 15px rgba(184,34,43,0.4); */
}

/* BOTÓN HAMBURGUESA */
.btn-menu {
    position: fixed;
    top: 20px;
    left: 10px;
    z-index: 9999;
    background: #000;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 10px;
}

/* MENÚ LATERAL RESPONSIVE */
@media (max-width: 991px) {

    .section-content {
        width: 100vw !important;
        max-width: 100vw !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
        margin-left: 0 !important;
    }

    .section-content-row {
        margin: 0 !important;
        width: 100% !important;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .contenedor-presentaciones {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #menuLateral {
        top: 0;
        left: -100%;
        height: 100%;
        padding-top: 80px;
        z-index: 9999;
    }

    #menuLateral.activo {
        left: 0;
    }

    .menu-slide {
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        color: #fff;
    }

    .navbar .w-100 {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    /* Fila superior (botón + logo) */
    .navbar .w-100 > div:first-child {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    /* Botón hamburguesa a la izquierda */
    .btn-menu {
        position: absolute;
        left: 20px;
    }

    /* Título abajo centrado */
    #titulo-dinamico {
        position: static;
        transform: none;
        text-align: center;
        font-size: 16px;
        width: 100%;
    }

    /* Empuja el logo para que no choque con el botón */
    .logo-container {
        /* margin-left: 50px;  */
        z-index: 1;
    }



}

@media (max-width: 480px) {
    .logo-container img {
        height: 30px;
    }
}

/* DESKTOP (pantallas grandes) */
@media (min-width: 992px) {

    .contenedor-presentaciones.expandido {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    #menuLateral {
        /* top: 70px; */
        left: 0;
        height: calc(100vh - 70px);
        padding: 20px 10px;
        gap: 8px;
    }
}

/* ===== MENU LATERAL BASE ===== */
/* #menuLateral {
    position: fixed;
    width: 260px;
    /* background: #21202E;
    background: rgba(33, 32, 46, 0.85);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    transition: all 0.3s ease;
} */

#menuLateral {
    position: fixed;
    width: 265px;
    background: rgba(33, 32, 46, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-right: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Scroll bonito */
#menuLateral::-webkit-scrollbar {
    width: 6px;
}

#menuLateral::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

/* ITEMS */
.menu-slide {
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #fff;
    transition: all 0.3s ease;
}

/* HOVER */
.menu-slide:hover {
    background: rgba(14, 165, 151, 0.12);
    cursor: pointer;
    transform: translateX(5px);
}

/* NIVEL 0 (PADRE PRINCIPAL) */
.nivel-0 {

    font-size: 16px !important;

    font-weight: 800 !important;

    letter-spacing: .4px;

    color: #ffffff !important;

    text-transform: uppercase;
}

.nivel-0:not(:first-child){
    margin-top: 10px;
}

/* NIVEL 1 (HIJOS) */
.nivel-1 {

    padding-left: 25px !important;

    font-size: 12.5px !important;

    font-weight: 600 !important;

    opacity: 0.92 !important;

    position: relative !important;

    color: rgba(255,255,255,0.88) !important;

    background: rgba(14, 165, 151, 0.08) !important;

    border-left: 2px solid rgba(14, 165, 151, 0.3) !important;

    line-height: 1.4 !important;
}

.nivel-1::before {
    content: "└ ";
    color: #0EA597;
    margin-right: 5px;
}

/* NIVEL 2 (SUBHIJOS) */
.nivel-2 {

    padding-left: 45px;

    font-size: 13px !important;

    font-weight: 400 !important;

    opacity: 0.72;

    position: relative;

    color: rgba(255,255,255,0.68);

    background: rgba(14, 165, 151, 0.04);

    border-left: 1px solid rgba(14, 165, 151, 0.12);

    line-height: 1.35;
}

.nivel-2::before {
    content: "├ ";
    color: #0EA597;
    margin-right: 5px;
}

.menu-activo.nivel-0 {
    background: #0ea5977d
}

.menu-activo.nivel-1 {
    background: #0ea59759 !important;
}

.menu-activo.nivel-2 {
    background: #0ea59726
}

/* ACTIVO */
.menu-activo {
    background: #0EA597; /* 🔥 mismo color de tu pantalla inicial */
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    border-left: 4px solid #0EA597;
    padding-left: 8px;
}

/* SUBMENUS */
.submenu {
    display: none;
    font-size: 13px;
    padding-left: 20px;
    opacity: 0.8;
    position: relative;
}

.submenu::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    width: 8px;
    height: 2px;
    background: #0EA597;
}

/* estilo visual */
.padre {
    font-weight: bold;
    /* color: #0EA597; */
}

.padre.menu-activo {
    /* background: rgba(14,165,151,0.2); */
    color: #fff;
    font-weight: bold;
}

.padre::after {
    content: "▸";
    float: right;
    transition: transform 0.3s ease;
}

.padre.abierto::after {
    transform: rotate(90deg);
}

.hijo::after {
    content: "▸";
    float: right;
    font-size: 10px;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.hijo.abierto::after {
    transform: rotate(90deg);
}

.hijo,
.subhijo{
    display:none;
}

.hijo.mostrar,
.subhijo.mostrar{
    display:block;
}


#titulo-dinamico {
    transition: all 0.3s ease;
}

#titulo-dinamico.cambio {
    opacity: 0;
    transform: translateY(-10px);
}

/* .menu-slide{
    padding:6px 10px;
    font-size:15px;
    letter-spacing:0.5px;
    font-weight: 600 !important;
    border-left: 4px solid transparent;
    cursor:pointer;
    transition: 0.3s;
    background:#D3D3D3;
    margin-bottom:3px;
}

.menu-slide:hover{
    background:#f5f5f5;
    color: #000000;
} */

/* .menu-activo{
    background:#ffffff;
    border-left:4px solid #B8222B;
    color:#B8222B;
    /* font-weight:bold; */
    /* font-weight:700; */
/* } */

#contenido::-webkit-scrollbar {
    width: 8px;
}

#contenido::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

#contenido::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
}

#contenido::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

.simplebar-scrollbar::before {
    background-color: rgb(99, 97, 97);
    width: 7px;
}

footer {
    width: 100%;
    min-height: 50px;
}

.img-fluid {
    width: 100%;
    height: auto;
}

.items-menu {
    width: 50px;
    max-width: 50px;
    height: 50px;
    max-height: 50px;
    border: 3px solid rgb(125, 21, 65);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.card-item-menu {
    border-radius: 15px;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #bab3a9;
}

.modulo {
    align-items: center;
    background-color: #ffffff;
    border-radius: 15px;
    border: 1px solid;
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    min-height: 100px;
    padding: 10px;
}

.modulo:hover {
    background-color: #edd222;
    cursor: pointer;
    -webkit-box-shadow: 0px 7px 24px 0px #0EA59740;
    -moz-box-shadow: 0px 7px 24px 0px #0EA59740;
    box-shadow: 0px 7px 24px 0px #0EA59750;
}


.modulo-recurso-curso:hover {
    background-color: #edd222;
    cursor: pointer;
    -webkit-box-shadow: 0px 7px 24px 0px #0EA59740;
    -moz-box-shadow: 0px 7px 24px 0px #0EA59740;
    box-shadow: 0px 7px 24px 0px #0EA59750;
}

.modulo-recurso-curso {
    align-items: center;
    background-color: #ffffff;
    border-radius: 15px;
    border: 1px solid;
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    min-height: 100px;
    padding: 10px;
}

.modulo-recurso-curso:hover {
    background-color: #edd222;
    cursor: pointer;
    -webkit-box-shadow: 0px 7px 24px 0px #0EA59740;
    -moz-box-shadow: 0px 7px 24px 0px #0EA59740;
    box-shadow: 0px 7px 24px 0px #0EA59750;
}

.modulo-recurso {
    align-items: center;
    background-color: #ffffff;
    border-radius: 15px;
    border: 1px solid;
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    min-height: 100px;
    padding: 10px;
}

.modulo-recurso:hover {
    background-color: #edd222;
    cursor: pointer;
    -webkit-box-shadow: 0px 7px 24px 0px #0EA59740;
    -moz-box-shadow: 0px 7px 24px 0px #0EA59740;
    box-shadow: 0px 7px 24px 0px #0EA59750;
}

.modulo-activo {
    background-color: #edd222;
    border: 0px;
}

.modulo-numeracion {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex: 0 0 auto;
}

.modulo-numeracion > h2 {
    margin: 0px;
}

.card-item-menu:hover,
.card-item-menu-active {
    background-color: #edd222;
    color: #0EA597;
    border: 1px solid #e55925;
    cursor: pointer;
    -webkit-box-shadow: 0px 7px 24px 0px #0EA59740;
    -moz-box-shadow: 0px 7px 24px 0px #0EA59740;
    box-shadow: 0px 7px 24px 0px #0EA59750;
}

.bg-oscuro {
    background-color: #00090a !important;
}

.section-content {
    margin-left: 260px;
    margin-top: 30px;
}

footer {
    position: fixed;
    bottom: 0;
}

.progress-sm {
    height: 8px;
    font-size: 5px;
}

/* .bg-danger {
    background-color: #B8222B !important;
} */

#progress-bar {
    width: 0%;
    font-size: 12px !important;
    color: black;
}
#progress-bar-modulo-1 {
    width: 0%;
    font-size: 9px !important;
    color: black;
}

.progress-bar-text-sm {
    font-size: 8px !important;
    font-weight: bold !important;
}

.progress-bar-text-lg {
    color: #ffffff !important;
    font-weight: bold !important;
}

/* Test */
.default-dashboard .recent-activity-card ul li .recent-activity-data .activity-name {
    align-items: center;
    display: flex;
    gap: 10px;
}
/* End test */

.img-fluid {
    object-fit: contain;
    width: 100%;
    border-radius: 12px;
}

.footer-contenido {
    margin: 0 30px;
    flex-direction: row;
}

.footer-contenido-progress {
    width: 40%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 576px) {
    .footer-contenido {
        flex-direction: column;
    }
    .footer-contenido-progress {
        width: 100%;
    }

    body {
        overflow-y: auto !important;
    }

    .section-content {
    margin-left: 0;
    }

    footer {
        position: relative;
    }

    .section-content-row {
        /* flex-direction: column-reverse; */
        gap: 15px;
    }
}

/* Intro css */

.introjs-tooltip {
    min-width: 310px;
    max-width: 400px;
    border-radius: 5px;
    box-shadow: 0 3px 30px rgba(33, 33, 33, 0.3);
    transition: opacity 0.1s ease-out;
}
.introjs-tooltipReferenceLayer * {
    font-family: "Gotham-Book", "Roboto", sans-serif !important;
}

.introjs-tooltiptext {
    font-size: 12px !important;
}

.introjs-tooltipbuttons {
    border-top: 0px solid #e0e0e0;
}

.introjs-button {
    font-family: "Gotham-Book", "Roboto", sans-serif !important;
    padding: 0.2rem 0.8rem;
    font-size: 12px !important;
}

.introjs-dontShowAgain > label {
    font-family: "Gotham-Book", "Roboto", sans-serif !important;
    font-size: 12px !important;
}

.introjs-icono {
    display: block;
    width: 60px;
    height: auto;
    margin: 10px auto 0;
}
#audioSpeed {
    background: #fff url('data:image/svg+xml;utf8,<svg fill="black" height="18" viewBox="0 0 24 24" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 12px center/18px 18px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding-right: 38px !important;
    min-width: 90px !important;
    border: 1px solid #0EA597 !important;
    color: #0EA597 !important;
    font-weight: bold !important;
    height: 38px !important;
    line-height: 38px !important;
}

#audio-player-fixed {
    display: flex;
    align-items: center;
    display: none !important;
    background: #0EA597;
    border-radius: 12px;
    padding: 3px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    color: #fff;
    font-size: 1rem;
    margin-left: 10px; /* lo separa del borde izquierdo */
}

/* #audio-player-fixed {
    position: fixed;
    left: 24px;
    bottom: 100px;
    z-index: 9999;
    display: flex;
    align-items: center;
    background: #B8222B;
    border-radius: 12px;
    padding: 3px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    color: #fff;
    font-size: 1rem;
} */

#audio-player-fixed select {
    background: #fff;
    color: #0EA597;
    border: 1px solid #0EA597;
    font-weight: bold;
    /* margin-left: 10px; */
    padding: 2px 8px;
}

#audio-player-fixed button {
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 10px;
}

#audio-player-fixed b {
    font-size: 12px;
    margin-right: 10px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    #audio-player-fixed {
        width: 100%;
        justify-content: center;
        border-radius: 0;
        padding: 8px;
    }
}

/* @media (max-width: 600px) {
    #audio-player-fixed {
        left: 0;
        right: 0;
        bottom: 83px;
        width: 100%;
        flex-direction: row;
        align-items: center;
        padding: 10px 8px;
        border-radius: 0;
        box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
    }
    #audio-player-fixed button,
    #audio-player-fixed select {
        margin-bottom: 0;
    }
} */

#audio-player-fixed #playAudio i {
    color: #000 !important;
}
#playAudio {
    color: #ffffff !important;
}

#playAudio:focus {
    box-shadow: none;
}

/* TABLAS */

.tabla-valores{
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 6px 20px rgba(0,0,0,0.15);
}

.tabla-valores thead{
    background:#0EA597;
    color:white;
    font-weight:bold;
    font-size:16px;
}

.tabla-valores tbody tr{
    background:#f4f4f4;
    transition:0.3s;
}

.tabla-valores tbody tr:nth-child(even){
    background:#e9e9e9;
}

.tabla-valores tbody tr:hover{
    background:#dcdcdc;
    transform:scale(1.01);
}

/* pagina de inicio */

.pantalla-inicial {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    /* 🔥 TU IMAGEN REAL */
    background: url('../img/fondoIniciar.png') center center / cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding-left: 80px;
    z-index: 9999;
}

.contenido-inicial {
    color: white;
    max-width: 600px;
}

.logo-inicial{

    width:100%;

    max-width:500px;

    margin-bottom:20px;
}

.logo-inicial img{

    width:100%;

    height:auto;

    display:block;

    object-fit:contain;

    filter:
    drop-shadow(0 0 10px rgba(14,165,151,.25));
}

.contenido-inicial p {
    margin-top: 20px;
    font-size: clamp(14px, 3vw, 18px);
    line-height: 1.5;
}

.btn-iniciar {
    margin-top: 30px;
    padding: 15px 35px;
    background: linear-gradient(90deg, #0EA597, #0EA597);
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 12px;
    font-size: 16px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-iniciar:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {

  .pantalla-inicial {
    justify-content: center;
    padding: 20px;
    text-align: center;
  }

  .contenido-inicial {
    max-width: 100%;
    background: rgba(0,0,0,0.4);
    padding: 20px;
    border-radius: 12px;
  }

  .btn-iniciar {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* tab19 */
.fondoactividades {
    background-image: url("../img/fondoactividades.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.fondoactividades::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.55); /* ajusta aquí la opacidad */

    z-index: 0;
}

.fondoactividades > * {
    position: relative;
    z-index: 1;
    color: white; /* opcional si el fondo es oscuro */
}


/* tab20 */

/* TARJETAS */

.info-card{
    background:#00090aa6;
    border:2px solid #0EA597;
    padding:25px;
    height:100%;
    color:white;
    border-radius:4px;
    transition:0.3s;
}

/* TITULOS */

.info-card h4{
    text-align:center;
    font-weight:700;
    margin-bottom:20px;
    color:white;
    letter-spacing:1px;
}

/* TEXTO */

.info-card p{
    font-size:15px;
    line-height:1.6;
}

.info-card ul{
    padding-left:18px;
}

.info-card li{
    margin-bottom:10px;
    line-height:1.6;
}

/* HOVER SUAVE */

.info-card:hover{
    transform:translateY(-6px);
    box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

.fondo-talento {
    background-image: url("../img/fondotalento.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.fondo-talento > * {
    position: relative;
    z-index: 1;
    color: white; /* opcional si el fondo es oscuro */
}

/* RESPONSIVE */

@media (max-width:768px){

    .info-card{
        margin-bottom:20px;
    }

}

/* tab21 */
.fondoalianzas {
    background-image: url("../img/fondoalianzas.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.fondoalianzas::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.55); /* ajusta aquí la opacidad */

    z-index: 0;
}

.fondoalianzas > * {
    position: relative;
    z-index: 1;
    color: white; /* opcional si el fondo es oscuro */
}

/* tab1 */

/* imagen de fondo */
.fondo-img{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-image:url("../img/fondo2.png");
    background-size:cover;
    background-position:center;
    /* opacity:0.35; */
}

/* contenido */
.contenido-banner{
    position:relative;
    height:100%;
}

/* franja roja */
.franja-roja{
    position:absolute;
    top:60%; /* 🔥 más abajo (antes 45%) */
    left:40px;
    background:#020202a6;
    padding:30px 120px 30px 70px; /* 🔥 más grande */
    transform:skewX(-25deg);
}

/* contenedor de animación */
.franja-wrapper{
  position:absolute;
  top:60%;
  left:40px;
}

/* corregir skew */
.contenido-franja{
    transform:skewX(25deg);
    display:flex;
    align-items:center;
}

/* logo */
.logo-autotrain{
    height: clamp(35px, 6vw, 60px);
    /* margin-right:20px; */
}

/* texto del logo */
.contenido-franja span{
    color:white;
    font-size: clamp(14px, 2.5vw, 20px);
    letter-spacing:3px;
    font-weight:bold;
}

/* 📱 TABLET */
@media (max-width: 991px) {

  .franja-wrapper {
    top: 65%;
    left: 20px;
    right: 20px;
  }

  .franja-roja {
    padding: 20px 60px 20px 40px;
  }

  .logo-autotrain {
    height: 50px;
  }

  .contenido-franja span {
    font-size: 18px;
  }
}

@media (max-width: 576px) {

  .franja-wrapper {
    top: 70%; /* controla qué tan abajo queda */
    bottom: auto; 
    left: 15px;
    right: 15px;
  }

  .franja-roja {
    /* width: 100%; */
    padding: 15px 20px;
    transform: skewX(-15deg); /* menos agresivo */
  }

  .contenido-franja {
    transform: skewX(15deg);
    flex-direction: column; /* 👈 logo arriba, texto abajo */
    text-align: center;
    gap: 10px;
  }

  .logo-autotrain {
    height: 40px;
  }

  .contenido-franja span {
    font-size: 14px;
    letter-spacing: 2px;
  }
}

/* video intro */

.video-fondo{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    overflow: hidden;

    /* 🔥 estado inicial (entrada suave) */
    opacity: 0;
    transform: scale(1.08);
    filter: blur(10px);
    transition: all 0.5s ease;
}

/* cuando entra */
.video-fondo.entrar{
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

/* salida elegante */
.video-fondo.salida{
    opacity: 0;
    transform: scale(1);
    filter: blur(12px);
}

.video-full{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* tab2 */

/* =========================
   CARD MODERNA
========================= */

.card-modern{

    position:relative;

    height:100%;

    padding:40px 30px;

    border-radius:24px;

    background:
    rgba(255,255,255,0.06);

    backdrop-filter:blur(12px);

    border:
    1px solid rgba(255,255,255,0.08);

    overflow:hidden;

    transition:all .35s ease;

    text-align:center;
}

/* GLOW */

.card-modern::before{

    content:"";

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        135deg,
        rgba(14,165,151,.18),
        transparent
    );

    opacity:.8;

    z-index:0;
}

.card-modern:hover{

    transform:translateY(-8px);

    border-color:
    rgba(14,165,151,.5);

    box-shadow:
    0 15px 40px rgba(14,165,151,.18);
}

/* CONTENIDO */

.card-modern > *{
    position:relative;
    z-index:2;
}

/* ICONO */

.icon-modern{

    width:clamp(90px, 10vw, 130px);

    height:clamp(90px, 10vw, 130px);

    margin:0 auto 30px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:
    linear-gradient(
        135deg,
        #0EA597,
        #0a6d64
    );

    color:#fff;

    box-shadow:
    0 15px 35px rgba(14,165,151,.35);

    transition:all .35s ease;
}

.icon-modern i{

    font-size:clamp(55px, 6vw, 85px);
}

.card-modern:hover .icon-modern{

    transform:scale(1.08) rotate(5deg);

    box-shadow:
    0 20px 45px rgba(14,165,151,.45);
}

/* TITULO */

.card-modern h3{

    color:#fff;

    font-size:28px;

    font-weight:800;

    margin-bottom:18px;

    letter-spacing:1px;
}

/* TEXTO */

.card-modern p{

    color:rgba(255,255,255,.82);

    font-size:15px;

    line-height:1.8;

    margin:0;
}
.fondo-quienes {
    background-image: url("../img/quienessomos.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.fondo-quienes > * {
    position: relative;
    z-index: 1;
    color: white; /* opcional si el fondo es oscuro */
}
/* ANIMACION MAPA AMERICA */

/* .map-container{
width:100%;
max-width:650px;
margin:auto;
} */

/* #tooltipMapa{
  position:fixed;
  background:#000;
  color:#fff;
  padding:6px 10px;
  font-size:14px;
  border-radius:6px;
  pointer-events:none;
  opacity:0;
  transition:opacity 0.2s ease;
  z-index:9999;
}



#colombia,
#bolivia,
#argentina,
#chile,
#peru,
#ecuador,
#panama,
#bolivia,
#paraguay,
#uruguay,
#usa {
  fill: #dddddd;
  transition: 0.3s;
  cursor: pointer;
} */



/* tab3 */

.card-pilar {
    position: relative;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid #0EA597;
    border-radius: 18px;
    padding: 40px 20px 25px;
    margin-top: 10px;
    text-align: center;
    color: #fff;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    overflow: hidden;
}

/* 🔥 degradado encima sin afectar contenido */
.card-pilar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 194, 168, 0.25),
        rgba(0, 194, 168, 0.05),
        transparent
    );
    z-index: 0;
}

/* asegurar que el contenido quede encima */
.card-pilar > * {
    position: relative;
    z-index: 1;
}

.card-pilar:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 194, 168, 0.3);
}

.card-pilar img {
    display: block;
    margin: 0 auto 15px; /* 🔥 centra horizontal */

    width: 100%;
    max-width: 150px;   /* 🔥 tamaño máximo en desktop */
    height: auto;       /* 🔥 mantiene proporción */

    object-fit: contain;
}

.card-pilar h5 {
    font-weight: 700;
    margin-bottom: 10px;
    margin-bottom: 10px;

    font-size: 20px;
    line-height: 1.2;

    word-break: break-word;   /* 🔥 rompe palabras largas */
    white-space: normal;      /* 🔥 evita cortes raros */
}

.card-pilar p {
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
    white-space: normal;
}

/* número estilo diagnóstico */
.card-num {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    opacity: 0.9;
}

.fondo-pilares {
    background-image: url("../img/nuestrospilares.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.fondo-pilares::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.55); /* ajusta aquí la opacidad */

    z-index: 0;
}

.fondo-pilares > * {
    position: relative;
    z-index: 1;
    color: white; /* opcional si el fondo es oscuro */
}

@media (max-width: 992px) {

    .card-pilar {
        padding: 30px 18px 22px;
    }

    .card-pilar h5 {
        font-size: 13px;
        line-height: 1.3;
    }

    .card-pilar p {
        font-size: 13px;
    }

}

@media (max-width: 768px) {

    .card-pilar {
        padding: 25px 15px 20px;
        height: auto; /* 🔥 clave para que no corte contenido */
    }

    .card-pilar h5 {
        font-size: 12px;
    }

    .card-pilar p {
        font-size: 12px;
        line-height: 1.4;
    }

    .card-pilar img {
        max-width: 110px; /* 👈 más pequeño en móvil */
    }

}


/* TEXTO OCULTO */
/* .tab3-text{
    max-height:0;
    overflow:hidden;
    transition:max-height 0.4s ease;
}

/* ACTIVO
.tab3-item.active .tab3-text{
    max-height:200px;
    margin-top:10px;
} */


/* tab4 */

.fondo-servicios {
    background-image: url("../img/nuestrosservicios.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.fondo-servicios > * {
    position: relative;
    z-index: 1;
    color: white; /* opcional si el fondo es oscuro */
}


/* CARD SERVICIOS */
.card-servicio {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 🔥 clave */
    background: rgba(0, 0, 0, 0.75);
    border-radius: 18px;
    margin-top: 10px;
    overflow: hidden;
    color: #fff;
    height: 100%;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(14, 165, 151, 0.4);
}

/* IMAGEN */
.card-img-top {
    /* margin: -15px -15px 15px -15px; */
    position: relative;
    height: 160px;
    overflow: hidden;
}

.card-img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 🔥 DEGRADADO VERDE SOBRE LA IMAGEN */
.card-img-top::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(14, 165, 151, 0.25),
        rgba(0, 0, 0, 0.4)
    );
}

/* CONTENIDO */
.card-body-servicio {
    padding: 10px 0 0 0;
    text-align: center;
    flex-grow: 1;
}

/* degradado elegante */
.card-servicio::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 194, 168, 0.25),
        transparent
    );
    z-index: 0;
}

.card-servicio > * {
    position: relative;
    z-index: 1;
}

/* BOTÓN CIRCULAR */
.btn-card-servicio {
    position: relative;
    margin: -10px auto 10px;
    background: #0EA597;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(14, 165, 151, 0.5);
    transition: all 0.3s ease;
}

/* HOVER BOTÓN */
.btn-card-servicio:hover {
    transform: translateX(5px) scale(1.05);
    background: #0EA597;
}

/* títulos */
.card-servicio h5 {
    color: #0EA597;
    margin-bottom: 10px;

    font-size: 14px;
    line-height: 1.2;

    word-break: break-word;   /* 🔥 rompe palabras largas */
    white-space: normal;      /* 🔥 evita cortes raros */
}

/* lista */
.card-servicio ul {
    padding-left: 18px;
}

.card-servicio li {
    font-size: 13px;
    margin-bottom: 8px;
}

/* hover PRO */
.card-servicio:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(14, 165, 151, 0.3);
}

/* icono ayuda */

.at-ayuda-ruta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  z-index: 10;
}

/* ICONO */
.at-icono {
  width: 45px;
  height: 45px;
  border: 2px solid #0EA597;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0EA597;
  font-size: 18px;

  margin: 0; /* 🔥 quitar auto */

  position: relative;
  animation: pulso 2s infinite;

  flex-shrink: 0; /* 🔥 evita que se deforme */
}

.at-ayuda-top {
  position: static;
  transform: none;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;

  gap: 30px;

  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: 15px;

}

.at-ayuda-top .at-icono i {
  font-size: 18px;
}

@keyframes pulso {
  0% {
    box-shadow: 0 0 0 0 rgba(14,165,151, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(14,165,151, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(14,165,151, 0);
  }
}

.at-icono i {
    font-size: 25px;
  animation: clickTap 1s infinite;
}

@keyframes clickTap {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* efecto tipo radar 🔥 */
.at-icono::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(14,165,151,0.3);
  border-radius: 50%;
}

/* TEXTO */
.at-ayuda-ruta p {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  opacity: 0.9;

  white-space: nowrap;
}

@media (max-width: 768px) {

  .at-ayuda-ruta {
    position: static;
    transform: none;
    margin-top: 30px;
    margin-bottom: 40px;
    justify-content: center;
    text-align: center;
  }

  .card-servicio h5 {
        font-size: 12px;
        line-height: 1.3;
    }

}

@media (max-width: 992px) {

    .card-servicio h5 {
        font-size: 13px;
    }

}



/* TAB5 */

.contenido-entrena {
    max-width: 90%;
    font-size: 13px;
}

.contenido-entrena h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* .contenido-entrena ul {
    padding-left: 18px;
} */

.contenido-entrena li {
    /* margin-bottom: 6px; */
    line-height: 1.3;
}

/* =========================
   FLECHA SOLO IZQUIERDA
========================= */

/* =========================
   FLECHA EXTREMO IZQUIERDO
========================= */

/* .btn-back-left{

    position: absolute;

    top: 0;

    left: 0;

    z-index: 30;

    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

} */

/* CONTENEDOR MITAD DERECHA */
.hex-row {
    gap: 12px;
}

.hex-row .col-6 {
    padding: 4px;
}

/* CARD HEX */
.card-hex {
    position: relative;

    /* ❌ quitar altura fija */
    /* height: 260px; */

    min-height: 260px; /* ✅ altura mínima */

    padding: 16px;

    background: #1237369e;

    clip-path: polygon(
        10% 0%,
        90% 0%,
        100% 50%,
        90% 100%,
        10% 100%,
        0% 50%
    );

    border: 1px solid rgba(255,255,255,0.25);

    /* ❌ quitar hidden */
    overflow: visible;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* efecto alineado visual tipo “cards inferiores” */
.col-6 {
    display: flex;
    justify-content: center;
}

/* TEXTO */
.card-hex-content {
    padding: 10px 12px;
    text-align: center;

    /* ❌ quitar scroll */
    overflow: visible;

    /* ❌ quitar flex */
    flex: unset;

    height: auto;
}

/* TITULO */
.card-hex-content h5 {
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 10px;

    word-break: break-word;
}

/* TEXTO */
.card-hex-content p {
    font-size: 11px;
    line-height: 1.5;
    color: #ffffff;

    margin-bottom: 0;

    word-break: break-word;
}

/* IMAGEN */
.card-hex-img {
    min-height: 100px;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 10px;
}

.card-hex-img img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}


.fondo-entrena {
    background-image: url("../img/entrena.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.fondo-entrena::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.55); /* ajusta aquí la opacidad */

    z-index: 0;
}

.fondo-entrena > * {
    position: relative;
    z-index: 1;
    color: white; /* opcional si el fondo es oscuro */
}

/* animacion a la lista */

@keyframes slideInRightSoft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.anim-entrada {
  animation: slideInRightSoft 0.6s ease forwards;
}

@media (max-width: 768px) {

    .card-hex {
        height: auto;          /* 🔥 crece sola */
    }

    .card-hex-content {
        overflow: visible;     /* 🔥 sin scroll */
    }

    /* opcional: mejor distribución en móvil */
    .hex-row .col-6 {
        width: 100%; /* cards en columna */
    }

    .contenido-entrena {
        margin-bottom: 20px;
    }

}



/* tab6*/

/* =========================
   CONSULTORIA MODERNA
========================= */

.consultoria-items{

    padding:20px 25px;

    /* border-top:2px solid rgba(14,165,151,.5); */
}



/* =========================
   GRID
========================= */

.consultoria-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:24px;

    width:100%;
}

/* =========================
   CARD
========================= */

.consult-card{

    position:relative;

    background:
    linear-gradient(
        180deg,
        rgba(15,25,35,.95),
        rgba(6,12,18,.98)
    );

    border-radius:22px;

    padding:28px;

    border:1px solid rgba(255,255,255,.08);

    overflow:hidden;

    min-height:320px;

    transition:.25s ease;

    backdrop-filter: blur(10px);

    box-shadow:
    0 0 15px rgba(0,0,0,.35);
}

/* =========================
   HOVER SUAVE
========================= */

.consult-card:hover{

    transform:translateY(-6px);

    border-color:rgba(14,165,151,.45);

    box-shadow:
    0 0 25px rgba(14,165,151,.15);
}

/* =========================
   LINEA NEON
========================= */

.consult-card::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:3px;

    background:#0EA597;
}

/* =========================
   ICONO
========================= */

.consult-icon{

    width:95px;
    height:95px;

    border-radius:20px;

    background:
    linear-gradient(
        145deg,
        rgba(14,165,151,.12),
        rgba(255,255,255,.03)
    );

    display:flex;
    align-items:center;
    justify-content:center;

    margin:0 auto 25px; /* centra horizontalmente */

    border:1px solid rgba(14,165,151,.25);

    overflow:hidden; /* evita desbordamiento */
}

.consult-icon img{

    width:95%;
    height:95%;

    object-fit:contain;

    display:block;
}

/* =========================
   TITULO
========================= */

.consult-title{

    color:#0EA597;

    font-size:24px;

    font-weight:700;

    line-height:1.3;

    margin-bottom:18px;
}

/* =========================
   TEXTO
========================= */

.consult-text{

    color:rgba(255,255,255,.88);

    font-size:14px;

    line-height:1.8;
}

/* =========================
   HEADER
========================= */

/* .consultoria-header{

    padding:35px;

    background-image:url("../img/fondoconsultoria.png");
    background-size:cover;
    background-position:center;

    border-radius:20px 20px 0 0;
} */

.consultoria-section {
    background-image: url("../img/fondoconsultoria.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.consultoria-section > * {
    position: relative;
    z-index: 1;
    color: white; /* opcional si el fondo es oscuro */
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px){

    .consultoria-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width: 768px){

    .consultoria-grid{
        grid-template-columns:1fr;
    }

    .consult-card{
        min-height:auto;
    }

    .consult-title{
        font-size:20px;
    }

}

/* tab10 */

/* =========================
   GRID
========================= */

.ecosistema-bloque .eco-contenedor{
    width:100%;
    padding: 10px 30px 40px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

/* =========================
   CARD ESTILO PREMIUM
========================= */

.ecosistema-bloque .eco-card{

    position:relative;

    min-height:340px;

    border-radius:18px;

    padding:30px 22px;

    background:
    linear-gradient(
        180deg,
        rgba(5,18,30,.95),
        rgba(3,10,18,.96)
    );

    border:1px solid rgba(255,255,255,.15);

    overflow:hidden;

    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;

    transition:.25s ease;

    backdrop-filter: blur(8px);

    box-shadow:
    0 0 15px rgba(0,0,0,.4),
    inset 0 0 20px rgba(14,165,151,.05);
}

/* =========================
   EFECTO SUAVE
========================= */

.ecosistema-bloque .eco-card:hover{

    transform:translateY(-4px);

    border-color:rgba(14,165,151,.6);

    box-shadow:
    0 0 20px rgba(14,165,151,.25),
    0 0 40px rgba(14,165,151,.10);
}

/* =========================
   DETALLE ESQUINA
========================= */

.ecosistema-bloque .eco-card::before{

    content:"";

    position:absolute;

    bottom:12px;
    right:12px;

    width:45px;
    height:45px;

    border-right:2px solid #0EA597;
    border-bottom:2px solid #0EA597;

    opacity:.7;
}

.ecosistema-bloque .eco-card::after{

    content:"••••";

    position:absolute;

    bottom:8px;
    right:55px;

    color:#0EA597;

    letter-spacing:2px;

    font-size:10px;
}

/* =========================
   IMAGEN / ICONO
========================= */

.ecosistema-bloque .eco-card img{

    width:110px;
    height:110px;

    object-fit:contain;

    margin-bottom:22px;

    /* filter:
    brightness(0)
    saturate(100%)
    invert(62%)
    sepia(84%)
    saturate(510%)
    hue-rotate(132deg)
    brightness(93%)
    contrast(95%); */
}

/* =========================
   TITULO
========================= */

.ecosistema-bloque .eco-titulo-card{

    color:#0EA597;

    font-size:22px !important;

    font-weight:700 !important;

    line-height:1.3;

    margin-bottom:18px;

    min-height:58px;

    display:flex;
    align-items:center;
    justify-content:center;
}

/* =========================
   CONTENIDO
========================= */

.ecosistema-bloque .eco-contenido{

    color:#ffffff;

    font-size:14px !important;

    line-height:1.7 !important;

    opacity:.92;

    width:100%;
}

.ecosistema-bloque .eco-contenido b{

    color:#ffffff;
}

.fondo-ecosistema {
    background-image: url("../img/quienessomos.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.fondo-ecosistema > * {
    position: relative;
    z-index: 1;
    color: white; /* opcional si el fondo es oscuro */
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px){

    .ecosistema-bloque .eco-contenedor{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width: 768px){

    .ecosistema-bloque .eco-contenedor{
        grid-template-columns:1fr;
        padding:10px 15px 30px;
    }

    .ecosistema-bloque .eco-card{
        min-height:auto;
    }

}


/* tab12 */


.fondomarketing {
    background-image: url("../img/fondomarketing.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.fondomarketing::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.55); /* ajusta aquí la opacidad */

    z-index: 0;
}

.fondomarketing > * {
    position: relative;
    z-index: 1;
    color: white; /* opcional si el fondo es oscuro */
}

/* tab13 */

/* ITEMS */
.tab13-item{
    padding:20px;
    border-radius:12px;
    transition:all 0.3s ease;
    cursor:pointer;
}

/* IMAGEN */
.tab13-img{
    width:90px;
    height:90px;
    object-fit:contain;
    margin:auto;
    display:block;
    transition:transform 0.3s ease;

    animation: flotarSuave 3s ease-in-out infinite;
}

/* TITULO */
.tab13-item h5{
    color:#B8222B;
    font-weight:700;
}

/* HOVER ITEM */
.tab13-item:hover{
    background:#ffffff;
    transform:translateY(-6px);
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

.tab13-item:hover .tab13-img{
    transform:scale(1.15);
}

/* ANIMACION */
@keyframes flotarSuave {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* CONTENEDOR */
.tab13-card {
    height: 100%;
    perspective: 1000px;
    cursor: pointer;

    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tab13-card:hover {
    transform: scale(1.05);
}

/* INTERNO */
.tab13 .flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

/* CLICK */
.tab13-card.active .flip-inner {
  transform: rotateY(180deg);
}

/* CARAS */
.tab13 .flip-front,
.tab13 .flip-back {
  position: absolute;
  width: 100%;
  height: 100%; /* 🔥 clave (esto evita que se mueva) */
  top: 0;
  left: 0;

  overflow: hidden;
  backface-visibility: hidden;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;

  border-radius: 12px;
  padding: 20px;
}

/* FRENTE */
.tab13 .flip-front {
  background: #fff;
}

/* ATRÁS */
.tab13 .flip-back {
  background: #00090ad1;
  color: #fff;
  transform: rotateY(180deg);
  text-align: left;
  overflow-y: auto;
  word-break: break-word;
  align-items: flex-start; /* 🔥 clave */
  justify-content: flex-start;
  padding:20px 18px;
}

.tab13 .flip-back ul{
    width:100%;
    padding-left:18px; /* 🔥 controlado, no el default */
    margin:0;
}

.tab13 .flip-back li{
    width:100%;
    margin-bottom:12px;
}

/* FRONT COMO FONDO */
.tab13 .flip-front.bg-card {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;

  position: relative;
  text-align: center;
  color: #fff;
}

.tab13 .flip-front.bg-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1);
  border-radius: 12px;
}

.tab13 .flip-front.bg-card h5 {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 10px 15px;

  font-weight: 700;
  font-size: 20px;

  color: #fff;

  text-shadow: 0 3px 10px rgba(0,0,0,0.8);

  background: rgba(0,0,0,0.35);
  border-radius: 8px;
  backdrop-filter: blur(3px);
}

.fondo-eventos {
    background-image: url("../img/fondoeventos.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.fondo-eventos::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.55); /* ajusta aquí la opacidad */

    z-index: 0;
}

.fondo-eventos > * {
    position: relative;
    z-index: 1;
    color: white; /* opcional si el fondo es oscuro */
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .tab13 .flip-front,
  .tab13 .flip-back {
    align-items: flex-start;
  }

  .tab13 .flip-front h5 {
    text-align: center;
    width: 100%;
  }

}

/* tab14  */

.tab14 .tab-header{
    text-align: center;
    margin-bottom: 35px;
}

.tab14 .titulo-tab{
    text-align: center;
    margin: 0 auto;
}

/* =========================
   EFECTO ZOOM MAPA TAB14
========================= */

.tab14 .img-tab{

    max-width: 85%;

    margin-top: -20px;

    transition:
        transform .6s ease,
        filter .6s ease,
        box-shadow .6s ease;

    cursor: pointer;

    filter:
        drop-shadow(0 0 10px rgba(14,165,151,0.18));

}

/* HOVER */

.tab14 .img-tab:hover{

    transform: scale(1.08);

    filter:
        drop-shadow(0 0 20px rgba(14,165,151,0.35))
        drop-shadow(0 0 40px rgba(14,165,151,0.20));

}

/* EFECTO SUAVE CONTINUO */

.tab14 .img-tab{

    animation: tab14Float 4s ease-in-out infinite;

}

@keyframes tab14Float{

    0%{

        transform: translateY(0px);

    }

    50%{

        transform: translateY(-8px);

    }

    100%{

        transform: translateY(0px);

    }

}

.tab14 .img-fluid {
    width: 100%;
    height: 90%;
}

/* responsive */
@media (max-width: 991px){

    .tab14 .img-tab{

        max-width: 70%;

        margin-top: 20px;

    }

}

/* =========================
   ANIMACION LISTA TAB14
========================= */

.tab14 .lista-animada p{

    opacity: 0;

    transform: translateX(-40px);

    animation: tab14FadeLeft .8s ease forwards;

    background: rgba(255,255,255,0.04);

    border-left: 3px solid #0EA597;

    padding: 14px 16px;

    border-radius: 14px;

    margin-bottom: 16px;

    box-shadow:
        0 5px 20px rgba(0,0,0,0.12),
        0 0 15px rgba(14,165,151,0.08);

    transition: all .35s ease;

}

/* HOVER */

.tab14 .lista-animada p:hover{

    transform: translateX(8px);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.20),
        0 0 25px rgba(14,165,151,0.20);

}

/* RETARDO ESCALONADO */

.tab14 .lista-animada p:nth-child(1){

    animation-delay: .2s;

}

.tab14 .lista-animada p:nth-child(2){

    animation-delay: .4s;

}

.tab14 .lista-animada p:nth-child(3){

    animation-delay: .6s;

}

.tab14 .lista-animada p:nth-child(4){

    animation-delay: .8s;

}

.tab14 .lista-animada p:nth-child(5){

    animation-delay: 1s;

}

/* KEYFRAMES */

@keyframes tab14FadeLeft{

    from{

        opacity: 0;

        transform: translateX(-40px);

    }

    to{

        opacity: 1;

        transform: translateX(0);

    }

}

/* tab15 */

/* =========================
   GALERIA
========================= */

.tab15-galeria{

    padding: 20px 0 40px;

    overflow: hidden;

}

/* TITULO TAB15 */

.tab15-galeria .titulo-tab{

    color: #ffffff;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    position: relative;

    display: inline-block;

    padding-bottom: 12px;

    text-shadow:
        0 0 10px rgba(14,165,151,0.35),
        0 0 25px rgba(14,165,151,0.15);

}

/* =========================
   SLIDER
========================= */

.tab15-slider{

    position: relative;

    width: 100%;

    overflow: hidden;

    mask-image: linear-gradient(
        to right,
        transparent,
        white 10%,
        white 90%,
        transparent
    );

}

.tab15-track{

    display: flex;

    gap: 25px;

    width: max-content;

    animation: tab15Scroll 35s linear infinite;

}

.tab15-slider.reverse .tab15-track{

    animation-direction: reverse;

}

/* =========================
   CARD
========================= */

.tab15-card-img{

    min-width: 260px;

    height: 170px;

    border-radius: 24px;

    overflow: hidden;

    position: relative;

    background: #ffffff;

    backdrop-filter: blur(10px);

    border: 1px solid rgba(14,165,151,0.25);

    /* SOMBRA + REFLEJO #0EA597 */
    box-shadow:
        0 10px 30px rgba(0,0,0,0.25),
        0 0 18px rgba(14,165,151,0.25),
        0 0 40px rgba(14,165,151,0.12);

    transition: all .45s ease;

}

/* EFECTO BRILLO SUAVE */

.tab15-card-img::after{

    content: "";

    position: absolute;

    top: -60%;

    left: -40%;

    width: 80%;

    height: 220%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(14,165,151,0.18),
        transparent
    );

    transform: rotate(20deg);

    transition: all .6s ease;

    pointer-events: none;

}

/* IMAGEN */

.tab15-card-img img{

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;

    /* IMAGENES MAS BLANCAS */
    filter: brightness(1.08) contrast(1.02);

}

/* HOVER */

.tab15-card-img:hover{

    transform: translateY(-6px);

    box-shadow:
        0 20px 45px rgba(0,0,0,0.35),
        0 0 30px rgba(14,165,151,0.40),
        0 0 60px rgba(14,165,151,0.20);

}

.tab15-card-img:hover img{

    transform: scale(1.08);

}

.tab15-card-img:hover::after{

    left: 120%;

}

/* BORDE LUMINOSO */

.tab15-card-img::before{

    content: "";

    position: absolute;

    inset: 0;

    border-radius: 24px;

    padding: 1px;

    background: linear-gradient(
        135deg,
        rgba(14,165,151,0.7),
        transparent,
        rgba(255,255,255,0.20)
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;

    pointer-events: none;

}

/* =========================
   ANIMACION
========================= */

@keyframes tab15Scroll{

    from{
        transform: translateX(0);
    }

    to{
        transform: translateX(-50%);
    }

}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px){

    .tab15-card-img{

        min-width: 200px;

        height: 130px;

        border-radius: 18px;

    }

    .tab15-track{

        gap: 15px;

        animation-duration: 25s;

    }

}

/* tab16 */

.seccion-ecodrive{

    background:#21202E; /* azul oscuro */
    min-height:400px;
    position:relative;
    color:white;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;

    padding:40px;

}

/* franja roja */

.titulo-ecodrive{

    position:absolute;
    top:0;
    left:0;

    background:#0EA597;
    color:white;

    padding:25px 60px;

    font-size:28px;
    font-weight:bold;

}

/* contenido */

.contenido-ecodrive{

    max-width:750px;
    line-height:1.7;
    font-size:18px;

}

/* tab21 */

.seccion-frentes{

background:#21202E url("assets/img-curso/fondo-auto.png") center/cover no-repeat;
padding:60px 30px 0 30px;
color:white;
text-align:center;

}

/* titulo */

.titulo-frentes{

color:white;
letter-spacing:4px;
margin-bottom:40px;

}

/* contenedor iconos */

.frentes-contenido{

display:flex;
justify-content:center;
align-items:flex-start;
margin-bottom:40px;

}

/* cada item */

.item-frente{

text-align:center;
padding:20px;

}

/* iconos */

.icono-frente{

width:70px;
margin-bottom:15px;

}

/* texto */

.item-frente p{

font-size:16px;
line-height:1.4;

}

/* franja roja inferior */

.franja-roja-frentes{

background:#0EA597;
padding:18px;
font-size:20px;
margin-top:20px;

}

/* cards */

.card-frente{

background:#21202E;
padding:35px 20px;

border-radius:12px;

text-align:center;

backdrop-filter:blur(4px);

transition:all .35s ease;

height:100%;

}

/* iconos */

.icono-frente{

width:70px;
margin-bottom:18px;

}

/* texto */

.card-frente p{

font-size:16px;
line-height:1.5;

}

/* hover elegante */

.card-frente:hover{

transform:translateY(-10px);

background:#0EA597;

box-shadow:0 15px 40px rgba(0,0,0,0.45);

}

/* icono efecto */

.card-frente:hover .icono-frente{

transform:scale(1.1);

transition:.3s;

}

/* tab22 */

.tarifas-bg{
    background-image:url("../img-curso/4.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    position:relative;
    min-height:400px;
}

.tarifas-overlay{
    background:#21202E;
    width:100%;
    height:100%;
    min-height:400px;

    display:flex;
    justify-content:center;
    align-items:center;
}

.titulo-tarifas{
    color:#ffffff;
    font-weight:700;
    letter-spacing:3px;
    text-shadow:0 4px 12px rgba(0,0,0,0.6);

    transform:translateX(-80px); /* mueve el texto hacia la izquierda */
}

/* tab24 */

/* .at-fondocontacto {
  background: radial-gradient(circle at right, #0b2f2f, #020d12);
  color: #fff;
  min-height: 100vh;
  padding: 30px;
} */

.at-tab-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.at-numero-tab {
  background: #0ea597;
  padding: 10px 15px;
  border-radius: 10px;
  font-weight: bold;
}

.at-contenido .col-md-8 {
  padding-left: 30px;
  padding-top: 30px;
}

.at-titulo-tab {
  /* font-size: 22px; */
  font-weight: 600;
}

.at-subtitulo {
  margin-top: 20px;
  opacity: 0.8;
}

.at-titulo-principal {
  font-size: 32px;
  font-weight: bold;
}

.at-titulo-principal span {
  color: #0ea597;
}

.at-descripcion {
  margin: 20px 0;
  max-width: 500px;
  opacity: 0.8;
}

/* BOTONES */
.at-botones {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.at-btn-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0d3f3f;
  border: 1px solid #0ea597;
  color: #fff;
  padding: 15px;
  position: relative;
  text-decoration: none;
  justify-content: space-between;
  padding-right: 40px;
  border-radius: 12px;
  width: 250px;
  transition: 0.3s;
}

/* FLECHA */
.at-btn-custom::after {
  content: "›"; /* más elegante que > */
  position: absolute;
  right: 15px;
  font-size: 45px;
  color: #ffffff;
  opacity: 0.8;
  transition: 0.3s;
}

/* EFECTO HOVER 🔥 */
.at-btn-custom:hover::after {
  transform: translateX(5px);
  opacity: 1;
}

.at-btn-custom i {
  font-size: 40px;
  /* color: #0ea597; */
}

.at-btn-custom small {
  display: block;
  font-size: 12px;
  opacity: 0.7;
}

.at-btn-custom:hover {
  background: #0ea597;
  color: #000;
  transform: scale(1.05);
}

/* REDES */
.at-redes {
  position: absolute;
  top: 50px;
  right: 40px;
  text-align: right;
}

.at-icons a {
  text-decoration: none;
}

.at-icons a i {
  color: #fff;
  font-size: 20px;
  margin: 5px;
  border: 1px solid #fff;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

/* HOVER PRO */
.at-icons a:hover i {
  color: #0ea597;
  border-color: #0ea597;
  transform: scale(1.1);
}

.at-web {
  margin-top: 15px;
}

.at-web a {
  color: #fff;
  text-decoration: none;
  opacity: 0.7;
}

.at-web a:hover {
  color: #0ea597;
  opacity: 1;
}

/* LOGO */
.at-logo-final {
  position: absolute;
  bottom: 20px;
  right: 40px;
}

/* .at-logo-final img {
  width: 180px;
} */

.fondocontacto {
    background-image: url("../img/fondocontacto.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.fondocontacto::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.55); /* ajusta aquí la opacidad */

    z-index: 0;
}

.fondocontacto > * {
    position: relative;
    z-index: 1;
    color: white; /* opcional si el fondo es oscuro */
}

@media (max-width: 768px) {

  .at-fondocontacto {
    padding: 30px 20px;
  }

  /* Centrar todo */
  .at-contenido {
    text-align: center;
  }

  .at-tab-header {
    display: flex;
    justify-content: center; /* 👈 centra horizontal */
    text-align: center;
  }

  /* BOTONES uno debajo del otro */
  .at-botones {
    flex-direction: column;
    align-items: center;
  }

  .at-btn-custom {
    width: 100%;
    max-width: 320px;
  }

  /* REDES deja de ser absolute */
  .at-redes {
    position: static;
    margin-top: 40px;
    text-align: center;
  }

  /* LOGO deja de ser absolute */
  .at-logo-final {
    position: static;
    margin-top: 30px;
    text-align: center;
  }

  .at-logo-final img {
    width: 180px;
    height: 40px;
  }

  /* Espaciado entre columnas */
  .col-md-6 {
    margin-bottom: 30px;
  }
}