/* ============================================================
   CHEMIA Z PASJĄ — Stylesheet
   Palette: violet / black / white
   ============================================================ */

:root {
    /* Palette */
    --violet-50:  #f5f0ff;
    --violet-100: #ece2ff;
    --violet-200: #d9c4ff;
    --violet-300: #b894ff;
    --violet-400: #9b6dff;
    --violet-500: #7c3aed;
    --violet-600: #6d28d9;
    --violet-700: #5b21b6;
    --violet-900: #2e1065;

    --ink:        #0a0a0f;
    --ink-soft:   #14141d;
    --ink-2:      #1c1c28;
    --white:      #ffffff;
    --paper:      #faf8ff;
    --gray-100:   #f4f2f9;
    --gray-300:   #d4d0e0;
    --gray-500:   #8a849c;
    --gray-700:   #4a4458;

    /* Gradients */
    --grad-violet: linear-gradient(135deg, #9b6dff 0%, #6d28d9 50%, #4c1d95 100%);
    --grad-violet-soft: linear-gradient(135deg, #b894ff 0%, #7c3aed 100%);
    --grad-dark: linear-gradient(160deg, #0a0a0f 0%, #1a0f2e 60%, #2e1065 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(45, 10, 101, 0.06);
    --shadow-md: 0 8px 30px rgba(45, 10, 101, 0.10);
    --shadow-lg: 0 20px 60px rgba(45, 10, 101, 0.18);
    --shadow-glow: 0 10px 40px rgba(124, 58, 237, 0.35);

    /* Layout */
    --container: 1200px;
    --radius: 20px;
    --radius-sm: 12px;
    --radius-lg: 32px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--violet-300); color: var(--white); }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.gradient-text {
    background: var(--grad-violet);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ============================================================
   BACKGROUND DECORATION (floating molecules / hexagons)
   ============================================================ */
.bg-decoration {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.bg-decoration svg { position: absolute; color: var(--violet-200); opacity: 0.18; }
.molecule-1 { width: 200px; top: 8%; right: -40px; color: var(--violet-300); animation: float-a 18s ease-in-out infinite; }
.hex-1      { width: 90px;  top: 35%; left: 3%; color: var(--violet-400); animation: float-b 22s ease-in-out infinite; }
.hex-2      { width: 130px; bottom: 12%; right: 5%; color: var(--violet-300); animation: float-a 26s ease-in-out infinite reverse; }
.molecule-2 { width: 160px; bottom: 30%; left: -30px; color: var(--violet-400); animation: float-b 20s ease-in-out infinite reverse; }

@keyframes float-a {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50%      { transform: translate(20px, -30px) rotate(15deg); }
}
@keyframes float-b {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50%      { transform: translate(-25px, 25px) rotate(-12deg); }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.4s var(--ease);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(45, 10, 101, 0.08);
    padding: 12px 0;
    border-bottom: 1px solid rgba(124, 58, 237, 0.08);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.3rem; }
.logo-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
}
.logo-accent { font-weight: 400; color: var(--violet-500); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.nav-menu a {
    padding: 8px 14px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: 100px;
    transition: all 0.25s var(--ease);
    position: relative;
}
.nav-menu a:not(.nav-cta):hover { color: var(--violet-600); background: var(--violet-50); }
.nav-menu a.nav-cta {
    background: var(--ink);
    color: var(--white);
    margin-left: 8px;
    padding: 10px 22px;
}
.nav-menu a.nav-cta:hover { background: var(--violet-600); transform: translateY(-1px); }

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    width: 44px; height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 10px;
}
.menu-toggle span {
    display: block;
    width: 24px; height: 2.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
}
.btn-primary {
    background: var(--grad-violet);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 45px rgba(124, 58, 237, 0.5); }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 2px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-block { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    background:
        radial-gradient(circle at 20% 20%, rgba(155, 109, 255, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 80% 60%, rgba(124, 58, 237, 0.14) 0%, transparent 50%),
        var(--white);
    overflow: hidden;
}
.hero-container { max-width: 920px; text-align: center; position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: var(--violet-50);
    border: 1px solid var(--violet-200);
    color: var(--violet-700);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
    animation: fadeUp 0.8s var(--ease) both;
}
.pulse-dot {
    width: 8px; height: 8px;
    background: var(--violet-500);
    border-radius: 50%;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.6); }
    50% { box-shadow: 0 0 0 8px rgba(124, 58, 237, 0); }
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    animation: fadeUp 0.8s var(--ease) 0.1s both;
}
.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--gray-700);
    max-width: 720px;
    margin: 0 auto 40px;
    font-weight: 400;
    line-height: 1.7;
    animation: fadeUp 0.8s var(--ease) 0.2s both;
}
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 70px;
    animation: fadeUp 0.8s var(--ease) 0.3s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 760px;
    margin: 0 auto;
    padding: 32px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--violet-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    animation: fadeUp 0.8s var(--ease) 0.4s both;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    background: var(--grad-violet);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.stat-unit { font-size: 0.5em; margin-left: 4px; }
.stat-label { font-size: 0.85rem; color: var(--gray-500); font-weight: 500; }

.hero-scroll-cue {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    width: 26px; height: 42px;
    border: 2px solid var(--violet-300);
    border-radius: 100px;
    display: flex; justify-content: center;
}
.hero-scroll-cue span {
    width: 4px; height: 8px;
    background: var(--violet-400);
    border-radius: 4px;
    margin-top: 8px;
    animation: scroll-cue 1.8s infinite;
}
@keyframes scroll-cue {
    0% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(14px); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SECTIONS (generic)
   ============================================================ */
.section {
    position: relative;
    z-index: 1;
    padding: clamp(80px, 12vh, 140px) 0;
}
.section-dark {
    background: var(--grad-dark);
    color: var(--white);
}
.section-dark .section-title,
.section-dark h3 { color: var(--white); }
.section-dark .section-intro { color: rgba(255,255,255,0.7); }
.section-alt { background: var(--paper); }

.section-header { max-width: 800px; margin-bottom: 60px; }
.section-header.center { margin-inline: auto; text-align: center; }
.section-tag {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--violet-500);
    margin-bottom: 16px;
}
.section-dark .section-tag { color: var(--violet-300); }

.section-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    margin-bottom: 20px;
}
.section-intro {
    font-size: 1.1rem;
    color: var(--gray-700);
    max-width: 680px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: start;
}
.about-portrait { position: relative; }
.portrait-frame {
    position: relative;
    aspect-ratio: 1 / 1.05;
    border-radius: var(--radius-lg);
    background: var(--grad-violet);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg);
}
.portrait-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}
.portrait-frame::after {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0,0,0,0.25), transparent 50%);
    pointer-events: none;
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.gallery-photo {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}
.gallery-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.gallery-photo:hover img { transform: scale(1.06); }
.portrait-credentials {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
}
.cred-item {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}
.cred-icon { font-size: 1.5rem; line-height: 1; }
.cred-item strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; }
.cred-item span { font-size: 0.85rem; color: var(--gray-500); }

.about-text .lead { font-size: 1.25rem; color: var(--ink); margin-bottom: 20px; font-weight: 500; }
.about-text p { margin-bottom: 18px; color: var(--gray-700); font-size: 1.05rem; }
.about-text strong { color: var(--ink); font-weight: 600; }
.about-text em { color: var(--violet-600); font-style: normal; font-weight: 600; }

.about-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
}
.pillar {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 18px;
    background: var(--violet-50);
    border: 1px solid var(--violet-100);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease);
}
.pillar:hover { transform: translateY(-2px); border-color: var(--violet-300); box-shadow: var(--shadow-sm); }
.pillar-icon { font-size: 1.3rem; }

/* ============================================================
   PRICING (Rezerwacja)
   ============================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}
.pricing-card {
    position: relative;
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: all 0.4s var(--ease);
}
.pricing-card:hover { transform: translateY(-6px); border-color: var(--violet-300); box-shadow: 0 20px 50px rgba(124, 58, 237, 0.3); }
.pricing-card-featured {
    background: rgba(124, 58, 237, 0.15);
    border-color: var(--violet-400);
}
.pricing-badge {
    position: absolute; top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--grad-violet);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    box-shadow: var(--shadow-glow);
}
.pricing-icon { font-size: 3rem; margin-bottom: 16px; }
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 16px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 24px; }
.price-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem; font-weight: 700;
    color: var(--white);
}
.price-currency { font-size: 1.3rem; color: var(--violet-300); margin-left: 4px; }
.price-period { color: rgba(255,255,255,0.5); font-size: 0.95rem; }

.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li {
    padding: 10px 0;
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
    padding-left: 28px;
    font-size: 0.97rem;
}
.pricing-features li::before {
    content: '';
    position: absolute; left: 0; top: 18px;
    width: 16px; height: 16px;
    background: var(--violet-400);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
}

.pricing-note {
    max-width: 720px;
    margin: 40px auto 0;
    padding: 20px 24px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    display: flex; gap: 14px; align-items: flex-start;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}
.pricing-note svg { color: var(--violet-300); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   MATURA — Journey
   ============================================================ */
.journey {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}
.journey-step {
    display: flex; gap: 22px;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.journey-step::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--grad-violet);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.journey-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.journey-step:hover::before { transform: scaleX(1); }

.step-marker {
    flex-shrink: 0;
    width: 56px; height: 56px;
    border-radius: 16px;
    background: var(--grad-violet);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-glow);
}
.step-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem; font-weight: 700;
    color: var(--white);
}
.step-content h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step-content p { color: var(--gray-700); font-size: 0.98rem; }

.matura-cta {
    display: flex; align-items: center; justify-content: space-between;
    gap: 30px;
    padding: 40px 48px;
    background: var(--grad-dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    flex-wrap: wrap;
}
.matura-cta-text h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 8px; }
.matura-cta-text p { color: rgba(255,255,255,0.7); }

/* ============================================================
   SCHOOL
   ============================================================ */
.school-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}
.school-card {
    padding: 40px 36px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
}
.school-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.school-card-highlight {
    background: var(--violet-50);
    border-color: var(--violet-200);
}
.school-card-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
    display: inline-block;
}
.school-card h3 { font-size: 1.5rem; margin-bottom: 18px; }
.school-card p { color: var(--gray-700); margin-bottom: 14px; font-size: 1rem; }
.school-card strong { color: var(--violet-700); font-weight: 600; }

.school-quote {
    position: relative;
    padding: 48px 56px;
    background: var(--ink);
    color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
}
.school-quote::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(124,58,237,0.3), transparent 50%);
}
.quote-mark {
    position: absolute; top: 24px; left: 32px;
    width: 50px; height: 50px;
    color: var(--violet-400);
    opacity: 0.5;
}
.school-quote p {
    position: relative;
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 20px;
    font-style: italic;
}
.quote-author {
    position: relative;
    color: var(--violet-300);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ============================================================
   OPINIE (Reviews)
   ============================================================ */
.reviews-widget-wrap {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
.reviews-widget { width: 100%; }
.reviews-loading {
    width: 100%;
    padding: 56px 40px;
    background: var(--violet-50);
    border: 1.5px dashed var(--violet-300);
    border-radius: var(--radius-lg);
    text-align: center;
}
.reviews-embed-icon { font-size: 2.6rem; margin-bottom: 14px; }
.reviews-loading p { color: var(--gray-700); max-width: 560px; margin: 0 auto 8px; }
.reviews-loading p strong { color: var(--ink); }
.reviews-embed-hint { font-size: 0.9rem; color: var(--gray-500) !important; }
.reviews-google-btn { gap: 10px; }

.reviews-overall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
    font-size: 1.05rem;
    color: var(--ink);
}
.reviews-overall .stars { color: #f5a623; font-size: 1.2rem; letter-spacing: 2px; }
.reviews-overall strong { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    width: 100%;
}
.review-card {
    padding: 26px 24px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-card-head { display: flex; align-items: center; gap: 12px; }
.review-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--violet-100);
}
.review-author { display: flex; flex-direction: column; }
.review-author a { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.review-author a:hover { color: var(--violet-600); }
.review-time { font-size: 0.8rem; color: var(--gray-500); }
.review-stars { color: #f5a623; font-size: 0.95rem; letter-spacing: 1px; }
.review-text {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.reviews-error {
    padding: 40px;
    text-align: center;
    color: var(--gray-500);
    background: var(--gray-100);
    border-radius: var(--radius);
    width: 100%;
}

/* ============================================================
   MATERIALS
   ============================================================ */
.materials-status { max-width: 720px; margin: 0 auto; }
.materials-card {
    padding: 48px 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    text-align: center;
    backdrop-filter: blur(10px);
}
.materials-icon-wrap {
    width: 90px; height: 90px;
    margin: 0 auto 24px;
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid var(--violet-400);
    border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.8rem;
    animation: bob 3s ease-in-out infinite;
}
@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.materials-card h3 { font-size: 1.7rem; margin-bottom: 14px; }
.materials-card > p { color: rgba(255,255,255,0.7); max-width: 540px; margin: 0 auto 28px; font-size: 1.05rem; }

.materials-progress { margin-bottom: 28px; }
.progress-bar {
    height: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 10px;
}
.progress-fill {
    height: 100%; width: 65%;
    background: var(--grad-violet-soft);
    border-radius: 100px;
    animation: progress-load 2s var(--ease-out);
    position: relative;
}
.progress-fill::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}
@keyframes progress-load { from { width: 0; } }
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.progress-label { color: var(--violet-300); font-size: 0.9rem; font-weight: 500; }

.materials-platform {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}
.materials-platform strong { color: var(--violet-300); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 36px;
}
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
    display: flex; align-items: center; gap: 18px;
    padding: 22px 26px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease);
}
.contact-item:not(.contact-item-static):hover {
    transform: translateX(6px);
    border-color: var(--violet-300);
    box-shadow: var(--shadow-md);
}
.contact-icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    background: var(--violet-50);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: var(--violet-600);
    transition: all 0.3s var(--ease);
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-item:hover .contact-icon { background: var(--grad-violet); color: var(--white); }
.contact-label { display: block; font-size: 0.8rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.contact-value { display: block; font-size: 1.05rem; font-weight: 500; color: var(--ink); font-family: 'Space Grotesk', sans-serif; }

.contact-note-card {
    padding: 36px 32px;
    background: var(--grad-violet);
    color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}
.contact-note-card::before {
    content: '';
    position: absolute; top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.note-icon { font-size: 2.5rem; margin-bottom: 16px; position: relative; }
.contact-note-card h3 { font-size: 1.4rem; margin-bottom: 14px; position: relative; }
.contact-note-card p { margin-bottom: 14px; opacity: 0.92; position: relative; font-size: 0.98rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--ink);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
    position: relative; z-index: 1;
}
.footer-container { text-align: center; }
.footer-brand {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: 'Space Grotesk', sans-serif; font-weight: 700;
    font-size: 1.4rem; color: var(--white);
    margin-bottom: 12px;
}
.footer-logo-img { width: 52px; height: 52px; object-fit: contain; }
.footer-tagline { margin-bottom: 28px; font-size: 0.95rem; }
.footer-links {
    display: flex; justify-content: center; flex-wrap: wrap;
    gap: 8px 20px;
    margin-bottom: 32px;
}
.footer-links a {
    font-size: 0.92rem;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.25s var(--ease);
}
.footer-links a:hover { color: var(--violet-300); background: rgba(124,58,237,0.15); }
.footer-copy { font-size: 0.85rem; color: rgba(255,255,255,0.4); padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .about-grid,
    .pricing-grid,
    .journey,
    .school-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid > div:last-child { order: -1; }
    .about-portrait { max-width: 380px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0; right: 0;
        height: 100vh;
        width: min(80vw, 320px);
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 28px 40px;
        gap: 6px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease);
        box-shadow: -20px 0 60px rgba(0,0,0,0.15);
        z-index: 999;
    }
    .nav-menu.active { transform: translateX(0); }
    .nav-menu li { width: 100%; }
    .nav-menu a { display: block; padding: 14px 18px; font-size: 1.05rem; border-radius: 12px; }
    .nav-menu a.nav-cta { margin: 12px 0 0; text-align: center; }
    .menu-toggle { display: flex; z-index: 1001; }
    .menu-toggle.active span { background: var(--ink); }

    .hero { padding: 120px 0 60px; min-height: auto; }
    .hero-stats { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
    .hero-scroll-cue { display: none; }

    .about-pillars { grid-template-columns: 1fr; }
    .matura-cta { padding: 32px 28px; flex-direction: column; align-items: flex-start; }
    .matura-cta .btn { width: 100%; }

    .school-quote { padding: 40px 28px; }
    .school-quote p { font-size: 1.1rem; }
    .quote-mark { width: 36px; height: 36px; top: 16px; left: 20px; }

    .journey-step, .school-card, .pricing-card { padding: 28px 24px; }
    .about-gallery { grid-template-columns: repeat(2, 1fr); }
    .reviews-embed-placeholder { padding: 40px 24px; }
}

@media (max-width: 480px) {
    .container { padding-inline: 18px; }
    .hero-cta { flex-direction: column; width: 100%; }
    .hero-cta .btn { width: 100%; }
    .section-header { margin-bottom: 40px; }
    .about-gallery { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}
