
.modelo-interiores {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 120px 0 100px;
    overflow: hidden;
    background-color: #000000;
    color: #ffffff;
}

.modelo-interiores__intro {
    position: relative;
    z-index: 5;
    width: min(90%, 950px);
    margin: 0 auto;
    text-align: center;
}

.modelo-interiores__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
}

.modelo-interiores__subtitle {
    max-width: 850px;
    margin: 24px auto 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 300;
    line-height: 1.6;
}


.modelo-interiores__visual {
    position: relative;
    width: 100vw;
    height: min(65vw, 900px);
    min-height: 520px;
    margin-top: 50px;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
}


.modelo-interior__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
}

.modelo-interior__image[data-active="true"] {
    opacity: 1;
    visibility: visible;
}

.modelo-interior__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}



.modelo-interior__point {
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.modelo-interior__point-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #349584;
    border-radius: 50%;
    background: #349584;
    color: #ffffff;
    font-size: 25px;
    font-weight: 300;
    line-height: 1;
    box-shadow: 0 0 0 5px rgba(52, 149, 132, 0.18);
    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
    animation: modelo-interior-pulse 2s ease-in-out infinite;
}

.modelo-interior__point:hover .modelo-interior__point-icon,
.modelo-interior__point:focus-visible .modelo-interior__point-icon {
    transform: scale(1.2);
    background: #28796c;
    box-shadow: 0 0 0 9px rgba(52, 149, 132, 0.25);
    animation-play-state: paused;
}

.modelo-interior__point:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 5px;
}
@keyframes modelo-interior-pulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(52, 149, 132, 0.16);
    }

    50% {
        box-shadow: 0 0 0 9px rgba(52, 149, 132, 0.32);
    }
}

.modelo-interiores__selected {
    position: relative;
    z-index: 5;
    margin-top: 10px;
    text-align: center;
}

.modelo-interiores__selected-name {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.modelo-interiores__options {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    width: min(90%, 900px);
    margin: 35px auto 0;
}

.modelo-interior {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
}

.modelo-interior__selector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 3px;
    border: 2px solid transparent;
    border-radius: 50%;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.25);
    overflow: hidden;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.modelo-interior__selector img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.modelo-interior__name {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 300;
    text-align: center;
    transition: color 0.3s ease;
}

.modelo-interior[aria-pressed="true"] .modelo-interior__selector {
    transform: scale(1.15);
    border-color: #ffffff;
    box-shadow:
        0 0 0 2px #000000,
        0 0 0 3px #ffffff;
}

.modelo-interior[aria-pressed="true"] .modelo-interior__name {
    color: #ffffff;
    font-weight: 500;
}

.modelo-interior:hover .modelo-interior__selector {
    transform: scale(1.1);
}

.modelo-interior:hover .modelo-interior__name {
    color: #ffffff;
}

@media (max-width: 768px) {

    .modelo-interiores {
        min-height: auto;
        padding: 80px 0 70px;
    }

    .modelo-interiores__intro {
        width: 88%;
    }

    .modelo-interiores__subtitle {
        margin-top: 16px;
        font-size: 1rem;
    }

     .modelo-interiores__visual {
        width: 100vw;
        height: 75vw;
        min-height: 320px;
        margin-left: calc(50% - 50vw);
        margin-top: 30px;
    }

    .modelo-interior__image img {
        object-fit: contain;
    }

    .modelo-interior__point {
        width: 38px;
        height: 38px;
    }

     .modelo-interior__point-icon {
        animation: none;
        transition: none;
    }

    .modelo-interiores__options {
        width: 94%;
        gap: 14px;
        margin-top: 30px;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 5px 10px 10px;
        scrollbar-width: none;
    }

    .modelo-interiores__options::-webkit-scrollbar {
        display: none;
    }

    .modelo-interior {
        flex: 0 0 76px;
        width: 76px;
    }

    .modelo-interior__selector {
        width: 42px;
        height: 42px;
    }

    .modelo-interior__name {
        font-size: 0.78rem;
    }
}







/* .modelo-interior__detail {
    position: absolute;
    z-index: 20;
    display: none;
    width: min(360px, 32vw);
    padding: 18px;
    background: rgba(0, 0, 0, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
}

.modelo-interior__detail-image {
    width: 100%;
    margin-bottom: 16px;
    overflow: hidden;
}

.modelo-interior__detail-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.modelo-interior__detail-title {
    margin: 0;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.2;
}

.modelo-interior__detail-text {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.5;
} */

.modelo-interior__detail {
    position: absolute;
    z-index: 30;
    display: none;
    width: min(360px, 32vw);
    padding: 18px;
    background: rgba(0, 0, 0, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    pointer-events: none;
}

.modelo-interior__detail.is-visible {
    display: block;
}

.modelo-interior__detail-image {
    width: 100%;
    margin-bottom: 16px;
    overflow: hidden;
}

.modelo-interior__detail-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.modelo-interior__detail-title {
    margin: 0;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.2;
}

.modelo-interior__detail-text {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.5;
}

@media (max-width: 768px) {

    .modelo-interior__detail {
        width: min(82vw, 320px);
        padding: 15px;
    }

    .modelo-interior__detail-title {
        font-size: 1rem;
    }

    .modelo-interior__detail-text {
        font-size: 0.85rem;
    }
}


@media (max-width: 768px) {

    .modelo-interiores {
        padding-left: 0;
        padding-right: 0;
        overflow-x: clip;
    }

    .modelo-interiores__visual {
        position: relative;
        width: 100vw;
        max-width: 100vw;
        height: 75vw;
        min-height: 320px;
        margin-top: 30px;
        margin-left: calc(50% - 50vw);
        margin-right: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .modelo-interior__image {
        width: 100%;
        height: 100%;
        inset: 0;
    }

    .modelo-interior__image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
}
