:root {
    --ink: #111827;
    --muted: #5d6978;
    --base: #14110d;
    --runway: #2c3138;
    --accent: #b45309;
    --accent-2: #0f766e;
    --gold: #f7b733;
    --sky: #2f80ed;
    --paper: #f7f3ea;
    --soft: #fff7ed;
    --wash: #dff7f2;
    --line: rgba(17, 24, 39, .12);
    --radius: 8px;
    --shadow: 0 22px 60px rgba(17, 24, 39, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    line-height: 1.65;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, .035) 1px, transparent 1px) 0 0 / 78px 78px,
        linear-gradient(180deg, #fff, var(--paper) 48%, #fff);
    text-rendering: optimizeLegibility;
}

a {
    color: var(--accent);
    text-decoration-thickness: .08em;
    text-underline-offset: .18em;
}

a:hover {
    color: #7c3707;
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    font-weight: 860;
    line-height: 1.05;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(2.35rem, 5.5vw, 5.25rem);
    max-width: 1050px;
}

h2 {
    font-size: clamp(1.72rem, 3.15vw, 3rem);
}

h3 {
    font-size: 1.18rem;
}

p {
    color: var(--muted);
}

.lead {
    color: #46515f;
    max-width: 850px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(20, 17, 13, .88);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 14px 36px rgba(17, 24, 39, .12);
    backdrop-filter: blur(18px);
    transition: background .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
    background: rgba(20, 17, 13, .96);
    box-shadow: 0 18px 46px rgba(17, 24, 39, .2);
}

.navbar {
    min-height: 78px;
}

.navbar-brand img {
    width: 210px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, .3);
}

.nav-link {
    position: relative;
    color: rgba(255, 255, 255, .78);
    font-size: .94rem;
    font-weight: 760;
    padding-inline: .58rem !important;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link.active:after {
    content: "";
    position: absolute;
    left: .58rem;
    right: .58rem;
    bottom: .24rem;
    height: 2px;
    background: var(--gold);
}

.btn {
    border-radius: 6px;
    font-weight: 820;
    letter-spacing: 0;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-cta {
    background: var(--gold);
    border-color: var(--gold);
    color: #14110d;
    box-shadow: 0 16px 32px rgba(247, 183, 51, .28);
}

.btn-cta:hover {
    background: #ffd05a;
    border-color: #ffd05a;
    color: #14110d;
    box-shadow: 0 18px 38px rgba(247, 183, 51, .34);
}

.btn-main {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 14px 30px rgba(180, 83, 9, .24);
}

.btn-main:hover {
    background: #7c3707;
    border-color: #7c3707;
    color: #fff;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, .72);
    color: #fff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--accent-2);
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 900;
}

.eyebrow:before {
    content: "";
    width: 32px;
    height: 2px;
    background: currentColor;
}

.hero {
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(100deg, rgba(10, 8, 5, .96) 0%, rgba(10, 8, 5, .78) 42%, rgba(10, 8, 5, .18) 100%),
        var(--hero) center / cover no-repeat;
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(110deg, transparent 0 54%, rgba(247, 183, 51, .34) 54.2% 54.8%, transparent 55%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 90px);
    mix-blend-mode: screen;
    opacity: .52;
    animation: runwaySweep 10s linear infinite;
}

.hero:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 116px;
    background: linear-gradient(180deg, transparent, rgba(247, 243, 234, .98));
}

.hero .container {
    position: relative;
    z-index: 2;
    padding-block: clamp(4rem, 8vw, 7rem);
}

.hero h1 {
    color: #fff;
    text-wrap: balance;
    text-shadow: 0 18px 55px rgba(0, 0, 0, .45);
}

.hero .lead {
    max-width: 760px;
    color: rgba(255, 255, 255, .86);
}

.hero .eyebrow {
    color: var(--gold);
}

.hero-panel {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(255, 255, 255, .52);
    border-radius: var(--radius);
    padding: 24px;
    color: var(--ink);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .3);
    backdrop-filter: blur(18px);
}

.hero-panel:before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--accent), var(--accent-2), var(--sky));
}

.hero-panel strong {
    display: block;
    color: var(--base);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1;
}

.hero-panel span {
    color: #5a6471;
    font-weight: 680;
}

.hero-panel hr {
    border-color: rgba(17, 24, 39, .16);
    opacity: 1;
}

.trust-strip {
    overflow: hidden;
    background: var(--base);
    color: rgba(255, 255, 255, .88);
    border-block: 1px solid rgba(255, 255, 255, .1);
    font-size: .86rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}

.trust-strip span:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 5px rgba(247, 183, 51, .16);
}

.section {
    position: relative;
    padding: clamp(4rem, 7vw, 7.5rem) 0;
}

.section-alt {
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(100deg, rgba(20, 17, 13, .93), rgba(20, 17, 13, .72)),
        url("/assets/img/apopka-flight-lessons-hero.jpg") center / cover no-repeat;
}

.section-alt h1,
.section-alt h2,
.section-alt h3 {
    color: #fff;
}

.section-alt p,
.section-alt .lead {
    color: rgba(255, 255, 255, .82);
}

.section-dark {
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(20, 17, 13, .96), rgba(44, 49, 56, .88)),
        url("/assets/img/apopka-flight-lessons-hero.jpg") center / cover no-repeat;
    color: #fff;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
    color: #fff;
}

.section-dark p {
    color: rgba(255, 255, 255, .8);
}

.layout-ribbon {
    border-top: 0;
}

label {
    color: #000;
} .feature-card,
.post-card,
.stat-card,
.path-card,
.locator-panel,
.faq details {
    position: relative;
    height: 100%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .93);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 16px 46px rgba(17, 24, 39, .08);
    backdrop-filter: blur(10px);
}

label {
    color: #000;
} .feature-card:before,
.post-card:before,
.path-card:before,
.locator-panel:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent-2));
    border-radius: var(--radius) var(--radius) 0 0;
}

label {
    color: #000;
} .feature-card:hover,
.post-card:hover,
.path-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

label {
    color: #000;
} .feature-card,
.post-card,
.path-card {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

label {
    color: #000;
} .feature-card h2,
.post-card h2,
.path-card h3 {
    font-size: clamp(1.25rem, 2vw, 1.7rem);
}

label {
    color: #000;
} .feature-card ul {
    padding-left: 1.15rem;
    color: #3f4a58;
}

.stat-card {
    overflow: hidden;
    min-height: 138px;
    background: #fff;
    border-left: 0;
}

.stat-card:after {
    content: "";
    position: absolute;
    right: -36px;
    bottom: -44px;
    width: 128px;
    height: 128px;
    border: 16px solid rgba(15, 118, 110, .1);
    transform: rotate(18deg);
}

.stat-card strong {
    display: block;
    color: var(--accent);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: .95;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.path-card {
    background: #fff;
}

.path-card span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--base);
    color: #fff;
    font-weight: 900;
    margin-bottom: 18px;
    box-shadow: 0 0 0 8px rgba(247, 183, 51, .14);
}

.split-band {
    position: relative;
    overflow: hidden;
    padding: clamp(3.5rem, 6vw, 6rem) 0;
    color: #fff;
    background:
        linear-gradient(110deg, rgba(20, 17, 13, .96), rgba(180, 83, 9, .83)),
        url("/assets/img/apopka-flight-lessons-hero.jpg") center / cover no-repeat;
}

.split-band:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 6px;
    background: linear-gradient(90deg, var(--gold), var(--accent-2), var(--sky), var(--accent));
}

.split-band h2,
.split-band .eyebrow {
    color: #fff;
}

.split-band p {
    color: rgba(255, 255, 255, .82);
}

.academy-band {
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(247, 243, 234, .96)),
        radial-gradient(circle at 85% 10%, rgba(15, 118, 110, .16), transparent 30%);
    border-block: 1px solid var(--line);
}

.locator-panel {
    background:
        linear-gradient(160deg, #fff 0 56%, rgba(223, 247, 242, .82)),
        #fff;
}

.faq details {
    height: auto;
    margin-bottom: 12px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.faq details[open] {
    border-color: rgba(180, 83, 9, .34);
    box-shadow: var(--shadow);
}

.faq summary {
    cursor: pointer;
    color: var(--ink);
    font-weight: 850;
}

.form-control,
.form-select {
    border-color: rgba(17, 24, 39, .18);
    border-radius: 6px;
    min-height: 48px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 .22rem rgba(180, 83, 9, .14);
}

.site-footer {
    position: relative;
    overflow: hidden;
    background: #14110d;
    color: rgba(255, 255, 255, .74);
    padding: 64px 0;
}

.site-footer:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 80px 80px,
        linear-gradient(180deg, rgba(247, 183, 51, .1), transparent 32%);
    pointer-events: none;
}

.site-footer .container {
    position: relative;
}

.site-footer img {
    border-radius: 6px;
}

.site-footer a {
    display: block;
    color: rgba(255, 255, 255, .86);
    text-decoration: none;
    margin: .42rem 0;
}

.site-footer a:hover {
    color: var(--gold);
}

.footer-title {
    color: #fff;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.mobile-cta {
    display: none;
}

.article-body {
    max-width: 900px;
}

.article-body h2 {
    margin-top: 2.2rem;
}

.article-body p {
    font-size: 1.06rem;
}

.reveal-ready {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal-ready.in-view {
    opacity: 1;
    transform: none;
}

.hero .eyebrow,
.hero h1,
.hero .lead,
.hero .btn,
.hero .hero-panel {
    animation: riseIn .85s ease both;
}

.hero h1 {
    animation-delay: .08s;
}

.hero .lead {
    animation-delay: .16s;
}

.hero .btn {
    animation-delay: .24s;
}

.hero .hero-panel {
    animation-delay: .3s;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes runwaySweep {
    from {
        background-position: 0 0, 0 0;
    }
    to {
        background-position: 0 0, 180px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .reveal-ready {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1199px) {
    .navbar-collapse {
        padding: 18px 0 22px;
    }

    .nav-link {
        padding-block: .5rem !important;
    }

    .nav-link.active:after {
        display: none;
    }
}

@media (max-width: 991px) {
    .section {
        padding: 56px 0;
    }

    .hero {
        min-height: auto;
    }

    .hero .container {
        padding-block: 68px 84px;
    }

    .hero-panel {
        margin-top: 24px;
    }

    .path-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mobile-cta {
        display: block;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 1040;
    }

    body {
        padding-bottom: 78px;
    }
}

@media (max-width: 575px) {
    .navbar-brand img {
        width: 180px;
    }

    .path-grid {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        font-size: .76rem;
    }

    .hero .d-flex {
        align-items: stretch;
    }

    .hero .btn {
        width: 100%;
    }
}
