:root {
    --cyan: #0891B2;
    --cyan-dark: #0E7490;
    --cyan-light: #ECFEFF;
    --cyan-muted: #CFFAFE;
    --dark: #0F172A;
    --gray: #64748B;
    --gray-light: #94A3B8;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --grid-line: #E2E8F0;
    --grid-line-strong: #CBD5E1;
    --radius: 0;
    --font: 'IBM Plex Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--dark);
    line-height: 1.65;
    background: var(--white);
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 48px 48px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-dark); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--grid-line-strong);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 72px;
}
.logo {
    display: flex; align-items: center; gap: 0.65rem;
    font-weight: 700; font-size: 1.15rem;
    color: var(--dark);
}
.logo-grid {
    display: grid; grid-template-columns: repeat(2, 10px); gap: 3px;
    width: 26px; height: 26px;
}
.logo-grid span {
    background: var(--cyan);
    border: 1px solid var(--cyan-dark);
}
.logo-text { letter-spacing: -0.02em; }
.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav a { color: var(--dark); font-weight: 500; font-size: 0.95rem; }
.main-nav a.active { color: var(--cyan); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600; font-size: 0.95rem; border: 2px solid transparent;
    cursor: pointer; transition: all 0.2s;
    font-family: var(--font);
}
.btn-primary {
    background: var(--cyan); color: white; border-color: var(--cyan-dark);
}
.btn-primary:hover {
    background: var(--cyan-dark); color: white;
    box-shadow: 4px 4px 0 var(--grid-line-strong);
}
.btn-outline {
    background: var(--white); border-color: var(--grid-line-strong); color: var(--dark);
}
.btn-outline:hover { background: var(--cyan-light); border-color: var(--cyan); color: var(--cyan-dark); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* Trust bar */
.trust-bar {
    background: var(--dark); color: white; padding: 0.75rem 0;
    font-size: 0.875rem; text-align: center;
    border-bottom: 2px solid var(--cyan);
}
.trust-bar span { margin: 0 1rem; opacity: 0.9; }

/* Hero */
.hero {
    padding: 4rem 0 5rem;
    background: var(--white);
    border-bottom: 2px solid var(--grid-line-strong);
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    border: 2px solid var(--grid-line-strong);
    background: var(--white);
}
.hero-content {
    padding: 2.5rem;
    border-right: 2px solid var(--grid-line-strong);
}
.hero h1 {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    line-height: 1.15; margin-bottom: 1.25rem; font-weight: 700;
}
.hero h1 span { color: var(--cyan); }
.hero-lead { font-size: 1.05rem; color: var(--gray); margin-bottom: 1.5rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-meta { font-size: 0.875rem; color: var(--gray); }
.hero-img { overflow: hidden; }
.hero-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* System callout */
.system-callout { padding: 0; background: var(--white); }
.callout-grid {
    display: grid; grid-template-columns: auto 1fr;
    border: 2px solid var(--grid-line-strong);
    border-top: none;
}
.callout-label {
    writing-mode: vertical-rl; transform: rotate(180deg);
    background: var(--cyan); color: white;
    padding: 1.5rem 0.75rem;
    font-weight: 700; font-size: 0.75rem;
    letter-spacing: 0.15em; text-transform: uppercase;
}
.callout-body { padding: 2rem 2.5rem; }
.callout-body h2 { font-size: 1.35rem; margin-bottom: 0.75rem; font-weight: 700; }

/* Stats grid */
.stats-section { padding: 0; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border: 2px solid var(--grid-line-strong);
    border-top: none;
}
.stat-block {
    text-align: center; padding: 2rem 1rem;
    border-right: 2px solid var(--grid-line-strong);
    background: var(--white);
}
.stat-block:last-child { border-right: none; }
.stat-num {
    font-size: 2rem; font-weight: 700;
    color: var(--cyan);
}
.stat-label { font-size: 0.85rem; color: var(--gray); margin-top: 0.5rem; }

/* Sections */
.section { padding: 4rem 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-header h2 { font-size: 2rem; margin-bottom: 0.75rem; font-weight: 700; }
.section-header p { color: var(--gray); }

/* Modular grid cards */
.mod-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    border: 2px solid var(--grid-line-strong);
}
.mod-block {
    background: var(--white);
    border-right: 2px solid var(--grid-line-strong);
    border-bottom: 2px solid var(--grid-line-strong);
    transition: background 0.2s;
}
.mod-block:nth-child(2n) { border-right: none; }
.mod-block:nth-last-child(-n+2) { border-bottom: none; }
.mod-block:hover { background: var(--cyan-light); }
.mod-block-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.mod-block-body { padding: 1.5rem; }
.mod-block-tag {
    display: inline-block;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--cyan); margin-bottom: 0.5rem;
}
.mod-block-body h3 { font-size: 1.05rem; margin-bottom: 0.5rem; font-weight: 600; }
.mod-block-body p { font-size: 0.95rem; color: var(--gray); }

/* System steps */
.system-steps {
    display: grid; grid-template-columns: repeat(6, 1fr);
    border: 2px solid var(--grid-line-strong);
}
.system-step {
    text-align: center; padding: 1.5rem 0.75rem;
    border-right: 2px solid var(--grid-line-strong);
    background: var(--white);
}
.system-step:last-child { border-right: none; }
.step-letter {
    width: 40px; height: 40px; margin: 0 auto 0.75rem;
    background: var(--cyan); color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
    border: 2px solid var(--cyan-dark);
}
.system-step h3 { font-size: 0.85rem; margin-bottom: 0.35rem; font-weight: 600; }
.system-step p { font-size: 0.75rem; color: var(--gray); }

/* Programs preview */
.programs-preview { background: var(--light); }
.module-list {
    display: grid; grid-template-columns: repeat(2, 1fr);
    border: 2px solid var(--grid-line-strong);
    max-width: 900px; margin: 0 auto;
}
.module-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.25rem 1.5rem;
    border-right: 2px solid var(--grid-line-strong);
    border-bottom: 2px solid var(--grid-line-strong);
    background: var(--white);
}
.module-item:nth-child(2n) { border-right: none; }
.module-item:nth-last-child(-n+2) { border-bottom: none; }
.module-item h3 { font-size: 0.95rem; font-weight: 600; }
.module-item .mod-tag { color: var(--cyan); font-weight: 700; font-size: 0.8rem; margin-right: 0.5rem; }
.module-item span { color: var(--cyan-dark); font-weight: 600; font-size: 0.875rem; }

/* FAQ */
.faq-mini { max-width: 720px; margin: 0 auto; border: 2px solid var(--grid-line-strong); }
.faq-item { padding: 1.25rem 1.5rem; border-bottom: 2px solid var(--grid-line-strong); background: var(--white); }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1rem; margin-bottom: 0.5rem; font-weight: 600; }
.faq-item p { color: var(--gray); font-size: 0.95rem; }

/* Disclaimer */
.disclaimer-box {
    background: var(--cyan-light);
    border: 2px solid var(--cyan);
    padding: 1.25rem 1.5rem;
    font-size: 0.9rem; color: #155E75;
}

/* CTA */
.cta-section {
    padding: 4rem 0; text-align: center;
    background: var(--cyan); color: white;
    border-top: 2px solid var(--cyan-dark);
}
.cta-section h2 { font-size: 2rem; margin-bottom: 1rem; font-weight: 700; }
.cta-section p { opacity: 0.95; margin-bottom: 1.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-section .btn-primary { background: var(--white); color: var(--cyan-dark); border-color: var(--white); }
.cta-section .btn-primary:hover { background: var(--cyan-light); }

/* Page hero */
.page-hero {
    padding: 3rem 0;
    background: var(--white);
    border-bottom: 2px solid var(--grid-line-strong);
}
.page-hero h1 { font-size: 2.25rem; margin-bottom: 0.75rem; font-weight: 700; }
.page-hero p { color: var(--gray); max-width: 640px; }

/* Prose */
.prose { max-width: 800px; }
.prose h2 { margin: 2rem 0 1rem; font-size: 1.5rem; font-weight: 700; }
.prose h3 { margin: 1.5rem 0 0.75rem; font-size: 1.15rem; font-weight: 600; }
.prose p { margin-bottom: 1rem; color: #334155; }
.prose ul { margin: 1rem 0 1rem 1.5rem; }
.prose li { margin-bottom: 0.5rem; }

/* Program cards */
.program-card {
    display: grid; grid-template-columns: 280px 1fr; gap: 0;
    border: 2px solid var(--grid-line-strong);
    margin-bottom: 1.5rem;
    background: var(--white);
}
.program-card-img { border-right: 2px solid var(--grid-line-strong); overflow: hidden; }
.program-card-img img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.program-card-body { padding: 2rem; }
.program-card-body h2 { font-size: 1.35rem; margin-bottom: 0.75rem; font-weight: 700; }
.program-card-body .mod-badge {
    display: inline-block;
    background: var(--cyan); color: white;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem; font-weight: 700;
    margin-bottom: 0.75rem;
}
.program-price { color: var(--cyan-dark); font-weight: 700; margin-top: 1rem; }

/* Services */
.services-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    border: 2px solid var(--grid-line-strong);
}
.service-block {
    padding: 2rem;
    border-right: 2px solid var(--grid-line-strong);
    border-bottom: 2px solid var(--grid-line-strong);
    background: var(--white);
}
.service-block:nth-child(2n) { border-right: none; }
.service-block:nth-last-child(-n+2) { border-bottom: none; }
.service-block img { margin-bottom: 1rem; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.service-block h3 { margin-bottom: 0.75rem; font-weight: 600; }
.service-price { font-weight: 700; color: var(--cyan); margin-top: 1rem; }

/* About */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
}
.about-imgs { display: grid; gap: 0; border: 2px solid var(--grid-line-strong); }
.about-imgs img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-bottom: 2px solid var(--grid-line-strong); }
.about-imgs img:last-child { border-bottom: none; }

/* Contact */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.contact-form label { display: block; font-weight: 500; margin-bottom: 0.35rem; font-size: 0.9rem; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 0.75rem 1rem;
    border: 2px solid var(--grid-line-strong);
    font-family: inherit; font-size: 1rem; margin-bottom: 1rem;
    background: var(--white);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .checkbox-label {
    display: flex; align-items: flex-start; gap: 0.5rem;
    font-size: 0.875rem; margin-bottom: 1rem;
}
.contact-form input[type="checkbox"] { width: auto; margin-top: 0.2rem; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-msg { padding: 1rem; margin-bottom: 1rem; border: 2px solid; }
.form-msg.success { background: #ECFDF5; color: #065F46; border-color: #6EE7B7; }
.form-msg.error { background: #FEF2F2; color: #991B1B; border-color: #FCA5A5; }
.contact-info {
    padding: 2rem;
    border: 2px solid var(--grid-line-strong);
    background: var(--white);
}
.contact-info img { margin-top: 1.5rem; aspect-ratio: 16/10; object-fit: cover; width: 100%; }

/* FAQ full */
.faq-full .faq-item { padding: 1.5rem 0; border-bottom: 2px solid var(--grid-line); }
.faq-full h2 { font-size: 1.1rem; margin-bottom: 0.75rem; font-weight: 600; }

/* Legal */
.legal-content { padding: 3rem 0 4rem; }
.legal-content h1 { font-size: 2rem; margin-bottom: 1.5rem; font-weight: 700; }
.legal-content h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; font-weight: 700; }
.legal-content p, .legal-content li { margin-bottom: 0.75rem; color: #334155; line-height: 1.7; }
.legal-content ul { margin-left: 1.5rem; }

/* 404 */
.error-page {
    min-height: 60vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 4rem 1rem;
}
.error-grid {
    border: 2px solid var(--grid-line-strong);
    padding: 3rem 4rem;
    background: var(--white);
    max-width: 520px;
}
.error-code {
    font-size: 4rem; font-weight: 700; color: var(--cyan);
    line-height: 1; margin-bottom: 0.5rem;
}
.error-page h1 { font-size: 1.5rem; margin-bottom: 1rem; font-weight: 700; }
.error-page p { color: var(--gray); margin-bottom: 2rem; }

/* Footer */
.site-footer {
    background: var(--dark); color: white;
    padding: 3rem 0 1.5rem;
    border-top: 3px solid var(--cyan);
}
.footer-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
    margin-bottom: 2rem;
}
.footer-brand strong { display: block; margin-bottom: 0.5rem; font-size: 1.05rem; }
.footer-brand p { font-size: 0.875rem; opacity: 0.85; }
.footer-links, .footer-legal { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a, .footer-legal a { color: #94A3B8; font-size: 0.9rem; }
.footer-links a:hover, .footer-legal a:hover { color: var(--cyan-muted); }
.footer-contact { font-size: 0.875rem; opacity: 0.85; }
.footer-contact a { color: var(--cyan-muted); }
.footer-host { margin-top: 0.5rem; font-size: 0.8rem; opacity: 0.7; }
.footer-disclaimer {
    font-size: 0.8rem; opacity: 0.75; padding-top: 1.5rem;
    border-top: 1px solid #334155; margin-bottom: 1rem;
}
.footer-copy { font-size: 0.8rem; opacity: 0.6; text-align: center; }

/* Cookie banner */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    background: var(--dark); color: white; padding: 1.25rem;
    border-top: 3px solid var(--cyan);
}
.cookie-banner[hidden] { display: none; }
.cookie-inner {
    max-width: 1140px; margin: 0 auto;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.cookie-inner p { font-size: 0.9rem; flex: 1; min-width: 200px; }
.cookie-inner a { color: var(--cyan-muted); }
.cookie-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-btns .btn-outline { border-color: #64748B; color: white; }

/* Responsive */
@media (max-width: 900px) {
    .hero-grid, .about-grid, .contact-grid, .mod-grid, .services-grid { grid-template-columns: 1fr; }
    .hero-content { border-right: none; border-bottom: 2px solid var(--grid-line-strong); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-block:nth-child(2) { border-right: none; }
    .stat-block:nth-child(3) { border-bottom: 2px solid var(--grid-line-strong); }
    .system-steps { grid-template-columns: repeat(3, 1fr); }
    .system-step:nth-child(3) { border-right: none; }
    .system-step:nth-child(4), .system-step:nth-child(5), .system-step:nth-child(6) { border-top: 2px solid var(--grid-line-strong); }
    .system-step:nth-child(6) { border-right: none; }
    .module-list { grid-template-columns: 1fr; }
    .module-item { border-right: none !important; }
    .program-card { grid-template-columns: 1fr; }
    .program-card-img { border-right: none; border-bottom: 2px solid var(--grid-line-strong); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .callout-grid { grid-template-columns: 1fr; }
    .callout-label { writing-mode: horizontal-tb; transform: none; padding: 0.75rem 1.5rem; }
    .main-nav {
        display: none; position: absolute; top: 72px; left: 0; right: 0;
        background: white; flex-direction: column; padding: 1rem;
        border-bottom: 2px solid var(--grid-line-strong);
    }
    .main-nav.open { display: flex; }
    .nav-toggle { display: flex; }
}
@media (max-width: 600px) {
    .stats-grid, .system-steps { grid-template-columns: 1fr; }
    .stat-block, .system-step { border-right: none !important; }
    .footer-grid { grid-template-columns: 1fr; }
}
