html {
    box-sizing:border-box
}
*,:after,:before {
    box-sizing:inherit
}
:root {
    --tw-text-opacity: 1;
    --texto-primario: rgb(31 41 55 / var(--tw-text-opacity, 1));
    --texto-secundario: rgb(107 114 128 / var(--tw-text-opacity, 1));
    --amarillo: #DEFF31;
    --amarillo-secundario: rgb(245 254 199 / var(--tw-bg-opacity, 1));
}
.container{
    /* 1440px: same width as the home's .wrap and the navbar/footer's .shell-wrap (brand.css) */
    max-width:1440px!important;
}
/*************ALERTIFY***********/
.alertify-notifier .ajs-message.ajs-success {
    color:var(--texto-primario) !important;
    background: var(--amarillo-secundario) !important;
    border:1px solid var(--texto-primario) !important;
    border-radius:6px!important;
    text-shadow:none!important
}
.alertify-notifier .ajs-message.ajs-error {
    color:#df2426 !important;
    background: #ffced6 !important;
    border:1px solid #df2426 !important;
    border-radius:6px!important;
    text-shadow:none!important
}

/*************HEADER************/
.navbar{
    border-bottom: 1px solid rgb(229 231 235 / var(--tw-border-opacity, 1));
    background-color: white !important;
}

.logo{
    height: 20px !important;
}

.iniciarsesion{
    border: none !important;
    font-family: "Noto Sans", sans-serif;
    color: var(--texto-secundario);
    font-size: 16px;
    background-color: transparent !important;
    transition: 0.2s ease-in-out;
}

.registrarse{
    background-color: var(--amarillo);
    border: none !important;
    padding: 7px 8px;
    border-radius: 8px;
    font-family: "Noto Sans", sans-serif;
    color: var(--texto-primario);
    font-weight: 600;
    font-size: 16px;
    transition: 0.2s ease-in-out;
}

@media (min-width: 768px) {
    .logo{
        height: 30px !important;
    }
    .registrarse{
        font-size: 20px;
    }
    .registrarse:hover{
        transform: scale(1.03);
        box-shadow: 0px 2px 11px 0px rgba(0,0,0,0.12);
        -webkit-box-shadow: 0px 2px 11px 0px rgba(0,0,0,0.12);
        -moz-box-shadow: 0px 2px 11px 0px rgba(0,0,0,0.12);
        text-decoration: none;
        color: var(--texto-primario);
    }
    .iniciarsesion{
        font-size: 20px;
    }

    .iniciarsesion:hover{
        color: var(--texto-primario);
        text-decoration: none;
    }
}

@media (min-width:992px) {
    .registrarse{
        padding: 7px 16px;
    }
    /* .registrarse:hover{
        transform: scale(1.03);
        box-shadow: 0px 2px 11px 0px rgba(0,0,0,0.12);
        -webkit-box-shadow: 0px 2px 11px 0px rgba(0,0,0,0.12);
        -moz-box-shadow: 0px 2px 11px 0px rgba(0,0,0,0.12);
    } */
    
}

/*******************hero***************/
/* Sección principal */
.main-section {
    padding: 3rem 0;
}

.text-primary-custom {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.25;
    color: var(--texto-primario);
    text-align: center;
    font-family: "Noto Sans", sans-serif;
}

.text-secondary-custom {
    font-size: 1.125rem;
    color: var(--texto-secundario);
    margin-bottom: 2rem;
    font-family: "Noto Sans", sans-serif;
    text-align: center;
    line-height: 1.75rem;
}

.contenedor-text-tertiary{
    margin-bottom: 2rem;
}

.text-tertiary {
    font-size: 0.875rem;
    color: var(--texto-primario);
    margin-bottom: 1rem;
    font-family: "Noto Sans", sans-serif;
    line-height: 1.25rem;
}

.bi-check-circle-fill{
    color: var(--amarillo);
    font-size: 18px;
}

.text-quaternary {
    font-size: 12px;
    color: var(--texto-secundario);
    margin-top: 2rem;
    font-family: "Noto Sans", sans-serif;
    text-align: center;
}

/* Caja amarilla */
.yellow-box {
    background-image: url('../images/Hero\ Ver1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    position: relative;
    
    /* NUEVO: Convertir en flex container */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px; /* Ajusta esta altura según necesites */
}

.arrows-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.arrow-icon {
    font-size: 3rem;
    color: #333;
}

/* Mini cajas */
.mini-boxes {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%; /* Para que ocupe todo el ancho disponible */
}

.mini-box {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 150px;
}

.mini-box:nth-child(1) {
    transform: rotate(-3deg); /* Negativo = gira a la izquierda */
}

.mini-box:nth-child(2) {
    transform: rotate(3deg); /* Arriba derecha - gira derecha */
}

.mini-box:nth-child(3) {
    transform: rotate(2deg); /* Abajo izquierda - gira derecha */
}

.mini-box:nth-child(4) {
    transform: rotate(-2deg); /* Abajo derecha - gira izquierda */
}

.mini-box-icon {
    font-size: 2rem;
    margin-right: 1rem;
    color: #007bff;
}

.bi-building-fill,
.bi-cart3,
.bi-hand-thumbs-up-fill,
.bi-star-fill{
    color: var(--amarillo);
    font-size: 25px;
}

.h6herocajas {
    font-weight: bold;
    margin-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}

.p1herocajas {
    font-size: 0.9rem;
    color: var(--texto-secundario);
    margin: 0;
    font-size: 0.875rem;
    font-family: "Noto Sans", sans-serif;
    line-height: 1.25rem;
    margin-bottom: 0.75rem;
}

.p2herocajas{
    font-size: 0.9rem;
    color: var(--texto-secundario);
    margin: 0;
    font-size: 0.75rem;
    font-family: "Noto Sans", sans-serif;
    line-height: 1rem;
}

/* Botones del lado izquierdo */
.buttons-container button {
    margin-right: 1rem;
    margin-bottom: 1.5rem;
}

.btnexplora{
    background-color: var(--amarillo);
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
    border: none;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 16px;
}

.btnregistrate{
    background-color: transparent !important;
    color: var(--texto-secundario);
    font-family: "Noto Sans", sans-serif;
    border: 1px solid var(--texto-secundario);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 16px;
}

/* Mobile - reordenar elementos */
@media (max-width: 767px) {
    .text-primary-custom {
        font-size: 2rem;
    }

    .buttons-container button {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    /* Ocultar caja amarilla de su posición original */
    .yellow-box-desktop {
        display: none;
    }
    
    /* Mostrar caja amarilla en posición mobile */
    .yellow-box-mobile {
        display: block;
    }
}

/* Desktop */
@media (min-width: 768px) {

    .text-primary-custom {
        text-align: left;
    }

    .text-secondary-custom {
        text-align: left;
    }

    /* Mostrar caja amarilla en posición desktop */
    .yellow-box-desktop {
        display: block;
    }
    
    /* Ocultar caja amarilla de posición mobile */
    .yellow-box-mobile {
        display: none;
    }

    .btnregistrate{
        width: 180px;
        /* font-size: 1.125rem; */
        line-height: 1.75rem;
        color: var(--texto-primario);
        border: 2px solid var(--texto-primario);
        transition: 0.2s ease-in-out;
    }

    .text-quaternary {
        margin-top: 0.5rem;
        text-align: left;
    }
}

@media (min-width:992px) {
    .main-section{
        height: 800px;
    }

    .container{
        padding-left: 0px;
        padding-right: 0px;
    }

    .row-hero{
        padding-top: 2rem;
    }

    .text-primary-custom {
        font-size: 56px;
        margin-bottom: 1.5rem;
    }

    .text-secondary-custom {
        font-size: 32px;
        font-weight: 600;
        margin-bottom: 2rem;
    }

    .bi-check-circle-fill{
        font-size: 23px;
        margin-right: 5px;
    }

    .contenedor-text-tertiary{
        margin-bottom: 2.5rem;
    }

    .text-tertiary{
        font-size: 1.125rem;
        line-height: 1.75rem;
        color: var(--texto-secundario);
        gap: 1rem;
    }

    .buttons-container{
        /* margin-bottom: 1.5rem; */
    }

    .btnexplora{
        padding: 16px 32px;
        font-size: 1.125rem;
        line-height: 1.75rem;
        transition: 0.2s ease-in-out;
    }

    .btnregistrate{
        padding: 16px 32px;
        width: 250px;
        font-size: 1.125rem;
        line-height: 1.75rem;
        color: var(--texto-primario);
        border: 2px solid var(--texto-primario);
        transition: 0.2s ease-in-out;
    }

    .btnexplora:hover{
        transform: scale(1.05);
    }

    .btnregistrate:hover{
        transform: scale(1.05);
    }

    .text-quaternary{
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

    .yellow-box {
        min-height: 100%;
    }

    .mini-boxes {
        gap: 2.5rem;
        width: 85%;
    }

    .mini-box {
        height: 180px;
    }
}

/*********CardSection**********/
.cards-section{
    padding-top: 64px;
    padding-bottom: 64px;
    background-color: white !important;
}

.card-item{
    text-align: center;
}

.bi-arrows,
.bi-bullseye,
.bi-unlock-fill {
    background-color: var(--amarillo-secundario);
    color: var(--texto-primario);
    border-radius: 50%;
    font-size: 35px;
    
    /* Reemplazar padding por flexbox */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;  /* Ajusta según el tamaño que necesites */
    height: 60px; /* Debe ser igual al width para un círculo perfecto */
}

.card-primary-text{
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
    margin-top: 1rem;
    font-size: 18px;
}

.card-secondary-text{
    color: var(--texto-secundario);
    font-family: "Noto Sans", sans-serif;
    margin-top: 1rem;
    font-size: 14px;
}

@media (min-width:992px) {
    .cards-section{
        padding-top: 96px;
        padding-bottom: 96px;
        align-items: center !important;
    }

    .cards-section {
        padding: 4rem 0;
        background-color: #f8f9fa;
    }

    .card-item {
        background-color: white;
        padding: 2rem;
        border-radius: 10px;
        text-align: center; /* Centrado en mobile */
        /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
        height: 100%;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        
        /* Centrar verticalmente el contenido */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .card-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    }

    .card-icon {
        font-size: 3rem;
        color: #007bff;
        margin-bottom: 1.5rem;
    }

    .card-primary-text {
        font-size: 1.5rem;
        font-weight: bold;
        color: #333;
        margin-bottom: 1rem;
    }

    .card-secondary-text {
        font-size: 1rem;
        color: #666;
        line-height: 1.6;
    }

    .bi-arrows,
    .bi-bullseye,
    .bi-unlock-fill {
        width: 64px;  /* Ajusta según el tamaño que necesites */
        height: 64px; /* Debe ser igual al width para un círculo perfecto */
    }

    .card-item{
        text-align: left;
        /* width: 310px; */
    }

    .card-primary-text{
        margin-top: 1.5rem;
        font-size: 18px;
        font-size: 1.5rem;
        line-height: 2rem;
        color: var(--texto-primario);
    }

    .card-secondary-text{
        margin-top: 1rem;
        font-size: 1.125rem;
        line-height: 1.625;
        color: var(--texto-secundario);
    }

}

/* Sección Timeline */
.timeline-line {
    display: none; /* Ocultar línea en mobile */
}

.timeline-title{
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
    text-align: center;
}

.timeline-subtitle{
    font-size: 16px;
    line-height: 2rem;
    color: var(--texto-secundario);
    font-family: "Noto Sans", sans-serif;
    text-align: center;
    margin-bottom: 3rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 0.5rem 1rem;
    margin-bottom: 2rem;
}

/* Número a la izquierda */
.timeline-number {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    margin: 0;
    background-color: var(--amarillo);
    padding: 7px 9px;
    border-radius: 50%;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
}

/* Texto principal al lado derecho del número */
.timeline-primary {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
}

/* Texto secundario abajo del principal */
.timeline-secondary {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    color: var(--texto-secundario);
    font-family: "Noto Sans", sans-serif;
    font-size: 0.875rem;
    line-height: 1.25rem;
    /* font-weight: 500; */
    margin-bottom: 0.75rem;
}

/* Icono superior - ocultar */
.timeline-icon-wrapper {
    /* display: none; */
    grid-column: 1 / 3;
    grid-row: 3;
    text-align: center;
    margin: 1rem 0 0 0;
}

.timeline-icon{
    background-color: var(--amarillo-secundario) !important;
    color: var(--texto-primario) !important;
    padding: 8px 12px;
    border-radius: 50%;
    font-size: 30px !important;
}

/* Icono inferior centrado */
.timeline-bottom-icon {
    grid-column: 1 / 3;
    grid-row: 3;
    text-align: center;
    margin: 1rem 0 0 0;
}

.timeline-bottom-icon i {
    display: none;
}

@media (min-width: 768px) {
    .timeline-container {
        position: relative;
    }

    .timeline-title{
        font-size: 3rem;
        line-height: 1;
        font-weight: 700;
    }

    .timeline-subtitle{
        font-size: 1.25rem;
        line-height: 1.75rem;
        margin-bottom: 4rem;
    }
    
    .timeline-line {
        display: block;
        position: absolute;
        left: 10%;
        right: 10%;
        top: 140px; /* Aumentado para que pase por los iconos, no por los números */
        height: 3px;
        background: rgb(229 231 235 / var(--tw-bg-opacity, 1));
        z-index: 0;
    }
    
    .timeline-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
        z-index: 1;
    }
    
    /* Número arriba */
    .timeline-number {
        grid-column: unset;
        grid-row: unset;
        margin-bottom: 1.5rem;
        order: 1;
        align-self: center;
        font-size: 45px;
        padding: 12px 21px;
    }
    
    /* Icono abajo del número */
    .timeline-icon-wrapper {
        display: block;
        grid-column: unset;
        grid-row: unset;
        text-align: center;
        margin: 0 0 1.5rem 0;
        order: 2;
        position: relative;
        z-index: 2;
    }

    .timeline-icon{
        font-size: 40px !important;
        padding: 10px 16px;
    }

    .contenedortextolineatiempo{
        /* height: 50px; */
    }
    
    /* Texto principal */
    .timeline-primary {
        grid-column: unset;
        grid-row: unset;
        margin-bottom: 0.5rem;
        order: 3;
        font-size: 1.5rem;
        line-height: 2rem;
        font-weight: 700;
    }
    
    /* Texto secundario */
    .timeline-secondary {
        grid-column: unset;
        grid-row: unset;
        order: 4;
        font-size: 1rem;
        line-height: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Ocultar icono inferior en desktop */
    .timeline-bottom-icon {
    display: block;
    text-align: center;
    margin-top: 1rem;
    order: 5; /* Mayor que todos los demás para que aparezca al final */
    grid-column: unset;
    grid-row: unset;
    }

    .timeline-bottom-icon i {
        display: inline-block;
    }

    .bi-file-earmark-text-fill,
    .bi-list-check,
    .bi-pencil-square,
    .bi-graph-up{
        font-size: 40px !important;
        color: var(--texto-secundario) !important;
    }
}

/******************* Sección de Búsqueda *****************/
.search-section {
    padding: 4rem 0;
    background-color: var(--amarillo);
}

.search-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
    text-align: center;
    margin-bottom: 1rem;
}

.searchtitlespan{
    display: none;
}

.search-subtitle {
    font-size: 1.1rem;
    color: var(--texto-secundario);
    font-family: "Noto Sans", sans-serif;
    text-align: center;
    margin-bottom: 3rem;
}

.search-container {
    background-color: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.50); 
    max-width: 800px;
    margin: 0 auto;
}

/* Barra de búsqueda */
.search-bar-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: "Noto Sans", sans-serif;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--amarillo);
}

.search-input::placeholder {
    color: #999;
}

/* Botón con icono de lupa - Solo desktop */
.search-btn-icon {
    display: none;
}

/* Botones de filtro */
.search-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
    flex-wrap: wrap; /* Por si no caben todos en una línea en mobile */
}

.filter-btn{
    flex: 1; /* Todos ocupan el mismo espacio */
    padding: 12px 3px;
    background-color: white;
    border: none;
    color: var(--texto-secundario);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: "Noto Sans", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 0; /* Permite que se compriman en mobile si es necesario */
}

/* .filter-btn:hover {
    background-color: var(--amarillo);
    transform: scale(1.05);
} */

.filter-btn.active {
    background-color: var(--amarillo);
    color: var(--texto-primario);
    border-color: var(--amarillo);
}

.filter-btn.active:hover {
    transform: scale(1.05);
}

.filter-btn:active {
    transform: scale(0.98);
}

/* Botón buscar - Solo mobile */
.search-btn-mobile {
    width: 100%;
    padding: 14px;
    background-color: var(--texto-primario);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: "Noto Sans", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn-mobile:hover {
    transform: scale(1.02);
}

.textofinalsearchsection{
    font-size: 0.75rem;
    line-height: 1rem;
    font-family: "Noto Sans", sans-serif;
    margin-top: 1.5rem;
    color: var(--texto-secundario);
    margin-bottom: 0.5rem;
    text-align: center;
}

/* Desktop */
@media (min-width: 768px) {
    .contenedorsearchsection{
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .search-title {
        font-size: 3rem;
        line-height: 1;
        margin-bottom: 1rem;
    }

    .searchtitlespan{
        display: inline-block;
    }

    .search-subtitle{
        display: none;
    }

    .search-container{
        margin-top: 3rem !important;
        max-width: 900px;
        /* max-height: 200px; */
    }

    .search-input{
        padding-top: 1rem;
        padding-bottom: 1rem;
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
    
    /* Mostrar botón con icono de lupa */
    .search-btn-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        background-color: var(--amarillo);
        border: none;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .search-btn-icon i {
        font-size: 1.5rem;
        color: var(--texto-primario);
    }
    
    .search-btn-icon:hover {
        transform: scale(1.1);
        box-shadow: 0 5px 20px rgba(0,0,0,0.15) !important;
    }
    
    /* Ocultar botón buscar en desktop */
    .search-btn-mobile {
        display: none;
    }

    .filter-btn{
        font-size: 16px;
    }

    .filter-btn:hover{
        transform: translateY(-5px) !important;
        box-shadow: 0 5px 20px rgba(0,0,0,0.15) !important;
    }

    .textofinalsearchsection{
        margin-top: 1.5rem;
        margin-bottom: 0.8rem;
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}

/***********************Sección de Grid de Textos********************/
.text-grid-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: white;
}

.text-grid-title {
    font-size: 2rem;
    line-height: 2rem;
    font-weight: 700;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
    text-align: center;
    margin-bottom: 0.5rem;
}

.text-grid-subtitle {
    font-size: 16px;
    color: var(--texto-secundario);
    font-family: "Noto Sans", sans-serif;
    text-align: center;
    margin-bottom: 3rem;
}

/* Grid de textos */
.text-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 columnas en mobile */
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 1.5rem;
}

.text-grid-item {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    /* background-color: #f8f9fa;
    border: 1px solid #e0e0e0; */
    border-radius: 20px;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
}

.text-grid-item:hover {
    background-color: var(--amarillo-secundario);
    border-color: var(--amarillo-secundario);
    /* transform: translateY(-2px); */
}

.botonindustrias{
    text-align: center;
    border: 1px solid var(--texto-secundario);
    border-radius: 0.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.aindustrias{
    color: var(--texto-secundario);
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
}

/* Desktop - 6 columnas */
@media (min-width: 768px) {
    .text-grid-section{
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .text-grid-title {
        font-size: 3rem;
        line-height: 1;
    }

    .text-grid-subtitle{
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
    
    .text-grid {
        grid-template-columns: repeat(4, 1fr); /* 6 columnas en desktop */
        margin-bottom: 3rem;
    }
    
    .text-grid-item {
        font-size: 1rem;
        line-height: 1.5rem;
        color: var(--texto-secundario);
    }

    .botonindustrias {
        padding: 1rem 2rem;
        font-size: 1.125rem;
        line-height: 1.75rem;
        border: 2px solid var(--texto-primario);
        width: 30%; /* 30% de ancho en web */
        margin: 0 auto; /* Centrar horizontalmente */
        text-align: center; /* Centrar el texto dentro */
        transition: all 0.3s ease;
    }

    .aindustrias {
        text-decoration: none;
        color: var(--texto-primario);
        display: block; /* Para que ocupe todo el espacio del contenedor */
        font-family: "Noto Sans", sans-serif;
    }

    .botonindustrias:hover{
        transform: scale(1.1);
        cursor: pointer;
    }

    .aindustrias:hover{
        color: var(--texto-primario);
        text-decoration: none;
    }
}

/**********************SECCIÓN COMPARACIÓN***********************/
.cards-icon-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.cards-icon-title {
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
    text-align: center;
    margin-bottom: 4rem;
}

.card-icon-box1{
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--texto-secundario);
    height: 100%;
}

.card-icon-box2{
    background-color: var(--amarillo-secundario);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--amarillo);
    height: 100%;
}

/* .card-icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(31, 41, 55, 0.12);
} */

.card-icon-subtitle1 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: var(--texto-secundario);
    font-family: "Noto Sans", sans-serif;
    text-align: left;
    margin-bottom: 2rem;
}

.card-icon-subtitle2 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
    text-align: left;
    margin-bottom: 2rem;
}

.card-icon-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-icon-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.bi-x-lg{
    color: red;
    font-size: 20px;
}

.bi-check-lg{
    color: rgb(22 163 74 / var(--tw-text-opacity, 1));
    font-size: 20px;
}

.card-icon-item span {
    font-size: 16px;
    line-height: 1.75rem;
    color: var(--texto-secundario);
    font-family: "Noto Sans", sans-serif;
    padding-bottom: 1rem;
}

/* Desktop */
@media (min-width: 768px) {
    .cards-icon-title {
        font-size: 3rem;
    }

    .card-icon-box1,
    .card-icon-box2{
        font-size: 1.5rem;
        width: 100%;
    }

    .card-icon-item span {
        font-size: 1.125rem;
        padding-bottom: 1rem;
    }
}

/**********************************LLAMADO A LA ACCIÓN*********************/
.cta-section {
    padding: 5rem 0;
    background-color: var(--amarillo);
    text-align: center;
}

.contenedorllamado{
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.cta-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
    margin-bottom: 3rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--texto-secundario);
    font-family: "Noto Sans", sans-serif;
    margin-bottom: 2rem;
}

.cta-button-wrapper {
    margin-bottom: 1.5rem;
}

.cta-button {
    padding-top: 1rem;
    padding-bottom: 1rem;
    width: 100%;
    background-color: var(--texto-primario);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    font-family: "Noto Sans", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:active {
    transform: scale(0.98);
}

.cta-tertiary {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--texto-secundario);
    font-family: "Noto Sans", sans-serif;
    margin-bottom: 1rem;
    font-style: italic;
    text-decoration-line: underline;
}

.cta-quaternary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.50rem;
    flex-wrap: wrap;
    font-size: 12px;
    line-height: 1rem;
    color: var(--texto-secundario);
    font-family: "Noto Sans", sans-serif;
    margin-top: 1.5rem;
}

.cta-quaternary span {
    white-space: nowrap;
}

.cta-dot {
    color: var(--texto-secundario);
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

/* Desktop */
@media (min-width: 768px) {
    .contenedorllamado{
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    .cta-title {
        font-size: 3rem;
        line-height: 1;
    }
    
    .cta-subtitle {
        font-size: 1.4rem;
    }
    
    .cta-button {
        font-size: 1.25rem;
        line-height: 1.75rem;
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
        width: 25%;
        /* margin-bottom: 1rem; */
    }

    .cta-tertiary {
        color: var(--texto-primario);
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    .cta-tertiary:hover{
        text-decoration-line: none;
        color: var(--texto-primario);
    }

    .cta-quaternary {
        color: var(--texto-secundario);
        font-size: 1rem;
        line-height: 1.5rem;
        gap: 0.70rem;
    }
}

/***************************************Footer**************************/
/* Footer */
.footer-section {
    background-color: var(--texto-primario);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-main {
    margin-bottom: 2rem;
}

/* Columna Izquierda */
.footer-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 0.5rem;
}

.logofooter{
    height: 30px;
}

.footer-description {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #d1d5db;
    font-family: "Noto Sans", sans-serif;
    line-height: 1.6;
    margin: 0;
}

/* Columnas Centro y Derecha */
.footer-center,
.footer-right {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 0.875rem;
    /* line-height: 1.25rem; */
    font-weight: 600;
    color: white;
    font-family: "Noto Sans", sans-serif;
    margin-bottom: 0.75rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    --tw-space-y-reverse: 0;
    margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgb(156 163 175 / var(--tw-text-opacity, 1));
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-family: "Noto Sans", sans-serif;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.footer-links a:hover {
    color: white;
}

/* Línea divisoria */
.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

/* Parte inferior */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--texto-secundario);
    font-family: "Noto Sans", sans-serif;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-icon {
    width: 40px;
    height: 40px;
    /* background-color: rgba(255, 255, 255, 0.1); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.imgidioma{
    width: 30px;
    height: 30px;
}

/* Desktop */
@media (min-width: 768px) {
    .footer-main {
        align-items: flex-start; /* Alinear todas las columnas arriba */
    }

    .footer-left {
        justify-content: flex-start;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .footer-center,
    .footer-right {
        justify-content: center;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .footer-title {
        font-size: 18px;
    }

    .footer-description,
    .footer-links a,
    .footer-copyright {
        font-size: 16px;
        font-weight: 500;
    }

    .footer-icon {
        font-size: 23px;
    }

    .footer-icon:hover{
        color: var(--amarillo);
    }

    .imgidioma{
        width: 40px;
        height: 40px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    /* Logo ocupa todo el ancho */
    .footer-left {
        text-align: center;
        margin-bottom: 2rem;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Centro y Derecha lado a lado en mobile */
    .footer-center,
    .footer-right {
        text-align: left;
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .footer-center {
        padding-right: 1rem;
    }
    
    .footer-right {
        padding-left: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-copyright {
        order: 2;
    }
    
    .footer-social {
        order: 1;
    }
}

/**********************************REGISTRO***************************/
/* Página de Registro */
.register-section {
    /* min-height: 100vh; */
    padding: 0rem 0;
    background-color: #f8f9fa;
}

.register-row {
    background-color: white;
    /* border-radius: 15px; */
    /* box-shadow: 0 4px 20px rgba(31, 41, 55, 0.1); */
    overflow: hidden;
}

/* Lado Izquierdo - Beneficios */
.register-left {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    background-color: var(--amarillo);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register-benefits-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
    margin-bottom: 2rem;
}

.register-benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.iconoregistro {
    width: 2.5rem !important;
    height: 2.5rem !important;
    color: white !important;
    flex-shrink: 0 !important;
    background-color: var(--texto-primario) !important;
    padding: 20px 20px;
    font-size: 20px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.register-benefit-item span {
    font-size: 1rem;
    line-height: 1.5rem;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
}

.register-benefits-footer {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
}

/* Lado Derecho - Formulario */
.register-right {
    padding: 3rem 1.25rem;
}

.register-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
    margin-bottom: 0.5rem;
}

.register-subtitle {
    font-size: 1rem;
    line-height: 1.5rem;
    color: var(--texto-secundario);
    font-family: "Noto Sans", sans-serif;
    margin-bottom: 2rem;
}

/* Botón registro rápido */
.register-quick-btn {
    width: 100%;
    padding: 12px;
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
    font-family: "Noto Sans", sans-serif;
    color: var(--texto-primario);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.register-quick-btn i {
    font-size: 1.2rem;
    color: #0072b1;
}

/* Divisor */
.register-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    color: var(--texto-secundario);
}

.register-divider::before,
.register-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #e0e0e0;
}

.register-divider span {
    padding: 0 1rem;
    font-size: 0.9rem;
}

/* Formulario */
.register-form {
    width: 100%;
}

.register-input-group {
    margin-bottom: 1.5rem;
}

.register-label {
    display: block;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
    margin-bottom: 0.5rem;
}

.register-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.5rem;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
    transition: border-color 0.3s ease;
}

.register-input:focus {
    outline: none;
    border-color: var(--amarillo);
}

.register-input::placeholder {
    color: #999;
}

/* Barra de seguridad de contraseña */
.password-strength {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.password-strength-bar {
    flex: 1;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    background-color: #ef4444;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.password-strength-text {
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--texto-secundario);
    font-family: "Noto Sans", sans-serif;
    white-space: nowrap;
    min-width: 60px;
}

.register-hint {
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--texto-secundario);
    font-family: "Noto Sans", sans-serif;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Checkbox */
.register-checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.register-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.register-checkbox-label {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--texto-secundario);
    font-family: "Noto Sans", sans-serif;
    margin: 0;
    cursor: pointer;
}

/* Botón submit */
.register-submit-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--amarillo);
    border: none;
    border-radius: 10px;
    color: var(--texto-primario);
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
    font-family: "Noto Sans", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.register-submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.register-submit-btn:active {
    transform: scale(0.98);
}

/* Footer del formulario */
.register-form-footer {
    text-align: center;
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--texto-secundario);
    font-family: "Noto Sans", sans-serif;
    margin: 0;
}

/* Links */
.register-link {
    color: var(--texto-primario);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Ocultar checkbox original */
.register-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    background-color: white;
}

/* Hover */
.register-checkbox:hover {
    border-color: var(--amarillo);
}

/* Cuando está checked */
.register-checkbox:checked {
    background-color: var(--amarillo);
    border-color: var(--amarillo);
}

/* El check (palomita) */
.register-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--texto-primario);
    font-size: 14px;
    font-weight: bold;
}

/* Contenedor de fortaleza de contraseña */
.password-strength {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

/* Barra de progreso */
.password-strength-bar {
    flex: 1;
    height: 6px;
    background-color: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

/* Relleno de la barra */
.password-strength-fill {
    height: 100%;
    width: 0%;
    background-color: #e5e7eb;
    transition: width 0.3s ease, background-color 0.3s ease;
    border-radius: 3px;
}

/* Texto de fortaleza */
.password-strength-text {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    min-width: 80px;
    transition: color 0.3s ease;
}

/* Checkbox custom */
.register-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #DEFF31;
}

/* Botón deshabilitado */
.register-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
}

/* Wrapper para posicionar el botón */
.password-input-wrapper {
    position: relative;
    width: 100%;
}

/* Botón de toggle (ojo) */
.password-toggle-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #6b7280;
    font-size: 20px;
    line-height: 1;
    transition: color 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle-btn:hover {
    color: #1f2937;
}

.password-toggle-btn:focus {
    outline: 2px solid #DEFF31;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Ajustar padding del input para que no se solape con el botón */
.password-input-wrapper .register-input {
    padding-right: 48px; /* Espacio para el botón */
}

/* Icono del ojo */
#eye-icon {
    pointer-events: none; /* El clic se registra en el botón, no en el icono */
}

/* Focus para accesibilidad */
/* .register-checkbox:focus {
    outline: 2px solid var(--amarillo);
    outline-offset: 2px;
} */

/* Desktop */
@media (min-width: 992px) {
    /* .register-section {
        min-height: 100vh;
        padding: 0rem 0;
        background: linear-gradient(to right, var(--amarillo) 0%, var(--amarillo) 41.666%, #f8f9fa 41.666%, #f8f9fa 100%);
    } */

    .register-right {
        padding-top: 5rem;
        padding-bottom: 5rem;
        padding-left: 120px;
        padding-right: 120px;
    }
    
    .register-left {
        padding-top: 5rem;
        padding-bottom: 5rem;
        padding-left: 5rem;
        padding-right: 5rem;
        justify-content: flex-start; /* Cambiar de center a flex-start */
    }

    .register-benefit-item{
        margin-bottom: 3rem;
    }

    .register-benefit-item span{
        font-size: 1.125rem;
        line-height: 1.75rem;
        font-weight: 500;
    }

    .register-benefits-footer {
        margin-top: auto; /* Empujar hacia abajo */
    }

    .register-link:hover{
        color: var(--texto-primario);
        text-decoration: none;
    }

    .register-benefits-title {
        font-size: 40px;
        line-height: 1.25;
        font-weight: 700;
        margin-bottom: 3rem;
    }

    .register-title{
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .register-subtitle{
        font-size: 1rem;
        line-height: 1.5rem;
        margin-bottom: 2rem;
    }

    .register-quick-btn:hover {
        border-color: var(--texto-primario);
        background-color: #f8f9fa;
        text-decoration: none;
        color: var(--texto-primario);
    }

    .iconoregistro {
        width: 3rem !important;
        height: 3rem !important;
        color: white !important;
        flex-shrink: 0 !important;
        background-color: var(--texto-primario) !important;
        padding: 20px 20px;
        font-size: 25px !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .register-checkbox {
        width: 20px;
        height: 20px;
    }
}

/****************************LOGIN****************************/
.login-section{
    /* min-height: 100vh; */
    padding: 0rem 0;
    background-color: #f8f9fa;
}

.login-benefits-title{
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
    margin-bottom: 1rem;
}

.iconologin{
    width: 2.5rem !important;
    height: 2.5rem !important;
    color: white !important;
    flex-shrink: 0 !important;
    background-color: var(--texto-primario) !important;
    padding: 20px 20px;
    font-size: 20px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;

}

.register-benefits-subtitle{
    font-size: 1rem;
    line-height: 1.5rem;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
    margin-bottom: 2rem;
}

.login-checkbox-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-forgot {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
}

@media (min-width: 992px) {
    .containerlogin{
        max-width: 1250px !important;
        padding-left: 0px;
        padding-right: 0px;
    }

    .login-benefits-title {
        font-size: 40px;
        line-height: 1.25;
        font-weight: 700;
        margin-bottom: 2rem;
    }

    .iconologin {
        width: 3rem !important;
        height: 3rem !important;
        color: white !important;
        flex-shrink: 0 !important;
        background-color: var(--texto-primario) !important;
        padding: 20px 20px;
        font-size: 25px !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .register-benefit-item span{
        font-size: 1.125rem;
        line-height: 1.75rem;
        font-weight: 500;
    }

    .register-benefits-subtitle{
        font-size: 1.125rem;
        line-height: 1.75rem;
        font-weight: 500;
    }
}

/*************************************RECUPERAR CONTRASEÑA*************************/
.recuperar-section{
    /* min-height: 100vh; */
    padding: 0rem 0;
    background-color: #f8f9fa;
}

/*************************************BIENVENIDA***********************************/
/* ========================================
   BIENVENIDA - PÁGINA DE CARGA
   ======================================== */

.bodybienvenida {
    /* Reinforces the <meta name="color-scheme"> in <head> (the real
       defense, at document level). Scoped to this class, not to
       html/:root, on purpose: this file is shared by header-r.php
       (password reset) and the home page; forcing it globally would
       be scope beyond this task. */
    color-scheme: light;
    font-family: var(--font-base);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ========================================
   CONTENEDOR PRINCIPAL
   ======================================== */

.bienvenida-container {
    text-align: center;
    max-width: 560px;
    width: 100%;
    padding: 40px 20px;
}

/* Entrada escalonada: logo -> numero -> estado (60ms entre cada uno) */
.bienvenida-container > * {
    opacity: 0;
    animation: revealContent 0.5s var(--ease, cubic-bezier(.22,1,.36,1)) forwards;
}

.logo-container      { animation-delay: 0.30s; }
.load-num-container  { animation-delay: 0.36s; }
.mensaje-container   { animation-delay: 0.42s; }

@keyframes revealContent {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ========================================
   LOGO
   ======================================== */

.logo-container {
    margin-bottom: 44px;
}

/* width:auto preserva el ratio real del SVG (916x220).
   Forzar ancho fijo lo aplastaba ~30%. */
.logospiner {
    height: 40px;
    width: auto;
}

/* ========================================
   CONTADOR DE CARGA (numero que se rellena de abajo hacia arriba)
   ======================================== */

.load-num-container {
    margin-bottom: 22px;
}

.load-num {
    position: relative;
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(84px, 21vw, 132px);
    line-height: 1;
    letter-spacing: -0.045em;
    /* tabular-nums: sin esto el ancho tiembla al cambiar de digito
       (9->10, 99->100) y con updates cada ~70ms el jitter se nota */
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    user-select: none;
}

/* Capa base: SOLO el contorno del numero, interior transparente
   (se ve el crema del fondo a traves). Siempre visible, del 0% al 100%. */
.load-num-ghost {
    display: block;
    color: transparent;
    -webkit-text-stroke: 2px var(--ink);
    text-stroke: 2px var(--ink);
}

/* Fallback si el navegador no soporta text-stroke: relleno solido tenue
   en vez de contorno hueco (mejor un numero visible que uno invisible) */
@supports not ((-webkit-text-stroke: 1px black) or (text-stroke: 1px black)) {
    .load-num-ghost {
        color: var(--coral-soft);
    }
}

/* Capa de relleno: mismo numero, mismo contorno, interior solido coral.
   Recortada por clip-path para que solo se vea desde abajo hacia arriba.
   inset(100% 0 0 0) = recortada del todo (0% visible).
   inset(0 0 0 0)    = visible del todo (100%). */
.load-num-fill {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    color: var(--coral);
    -webkit-text-stroke: 2px var(--ink);
    text-stroke: 2px var(--ink);
    /* -5px on the other 3 sides (not the one that animates): -webkit-text-stroke
       paints slightly outside the text's layout box, and clip-path DOES
       clip that visual overflow even when the inset there is 0 (getBoundingClientRect
       doesn't catch it because it measures the box, not the painted ink).
       Without this margin, a small unfilled gap showed up next to the
       last character. */
    clip-path: inset(100% -5px -5px -5px);
    will-change: clip-path;
}

/* ========================================
   MENSAJE DE ESTADO
   ======================================== */

.mensaje-container {
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mono: es un readout de sistema, no prosa. Mismo lenguaje
   que el resto del sitio usa para metadatos y estado. */
.mensaje-texto {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 0.02em;
    opacity: 1;
    transition: opacity 160ms ease-out, filter 160ms ease-out;
}

/* Blur sutil durante el crossfade: sin el, se perciben dos textos
   distintos superpuestos en vez de una sola transformacion */
.mensaje-texto.is-swapping {
    opacity: 0;
    filter: blur(2px);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (min-width: 768px) {
    .logospiner {
        height: 52px;
    }

    .load-num-container {
        margin-bottom: 26px;
    }

    .mensaje-texto {
        font-size: 14px;
    }
}

/* ========================================
   MOVIMIENTO REDUCIDO
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    /* Sin desplazamiento en la entrada; solo opacidad */
    .bienvenida-container > * {
        animation: revealFade 0.3s ease-out forwards;
    }

    @keyframes revealFade {
        from { opacity: 0; }
        to   { opacity: 1; }
    }

    /* El relleno salta entre checkpoints (lo aplica el JS),
       sin tween continuo */
    .load-num-fill {
        will-change: auto;
    }

    .mensaje-texto {
        transition: opacity 120ms linear;
    }

    .mensaje-texto.is-swapping {
        filter: none;
    }
}

/* ========================================
   SISTEMA DE TRANSICIONES ENTRE PÁGINAS
   ======================================== */

#page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #f9fafb;
    opacity: 0;
    pointer-events: none;
    z-index: 99999;
    transition: opacity 0.5s ease-in-out;
}

#page-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Variantes de color */
#page-transition-overlay.white {
    background: #ffffff;
}

#page-transition-overlay.gray {
    background: #f9fafb;
}

#page-transition-overlay.dark {
    background: #1f2937;
}

/*****************************************CONDICIONES DE USO************************************/

.contenedorcondiciones{
    padding-top: 50px;
    padding-bottom: 50px;
    /* .container sets padding-left/right:0 at desktop (>=992px, see above);
       without this the legal text sits flush against the edge and is
       misaligned with the navbar (which uses clamp(1rem,4vw,3rem) in
       brand.css). Same formula here. */
    padding-left: clamp(1rem,4vw,3rem);
    padding-right: clamp(1rem,4vw,3rem);
}

.h1-condiciones{
    padding-bottom: 30px;
    font-size: 2rem;
    font-family: "Noto Sans", sans-serif;
    color: var(--texto-primario);
    text-align: left;
}

.row-cond{
    padding-bottom: 30px;
}

.div-contenido-poli{
    padding-bottom: 30px;
    font-size: 1.125rem;
    font-family: "Noto Sans", sans-serif;
    color: var(--texto-primario);
}

.div-titulo2{
    padding-bottom: 10px;
    font-size: 1.2rem;
    font-family: "Noto Sans", sans-serif;
    color: var(--texto-primario);
    text-decoration-line: underline;
    text-decoration-style: "solid";
    text-decoration-color: var(--texto-primario);
    text-decoration-thickness: 2px;
}

.div-contenido{
    font-size: 1.125rem;
    font-family: "Noto Sans", sans-serif;
    color: var(--texto-primario);
}

.segundo-parrafo{
    padding-bottom: 10px;
}

.tercer-parrafo{
    padding-bottom: 20px;
}

@media (min-width: 768px) {
    .h1-condiciones{
        text-align: center !important;
    }
}

/************************************Industrias********************************/

.h1-industrias{
    padding-bottom: 30px;
    font-size: 2rem;
    font-family: "Noto Sans", sans-serif;
    color: var(--texto-primario);
    text-align: center;
}

.p-industrias{
    padding-bottom: 50px;
    font-size: 1.2rem;
    font-family: "Noto Sans", sans-serif;
    color: var(--texto-primario);
    text-align: center;
}

.text-grid-gridindustrias {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 columnas en mobile */
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 1.5rem;
}

.text-grid-item-industrias{
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    /* background-color: #f8f9fa;
    border: 1px solid #e0e0e0; */
    border-radius: 20px;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
}

.text-grid-item-industrias:hover {
    background-color: var(--amarillo-secundario);
    border-color: var(--amarillo-secundario);
    /* transform: translateY(-2px); */
}

@media (min-width: 768px) {
    .p-industrias{
        font-size: 1.5rem;
    }

    .text-grid-gridindustrias {
        grid-template-columns: repeat(4, 1fr); /* 6 columnas en desktop */
        margin-bottom: 3rem;
        max-width: 100%;
    }

    .text-grid-item-industrias{
        font-size: 1.3rem;
        line-height: 1.5rem;
        color: var(--texto-secundario);
        margin-bottom: 30px;
    }
}

/*********************************************ERROR*************************************/

.contenedor-error{
    min-height: 100vh;
}

.imgerror{
    margin-top: 100px;
    height: 400px;
    margin-bottom: 100px;
}

.imgerror500{
    margin-top: 100px;
    height: 230px;
    margin-bottom: 100px;
}

.imgerrorlinkedin{
    margin-top: 100px;
    height: 200px;
    margin-bottom: 100px;
}

.errorh1{
    font-size: 3rem;
    line-height: 3rem;
    font-weight: 500;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
}

.errorh2{
    margin-top: 50px;
    margin-bottom: 100px;
    font-size: 2rem;
    line-height: 3rem;
    font-weight: 500;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
}

.errorh2vinc{
    margin-top: 50px;
    /* margin-bottom: 100px; */
    font-size: 2rem;
    line-height: 3rem;
    font-weight: 500;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
}

.error-detail{
    margin-top: 50px;
    margin-bottom: 100px;
    font-size: 2rem;
    line-height: 3rem;
    font-weight: 500;
    color: var(--texto-primario);
    font-family: "Noto Sans", sans-serif;
}

.divbtnerror{
    margin-bottom: 50px;
}

.btnerror{
    background-color: var(--amarillo);
    border: none !important;
    padding: 7px 8px;
    border-radius: 8px;
    font-family: "Noto Sans", sans-serif;
    color: var(--texto-primario);
    font-weight: 600;
    font-size: 20px;
    transition: 0.2s ease-in-out;
}

.btnerror2{
    border: none !important;
    font-family: "Noto Sans", sans-serif;
    color: var(--texto-secundario);
    font-size: 20px;
    background-color: transparent !important;
    transition: 0.2s ease-in-out;
    margin-left: 20px;
    margin-right: 20px;
}

@media (min-width: 768px) {
    .img404,
    .imgerror500,
    .imgerrorlinkedin{
        margin-top: 50px;
        height: 600px;
        margin-bottom: 50px;
    }

    .btnerror,
    .btnerror2{
        font-size: 1.5rem;
    }

    .btnerror2:hover{
        color: var(--texto-primario);
        text-decoration: none;
    }

    .btnerror:hover{
        transform: scale(1.03);
        box-shadow: 0px 2px 11px 0px rgba(0,0,0,0.12);
        -webkit-box-shadow: 0px 2px 11px 0px rgba(0,0,0,0.12);
        -moz-box-shadow: 0px 2px 11px 0px rgba(0,0,0,0.12);
        text-decoration: none;
        color: var(--texto-primario);
    }
}