/* Contact page — same landing theme as the homepage. */

.lp-contact-page {
    padding-top: clamp(2.2rem, 4.5vw, 3.4rem);
}

.lp-contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
    gap: 1.25rem 1.5rem;
    align-items: start;
}

.lp-contact-intro h1 {
    margin: 0;
    font-family: var(--lp-display);
    font-weight: 600;
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--lp-ink);
}

.lp-contact-intro .lp-lead {
    max-width: 36rem;
}

.lp-contact-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.45rem;
}

.lp-contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.95rem;
}

.lp-contact-social a {
    text-decoration: none;
    border: 1px solid var(--lp-line);
    background: #fff;
    color: var(--lp-maroon);
    border-radius: 999px;
    padding: 0.42rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.lp-contact-social a:hover {
    background: var(--lp-maroon);
    border-color: var(--lp-maroon);
    color: #fff;
}

.lp-contact-form-panel {
    position: sticky;
    top: 6.4rem;
    padding: clamp(1.4rem, 2.5vw, 1.85rem);
    border-radius: 28px;
    border: 1px solid var(--lp-line);
    background: #fff;
    box-shadow: 0 22px 48px rgba(10, 20, 84, 0.1);
    overflow: hidden;
}

.lp-contact-form-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--lp-maroon), var(--lp-maroon-2) 52%, #fff);
}

.lp-contact-form-panel h2 {
    margin: 0 0 1.2rem;
    font-family: var(--lp-display);
    font-weight: 600;
    font-size: clamp(1.9rem, 3vw, 2.45rem);
    line-height: 1.12;
    color: var(--lp-ink);
}

.lp-contact-form {
    display: grid;
    gap: 1rem;
}

.lp-contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.lp-field {
    display: grid;
    gap: 0.4rem;
}

.lp-field span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lp-muted);
}

.lp-field input,
.lp-field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--lp-line);
    border-radius: 14px;
    font: inherit;
    color: var(--lp-ink);
    background: var(--lp-cream);
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.lp-field textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.5;
}

.lp-field input:focus,
.lp-field textarea:focus {
    outline: none;
    background: #fff;
    border-color: rgba(10, 20, 84, 0.45);
    box-shadow: 0 0 0 3px rgba(10, 20, 84, 0.12);
}

.lp-contact-form .lp-btn {
    justify-self: start;
    margin-top: 0.15rem;
    border: 1px solid var(--lp-maroon);
    cursor: pointer;
    font-family: inherit;
}

.lp-alert {
    margin: 0 0 1.1rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.45;
    border: 1px solid transparent;
}

.lp-alert-ok {
    background: rgba(10, 20, 84, 0.08);
    border-color: rgba(10, 20, 84, 0.22);
    color: var(--lp-maroon);
}

.lp-alert-err {
    background: rgba(180, 50, 40, 0.08);
    border-color: rgba(180, 50, 40, 0.2);
    color: #8d241c;
}

.lp-alert-info {
    background: rgba(10, 20, 84, 0.06);
    border-color: var(--lp-line);
    color: var(--lp-ink);
}

@media (max-width: 860px) {
    .lp-contact-layout {
        grid-template-columns: 1fr;
    }

    .lp-contact-form-panel {
        position: static;
        border-radius: 20px;
    }
}

@media (max-width: 640px) {
    .lp-contact-form-grid {
        grid-template-columns: 1fr;
    }

    .lp-contact-form .lp-btn {
        width: 100%;
        justify-self: stretch;
    }
}
