/*

    Estilos para la paǵina de inicio

*/

/* Hero */

.hero {
    height: 108vh;
    position: relative;
    overflow: hidden;
}

.hero__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
}

.hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__container {
    position: absolute;
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%);
}

.hero__title {
    font-size: 60px;
    max-width: 685px;
    line-height: 1;
    letter-spacing: -1.8px;
    position: relative;
    overflow: hidden;
    text-wrap-style: balance;
}

.hero__title__word_container {
    display: block;
    overflow: hidden;
    position: relative;
}

.hero__title__word {
    display: block;
}

.hero__text {
    margin-top: 1rem;
    font-size: 21px;
    line-height: 1.3;
    width: 584px;
    letter-spacing: -0.42px;
    overflow: hidden;
}

.hero__home__arrow {
    position: absolute;
    right: 0;
    bottom: 50px;
    width: 62px;
    height: 47px;
}

/* Presentación */

.presentation {
    min-height: 100vh;
    position: relative;
}

.presentation__info {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    min-height: 450px;
    z-index: 2;
    will-change: transform;
}

.presentation__info__container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: 60% 40%;
}

.presentation__title {
    font-size: 50px;
    line-height: 1;
    letter-spacing: -1.5px;
    max-width: 700px;
    position: relative;
    overflow: hidden;
}

.presentation__title__word__container {
    display: block;
    overflow: hidden;
    position: relative;
}

.presentation__title__span {
    display: block;
}

.presentation__text {
    font-size: 21px;
    line-height: 1.15;
    letter-spacing: -0.42px;
    max-width: 482px;
}

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

.presentation__image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.presentation__image figure {
    width: 100%;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

.presentation__image__img {
    scale: 1.2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Servicios */

.services {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 150px 0 250px 0;
    overflow-x: hidden;
}

.services__header {
    display: flex;
    justify-content: space-between;
}

.services__header__title {
    font-size: 50px;
    line-height: 1;
    letter-spacing: -1.5px;
    overflow: hidden;
    display: flex;
    gap: 1rem;
}

.services__header__title strong,
.services__header__title b {
    font-weight: 600 !important;
}

.services__header__title__word__container {
    display: block;
    overflow: hidden;
    position: relative;
}

.services__header__title__word {
    display: block;
}

.first-word {
    font-weight: 600 !important;
}

.services__carousel__arrows {
    display: flex;
    gap: 1rem;
    overflow: hidden;
}

.services__carousel__arrows img {
    transform: translateY(0%);
    cursor: pointer;
}

.services__carousel {
    margin-top: 62px;
}

.services__carousel__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.services__carousel__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7rem;
    padding: 3rem 4rem;
    border: 1px solid #E7E7E7;
    box-sizing: border-box;
    height: 448px !important;
    transition: background-color 0.3s ease;
}

.services__carousel__item:hover {
    background-color: #E7E7E7;
}

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

.services__carousel__item__img {
    width: 60px;
    height: 60px;
}

.services__carousel__item__title {
    font-size: 32px;
    letter-spacing: -0.96px;
    line-height: 1;
}

.services__carousel__item__description {
    overflow: hidden;
    max-height: 0px;
    opacity: 0;
    margin: 0;
    font-size: 18px;
    line-height: 1.15;
    letter-spacing: -0.36px;
    color: var(--tt-dark);
    transition: max-height .50s ease, opacity .25s ease .1s;
}

.services__carousel__item:hover .spacer{ flex-basis: 0; }
.services__carousel__item:hover .services__carousel__item__description{
  max-height: 160px;
  opacity: 1;
}

.services__box__container {
    --inner-w: 82px;
    position: relative;
}

.services__box:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--inner-w);
    height: var(--inner-w);
    background-color: var(--tt-dark);
}

.services__box:nth-child(2) {
    position: absolute;
    top: 0;
    left: calc( var(--inner-w) * -1 );
    width: var(--inner-w);
    height: var(--inner-w);
    background-color: var(--tt-primary);
}

/* Metodo */

.method {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    padding: 0;
}

.method__container {
    display: grid;
    grid-template-columns: 13vw 1fr 1fr;
    height: 100%;
    padding: 0;
}

.method__first__column {
    background-color: var(--tt-primary);
    transform: translateY(100%);
    opacity: 0;
}

.method__second__column {
    padding-top: 150px;
    display: flex;
    flex-direction: column;
    align-items: normal;
    justify-content: flex-start;
    background-color: #F5F5F5;
    opacity: 0;
}

    .method__second__column > .method__title {
        flex: 0 1 auto;
    }

    .method__second__column > .method__content {
        flex: 1 0 0;
    }

.method__title {
    margin-left: -6.5vw;
    font-size: clamp(70px, 8.4vw, 120px);
    line-height: 0.85;
    display: flex;
    overflow: hidden;
    letter-spacing: -1.6px;
}

.method__title__char {
    display: inline-block;
    overflow: hidden;
    will-change: transform;
}

.method__content {
    position: relative;
    margin: 50px 60px 0 60px;
    z-index: 5;
}

.method__content__item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    gap: 4rem;
}

.method__content__number {
    font-size: 100px;
    letter-spacing: -1.7px;
    line-height: 0.8;
    color: var(--tt-primary);
    display: inline-block;
    font-family: var(--tt-font-head) !important;
}

.method__content .method__content__number_second,
.method__content .method__content__number_third {
    transform: translateY(50px);
    opacity: 0;
}

.method__content__info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.method__content .method__content__info_second,
.method__content .method__content__info_third {
    opacity: 0;
    transform: translateY(50px);
}

.method__title__word {
    overflow: hidden;
    display: inline-block;
    will-change: transform;
}

.method__content__title {
    font-size: 32px;
    letter-spacing: -0.96px;
    line-height: 1;
    width: 340px;
}

.method__content__p {
    font-size: 21px;
    letter-spacing: -0.42px;
    line-height: 1.15;
    width: 381px;
}

.method__third__column {
    position: relative;
    transform: translateY(-100%);
    opacity: 0;
}

.method__third__column__figure {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.method__third__column__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.method__third__column__figure:nth-child(2),
.method__third__column__figure:nth-child(3) {
    clip-path: inset(0 0 0 100%);
}



