
.contact-page {
    min-height: 100vh;
    padding-top: 76px;
}

.contact-hero {
    padding: 92px 0 74px;
    background:
        radial-gradient(
            circle at 78% 8%,
            rgba(45,151,255,.17),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #061626,
            #020914
        );
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 360px;
    align-items: end;
    gap: 60px;
}

.contact-hero-copy {
    max-width: 720px;
}

.contact-hero-copy > small,
.contact-section-heading > small,
.contact-hero-card > small,
.location-info > small,
.contact-final-card > small {
    color: var(--blue2);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .14em;
}

.contact-hero-copy h1 {
    margin: 12px 0 17px;
    font-size: clamp(52px,7vw,82px);
    line-height: .98;
    letter-spacing: -.055em;
}

.contact-hero-copy h1 span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px rgba(228,242,255,.85);
}

.contact-hero-copy > p {
    max-width: 620px;
    margin: 0;
    color: #a2b7c7;
    font-size: 14px;
    line-height: 1.75;
}

.contact-hero-actions {
    margin-top: 27px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.contact-primary-button,
.contact-secondary-button {
    min-height: 45px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 820;
}

.contact-primary-button {
    background: linear-gradient(135deg,#2e9dff,#155cd3);
    box-shadow: 0 16px 35px rgba(28,126,255,.20);
}

.contact-secondary-button {
    color: #c5d7e5;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
}

.contact-hero-card {
    padding: 25px;
    border-radius: 22px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(54,163,255,.14),
            transparent 38%
        ),
        rgba(8,29,50,.75);
    border: 1px solid var(--border);
    box-shadow: 0 28px 70px rgba(0,0,0,.26);
}

.contact-hero-card h2 {
    margin: 8px 0 10px;
    font-size: 25px;
}

.contact-hero-card p {
    margin: 0;
    color: #8fa7ba;
    font-size: 11px;
    line-height: 1.7;
}

.contact-hero-card-line {
    height: 1px;
    margin: 18px 0 14px;
    background:
        linear-gradient(
            90deg,
            rgba(78,174,250,.22),
            transparent
        );
}

.contact-hero-card span {
    color: #9eb2c2;
    font-size: 9px;
}

.contact-section {
    padding: 82px 0;
}

.contact-section-alt {
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(7,25,43,.55),
            transparent
        );
}

.contact-section-heading {
    margin-bottom: 26px;
}

.contact-section-heading h2 {
    margin: 7px 0 0;
    font-size: clamp(34px,4vw,48px);
    letter-spacing: -.04em;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 300px;
    gap: 40px;
}

.about-main {
    max-width: 760px;
}

.about-main p {
    margin: 0 0 18px;
    color: #adbfcc;
    font-size: 14px;
    line-height: 1.85;
}

.about-side {
    display: grid;
    gap: 8px;
}

.about-side > div {
    min-height: 84px;
    padding: 15px;
    display: grid;
    align-content: center;
    border-radius: 15px;
    background: rgba(8,28,48,.72);
    border: 1px solid var(--border);
}

.about-side small {
    color: #70889b;
    font-size: 7px;
    font-weight: 850;
    letter-spacing: .12em;
}

.about-side strong {
    margin-top: 3px;
    font-size: 18px;
}

.contact-channel-grid,
.social-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
}

.contact-channel {
    min-height: 200px;
    padding: 21px;
    display: flex;
    flex-direction: column;
    border-radius: 19px;
    background: #071a2d;
    border: 1px solid var(--border);
}

.contact-channel.featured {
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(58,166,255,.20),
            transparent 36%
        ),
        linear-gradient(
            145deg,
            #0c3b65,
            #081b2d 78%
        );
}

.contact-channel small,
.social-card small {
    color: var(--blue2);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .12em;
}

.contact-channel h3 {
    margin: 9px 0 8px;
    font-size: 21px;
}

.contact-channel p {
    margin: 0;
    color: #8fa7ba;
    font-size: 10px;
    line-height: 1.65;
}

.contact-channel > span {
    margin-top: auto;
    padding-top: 20px;
    color: var(--blue2);
    font-size: 9px;
    font-weight: 800;
}

.location-layout {
    display: grid;
    grid-template-columns: minmax(0,1.5fr) minmax(280px,.5fr);
    overflow: hidden;
    border-radius: 22px;
    background: #071a2d;
    border: 1px solid var(--border);
}

.location-map,
.location-map iframe {
    min-height: 420px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.location-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-info h3 {
    margin: 8px 0 10px;
    font-size: 22px;
    line-height: 1.4;
}

.location-info p {
    margin: 0 0 20px;
    color: #8fa7ba;
    font-size: 10px;
    line-height: 1.7;
}

.location-info a {
    color: var(--blue2);
    font-size: 9px;
    font-weight: 800;
}

.social-card {
    min-height: 140px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 17px;
    background: rgba(8,28,48,.72);
    border: 1px solid var(--border);
}

.social-card strong {
    margin: 7px 0 0;
    font-size: 16px;
}

.social-card span {
    margin-top: auto;
    color: #869daf;
    font-size: 9px;
}

.faq-list {
    max-width: 900px;
    display: grid;
    gap: 8px;
}

.faq-item {
    overflow: hidden;
    border-radius: 15px;
    background: rgba(8,28,48,.66);
    border: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    min-height: 64px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: white;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
}

.faq-question b {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--blue2);
    background: rgba(45,150,255,.08);
    font-size: 17px;
    font-weight: 400;
    transition: transform .2s ease;
}

.faq-item.is-open .faq-question b {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 18px 18px;
}

.faq-answer p {
    max-width: 780px;
    margin: 0;
    color: #9bb0c0;
    font-size: 12px;
    line-height: 1.8;
}

.contact-empty {
    min-height: 160px;
    padding: 25px;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 16px;
    background: rgba(8,28,48,.55);
    border: 1px dashed var(--border);
}

.contact-empty small {
    color: var(--blue2);
    font-size: 8px;
}

.contact-empty h3 {
    margin: 7px 0 0;
}

.contact-final {
    padding: 10px 0 90px;
}

.contact-final-card {
    padding: 50px 25px;
    text-align: center;
    border-radius: 25px;
    background:
        radial-gradient(
            circle at 50% 0,
            rgba(53,162,255,.22),
            transparent 36%
        ),
        linear-gradient(
            145deg,
            #0c3154,
            #061522 75%
        );
    border: 1px solid var(--border);
}

.contact-final-card h2 {
    margin: 8px 0 9px;
    font-size: clamp(34px,4.5vw,50px);
}

.contact-final-card p {
    margin: 0 0 20px;
    color: #8fa7ba;
    font-size: 11px;
}

.contact-final-card a {
    min-height: 43px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg,#2e9dff,#155cd3);
    font-size: 10px;
    font-weight: 820;
}

@media (max-width: 900px) {
    .contact-page { padding-top: 66px; }
    .contact-hero-grid { grid-template-columns: 1fr; }
    .contact-hero-card { max-width: 520px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-side { grid-template-columns: repeat(3,1fr); }
    .contact-channel-grid,
    .social-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .location-layout { grid-template-columns: 1fr; }
    .location-map,
    .location-map iframe { min-height: 340px; }
}

@media (max-width: 640px) {
    .contact-hero { padding: 55px 0 50px; }
    .contact-hero-grid { gap: 28px; }
    .contact-hero-copy h1 { font-size: clamp(48px,14vw,62px); }
    .contact-hero-copy > p { font-size: 12px; }
    .contact-hero-actions { display: grid; }
    .contact-primary-button,
    .contact-secondary-button { width: 100%; }
    .contact-section { padding: 64px 0; }
    .contact-section-heading h2 { font-size: 33px; }
    .about-main p { font-size: 13px; }
    .about-side { grid-template-columns: 1fr; }
    .contact-channel-grid,
    .social-grid { grid-template-columns: 1fr; }
    .contact-channel { min-height: 165px; }
    .location-info { padding: 22px; }
    .faq-question {
        min-height: 60px;
        padding: 0 15px;
        font-size: 12px;
    }
    .faq-answer { padding: 0 15px 16px; }
    .faq-answer p { font-size: 11px; }
}


/* ==========================================================
   Contact compact social cards v3.5
   ========================================================== */

.social-grid {
    gap: 9px;
}

.social-card {
    min-height: 88px;
    padding: 14px 16px;
    justify-content: center;
    border-radius: 14px;
}

.social-card strong {
    margin: 4px 0 0;
    font-size: 13px;
}

.social-card span {
    margin-top: 8px;
    font-size: 8px;
}

@media (max-width: 640px) {
    .social-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: 7px;
    }

    .social-card {
        min-height: 84px;
        padding: 12px 9px;
        text-align: center;
        align-items: center;
    }

    .social-card small {
        font-size: 6.5px;
    }

    .social-card strong {
        font-size: 10px;
    }

    .social-card span {
        display: none;
    }
}


/* ==========================================================
   Contact Clean v3.6
   ========================================================== */

/* Remove empty second column after Focus/Create/Future cards were removed */
.about-grid {
    display: block;
}

.about-main {
    max-width: 820px;
}

/* Unified compact contact/social hub */
.contact-hub-section {
    padding-top: 58px;
    padding-bottom: 58px;
}

.contact-hub-heading {
    margin-bottom: 18px;
}

.contact-hub-heading p {
    max-width: 620px;
    margin: 8px 0 0;
    color: #8fa7ba;
    font-size: 11px;
    line-height: 1.65;
}

.contact-icon-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.contact-icon-card {
    min-height: 118px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    border-radius: 16px;
    background:
        linear-gradient(
            145deg,
            rgba(10,38,64,.90),
            rgba(6,23,39,.96)
        );
    border: 1px solid rgba(99,183,248,.15);
    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease;
}

.contact-icon-card:hover {
    transform: translateY(-2px);
    border-color: rgba(97,190,255,.38);
    background:
        linear-gradient(
            145deg,
            rgba(13,55,91,.96),
            rgba(7,27,46,.98)
        );
}

.contact-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 3px;
    border-radius: 13px;
    color: #69c7ff;
    background: rgba(48,151,255,.10);
    border: 1px solid rgba(83,178,251,.16);
}

.contact-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-icon-card strong {
    max-width: 100%;
    color: #f5f9fc;
    font-size: 11px;
    line-height: 1.25;
}

.contact-icon-card small {
    max-width: 100%;
    overflow: hidden;
    color: #7e97aa;
    font-size: 7.5px;
    line-height: 1.35;
    text-overflow: ellipsis;
}

.contact-icon-line .contact-icon {
    color: #7ee6b7;
    background: rgba(50,207,145,.09);
    border-color: rgba(77,220,162,.16);
}

/* Old giant contact/social cards are no longer used */
.contact-channel-grid,
.social-grid {
    margin: 0;
}

@media (max-width: 1000px) {
    .contact-icon-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .contact-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .contact-hub-section {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .contact-hub-heading h2 {
        font-size: 34px;
    }

    .contact-hub-heading p {
        font-size: 10px;
    }

    .contact-icon-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .contact-icon-card {
        min-height: 104px;
        padding: 12px 7px;
        border-radius: 14px;
    }

    .contact-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .contact-icon svg {
        width: 21px;
        height: 21px;
    }

    .contact-icon-card strong {
        font-size: 9.5px;
    }

    .contact-icon-card small {
        font-size: 6.5px;
        white-space: nowrap;
    }

    /* Reduce About section vertical footprint */
    .about-main p {
        margin-bottom: 13px;
        font-size: 12px;
        line-height: 1.72;
    }
}


@media (max-width: 640px) {
    .topbar {
        display: none !important;
    }

    .contact-page {
        padding-top: 0 !important;
    }
}
