/* =========================================================
   Contact Us Page
   ========================================================= */

.info-page {
    width: calc(100% - 48px) !important;
    max-width: 1440px !important;
    margin: 0 auto 56px;
}

.info-page-header {
    margin-bottom: 28px;
    padding: 32px 36px;
    background: linear-gradient(135deg, #fff7ed 0%, #fffaf5 100%);
    border: 1px solid #fed7aa;
    border-radius: 16px;
}

.info-page-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #ea580c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
}

.info-page-header h1 {
    margin: 0 0 10px;
    color: #111827;
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.2;
    font-weight: 800;
}

.info-page-header p {
    max-width: 760px;
    margin: 0;
    color: #5f6877;
    font-size: 15px;
    line-height: 1.75;
}

.info-page-content {
    padding: 0;
    background: transparent;
    border: 0;
}

/* Two-column contact layout */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
    gap: 30px;
    align-items: stretch;
}

.contact-form-panel,
.contact-details-panel {
    min-width: 0;
    border-radius: 16px;
    overflow: hidden;
}

.contact-form-panel {
    display: flex;
    flex-direction: column;
    padding: 32px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 26px rgba(17, 24, 39, .045);
}

.contact-details-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px;
    background: #f8fafc;
    border: 1px solid #dbe3ed;
}

.contact-details-panel > h2 {
    margin: 0 0 2px;
    color: #172033;
    font-size: 21px;
    line-height: 1.35;
}

.contact-intro {
    margin: 0 0 22px;
}

.contact-intro h2 {
    margin: 0 0 9px;
    color: #111827;
    font-size: 21px;
    line-height: 1.4;
}

.contact-intro p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.75;
}

/* Feedback messages */

.contact-success,
.contact-error {
    margin: 0 0 20px;
    padding: 13px 15px;
    border-radius: 9px;
    font-size: 14px;
    line-height: 1.55;
}

.contact-success {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.contact-error {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

/* Form fields */

.contact-form {
    display: flex;
    flex: 1;
    flex-direction: column;
    width: 100%;
    margin-top: 0;
}

.contact-form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
}

.contact-form-group {
    margin-bottom: 18px;
}

.contact-form-group label {
    display: block;
    margin-bottom: 7px;
    color: #253047;
    font-size: 13px;
    font-weight: 700;
}

.contact-form-group input,
.contact-form-group textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid #d4dae3;
    border-radius: 9px;
    background: #fff;
    color: #111827;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-form-group input {
    height: 50px;
}

.contact-form-group textarea {
    min-height: 170px;
    resize: vertical;
    line-height: 1.65;
}

.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder {
    color: #9aa3b2;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, .13);
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    width: 100%;
    margin-top: auto;
    padding: 12px 20px;
    border: 0;
    border-radius: 9px;
    background: #f97316;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.contact-submit:hover {
    background: #ea580c;
    box-shadow: 0 5px 14px rgba(234, 88, 12, .18);
}

.contact-submit:active {
    transform: translateY(1px);
}

/* Right-side contact cards */

.contact-info-card {
    flex: 1;
    padding: 19px 18px;
    background: #fff;
    border: 1px solid #e1e7ef;
    border-left: 3px solid #f97316;
    border-radius: 11px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.contact-info-card:hover {
    border-color: #fdba74;
    box-shadow: 0 5px 16px rgba(17, 24, 39, .045);
    transform: translateY(-1px);
}

.contact-info-card h3 {
    margin: 0 0 8px;
    color: #172033;
    font-size: 15px;
    line-height: 1.45;
}

.contact-info-card p {
    margin: 0 0 11px;
    color: #667085;
    font-size: 13px;
    line-height: 1.65;
}

.contact-info-card p:last-child {
    margin-bottom: 0;
}

.contact-info-card a {
    color: #c2410c;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-info-card a:hover {
    color: #9a3412;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Honeypot - hidden from normal users */

.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Tablet and mobile */

@media (max-width: 850px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .contact-form-panel,
    .contact-details-panel {
        padding: 24px;
    }

    .contact-details-panel {
        gap: 12px;
    }

    .contact-info-card {
        flex: initial;
    }
}

@media (max-width: 600px) {
    .info-page {
        width: min(100% - 24px, 560px);
        margin-bottom: 32px;
    }

    .info-page-header {
        margin-bottom: 18px;
        padding: 24px 20px;
        border-radius: 12px;
    }

    .info-page-header h1 {
        font-size: 28px;
    }

    .contact-form-panel,
    .contact-details-panel {
        padding: 20px 17px;
        border-radius: 12px;
    }

    .contact-form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .contact-form-group {
        margin-bottom: 16px;
    }

    .contact-intro {
        margin-bottom: 20px;
    }

    .contact-submit {
        width: 100%;
    }
}


/* Wider, more usable contact area */
@media (min-width: 901px) {
    .info-page-header,
    .info-page-content {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 700px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .contact-form-panel,
    .contact-details-panel {
        padding: 22px;
    }

    .contact-form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
}
