/* ================================
   PERLA PAINT - CONTACT PAGE
   ================================ */

.contact-page {
    color: var(--text-dark);
    background:
        linear-gradient(90deg, rgba(56, 10, 20, 0.045) 1px, transparent 1px),
        var(--perla-light);
    background-size: 25vw 100%;
}

.contact-body .site-header {
    color: var(--perla-light);
    background: rgba(56, 10, 20, 0.96);
    border-bottom: 1px solid rgba(216, 197, 168, 0.12);
}

.contact-body .site-header::before {
    opacity: 0;
}

.contact-body .site-header.is-scrolled {
    color: var(--perla-bordo);
    background: rgba(234, 233, 229, 0.94);
    border-bottom-color: rgba(56, 10, 20, 0.1);
}

.contact-hero {
    padding: calc(var(--header-height) + 72px) 0 74px;
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.08fr);
    gap: 28px;
    align-items: stretch;
}

.contact-panel {
    padding: 38px;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--perla-light);
    background:
        radial-gradient(circle at 82% 18%, rgba(216, 197, 168, 0.18), transparent 30%),
        linear-gradient(145deg, #26070f 0%, var(--perla-bordo) 68%, #21060d 100%);
    border: 1px solid rgba(216, 197, 168, 0.18);
}

.contact-panel .page-kicker {
    color: var(--perla-gold-light);
}

.contact-panel h1 {
    max-width: 440px;
    margin-top: 18px;
    font-family: var(--font-heading);
    font-size: clamp(38px, 4.6vw, 66px);
    line-height: 1;
    letter-spacing: -0.045em;
}

.contact-panel p {
    max-width: 470px;
    margin-top: 18px;
    color: rgba(234, 233, 229, 0.74);
    font-size: 15px;
    line-height: 1.8;
}

.contact-direct-list {
    display: grid;
    gap: 10px;
    margin-top: 44px;
}

.contact-direct-list a {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px;
    align-items: center;
    padding: 17px 0;
    border-top: 1px solid rgba(234, 233, 229, 0.15);
}

.contact-direct-list span {
    color: var(--perla-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-direct-list strong {
    font-size: 15px;
    line-height: 1.35;
}

.contact-form {
    padding: 38px;
    border: 1px solid rgba(56, 10, 20, 0.12);
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 24px 80px rgba(56, 10, 20, 0.07);
}

.form-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(56, 10, 20, 0.11);
}

.form-head span {
    color: var(--perla-bordo);
    font-family: var(--font-heading);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: -0.035em;
}

.form-head p {
    max-width: 300px;
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.6;
}

.contact-form .form-control {
    background-color: rgba(234, 233, 229, 0.52);
}

.contact-form select.form-control {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--perla-bordo) 50%),
        linear-gradient(135deg, var(--perla-bordo) 50%, transparent 50%);
    background-position:
        calc(100% - 20px) 23px,
        calc(100% - 15px) 23px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.contact-form .btn {
    margin-top: 22px;
}

.contact-flow {
    padding: 0 0 88px;
}

.contact-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(56, 10, 20, 0.12);
    border-bottom: 1px solid rgba(56, 10, 20, 0.12);
}

.contact-flow-grid div {
    padding: 28px 28px 30px 0;
}

.contact-flow-grid span {
    display: block;
    margin-bottom: 18px;
    color: var(--perla-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.contact-flow-grid strong {
    display: block;
    margin-bottom: 8px;
    color: var(--perla-bordo);
    font-size: 18px;
    letter-spacing: -0.02em;
}

.contact-flow-grid p {
    max-width: 360px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 980px) {
    .contact-hero-grid,
    .contact-flow-grid {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .contact-hero {
        padding-top: calc(var(--header-height) + 44px);
        padding-bottom: 56px;
    }

    .contact-panel,
    .contact-form {
        padding: 24px;
    }

    .contact-panel h1 {
        font-size: clamp(34px, 12vw, 48px);
    }

    .contact-direct-list a,
    .form-head {
        display: block;
    }

    .contact-direct-list span,
    .form-head p {
        margin-bottom: 8px;
    }
}
