:root {
    --ink: #173a3b;
    --ink-soft: #486364;
    --teal: #28aaa4;
    --teal-dark: #147f7b;
    --teal-pale: #e4f5f2;
    --coral: #ee806d;
    --coral-pale: #fff0eb;
    --sand: #f8f3eb;
    --cream: #fffdf9;
    --white: #ffffff;
    --line: rgba(23, 58, 59, 0.12);
    --shadow: 0 24px 70px rgba(23, 58, 59, 0.12);
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: clip;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.container {
    width: min(calc(100% - 40px), 1180px);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 999;
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--ink);
    color: white;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    z-index: 100;
    inset: 0 0 auto;
    border-bottom: 1px solid transparent;
    background: rgba(255, 253, 249, 0.9);
    backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 8px 30px rgba(23, 58, 59, 0.07);
}

.header-inner {
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-weight: 900;
    text-decoration: none;
}

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

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--teal-dark);
    color: white;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 13px 28px rgba(20, 127, 123, 0.2);
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
    background: #0e6d69;
    transform: translateY(-2px);
}

.button--small {
    min-height: 44px;
    padding: 10px 17px;
    color: white !important;
}

.button--coral {
    background: var(--coral);
    box-shadow: 0 13px 28px rgba(238, 128, 109, 0.24);
}

.button--ghost {
    border-color: var(--line);
    background: white;
    box-shadow: none;
    color: var(--ink);
}

.button--light {
    background: white;
    color: var(--ink);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: white;
    color: var(--ink);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
    content: '';
}

.hero {
    min-height: 780px;
    padding: 140px 0 82px;
    background:
        radial-gradient(circle at 8% 20%, rgba(40, 170, 164, 0.13), transparent 28%),
        linear-gradient(180deg, #f9f6ef 0%, var(--cream) 100%);
}

.hero-grid,
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
    align-items: center;
    gap: clamp(42px, 7vw, 92px);
}

.hero-copy,
.hero-media {
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 17px;
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    max-width: 100%;
}

.eyebrow::before {
    width: 28px;
    height: 2px;
    background: currentColor;
    content: '';
}

.eyebrow--light {
    color: #7ee2dc;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.04;
}

h1 {
    max-width: 760px;
    margin-bottom: 25px;
    font-size: clamp(3.1rem, 6.2vw, 6rem);
}

h2 {
    margin-bottom: 22px;
    font-size: clamp(2.35rem, 4vw, 4.25rem);
}

h3 {
    margin-bottom: 12px;
    font-size: 1.65rem;
}

.lead {
    max-width: 680px;
    color: var(--ink-soft);
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.7;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.hero-media {
    position: relative;
}

.hero-media img {
    width: 100%;
    min-height: 520px;
    border-radius: 170px 28px 170px 28px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.hero-note {
    position: absolute;
    right: 24px;
    bottom: 24px;
    max-width: 280px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(23, 58, 59, 0.82);
    color: white;
    backdrop-filter: blur(10px);
}

.hero-note strong,
.hero-note span {
    display: block;
}

.hero-note span {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
}

.section {
    padding: 98px 0;
}

.section--tint {
    background: var(--sand);
}

.section--dark {
    background: var(--ink);
    color: white;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

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

.info-card,
.module-card {
    min-height: 205px;
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: white;
    box-shadow: 0 10px 30px rgba(23, 58, 59, 0.045);
}

.info-card p {
    color: var(--ink-soft);
}

.info-card a {
    color: var(--teal-dark);
    font-weight: 900;
    text-decoration: none;
}

.module-card span {
    display: block;
    margin-bottom: 20px;
    color: var(--coral);
    font-family: var(--font-display);
    font-size: 2rem;
}

.trust-bar {
    border-block: 1px solid var(--line);
    background: white;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    min-height: 104px;
    padding: 24px;
    border-right: 1px solid var(--line);
}

.trust-item:last-child {
    border-right: 0;
}

.trust-item span {
    display: block;
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.trust-item strong {
    display: block;
    margin-top: 7px;
    font-size: 1.2rem;
}

.mini-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.mini-list a {
    display: block;
    padding: 18px;
    border-radius: 16px;
    background: white;
    color: var(--ink);
    text-decoration: none;
}

.mini-list strong,
.mini-list span {
    display: block;
}

.mini-list span {
    margin-top: 4px;
    color: var(--ink-soft);
}

.cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 40px;
}

.cta p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer {
    padding: 55px 0;
    border-top: 1px solid var(--line);
    background: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
}

.footer-grid img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.footer-grid a,
.footer-grid p {
    display: block;
    color: var(--ink-soft);
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-grid strong {
    display: block;
    margin-bottom: 12px;
}

[data-reveal] {
    opacity: 1;
    transform: none;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

.section-heading--wide {
    max-width: 820px;
    margin-bottom: 42px;
}

.level-section {
    background: #f3f8f7;
}

.level-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.level-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 45px rgba(23, 58, 59, 0.08);
}

.level-card figure {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.level-card figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.level-card figcaption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 10px;
    border-radius: 4px;
    background: rgba(23, 58, 59, 0.9);
    color: white;
    font-size: 0.78rem;
    font-weight: 800;
}

.level-card__body {
    padding: 26px;
}

.level-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    color: var(--teal-dark);
    font-size: 0.85rem;
}

.level-card__meta span {
    font-family: var(--font-display);
    font-size: 2rem;
}

.level-card__body h3 {
    font-size: 2rem;
}

.level-card__body ul,
.curriculum-card ul {
    display: grid;
    gap: 8px;
    margin: 20px 0 24px;
    padding: 0;
    list-style: none;
}

.level-card__body li,
.curriculum-card li {
    position: relative;
    padding-left: 20px;
    color: var(--ink-soft);
}

.level-card__body li::before,
.curriculum-card li::before {
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--coral);
    content: '';
}

.text-link {
    color: var(--teal-dark);
    font-weight: 800;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.level-note {
    max-width: 760px;
    margin: 28px 0 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.syllabus-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.syllabus-links a {
    display: grid;
    min-height: 160px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    color: var(--ink);
    text-decoration: none;
}

.syllabus-links span {
    color: var(--coral);
    font-family: var(--font-display);
    font-size: 1.7rem;
}

.syllabus-links strong {
    margin: 14px 0;
    font-size: 1.05rem;
}

.syllabus-links small {
    align-self: end;
    color: var(--teal-dark);
    font-weight: 800;
}

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

.curriculum-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
}

.curriculum-card > span {
    color: var(--coral);
    font-family: var(--font-display);
    font-size: 2.2rem;
}

.curriculum-card h3 {
    margin-top: 12px;
}

.course-includes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
    padding: 24px;
    border-left: 4px solid var(--teal);
    background: var(--teal-pale);
}

.course-includes strong {
    width: 100%;
}

.course-includes span {
    padding: 7px 10px;
    border: 1px solid rgba(20, 127, 123, 0.2);
    border-radius: 4px;
    background: white;
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.founder-section {
    background: var(--ink);
    color: white;
}

.founder-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    align-items: center;
    gap: clamp(42px, 8vw, 100px);
}

.founder-portrait {
    margin: 0;
}

.founder-portrait img {
    width: min(100%, 460px);
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    background: white;
}

.founder-portrait figcaption {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.68);
    text-align: center;
}

.founder-section .lead {
    color: rgba(255, 255, 255, 0.78);
}

.fact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 28px 0;
}

.fact-list span {
    padding: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    color: rgba(255, 255, 255, 0.84);
}

.founder-section .text-link {
    color: #7ee2dc;
}

.school-gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.school-gallery figure {
    position: relative;
    grid-column: span 4;
    min-height: 310px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
}

.school-gallery figure:first-child,
.school-gallery figure:last-child {
    grid-column: span 8;
}

.school-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.school-gallery figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 34px 18px 15px;
    background: linear-gradient(transparent, rgba(23, 58, 59, 0.88));
    color: white;
    font-weight: 700;
}

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

.testimonial {
    margin: 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
}

.testimonial__person {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial__person img {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial__person strong,
.testimonial__person span {
    display: block;
}

.testimonial__person span {
    color: var(--teal-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.testimonial > p {
    margin: 22px 0 0;
    color: var(--ink-soft);
    font-family: var(--font-display);
    font-size: 1.34rem;
    line-height: 1.4;
}

.level-price {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.level-price span,
.sequra-wrap__label {
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.level-price strong {
    color: var(--teal-dark);
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
}

.sequra-wrap {
    min-height: 92px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #f8fbfa;
}

.sequra-wrap__label {
    margin: 0 0 8px;
}

.level-card__actions {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.button--finance {
    width: 100%;
    border: 1px solid var(--teal-dark);
    background: transparent;
    color: var(--teal-dark);
}

.finance-band {
    padding: 54px 0;
    background: #dceeea;
}

.finance-band__grid,
.lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1.15fr);
    align-items: center;
    gap: clamp(36px, 7vw, 90px);
}

.finance-band h2 {
    margin-bottom: 12px;
    color: var(--teal-dark);
    font-size: clamp(3rem, 6vw, 5.2rem);
}

.finance-band__simulator {
    padding: 26px;
    border-left: 4px solid var(--coral);
    background: white;
}

.finance-band__simulator > p {
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.lead-section {
    background: #f3f8f7;
}

.lead-grid {
    align-items: start;
}

.lead-direct {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
}

.lead-direct a {
    padding: 18px;
    border-top: 2px solid var(--coral);
    background: white;
    color: var(--ink);
    text-decoration: none;
}

.lead-direct span,
.lead-direct strong {
    display: block;
}

.lead-direct span {
    margin-bottom: 5px;
    color: var(--ink-soft);
    font-size: 0.78rem;
}

.school-lead-form {
    display: grid;
    gap: 16px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 18px 45px rgba(23, 58, 59, 0.08);
}

.school-lead-form label:not(.check-row) {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 700;
}

.school-lead-form input:not([type="checkbox"]),
.school-lead-form select {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #aebfbd;
    border-radius: 4px;
    background: white;
    color: var(--ink);
    font: inherit;
}

.school-lead-form input:focus,
.school-lead-form select:focus {
    outline: 3px solid rgba(20, 127, 123, 0.2);
    border-color: var(--teal);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.check-row input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--teal-dark);
}

.form-trap {
    position: absolute;
    left: -10000px;
}

.form-feedback {
    margin: 0;
    padding: 12px;
    border-left: 3px solid #ad2f2f;
    background: #fff1f1;
    color: #7b1f1f;
}

.lead-success {
    padding: 36px;
    border-left: 4px solid var(--teal);
    background: white;
}

.lead-success strong {
    font-family: var(--font-display);
    font-size: 2rem;
}

@media (max-width: 920px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 85px;
        right: 0;
        left: 0;
        display: none;
        padding: 18px 20px 25px;
        border-bottom: 1px solid var(--line);
        background: white;
        box-shadow: var(--shadow);
    }

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

    .hero-grid,
    .split,
    .cta,
    .finance-band__grid,
    .lead-grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

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

    .level-grid,
    .syllabus-links {
        grid-template-columns: 1fr;
    }

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

    .founder-portrait img {
        margin-inline: auto;
    }

    .school-gallery figure,
    .school-gallery figure:first-child,
    .school-gallery figure:last-child {
        grid-column: span 6;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(calc(100% - 28px), 1180px);
    }

    .brand span {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 112px;
    }

    .hero-media img {
        min-height: 360px;
        border-radius: 90px 22px 90px 22px;
    }

    .hero-note {
        position: static;
        max-width: none;
        margin-top: -36px;
        margin-inline: 14px;
    }

    .cards-grid,
    .modules-grid,
    .trust-grid,
    .footer-grid,
    .curriculum-grid,
    .testimonial-grid,
    .fact-list {
        grid-template-columns: 1fr;
    }

    .school-gallery {
        grid-template-columns: 1fr;
    }

    .school-gallery figure,
    .school-gallery figure:first-child,
    .school-gallery figure:last-child {
        grid-column: auto;
        min-height: 280px;
    }

    .trust-item {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .form-row,
    .lead-direct {
        grid-template-columns: 1fr;
    }

    .school-lead-form {
        padding: 22px;
    }
}

@media (max-width: 420px) {
    .eyebrow {
        display: flex;
        width: 100%;
        font-size: 0.72rem;
    }

    h1 {
        font-size: 2.7rem;
        overflow-wrap: anywhere;
    }
}
