/* =========================================================
   ORION INTERNATIONAL VIRTUAL SCHOOL
   OIVS OFFICIAL WEBSITE
   SITE.CSS - RESPONSIVE
   ========================================================= */

:root {
    --navy: #031b35;
    --navy-2: #062746;
    --blue: #0b5fa5;
    --blue-light: #e8f4ff;
    --gold: #d5a94e;
    --white: #ffffff;
    --text: #172b3a;
    --muted: #66788a;
    --soft: #f4f7fa;
    --border: #dce4eb;
    --shadow: 0 18px 45px rgba(3, 27, 53, 0.10);
    --radius: 18px;
}

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

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: #ffffff;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
    max-width: 100%;
    font: inherit;
}

button {
    cursor: pointer;
}

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

.center {
    text-align: center;
}

/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
    background: #021426;
    color: #dbe7f2;
    font-size: 13px;
}

.topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-license {
    min-width: 0;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.languages {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
}

.languages a {
    padding: 3px 7px;
    border-radius: 4px;
    color: #dbe7f2;
    font-weight: 700;
}

.languages a.active {
    background: #ffffff;
    color: var(--navy);
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e7edf2;
    box-shadow: 0 3px 15px rgba(3, 27, 53, 0.05);
}

.nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: flex;
    min-width: 0;
    align-items: center;
    margin-right: auto;
}

.brand img {
    display: block;
    width: 180px;
    max-width: 100%;
    max-height: 62px;
    object-fit: contain;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.desktop-nav a {
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.desktop-nav a:hover {
    color: var(--blue);
}

.header-cta {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    background: var(--navy);
    color: #ffffff;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.menu-button {
    display: none;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 9px;
    border: 0;
    border-radius: 7px;
    background: var(--navy);
}

.menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: #ffffff;
}

.mobile-nav {
    display: none;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--navy);
    line-height: 1.15;
    overflow-wrap: break-word;
}

h1 {
    font-size: clamp(42px, 6vw, 76px);
}

h2 {
    font-size: clamp(31px, 4vw, 48px);
}

h3 {
    font-size: 22px;
}

p {
    margin-top: 0;
    overflow-wrap: break-word;
}

.lead {
    font-size: 19px;
    line-height: 1.75;
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    overflow-wrap: break-word;
}

.eyebrow.light {
    color: #b8d9f6;
}

.section {
    padding: 90px 0;
}

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

.section-heading.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading p {
    color: var(--muted);
    font-size: 18px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    max-width: 100%;
    padding: 0 25px;
    border: 0;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.25px;
    text-align: center;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

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

.btn.primary {
    background: var(--blue);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(11, 95, 165, 0.22);
}

.btn.primary:hover {
    background: #084f8b;
}

.btn.outline {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: transparent;
}

.btn.dark-btn {
    background: var(--navy);
    color: #ffffff;
}

.full-button {
    width: 100%;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 95px 0;
    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(29, 104, 164, 0.45),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #021426 0%,
            #032440 55%,
            #073b65 100%
        );
    color: #ffffff;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 70px;
    align-items: center;
}

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

.hero-copy h1 {
    margin-bottom: 25px;
    color: #ffffff;
}

.hero-copy h1 span {
    color: #77bce9;
}

.hero-lead {
    max-width: 680px;
    margin-bottom: 32px;
    color: #d9e7f2;
    font-size: 19px;
    line-height: 1.75;
}

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

.hero-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.24);
}

.hero-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 20px;
}

.hero-logo-box img {
    width: auto;
    max-width: 300px;
}

.hero-license {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 18px;
    padding-top: 22px;
    border-top: 1px solid #e1e8ee;
    color: var(--navy);
}

.hero-license > div:last-child {
    min-width: 0;
}

.hero-seal {
    flex: 0 0 80px;
}

.hero-seal img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.hero-license small {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-license strong {
    display: block;
    font-size: 17px;
    overflow-wrap: anywhere;
}

/* =========================================================
   FACTS
   ========================================================= */

.facts {
    background: #ffffff;
    border-bottom: 1px solid #e6edf2;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.facts-grid > div {
    min-width: 0;
    padding: 28px 18px;
    text-align: center;
    border-right: 1px solid #e6edf2;
}

.facts-grid > div:last-child {
    border-right: 0;
}

.facts-grid strong {
    display: block;
    color: var(--navy);
    font-size: 22px;
    overflow-wrap: break-word;
}

.facts-grid span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

/* =========================================================
   OPEN ENTRY / BENEFITS
   ========================================================= */

.open-section {
    background: #ffffff;
}

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

.benefit-card {
    min-width: 0;
    min-height: 210px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(3, 27, 53, 0.05);
}

.benefit-number,
.card-number {
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
}

.benefit-card h3 {
    margin-bottom: 12px;
}

.benefit-card p {
    margin-bottom: 0;
    color: var(--muted);
}

/* =========================================================
   MOBILE LEARNING
   ========================================================= */

.mobile-learning {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 75px;
    align-items: center;
    margin-top: 80px;
    padding: 55px;
    border-radius: 25px;
    background: var(--soft);
}

.mobile-copy {
    min-width: 0;
}

.oivs-phone {
    width: 235px;
    max-width: 100%;
    margin: 0 auto;
    padding: 12px;
    border: 7px solid #10283e;
    border-radius: 35px;
    background: #071b2e;
    box-shadow: 0 20px 45px rgba(3, 27, 53, 0.22);
}

.phone-top {
    position: relative;
    height: 25px;
}

.phone-speaker {
    width: 55px;
    height: 5px;
    margin: 5px auto;
    border-radius: 10px;
    background: #40576a;
}

.phone-camera {
    position: absolute;
    top: 4px;
    right: 50px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #40576a;
}

.phone-screen {
    min-height: 355px;
    padding: 30px 20px;
    border-radius: 21px;
    background: linear-gradient(160deg, #ffffff 0%, #e9f3fb 100%);
    text-align: center;
}

.phone-screen-logo img {
    width: auto;
    max-width: 140px;
    margin: 0 auto;
}

.phone-line {
    width: 45px;
    height: 3px;
    margin: 30px auto;
    background: var(--blue);
}

.phone-247 {
    color: var(--navy);
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
}

.phone-mobile {
    margin-top: 10px;
    color: var(--blue);
    font-weight: 800;
}

.phone-access {
    margin-top: 28px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.phone-bottom-line {
    width: 70px;
    height: 4px;
    margin: 11px auto 2px;
    border-radius: 5px;
    background: #40576a;
}

.mobile-copy p {
    max-width: 650px;
    color: var(--muted);
    font-size: 18px;
}

.mobile-points {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.mobile-points div {
    min-width: 100px;
}

.mobile-points strong {
    display: block;
    color: var(--navy);
    font-size: 24px;
}

.mobile-points span {
    color: var(--muted);
    font-size: 13px;
}

/* =========================================================
   OFFICIAL / LICENSE
   ========================================================= */

.official-section {
    background: #f7f9fb;
}

.official-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 330px;
    gap: 45px;
    align-items: center;
}

.official-grid > * {
    min-width: 0;
}

.official-seal {
    text-align: center;
}

.official-seal img {
    width: 190px;
    max-width: 100%;
    margin: 0 auto;
}

.official-content .lead {
    color: var(--muted);
}

.license-badge {
    display: inline-flex;
    max-width: 100%;
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 6px;
    background: var(--navy);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.diploma-card {
    min-width: 0;
    padding: 32px;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.diploma-card p {
    color: var(--muted);
}

.usa-mark {
    margin-top: 25px;
    color: var(--blue);
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 5px;
}

/* =========================================================
   UNIVERSITY
   ========================================================= */

.dark-section {
    background: var(--navy);
    color: #ffffff;
}

.dark-section h2 {
    color: #ffffff;
}

.dark-section p {
    color: #cfdeea;
}

.university-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 70px;
    align-items: center;
}

.university-grid > * {
    min-width: 0;
}

.journey {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.journey > div {
    min-width: 0;
    min-height: 115px;
    padding: 20px 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    text-align: center;
}

.journey strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 18px;
}

.journey span {
    color: #bdd1e0;
    font-size: 12px;
    overflow-wrap: anywhere;
}

/* =========================================================
   DUAL CREDENTIALS
   ========================================================= */

.three-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 38px;
}

.large-card {
    min-width: 0;
    min-height: 250px;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
}

.large-card p {
    color: var(--muted);
}

/* =========================================================
   ACADEMIES
   ========================================================= */

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

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

.academy-card {
    min-width: 0;
    padding: 27px 22px;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(3, 27, 53, 0.06);
}

.academy-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 38px;
    max-width: 100%;
    margin-bottom: 20px;
    padding: 0 10px;
    border-radius: 6px;
    background: #e8f2fa;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
}

.academy-card h3 {
    font-size: 19px;
}

.academy-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

/* =========================================================
   CATALOG
   ========================================================= */

.catalog-section {
    background: #ffffff;
}

.catalog-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 65px;
    align-items: center;
}

.catalog-grid > * {
    min-width: 0;
}

.catalog-grid .lead {
    color: var(--muted);
}

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

.grade-board a {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 125px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--soft);
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.grade-board a:hover {
    transform: translateY(-2px);
    background: #e9f3fb;
}

.grade-board strong {
    color: var(--navy);
    font-size: 30px;
}

.grade-board span {
    color: var(--muted);
    font-size: 12px;
}

/* =========================================================
   SEIE
   ========================================================= */

.seie-section {
    padding-top: 40px;
    background: #ffffff;
}

.seie-box {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 60px;
    align-items: center;
    padding: 55px;
    border-radius: 24px;
    background: #eef5fa;
}

.seie-box > * {
    min-width: 0;
}

.seie-box p {
    color: var(--muted);
}

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

.seie-diagram > div {
    min-width: 0;
    min-height: 120px;
    padding: 25px 15px;
    border-radius: 12px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 8px 22px rgba(3, 27, 53, 0.06);
}

.seie-diagram strong {
    display: block;
    margin-bottom: 8px;
    color: var(--navy);
    overflow-wrap: anywhere;
}

.seie-diagram span {
    color: var(--muted);
    font-size: 12px;
}

/* =========================================================
   ADMISSIONS
   ========================================================= */

.admissions-section {
    background: linear-gradient(135deg, #031b35 0%, #073b65 100%);
}

.admission-heading h2 {
    color: #ffffff;
}

.admission-heading p {
    color: #d5e4ef;
}

.admission-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.20);
}

.admission-copy,
#enrollmentForm {
    min-width: 0;
}

.admission-copy {
    padding: 45px;
    background: #f3f7fa;
}

.admission-logo {
    margin-bottom: 35px;
}

.admission-logo img {
    width: 220px;
    max-width: 100%;
}

.admission-copy h3 {
    margin-bottom: 15px;
}

.admission-copy p {
    color: var(--muted);
}

#enrollmentForm {
    padding: 45px;
    background: #ffffff;
}

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

.form-grid label {
    display: block;
    min-width: 0;
}

.form-grid label span {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.form-grid input,
.form-grid select {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid #cfd9e2;
    border-radius: 7px;
    outline: none;
    background: #ffffff;
    color: var(--text);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-grid input:focus,
.form-grid select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(11, 95, 165, 0.10);
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

#enrollmentForm .full-button {
    margin-top: 25px;
}

.form-status {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
}

.form-status.success {
    display: block;
    width: 100%;
    margin: 4px 0 0;
    padding: 18px 20px;
    border: 1px solid #b8dcff;
    border-left: 5px solid #1683e8;
    border-radius: 8px;
    background: #e8f4ff;
    color: #073763;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
}

.form-status.error {
    display: block;
    width: 100%;
    margin: 4px 0 0;
    padding: 18px 20px;
    border: 1px solid #f1bcbc;
    border-left: 5px solid #c62828;
    border-radius: 8px;
    background: #fff1f1;
    color: #8b1e1e;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 70px;
    align-items: center;
}

.contact-grid > * {
    min-width: 0;
}

.contact-grid p {
    color: var(--muted);
}

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

.contact-cards a {
    min-width: 0;
    min-height: 120px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--soft);
}

.contact-cards strong {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
}

.contact-cards span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding: 45px 0;
    background: #021426;
    color: #c8d5df;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 35px;
    align-items: center;
}

.footer-grid > * {
    min-width: 0;
}

.footer-logo img {
    width: 175px;
    max-width: 100%;
    padding: 10px;
    border-radius: 8px;
    background: #ffffff;
}

.footer-grid strong {
    color: #ffffff;
    font-size: 13px;
}

.footer-grid p {
    margin: 5px 0 0;
    color: #9fb2c1;
    font-size: 12px;
}

/* =========================================================
   TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 1100px) {

    .desktop-nav {
        display: none;
    }

    .header-cta {
        margin-left: auto;
    }

    .menu-button {
        display: block;
    }

    .mobile-nav.open {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 10px max(20px, calc((100% - 1180px) / 2)) 20px;
        background: #ffffff;
        border-top: 1px solid #e6edf2;
        box-shadow: 0 12px 20px rgba(3, 27, 53, 0.08);
    }

    .mobile-nav > a {
        padding: 12px 20px;
        border-bottom: 1px solid #edf1f4;
        color: var(--navy);
        font-weight: 700;
    }

    .mobile-languages {
        display: flex;
        gap: 15px;
        padding: 15px 20px 0;
        color: var(--blue);
        font-weight: 800;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 45px;
    }

    .hero-card {
        width: 100%;
        max-width: 560px;
    }

    .official-grid {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .diploma-card {
        grid-column: 1 / -1;
    }

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

    .university-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 45px;
    }

    .catalog-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 45px;
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
}

/* =========================================================
   TABLET PORTRAIT
   ========================================================= */

@media (max-width: 900px) {

    .section {
        padding: 75px 0;
    }

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

    .mobile-learning {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 40px;
        padding: 40px;
    }

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

    .seie-box {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
        padding: 40px;
    }

    .admission-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .admission-copy {
        padding: 35px;
    }

    #enrollmentForm {
        padding: 35px;
    }

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

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .container {
        width: calc(100% - 28px);
        max-width: none;
    }

    .section {
        padding: 58px 0;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading p,
    .lead,
    .hero-lead,
    .mobile-copy p {
        font-size: 16px;
        line-height: 1.65;
    }

    h1 {
        font-size: clamp(38px, 12vw, 54px);
        line-height: 1.06;
    }

    h2 {
        font-size: clamp(29px, 9vw, 38px);
        line-height: 1.12;
    }

    h3 {
        font-size: 20px;
    }

    .topbar-inner {
        min-height: 42px;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        padding: 6px 0;
        text-align: center;
    }

    .topbar-license {
        font-size: 11px;
        line-height: 1.35;
    }

    .languages {
        font-size: 12px;
    }

    .nav {
        min-height: 68px;
        gap: 12px;
    }

    .brand img {
        width: 145px;
        max-height: 54px;
    }

    .header-cta {
        display: none;
    }

    .menu-button {
        display: block;
        margin-left: auto;
    }

    .mobile-nav.open {
        max-height: calc(100vh - 68px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 5px 14px 18px;
    }

    .mobile-nav > a {
        padding: 12px 0;
    }

    .mobile-languages {
        padding: 15px 0 0;
    }

    .hero {
        padding: 58px 0;
    }

    .hero-grid {
        gap: 36px;
    }

    .hero-copy {
        text-align: left;
    }

    .hero-copy h1 {
        margin-bottom: 20px;
    }

    .hero-lead {
        margin-bottom: 26px;
    }

    .hero-card {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        border-radius: 16px;
    }

    .hero-logo-box {
        min-height: 130px;
        padding: 15px;
    }

    .hero-logo-box img {
        max-width: min(250px, 90%);
    }

    .hero-license {
        gap: 12px;
    }

    .hero-seal {
        flex-basis: 64px;
    }

    .hero-seal img {
        width: 64px;
        height: 64px;
    }

    .hero-license small {
        font-size: 9px;
        letter-spacing: 0.7px;
    }

    .hero-license strong {
        font-size: 14px;
    }

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

    .facts-grid > div {
        padding: 20px 8px;
        border-bottom: 1px solid #e6edf2;
    }

    .facts-grid > div:nth-child(2n) {
        border-right: 0;
    }

    .facts-grid > div:last-child {
        grid-column: 1 / -1;
    }

    .facts-grid strong {
        font-size: 18px;
    }

    .facts-grid span {
        font-size: 12px;
    }

    .benefit-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .benefit-card {
        min-height: 0;
        padding: 24px 20px;
    }

    .mobile-learning {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
        margin-top: 55px;
        padding: 30px 18px;
        border-radius: 18px;
    }

    .oivs-phone {
        width: 220px;
    }

    .phone-screen {
        min-height: 330px;
        padding: 25px 16px;
    }

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

    .mobile-points div {
        min-width: 0;
        text-align: center;
    }

    .mobile-points strong {
        font-size: 20px;
    }

    .official-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .official-seal {
        text-align: center;
    }

    .official-seal img {
        width: 145px;
        margin: 0 auto;
    }

    .diploma-card {
        padding: 25px 20px;
    }

    .journey {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .journey > div {
        min-height: auto;
        padding: 15px;
    }

    .journey strong {
        margin-bottom: 3px;
    }

    .three-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .large-card {
        min-height: 0;
        padding: 26px 20px;
    }

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

    .academy-card {
        padding: 22px 16px;
    }

    .grade-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .grade-board a {
        min-height: 105px;
    }

    .grade-board strong {
        font-size: 26px;
    }

    .seie-section {
        padding-top: 25px;
    }

    .seie-box {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding: 30px 18px;
        border-radius: 18px;
    }

    .seie-diagram {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .seie-diagram > div {
        min-height: 95px;
        padding: 20px 12px;
    }

    .admission-shell {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        border-radius: 15px;
    }

    .admission-copy {
        padding: 28px 20px;
    }

    .admission-logo {
        margin-bottom: 25px;
    }

    .admission-logo img {
        width: 190px;
    }

    #enrollmentForm {
        padding: 28px 20px;
    }

    .form-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .form-status {
        grid-column: 1;
    }

    .form-status.success,
    .form-status.error {
        padding: 15px;
        font-size: 14px;
    }

    .form-grid input,
    .form-grid select {
        min-height: 50px;
        font-size: 16px;
    }

    .contact-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .contact-cards a {
        min-height: 0;
        padding: 20px;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
        text-align: center;
    }

    .footer-logo {
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .container {
        width: calc(100% - 24px);
    }

    .section {
        padding: 50px 0;
    }

    h1 {
        font-size: clamp(34px, 11vw, 42px);
    }

    h2 {
        font-size: clamp(27px, 8.5vw, 32px);
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: 1.1px;
    }

    .brand img {
        width: 130px;
    }

    .hero {
        padding: 48px 0;
    }

    .hero-card {
        padding: 16px;
    }

    .hero-logo-box {
        min-height: 110px;
        padding: 10px;
    }

    .hero-logo-box img {
        max-width: 220px;
    }

    .hero-license {
        align-items: center;
    }

    .hero-seal {
        flex-basis: 54px;
    }

    .hero-seal img {
        width: 54px;
        height: 54px;
    }

    .actions {
        flex-direction: column;
        width: 100%;
    }

    .actions .btn {
        width: 100%;
    }

    .facts-grid strong {
        font-size: 17px;
    }

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

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

    .mobile-points {
        grid-template-columns: minmax(0, 1fr);
    }

    .mobile-points div {
        padding: 8px 0;
    }

    .oivs-phone {
        width: 205px;
    }

    .phone-screen {
        min-height: 310px;
    }

    .phone-247 {
        font-size: 44px;
    }

    .license-badge {
        display: flex;
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .usa-mark {
        font-size: 30px;
    }

    .seie-box {
        padding: 25px 15px;
    }

    .admission-copy,
    #enrollmentForm {
        padding: 24px 16px;
    }

    .btn {
        min-height: 50px;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* =========================================================
   EXTRA SMALL DEVICES
   ========================================================= */

@media (max-width: 360px) {

    .container {
        width: calc(100% - 20px);
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 27px;
    }

    .brand img {
        width: 118px;
    }

    .menu-button {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .hero-card {
        padding: 14px;
    }

    .hero-license {
        gap: 8px;
    }

    .hero-seal {
        flex-basis: 48px;
    }

    .hero-seal img {
        width: 48px;
        height: 48px;
    }

    .hero-license strong {
        font-size: 13px;
    }

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

    .facts-grid > div,
    .facts-grid > div:nth-child(2n) {
        grid-column: auto;
        border-right: 0;
    }

    .grade-board {
        grid-template-columns: minmax(0, 1fr);
    }

    .oivs-phone {
        width: 195px;
    }
}