/* ============================================================
   宁波浩泽科技 - 品牌网站样式
   HZ ROBOT CLUB Brand Website Styles
   ============================================================ */

/* ----- Google Fonts (optional, uncomment for better CN rendering) ----- */
/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap'); */

/* ----- Font Faces: HK Grotesk ----- */
@font-face {
    font-family: 'HK Grotesk';
    src: url('../fonts/HKGrotesk-Regular-9.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'HK Grotesk';
    src: url('../fonts/HKGrotesk-Medium-7.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'HK Grotesk';
    src: url('../fonts/HKGrotesk-SemiBold-10.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'HK Grotesk';
    src: url('../fonts/HKGrotesk-Bold-2.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'HK Grotesk';
    src: url('../fonts/HKGrotesk-BoldItalic-3.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    /* Brand Colors */
    --brand-blue:    #1B459A;
    --brand-orange:  #F16D20;
    --brand-cyan:    #51C7E7;
    --brand-cream:   #FFEED7;
    --brand-navy:    #05184B;

    /* Theme Backgrounds */
    --bg-deep:       #020D28;
    --bg-primary:    #05184B;
    --bg-elevated:   #0A1F5C;
    --bg-card:       rgba(27, 69, 154, 0.10);
    --bg-card-hover: rgba(27, 69, 154, 0.20);
    --bg-glass:      rgba(5, 24, 75, 0.60);

    /* Text */
    --text-primary:   #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.78);
    --text-muted:     rgba(255, 255, 255, 0.45);
    --text-accent:    var(--brand-orange);
    --text-link:      var(--brand-cyan);

    /* Glow Effects */
    --glow-blue:   0 0 30px rgba(27, 69, 154, 0.6);
    --glow-cyan:   0 0 20px rgba(81, 199, 231, 0.45);
    --glow-orange: 0 0 20px rgba(241, 109, 32, 0.45);
    --glow-card:   0 0 1px rgba(81, 199, 231, 0.25);

    /* Borders */
    --border-subtle: rgba(81, 199, 231, 0.12);
    --border-glow:   rgba(81, 199, 231, 0.30);

    /* Typography */
    --font-cn: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    --font-en: "HK Grotesk", "Helvetica Neue", Arial, sans-serif;

    /* Layout */
    --section-py:  clamp(4rem, 8vw, 7rem);
    --section-px:  clamp(1rem, 5vw, 2rem);
    --container-max: 1200px;
    --header-height: 72px;

    /* Radii */
    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast:   200ms;
    --duration-normal: 350ms;
    --duration-slow:   700ms;
}

/* ============================================================
   CSS RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
    font-family: var(--font-cn);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-en); line-height: 1.2; }
::selection { background: var(--brand-cyan); color: var(--bg-deep); }

/* ----- Focus styles ----- */
:focus-visible {
    outline: 2px solid var(--brand-cyan);
    outline-offset: 2px;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--section-px);
}
.section { padding: var(--section-py) 0; }
.section--alt { background: var(--bg-elevated); }

.section__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__kicker {
    display: block;
    font-family: var(--font-en);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--brand-cyan);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}
.section__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}
.section__lead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-en);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) var(--ease-out-expo);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
}
.btn--primary {
    background: var(--brand-orange);
    color: #fff;
    border-color: var(--brand-orange);
    box-shadow: var(--glow-orange);
}
.btn--primary:hover {
    background: transparent;
    color: var(--brand-orange);
    box-shadow: 0 0 40px rgba(241, 109, 32, 0.6);
}
.btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}
.btn--outline:hover {
    border-color: var(--brand-cyan);
    color: var(--brand-cyan);
    box-shadow: var(--glow-cyan);
}
.btn--full { width: 100%; }

/* ----- Scroll Reveal ----- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-slow) var(--ease-out-expo),
                transform var(--duration-slow) var(--ease-out-expo);
    transition-delay: calc(var(--i, 0) * 100ms);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: background var(--duration-normal) var(--ease-out-expo),
                box-shadow var(--duration-normal) var(--ease-out-expo);
}
.navbar--scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border-subtle);
}
.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}
.navbar__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 1001;
}
.navbar__logo-icon { width: 40px; height: 40px; }
.navbar__logo-text {
    font-family: var(--font-cn);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}
.navbar__links {
    display: flex;
    gap: clamp(1rem, 2vw, 1.8rem);
}
.navbar__link {
    font-family: var(--font-en);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.3rem 0;
    transition: color var(--duration-fast);
}
.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-cyan);
    border-radius: 2px;
    transition: width var(--duration-normal) var(--ease-out-expo);
}
.navbar__link:hover,
.navbar__link.active { color: #fff; }
.navbar__link:hover::after,
.navbar__link.active::after { width: 100%; }

/* Hamburger */
.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 1001;
}
.navbar__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--duration-normal) var(--ease-out-expo),
                opacity var(--duration-fast);
}
.nav--open .navbar__toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav--open .navbar__toggle span:nth-child(2) { opacity: 0; }
.nav--open .navbar__toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    height: 100dvh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--bg-deep);
}
.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, var(--bg-deep) 80%);
    z-index: 1;
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 var(--section-px);
}
.hero__kicker {
    font-family: var(--font-en);
    font-size: clamp(0.7rem, 1.5vw, 0.875rem);
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--brand-cyan);
    margin-bottom: 1.2rem;
}
.hero__title {
    font-family: var(--font-cn);
    margin-bottom: 1.5rem;
}
.hero__title-line {
    display: block;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    background: linear-gradient(180deg, #fff 0%, #80c8e8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(81, 199, 231, 0.4));
}
.hero__subtitle {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.hero__description {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    line-height: 1.8;
    color: var(--text-secondary);
}
.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero__scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    padding-top: 8px;
}
.hero__scroll-line {
    width: 2px;
    height: 10px;
    background: var(--brand-cyan);
    border-radius: 2px;
    animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%      { transform: translateY(10px); opacity: 0.3; }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}
.about__text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}
.about__text p:last-child { margin-bottom: 0; }
.about__text strong { color: #fff; font-weight: 600; }
.about__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.about__image img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: var(--radius-lg);
}
.about__image-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 60px rgba(27, 69, 154, 0.35);
    pointer-events: none;
}
.about__values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Value Card */
.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform var(--duration-normal) var(--ease-out-expo),
                box-shadow var(--duration-normal) var(--ease-out-expo),
                border-color var(--duration-normal);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.value-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: var(--glow-blue);
}
.value-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    color: var(--brand-cyan);
}
.value-card__icon svg { width: 100%; height: 100%; }
.value-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
}
.value-card p {
    font-size: 0.925rem;
    color: var(--text-secondary);
}

/* ============================================================
   COURSES SECTION
   ============================================================ */
.courses__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Course Card */
.course-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-top: 3px solid var(--brand-orange);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform var(--duration-normal) var(--ease-out-expo),
                box-shadow var(--duration-normal) var(--ease-out-expo),
                border-color var(--duration-normal);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.course-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    border-top-color: var(--brand-orange);
    box-shadow: var(--glow-blue);
}
.course-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bg-deep);
    background: var(--brand-cyan);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}
.course-card__icon {
    width: 64px;
    height: 64px;
    color: var(--brand-cyan);
    margin-bottom: 1rem;
}
.course-card__icon svg { width: 100%; height: 100%; }
.course-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}
.course-card__desc {
    font-size: 0.925rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.course-card__features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}
.course-card__features li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
}
.course-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    background: var(--brand-cyan);
    border-radius: 50%;
}
.course-card__cta {
    font-family: var(--font-en);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-orange);
    transition: color var(--duration-fast);
}
.course-card__cta:hover { color: #fff; }

/* ============================================================
   SCHOOL COOPERATION SECTION
   ============================================================ */
.school__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.school-card {
    position: relative;
    min-height: 220px;
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, rgba(27, 69, 154, 0.16), rgba(5, 24, 75, 0.22));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--duration-normal) var(--ease-out-expo),
                border-color var(--duration-normal),
                box-shadow var(--duration-normal) var(--ease-out-expo);
}
.school-card::after {
    content: '';
    position: absolute;
    inset: auto -30% -45% 35%;
    height: 120px;
    background: radial-gradient(circle, rgba(81, 199, 231, 0.16), transparent 68%);
    pointer-events: none;
}
.school-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: var(--glow-blue);
}
.school-card__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: rgba(81, 199, 231, 0.12);
    color: var(--brand-cyan);
    font-family: var(--font-en);
    font-size: 0.8125rem;
    font-weight: 700;
}
.school-card h3 {
    margin-bottom: 0.75rem;
    color: #fff;
    font-size: 1.1rem;
}
.school-card p {
    position: relative;
    z-index: 1;
    color: var(--text-secondary);
    font-size: 0.925rem;
}

/* ============================================================
   RESULTS SECTION
   ============================================================ */
.results__stats {
    display: flex;
    justify-content: center;
    gap: clamp(2rem, 8vw, 6rem);
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    flex-wrap: wrap;
}
.stat {
    text-align: center;
}
.results__stats--text {
    align-items: stretch;
    gap: 1rem;
}
.results__stats--text .stat {
    min-width: min(100%, 280px);
    max-width: 340px;
    padding: 1.35rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}
.stat__number {
    font-family: var(--font-en);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--brand-orange);
    line-height: 1;
}
.stat__suffix {
    font-family: var(--font-en);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--brand-orange);
    vertical-align: super;
}
.stat__label {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}
.stat__text {
    display: block;
    color: var(--brand-orange);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.25;
}

/* Gallery */
.results__gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out-expo);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(81, 199, 231, 0.18), rgba(241, 109, 32, 0.12)),
        radial-gradient(circle at 75% 20%, rgba(81, 199, 231, 0.28), transparent 32%),
        var(--bg-deep);
    transition: transform var(--duration-slow) var(--ease-out-expo);
}
.gallery-placeholder::before {
    content: '';
    position: absolute;
    inset: 18%;
    border: 1px solid rgba(81, 199, 231, 0.22);
    border-radius: var(--radius-md);
}
.gallery-placeholder span {
    position: relative;
    z-index: 1;
    font-family: var(--font-en);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
}
.gallery-item:hover .gallery-placeholder { transform: scale(1.04); }
.gallery-item__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to top, rgba(5,24,75,0.85) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--duration-normal);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq__list { max-width: 800px; margin: 0 auto; }

.faq__item {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    background: var(--bg-card);
    transition: border-color var(--duration-fast),
                box-shadow var(--duration-fast);
    overflow: hidden;
}
.faq__item[open] {
    border-color: var(--border-glow);
    box-shadow: var(--glow-card);
    border-left: 3px solid var(--brand-cyan);
}
.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    user-select: none;
    list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    margin-left: 1rem;
}
.faq__icon::before,
.faq__icon::after {
    content: '';
    position: absolute;
    background: var(--brand-cyan);
    border-radius: 2px;
    transition: transform var(--duration-normal) var(--ease-out-expo);
}
.faq__icon::before {
    width: 14px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.faq__icon::after {
    width: 2px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
}
.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Contact Card */
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--brand-blue);
    transition: border-color var(--duration-fast),
                box-shadow var(--duration-fast);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.contact-card:hover {
    border-left-color: var(--brand-cyan);
    box-shadow: var(--glow-card);
}
.contact-card__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--brand-cyan);
    margin-top: 2px;
}
.contact-card__icon svg { width: 100%; height: 100%; }
.contact-card h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}
.contact-card a, .contact-card p {
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: color var(--duration-fast);
}
.contact-card a:hover { color: var(--brand-cyan); }

/* Contact Form */
.contact__form {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}
.form-required { color: var(--brand-orange); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: var(--font-cn);
    font-size: 0.9375rem;
    color: #fff;
    background: var(--bg-deep);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    transition: border-color var(--duration-fast),
                box-shadow var(--duration-fast);
    resize: vertical;
}
.form-group select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--brand-cyan) 50%),
        linear-gradient(135deg, var(--brand-cyan) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 12px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 3px rgba(81, 199, 231, 0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}
.form-error {
    display: none;
    font-size: 0.8rem;
    color: #e74c3c;
    margin-top: 0.3rem;
}
.form-error.visible { display: block; }
.form-note {
    text-align: center;
    font-size: 0.875rem;
    margin-top: 1rem;
    min-height: 1.5em;
}
.form-note.success { color: #2ecc71; }
.form-note.error { color: #e74c3c; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border-subtle);
    padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.footer__logo { width: 48px; height: 48px; margin-bottom: 0.75rem; }
.footer__name {
    font-family: var(--font-en);
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}
.footer__slogan {
    font-size: 0.875rem;
    color: var(--text-muted);
}
.footer__links h4,
.footer__contact h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.footer__links li { margin-bottom: 0.5rem; }
.footer__links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--duration-fast);
}
.footer__links a:hover { color: var(--brand-cyan); }
.footer__contact p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}
.footer__bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-orange);
    color: #fff;
    box-shadow: var(--glow-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--duration-normal),
                visibility var(--duration-normal),
                transform var(--duration-normal) var(--ease-out-expo);
}
.back-to-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #fff;
    color: var(--brand-orange);
}
.back-to-top svg { width: 22px; height: 22px; }

/* ============================================================
   RESPONSIVE: TABLET (768px - 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .navbar__links { gap: 1.5rem; }
    .courses__grid { grid-template-columns: repeat(2, 1fr); }
    .school__grid { grid-template-columns: repeat(2, 1fr); }
    .results__gallery { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .contact__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE: MOBILE (<768px)
   ============================================================ */
@media (max-width: 768px) {
    :root { --header-height: 60px; }

    /* Mobile Nav */
    .navbar__toggle { display: flex; }
    .navbar__nav {
        position: fixed;
        inset: 0;
        background: rgba(2, 13, 40, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--duration-normal),
                    visibility var(--duration-normal);
    }
    .nav--open .navbar__nav {
        opacity: 1;
        visibility: visible;
    }
    .navbar__links {
        flex-direction: column;
        align-items: center;
        gap: 1.6rem;
    }
    .navbar__link { font-size: 1.2rem; }

    /* Hero */
    .hero__title-line { font-size: clamp(2rem, 10vw, 3.5rem); }

    /* About */
    .about__grid { grid-template-columns: 1fr; }
    .about__values { grid-template-columns: 1fr; gap: 1rem; }

    /* Courses */
    .courses__grid { grid-template-columns: 1fr; }

    /* School */
    .school__grid { grid-template-columns: 1fr; }

    /* Results */
    .results__stats { gap: 2rem; }
    .results__gallery { grid-template-columns: 1fr 1fr; }

    /* FAQ */
    .faq__question { padding: 1rem 1.25rem; font-size: 0.9375rem; }
    .faq__answer { padding: 0 1.25rem 1rem; }

    /* Contact */
    .contact__form { padding: 1.5rem; }

    /* Footer */
    .footer__grid { grid-template-columns: 1fr; text-align: center; }
    .footer__logo { margin: 0 auto 0.75rem; }
}

/* ============================================================
   RESPONSIVE: SMALL MOBILE (<480px)
   ============================================================ */
@media (max-width: 480px) {
    .hero__actions { flex-direction: column; align-items: center; }
    .hero__actions .btn { width: 100%; max-width: 260px; }
    .results__gallery { grid-template-columns: 1fr; }
    .results__stats { flex-direction: column; gap: 1.5rem; }
}

/* ============================================================
   TOUCH DEVICE FALLBACKS
   ============================================================ */
@media (hover: none) {
    .course-card:hover,
    .value-card:hover,
    .school-card:hover { transform: none; }
    .gallery-item:hover img,
    .gallery-item:hover .gallery-placeholder { transform: none; }
    .gallery-item__overlay { opacity: 1; background: linear-gradient(to top, rgba(5,24,75,0.7) 0%, transparent 70%); }
}

/* ============================================================
   MOBILE BOTTOM CTA BAR
   ============================================================ */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    padding: 0.6rem 1rem;
    padding-bottom: max(0.6rem, env(safe-area-inset-bottom));
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-subtle);
    gap: 0.75rem;
}
.mobile-cta__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1rem;
    font-family: var(--font-cn);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--duration-fast);
    text-decoration: none;
}
.mobile-cta__btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.mobile-cta__btn--call {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.25);
}
.mobile-cta__btn--call:hover,
.mobile-cta__btn--call:active {
    border-color: var(--brand-cyan);
    color: var(--brand-cyan);
}
.mobile-cta__btn--book {
    background: var(--brand-orange);
    color: #fff;
    border: 1.5px solid var(--brand-orange);
    box-shadow: var(--glow-orange);
}
.mobile-cta__btn--book:hover,
.mobile-cta__btn--book:active {
    background: transparent;
    color: var(--brand-orange);
}

@media (max-width: 768px) {
    .mobile-cta { display: flex; }
    .back-to-top { bottom: 5rem; }
    body { padding-bottom: 4.5rem; }
}

/* ============================================================
   FORM RADIO GROUP
   ============================================================ */
.form-optional {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.form-radio-group {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.form-radio {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    background: var(--bg-deep);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    transition: border-color var(--duration-fast),
                color var(--duration-fast),
                background var(--duration-fast);
}
.form-radio:hover {
    border-color: var(--border-glow);
}
.form-radio input[type="radio"] {
    width: auto;
    accent-color: var(--brand-cyan);
    cursor: pointer;
}
.form-radio:has(input:checked) {
    border-color: var(--brand-cyan);
    color: #fff;
    background: rgba(81, 199, 231, 0.1);
}
