/* ========================================
   WZOS.SK — Mgr. Igor Wzoš
   Politický web — CSS Stylesheet
   Monochromatický navy + biela dizajn
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    --navy-dark:  #0A1628;
    --navy:       #1B365D;
    --navy-light: #2B5A8F;
    --blue:       #3A7BD5;
    --blue-light: #5A9BE6;
    --white:      #FFFFFF;
    --light:      #F5F7FA;
    --light-blue: #EDF2F8;
    --cream:      #FAFBFD;
    --text:       #2C3E50;
    --text-light: #5A6B7D;
    --border:     #E1E8ED;
    --shadow:     rgba(27, 54, 93, 0.12);
    --shadow-strong: rgba(27, 54, 93, 0.25);
    --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
    font-family: 'Source Sans 3', 'Source Sans Pro', Georgia, serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    padding-top: 70px;
    overflow-x: hidden;
}

body[onclick] { /* iOS click fix */ }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--blue);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover { color: var(--navy); }

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

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Section base --- */
section {
    padding: 5rem 0;
    position: relative;
}

.section-light { background: var(--light); }
.section-dark {
    background: var(--navy-dark);
    color: var(--white);
}
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}
.section-dark p,
.section-dark li {
    color: rgba(255,255,255,0.85);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--navy);
    margin: 0.75rem auto 0;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-header h2.in-view::after {
    transform: scaleX(1);
}

.section-dark .section-header h2::after {
    background: var(--white);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto;
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.7);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: var(--navy-dark);
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 20px var(--shadow-strong);
    transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
}

.nav-brand .brand-accent {
    color: var(--white);
    background: rgba(43, 90, 143, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.05em 0.35em;
    border-radius: 5px;
    border: 1px solid rgba(58, 123, 213, 0.3);
    opacity: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color var(--transition);
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-phone {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.nav-phone svg {
    width: 16px;
    height: 16px;
    fill: var(--white);
    opacity: 0.7;
}

/* Mobile nav */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10001;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    margin: 6px 0;
    transition: all var(--transition);
    border-radius: 2px;
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy-dark);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.nav-overlay a {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: color var(--transition);
}

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

.nav-overlay .overlay-contact {
    margin-top: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nav-overlay .overlay-contact a {
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(255,255,255,0.7);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--navy-dark);
    overflow-x: hidden;
    padding: 4rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    opacity: 0.95;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    background-image:
        radial-gradient(circle at 25% 25%, var(--white) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, var(--white) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.hero-content {
    color: var(--white);
    display: flex;
    flex-direction: column;
}

.hero-visual {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    background: rgba(43, 90, 143, 0.3);
    border: 1px solid rgba(58, 123, 213, 0.4);
    color: var(--blue-light);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: auto;
    position: relative;
    overflow: hidden;
}

/* Shimmer effect on hero tag */
.hero-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: shimmer 3s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    padding-top: 30px;
    line-height: 1.15;
}

.hero h1 span {
    color: var(--white);
}

/* Line-wrap for hero h1 reveal animation */
.line-wrap {
    overflow: hidden;
    display: block;
}

.line-wrap > span {
    display: block;
}

/* Glass text highlight */
.hero-glass-text {
    display: inline;
    background: rgba(43, 90, 143, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.05em 0.35em;
    border-radius: 6px;
    border: 1px solid rgba(58, 123, 213, 0.3);
}

/* Hero function badges */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-badge-item {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: background 0.3s ease;
}

@media (hover: hover) {
    .hero-badge-item:hover {
        background: rgba(255, 255, 255, 0.15);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 480px;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--white);
    line-height: 1;
}

.hero-stat .stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.3rem;
    display: block;
}

/* --- Hero visual (right column) --- */
/* Note: align-self:center is set above in .hero-content context */

/* --- Hero topics grid (6 photos) --- */
.hero-topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    width: 100%;
}

.hero-topic-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
    .hero-topic-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    }
}

.hero-topic-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-topic-label {
    z-index: 2;
}


.hero-topic-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.4rem 0.5rem;
    background: rgba(10, 22, 40, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
}

/* --- Hero signature (calligraphic text) --- */
.hero-signature-wrap {
    margin-top: 1.5rem;
    text-align: center;
    width: 100%;
}

.hero-signature-text {
    font-family: 'Great Vibes', cursive;
    font-size: 3.3rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.02em;
    display: inline-block;
    clip-path: inset(0 100% 0 0);
}

/* --- Glassmorphism utilities --- */
.glass-navy {
    background: rgba(10, 22, 40, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
}

.glass-white {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-primary {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-outline-dark {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

@media (hover: hover) {
    .btn-primary:hover {
        background: var(--light);
        border-color: var(--light);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
    }
    .btn-outline:hover {
        background: rgba(255,255,255,0.1);
        border-color: var(--white);
    }
    .btn-outline-dark:hover {
        background: var(--navy);
        color: var(--white);
        transform: translateY(-2px);
    }
    .btn-navy:hover {
        background: var(--navy-light);
        border-color: var(--navy-light);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px var(--shadow-strong);
    }
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- SVG Section Dividers --- */
.section-divider {
    display: block;
    width: 100%;
    line-height: 0;
    margin: -1px 0;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.section-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* --- Topics / Badges --- */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.topic-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 15px var(--shadow);
    text-decoration: none;
    color: var(--text);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    transform-style: preserve-3d;
    border-left: 3px solid transparent;
}

@media (hover: hover) {
    .topic-badge:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 35px var(--shadow-strong);
        border-left-color: var(--navy);
    }
}

.topic-badge .badge-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--light-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.topic-badge .badge-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--navy);
}

.topic-badge .badge-text h3 {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
    line-height: 1.3;
}

.topic-badge .badge-text p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.45;
    margin-bottom: 0;
}

/* Keep card styles for backward compat */
.topic-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border-top: 4px solid transparent;
    text-decoration: none;
    color: var(--text);
    display: block;
    transform-style: preserve-3d;
}

.topic-card .card-icon {
    width: 56px;
    height: 56px;
    background: var(--light-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.topic-card .card-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--navy);
}

.topic-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.topic-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* --- About preview on index --- */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-photo {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow);
    position: relative;
}

.about-photo img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-photo-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 5rem;
    opacity: 0.3;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--navy);
    margin-top: 0.75rem;
    border-radius: 2px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.about-text .highlight {
    color: var(--navy-dark);
    font-weight: 600;
}

/* --- Strengths / Features --- */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.strength-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.strength-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strength-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

.strength-item h4 {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.strength-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* --- Timeline --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--border);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.15rem;
    top: 0.4rem;
    width: 14px;
    height: 14px;
    background: var(--navy);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--navy);
}

.timeline-item.highlight::before {
    background: var(--white);
    box-shadow: 0 0 0 3px var(--navy);
}

.timeline-year {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--navy-dark);
    margin-bottom: 0.4rem;
}

.timeline-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* --- Program page sections --- */
.program-section {
    padding: 5rem 0;
}

.program-section:nth-child(even) {
    background: var(--light);
}

.program-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.program-content.reverse {
    direction: rtl;
}

.program-content.reverse > * {
    direction: ltr;
}

.program-icon-large {
    width: 80px;
    height: 80px;
    background: var(--light-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.program-icon-large svg {
    width: 40px;
    height: 40px;
    fill: var(--navy);
}

.program-text h2 {
    margin-bottom: 1rem;
}

.program-text h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--navy);
    margin-top: 0.75rem;
    border-radius: 2px;
}

.program-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.program-points {
    list-style: none;
    padding: 0;
}

.program-points li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text);
    font-size: 0.95rem;
}

.program-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--navy);
    border-radius: 50%;
}

.program-sidebar {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow);
}

.program-sidebar h3 {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

.program-fact {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.program-fact:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.program-fact-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--navy);
    line-height: 1;
    white-space: nowrap;
}

.program-fact-text {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* --- Inline CTA (inside section-dark) --- */
.section-cta {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.section-cta h3 {
    color: var(--white);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-bottom: 0.75rem;
}

.section-cta p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto 1.5rem;
}

/* --- CTA Banner (subpages) --- */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-banner .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    transition: all var(--transition);
}

@media (hover: hover) {
    .contact-info-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px var(--shadow);
    }
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: var(--navy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

.contact-info-text h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-info-text p {
    color: var(--navy-dark);
    font-weight: 600;
    margin-bottom: 0;
}

/* Social links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 48px;
    height: 48px;
    background: var(--navy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition);
}

.social-link svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

@media (hover: hover) {
    .social-link:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px var(--shadow-strong);
    }
    .social-link.fb:hover { background: #1877F2; }
    .social-link.ig:hover { background: var(--navy-light); }
    .social-link.yt:hover { background: var(--navy-light); }
}

/* Form */
.contact-form {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px var(--shadow);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: 'Source Sans 3', Georgia, serif;
    font-size: 1rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%232C3E50' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all var(--transition);
}

@media (hover: hover) {
    .form-submit:hover {
        background: var(--navy-light);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px var(--shadow-strong);
    }
}

/* --- Footer --- */
.footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 1rem;
    display: block;
}

.footer-brand .brand-accent {
    color: var(--white);
    opacity: 0.7;
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    transition: color var(--transition);
}

.footer-contact a:hover { color: var(--white); }

.footer-contact svg {
    width: 16px;
    height: 16px;
    fill: rgba(255,255,255,0.5);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

.footer-bottom a:hover { color: var(--white); }

/* --- Back to top --- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--navy);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    z-index: 99;
    box-shadow: 0 4px 15px var(--shadow-strong);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

@media (hover: hover) {
    .back-to-top:hover {
        background: var(--navy-light);
        transform: translateY(-3px);
    }
}

/* --- Page hero (inner pages) --- */
.page-hero {
    background: var(--navy-dark);
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.page-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Qualifications grid --- */
.qual-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.qual-item {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow);
    text-align: center;
}

.qual-item .qual-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.qual-item .qual-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* --- Custom scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--navy), var(--navy-light));
    border-radius: 5px;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--navy) var(--light);
}

/* --- GSAP animation initial states --- */
.gs-hidden {
    opacity: 0;
    visibility: hidden;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-subtitle { margin: 0 auto 2rem; }
    .hero-badges { justify-content: center; max-width: none; }

    .hero-stats { justify-content: center; }

    .hero-topics-grid {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-signature-wrap { margin-top: 1rem; }

    .btn-group { justify-content: center; }

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

    .about-preview { grid-template-columns: 1fr; gap: 2rem; }

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

    .program-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .program-content.reverse { direction: ltr; }

    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
    .nav-links,
    .nav-phone { display: none; }

    .nav-toggle { display: block; }

    .nav-overlay { display: flex; }

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

    .section-divider svg { height: 40px; }
}

@media (max-width: 600px) {
    body { padding-top: 60px; font-size: 16px; }

    .nav { height: 60px; }

    section { padding: 3.5rem 0; }

    .hero { min-height: 75vh; padding: 2rem 0; }

    .hero h1 { font-size: 2rem; }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stat .stat-number { font-size: 1.6rem; }

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

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

    .topic-badge { padding: 0.75rem 1rem; }
    .topic-badge .badge-icon { width: 38px; height: 38px; min-width: 38px; }
    .topic-badge .badge-text h3 { font-size: 0.85rem; }
    .topic-badge .badge-text p { font-size: 0.78rem; }

    .hero-badge-item { font-size: 0.7rem; padding: 0.25rem 0.65rem; }

    .section-cta { margin-top: 2.5rem; padding-top: 2rem; }
    .section-cta h3 { font-size: 1.2rem; }
    .section-cta p { font-size: 0.95rem; }

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

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

    .timeline { padding-left: 2rem; }

    .timeline-item::before { left: -2.15rem; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .contact-form { padding: 1.5rem; }

    .btn { padding: 0.75rem 1.5rem; font-size: 0.85rem; }

    .section-divider svg { height: 30px; }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-tag::after {
        animation: none;
    }

    .gs-hidden {
        opacity: 1;
        visibility: visible;
    }
}

/* --- Print --- */
@media print {
    .nav, .nav-overlay, .back-to-top, .footer, .section-divider { display: none; }
    body { padding-top: 0; }
    section { padding: 1rem 0; }
    .hero { min-height: auto; }
}
