/* ==========================================================
   MDofficeMail — Contact Us page
   Reuses color tokens + .hipaa-intro / .hipaa-cta from
   mdomhipaa.css (loaded before this file).
========================================================== */

.contact-container {
    margin: 0 auto;
}

.contact-page {
background: linear-gradient(rgba(255, 255, 255, 1), rgba(245, 248, 250, 0.8));
    padding: 56px 0 10px;
}


/* =========================
   INFO CARD GRID
========================= */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 44px;
}

.contact-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px 22px 20px;
	text-align:center;
}

.contact-card .icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--paper);
    color: var(--brand);
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.contact-card h3 {
    font-family: "Poppins", sans-serif;
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 700;
    margin: 0 0 10px;
}

.contact-card p {
    margin: 0 0 4px;
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.55;
}

.contact-card a {
    color: var(--brand-deep);
    font-weight: 600;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-card .hours {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.contact-card.span-2 {
    grid-column: span 2;
}


/* =========================
   CONTACT FORM PANEL
========================= */

.contact-form-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 32px 34px 34px;
}

.contact-form-head {
    margin-bottom: 22px;
}

.contact-form-head h2 {
    font-family: "Poppins", sans-serif;
    color: var(--ink);
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 8px;
}

.contact-form-head p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form .form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form .form-group-full {
    width: 100%;
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}

.contact-form label span {
    color: var(--brand);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    font-family: "Roboto", sans-serif;
    font-size: 14.5px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 11px 14px;
    transition: border-color .2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand);
}

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

.contact-form button.contact-panel-btn {
    border: none;
    cursor: pointer;
    margin-top: 4px;
}


/* =========================
   MAP + ADDRESS PANEL
========================= */

.contact-split {
    margin-bottom: 30px;
}

.contact-map-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.contact-map-wrap {
    line-height: 0;
    flex: none;
}



.contact-map-address {
    display: flex;
    gap: 16px;
    padding: 26px 28px;
    flex: 1;
}

.contact-map-address i {
    flex: none;
    font-size: 20px;
    color: var(--brand);
    margin-top: 2px;
}

.contact-map-address h3 {
    font-family: "Poppins", sans-serif;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px;
}

.contact-map-address p {
    margin: 0 0 6px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
}

.contact-map-address p.mt {
    margin-top: 14px;
}

.contact-map-address strong {
    color: var(--ink);
}

.contact-panel-btn {

    align-items: center;
    gap: 8px;
    background: var(--brand);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    border-radius: 8px;
    padding: 13px 24px;
    transition: background .2s ease;
}

.contact-panel-btn:hover {
    background: var(--brand-deep);
    color: #fff;
}

.contact-privacy-note {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 40px;
}

.contact-privacy-note a {
    color: var(--brand-deep);
    font-weight: 600;
}


/* =========================
   QUICK LINKS
========================= */

.contact-quicklinks-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.contact-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-quicklinks a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand-deep);
    background: var(--verified-tint);
    border: 1px solid #cfe7db;
    border-radius: 20px;
    padding: 8px 16px;
    text-decoration: none;
}

.contact-quicklinks a:hover {
    text-decoration: underline;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-card.span-2 {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card.span-2 {
        grid-column: span 1;
    }

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

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form .form-row-3 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form button.contact-panel-btn {
        width: 100%;
        justify-content: center;
    }
}
