*{
    padding: 0;
    font-family: "TTNorms2", sans-serif;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --azul: #042354;
    --azul-claro: #2841dd;
    --naranja: #fe8512;

    --amarillo: #f0ae19;
    --naranja-dos: #ff6e26;
    --celeste: #41b9e4;
    --verde-claro: #add754;
    --verde-agua: #00bf82;
    --violeta: #a54afa;
    --fucsia: #C822BC;
    --gray: #eeeeee;

    --texto-96: clamp(2rem, 1.5rem + 2.5vw, 4.1rem);
    --texto-72: clamp(1.75rem, 1.425rem + 1.625vw, 2.9rem);
    --texto-69: clamp(1.625rem, 1.3rem + 1.61vw, 2.8rem);
    --texto-40: clamp(1.125rem, 0.975rem + 0.75vw, 1.4rem);
    --texto-37: clamp(1.06rem, 0.93rem + 0.67vw, 1.33rem);
    --texto-35: clamp(1rem, 0.87rem + 0.64vw, 1.24rem);
    --texto-32: clamp(.8rem, 0.67rem + 0.44vw, 1.04rem);
    --texto-30: clamp(.7rem, 0.57rem + 0.34vw, .94rem);
}

p, h1, h2, h3, h4, h5 {
    margin: 0;
    padding: 0;
    font-variant-ligatures: none;
    -webkit-font-variant-ligatures: none; 
    font-feature-settings: "liga" 0, "dlig" 0;
    -webkit-font-feature-settings: "liga" 0, "dlig" 0;
}

.banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: relative;
    min-height: auto;
    background-color: var(--fucsia);
    padding: 3rem 2rem;
    overflow: hidden;
}

.rombos {
    position: absolute;
    width: 60rem;
    bottom: 0;
    left: 0;
    display: block;
}
.rombos2 {
    position: absolute;
    width: 60rem;
    bottom: 0;
    left: 0;
    display: none;
}


.header {
    display: flex;
    background-color: var(--azul);
    width: 100%;
    padding: 1rem 3rem;
    z-index: 3;
    position: relative;
    justify-content: center;
}

.header img {
    width: auto;
    height: 3rem;
}

.bannerMobile {
    width: 100%;
    height: 38rem;
    max-height: 38rem;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.bannerDesktop {
    display: none;
}

.bannerCt {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    /* width: 17rem; */
    min-height: 10rem;
    row-gap: 2rem;
}

.bannerCtTop2 {
    width: 100%;
    /* background-color: red; */
    position: relative;
    padding-bottom: 3.5rem;
    width: 20rem;
}

.bannerCtTop2 .bannerCtTop2--image {
    width: 100%;
}

.icon-1,
.icon-2 {
    position: absolute;
    width: 3rem;
    height: auto;
}

.icon-1 {
    bottom: 2rem;
    left: .5rem;
}

.icon-2 {
    top: 1rem;
    right: .5rem;
}

.bannerCtTop2--title {
    position: absolute;
    bottom: 0;
    color: white;
    display: flex;
    flex-direction: column;
    row-gap: .1rem;
    right: 2.5rem;
    font-weight: 600;
    font-size: 1.2rem;
    width: 10rem;
}

.bannerCtTop2--title span {
    background-color: var(--azul-claro);
    padding: .1rem 0;
    padding-left: .4rem;
}

.bannerCtTop2--title span:nth-child(1) {
    width: 12rem;
}

.bannerCtTop2--title span:nth-child(2) {
    width: 11.6rem;
}

.bannerCtTop2--title span:nth-child(3) {
    width: 12rem;
}

.bannerCtTop {
    width: 15rem;
    perspective: 1200px; 
    align-items: center;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    position: relative;
}

.bannerCtTop img {
    width: 100%;
    transform: translateZ(0); 
    transform-style: preserve-3d;
    /* position: absolute; */
}

.ring-wrapper {
    position: absolute;
    top: 58%;
    left: 50%;
    /* Inclinamos todo el anillo de texto para darle el ángulo dinámico */
    transform: translate(-50%, -50%) rotateX(-6deg) rotateZ(-14deg);
    transform-style: preserve-3d;
    z-index: 5; /* Base z-index */
}

.ring {
    position: relative;
    transform-style: preserve-3d;
    /* La animación de rotación ahora se controla en JavaScript */
}

.letter {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 3rem;
    font-weight: 900;
    white-space: pre;
    transform-style: preserve-3d;
    /* Transición suave al cambiar de sólido a transparente */
    transition: color 0.1s, -webkit-text-stroke 0.1s, text-shadow 0.1s;
    backface-visibility: visible;
}

/* Estilo para las letras que están en la parte frontal */
.text-solid {
    color: #ffffff;
    -webkit-text-stroke: 0;
    text-shadow: 2px 2px 0 #ccc, 0 10px 20px rgba(0,0,0,0.3);
}

/* Estilo CRÍTICO: Letras transparentes con borde cuando van por detrás */
.text-outline {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.6);
    text-shadow: none;
}

/* Elemento de fondo decorativo */
.bg-text {
    position: absolute;
    font-size: 18rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.08);
    transform: rotateZ(-12deg);
    pointer-events: none;
    white-space: nowrap;
    z-index: 0;
}

.bannerCtInfo {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bannerCtInfoText {
    background-color: var(--azul-claro);
    font-weight: 500;
    font-size: 1.05rem;
    color: white;
    padding: 1rem 1.5rem 1rem 1rem;
    border-top-right-radius: 2.8rem;
    border-bottom-right-radius: 2.8rem;
}

.bannerCtImgTitle {
    z-index: 4;
    position: relative;
    width: 16rem;
    height: auto;
}

.bannerCtLogo {
    width: 4rem;
    height: auto;
    position: absolute;
    right: -1.3rem;
    top: -1.8rem;
}

.bannerCtBottom {
    width: 16rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    color: white;
    row-gap: 1rem;
    align-items: center;
}

.bannerCtBottomWrapper {
    background-color: var(--azul);
    z-index: 2;
    font-size: .8rem;
    font-weight: 300;    
    display: flex;
    padding: 1rem;
    width: 13rem;
    justify-content: center;
    border-top-right-radius: 1.5rem;
}

.bannerCtBottomWrapper h3 {
    text-align: start;
    font-weight: 300;
}

.bannerCtBottomWrapper h3 span {
    font-weight: 500;
}

.bannerCtBottomWrapper div {
    width: 2rem;
    height: 2rem;
}

.bannerCtBottomWrapper div span {
    width: 1rem;
    height: 2rem;
    border-right: 1px solid white;
    display: block;
}

.separator {
    background-color: white;
    max-height: 5rem;
    overflow: hidden;
    width: 100vw;
    padding: 1rem 0 1rem 0;
    position: relative;
}

.separator2 {
    display: none;
    max-height: 5rem;
    overflow: hidden;
    width: 100vw;
    padding: 1rem 0 1rem 0;
    position: relative;
}

.separatorCt {
    display: flex;
    width: max-content;
    animation: scrollEffect 20s linear infinite;
}

.separatorCt span {
    padding-right: 1.5rem;
    color: var(--azul);
}

.separatorCt p {
    min-width: 20rem;
    font-weight: 700;
    color: var(--azul);
}

.separatorCtImages {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
}

.separatorCtImages img {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1rem;
    width: 400vw;
    object-fit: cover;
}

.second-image {
    z-index: 10;
    animation: moveWave 5s linear infinite; 
}

@keyframes scrollEffect {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(-50%); 
    }
}

@keyframes moveWave {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(-50%); 
    }
}

.topForm {
    background-color: var(--fucsia);
    height: auto;
    padding: 3rem;
    display: flex;
    justify-content: center;
}

.formulario {
    min-height: auto;
    border: 1px solid white;
    border-radius: 1.5rem;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    height: auto;
    min-height: fit-content;
    height: fit-content;
    background-color: white;
    z-index: 10;
}

.formulario h2 {
    font-size: var(--texto-37);
    padding: 0;
    margin: 0;
    line-height: 1.6rem;
    text-align: center;
    color: var(--azul);
    font-weight: 500;
}

form {
    display: flex;
    flex-direction: column;
    row-gap: .8rem;
    height: auto;
    align-items: center;
}

form .eleccion {
    display: flex;
    flex-direction: row;
    height: 1.8rem;
    width: 100%;
}

form .eleccion select {
    width: 100%;
    height: 1.8rem;
    background-color: #EAEAEA;
    outline: none;
    border: 1px solid white;
    padding-left: .5rem;
    border-radius: .5rem;
    color: var(--azul);
}

form .eleccion select option {
    background-color: var(--azul);
    color: white;
    font-family: "TTNorms", sans-serif;
}

form .eleccion h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--azul);
    margin-right: .5rem;
    width: 5rem;
    display: flex;
    align-items: center;
}

.double__form {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

#contenedor-dinamico {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    width: 100%;
}

#seccion-tutor,
#seccion-estudiante,
#campos-tutor,
#campos-estudiante {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

#seccion-estudiante h3 {
    background-color: var(--azul);
    padding: .5rem 1rem;
    border-radius: 1rem;
    color: #ebebeb;
    font-size: 1rem;
    font-weight: 400;
}

#header-tutor {
    background-color: var(--azul);
    padding: .4rem 1rem;
    border-radius: 1rem;
}

#toggle-tutor {
    color: #ebebeb;
}

.double__form input,
.double__form select {
    width: 100%;
    background-color: #EAEAEA;
    outline: none;
    border: 1px solid white;
    height: 1.8rem;
    padding-left: .5rem;
    border-radius: .5rem;
}

.double__form input[type="text"] {
    color: var(--azul);
}

.double__form input {
    color: var(--azul);
}

.double__form select {
    color: var(--azul);
}

.double__form select option {
    background-color: var(--azul);
    color: white;
    font-family: "TTNorms", sans-serif;
}

.form__container--school {
    width: 100%;
}

.double__form input::placeholder,
.double__form select::placeholder {
    color: var(--azul);
}

.authorization {
    display: flex;
    column-gap: .5rem;
}

.authorization p {
    font-size: .8rem;
    font-weight: 500;
    color: var(--azul);
}

.content__button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bloque1Container__form button {
    border: none;
    background-color: var(--fucsia);
    color: white;
    position: relative;
    font-size: var(--texto-37);
    padding: .6rem 2.5rem .6rem 1rem;
    font-weight: 600;
    border-radius: 2rem;
    cursor: pointer;
    width: 12rem;
}

.bloque1Container__form button span {
    position: absolute;
    right: -.2rem;
    top: 0;
    background-color: var(--azul);
    padding: .7rem .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2rem;
}

.bloque1Container__form button span img {
    width: 1.5rem;
    height: auto;
}

.vive {
    background-color: var(--azul-claro);
    padding: 3rem;
    display: flex;
    justify-content: center;
}

.viveCt {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
}

.viveCt h2 {
    font-size: 1.4rem;
    line-height: 1.8rem;
    color: white;
    font-weight: 400;
    text-align: center;
}

.viveCt h2 span {
    background-color: var(--fucsia);
    padding: .05rem;
}

.viveCtWrap {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    justify-content: center;
    align-items: center;
}

.viveCtWrap > div {
    width: 12rem;
    height: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.viveCtWrap > div h3 {
    text-align: center;
}

.viveCtItem:nth-child(1) {
    background-color: var(--fucsia);
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    border-top-left-radius: 50%;
}

.viveCtItem:nth-child(1) h3 {
    color: white;
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.8rem;
}

.viveCtItem:nth-child(1) h3 span {
    font-size: 1.7rem;
    font-weight: 600;
}

.viveCtItem:nth-child(2) {
    background-color: white;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
    border-top-left-radius: 50%;
}

.viveCtItem:nth-child(2) h3 {
    color: var(--azul);
    font-size: 1.4rem;
    font-weight: 700;
}

.viveCtItem:nth-child(3) {
    color: white;
    background-color: var(--azul);
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    border-bottom-left-radius: 50%;
}

.viveCtItem:nth-child(3) h3 {
    font-size: 1.4rem;
}

.viveCtItem:nth-child(3) h3 span {
    font-size: 1.1rem;
    font-weight: 400;
}

footer {
    background-color: var(--azul);
    padding: 3rem;
    font-size: var(--texto-32);
    color: white;
}

.footerTopCt {
    max-width: 68.5rem;
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
}

.footerLeft {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    align-items: flex-start;
}

.footerLeftLogo {
    width: auto;
    height: 3rem;
    display: flex;
    justify-content: flex-start;
}

.footerLeftParagraph {
    display: flex;
    flex-direction: column;
    row-gap: .5rem;
}

.footerLeftIcons {
    display: flex;
    column-gap: 1rem;
    flex-wrap: wrap;
}

.footerLeftIcons img {
    height: 2rem;
    width: auto;
}

.footerMedium {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.footerMedium a {
    color: white;
}

.footerMedium img {
    width: 15rem;
    height: auto;
}

.footerBottomCt {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

.footerBottomCt img {
    height: 3rem;
    width: auto;
}

.footerRightImage {
    display: none;
}

@media (min-width: 1020px) {
    .double__form {
        flex-direction: row;
        column-gap: 1rem;
    }
    .formulario {
        width: 22rem;
        background-color: white;
    }
    .formulario h2,
    form .eleccion h3,
    form .eleccion select,
    .double__form input[type="text"],
    .double__form input, 
    .double__form select {
        color: var(--azul);
    }

    .double__form input, 
    .double__form select {
        border: 1px solid var(--azul);
        color: var(--azul);
    }

    .formulario h2 {
        font-size: 1rem;
        line-height: normal;
    }
    
    #seccion-estudiante h3 {
        font-size: .9rem;
    }

    #seccion-tutor, #seccion-estudiante, #campos-tutor, #campos-estudiante {
        row-gap: .7rem;
    }

    .bloque1Container__form button {
        width: 14rem;
        padding: 0.5rem 2.5rem .5rem 1rem;
    }
    .rombos {
        width: 100rem;
    }
}

@media (min-width: 1200px) {
    .headerCt {
        min-width: 68.5rem;
    }
    .separator {
        display: none;
    }
    .separator2 {
        display: block;
    }
    .banner {
        min-height: 100%;
        height: auto;
        overflow: visible;
        padding: 0;
    }
    .bannerCt {
        height: 100%;
        width: 30rem;
        align-items: flex-start;
        justify-content: center;
    }
    .bannerMobile {
        display: none;
    }
    .top-visitas {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }
    .topVisitasCt {
        display: flex;
        min-width: 68.5rem;
        z-index: 5;
        position: relative;
        padding: 3rem 0;
        justify-content: space-between;
        min-height: 90vh;
        align-items: center;
    }
    .bannerDesktop {
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        object-fit: cover;
        min-width: 85rem;
    }
    .bannerCtImgTitle {
        width: 26rem;
    }
    .topForm {
        padding: 0;
        background-color: transparent;
    }
    .double__form input::placeholder, 
    .double__form select::placeholder {
        color: var(--azul);
    }
    #seccion-tutor h3, #seccion-estudiante h3 {
        font-size: .9rem;
        color: #ebebeb;
    }
    #soy {
        border: 1px solid var(--azul);
    }
    .authorization p {
        color: var(--azul);
        font-size: .7rem;
    }
    .bannerCt {
        padding: 0;
        margin: 0;
    }
    .bannerCtInfoText {
        font-size: 1.4rem;
        width: 20rem;
    }
    .bannerCtLogo {
        width: 5rem;
        height: auto;
        position: absolute;
        right: -3.3rem;
        top: -1.8rem;
    }
    .separatorCtImages img {
        width: 150vw;
    }
    .separatorCt  {
        align-items: center;
    }
    .separatorCt span {
        padding: 0 1rem;
    }
    .separatorCt p {
        font-size: 1.3rem;
    }
    footer {
        font-size: var(--texto-30);
        padding: 0;
    }
    .footerBottomCt img {
        display: none;
    }
    .footerTop {
        padding: 3rem 3rem 1rem 3rem;
        display: flex;
        justify-content: center;
        border-bottom: 1px solid white;
    }
    .footerTopCt {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
    .footerTopCt > div {
        width: 30%;
    }
    .footerRight {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    .footerRightImage {
        display: block;
        width: 10rem;
        height: auto;
    }
    .footerBottomCt {
        padding: 2rem 2rem 2rem 2rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .footerBottomCt p {
        text-align: center;
    }
    .rombos {
        display: none;
    }
    .rombos2 {
        display: block;
        width: 100rem;
        left: -5rem;
    }
    .top-visitas {
        background-color: var(--fucsia);
    }
    .bannerCtTop2 {
        width: 30rem;
        padding-bottom: 5.5rem;
        z-index: 5;
    }
    .bannerCtBottom {
        flex-direction: row;
        width: 100%;
        column-gap: 1rem;
    }
    .bannerCtBottom p {
        text-align: start;
        font-size: 1.2rem;
        width: 33rem;
    }
    .bannerCtBottomWrapper {
        width: 31rem;
        font-size: 1rem;
    }
    .bannerCtTop2--title {
        font-size: 1.7rem;
        font-weight: 600;
        right: 8rem;
    }
    .bannerCtTop2--title span:nth-child(1) {
        width: 16.6rem;
    }
    .bannerCtTop2--title span:nth-child(2) {
        width: 16.1rem;
    }
    .bannerCtTop2--title span:nth-child(3) {
        width: 16.6rem;
    }
    .icon-1, .icon-2 {
        width: 4.5rem;
    }
    .icon-1 {
        bottom: 3rem;
    }
    .vive {
       padding: 6rem 3rem;
    }
    .viveCt {
        max-width: 68.5rem;
        flex-direction: row;
        align-items: center;
        column-gap: 7rem;
    }
    .viveCt h2 {
        text-align: start;
        font-size: 1.8rem;
        font-weight: 500;
        line-height: 2.5rem;
    }
    .viveCtWrap {
        flex-direction: row;
        column-gap: 1rem;
    } 
}