:root {
    --navy-950: #061b30;
    --navy-900: #0a2540;
    --navy-800: #12395d;
    --medical-50: #f1f5f9;
    --medical-100: #e6f2fb;
    --medical-200: #cde7f8;
    --medical-500: #2189d8;
    --pulse-500: #e63946;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

a,
button,
summary {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(33, 137, 216, .4);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    inset-block-start: 1rem;
    inset-inline-start: -9999px;
    z-index: 100;
    border-radius: .75rem;
    background: var(--navy-950);
    color: #fff;
    padding: .8rem 1rem;
    font-weight: 800;
}

.skip-link:focus {
    inset-inline-start: 1rem;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    min-width: 0;
    color: var(--navy-950);
    font-size: clamp(.92rem, 2vw, 1.1rem);
    font-weight: 800;
    letter-spacing: -.04em;
}

.brand-mark {
    display: grid;
    width: 2.45rem;
    height: 2.45rem;
    flex: none;
    place-items: center;
    border-radius: .8rem;
    background: linear-gradient(145deg, var(--pulse-500), #ff5864);
    color: #fff;
    box-shadow: 0 10px 25px -12px rgba(230, 57, 70, .8);
}

.brand-mark svg {
    width: 1.8rem;
    height: 1.8rem;
}

header nav a {
    position: relative;
    padding-block: .5rem;
    transition: color .2s ease;
}

header nav a::after {
    position: absolute;
    inset-inline: 0;
    inset-block-end: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--pulse-500);
    content: '';
    transform: scaleX(0);
    transition: transform .2s ease;
}

header nav a:hover {
    color: var(--pulse-500);
}

header nav a:hover::after {
    transform: scaleX(1);
}

.button-primary,
.button-secondary,
.button-ghost {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: .85rem;
    padding: .82rem 1.25rem;
    font-size: .84rem;
    font-weight: 800;
    line-height: 1.1;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.button-primary {
    background: var(--pulse-500);
    color: #fff;
    box-shadow: 0 14px 30px -15px rgba(230, 57, 70, .9);
}

.button-primary:hover {
    background: #cf2634;
    box-shadow: 0 18px 34px -16px rgba(230, 57, 70, 1);
    transform: translateY(-2px);
}

.button-secondary {
    border: 1px solid rgba(10, 37, 64, .24);
    background: #fff;
    color: var(--navy-900);
}

.button-secondary:hover {
    border-color: var(--navy-900);
    transform: translateY(-2px);
}

.button-ghost {
    color: var(--navy-800);
}

.button-ghost:hover {
    background: var(--medical-100);
}

.language-menu {
    display: none;
    margin: 0;
    padding: .3rem;
    list-style: none;
}

.language-dropdown.open .language-menu {
    display: block;
}

.language-dropdown.open .language-toggle i {
    transform: rotate(180deg);
}

.language-toggle i {
    transition: transform .2s ease;
}

.hero-shell {
    position: relative;
    background:
        radial-gradient(circle at 80% 42%, rgba(33, 137, 216, .14), transparent 26rem),
        linear-gradient(118deg, #fff 0%, #f7fbff 55%, #edf6fd 100%);
}

.hero-shell::before {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(10, 37, 64, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 37, 64, .025) 1px, transparent 1px);
    background-size: 42px 42px;
    content: '';
    mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 80%, transparent);
    pointer-events: none;
}

.hero-grid {
    position: relative;
}

.eyebrow,
.section-kicker {
    color: #126eb0;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    border: 1px solid var(--medical-200);
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    padding: .62rem .92rem;
}

.eyebrow::before {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--pulse-500);
    box-shadow: 0 0 0 5px rgba(230, 57, 70, .1);
    content: '';
}

.check-dot {
    display: inline-grid;
    width: 1.45rem;
    height: 1.45rem;
    place-items: center;
    border-radius: 50%;
    background: var(--medical-100);
    color: #126eb0;
    font-size: .72rem;
}

.hero-visual {
    position: relative;
    min-height: 34rem;
    isolation: isolate;
}

.hero-orbit {
    position: absolute;
    inset: 3rem 7% 2rem 10%;
    z-index: -2;
    border: 1px solid rgba(33, 137, 216, .2);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .88) 0%, rgba(230, 242, 251, .62) 55%, rgba(230, 242, 251, 0) 72%);
    box-shadow: inset 0 0 80px rgba(33, 137, 216, .06);
}

.hero-orbit::before,
.hero-orbit::after {
    position: absolute;
    border: 1px dashed rgba(33, 137, 216, .18);
    border-radius: 50%;
    content: '';
}

.hero-orbit::before {
    inset: 9%;
}

.hero-orbit::after {
    inset: 20%;
}

.hero-pulse-line {
    position: absolute;
    inset-inline: -10%;
    inset-block-start: 48%;
    z-index: -1;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, .75), transparent);
    box-shadow: 0 0 15px rgba(230, 57, 70, .25);
}

.hero-runner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 24px 30px rgba(10, 37, 64, .14));
}

[dir='rtl'] .hero-runner {
    transform: scaleX(-1);
}

.hero-note {
    position: absolute;
    z-index: 2;
    display: flex;
    max-width: 13.5rem;
    align-items: center;
    gap: .7rem;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .9);
    padding: .75rem .9rem;
    color: #64748b;
    font-size: .69rem;
    line-height: 1.35;
    box-shadow: 0 20px 50px -28px rgba(10, 37, 64, .55);
    backdrop-filter: blur(14px);
}

.hero-note strong {
    display: block;
    color: var(--navy-900);
    font-size: .78rem;
}

.hero-note-icon {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: none;
    place-items: center;
    border-radius: .65rem;
    background: var(--medical-100);
    color: #126eb0;
    font-size: 1.1rem;
    font-weight: 800;
}

.hero-note-top {
    inset-block-start: 11%;
    inset-inline-end: 0;
}

.hero-note-bottom {
    inset-block-end: 10%;
    inset-inline-start: 0;
}

.section-title {
    margin-block-start: .75rem;
    color: var(--navy-950);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.1;
}

.section-copy {
    margin-block-start: 1rem;
    max-width: 46rem;
    color: #64748b;
    font-size: 1.02rem;
    line-height: 1.8;
}

.section-kicker-light {
    color: #91d0fb;
}

.audience-card,
.service-card,
.condition-group {
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    background: #fff;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.audience-card:hover,
.service-card:hover,
.condition-group:hover {
    border-color: var(--medical-200);
    box-shadow: 0 24px 55px -32px rgba(10, 37, 64, .38);
    transform: translateY(-4px);
}

.audience-card {
    padding: 1.35rem;
}

.feature-icon {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    border-radius: .9rem;
    background: var(--medical-100);
    color: #126eb0;
    font-size: 1.05rem;
    font-weight: 800;
}

.status-pill {
    border-radius: 999px;
    background: #fff1f2;
    color: #be123c;
    padding: .42rem .7rem;
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
}

.audience-card h3,
.service-card h3,
.condition-group h3,
.academy-card h3 {
    margin-block-start: 1.25rem;
    color: var(--navy-950);
    font-size: 1.15rem;
    font-weight: 800;
}

.audience-card p,
.service-card > p,
.academy-card p {
    margin-block-start: .55rem;
    color: #64748b;
    font-size: .86rem;
    line-height: 1.65;
}

.audience-card a {
    display: inline-flex;
    gap: .4rem;
    margin-block-start: 1.15rem;
    color: #126eb0;
    font-size: .8rem;
    font-weight: 800;
}

.service-card {
    position: relative;
    overflow: hidden;
    padding: 1.8rem;
}

.service-number {
    color: var(--pulse-500);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.service-card ul {
    margin-block-start: 1.2rem;
    display: grid;
    gap: .65rem;
}

.service-card li {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    color: #334155;
    font-size: .8rem;
}

.service-card li span {
    color: #126eb0;
    font-weight: 800;
}

.portrait-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 2rem;
    background: linear-gradient(145deg, #194c77, #0b2946);
    box-shadow: 0 35px 80px -35px rgba(0, 0, 0, .65);
}

.portrait-frame::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 27, 48, .52), transparent 48%);
    content: '';
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.portrait-badge {
    position: absolute;
    inset-inline-end: -1rem;
    inset-block-end: 2rem;
    z-index: 2;
    display: grid;
    max-width: 12rem;
    border-radius: 1.1rem;
    background: #fff;
    padding: 1rem 1.15rem;
    color: #475569;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .7);
}

.credential-card {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .055);
    padding: 1rem;
}

.credential-card > span {
    display: grid;
    width: 2.2rem;
    height: 2.2rem;
    flex: none;
    place-items: center;
    border-radius: .7rem;
    background: rgba(33, 137, 216, .18);
    color: #91d0fb;
}

.credential-card strong {
    font-size: .84rem;
}

.credential-card p {
    margin-block-start: .25rem;
    color: #94a3b8;
    font-size: .72rem;
    line-height: 1.5;
}

.focus-chip {
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    padding: .55rem .8rem;
    color: #dbeafe;
    font-size: .72rem;
    font-weight: 700;
}

.process-step {
    display: flex;
    gap: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    padding: 1rem;
}

.process-step > span {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    flex: none;
    place-items: center;
    border-radius: .8rem;
    background: var(--navy-900);
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
}

.process-step strong {
    color: var(--navy-950);
    font-size: .9rem;
}

.process-step p {
    margin-block-start: .25rem;
    color: #64748b;
    font-size: .8rem;
    line-height: 1.55;
}

.online-panel {
    border: 1px solid var(--medical-200);
    border-radius: 1.6rem;
    background: linear-gradient(145deg, #f8fcff, #edf7ff);
    padding: clamp(1.4rem, 5vw, 2.5rem);
    box-shadow: 0 28px 70px -40px rgba(10, 37, 64, .4);
}

.condition-chip {
    display: flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid #dbeafe;
    border-radius: .8rem;
    background: #fff;
    padding: .75rem;
    color: #334155;
    font-size: .75rem;
    font-weight: 700;
}

.condition-chip span {
    color: #126eb0;
}

.safety-note {
    border-inline-start: 4px solid var(--pulse-500);
    border-radius: .85rem;
    background: #fff;
    padding: 1rem;
}

.safety-note strong {
    color: var(--navy-950);
    font-size: .85rem;
}

.safety-note p {
    margin-block-start: .35rem;
    color: #64748b;
    font-size: .76rem;
    line-height: 1.6;
}

.condition-group {
    padding: 1.7rem;
}

.condition-group ul {
    margin-block-start: 1rem;
    display: grid;
    gap: .7rem;
}

.condition-group li {
    position: relative;
    padding-inline-start: 1rem;
    color: #475569;
    font-size: .83rem;
}

.condition-group li::before {
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: .55rem;
    width: .35rem;
    height: .35rem;
    border-radius: 50%;
    background: var(--pulse-500);
    content: '';
}

.academy-shell {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 15%, rgba(33, 137, 216, .35), transparent 30rem),
        linear-gradient(140deg, #061b30 0%, #0a2540 48%, #12395d 100%);
}

.academy-shell::after {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px);
    background-size: 24px 24px;
    content: '';
    opacity: .35;
    pointer-events: none;
}

.academy-shell > div {
    position: relative;
    z-index: 1;
}

.academy-plan {
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    padding: .65rem .9rem;
    color: #dbeafe;
    font-size: .72rem;
    font-weight: 700;
}

.academy-plan-premium {
    border-color: rgba(230, 57, 70, .5);
    background: rgba(230, 57, 70, .14);
    color: #fecdd3;
}

.academy-card {
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, .075);
    padding: 1.35rem;
    backdrop-filter: blur(10px);
}

.academy-card > span {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: .8rem;
    background: rgba(145, 208, 251, .15);
    color: #91d0fb;
    font-weight: 800;
}

.academy-card h3 {
    color: #fff;
}

.academy-card p {
    color: #bfdbfe;
}

.academy-card small {
    display: inline-block;
    margin-block-start: .85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    padding: .38rem .6rem;
    color: #cbd5e1;
    font-size: .62rem;
    font-weight: 800;
}

.booking-shell {
    display: grid;
    gap: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 2rem;
    background: linear-gradient(140deg, #fff, #f8fbfe);
    padding: clamp(1.5rem, 5vw, 3.5rem);
    box-shadow: 0 35px 80px -50px rgba(10, 37, 64, .45);
}

.booking-option {
    display: flex;
    gap: .8rem;
    border-radius: 1rem;
    background: #fff;
    padding: .9rem;
    box-shadow: 0 12px 30px -25px rgba(10, 37, 64, .6);
}

.booking-option > span {
    color: var(--pulse-500);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.booking-option strong {
    color: var(--navy-950);
    font-size: .8rem;
}

.booking-option p {
    margin-block-start: .2rem;
    color: #64748b;
    font-size: .7rem;
    line-height: 1.45;
}

.contact-card {
    border-radius: 1.5rem;
    background: #fff;
    padding: 1.6rem;
    box-shadow: 0 25px 60px -40px rgba(10, 37, 64, .55);
}

.contact-card dt {
    color: #94a3b8;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-card dd {
    margin-block-start: .3rem;
    color: var(--navy-950);
    font-size: .88rem;
    font-weight: 700;
}

.contact-card a:hover {
    color: var(--pulse-500);
}

.social-link {
    border-radius: .7rem;
    background: var(--medical-50);
    padding: .55rem .7rem;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    padding: 0 1.1rem;
}

.faq-item summary {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.1rem;
    color: var(--navy-950);
    font-size: .9rem;
    font-weight: 800;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    padding-block-end: 1.15rem;
    color: #64748b;
    font-size: .82rem;
    line-height: 1.7;
}

.faq-plus {
    color: var(--pulse-500);
    font-size: 1.2rem;
    transition: transform .2s ease;
}

.faq-item[open] .faq-plus {
    transform: rotate(45deg);
}

.mobile-actions {
    position: fixed;
    inset-inline: .75rem;
    inset-block-end: .75rem;
    z-index: 60;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 1rem;
    box-shadow: 0 20px 45px -18px rgba(6, 27, 48, .55);
}

.mobile-actions a {
    display: grid;
    min-height: 3.2rem;
    place-items: center;
    background: var(--navy-900);
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
}

.mobile-actions a:last-child {
    background: var(--pulse-500);
}

@media (min-width: 900px) {
    .booking-shell {
        grid-template-columns: 1.25fr .75fr;
        align-items: start;
    }
}

@media (max-width: 1023px) {
    .hero-grid {
        min-height: auto;
    }

    .hero-visual {
        min-height: 30rem;
    }
}

@media (max-width: 639px) {
    body {
        padding-block-end: 4.5rem;
    }

    .hero-visual {
        min-height: 23rem;
    }

    .hero-note {
        max-width: 10.5rem;
        padding: .6rem;
        font-size: .58rem;
    }

    .hero-note strong {
        font-size: .65rem;
    }

    .hero-note-icon {
        width: 1.7rem;
        height: 1.7rem;
    }

    .hero-note-top {
        inset-block-start: 4%;
    }

    .hero-note-bottom {
        inset-block-end: 3%;
    }

    .portrait-badge {
        inset-inline-end: -.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
