/* ================================================================
   ONESKY INNOVATIONS — CONTACT PAGE
   Page-specific UI. Loaded after style.css.
   ================================================================ */

.contact-page {
    --ct-blue: #0070E0;
    --ct-cyan: #00C2FF;
    --ct-dark: #081226;
    --ct-text: #0F172A;
    --ct-muted: #64748B;
    --ct-border: #E2E8F0;
    --ct-bg: #F8FAFC;
    --ct-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

/* HERO */
.contact-hero {
    position: relative;
    overflow: hidden;
    padding: 105px 0 78px;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 112, 224, .08), transparent 30%),
        radial-gradient(circle at 88% 15%, rgba(0, 194, 255, .08), transparent 30%),
        linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    border-bottom: 1px solid rgba(226, 232, 240, .7);
}

.contact-hero::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    left: -390px;
    top: -250px;
    border: 1px solid rgba(0, 112, 224, .08);
    border-radius: 50%;
}

.contact-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -260px;
    bottom: -270px;
    border: 1px solid rgba(0, 194, 255, .08);
    border-radius: 50%;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 930px
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: var(--ct-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.contact-eyebrow::before {
    content: "";
    width: 25px;
    height: 2px;
    background: linear-gradient(90deg, var(--ct-blue), var(--ct-cyan));
    border-radius: 99px;
}

.contact-hero h1 {
    max-width: 850px;
    margin: 0 0 22px;
    color: var(--ct-dark);
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -.055em;
    font-weight: 800;
}

.contact-hero h1 span {
    background: linear-gradient(120deg, #0066D6, #008FEA, #00C2FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.contact-hero-lead {
    max-width: 760px;
    margin: 0;
    color: var(--ct-muted);
    font-size: 17px;
    line-height: 1.75;
}

.contact-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.contact-hero-meta span {
    padding: 8px 12px;
    border: 1px solid rgba(0, 112, 224, .10);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

/* MAIN */
.contact-section {
    padding: 90px 0;
    background: #fff
}

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

/* LEFT SIDE */
.contact-intro {
    margin-bottom: 22px
}

.contact-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--ct-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.contact-intro h2 {
    margin: 0 0 13px;
    color: var(--ct-dark);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.contact-intro p {
    margin: 0;
    color: var(--ct-muted);
    font-size: 14px;
    line-height: 1.7
}

.office-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 14px;
    padding: 25px;
    border: 1px solid var(--ct-border);
    border-radius: 18px;
    background: linear-gradient(145deg, #fff, #f8fbff);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .045);
}

.office-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -90px;
    top: -80px;
    border: 1px solid rgba(0, 112, 224, .08);
    border-radius: 50%;
}

.office-label {
    display: block;
    margin-bottom: 13px;
    color: var(--ct-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.office-card h3 {
    margin: 0 0 8px;
    color: var(--ct-dark);
    font-size: 18px
}

.office-card p {
    margin: 3px 0;
    color: #64748B;
    font-size: 13px;
    line-height: 1.55
}

.office-card p strong {
    color: var(--ct-text)
}

.channel-stack {
    display: grid;
    gap: 10px
}

.channel-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 17px 18px;
    border: 1px solid var(--ct-border);
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: all .3s cubic-bezier(.16, 1, .3, 1);
}

.channel-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 112, 224, .22);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
}

.channel-main {
    min-width: 0
}

.channel-label {
    display: block;
    margin-bottom: 4px;
    color: var(--ct-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.channel-card strong {
    display: block;
    overflow-wrap: anywhere;
    color: var(--ct-dark);
    font-size: 14px;
}

.channel-action {
    flex: 0 0 auto;
    color: var(--ct-blue);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

/* FORM */
.contact-form-card {
    position: relative;
    padding: 32px;
    border: 1px solid var(--ct-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--ct-shadow);
}

.contact-form-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(90deg, var(--ct-blue), var(--ct-cyan));
}

.form-head {
    margin-bottom: 25px
}

.form-head .contact-kicker {
    margin-bottom: 8px
}

.form-head h2 {
    margin: 0 0 8px;
    color: var(--ct-dark);
    font-size: 29px;
    letter-spacing: -.035em
}

.form-head p {
    margin: 0;
    color: var(--ct-muted);
    font-size: 13px;
    line-height: 1.65
}

.contact-form .form-group {
    margin-bottom: 17px
}

.contact-form label {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.contact-form .form-input {
    width: 100%;
    box-sizing: border-box;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #DCE3EB;
    border-radius: 10px;
    outline: none;
    background: #FBFDFF;
    color: var(--ct-dark);
    font: inherit;
    font-size: 13px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.contact-form select.form-input {
    cursor: pointer
}

.contact-form .form-input::placeholder {
    color: #94A3B8
}

.contact-form .form-input:focus {
    border-color: rgba(0, 112, 224, .48);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 112, 224, .08);
}

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

.contact-submit {
    width: 100%;
    min-height: 49px;
    margin-top: 3px
}

.contact-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 13px;
    color: #64748B;
    font-size: 11px;
    line-height: 1.55;
}

.contact-note::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 112, 224, .08);
    color: var(--ct-blue);
    font-weight: 800;
}

/* BOTTOM CTA */
.contact-bottom-cta {
    padding: 0 0 90px;
    background: #fff
}

.contact-cta-box {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 32px 35px;
    border: 1px solid rgba(0, 112, 224, .12);
    border-radius: 20px;
    background: linear-gradient(120deg, #F7FBFF, #fff);
}

.contact-cta-box::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -140px;
    top: -120px;
    border: 1px solid rgba(0, 194, 255, .10);
    border-radius: 50%;
}

.contact-cta-box>div {
    position: relative;
    z-index: 1
}

.contact-cta-box h3 {
    margin: 0 0 6px;
    color: var(--ct-dark);
    font-size: 21px;
    letter-spacing: -.025em
}

.contact-cta-box p {
    margin: 0;
    color: var(--ct-muted);
    font-size: 13px;
    line-height: 1.6
}

.contact-cta-box .btn {
    position: relative;
    z-index: 2;
    flex: 0 0 auto
}

.contact-page .footer-social {
    margin-top: 2px;
}

.contact-page .footer-social a {
    text-decoration: none;
}

/* FOOTER */
.contact-page .footer {
    margin-top: 0
}

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

    .contact-info-col {
        max-width: 760px
    }
}

@media (max-width:650px) {
    .contact-hero {
        padding: 82px 0 60px
    }

    .contact-section {
        padding: 65px 0
    }

    .contact-form-card {
        padding: 23px 18px
    }

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

    .contact-cta-box {
        align-items: flex-start;
        flex-direction: column;
        padding: 25px 21px
    }

    .channel-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px
    }

    .channel-action {
        white-space: normal
    }
}