/* Experiences internal page */
.experiences-page {
    background: #fff;
}

.experiences-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    color: #f5f1e8;
}

.experiences-hero > img,
.experiences-hero > picture > img,
.experiences-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.experiences-hero > img,
.experiences-hero > picture > img {
    object-fit: cover;
}

.experiences-hero__shade {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.098) 35%, rgba(0, 0, 0, 0.042) 65%, rgba(0, 0, 0, 0) 100%);
}

.experiences-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    padding: 90px 80px 20px;
}

.experiences-hero h1 {
    margin: 0 0 24px;
    color: #f5f1e8 !important;
    -webkit-text-fill-color: #f5f1e8;
    font-family: "Playfair-Display";
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.15;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

.experiences-hero p {
    margin: 0;
    color: #f5f1e8 !important;
    -webkit-text-fill-color: #f5f1e8;
    font-size: 20px;
    font-weight: 100;
    line-height: 1.7;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

.experiences-button {
    display: inline-block;
    margin-top: 40px;
    padding: 8px 15px;
    border: 1px solid var(--white-color-soft);
    border-radius: 5px;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
    transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.experiences-button:hover {
    color: #fff !important;
    border-color: var(--white-color-soft);
    background: rgba(43, 43, 43, 0.3);
}

.experiences-subnav-slot {
    min-height: 58px;
}

.experiences-subnav {
    position: sticky;
    top: 96px;
    left: 0;
    z-index: 98;
    width: 100%;
    background: var(--white-color-soft);
    border-bottom: 1px solid rgba(90, 57, 38, 0.08);
    transition: box-shadow 200ms ease;
}

.experiences-subnav.is-sticky {
    box-shadow: 0 8px 18px rgba(43, 43, 43, 0.08);
}

.experiences-subnav .container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.experiences-subnav a {
    padding: 20px;
    color: var(--brown-color);
    font-size: 14px;
    font-weight: 500;
}

.experiences-collection {
    padding-top: 140px;
    padding-bottom: 40px;
}

.experiences-collection h2,
.featured-journeys h2 {
    margin: 0 0 80px;
    color: var(--brown-color);
    font-family: "Playfair-Display";
    font-size: 36px;
    font-weight: 400;
    line-height: 1.25;
}

@media (min-width: 1199px) {
    .experiences-collection h2,
    .featured-journeys h2 {
        margin-left: 80px;
    }
}

.experiences-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 48px;
}

.experience-card__image {
    overflow: hidden;
}

.experience-card img {
    display: block;
    width: 100%;
    aspect-ratio: 264 / 330;
    object-fit: cover;
    transition: transform 300ms ease;
}

.experience-card:hover img {
    transform: scale(1.03);
}

.experience-card h3 {
    margin: 10px 0 0;
    color: #2b2b2b;
    font-family: "Playfair-Display";
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.experiences-toggle {
    margin: 0;
    font-family: inherit;
    font-size: 15px;
    color: var(--brown-color);
    cursor: pointer;
}

.experiences-toggle span {
    color: inherit;
}

.experiences-toggle:focus-visible {
    outline: 2px solid var(--brown-color);
    outline-offset: 4px;
}

.featured-journeys {
    padding-top: 0;
    padding-bottom: 140px;
}

.featured-journeys__intro {
    max-width: 760px;
    margin: -48px 0 64px 80px;
}

.featured-journeys__intro p {
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.5;
}

.featured-journeys__intro p:last-child {
    margin-bottom: 0;
}

.featured-journeys__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
}

.journey-card {
    position: relative;
    display: block;
    min-height: 338px;
    overflow: hidden;
    color: var(--white-color-soft);
    text-decoration: none;
}

.journey-card::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.33) 0%, rgba(0, 0, 0, 0.23) 35%, rgba(0, 0, 0, 0.1) 65%, transparent 100%);
}

.journey-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.journey-card:hover img {
    transform: scale(1.03);
}

.journey-card__content {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 30px;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

.journey-card h3 {
    margin: 0 0 5px;
    color: #f7f4ef !important;
    -webkit-text-fill-color: #f7f4ef;
    font-family: "Playfair-Display";
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

.journey-card p {
    margin: 0;
    color: #f7f4ef !important;
    -webkit-text-fill-color: #f7f4ef;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 991px) {
    .experiences-hero__content {
        padding-right: 24px;
        padding-left: 24px;
    }

    .experiences-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
    }

    .featured-journeys__grid {
        gap: 24px;
    }

    .featured-journeys__intro {
        margin-left: 0;
    }
}

@media (max-width: 575px) {
    .experiences-hero {
        height: 440px;
    }

    .experiences-hero__content {
        padding-top: 70px;
    }

    .experiences-hero h1 {
        margin-bottom: 14px;
    }

    .experiences-hero p {
        font-size: 17px;
    }

    .experiences-collection {
        padding-top: 72px;
        padding-bottom: 40px;
    }

    .experiences-collection h2,
    .featured-journeys h2 {
        margin-bottom: 40px;
        font-size: 30px;
    }

    .experiences-grid,
    .featured-journeys__grid {
        grid-template-columns: 1fr;
    }

    .featured-journeys__intro {
        margin: -16px 0 40px;
    }

    .featured-journeys__intro p {
        font-size: 16px;
    }

    .experience-card img {
        aspect-ratio: 4 / 5;
    }

    .journey-card {
        min-height: 300px;
    }

    .featured-journeys {
        padding-bottom: 72px;
    }
}

.footer .footer-form label[for="agente"] {
    width: max-content !important;
    white-space: nowrap !important;
}

.footer-submit-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.footer-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 0;
    min-height: 0;
    padding: 8px 15px;
    border: 1px solid #d8d2c8;
    border-radius: 8px;
    background: transparent;
    color: var(--brown-color);
    font-size: 15px;
    font-weight: 500;
    line-height: normal;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.footer-form button:hover {
    border-color: #d8d2c8;
    background: transparent;
    color: var(--tuquesa-color);
}

.footer-form button::after,
.footer-form button::before {
    display: none;
    content: none;
}

.footer-submit-group p {
    width: 294px;
    color: var(--brown-color);
    font-size: 11px;
    line-height: 1.4;
    text-align: right;
}

@media (max-width: 680px) {
    .footer-form-bottom {
        grid-template-columns: 1fr;
    }

    .footer-submit-group {
        align-items: flex-start;
    }

    .footer-submit-group p {
        width: auto;
        text-align: left;
    }
}

.footer-form-status {
    margin: 2px 0 0;
    color: var(--neutral-color);
    font-size: 13px;
    line-height: 1.4;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    width: 100%;
    margin-top: 34px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    opacity: 0.9;
    transition: opacity 200ms ease, transform 200ms ease;
}

.footer-social img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 34px;
    color: var(--brown-color);
    font-style: normal;
    font-size: 15px;
    line-height: 1.35;
}

.footer-contact a,
.footer-contact span,
.footer-eu a,
.footer-legal a {
    color: inherit;
    transition: color 200ms ease;
}

.footer-contact a:hover,
.footer-eu a:hover,
.footer-legal a:hover {
    color: var(--tuquesa-color);
}

.footer-partnerships {
    margin-top: 44px;
}

.footer-partnerships h3 {
    color: #8a8176;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
}

.footer-partnerships img {
    display: block;
    height: auto;
}

.partnership-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.partnership-logos img {
    width: auto;
    max-width: 100%;
    max-height: 64px;
    object-fit: contain;
}

.partnership-logos .partnership-logo--tfest {
    width: 144px;
}

.partnership-logos .partnership-logo--openhouse {
    max-height: 83px;
}

.footer-eu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 42px;
}

.footer-eu-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-eu-content p {
    color: #8a8176;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
}

.footer-eu-content img {
    width: auto;
    height: 32px;
}

.footer-eu a {
    color: #8a8176;
    font-size: 12px;
    line-height: 1.35;
    text-decoration: underline;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 14px;
    width: min(760px, calc(100vw - 48px));
    margin-top: 44px;
    margin-left: 50%;
    transform: translateX(-50%);
    color: #8a8176;
    font-size: 12px;
    line-height: 1.8;
}

.footer-legal span {
    color: #8a8176;
}

.footer-copyright {
    margin-top: 42px;
    color: #a39a90;
    font-size: 12px;
}

@media (min-width: 768px) {
    .footer-legal {
        flex-wrap: nowrap;
        white-space: nowrap;
    }
}

@media (max-width: 991px) {
    nav ul li {
        margin-left: 0;
    }

    .intro-manifesto .parallax-section .box-center {
        grid-template-columns: minmax(0, 1fr);
        gap: 56px;
        max-width: 560px;
    }

    .intro-card-stack {
        gap: 56px;
    }

    .intro-side-column {
        position: static;
        align-self: stretch;
    }

    #essence .parallax-section .box-center.essence-grid {
        gap: 32px;
    }

    .intro-manifesto .card.card2 {
        transform: none;
    }

    .split-heading {
        display: block;
    }

    .split-heading .text-link {
        margin-top: 28px;
    }

    .design-row {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 60px;
        row-gap: 40px;
        max-width: 720px;
    }

    .design-icon-wrapper {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 767px) {
    html {
        scroll-padding-top: 0;
    }

    .section,
    .section-top,
    .intro-manifesto,
    #experiences,
    .design-section,
    #partners,
    #destinations,
    .essence-section,
    .testimonial-section {
        padding-top: 88px;
        padding-bottom: 88px;
    }

    .testimonial-section .swiper .slide-cont p {
        font-size: 24px;
        line-height: 1.42;
    }

    .section,
    .section-top {
        scroll-margin-top: 0;
    }

    /* .bg-video > .container.hero-content {
        top: 38%;
    } */

    .bg-video .container.hero-content h1 {
        font-size: 42px;
    }

    .bg-video .container.hero-content h2 {
        font-size: 32px;
    }

    .hero-title-block {
        max-width: 100%;
    }

    .bg-video .container.hero-content .hero-title-block,
    .bg-video .container.hero-content .hero-subtitle {
        margin-left: 24px;
        margin-right: 24px;
    }

    .bg-video .container.hero-content h1,
    .bg-video .container.hero-content h2 {
        white-space: normal;
    }

    #experiences .section-heading h2 {
        font-size: 24px;
        max-width: 100%;
    }

    .destinations-header {
        max-width: 100%;
        padding: 0 20px;
    }

    .destinations-header h3 {
        font-size: 28px;
    }

    .destinations-header .dest-subtitle {
        white-space: normal;
        font-size: 16px;
    }

    .one-picture-gallery .swiper {
        max-width: 100%;
    }

    #destinations .slide-image {
        max-width: 280px;
    }

    .testimonial-section .swiper {
        max-width: 100%;
    }

    .testimonial-section .slide-cont {
        max-width: 100%;
        padding: 0 20px;
    }

    #trusted .swiper .slide-cont p,
    .testimonial-section .swiper .slide-cont p {
        font-size: 24px;
        max-width: 100%;
    }

    .max-592 {
        max-width: 100%;
        padding: 0 20px;
    }

    .max-592 p {
        font-size: 16px;
    }

    .intro-manifesto .parallax-section .box-center {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-manifesto .box-720 {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        display: block;
    }

    .intro-manifesto .box-720 h2 {
        white-space: normal;
        font-size: 24px;
    }

    .intro-manifesto .box-720 p {
        max-width: 100%;
        font-size: 15px;
    }

    .intro-card-stack {
        gap: 40px;
    }

    #essence .parallax-section .box-center.essence-grid {
        flex-direction: column;
        gap: 40px;
    }

    #essence .essence-column {
        width: 100%;
        max-width: 100%;
        gap: 40px;
    }

    .intro-manifesto .card,
    .intro-manifesto .card.card2 {
        max-width: 360px;
        margin: 0 auto;
        transform: none !important;
    }

    .intro-side-column {
        position: static !important;
        margin-top: 0;
        --side-sticky-y: 0px;
        transform: none !important;
    }

    .intro-side-column .card {
        transform: none !important;
    }

    .intro-manifesto .card-image img {
        height: 114%;
        transform: translate(-50%, -50%) translateY(var(--image-parallax-y, 0px)) scale(1.03) !important;
    }

    .parallax-card {
        transform: none !important;
    }

    .category {
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
    }

    .design-row {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 60px;
        max-width: 100%;
    }

    .design-icon-wrapper {
        width: 280px;
        height: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .category h4 {
        text-align: center;
    }

    .category p {
        text-align: left;
        margin-left: auto;
        margin-right: auto;
    }

    .design-section .category h4,
    .design-section .category p {
        margin-left: 0;
    }

    .design-section .text-link {
        margin-top: 40px;
    }

    #destinations h5 br {
        display: none;
    }

    .bg-image {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 120px;
    }

    .f-row .inner-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .f-row label[for="agente"] {
        align-self: flex-start;
        margin: 8px 0 12px;
    }

    .f-row input.col-half {
        width: 100%;
    }

    .block-legal {
        display: block;
        text-align: center;
    }

    /* Footer mobile */
    .footer-inner {
        padding: 0 20px;
    }

    .footer-contact span {
        display: block;
    }

    .footer-eu-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-eu-content p {
        white-space: normal;
    }

    .partnership-logos {
        gap: 18px 22px;
    }

    .partnership-logos img {
        max-height: 44px;
    }

    .partnership-logos .partnership-logo--tfest {
        width: 126px;
    }

    .partnership-logos .partnership-logo--openhouse {
        max-height: 57px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 12px;
    }

    .footer-legal a {
        font-size: 13px;
    }

    .footer-copyright {
        font-size: 12px;
    }
}
