
.container-form {

    margin-top: .6rem;
}

.contact-wrap {
    max-width: 61.25rem;;
    margin: 10rem auto;
}

.contact-hero {
    text-align: center;
    margin-bottom: 2.25rem;
}

.contact-kicker {
    margin: 0;
    color: var(--brand);
    font-size: .95rem;
    font-weight: 800;

}

.contact-title {
    margin: .35rem 0 0;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.25;
    color: var(--text);
    font-weight: 800;
}

.contact-highlight {
    color: var(--accent);
    position: relative;
    white-space: nowrap;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.25fr .85fr;
    gap: 1rem;
    align-items: start;
}

.contact-card,
.contact-side-card {
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(229, 231, 235, .9);
    border-radius: 1.25rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-card {
    padding: 1.1rem;
}

.contact-card-head {
    padding: .2rem .2rem .9rem;
    border-bottom: 1px solid rgba(229, 231, 235, .9);
    margin-bottom: 1rem;
}

.contact-card-title {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0;
    font-size: 1.15rem;
    color: var(--text);
    font-weight: 800;
}

.contact-dot {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: var(--brand);
    box-shadow: 0 0 0 5px rgba(245, 158, 11, .18);
}

.contact-card-sub {
    margin: .35rem 0 0;
    color: var(--muted);
    font-size: .92rem;
    font-weight: 700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.contact-label {
    font-size: .9rem;
    color: var(--text);
    font-weight: 700;
}

.contact-input,
.contact-textarea {
    width: 100%;
    border-radius: .95rem;
    border: 1px solid rgba(229, 231, 235, .95);
    background: rgba(255, 255, 255, .92);
    padding: .85rem .95rem;
    outline: none;
    transition: box-shadow .15s ease, border-color .15s ease, transform .05s ease;
    color: #111827;
}

.contact-textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-input:focus,
.contact-textarea:focus {
    border-color: rgba(14, 122, 79, .55);
    box-shadow: 0 0 0 6px rgba(14, 122, 79, .14);
}

.contact-meta {
    display: flex;
    justify-content: flex-end;
}

.contact-hint {
    color: var(--muted);
    font-size: .82rem;
}

.contact-error {
    display: inline-block;
    color: #fff;
    background: #dc2626;
    padding: .35rem .55rem;
    border-radius: .6rem;
    font-size: .85rem;
}


.contact-submit {
    border: 0;
    border-radius: 999px;
    padding: .9rem 1.1rem;
    font-weight: 800;
    cursor: pointer;
    background: var(--brand);
    color: #111827;
    box-shadow: 0 10px 22px rgba(245, 158, 11, .22);
    transition: transform .08s ease, box-shadow .15s ease, filter .15s ease;
}

.contact-submit:hover {
    border-color: #cbd5e1;
    color: var(--accent);
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    text-decoration: underline;
    text-underline-offset: 3px;
    animation: bounce .35s ease-out;
}

.contact-submit:active {
    transform: translateY(1px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}


.contact-side {
    position: sticky;
    top: 1rem;
}

.contact-side-card {
    padding: 1.05rem;
}

.contact-side-title {
    margin: 0 0 .8rem;
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--text);
}

.contact-side-row {
    display: flex;
    gap: .75rem;
    padding: .7rem .65rem;
    border-radius: .95rem;
    border: 1px solid rgba(229, 231, 235, .8);
    background: rgba(255, 255, 255, .7);
    margin-bottom: .65rem;
}

.contact-side-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 122, 79, .10);
    border: 1px solid rgba(14, 122, 79, .18);
    flex: 0 0 auto;
}

.contact-side-label {
    font-size: .82rem;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: .1rem;
}

.contact-side-link {
    color: var(--accent);
    font-weight: 800;
    text-decoration: none;
}

.contact-side-link:hover {
    text-decoration: underline;
}

.contact-side-text {
    color: #111827;
    font-weight: 650;
}

.contact-side-note {
    margin-top: .85rem;
    padding: .85rem;
    border-radius: 1rem;
    background: rgba(14, 122, 79, .08);
    border: 1px dashed rgba(14, 122, 79, .28);
    color: #0b3d28;
    font-size: .92rem;
}


.contact-modal.hidden {
    display: none;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(4px);
}

.contact-modal-box {
    position: relative;
    z-index: 1;
    max-width: 28rem;
    margin: 30vh auto 0;
    padding: 1.75rem;
    background: #fff;
    border-radius: 1.25rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.contact-modal-box h3 {
    margin: 0 0 .5rem;
}

.contact-modal-box p {
    margin: 0;
}




/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-side {
        position: static;
        top: auto;
    }
}
