:root {
    --fmc-ink: #142332;
    --fmc-muted: #5e6b78;
    --fmc-soft: #f4f8fb;
    --fmc-line: #d8e4ec;
    --fmc-card: #ffffff;
    --fmc-blue: #0a79a8;
    --fmc-blue-dark: #075775;
    --fmc-green: #138a6d;
    --fmc-gold: #c99a2e;
    --fmc-red: #bb3e3e;
    --fmc-shadow: 0 18px 48px rgba(20, 35, 50, .10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--fmc-ink);
    background: #fff;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.site-shell {
    min-height: 100vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(216, 228, 236, .86);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand img {
    width: 150px;
    height: auto;
}

.nav-toggle {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fmc-line);
    border-radius: 8px;
    color: var(--fmc-ink);
    background: #fff;
}

.primary-nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 12px;
    border: 1px solid var(--fmc-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--fmc-shadow);
}

.primary-nav.is-open {
    display: grid;
}

.nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--fmc-muted);
    font-weight: 700;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--fmc-blue-dark);
    background: #eaf5f9;
}

.header-actions {
    display: none;
}

.btn-fmc,
.btn-fmc-secondary,
.btn-fmc-light {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
}

.btn-fmc {
    color: #fff;
    background: var(--fmc-blue-dark);
}

.btn-fmc:hover {
    color: #fff;
    background: #064a64;
}

.btn-fmc-secondary {
    color: var(--fmc-blue-dark);
    border-color: #9bcfe2;
    background: #eef8fb;
}

.btn-fmc-light {
    color: var(--fmc-ink);
    border-color: rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .92);
}

.page-section {
    padding: 58px 0;
}

.section-soft {
    background: var(--fmc-soft);
}

.container-narrow,
.container-wide {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.container-narrow {
    max-width: 920px;
}

.hero {
    min-height: calc(100vh - 72px);
    display: grid;
    align-items: end;
    padding: 44px 0 30px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(6, 50, 72, .95) 0%, rgba(7, 87, 117, .82) 48%, rgba(10, 121, 168, .38) 100%),
        url("../images/logo.png") right 8% center / min(520px, 75vw) auto no-repeat,
        #075775;
}

.hero-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.hero-copy {
    max-width: 690px;
}

.eyebrow {
    margin: 0 0 12px;
    color: #bce7f3;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero h1,
.page-title h1 {
    margin: 0;
    font-size: clamp(36px, 9vw, 68px);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero p {
    margin: 18px 0 0;
    max-width: 620px;
    color: #e6f5fa;
    font-size: 18px;
}

.hero-actions {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 34px;
}

.metric {
    min-height: 92px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
}

.metric strong {
    display: block;
    font-size: 24px;
    line-height: 1;
}

.metric span {
    display: block;
    margin-top: 8px;
    color: #d6eef6;
    font-size: 13px;
}

.section-heading {
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
}

.section-heading h2,
.page-title h1,
.course-hero h1 {
    color: var(--fmc-ink);
    font-weight: 900;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 6vw, 44px);
    line-height: 1.08;
}

.section-heading p,
.page-title p,
.course-hero p {
    margin: 0;
    max-width: 720px;
    color: var(--fmc-muted);
    font-size: 17px;
}

.course-grid {
    display: grid;
    gap: 16px;
}

.course-card,
.info-card,
.testimonial-card,
.checkout-panel,
.student-row {
    border: 1px solid var(--fmc-line);
    border-radius: 8px;
    background: var(--fmc-card);
    box-shadow: 0 12px 30px rgba(20, 35, 50, .06);
}

.course-card {
    display: grid;
    min-height: 100%;
    overflow: hidden;
}

.course-media {
    min-height: 150px;
    display: grid;
    align-content: end;
    padding: 16px;
    color: #fff;
    background: linear-gradient(135deg, #075775, #138a6d);
}

.course-media span {
    width: max-content;
    max-width: 100%;
    padding: 7px 10px;
    border-radius: 999px;
    color: #063248;
    background: #d9f3f8;
    font-size: 12px;
    font-weight: 900;
}

.course-body {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.course-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.18;
}

.course-summary {
    margin: 0;
    color: var(--fmc-muted);
}

.meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.meta-list li,
.chip,
.filter-button {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.meta-list li {
    padding: 7px 10px;
    color: var(--fmc-blue-dark);
    background: #edf8fb;
}

.course-actions {
    display: grid;
    gap: 10px;
}

.split-grid,
.feature-grid,
.checkout-grid,
.student-grid {
    display: grid;
    gap: 18px;
}

.info-card,
.testimonial-card,
.checkout-panel,
.student-row {
    padding: 20px;
}

.info-card h3,
.testimonial-card h3,
.checkout-panel h2,
.student-row h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.info-card p,
.testimonial-card p,
.student-row p {
    margin: 0;
    color: var(--fmc-muted);
}

.student-dashboard {
    display: grid;
    gap: 18px;
}

.student-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.student-tabs a {
    flex: 0 0 auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid var(--fmc-line);
    border-radius: 8px;
    color: var(--fmc-muted);
    background: #fff;
    font-weight: 900;
}

.student-tabs a.is-active {
    color: #fff;
    border-color: var(--fmc-blue-dark);
    background: var(--fmc-blue-dark);
}

.student-list {
    display: grid;
    gap: 14px;
}

.student-course-row {
    display: grid;
    gap: 14px;
}

.filter-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.filter-button {
    flex: 0 0 auto;
    padding: 8px 13px;
    border: 1px solid var(--fmc-line);
    color: var(--fmc-muted);
    background: #fff;
}

.filter-button.is-selected {
    color: #fff;
    border-color: var(--fmc-blue-dark);
    background: var(--fmc-blue-dark);
}

a.filter-button {
    text-decoration: none;
}

.page-title,
.course-hero {
    padding: 44px 0 26px;
    background: var(--fmc-soft);
}

.course-hero-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.course-panel {
    border-radius: 8px;
    padding: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--fmc-blue-dark), var(--fmc-green));
}

.course-panel p {
    color: #dff6f4;
}

.module-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.module-list li {
    padding: 13px 14px;
    border: 1px solid var(--fmc-line);
    border-radius: 8px;
    background: #fff;
    font-weight: 800;
}

.checkout-steps {
    display: grid;
    gap: 14px;
    counter-reset: step;
}

.checkout-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.checkout-progress span {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid var(--fmc-line);
    border-radius: 8px;
    color: var(--fmc-muted);
    background: #fff;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
}

.checkout-progress span.is-active {
    color: #fff;
    border-color: var(--fmc-blue-dark);
    background: var(--fmc-blue-dark);
}

.checkout-panel {
    position: relative;
}

.checkout-panel::before {
    counter-increment: step;
    content: counter(step);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 999px;
    color: #fff;
    background: var(--fmc-blue-dark);
    font-weight: 900;
}

.checkout-panel[hidden] {
    display: none;
}

.payment-options {
    display: grid;
    gap: 10px;
}

.checkout-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.payment-option {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--fmc-line);
    border-radius: 8px;
    color: var(--fmc-ink);
    background: #fff;
    font: inherit;
    font-weight: 900;
    text-align: left;
}

.payment-option:hover,
.payment-option:focus {
    border-color: var(--fmc-blue);
    color: var(--fmc-blue-dark);
    background: #edf8fb;
}

.checkout-summary dl {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.checkout-summary dl div {
    display: grid;
    gap: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.checkout-summary dt {
    color: #dff6f4;
    font-size: 13px;
    font-weight: 900;
}

.checkout-summary dd {
    margin: 0;
    color: #fff;
    overflow-wrap: anywhere;
}

.form-grid {
    display: grid;
    gap: 12px;
}

.auth-card {
    max-width: 520px;
    margin: 0 auto;
    padding: 22px;
    border: 1px solid var(--fmc-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--fmc-shadow);
}

.form-grid label {
    display: grid;
    gap: 7px;
    color: var(--fmc-ink);
    font-weight: 800;
}

.form-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 800;
}

.form-alert-error {
    color: #8a241d;
    background: #fff0ed;
}

.form-alert-ok {
    color: #0f6b50;
    background: #eaf8f1;
}

.form-control-fmc {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid var(--fmc-line);
    border-radius: 8px;
    font: inherit;
}

.link-muted {
    width: max-content;
    max-width: 100%;
    color: var(--fmc-blue-dark);
    font-weight: 800;
}

.link-muted:hover {
    color: var(--fmc-green);
}

.footer {
    padding: 34px 0;
    color: #d8ebf1;
    background: #102033;
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.footer p {
    margin: 0;
    color: #b9ced7;
}

.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 30;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: #168c5c;
    box-shadow: 0 12px 34px rgba(20, 35, 50, .22);
}

.migration-alert {
    padding: 10px 16px;
    color: #7b271d;
    background: #fff1ee;
    font-size: 14px;
}

.admin-layout {
    display: grid;
    gap: 18px;
}

.admin-sidebar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.admin-sidebar a {
    flex: 0 0 auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid var(--fmc-line);
    border-radius: 8px;
    color: var(--fmc-muted);
    background: #fff;
    font-weight: 800;
}

.admin-sidebar a.is-active {
    color: #fff;
    border-color: var(--fmc-blue-dark);
    background: var(--fmc-blue-dark);
}

.admin-main,
.admin-section {
    display: grid;
    gap: 18px;
}

.admin-section {
    padding: 18px;
    border: 1px solid var(--fmc-line);
    border-radius: 8px;
    background: #fff;
}

.admin-section h2 {
    margin: 0;
    font-size: 22px;
}

.admin-cards {
    display: grid;
    gap: 14px;
}

.admin-form {
    display: grid;
    gap: 12px;
}

.admin-form label {
    display: grid;
    gap: 7px;
    color: var(--fmc-ink);
    font-weight: 800;
}

.admin-form textarea {
    min-height: 110px;
    resize: vertical;
}

.checkbox-line {
    display: flex !important;
    flex-direction: row;
    align-items: center;
}

.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    min-width: 660px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    border-bottom: 1px solid var(--fmc-line);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--fmc-muted);
    font-size: 13px;
    text-transform: uppercase;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-actions form {
    margin: 0;
}

.status-pill {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.status-pill-ok {
    color: #0f6b50;
    background: #eaf8f1;
}

.eco-hero {
    position: relative;
    color: #fff;
    overflow: hidden;
    background: #041a28;
}

.eco-hero-video-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.eco-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.88) contrast(1.02) brightness(.58);
}

.eco-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(4, 18, 28, .82) 0%, rgba(4, 27, 41, .58) 38%, rgba(4, 27, 41, .26) 100%),
        linear-gradient(180deg, rgba(6, 24, 39, .12), rgba(6, 24, 39, .28));
}

.eco-hero-inner {
    position: relative;
    z-index: 2;
    min-height: min(76vh, 700px);
    display: grid;
    gap: 16px;
    align-items: center;
    padding: 52px 0 38px;
}

.eco-hero-copy {
    max-width: 760px;
}

.eco-hero-copy h1 {
    margin: 0;
    max-width: 9ch;
    font-size: clamp(40px, 5.8vw, 64px);
    line-height: 1.02;
    text-wrap: pretty;
}

.eco-hero-copy p:not(.eyebrow) {
    margin: 16px 0 0;
    max-width: 560px;
    color: #e4f5fb;
    font-size: 16px;
}

.eco-hero-panel {
    display: none;
}

.eco-panel-label {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #083244;
    background: #d9f2f7;
    font-size: 12px;
    font-weight: 900;
}

.eco-hero-panel h2 {
    margin: 14px 0 10px;
    font-size: 24px;
    line-height: 1.12;
}

.eco-hero-panel p {
    margin: 0 0 16px;
    color: #dceff6;
    font-size: 15px;
}

.eco-hero-note {
    margin: 14px 0 0;
    color: #d6edf5;
    font-size: 14px;
}

.eco-hero-summary-band {
    margin-top: -14px;
    position: relative;
    z-index: 3;
}

.eco-hero-summary-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid rgba(10, 121, 168, .10);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(20, 35, 50, .10);
}

.eco-summary-copy {
    display: grid;
    gap: 10px;
}

.eco-summary-copy h2 {
    margin: 0;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.1;
}

.eco-summary-copy p {
    margin: 0;
    color: var(--fmc-muted);
}

.eco-summary-side {
    display: grid;
    gap: 14px;
    align-content: center;
}

.eco-logo-band {
    border-bottom: 1px solid var(--fmc-line);
    background: #fff;
}

.eco-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: center;
    padding: 22px 0;
}

.eco-logo-grid img {
    width: 100%;
    max-width: 180px;
    height: 56px;
    object-fit: contain;
    justify-self: center;
    filter: saturate(.98);
}

.eco-benefit-grid,
.eco-offer-grid {
    display: grid;
    gap: 16px;
}

.eco-free-class-banner {
    display: grid;
    gap: 18px;
    padding: 28px;
    border: 1px solid rgba(10, 121, 168, .14);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(7, 87, 117, .08), rgba(19, 138, 109, .16));
    box-shadow: 0 18px 42px rgba(20, 35, 50, .08);
}

.eco-free-class-copy {
    display: grid;
    gap: 12px;
}

.eco-free-class-copy h2 {
    margin: 0;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.05;
}

.eco-free-class-copy p {
    margin: 0;
    color: var(--fmc-muted);
    font-size: 17px;
}

.eco-metrics .metric {
    min-height: auto;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}

.eco-metrics .metric strong {
    font-size: 15px;
}

.eco-metrics .metric span {
    margin-top: 4px;
    font-size: 12px;
}

.eco-offer-card {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--fmc-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(20, 35, 50, .06);
}

.eco-offer-card h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.12;
}

.eco-offer-card p {
    margin: 0;
    color: var(--fmc-muted);
}

.eco-cta-band {
    display: grid;
    gap: 18px;
    padding: 28px;
    border: 1px solid rgba(10, 121, 168, .12);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(7, 87, 117, .07), rgba(19, 138, 109, .12));
    box-shadow: 0 18px 42px rgba(20, 35, 50, .06);
}

.eco-cta-band h2 {
    margin: 0 0 10px;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.06;
}

.eco-cta-band p:last-child {
    margin: 0;
    color: var(--fmc-muted);
    font-size: 17px;
}

.eco-form-card {
    max-width: none;
}

@media (min-width: 720px) {
    .hero-actions,
    .course-actions {
        display: flex;
        flex-wrap: wrap;
    }

    .course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-grid,
    .feature-grid,
    .checkout-grid,
    .student-grid,
    .admin-cards,
    .admin-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .student-course-row {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .admin-form-wide label:nth-of-type(11),
    .admin-form-wide label:nth-of-type(12),
    .admin-form-wide label:nth-of-type(13),
    .admin-form-wide label:nth-of-type(14) {
        grid-column: 1 / -1;
    }

    .payment-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eco-benefit-grid,
    .eco-offer-grid,
    .eco-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eco-hero-summary-card {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
        align-items: center;
    }
}

@media (min-width: 980px) {
    .nav-toggle {
        display: none;
    }

    .primary-nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .course-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .course-hero-grid,
    .checkout-grid {
        grid-template-columns: 1.25fr .75fr;
        align-items: start;
    }

    .admin-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        align-items: start;
    }

    .admin-sidebar {
        position: sticky;
        top: 92px;
        display: grid;
        overflow: visible;
    }

    .eco-cta-band,
    .eco-free-class-banner {
        grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
    }

    .eco-offer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .eco-benefit-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .eco-logo-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .eco-hero-summary-card {
        grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
        align-items: center;
    }
}

@media (max-width: 420px) {
    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .brand img {
        width: 126px;
    }

    .eco-hero-panel,
    .eco-offer-card,
    .eco-cta-band,
    .eco-free-class-banner {
        padding: 20px;
    }

    .eco-hero-summary-card {
        padding: 20px;
    }

    .eco-hero-copy h1 {
        max-width: 100%;
        font-size: 42px;
    }
}

/* FMC visual refresh */
.site-header {
    box-shadow: 0 8px 28px rgba(20, 35, 50, .06);
}

.header-inner {
    width: min(1440px, calc(100% - 48px));
    min-height: 86px;
}

.brand img {
    width: 184px;
    max-height: 64px;
    object-fit: contain;
}

.primary-nav {
    gap: 6px;
    top: 86px;
}

.nav-link {
    font-size: 16px;
}

.hero-carousel {
    position: relative;
    min-height: calc(100vh - 86px);
    overflow: hidden;
    color: #fff;
    background: #063248;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
    transition: opacity .9s ease, transform 6s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-carousel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(4, 37, 57, .92) 0%, rgba(7, 87, 117, .68) 42%, rgba(255, 255, 255, .06) 100%);
}

.hero-carousel .hero-inner {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 86px);
    display: grid;
    align-items: center;
    padding: 48px 0;
}

.hero-carousel .hero-copy {
    max-width: 760px;
}

.hero-carousel h1 {
    color: #fff;
    text-wrap: balance;
}

.hero-carousel p {
    color: #e8f7fb;
}

.hero-dots {
    display: flex;
    gap: 9px;
    margin-top: 24px;
}

.hero-dots button {
    width: 34px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .45);
}

.hero-dots button.is-active {
    width: 52px;
    background: #fff;
}

.testimonial-gallery {
    display: grid;
    gap: 14px;
}

.testimonial-card-visual {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 16px;
    align-items: center;
    overflow: hidden;
}

.testimonial-card-visual img {
    width: 130px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
}

.social-proof-preview,
.quote-strip,
.video-grid,
.social-proof-testimonials {
    display: grid;
    gap: 16px;
}

.video-card,
.social-proof-sidecard,
.quote-mini {
    border: 1px solid var(--fmc-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(20, 35, 50, .06);
}

.social-proof-sidecard {
    display: grid;
    gap: 18px;
    padding: 24px;
    align-content: start;
}

.trust-band {
    display: grid;
    gap: 12px;
}

.trust-band div {
    padding: 14px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(7, 87, 117, .08), rgba(19, 138, 109, .10));
}

.trust-band strong {
    display: block;
    font-size: 28px;
    line-height: 1;
}

.trust-band span {
    display: block;
    margin-top: 8px;
    color: var(--fmc-muted);
    font-size: 14px;
    font-weight: 700;
}

.video-card {
    overflow: hidden;
}

.video-slider {
    display: grid;
    gap: 16px;
}

.video-slider-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.video-slider-header h3 {
    margin: 0;
    font-size: 21px;
    line-height: 1.1;
}

.video-slider-controls {
    display: flex;
    gap: 10px;
}

.video-slider-button,
.video-slider-dot {
    border: 0;
}

.video-slider-button {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--fmc-blue-dark);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 30px rgba(20, 35, 50, .12);
    backdrop-filter: blur(12px);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.video-slider-button:hover {
    transform: translateY(-1px);
    background: #f7fbfd;
    box-shadow: 0 16px 34px rgba(20, 35, 50, .16);
}

.video-slider-button:disabled {
    opacity: .45;
    cursor: default;
}

.video-slider-viewport {
    overflow: hidden;
    border-radius: 8px;
}

.video-slider-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 2px 10px;
}

.video-slider-track::-webkit-scrollbar {
    display: none;
}

.video-slide {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
}

.video-slider-wide .video-slide {
    flex-basis: min(86%, 860px);
    min-width: min(86%, 860px);
}

.video-slider-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.video-slider-dot {
    width: 28px;
    height: 6px;
    border-radius: 999px;
    padding: 0;
    background: rgba(10, 121, 168, .18);
    transition: width .25s ease, background .25s ease;
}

.video-slider-dot.is-active {
    background: var(--fmc-blue-dark);
    width: 52px;
}

.video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f2231;
}

.video-embed iframe,
.video-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .92);
    font-size: 44px;
}

.video-copy {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.video-copy h3 {
    margin: 0;
    font-size: 22px;
}

.video-copy p {
    margin: 0;
    color: var(--fmc-muted);
}

.social-proof-preview-card .video-copy h3 {
    font-size: 20px;
}

.testimonial-card-quote {
    display: grid;
    gap: 16px;
}

.testimonial-person {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    align-items: center;
}

.testimonial-person img {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
}

.testimonial-person h3 {
    margin: 0 0 4px;
}

.testimonial-person p {
    margin: 0;
    color: var(--fmc-muted);
}

.testimonial-quote-text,
.quote-mini p {
    margin: 0;
    color: var(--fmc-muted);
    font-size: 16px;
}

.static-content {
    display: grid;
    gap: 34px;
}

.static-intro-grid {
    display: grid;
    gap: 22px;
    align-items: center;
}

.static-prose {
    display: grid;
    gap: 18px;
    color: var(--fmc-muted);
    font-size: 17px;
    text-align: justify;
    text-wrap: pretty;
}

.static-prose p {
    margin: 0;
}

.institution-stats {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.institution-stat {
    min-height: 118px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 20px 22px;
    border: 1px solid rgba(10, 121, 168, .12);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(7, 87, 117, .06), rgba(19, 138, 109, .08));
    box-shadow: 0 14px 34px rgba(20, 35, 50, .05);
}

.institution-stat strong {
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1;
    color: var(--fmc-ink);
}

.institution-stat span {
    color: var(--fmc-muted);
    font-size: 14px;
    font-weight: 700;
}

.static-story-grid {
    display: grid;
    gap: 22px;
    align-items: start;
}

.static-story-copy {
    display: grid;
    gap: 20px;
}

.static-spotlight {
    position: relative;
    display: grid;
    gap: 12px;
    padding: 26px 28px;
    overflow: hidden;
    border: 1px solid rgba(10, 121, 168, .12);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(10, 121, 168, .07), rgba(19, 138, 109, .10));
    box-shadow: 0 18px 42px rgba(20, 35, 50, .08);
}

.static-spotlight::after {
    content: "";
    position: absolute;
    inset: auto -60px -70px auto;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(19, 138, 109, .18) 0%, rgba(19, 138, 109, 0) 72%);
    pointer-events: none;
}

.static-spotlight h2 {
    margin: 0;
    font-size: clamp(28px, 5vw, 44px);
    line-height: 1.04;
    text-wrap: balance;
}

.static-spotlight p:last-child {
    margin: 0;
    color: var(--fmc-muted);
    font-size: 17px;
    text-align: justify;
}

.static-spotlight-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.static-visual-rail {
    display: grid;
    gap: 16px;
    align-self: start;
    position: sticky;
    top: 106px;
}

.static-media {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(10, 121, 168, .12);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbfd 100%);
    box-shadow: 0 18px 42px rgba(20, 35, 50, .08);
}

.static-media img {
    width: 100%;
    min-height: 360px;
    max-height: 540px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: var(--fmc-shadow);
}

.static-media figcaption {
    margin: 0;
    padding: 14px 18px 18px;
    color: var(--fmc-muted);
    font-size: 14px;
    text-align: justify;
}

.static-media-parallax {
    position: static;
}

.static-visual-stack {
    display: grid;
    gap: 14px;
}

.visual-note-card {
    padding: 18px 20px;
    border: 1px solid var(--fmc-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(20, 35, 50, .06);
}

.visual-note-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.visual-note-card p {
    margin: 0;
    color: var(--fmc-muted);
    text-align: justify;
}

.credential-showcase {
    display: grid;
    gap: 20px;
}

.credential-grid {
    display: grid;
    gap: 16px;
}

.credential-card {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(10, 121, 168, .14);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
    box-shadow: 0 16px 36px rgba(20, 35, 50, .08);
    transition: transform .22s ease, box-shadow .22s ease;
}

.credential-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 42px rgba(20, 35, 50, .12);
}

.credential-art {
    min-height: 130px;
    display: grid;
    place-items: center;
    padding: 18px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(10, 121, 168, .06), rgba(19, 138, 109, .10));
}

.credential-art img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.credential-copy {
    display: grid;
    gap: 10px;
}

.credential-copy h3 {
    margin: 0;
    font-size: 20px;
}

.credential-copy p {
    margin: 0;
    color: var(--fmc-muted);
    text-align: justify;
}

.institution-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    align-items: center;
}

.institution-strip figure {
    min-height: 118px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--fmc-line);
    border-radius: 8px;
    background: #fff;
}

.institution-strip img {
    max-height: 88px;
    object-fit: contain;
}

.institution-timeline {
    position: relative;
    display: grid;
    gap: 14px;
    padding-left: 8px;
}

.institution-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 18px;
    width: 2px;
    background: linear-gradient(180deg, rgba(10, 121, 168, .32), rgba(19, 138, 109, .16));
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 14px;
    align-items: start;
}

.timeline-bullet {
    position: relative;
    z-index: 1;
    width: 24px;
    height: 24px;
    margin-top: 3px;
    border: 5px solid rgba(255, 255, 255, .95);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--fmc-blue-dark), var(--fmc-green));
    box-shadow: 0 8px 18px rgba(20, 35, 50, .12);
}

.timeline-copy {
    padding: 18px 20px;
    border: 1px solid var(--fmc-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(20, 35, 50, .05);
}

.timeline-copy h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.timeline-copy p {
    margin: 0;
    color: var(--fmc-muted);
    text-align: justify;
}

.static-feature-card {
    background: linear-gradient(180deg, #fff 0%, #fbfdfe 100%);
}

.static-feature-card p {
    text-align: justify;
}

.contact-layout {
    display: grid;
    gap: 26px;
    align-items: start;
}

.contact-points {
    display: grid;
    gap: 12px;
}

.contact-card {
    max-width: none;
}

.contact-card textarea {
    min-height: 150px;
    resize: vertical;
}

.field-hidden {
    position: absolute;
    left: -9999px;
}

.footer {
    padding: 0;
    color: #d8ebf1;
    background: #102033;
}

.footer-grid {
    width: min(1440px, calc(100% - 48px));
    display: grid;
    gap: 28px;
    padding: 46px 0 34px;
}

.footer h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 17px;
}

.footer a {
    color: #d8ebf1;
}

.footer a:hover {
    color: #fff;
}

.footer-brand img {
    width: 190px;
    max-height: 70px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-contact p,
.footer-bottom p {
    margin: 10px 0 0;
    color: #b9ced7;
}

.footer-links {
    display: grid;
    gap: 8px;
    align-content: start;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 8px;
}

.footer-logo-grid {
    display: grid;
    gap: 10px;
}

.footer-logo-grid img {
    width: 100%;
    max-height: 72px;
    padding: 10px;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255, 255, 255, .95);
}

.footer-logo-text {
    padding: 14px 12px;
    border-radius: 8px;
    color: #8b1f25;
    background: rgba(255, 255, 255, .95);
    font-weight: 900;
    line-height: 1.05;
    text-align: center;
}

.footer-logo-text span {
    display: block;
    margin-top: 5px;
    color: #425466;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.footer-map {
    display: grid;
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
}

.footer-map-copy p {
    margin: 8px 0 0;
}

.footer-map-frame {
    overflow: hidden;
    border-radius: 8px;
    min-height: 280px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
}

.footer-map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: 0;
    display: block;
}

.footer-bottom {
    width: min(1440px, calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    justify-content: space-between;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

@media (min-width: 720px) {
    .static-intro-grid,
    .static-story-grid,
    .contact-layout {
        grid-template-columns: 1.05fr .95fr;
    }

    .credential-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .video-grid,
    .social-proof-testimonials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1.3fr .7fr .85fr 1fr;
    }

    .footer-map {
        grid-template-columns: .7fr 1.3fr;
        align-items: stretch;
        grid-column: 1 / -1;
    }
}

@media (max-width: 719px) {
    .static-visual-rail {
        position: static;
        top: auto;
    }

    .static-spotlight-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 719px) {
    .header-inner {
        width: min(100% - 28px, 1180px);
        min-height: 76px;
    }

    .hero-carousel,
    .hero-carousel .hero-inner {
        min-height: 720px;
    }

    .hero-carousel::before {
        background: linear-gradient(180deg, rgba(4, 37, 57, .92) 0%, rgba(7, 87, 117, .78) 62%, rgba(4, 37, 57, .6) 100%);
    }

    .testimonial-card-visual {
        grid-template-columns: 1fr;
    }

    .testimonial-card-visual img {
        width: 100%;
        height: 180px;
    }

    .testimonial-person {
        grid-template-columns: 56px 1fr;
    }

    .testimonial-person img {
        width: 56px;
        height: 56px;
    }

    .static-media-parallax {
        position: static;
    }

    .institution-timeline::before {
        left: 12px;
    }

    .timeline-item {
        grid-template-columns: 18px 1fr;
        gap: 12px;
    }

    .timeline-bullet {
        width: 18px;
        height: 18px;
        border-width: 4px;
    }
}
