body.contact-page {
    min-height: 100vh;
    background-color: #eef7f5;
    background-image:
        linear-gradient(rgba(247, 251, 250, 0.72), rgba(247, 251, 250, 0.9)),
        url("../images/homepage-heaven-background.png");
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

body.contact-page main.container {
    max-width: 1120px;
}

.contact-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 2rem;
    align-items: center;
    padding: 1.5rem 0 2.5rem;
}

.contact-intro {
    color: #2f4643;
}

.contact-kicker {
    margin-bottom: 0.75rem;
    color: #47706c;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.contact-title {
    font-weight: 700;
}

.contact-copy {
    color: #5e706d;
    font-size: 1.08rem;
    line-height: 1.65;
}

.contact-note {
    display: grid;
    gap: 0.25rem;
    margin-top: 1.5rem;
    padding: 1rem;
    border: 1px solid rgba(71, 112, 108, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: #5e706d;
}

.contact-note strong {
    color: #2f4643;
}

.contact-card {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 70px rgba(42, 73, 71, 0.13);
    backdrop-filter: blur(3px);
}

.contact-card .form-control {
    border-color: #c9d8d6;
}

.contact-card .form-control:focus {
    border-color: #47706c;
    box-shadow: 0 0 0 0.2rem rgba(71, 112, 108, 0.18);
}

.contact-card .btn-primary {
    --bs-btn-bg: #47706c;
    --bs-btn-border-color: #47706c;
    --bs-btn-hover-bg: #395f5b;
    --bs-btn-hover-border-color: #395f5b;
    --bs-btn-active-bg: #304f4c;
    --bs-btn-active-border-color: #304f4c;
}

.contact-card .captcha-image {
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .contact-shell {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding-top: 0.75rem;
    }

    .contact-copy {
        font-size: 1rem;
    }

    .contact-card .btn {
        width: 100%;
    }
}

/* Contact: warm support page */
body.contact-page {
    background-image:
        linear-gradient(120deg, rgba(18, 63, 70, 0.78), rgba(255, 250, 240, 0.82) 48%, rgba(232, 242, 238, 0.94)),
        repeating-linear-gradient(135deg, rgba(255, 250, 240, 0.12) 0 1px, transparent 1px 24px),
        url("../images/homepage-heaven-background.png");
}

.contact-shell {
    min-height: min(740px, calc(100vh - 11rem));
}

.contact-intro {
    padding: 1.25rem;
    color: #fffaf0;
}

.contact-kicker {
    color: #f2c76e;
}

.contact-title {
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 800;
    text-wrap: balance;
}

.contact-copy {
    color: rgba(255, 250, 240, 0.78);
}

.contact-note {
    border-color: rgba(255, 250, 240, 0.18);
    background: rgba(255, 250, 240, 0.1);
    color: rgba(255, 250, 240, 0.78);
}

.contact-note strong {
    color: #fffaf0;
}

.contact-card {
    overflow: hidden;
    border: 0 !important;
    background: rgba(255, 250, 240, 0.94);
    box-shadow: 0 34px 90px rgba(10, 30, 34, 0.24);
}

.contact-card::before {
    content: "";
    display: block;
    height: 0.36rem;
    background: linear-gradient(90deg, var(--bmp-petal), var(--bmp-gold), var(--bmp-evergreen-2));
}

/* Final paradise contact pass */
body.contact-page {
    background-color: #eaf8ff;
    background-image:
        linear-gradient(115deg, rgba(24, 62, 70, 0.76) 0%, rgba(255, 252, 240, 0.78) 50%, rgba(234, 248, 255, 0.94) 100%),
        image-set(
            url("../images/home-pet-paradise-hero.webp") type("image/webp"),
            url("../images/home-pet-paradise-hero.png") type("image/png")
        );
    background-position: center;
    background-size: cover;
}

.contact-intro {
    padding: clamp(1rem, 3vw, 2rem);
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(24, 62, 70, 0.58), rgba(24, 62, 70, 0.22));
    backdrop-filter: blur(3px);
}

.contact-card {
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    background: rgba(255, 252, 240, 0.92);
    box-shadow: 0 30px 90px rgba(49, 86, 106, 0.2);
}

.contact-card::before {
    background: linear-gradient(90deg, #ff9fb2, #ffd56f, #98dcff);
}

@media (max-width: 767.98px) {
    .contact-intro {
        background: linear-gradient(180deg, rgba(24, 62, 70, 0.62), rgba(24, 62, 70, 0.28));
    }
}
