.bullet {
    color: $mainColor;
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 2rem;
    @media #{$ipad} {
        text-align: center;
    }
}

.hero .bullet {
    color: #D0BC99;
}

.hero {
    .cta-wrapper {
        display: flex;
        justify-content: flex-start;
        gap: 1rem;
        align-items: center;

        @media #{$ipad} {
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
    }
}


.hero-content {
    .paragraph {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        color: white;
        margin-top: 2rem;
        @media #{$ipad} {
            padding: 0 2rem;
            flex-direction: column;
            text-align: center;
        }
        img {
            height: 20px;
            margin-right: 0.5rem;
            @media #{$ipad} {
                margin: 0;
                margin-bottom: 0.5rem;
            }
        }
    }
}

h2 {
    font-family: $mainFont;
    font-weight: 500;
    font-size: 35px;

    span {
        font-weight: 400;
        font-family: $secondFont;
        font-style: italic;
        letter-spacing: 4px;
        color: $mainColor;
        font-size: 40px;
    }
}

.cols {
    .col {
        .logos {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            gap: 2rem;
            margin-bottom: 2rem;
            .divider {
                width: 1px;
                height: 20px;
                background-color: black;
            }
            img {
                height: 36px;
            }
        }
    }
}

.icon-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;

    .list-item {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        img {
            width: 20px;
            margin-right: 0.5rem;
        }
    }
}

p.center {
    text-align: center;
}

.cream-section {
    background-color: #FBF9F8;
}

.contacto-section {
    background-color: #FBF9F8;

    .contacto-box {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-radius: 1rem;
        overflow: hidden;
        background-color: $white;

        @media #{$ipad} {
            grid-template-columns: 1fr;
        }
    }

    .contacto-img {
        img {
            width: 100%;
            height: 100%;
            max-width: none;
            max-height: none;
            object-fit: cover;

            @media #{$ipad} {
                height: 320px;
            }
        }
    }

    .contacto-form {
        padding: 4rem;

        @media #{$ipad} {
            padding: 2rem;
        }

        h2 {
            letter-spacing: 2px;
        }

        p {
            color: $mediumGray3;
        }
    }

    .main-form {
        gap: 1.5rem;

        .input-wrapper {
            label {
                margin-bottom: .25rem;
                color: $mediumGray2;
                font-size: 15px;
                letter-spacing: 1px;
                text-transform: uppercase;
            }

            &:has([required]) label::after {
                color: inherit;
            }
        }

        .main-input {
            height: 42px;
            padding: 0;
            border: 0;
            border-bottom: 1px solid rgba($mainColor, .4);
            border-radius: 0;
            background-color: transparent;

            &:focus {
                box-shadow: none;
                background-color: transparent;
                border-bottom-color: $mainColor;
            }

            &.invalid:not(.not-error) {
                border: 0;
                border-bottom: 1px solid $errorColor;

                &:focus {
                    box-shadow: none;
                }
            }
        }

        .iti {
            width: 100%;

            .iti__selected-dial-code {
                color: $black;
            }

            .iti__country-container {
                padding: 0;
            }

            .iti__selected-country {
                background-color: transparent;
                border-radius: 0;
            }
        }

        .main-select {
            height: 42px;

            select {
                padding-left: 0;
                padding-right: 2rem;
            }

            select:focus+div {
                box-shadow: none;
                background-color: transparent;
                border-bottom-color: $mainColor;
            }

            &>div {
                border: 0;
                border-bottom: 1px solid rgba($mainColor, .4);
                border-radius: 0;
                background-color: transparent;
            }
        }

        .actions {
            display: block;
            margin-top: 1rem;

            .main-button {
                width: 100%;
                margin: 0;
            }
        }
    }
}

.testimonios-section {
    h2.center {
        letter-spacing: 4px;

        @media #{$ipad} {
            letter-spacing: 2px;
        }
    }

    .swiper-pagination.only-mobile {
        display: none;

        @media #{$ipad} {
            display: block;
        }
    }

    .resena-card {
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 2.5rem;
        border-radius: 1rem;
        border: 1px solid rgba($mainColor, .35);
        background-color: #FBF9F8;

        @media #{$ipad} {
            padding: 2rem;
        }

        .resena-top {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;

            .stars {
                height: 22px;
            }

            .comillas {
                height: 28px;
            }
        }

        .resena-text {
            color: $mediumGray3;
            font-size: 17px;
            line-height: 1.7;
            margin-bottom: 2rem;
        }

        .resena-user {
            width: 100%;
            margin-top: auto;
            padding-top: 1.5rem;
            border-top: 1px solid rgba($mainColor, .35);
            display: flex;
            justify-content: flex-start;
            align-items: center;
            gap: 1rem;

            img {
                width: 52px;
                height: 52px;
                max-width: none;
                max-height: none;
                object-fit: cover;
                border-radius: .25rem;
            }

            .name {
                font-weight: 700;
                font-size: 15px;
            }

            .role {
                color: $mainColor;
                font-size: 14px;
            }
        }
    }

    .roll-card {
        width: 100%;
        border-radius: 1rem;
        overflow: hidden;

        img {
            width: 100%;
            height: 310px;
            max-width: none;
            max-height: none;
            object-fit: cover;

            @media #{$ipad} {
                height: 240px;
            }
        }
    }

    .trustpilot-link-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .trustpilot-link {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: .75rem;
        border-bottom: 1px solid $black;
        padding-bottom: .25rem;

        span {
            font-size: 16px;
        }

        i {
            font-size: 12px;
            transition: transform .2s;
        }

        &:hover i {
            transform: translateX(4px);
        }
    }
}

.tabla-section {
    background-image: url('assets/tabla-bg.webp');

    h2.center {
        color: $white;
        letter-spacing: 5px;
        line-height: 1.5;

        @media #{$ipad} {
            font-size: 26px;
            letter-spacing: 2px;
        }
    }

    .serif-italic.white {
        color: $white;
        letter-spacing: 3px;
    }

    .tabla-wrapper {
        width: 100%;

        @media #{$ipad} {
            overflow-x: auto;
        }
    }

    .tabla-compara {
        width: 100%;

        @media #{$ipad} {
            min-width: 720px;
        }
    }

    .tabla-row {
        display: grid;
        grid-template-columns: 1fr 1.2fr 1fr;
        border-bottom: 1px solid rgba($white, .25);

        &:last-child {
            border-bottom: 0;
        }

        &.head .cell {
            padding-top: 0;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: $white;
        }

        .cell {
            padding: 1.5rem;
            font-size: 16px;
            line-height: 1.6;
            color: rgba($white, .8);

            @media #{$ipad} {
                padding: 1.25rem 1rem;
                font-size: 15px;
            }

            &.highlight {
                color: $white;
                font-weight: 600;
                border-left: 1px solid rgba($mainColor, .8);
                border-right: 1px solid rgba($mainColor, .8);
            }
        }
    }
}

.recamaras-section {
    .recamaras-head {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 2rem;

        @media #{$ipad} {
            flex-direction: column;
            align-items: flex-start;
            gap: 1.5rem;
        }

        h2 {
            letter-spacing: 4px;

            @media #{$ipad} {
                letter-spacing: 2px;
            }
        }

        .main-button {
            flex-shrink: 0;

            span {
                text-transform: uppercase;
                letter-spacing: 1px;
            }
        }
    }

    .swiper-pagination.only-mobile {
        display: none;

        @media #{$ipad} {
            display: block;
        }
    }

    .recamara-card {
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        border-radius: 1rem;
        border: 1px solid rgba($mainColor, .35);
        background-color: #FBF9F8;

        h4 {
            font-weight: 300;
        }

        p {
            color: $mediumGray3;
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 2rem;
        }
    }

    .recamara-img {
        position: relative;
        width: 100%;
        border-radius: .5rem;
        overflow: hidden;

        img {
            width: 100%;
            height: auto;
            max-width: 100%;
            max-height: none;
            object-fit: contain;
        }
    }

    .recamara-badge {
        position: absolute;
        top: 1rem;
        right: 0;
        padding: .5rem 1rem;
        background-color: #1E1D1D;
        color: $white;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .recamara-link {
        width: 100%;
        margin-top: auto;
        padding-top: 1.5rem;
        border-top: 1px solid rgba($mainColor, .35);
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all .2s;

        span,
        i {
            color: $mainColor;
        }

        span {
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        &:hover {
            i {
                transform: translateX(4px);
            }
        }

        i {
            transition: transform .2s;
        }
    }
}

.torres-section {
    h2.center {
        letter-spacing: 6px;

        @media #{$ipad} {
            letter-spacing: 3px;
        }
    }

    .swiper-pagination.only-mobile {
        display: none;

        @media #{$ipad} {
            display: block;
        }
    }

    .torre-card {
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 3rem;
        border-radius: 1rem;
        border: 1px solid rgba($mainColor, .5);
        background-color: #FBF9F8;

        @media #{$ipad} {
            padding: 2rem;
        }

        h3 {
            font-weight: 300;
            font-size: 48px;

            @media #{$ipad} {
                font-size: 38px;
            }
        }

        p {
            color: $mediumGray3;
            line-height: 1.7;
        }

        .torre-img {
            width: 100%;
            margin-bottom: 2rem;
            border-radius: .5rem;
            overflow: hidden;

            img {
                width: 100%;
                height: 320px;
                max-width: none;
                max-height: none;
                object-fit: cover;

                @media #{$ipad} {
                    height: 240px;
                }
            }
        }

        .main-button {
            width: 100%;
            margin-top: auto;

            span {
                text-transform: uppercase;
                letter-spacing: 1px;
            }

            &.ghost-button {
                border-color: $black;

                span {
                    color: $black;
                }

                &:hover:not([disabled], .disabled) {
                    border-color: $mainColor;

                    span {
                        color: $black;
                    }
                }
            }
        }
    }

    .torre-badge {
        padding: .5rem 1rem;
        margin-bottom: 1.5rem;
        border-radius: .25rem;
        background-color: $mainColor;
        color: $white;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;

        &.dark {
            background-color: #1E1D1D;
        }
    }
}

.descuento-section {
    width: 100%;
    padding: 6rem 0;
    background-image: url('assets/descuento-bg.webp');
    background-attachment: fixed;

    @media #{$ipad} {
        padding: 4rem 0;
        background-attachment: scroll;
    }

    .descuento-hero {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 570px;
        padding: 4rem 2rem;
        border-radius: 1rem;
        overflow: hidden;
        background-image: url('assets/descuento-video-bg.webp');

        @media #{$ipad} {
            min-height: 380px;
            padding: 3rem 1.5rem;
        }

        &:before {
            content: '';
            position: absolute;
            inset: 0;
            background-color: rgba(black, .35);
        }
    }

    .descuento-hero-content {
        position: relative;
        z-index: 1;
        max-width: 780px;
        text-align: center;

        h2 {
            color: $white;
            text-transform: uppercase;
            letter-spacing: 6px;
            line-height: 1.4;

            @media #{$ipad} {
                font-size: 24px;
                letter-spacing: 3px;
            }
        }

        .serif-caps {
            font-family: $secondFont;
            font-weight: 400;
            color: $white;
            text-transform: uppercase;
            letter-spacing: 8px;

            @media #{$ipad} {
                letter-spacing: 4px;
            }
        }

        p {
            color: $white;
            font-size: 14px;
        }
    }

    .descuento-grid {
        display: grid;
        grid-template-columns: .6fr .4fr;
        gap: 1rem;
        margin-top: 1rem;

        @media #{$ipad} {
            grid-template-columns: 1fr;
        }
    }

    .descuento-card {
        border-radius: 1rem;
        overflow: hidden;
        height: 430px;

        @media #{$ipad} {
            height: 260px;
        }

        img {
            width: 100%;
            height: 100%;
            max-width: none;
            max-height: none;
            object-fit: cover;
        }
    }

    .descuento-note {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        margin-top: 2rem;

        @media #{$ipad} {
            flex-direction: column;
            gap: .5rem;
            text-align: center;
        }

        p {
            color: $white;
            font-size: 15px;
        }

        .divider {
            width: 1px;
            height: 18px;
            background-color: rgba($white, .6);

            @media #{$ipad} {
                display: none;
            }
        }
    }

    .main-button span {
        text-transform: uppercase;
        letter-spacing: 1px;
    }
}

.serif-italic {
    font-family: $secondFont;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 1px;
    color: $black;
}

.ubicacion-section {
    width: 100%;
    overflow: hidden;

    .ubicacion-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;

        @media #{$ipad} {
            grid-template-columns: 1fr;
        }
    }

    .ubicacion-content {
        padding: 6rem 4rem 6rem max(1rem, calc((100vw - 1220px) / 2));

        @media #{$ipad} {
            padding: 4rem 1rem;
        }

        h2 {
            letter-spacing: 2px;
            color: $black;
        }

        .address {
            color: $black;
            font-size: 14px;
        }

        .main-button span {
            text-transform: uppercase;
            letter-spacing: 1px;
        }
    }

    .map-list {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;

        .list-item {
            position: relative;
            display: flex;
            align-items: center;
            padding-left: 2.5rem;
            padding-bottom: 1.5rem;

            &:last-child {
                padding-bottom: 0;
            }

            // Punto del timeline
            &:before {
                content: '';
                position: absolute;
                left: 0;
                top: 2px;
                width: 18px;
                height: 18px;
                border-radius: 50%;
                border: 1px solid $mainColor;
                background-image: radial-gradient($mainColor 0 3px, transparent 4px);
                background-color: transparent;
            }

            // Línea que conecta los puntos
            &:after {
                content: '';
                position: absolute;
                left: 9px;
                top: 20px;
                bottom: 0;
                width: 1px;
                background-color: $mainColor;
            }

            &:last-child:after {
                display: none;
            }

            p {
                font-size: 16px;
                color: $black;
            }
        }
    }

    .ubicacion-map {
        width: 100%;
        height: 100%;
        min-height: 720px;

        @media #{$ipad} {
            min-height: 0;
            height: 400px;
        }

        iframe {
            display: block;
            width: 100%;
            height: 100%;
            filter: grayscale(15%);
        }
    }
}

.grid-experiencias {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;

    @media #{$ipad} {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .xp-card {
        position: relative;
        overflow: hidden;
        img {

        }
        p {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: flex-end;
            padding: 2rem;
            height: 100%;
            position: absolute;
            color: white;
            font-weight: 500;
            text-transform: uppercase;
        }
    }
}