.home-contact-cta {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: clamp(25rem, 36vw, 31rem);
    align-items: flex-end;
    overflow: hidden;
    padding: clamp(2.5rem, 6vw, 4.5rem) 1rem;
    border-top: 1px solid rgba(184, 137, 49, 0.2);
    background-color: #d9c19a;
    background-image: var(--home-contact-image);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.home-contact-cta::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(250, 244, 232, 0.08) 0%, rgba(26, 21, 14, 0.16) 48%, rgba(15, 12, 8, 0.82) 100%),
        linear-gradient(90deg, rgba(20, 16, 10, 0.12), transparent 44%, rgba(20, 16, 10, 0.08));
    content: "";
}

.home-contact-cta::after {
    position: absolute;
    z-index: -1;
    inset: auto 10% -7rem;
    height: 13rem;
    border-radius: 999px;
    background: rgba(221, 175, 73, 0.2);
    filter: blur(4.5rem);
    content: "";
    pointer-events: none;
}

.home-contact-cta__container {
    width: min(100%, 72rem);
    margin-inline: auto;
}

.home-contact-cta__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    overflow: hidden;
    padding: clamp(1.4rem, 3.2vw, 2.25rem);
    border: 1px solid rgba(255, 236, 190, 0.22);
    border-radius: 1.8rem;
    background:
        linear-gradient(115deg, rgba(16, 13, 9, 0.9), rgba(27, 22, 15, 0.7)),
        rgba(18, 15, 10, 0.76);
    color: #fff;
    box-shadow: 0 28px 70px -35px rgba(8, 6, 3, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.home-contact-cta__panel::before {
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(238, 202, 118, 0.8), transparent);
    content: "";
}

.home-contact-cta__copy {
    max-width: 44rem;
}

.home-contact-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #edce85;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.04em;
}

.home-contact-cta__eyebrow > i {
    width: 2.25rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d6a641);
}

.home-contact-cta h2 {
    margin-top: 0.85rem;
    color: #fff;
    font-size: clamp(1.75rem, 3.3vw, 2.9rem);
    font-weight: 900;
    line-height: 1.42;
    letter-spacing: -0.035em;
}

.home-contact-cta h2 em {
    display: block;
    color: #e6bb5b;
    font-style: normal;
}

.home-contact-cta__copy > p {
    max-width: 42rem;
    margin-top: 0.85rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.8rem;
    line-height: 2;
}

.home-contact-cta__details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    margin-top: 1rem;
}

.home-contact-cta__details span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.68rem;
    font-weight: 600;
}

.home-contact-cta__details i {
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 999px;
    background: #e5b64d;
    box-shadow: 0 0 0 0.25rem rgba(229, 182, 77, 0.1);
}

.home-contact-cta__action {
    display: flex;
    min-width: 15.5rem;
    align-items: flex-end;
    flex-direction: column;
    gap: 0.7rem;
}

.home-contact-cta__action > span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
}

.home-contact-cta__phone {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.8rem 1.45rem;
    border: 1px solid rgba(255, 232, 177, 0.5);
    border-radius: 999px;
    background: linear-gradient(135deg, #f0cf7b, #b67b1e);
    color: #17130b;
    font-size: 0.78rem;
    font-weight: 850;
    box-shadow: 0 16px 34px -18px rgba(221, 169, 64, 0.92);
    transition:
        transform 200ms ease,
        box-shadow 200ms ease,
        filter 200ms ease;
}

.home-contact-cta__phone:hover {
    transform: translateY(-0.15rem);
    filter: brightness(1.05);
    box-shadow: 0 20px 38px -17px rgba(229, 180, 80, 0.95);
}

.home-contact-cta__phone:focus-visible,
.home-contact-cta__contact-link:focus-visible {
    outline: 3px solid rgba(255, 224, 151, 0.58);
    outline-offset: 4px;
}

.home-contact-cta__phone svg {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
}

.home-contact-cta__phone > span {
    display: grid;
    gap: 0.1rem;
}

.home-contact-cta__phone small,
.home-contact-cta__phone strong {
    display: block;
}

.home-contact-cta__phone small {
    font-size: 0.62rem;
    font-weight: 700;
}

.home-contact-cta__phone strong {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.home-contact-cta__contact-link {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.65rem;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: rgba(230, 187, 91, 0.5);
    text-underline-offset: 0.3rem;
    transition: color 180ms ease;
}

.home-contact-cta__contact-link:hover {
    color: #f0cf7b;
}

@media (max-width: 767px) {
    .home-contact-cta {
        min-height: 32rem;
        padding: 1rem 0.75rem;
        background-position: center;
        background-attachment: scroll;
    }

    .home-contact-cta::before {
        background: linear-gradient(180deg, rgba(25, 20, 13, 0.05) 0%, rgba(20, 16, 10, 0.25) 38%, rgba(13, 10, 7, 0.9) 100%);
    }

    .home-contact-cta__panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.35rem;
        padding: 1.35rem;
        border-radius: 1.45rem;
    }

    .home-contact-cta__copy {
        text-align: center;
    }

    .home-contact-cta__eyebrow {
        justify-content: center;
    }

    .home-contact-cta h2 {
        font-size: clamp(1.65rem, 8vw, 2.15rem);
    }

    .home-contact-cta__copy > p {
        font-size: 0.75rem;
    }

    .home-contact-cta__details {
        justify-content: center;
    }

    .home-contact-cta__action {
        width: 100%;
        min-width: 0;
        align-items: center;
    }

    .home-contact-cta__phone {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-contact-cta__phone,
    .home-contact-cta__contact-link {
        transition: none;
    }
}
