@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
    --deepBlack: #0d1221;
    --prussianBlue: #1d2d44;
    --payneGrey: #3e5c76;
    --blueSilverLake: #748CAB;
    --eggShell: #f0ebd8;
    --deepSkyBlue: #008CBA;
    --darkGray: #333333;
    --headerBackground: #0E2954;
    --menuLinkColor: #B4C0D4;
    --heroGradientStart: #001f3f;
    --heroGradientEnd: #003366;
    --heroSubtitleColor: #ADD8E6;
    --highlightYellow: #FFD700;
    --subtituloColor: #E0E0E0;
    --sectionBackground: #1a3a60;
    --mainTextColor: #f0f0f0;
    --secondaryTextColor: #ADD8E6;
    --tertiaryTextColor: #cccccc;
    --imageBorderColor: #008CBA;
    --opinionCardBackground: #0E223D;
    --footerBackground: #0E223D;
    --buttonPrimary: #007bff;
    --buttonPrimaryHover: #0056b3;
    --bubbleBackground: #1d2d44;
    --bubbleBorderHover: #008CBA;
    --legalPdfIconColor: #CC3333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', 'Roboto', Arial, sans-serif;
    text-decoration: none;
    border: none;
    outline: none;
    transition: .2s linear;
    color: var(--eggShell);
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--deepBlack);
    color: var(--eggShell);
    font-size: 16px;
}

/* --- Header & Navigation --- */
header {
    background-color: var(--headerBackground);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1000;
    height: 100px;
}

.logo-izquierdo img {
    height: 5rem;
    width: auto;
    object-fit: contain;
}

.logo-mobile {
    display: none;
}

.logo-capitt {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-capitt img {
    height: 5rem;
}

.inicio {
    font-size: 0.7rem;
}

nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.menu-opciones {
    list-style: none;
    display: flex;
    gap: 30px;
}

.menu-opciones li a {
    color: var(--menuLinkColor);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.menu-opciones li a:hover {
    color: var(--eggShell);
}

.menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--menuLinkColor);
}

/* --- Menú Dinámico (Pantalla Completa) --- */
.fullscreen-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.fullscreen-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.fullscreen-menu li {
    margin: 25px 0;
}

.fullscreen-menu a {
    color: var(--eggShell);
    font-size: 1.8rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fullscreen-menu a:hover {
    color: var(--highlightYellow);
}

.menu-close-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: var(--eggShell) !important;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.menu-close-icon:hover {
    color: var(--highlightYellow) !important;
}

/* Bloqueo de scroll */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(to right, var(--heroGradientStart), var(--heroGradientEnd));
    color: var(--eggShell);
    text-align: center;
    padding: 100px 20px;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero .contenedor {
    max-width: 900px;
    z-index: 2;
}

.titulo_principal {
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--highlightYellow);
}

.linea {
    width: 200px;
    height: 3px;
    background-color: var(--eggShell);
    margin: 0px auto 30px auto;
}

.subtitulo_1 {
    text-align: justify;
    line-height: 1.6;
    color: var(--subtituloColor);
    font-size: 1.1rem;
}

/* --- SECCIÓN SERVICIOS TRANSFERENCIA TECNOLÓGICA --- */
.servicios-tt-section {
    background-color: var(--sectionBackground);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.titulo-servicios {
    text-align: center;
    /* ALINEACIÓN A LA IZQUIERDA */
    color: var(--highlightYellow);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    /* Igual que el contenedor de lista */
    width: 100%;
    text-transform: uppercase;
}

.titulo-servicios_2 {
    text-align: center;
    color: var(--highlightYellow);
    font-size: 1.3rem;
    margin-top: 5rem;
    margin-bottom: 2rem;
    width: 100%;
    text-transform: uppercase;
}

.titulo-servicios_3 {
    text-align: center;
    color: var(--eggShell);
    font-size: 1.3rem;
    margin-top: 4rem;
    /* Aumentado de 2rem a 4rem */
    margin-bottom: 2rem;
    width: 100%;
    line-height: 1.6;
}

.titulo-servicios_3 span {
    color: var(--deepSkyBlue);
}

.titulo-servicios_3 .unete {
    color: var(--highlightYellow);
    display: block;
    /* Asegura que respete el margen */
    margin-top: 0.5rem;
    /* Espacio específico respecto al texto de compromiso */
    font-weight: 800;
    font-size: 1.2rem;
    /* Aumentar un poco el tamaño para resaltar */
}

.servicios-tt-lista {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Línea conectora horizontal - Desactivada para permitir el wrapping 
.servicios-tt-lista::before {
    content: '';
    position: absolute;
    top: 120px;
    left: 100px;
    right: 100px;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--deepSkyBlue), transparent);
    opacity: 0.6;
    z-index: 0;
}
*/

/* Estilo de la Nota de Transparencia */
.nota-transparencia-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 1.2rem;
    border: 1px solid rgba(0, 140, 186, 0.3);
    border-left: 5px solid var(--highlightYellow);
    background: rgba(29, 45, 68, 0.6);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nota-transparencia-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.nota-texto {
    text-align: justify;
    color: var(--tertiaryTextColor);
    line-height: 1.6;
}

.servicio-tt-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
    position: relative;
    z-index: 1;
    flex: 1 1 300px;
    max-width: 380px;
    background: transparent;
    padding: 0;
    border: none;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

/* El efecto de zoom y dim ahora se aplica en HOVER (manejado por JS/CSS) */
.servicio-tt-item.focused {
    transform: scale(1.15);
    z-index: 10;
}

.servicio-tt-item.blurred {
    opacity: 0.4;
    transform: scale(0.9);
    filter: blur(2px) grayscale(30%);
}

.icono-wrapper {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    padding: 10px;
    border: 4px solid var(--deepSkyBlue);
    position: relative;
    transition: transform 0.4s ease;
}

/* BARRAS ROTATORIAS ALREDEDOR DEL CÍRCULO */
.icono-wrapper::before,
.icono-wrapper::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid transparent;
    border-top-color: var(--highlightYellow);
    border-bottom-color: var(--deepSkyBlue);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.icono-wrapper::after {
    top: -18px;
    left: -18px;
    right: -18px;
    bottom: -18px;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-left-color: var(--highlightYellow);
    border-right-color: var(--deepSkyBlue);
    transition-delay: 0.1s;
}

/* Animación de rotación */
@keyframes spinBars {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinBarsReverse {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.servicio-tt-item:hover .icono-wrapper {
    transform: translateY(-5px);
}

.servicio-tt-item:hover .icono-wrapper::before {
    opacity: 1;
    animation: spinBars 2s linear infinite;
}

.servicio-tt-item:hover .icono-wrapper::after {
    opacity: 1;
    animation: spinBarsReverse 3s linear infinite;
}

.icono-servicio {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.servicio-tt-texto {
    flex-grow: 1;
}

.servicio-tt-texto h3 {
    color: var(--secondaryTextColor);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: 'DM Sans', sans-serif;
}

.servicio-tt-texto p {
    color: var(--mainTextColor);
    line-height: 1.6;
    font-size: 1rem;
    text-align: justify;
}

/* --- Carrusel Interactivos de Pasos (Nueva Versión) --- */
.carrusel-tt-container {
    width: 100%;
    max-width: 1200px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    /* Sin fondo sólido */
}

.carrusel-track-wrapper {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    clip-path: inset(0 0 0 0);
    /* Recortamos lo que no esté en foco */
    display: flex;
    justify-content: flex-start;
    /* Alineado al inicio para que el transform de JS sea exacto */
    position: relative;
}

.carrusel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    gap: 30px;
    height: 420px;
    padding-left: 0;
    /* Aseguramos que empiece en el borde izquierdo */
}

.paso-item {
    min-width: 320px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    transition: all 0.6s ease;
    filter: blur(5px);
    opacity: 0.3;
    pointer-events: none;
    transform: scale(0.85);
}

.paso-item.active {
    filter: blur(0);
    opacity: 1;
    pointer-events: all;
    transform: scale(1.15);
}

.paso-imagen-wrapper {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border: 5px solid #f39c12;
    box-shadow: 0 0 25px rgba(243, 156, 18, 0.3);
    margin-bottom: 25px;
    background-color: var(--eggShell);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.paso-imagen-wrapper img {
    width: 90%;
    height: 100%;
    object-fit: contain;
}

.paso-texto {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-badge-tt {
    color: #f39c12;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.paso-item h3 {
    color: var(--eggShell);
    /* Blanco para resaltar sobre azul */
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.paso-item p {
    color: rgba(255, 255, 255, 0.9);
    /* Blanco suave */
    font-size: 1rem;
    line-height: 1.5;
}

/* Controles en la base */
.carrusel-controles-inferiores {
    display: flex;
    align-items: center;
    gap: 40px;
}

.btn-nav-tt {
    background: transparent;
    border: 2px solid rgba(243, 156, 18, 0.5);
    color: #f39c12 !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-nav-tt i {
    color: #f39c12 !important;
}

.btn-nav-tt:hover {
    background: #f39c12;
    color: var(--eggShell) !important;
}

.btn-nav-tt:hover i {
    color: var(--eggShell) !important;
}

.dots-container-tt {
    display: flex;
    gap: 15px;
}

.dot-tt {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot-tt.active {
    background: #f39c12;
    transform: scale(1.3);
}

/* --- Footer --- */
.contenedor_footer {
    background-color: var(--footerBackground);
    color: var(--eggShell);
    padding: 30px 20px;
    text-align: center;
}

.contenedor_footer .titulo_footer {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--eggShell);
}

.contenedor_footer .info_contacto {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--tertiaryTextColor);
}

.contenedor_footer .logo_footer {
    margin-bottom: 20px;
}

.contenedor_footer .logo_footer img {
    max-width: 80px;
    height: auto;
}

.contenedor_footer .linea_footer {
    width: 80%;
    height: 1px;
    background-color: var(--deepSkyBlue);
    margin: 20px auto;
}

.contenedor_footer .copyright {
    font-size: 0.8rem;
    color: var(--deepSkyBlue);
}

.pdf-icono-rojo {
    color: var(--legalPdfIconColor) !important;
    margin-right: 8px;
}

.pdf-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
}

.pdf-link .texto-link {
    color: #3498db;
    text-decoration: underline;
    transition: color 0.3s;
}

.pdf-link:hover .texto-link {
    color: var(--highlightYellow);
}

/* Media Queries */

@media(min-width: 1025px) {
    header {
        padding: 5px 2% !important;
        /* Optimización de espacio lateral */
        height: 85px !important;
    }

    .logo-izquierdo {
        padding-right: 20px !important;
    }

    nav {
        padding-left: 20px !important;
    }

    .logo-izquierdo img,
    .logo-capitt img {
        height: 3.5rem !important;
        /* Reducción para acomodar zoom */
    }

    .logo-desktop {
        display: block !important;
    }

    .logo-mobile {
        display: none !important;
    }

    .hero {
        padding: 40px 15px !important;
        min-height: 200px !important;
    }

    .menu-opciones {
        gap: 15px !important;
        /* Reducción de gap entre elementos */
    }

    .menu-opciones li a {
        color: var(--menuLinkColor);
        text-decoration: none;
        font-size: 0.75rem;
        padding: 5px 0px;
        display: block;
        transition: color 0.3s ease;
    }

    .hero .contenedor {
        padding: 0 10px;
    }

    .fullscreen-menu a {
        font-size: 1.5rem;
    }

    .menu-close-icon {
        top: 15px;
        right: 10px;
        font-size: 3rem;
    }

    .titulo_principal {
        font-size: 1.4rem !important;
        line-height: 1.3;
    }

    .subtitulo {
        font-size: 1rem !important;
        margin-bottom: 0rem;
        line-height: 1.4;
    }

    .subtitulo_1 {
        font-size: 1.2rem !important;
        margin-bottom: 0rem;
        line-height: 1.4;
    }

    .servicios-tt-section {
        padding: 40px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .servicios-tt-lista {
        gap: 40px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .titulo-servicios {
        font-size: 1.1rem;
        padding: 0 1rem 0 1rem;
    }

    .servicio-tt-texto {
        width: 100%;
        padding: 0 1.6rem 0 1.6rem;
    }

    .servicio-tt-texto h3 {
        font-size: 1.2rem;
    }

    .servicio-tt-texto p {
        font-size: 1rem;
        text-align: justify;
    }

    .servicio-tt-item.focused {
        transform: scale(1.05) !important;
        z-index: 5;
    }

    .servicio-tt-item.blurred {
        opacity: 0.6;
        transform: scale(0.95);
        filter: blur(1px) grayscale(10%);
    }

    .icono-wrapper {
        width: 95px;
        height: 95px;
    }

    .titulo-servicios_2 {
        font-size: 1.2rem;
        margin-top: 2.5rem;
        margin-bottom: 1rem;
    }

    .titulo-servicios_3 {
        font-size: 1.2rem;
        padding: 0 1.5rem;
        margin-top: 0rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .paso-item {
        min-width: 280px;
        max-width: 280px;
    }

    .paso-item.active {
        transform: scale(1.1);
    }

    .paso-imagen-wrapper {
        width: 180px;
        height: 180px;
    }

    .step-badge-tt {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .paso-item h3 {
        font-size: 1.2rem;
    }

    .paso-item p {
        font-size: 1rem;
    }

    .contenedor_footer {
        padding: 30px 15px !important;
    }

    .contenedor_footer .titulo_footer {
        font-size: 1.1rem !important;
    }

    .contenedor_footer .info_contacto {
        font-size: 0.95rem !important;
    }

    .contenedor_footer .logo_footer img {
        max-width: 60px;
    }

    .contenedor_footer .copyright {
        font-size: 0.8rem;
    }
}

@media (max-width: 1150px) {
    nav .menu-opciones {
        display: none !important;
    }

    .menu-icon {
        display: block !important;
    }

    /* Asegurar que el menú responsive funcione desde aquí */
    .fullscreen-menu {
        display: none;
        /* Se activa por JS */
    }
}

/* --- Medias Queries --- */
@media (max-width: 1024px) {
    header {
        padding: 5px 2% !important;
        /* Optimización de espacio lateral */
        height: 85px !important;
    }

    .logo-izquierdo {
        padding-right: 20px !important;
    }

    nav {
        padding-left: 20px !important;
    }

    .logo-izquierdo img,
    .logo-capitt img {
        height: 3.5rem !important;
        /* Reducción para acomodar zoom */
    }

    .logo-desktop {
        display: block !important;
    }

    .logo-mobile {
        display: none !important;
    }

    .hero {
        padding: 40px 15px !important;
        min-height: 200px !important;
    }

    .menu-opciones {
        gap: 15px !important;
        /* Reducción de gap entre elementos */
    }

    .menu-opciones li a {
        color: var(--menuLinkColor);
        text-decoration: none;
        font-size: 0.75rem;
        padding: 5px 0px;
        display: block;
        transition: color 0.3s ease;
    }

    .hero .contenedor {
        padding: 0 10px;
    }

    .fullscreen-menu a {
        font-size: 1.5rem;
    }

    .menu-close-icon {
        top: 15px;
        right: 10px;
        font-size: 3rem;
    }

    .titulo_principal {
        font-size: 1.4rem !important;
        line-height: 1.3;
    }

    .subtitulo {
        font-size: 1rem !important;
        margin-bottom: 0rem;
        line-height: 1.4;
    }

    .subtitulo_1 {
        font-size: 1.2rem !important;
        margin-bottom: 0rem;
        line-height: 1.4;
    }

    .servicios-tt-section {
        padding: 40px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .servicios-tt-lista {
        gap: 40px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .titulo-servicios {
        font-size: 1.1rem;
        padding: 0 1rem 0 1rem;
    }

    .servicio-tt-texto {
        width: 100%;
        padding: 0 1.6rem 0 1.6rem;
    }

    .servicio-tt-texto h3 {
        font-size: 1.2rem;
    }

    .servicio-tt-texto p {
        font-size: 1rem;
        text-align: justify;
    }

    .servicio-tt-item.focused {
        transform: scale(1.05) !important;
        z-index: 5;
    }

    .servicio-tt-item.blurred {
        opacity: 0.6;
        transform: scale(0.95);
        filter: blur(1px) grayscale(10%);
    }

    .icono-wrapper {
        width: 95px;
        height: 95px;
    }

    .titulo-servicios_2 {
        font-size: 1.2rem;
        margin-top: 2.5rem;
        margin-bottom: 1rem;
    }

    .titulo-servicios_3 {
        font-size: 1.2rem;
        padding: 0 1.5rem;
        margin-top: 0rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .paso-item {
        min-width: 280px;
        max-width: 280px;
    }

    .paso-item.active {
        transform: scale(1.1);
    }

    .paso-imagen-wrapper {
        width: 180px;
        height: 180px;
    }

    .step-badge-tt {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .paso-item h3 {
        font-size: 1.2rem;
    }

    .paso-item p {
        font-size: 1rem;
    }

    .contenedor_footer {
        padding: 30px 15px !important;
    }

    .contenedor_footer .titulo_footer {
        font-size: 1.1rem !important;
    }

    .contenedor_footer .info_contacto {
        font-size: 0.95rem !important;
    }

    .contenedor_footer .logo_footer img {
        max-width: 60px;
    }

    .contenedor_footer .copyright {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 5px 3% !important;
        height: 85px !important;
    }

    .logo-izquierdo {
        padding-right: 20px !important;
    }

    nav {
        padding-left: 20px !important;
    }

    .logo-izquierdo img,
    .logo-capitt img {
        height: 3.5rem !important;
    }

    .logo-desktop {
        display: none !important;
    }

    .logo-mobile {
        display: block !important;
    }

    nav .menu-opciones {
        display: none !important;
    }

    .fullscreen-menu a {
        font-size: 1.5rem;
    }

    .menu-close-icon {
        top: 15px;
        right: 10px;
        font-size: 3rem;
    }

    .titulo_principal {
        font-size: 1.2rem !important;
        line-height: 1.3;
    }

    .subtitulo {
        font-size: 1rem !important;
        margin-bottom: 0rem;
        line-height: 1.4;
    }

    .servicios-tt-section {
        padding: 40px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .servicios-tt-lista {
        gap: 80px;
        padding-top: 60px;
    }

    .titulo-servicios {
        font-size: 1rem;
        padding: 0 1rem 0 1rem;
    }

    .servicio-tt-texto {
        width: 100%;
        padding: 0 1.6rem 0 1.6rem;
    }

    .servicio-tt-texto h3 {
        font-size: 1rem;
    }

    .servicio-tt-texto p {
        font-size: 0.95rem;
        text-align: justify;
    }

    .servicio-tt-item.focused {
        transform: scale(1.05) !important;
        z-index: 5;
    }

    .servicio-tt-item.blurred {
        opacity: 0.6;
        transform: scale(0.95);
        filter: blur(1px) grayscale(10%);
    }

    .icono-wrapper {
        width: 110px;
        height: 110px;
    }

    .titulo-servicios_2 {
        font-size: 1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .titulo-servicios_3 {
        font-size: 0.95rem;
        padding: 0 1.5rem;
        margin-top: 0rem;
        margin-bottom: 1rem;
    }

    .btn-nav-tt {
        width: 40px;
        height: 40px;
    }

    .carrusel-tt-container {
        padding-top: 0px;
    }

    .carrusel-track-wrapper {
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
        clip-path: inset(0 0 0 0);
        /* Recortamos lo que no esté en foco */
        display: flex;
        justify-content: flex-start;
        /* Alineado al inicio para que el transform de JS sea exacto */
        position: relative;
    }

    .carrusel-track {
        display: flex;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: center;
        gap: 30px;
        height: 420px;
        padding-left: 0;
        /* Aseguramos que empiece en el borde izquierdo */
    }

    .paso-item {
        min-width: 280px;
        max-width: 90vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        transition: all 0.6s ease;
        filter: blur(5px);
        opacity: 0.3;
        pointer-events: none;
        transform: scale(0.85);
    }

    .paso-item.active {
        filter: blur(0);
        opacity: 1;
        pointer-events: all;
        transform: scale(1.15);
    }

    .paso-imagen-wrapper {
        width: 160px;
        height: 160px;
        border-radius: 50%;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
        border: 5px solid #f39c12;
        box-shadow: 0 0 25px rgba(243, 156, 18, 0.3);
        margin-bottom: 25px;
        background-color: var(--eggShell);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .paso-imagen-wrapper img {
        width: 90%;
        height: 100%;
        object-fit: contain;
    }

    .paso-texto {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }

    .step-badge-tt {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }

    .paso-item h3 {
        font-size: 1rem;
    }

    .paso-item p {
        font-size: 0.9rem;
    }

    /* Controles en la base */
    .carrusel-controles-inferiores {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .btn-nav-tt {
        width: 50px;
        height: 50px;
    }

    .btn-nav-tt i {
        color: #f39c12 !important;
    }

    .btn-nav-tt:hover {
        background: #f39c12;
        color: var(--eggShell) !important;
    }

    .btn-nav-tt:hover i {
        color: var(--eggShell) !important;
    }

    .dots-container-tt {
        display: flex;
        gap: 15px;
    }

    .dot-tt {
        width: 12px;
        height: 12px;
    }

    .dot-tt.active {
        background: #f39c12;
        transform: scale(1.3);
    }

    .contenedor_footer {
        padding: 30px 15px !important;
    }

    .contenedor_footer .titulo_footer {
        font-size: 1.1rem !important;
    }

    .contenedor_footer .info_contacto {
        font-size: 0.95rem !important;
    }

    .contenedor_footer .logo_footer img {
        max-width: 60px;
    }

    .contenedor_footer .copyright {
        font-size: 0.8rem;
    }
}

@media(max-width: 480px) {
    header {
        padding: 5px 3% !important;
        height: 85px !important;
    }

    .logo-izquierdo {
        padding-right: 20px !important;
    }

    nav {
        padding-left: 20px !important;
    }

    .logo-izquierdo img,
    .logo-capitt img {
        height: 3.5rem !important;
    }

    .logo-desktop {
        display: none !important;
    }

    .logo-mobile {
        display: block !important;
    }

    nav .menu-opciones {
        display: none !important;
    }

    .fullscreen-menu a {
        font-size: 1.5rem;
    }

    .menu-close-icon {
        top: 15px;
        right: 10px;
        font-size: 3rem;
    }

    .menu-icon {
        display: block !important;
    }

    .hero {
        padding: 40px 15px !important;
        min-height: 500px !important;
    }

    .hero .contenedor {
        padding: 0 10px;
    }

    .titulo_principal {
        font-size: 1.2rem !important;
        line-height: 1.3;
    }

    .subtitulo {
        font-size: 1rem !important;
        margin-bottom: 0rem;
        line-height: 1.4;
    }

    .servicios-tt-section {
        padding: 40px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .servicios-tt-lista {
        gap: 80px;
        padding-top: 60px;
    }

    .titulo-servicios {
        font-size: 1rem;
        padding: 0 1rem 0 1rem;
    }

    .servicio-tt-texto {
        width: 100%;
        padding: 0 1.6rem 0 1.6rem;
    }

    .servicio-tt-texto h3 {
        font-size: 1rem;
    }

    .servicio-tt-texto p {
        font-size: 0.95rem;
        text-align: justify;
    }

    .servicio-tt-item.focused {
        transform: scale(1.05) !important;
        z-index: 5;
    }

    .servicio-tt-item.blurred {
        opacity: 0.6;
        transform: scale(0.95);
        filter: blur(1px) grayscale(10%);
    }

    .icono-wrapper {
        width: 110px;
        height: 110px;
    }

    .titulo-servicios_2 {
        font-size: 1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .titulo-servicios_3 {
        font-size: 0.95rem;
        padding: 0 1.5rem;
        margin-top: 0rem;
        margin-bottom: 1rem;
    }

    .btn-nav-tt {
        width: 40px;
        height: 40px;
    }

    .carrusel-tt-container {
        padding-top: 0px;
    }

    .carrusel-track-wrapper {
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
        clip-path: inset(0 0 0 0);
        /* Recortamos lo que no esté en foco */
        display: flex;
        justify-content: flex-start;
        /* Alineado al inicio para que el transform de JS sea exacto */
        position: relative;
    }

    .carrusel-track {
        display: flex;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: center;
        gap: 30px;
        height: 420px;
        padding-left: 0;
        /* Aseguramos que empiece en el borde izquierdo */
    }

    .paso-item {
        min-width: 280px;
        max-width: 90vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        transition: all 0.6s ease;
        filter: blur(5px);
        opacity: 0.3;
        pointer-events: none;
        transform: scale(0.85);
    }

    .paso-item.active {
        filter: blur(0);
        opacity: 1;
        pointer-events: all;
        transform: scale(1.15);
    }

    .paso-imagen-wrapper {
        width: 160px;
        height: 160px;
        border-radius: 50%;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
        border: 5px solid #f39c12;
        box-shadow: 0 0 25px rgba(243, 156, 18, 0.3);
        margin-bottom: 25px;
        background-color: var(--eggShell);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .paso-imagen-wrapper img {
        width: 90%;
        height: 100%;
        object-fit: contain;
    }

    .paso-texto {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }

    .step-badge-tt {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }

    .paso-item h3 {
        font-size: 1rem;
    }

    .paso-item p {
        font-size: 0.9rem;
    }

    /* Controles en la base */
    .carrusel-controles-inferiores {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .btn-nav-tt {
        width: 50px;
        height: 50px;
    }

    .btn-nav-tt i {
        color: #f39c12 !important;
    }

    .btn-nav-tt:hover {
        background: #f39c12;
        color: var(--eggShell) !important;
    }

    .btn-nav-tt:hover i {
        color: var(--eggShell) !important;
    }

    .dots-container-tt {
        display: flex;
        gap: 15px;
    }

    .dot-tt {
        width: 12px;
        height: 12px;
    }

    .dot-tt.active {
        background: #f39c12;
        transform: scale(1.3);
    }

    .contenedor_footer {
        padding: 30px 15px !important;
    }

    .contenedor_footer .titulo_footer {
        font-size: 1.1rem !important;
    }

    .contenedor_footer .info_contacto {
        font-size: 0.95rem !important;
    }

    .contenedor_footer .logo_footer img {
        max-width: 60px;
    }

    .contenedor_footer .copyright {
        font-size: 0.8rem;
    }
}