/* CTR-inspired layout & typography — colors unchanged (navy theme) */

:root {
    --font-body: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --text-base: 17px;
    --text-lg: 19px;
    --text-sm: 14px;
    --line-height-body: 1.75;
    --nav-size: 15px;
    --heading-1: clamp(32px, 4vw, 45px);
    --heading-2: clamp(28px, 3vw, 36px);
    --heading-3: 22px;
    --container-max: 1440px;
    --section-space: 64px;
    --radius-btn: 6px;
    --radius-card: 12px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--line-height-body);
    color: #323b43;
    -webkit-font-smoothing: antialiased;
}

/* ---- Header ---- */
.header {
    box-shadow: 0 9px 20px -20px rgba(13, 23, 58, 0.45);
    border-bottom: none;
}

.header-top {
    padding: 0;
    min-height: 41px;
    font-size: var(--text-sm);
    line-height: 41px;
}

.header-top-inner {
    min-height: 41px;
}

.header-top-item {
    font-size: var(--text-sm);
    font-weight: 400;
}

.header-top-action {
    width: 32px;
    height: 32px;
    font-size: 12px;
}

.header-main {
    padding: 18px 0 14px;
    background: #fff;
}

.header-main .container {
    gap: 28px;
}

.logo-img {
    height: 78px;
    max-width: 280px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-img--footer {
    height: 60px;
    max-width: 220px;
}

.nav-menu {
    gap: 2px;
}

.nav-menu a,
.nav-parent__label,
.nav-parent__link {
    font-size: var(--nav-size);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 14px;
    color: #232323;
}

.nav-menu a:hover,
.nav-parent__link:hover,
.nav-menu li.has-children:hover > .nav-parent .nav-parent__label {
    color: var(--primary-pink);
}

.nav-menu a::after {
    display: none;
}

.nav-submenu {
    min-width: 320px;
    border-radius: var(--radius-card);
    border: 1px solid #e5e7eb;
    box-shadow: 0 16px 40px rgba(13, 23, 58, 0.12);
    padding: 16px 0;
}

.nav-submenu a {
    font-size: 13px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.45;
    padding: 10px 0;
    color: #4b5563;
}

.nav-submenu a:hover {
    color: var(--primary-pink);
}

.language-selector select {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-btn);
    padding: 8px 14px;
}

.btn {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius-btn);
    padding: 10px 28px;
}

.btn-primary,
.btn-outline {
    line-height: 1.4;
}

/* ---- Layout ---- */
.container {
    max-width: var(--container-max);
    padding: 0 24px;
}

.section {
    padding: var(--section-space) 0;
}

.section-title {
    margin-bottom: 42px;
}

.section-subtitle {
    font-size: 13px;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    color: var(--sky-blue);
}

.section-title h2 {
    font-size: var(--heading-2);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
    padding-left: 36px;
}

.section-title h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: var(--sky-blue);
}

.section-title p {
    font-size: var(--text-lg);
    line-height: 1.7;
    max-width: 760px;
    font-weight: 400;
    color: #5f6b7a;
}

/* ---- Page hero (inner pages) ---- */
.page-hero,
.about-hero {
    min-height: 340px;
    background: linear-gradient(135deg, #f7f8fb 0%, #eceef3 100%);
    border-bottom: 1px solid rgba(13, 23, 58, 0.06);
}

.page-hero-inner,
.about-hero-inner {
    padding: 72px 24px 88px;
}

.page-hero h1,
.about-hero h1 {
    font-size: var(--heading-1);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--dark-blue);
    max-width: 900px;
    padding-left: 36px;
    position: relative;
}

.page-hero h1::before,
.about-hero h1::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 16px;
    height: 16px;
    background: var(--sky-blue);
}

.page-hero-art,
.about-hero-art {
    height: 80px;
    opacity: 0.55;
}

/* ---- Cards & grids ---- */
.feature-card,
.news-card,
.course-card,
.contact-card,
.about-pillar {
    border-radius: var(--radius-card);
}

.feature-card h3 {
    font-size: var(--heading-3);
    font-weight: 600;
}

.news-card h3,
.course-card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}

.news-card p,
.course-card-excerpt {
    font-size: var(--text-base);
    line-height: 1.7;
    color: #5f6b7a;
}

/* ---- Courses page ---- */
.courses-page .courses-intro-section p,
.courses-intro-text {
    font-size: var(--text-lg);
    line-height: 1.75;
    color: #5f6b7a;
}

.courses-page-header h1 {
    font-size: var(--heading-1);
    font-weight: 600;
}

/* ---- About page ---- */
.about-eyebrow {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.about-intro-text,
.about-pillar-body,
.about-pillar-list {
    font-size: var(--text-base);
    line-height: var(--line-height-body);
    color: #5f6b7a;
}

.about-intro-text p,
.about-pillar-body p,
.about-pillar-body li,
.about-pillar-list li {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    font-family: inherit;
}

.about-pillar h2 {
    font-size: var(--heading-3);
    font-weight: 600;
}

/* ---- Contact page ---- */
.contact-card h3,
.contact-form-section h2 {
    font-size: var(--heading-3);
    font-weight: 600;
}

.contact-card p,
.contact-form-section label {
    font-size: var(--text-base);
    line-height: 1.7;
}

/* ---- Footer ---- */
.footer {
    padding: 72px 0 24px;
    font-size: var(--text-base);
    line-height: 1.75;
}

.footer-section h3 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
}

.footer-section a {
    font-size: 16px;
    line-height: 1.8;
}

.footer-bottom {
    font-size: 14px;
}

/* ---- Page content ---- */
.page-content {
    font-size: var(--text-lg) !important;
    line-height: 1.75 !important;
}

.page-content h2 {
    font-size: var(--heading-2) !important;
    font-weight: 600 !important;
}

.page-content h3 {
    font-size: var(--heading-3) !important;
    font-weight: 600 !important;
}

/* ---- Search overlay ---- */
.site-search-dialog h2 {
    font-family: var(--font-body);
    font-size: var(--heading-2);
    font-weight: 600;
}

.site-search-form input {
    font-family: var(--font-body);
    font-size: var(--text-base);
}

/* ---- Mobile menu ---- */
@media (max-width: 768px) {
    .logo-img {
        height: 56px;
        max-width: 180px;
    }

    .header-main {
        padding: 12px 0;
    }

    .nav-menu > li > a,
    .nav-menu .nav-parent {
        font-size: 15px;
        padding: 16px 22px;
    }

    .section-title h2 {
        font-size: 28px;
        padding-left: 28px;
    }

    .section-title h2::before {
        width: 12px;
        height: 12px;
    }

    .page-hero h1,
    .about-hero h1 {
        font-size: 32px;
        padding-left: 28px;
    }

    .page-hero h1::before,
    .about-hero h1::before {
        width: 12px;
        height: 12px;
    }

    .section {
        padding: 48px 0;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 40px;
    }
}
