﻿/* ========================================
   Contact Page Styles
======================================== */

.contact-hero {
    position: relative;
    isolation: isolate;
    min-height: 460px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(7, 38, 68, 0.78) 0%, rgba(15, 124, 193, 0.5) 44%, rgba(255, 255, 255, 0.12) 100%),
        url("../images/contact-banner.webp") center center / cover no-repeat;
    padding: 120px 0 90px;
    text-align: center;
    color: #fff;
}

.contact-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(7, 38, 68, 0.18));
}

.hero-badge,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    background: var(--color-blue-main);
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero-badge {
    margin-bottom: 24px;
}

.contact-hero .hero-title {
    color: #fff;
    font-size: 48px;
    margin-bottom: 18px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-hero .hero-subtitle {
    font-size: 20px;
    opacity: 0.98;
    margin-bottom: 0;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-section {
    padding: var(--section-padding);
    background: #ffffff;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.contact-form-panel,
.assist-card,
.thank-you-message {
    background: #fff;
    border: 1px solid var(--color-gray-300);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

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

.form-header {
    margin-bottom: 26px;
}

.form-header h2,
.assist-card h2,
.assist-card h3 {
    color: var(--color-navy-deep);
}

.form-header h2 {
    margin: 14px 0 10px;
    font-size: 30px;
}

.form-header p,
.assist-card p,
.form-note,
.privacy-consent {
    color: var(--color-gray-700);
    line-height: 1.6;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    color: var(--color-gray-800);
    font-weight: 700;
    font-size: 14px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--color-gray-300);
    border-radius: 8px;
    color: var(--color-gray-800);
    font: inherit;
    background: #fff;
}

.form-field textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-blue-main);
    box-shadow: 0 0 0 3px rgba(43, 172, 226, 0.1);
}

.privacy-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0;
    font-size: 14px;
}

.privacy-consent input {
    margin-top: 5px;
    accent-color: var(--color-blue-main);
}

.privacy-consent a,
.contact-list a,
.contact-faq-section a {
    color: var(--color-blue-main);
    text-decoration: underline;
}

.contact-submit {
    width: 100%;
    justify-content: center;
}

.form-note {
    margin-top: 14px;
    font-size: 13px;
    text-align: center;
}

.contact-assist-panel {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 98px;
}

.assist-card {
    padding: 24px;
}

.assist-card-primary {
    border-top: 4px solid var(--color-blue-main);
}

.assist-card h2 {
    font-size: 24px;
    margin: 14px 0 10px;
}

.assist-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.assist-card .btn {
    margin-top: 18px;
}

.contact-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.contact-list li {
    display: flex;
    gap: 10px;
    color: var(--color-gray-700);
    line-height: 1.5;
}

.contact-list i {
    color: var(--color-blue-main);
    margin-top: 4px;
}

.thank-you-message {
    display: none;
    text-align: center;
    padding: 52px 24px;
    margin-top: 28px;
}

.thank-you-icon {
    width: 72px;
    height: 72px;
    background: var(--color-blue-main);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    margin: 0 auto 22px;
}

.contact-faq-section .feature-card {
    text-align: left;
}

.feature-icon {
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin-bottom: 20px;
}

.faq-item {
    background: var(--color-gray-100);
    padding: 30px;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    border-left: 4px solid var(--color-blue-main);
}

@media (max-width: 992px) {
    .contact-hero {
        min-height: 400px;
        padding: 100px 0 60px;
    }

    .contact-hero .hero-title {
        font-size: 38px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-assist-panel {
        position: static;
    }

    .feature-icon {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 360px;
        padding: 80px 0 50px;
    }

    .contact-hero .hero-title {
        font-size: 28px;
    }

    .contact-hero .hero-subtitle {
        font-size: 16px;
    }

    .hero-badge,
    .section-kicker {
        font-size: 12px;
        padding: 6px 16px;
    }

    .contact-form-panel,
    .assist-card {
        padding: 22px;
    }

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

    .feature-icon {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        min-height: 330px;
        padding: 70px 0 40px;
    }

    .feature-icon {
        width: 64px;
        height: 64px;
    }
}
.contact-list-icon {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px;
    max-height: 18px;
    flex: 0 0 18px;
    margin-top: 4px;
    object-fit: contain;
}

.contact-list li {
    align-items: flex-start;
}
/* Contact plain label spacing */
.contact-hero .hero-badge {
    margin-bottom: 18px;
}

.form-header .section-kicker,
.assist-card .section-kicker {
    margin-bottom: 10px;
}

.form-header h2 {
    margin-top: 8px;
}

.assist-card .section-kicker + h2 {
    margin-top: 8px;
}

/* Card system alignment: contact and support panels. */
.contact-form-panel,
.assist-card,
.contact-faq-section .feature-card,
.faq-item {
    border-radius: var(--card-radius);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
}

.assist-card:hover,
.contact-faq-section .feature-card:hover,
.faq-item:hover {
    transform: translateY(var(--card-hover-lift));
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(15, 124, 193, 0.28);
}

.contact-form-panel,
.assist-card,
.contact-faq-section .feature-card,
.faq-item {
    padding: var(--card-padding);
}
/* Final public UI: hide editorial overline labels across all pages. */
.hero-badge,
.section-kicker,
.about-eyebrow,
.partners-hero .badge-highlight {
    display: none !important;
}

/* Contact hero: remove image banner and align copy with the header logo. */
body.page-contact .contact-hero {
    min-height: 0;
    padding: 86px 0 78px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
    color: #111;
    text-align: left;
}

body.page-contact .contact-hero::after {
    display: none;
}

body.page-contact .contact-hero .container {
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: left;
}

body.page-contact .contact-hero .hero-badge {
    display: none;
}

body.page-contact .contact-hero .hero-title {
    color: #111;
    max-width: 620px;
    margin: 0 0 18px;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
}

body.page-contact .contact-hero .hero-subtitle {
    color: var(--color-gray-700);
    max-width: 650px;
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    body.page-contact .contact-hero {
        padding: 58px 0 48px;
    }

    body.page-contact .contact-hero .hero-title {
        font-size: 38px;
    }

    body.page-contact .contact-hero .hero-subtitle {
        font-size: 16px;
    }
}

/* Contact hero: align with the refined Terahealth page hero system. */
body.page-contact .contact-hero {
    padding: 104px 0 92px;
    background: var(--color-blue-main);
    color: #fff;
    text-align: left;
}

body.page-contact .contact-hero .container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
}

body.page-contact .contact-hero .hero-title {
    color: #fff;
    max-width: 650px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 20px;
    font-size: clamp(44px, 5vw, 68px);
    line-height: 1.06;
}

body.page-contact .contact-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.88);
    max-width: 720px;
    margin-left: 0;
    margin-right: 0;
    font-size: 19px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    body.page-contact .contact-hero {
        padding: 64px 0 54px;
    }

    body.page-contact .contact-hero .hero-title {
        font-size: 38px;
    }

    body.page-contact .contact-hero .hero-subtitle {
        font-size: 16px;
    }
}

