/* =========================================================
   EduOrk Academy — contact page styles
   ========================================================= */

/* ===== Contact page — modern layout (page-scoped) =====
ink #0f172a · brand red #dc2626 · paper #f4f6fb · white */
body {
    text-rendering: optimizeLegibility
}

.cx-wrap {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem
}

@media(min-width:640px) {
    .cx-wrap {
        padding: 0 1.5rem
    }
}

@media(min-width:1024px) {
    .cx-wrap {
        padding: 0 2rem
    }
}

.cx-band {
    padding: 3.5rem 0
}

@media(min-width:1024px) {
    .cx-band {
        padding: 5rem 0
    }
}

.cx-paper {
    background: #f4f6fb
}

.cx-white {
    background: #fff
}

.cx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    font-weight: 800;
    color: #dc2626
}

.cx-h2 {
    font-size: 1.9rem;
    line-height: 1.15;
    font-weight: 800;
    color: #0f172a;
    margin-top: .6rem;
    letter-spacing: -.01em
}

@media(min-width:640px) {
    .cx-h2 {
        font-size: 2.4rem
    }
}

.cx-sub {
    color: #475569;
    font-weight: 500;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 34rem
}

.cx-link {
    color: #dc2626;
    font-weight: 800
}

.cx-head {
    margin-bottom: 1.75rem
}

/* hero */
.cx-hero {
    color: #fff;
    padding: 2.5rem 0 3.5rem;
    background: radial-gradient(60rem 28rem at 88% -8%, rgba(220, 38, 38, .32), transparent 60%), radial-gradient(40rem 20rem at -5% 110%, rgba(220, 38, 38, .14), transparent 60%), #0f172a
}

@media(min-width:1024px) {
    .cx-hero {
        padding: 4rem 0 5rem
    }
}

.cx-hero-grid {
    display: grid;
    gap: 2.5rem;
    align-items: start
}

@media(min-width:1024px) {
    .cx-hero-grid {
        grid-template-columns: 1.05fr .95fr;
        gap: 4rem
    }
}

.cx-pill {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .4rem .95rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 800;
    color: #fecaca;
    background: rgba(220, 38, 38, .15);
    border: 1px solid rgba(248, 113, 113, .35)
}

.cx-hero h1 {
    font-size: 2.4rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-top: 1.1rem;
    color: #fff
}

@media(min-width:640px) {
    .cx-hero h1 {
        font-size: 3.2rem
    }
}

@media(min-width:1280px) {
    .cx-hero h1 {
        font-size: 3.6rem
    }
}

.cx-lead {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 500;
    margin-top: 1.1rem;
    max-width: 34rem
}

.cx-rows {
    display: grid;
    gap: .75rem;
    margin-top: 2rem;
    max-width: 34rem
}

.cx-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .9rem 1.1rem;
    border-radius: 1rem;
    color: #fff;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    transition: border-color .2s, background .2s
}

a.cx-row:hover {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(248, 113, 113, .6)
}

.cx-row small {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    color: #94a3b8
}

.cx-row strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    margin-top: .1rem;
    overflow-wrap: anywhere
}

.cx-ico {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, .2);
    color: #f87171
}

.cx-ico-light {
    background: #fee2e2;
    color: #dc2626
}

.cx-social {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-top: 1.5rem;
    color: #94a3b8;
    font-size: .85rem;
    font-weight: 700
}

.cx-social span {
    margin-right: .35rem
}

.cx-social a {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    color: #cbd5e1;
    transition: background .2s, color .2s
}

.cx-social a:hover {
    background: #dc2626;
    color: #fff
}

.cx-form {
    position: relative;
    overflow: hidden;
    background: #fff;
    color: #1e293b;
    border-radius: 1.5rem;
    padding: 1.75rem 1.4rem;
    box-shadow: 0 40px 70px -35px rgba(0, 0, 0, .7)
}

@media(min-width:640px) {
    .cx-form {
        padding: 2.25rem
    }
}

/* why */
.cx-why {
    display: grid;
    gap: 2rem
}

@media(min-width:1024px) {
    .cx-why {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center
    }
}

.cx-benefit {
    display: flex;
    gap: 1rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid #dfe4ee
}

.cx-benefit:first-child {
    padding-top: 0
}

.cx-benefit:last-child {
    border-bottom: 0;
    padding-bottom: 0
}

.cx-tile {
    flex-shrink: 0;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #dc2626;
    border: 1px solid #fecaca
}

.cx-benefit h3 {
    font-weight: 800;
    color: #0f172a;
    font-size: 1rem
}

.cx-benefit p {
    color: #64748b;
    font-size: .9rem;
    margin-top: .15rem
}

/* map */
.cx-map-wrap {
    position: relative
}

.cx-map {
    position: relative;
    height: 21rem;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #e2e8f0;
    box-shadow: 0 24px 50px -30px rgba(15, 23, 42, .45)
}

@media(min-width:1024px) {
    .cx-map {
        height: 31rem
    }
}

.cx-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0
}

.cx-addr {
    position: relative;
    z-index: 2;
    margin: -3rem 1rem 0;
    padding: 1.4rem;
    background: #fff;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 24px 44px -24px rgba(15, 23, 42, .45)
}

@media(min-width:1024px) {
    .cx-addr {
        position: absolute;
        left: 1.75rem;
        bottom: 1.75rem;
        margin: 0;
        width: 22.5rem
    }
}

.cx-addr-label {
    margin-top: .9rem;
    font-size: .75rem;
    font-weight: 800;
    color: #94a3b8
}

.cx-addr-text {
    margin-top: .25rem;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.5
}

.cx-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1rem;
    padding: .7rem 1.2rem;
    border-radius: .85rem;
    background: #dc2626;
    color: #fff;
    font-weight: 800;
    font-size: .85rem;
    transition: background .2s
}

.cx-btn:hover {
    background: #b91c1c
}

/* faq */
.cx-faq-grid {
    display: grid;
    gap: 2rem
}

@media(min-width:1024px) {
    .cx-faq-grid {
        grid-template-columns: .8fr 1.2fr;
        gap: 4rem
    }

    .cx-faq-side {
        position: sticky;
        top: 6.5rem;
        align-self: start
    }
}

#faq-accordion {
    counter-reset: faq-counter;
    display: grid;
    gap: 1rem
}

#faq-accordion>.faq-item {
    margin: 0
}

@media(prefers-reduced-motion:reduce) {
    .animate-pulse {
        animation: none !important
    }
}