/* ==========================================================
   TASACIÓN DE PROPIEDADES
   Prefijo exclusivo tas-tasacion-
========================================================== */

.tas-tasacion-hero {
    position: relative;
    min-height: calc(100svh - var(--tas-bottom-nav-height));
    padding: clamp(5.2rem, 7vw, 6.5rem) 0 clamp(2rem, 3vw, 3rem);
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--tas-white);
}

.tas-tasacion-hero-overlay {
    position: absolute;
    z-index: 0;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(16, 16, 16, .92) 0%,
            rgba(16, 16, 16, .78) 42%,
            rgba(16, 16, 16, .38) 72%,
            rgba(16, 16, 16, .18) 100%
        );
    pointer-events: none;
}

.tas-tasacion-hero .tas-container {
    position: relative;
    z-index: 1;
}

.tas-tasacion-hero-layout {
    min-height: 500px;
    border: 1.2px solid rgba(255, 255, 255, .18);
}

.tas-tasacion-hero-content {
    display: flex;
    width: min(760px, 100%);
    min-height: 500px;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 4vw, 3.5rem);
}

.tas-tasacion-hero-kicker {
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, .58);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.tas-tasacion-hero-title {
    max-width: 13ch;
    margin: 0;
    font-size: clamp(2.7rem, 4.8vw, 5rem);
    font-weight: 520;
    letter-spacing: -.065em;
    line-height: .91;
}

.tas-tasacion-hero-text {
    max-width: 680px;
    margin: 1.5rem 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(1.02rem, 1.45vw, 1.25rem);
    line-height: 1.65;
}

.tas-tasacion-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.8rem;
}


.tas-tasacion-section-heading {
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.tas-tasacion-section-heading h2 {
    max-width: 14ch;
    margin: 0;
    font-size: clamp(2.25rem, 4.5vw, 4.8rem);
    font-weight: 540;
    letter-spacing: -.055em;
    line-height: .98;
}

.tas-tasacion-section-heading > div:last-child > p {
    margin: 0;
    color: var(--tas-grey-500);
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.65;
}

/* Tipos de tasación */

.tas-tasacion-services {
    background: var(--tas-off-white);
}

.tas-tasacion-service-grid {
    display: flex;
border-top: 1px solid var(--tas-border);
    border-left: 1px solid var(--tas-border);
}

.tas-tasacion-service {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 270px;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1.7rem, 3vw, 2.8rem);
    border-right: 1px solid var(--tas-border);
    border-bottom: 1px solid var(--tas-border);
    background: var(--tas-white);
    transition: background-color .25s ease, color .25s ease;
}

.tas-tasacion-service-icon {
    display: flex;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(1.25rem, 2vw, 1.8rem);
    background: var(--tas-red);
    color: var(--tas-white);
    transition: background-color .25s ease, color .25s ease;
}

.tas-tasacion-service-icon i {
    font-size: 1.95rem;
    line-height: 1;
}

.tas-tasacion-service-content {
    width: 100%;
    padding-right: 2.75rem;
}

.tas-tasacion-service-content h3 {
    margin: 0;
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 550;
    letter-spacing: -.035em;
    line-height: 1.05;
}

.tas-tasacion-service-content p {
    max-width: 460px;
    margin: .75rem 0 0;
    color: var(--tas-grey-500);
    line-height: 1.55;
    transition: color .25s ease;
}

.tas-tasacion-service-arrow {
    position: absolute;
    right: clamp(1.4rem, 2.5vw, 2.5rem);
    bottom: clamp(1.5rem, 2.5vw, 2.4rem);
    font-size: 1.45rem;
    transition: transform .25s ease;
}

.tas-tasacion-service:hover {
    background: var(--tas-black);
    color: var(--tas-white) !important;
}

.tas-tasacion-service:hover .tas-tasacion-service-icon {
    background: var(--tas-white);
    color: var(--tas-black);
}

.tas-tasacion-service:hover .tas-tasacion-service-content p {
    color: rgba(255, 255, 255, .65);
}

.tas-tasacion-service:hover .tas-tasacion-service-arrow {
    transform: translateX(6px);
}

/* Propósito */

.tas-tasacion-purpose {
    background: var(--tas-white);
}

.tas-tasacion-purpose-layout {
    min-height: 640px;
    border: 1px solid var(--tas-border);
}

.tas-tasacion-purpose-media {
    height: 100%;
    min-height: 640px;
    overflow: hidden;
    background: var(--tas-grey-100);
}

.tas-tasacion-purpose-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tas-tasacion-purpose-content {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.4rem, 5vw, 5rem);
}

.tas-tasacion-purpose-content h2 {
    max-width: 13ch;
    margin: 0;
    font-size: clamp(2.35rem, 4.7vw, 4.8rem);
    font-weight: 530;
    letter-spacing: -.055em;
    line-height: .98;
}

.tas-tasacion-purpose-content > p:not(.tas-section-kicker) {
    max-width: 700px;
    margin: 1.5rem 0 0;
    color: var(--tas-grey-500);
    font-size: clamp(1rem, 1.25vw, 1.14rem);
    line-height: 1.7;
}

.tas-tasacion-purpose-list {
    display: flex;
    margin-top: clamp(2rem, 4vw, 3.5rem);
    border-top: 1px solid var(--tas-border);

    flex-wrap: wrap;
    width: 100%;
}

.tas-tasacion-purpose-list > div {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1.35rem 1.25rem;
    border-bottom: 1px solid var(--tas-border);
}

.tas-tasacion-purpose-list i {
    color: var(--tas-red);
    font-size: 1.65rem;

    display: block;
    margin-bottom: .15rem;
}

.tas-tasacion-purpose-list strong,
.tas-tasacion-purpose-list small {
    display: block;
}

.tas-tasacion-purpose-list strong {
    font-size: .92rem;
    font-weight: 650;
}

.tas-tasacion-purpose-list small {
    margin-top: .25rem;
    color: var(--tas-grey-500);
    font-size: .82rem;
    line-height: 1.45;
}

/* Decisiones */

.tas-tasacion-decisions {
    background: var(--tas-off-white);
}

.tas-tasacion-decision-grid {
    display: flex;
border-top: 1px solid var(--tas-border);
    border-left: 1px solid var(--tas-border);
}

.tas-tasacion-decision {
    min-height: 330px;
    padding: clamp(2rem, 3.5vw, 3.4rem);
    border-right: 1px solid var(--tas-border);
    border-bottom: 1px solid var(--tas-border);
    background: var(--tas-white);
    width: 100%;
    height: 100%;
}

.tas-tasacion-decision > i {
    display: block;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    font-size: 3rem;
    line-height: 1;
}

.tas-tasacion-decision > span {
    display: block;
    margin-bottom: .8rem;
    color: var(--tas-red);
    font-size: .72rem;
    font-weight: 700;
}

.tas-tasacion-decision h3 {
    max-width: 16ch;
    margin: 0;
    font-size: clamp(1.4rem, 2.15vw, 2.15rem);
    font-weight: 540;
    letter-spacing: -.035em;
    line-height: 1.06;
}

.tas-tasacion-decision p {
    max-width: 430px;
    margin: 1rem 0 0;
    color: var(--tas-grey-500);
    line-height: 1.6;
}

/* Blog */

.tas-tasacion-blog {
    background: var(--tas-white);
}

.tas-tasacion-blog-card {
    display: block;
gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: center;
    padding: clamp(2rem, 4vw, 3.5rem);
    border: 1px solid var(--tas-border);
    background: var(--tas-white);
    transition: background-color .25s ease, color .25s ease;
}

.tas-tasacion-blog-icon {
    display: flex;
    width: 90px;
    height: 90px;
    align-items: center;
    justify-content: center;
    background: var(--tas-red);
    color: var(--tas-white);
}

.tas-tasacion-blog-icon i {
    font-size: 2.6rem;
}

.tas-tasacion-blog-content small,
.tas-tasacion-blog-content strong {
    display: block;
}

.tas-tasacion-blog-content small {
    margin-bottom: .6rem;
    color: var(--tas-red);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tas-tasacion-blog-content strong {
    max-width: 850px;
    font-size: clamp(1.35rem, 2.25vw, 2.25rem);
    font-weight: 530;
    letter-spacing: -.035em;
    line-height: 1.15;
}

.tas-tasacion-blog-link {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    font-size: .84rem;
    font-weight: 680;
    white-space: nowrap;
}

.tas-tasacion-blog-card:hover {
    background: var(--tas-black);
    color: var(--tas-white) !important;
}

.tas-tasacion-blog-card:hover .tas-tasacion-blog-content small {
    color: rgba(255, 255, 255, .55);
}

/* Contacto */

.tas-tasacion-contact {
    background: var(--tas-off-white);
}

.tas-tasacion-contact-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(2rem, 5vw, 6rem);
    padding: clamp(2.5rem, 5vw, 5rem);
    background: var(--tas-red);
    color: var(--tas-white);
}

.tas-tasacion-contact-panel .tas-section-kicker {
    color: rgba(255, 255, 255, .58);
}

.tas-tasacion-contact-panel h2 {
    max-width: 13ch;
    margin: 0;
    font-size: clamp(2.4rem, 4.6vw, 4.8rem);
    font-weight: 530;
    letter-spacing: -.055em;
    line-height: .98;
}

.tas-tasacion-contact-panel p:not(.tas-section-kicker) {
    max-width: 700px;
    margin: 1.35rem 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.65;
}

.tas-tasacion-contact-panel .tas-btn {
    flex: 0 0 auto;
}

/* Animación */

.tas-tasacion-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s cubic-bezier(.22, 1, .36, 1);
}

.tas-tasacion-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


@media (min-width: 768px) {
    .tas-tasacion-purpose-list > .col-md-6:nth-child(odd) {
        border-right: 1px solid var(--tas-border);
    }
}

/* Responsive */

@media (max-width: 1199.98px) {
    .tas-tasacion-service {
        min-height: 250px;
    }
}

@media (max-width: 991.98px) {
    .tas-tasacion-hero {
        padding: 5.4rem 0 2rem;
        background-position: center;
    }

    .tas-tasacion-hero-overlay {
        background: rgba(16, 16, 16, .72);
    }

    .tas-tasacion-hero-layout,
    .tas-tasacion-hero-content {
        min-height: 460px;
    }

    .tas-tasacion-hero-content {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .tas-tasacion-service-grid {
}

    .tas-tasacion-purpose-media {
        min-height: 480px;
    }

    .tas-tasacion-decision-grid {
}

    .tas-tasacion-decision {
        min-height: auto;
    }

    .tas-tasacion-blog-card {
}

    .tas-tasacion-blog-icon {
        width: 76px;
        height: 76px;
    }

    .tas-tasacion-blog-link {
}

    .tas-tasacion-contact-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .tas-tasacion-hero-layout {
        min-height: 0;
    }

    .tas-tasacion-hero-title {
        font-size: clamp(2.35rem, 11vw, 3.45rem);
    }

    .tas-tasacion-hero-text {
        margin-top: 1.15rem;
        font-size: .96rem;
        line-height: 1.55;
    }

    .tas-tasacion-hero-actions {
        margin-top: 1.4rem;
    }

    .tas-tasacion-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .tas-tasacion-hero-actions .tas-btn {
        width: 100%;
    }

    .tas-tasacion-service {
        min-height: 0;
        padding: 1.5rem 1.25rem 4.5rem;
    }
.tas-tasacion-service-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        margin-bottom: 1.15rem;
    }

    .tas-tasacion-service-icon i {
        font-size: 1.75rem;
    }

    .tas-tasacion-service-content h3 {
        font-size: 1.25rem;
    }

    .tas-tasacion-service-content p {
        margin-top: .55rem;
        font-size: .88rem;
    }

    .tas-tasacion-purpose-media {
        min-height: 360px;
    }

    .tas-tasacion-purpose-list > div {
}

    .tas-tasacion-decision {
        padding: 2rem 1.5rem;
    }

    .tas-tasacion-decision > i {
        margin-bottom: 2rem;
    }

    .tas-tasacion-blog-card {
padding: 1.5rem;
    }

    .tas-tasacion-blog-icon {
        width: 58px;
        height: 58px;
    }

    .tas-tasacion-blog-icon i {
        font-size: 1.9rem;
    }

    .tas-tasacion-blog-content strong {
        font-size: 1.18rem;
    }

    .tas-tasacion-contact-panel {
        padding: 2.3rem 1.5rem;
    }

    .tas-tasacion-contact-panel .tas-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tas-tasacion-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .tas-tasacion-service,
    .tas-tasacion-service-icon,
    .tas-tasacion-service-content p,
    .tas-tasacion-service-arrow,
    .tas-tasacion-blog-card {
        transition: none;
    }
}
