/* ===== Botón de apertura ===== */
.btn-tarifas {
    padding: 0;
    border: none;
    background: transparent;
    color: var(--Text-Neutro, #171A0D);
    font-weight: 700;
    cursor: pointer;
    line-height: 1.42em;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    text-transform: uppercase;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    font-size: 14px;

    & svg {
        margin-top: -4px;
    }
}

.btn-tarifas:hover,
.btn-tarifas:focus {
    background: transparent !important;
}

/* ===== Dialog base ===== */
#modal-tarifas-1 {
    width: 839px;
}

#modal-luna-ll1,
#modal-atardecer-at1 {
    width: 531px;
}

.modal-tarifas {
    border: none;
    padding: 0;
    background: transparent;
    max-width: 90vw;
}

.modal-tarifas::backdrop {
    background: rgba(0, 0, 0, .6);
}

/* Contenedor interno */
.tarifas-modal {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.10);
    outline: none;
}

.tarifas-modal:focus {
    outline: none;
}

.tarifas-modal .fondoblanco {
    padding: 17px 32px;
    border-radius: var(--radius-radius-5, 16px);
    background: var(--Neutro-neutro-0, #FFF);
    z-index: 2;
    position: relative;
}

#modal-tarifas-1 .fondoblanco {
    margin-bottom: -16px;
}

/* ===== Header ===== */
.tm-header {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    gap: 17px;
}

.tm-header>svg {
    margin-top: 5px;
}

.tm-title {
    margin: 0;
    font-size: 22px;
    line-height: 1.2em;
    font-weight: 800;
}

.tm-subtitle p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: var(--Neutro-neutro-400, #414339);
}

.tm-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    position: absolute;
    right: 21px;
    top: 21px;
}

.tm-close:focus {
    background: transparent;
}

.tm-close:hover {
    background: rgba(0, 0, 0, .06);
}

/* ===== Entradas (arriba) ===== */
.tm-entradas {
    gap: 10px 24px;
    padding: 17px 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    border-top: solid 1px #7D8561;
    flex-wrap: wrap;
    justify-content: space-between;
}

#modal-luna-ll1 .tm-col,
#modal-atardecer-at1 .tm-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tm-col {
    padding: 6px 0;
}

.tm-col1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.tm-residentes,
.tm-estudiantes,
.tm-exentos {
    width: 186px;
    max-width: 100%;
    width: 186px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tm-residentes {
    width: 256px;

    & .tm-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}

.tm-exentos {
    width: 270px;
}

.tm-sub {
    margin: 0 0 8px;
    color: var(--Brand-verdeiguazu-600, #555D34);
    font-family: "Public Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.33em;
}

.tm-precio {
    margin: 0;
    font-weight: 800;
}

.tm-nota {
    margin: 16px 0 0;
    font-size: .86rem;
    color: #6D6F67;
    font-size: 16px;
    line-height: 1.5em;

    & strong {
        font-weight: 600;
        color: #414339;
    }
}

/* Separador y fondo de bloque inferior */
.tm-bajo {
    background: var(--Terciario-Selva-50, #F2F5E9);
    padding: 42px 32px;
    display: flex;
    gap: 42px 20px;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
}

.tm-box {
    background: transparent;
    width: 353px;
    max-width: 100%;
}

.tm-box-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 17px;
    border-bottom: #7D8561 1px solid;
}

.tm-ico {
    /* font-size: 1.1rem; */
    display: flex;
}

.tm-box-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.tm-lista {
    margin: 0;
}

.tm-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    flex-wrap: wrap;
}

.tm-item:last-child {
    border-bottom: 0;
}

.tm-item dt {
    font-weight: 500;
    color: var(--Neutro-neutro-500, #171A0D);
}

.tm-item dd {
    margin: 0;
    font-weight: 800;
}

.tm-item.tm-descr {
    display: block;
    border: 0;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25em;
    width: 253px;
    max-width: 100%;
    margin: 0;
    color: var(--Neutro-neutro-400, #414339);
}

/* LUNA */
#modal-luna-ll1 .fondoblanco {
    padding: 33px 19px;
}

#modal-luna-ll1 .tm-close {
    right: 15px;
    top: 12px;
}

/* Responsive */
@media (max-width: 1024px) {


    .tm-header {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    .tarifas-modal .fondoblanco {
        padding: 30px 16px 0;
    }

    .tm-title {
        font-size: 20px;
    }

    .tm-col1 {
        gap: 0;
    }

    .tm-residentes,
    .tm-estudiantes,
    .tm-exentos {
        padding: 0;
        width: 100%;
    }

    .tm-entradas {
        gap: 0;
    }

    .tm-bajo {
        padding: 30px 14px;
        display: flex;
        flex-direction: column;
    }

    .tm-residentes .tm-col {
        padding: 0;
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: 1px solid #E8E8E7;
    }

    .tm-bajo .tm-item dt {
        width: 170px;
    }

    #modal-luna-ll1 .tm-col,
    #modal-atardecer-at1 .tm-col {
        width: 100%;
        padding: 0;
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: 1px solid #E8E8E7;
    }
}

@media (max-width: 640px) {


    .tm-bajo {
        grid-template-columns: 1fr;
    }
}

/* Evitar scroll suave durante open/close (si usás html{scroll-behavior:smooth}) */
html.no-smooth {
    scroll-behavior: auto !important;
}