/* ==========================================
   Олег Жмурко — Сайт
   Стиль: Тёмная элегантность
   Версия: 2.0 (2026)
   ========================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0a0a0a;
    color: #e8e8e8;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    letter-spacing: 0.03em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

.section-header {
    text-align: center;
    padding: 120px 20px 60px;
    max-width: 700px;
    margin: 0 auto;
}

.section-header h2 {
    margin-top: 10px;
}

.section-desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    margin-top: 15px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #888;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    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; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c4a265;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

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

.nav-phone {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #c4a265;
    transition: color 0.3s;
}

.nav-phone:hover {
    color: #dcc08a;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    filter: grayscale(30%) contrast(1.0) brightness(1.05);
    background-color: transparent;
    
    transform: scale(1.0);
    transition: transform 10s ease;
}

.hero:hover .hero-image {
    transform: scale(1.0);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.5) 0%,
        rgba(0,0,0,0.2) 30%,
        rgba(0,0,0,0.4) 60%,
        rgba(0,0,0,0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 30px 80px;
    animation: fadeInUp 1.2s ease;
}

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

.hero-phone {
    display: inline-block;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: #c4a265;
    margin-bottom: 30px;
    transition: color 0.3s;
}

.hero-phone:hover {
    color: #e0c8a0;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    order: -1;
}

.hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(255,255,255,0.5);
    margin-top: 5px;
}

.hero-desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.3);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 0.8; transform: scaleY(1.5); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background: #c4a265;
    color: #0a0a0a;
    border: none;
}

.btn-primary:hover {
    background: #dcc08a;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: #fff;
}

.btn-large {
    padding: 18px 48px;
    font-size: 0.8rem;
}

/* ===== SECTION ===== */
.section {
    position: relative;
    padding: 0;
}

/* ===== SERVICE BLOCKS ===== */
.service-block {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.service-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(40%) contrast(1.1);
    transform: scale(1.03);
    transition: transform 8s ease, filter 0.8s ease;
}

.service-block:hover .service-image {
    transform: scale(1.0);
}

/* Размытие при наведении для красивого эффекта */
.service-block:hover .service-content {
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(2px);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(0,0,0,0.4) 100%
    );
    z-index: 1;
}

.service-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 60px 50px;
    margin-left: 5%;
    animation: fadeInUp 0.8s ease;
    border-radius: 4px;
    transition: all 0.5s ease;
}

.service-badge {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: #c4a265;
    margin-bottom: 20px;
}

.service-content h3 {
    margin-bottom: 10px;
    color: #fff;
}

.service-desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-list li {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    padding-left: 20px;
    position: relative;
    transition: color 0.3s;
}

.service-list li:hover {
    color: #fff;
}

.service-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #c4a265;
    font-weight: 300;
}

.service-list li strong {
    color: #c4a265;
    font-weight: 400;
}

.service-credentials {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* Alternate layout for even blocks */
.service-block:nth-child(even) .service-overlay {
    background: linear-gradient(
        to left,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(0,0,0,0.4) 100%
    );
}

.service-block:nth-child(even) .service-content {
    margin-left: auto;
    margin-right: 5%;
    text-align: right;
}

.service-block:nth-child(even) .service-list li {
    padding-left: 0;
    padding-right: 20px;
}

.service-block:nth-child(even) .service-list li::before {
    left: auto;
    right: 0;
}

/* ===== EXTRAS ===== */
.extras {
    padding: 120px 30px;
    background: #0d0d0d;
}

.extras-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.extra-card {
    padding: 40px 35px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.4s ease;
    background: rgba(255,255,255,0.02);
    position: relative;
    overflow: hidden;
}

.extra-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: #c4a265;
    transition: height 0.4s ease;
}

.extra-card:hover::before {
    height: 100%;
}

.extra-card:hover {
    border-color: rgba(196,162,101,0.3);
    background: rgba(255,255,255,0.04);
    transform: translateY(-5px);
}

.extra-icon {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.extra-card h4 {
    color: #c4a265;
    margin-bottom: 15px;
    font-weight: 400;
}

.extra-card p {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* ===== ABOUT ===== */
.about {
    padding: 120px 30px;
    background: #0a0a0a;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img-frame {
    width: 100%;
    aspect-ratio: 3/4;
    background-size: cover;
    background-position: center;
    filter: grayscale(60%) contrast(1.05);
    border-radius: 4px;
}

.about .section-label {
    margin-bottom: 10px;
    display: block;
}

.about-text h2 {
    margin-bottom: 10px;
}

.about-exp {
    font-size: 0.9rem;
    color: #c4a265;
    font-weight: 300;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 25px 15px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    transition: all 0.4s ease;
}

.stat:hover {
    border-color: rgba(196,162,101,0.3);
    transform: translateY(-3px);
}

.stat-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: #c4a265;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    font-weight: 300;
}

.about-exp-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: #c4a265;
    color: #0a0a0a;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-radius: 4px;
}

/* ===== TEACHERS ===== */
.teachers {
    padding: 120px 30px;
    background: #0d0d0d;
}

.teachers-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.teacher-card {
    padding: 35px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    transition: all 0.4s ease;
    position: relative;
}

.teacher-card:hover {
    border-color: rgba(196,162,101,0.3);
    background: rgba(255,255,255,0.04);
    transform: translateY(-3px);
}

.teacher-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: rgba(196,162,101,0.15);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.teacher-card h4 {
    color: #fff;
    margin-bottom: 10px;
}

.teacher-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    font-weight: 300;
    margin-bottom: 10px;
    line-height: 1.6;
}

.teacher-org {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.05em;
    font-weight: 300;
}

/* ===== EDUCATION ===== */
.education {
    padding: 120px 30px;
    background: #0a0a0a;
}

.edu-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.edu-card {
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.edu-card:hover {
    border-color: rgba(196,162,101,0.3);
    background: rgba(255,255,255,0.04);
    transform: translateY(-3px);
}

.edu-card::after {
    content: '🔍';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.edu-card:hover::after {
    opacity: 0.5;
}

.edu-year {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: #c4a265;
    font-weight: 400;
    margin-bottom: 8px;
}

.edu-card h4 {
    color: #fff;
    margin-bottom: 8px;
    font-weight: 400;
}

.edu-card p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    font-weight: 300;
    margin-bottom: 10px;
}

.edu-org {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.03em;
    font-weight: 300;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: rgba(255,255,255,0.6);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.lightbox-close:hover {
    color: #fff;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    font-weight: 300;
    text-align: center;
}

/* ===== PHILOSOPHY ===== */
.philosophy {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.phil-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phil-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) contrast(0.8) brightness(0.5);
    transform: scale(1.03);
    transition: transform 8s ease;
}

.philosophy:hover .phil-image {
    transform: scale(1.0);
}

.phil-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.6) 0%,
        rgba(0,0,0,0.3) 50%,
        rgba(0,0,0,0.6) 100%
    );
    z-index: 1;
}

.phil-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 0 30px;
}

.phil-content blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    margin-bottom: 20px;
}

.phil-author {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: #c4a265;
    margin-bottom: 40px;
}

.phil-desc {
    max-width: 500px;
    margin: 0 auto;
}

.phil-desc p {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

/* ===== CONTACTS ===== */
.contacts {
    padding: 120px 30px;
    background: #0a0a0a;
}

.contacts-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contacts-info .section-label {
    margin-bottom: 10px;
    display: block;
}

.contacts-info h2 {
    margin-bottom: 40px;
}

.contact-block {
    margin-bottom: 30px;
}

.contact-block h4 {
    color: #c4a265;
    font-weight: 400;
    margin-bottom: 5px;
}

.contact-block p {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
}

.contact-phone {
    font-size: 1.2rem;
    font-weight: 400;
    color: #fff;
    transition: color 0.3s;
}

.contact-phone:hover {
    color: #c4a265;
}

.contacts-info .btn {
    margin-top: 30px;
}

.contacts-map {
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

.contacts-map iframe {
    filter: grayscale(100%) invert(90%) contrast(1.1);
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: #080808;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.footer-brand p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    font-weight: 300;
    margin-top: 5px;
}

.footer-contact a {
    font-size: 0.9rem;
    color: #c4a265;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #dcc08a;
}

.footer-contact p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    font-weight: 300;
    margin-top: 3px;
}

.footer-copy {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.2);
    font-weight: 300;
    margin-top: 10px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10,10,10,0.98);
        backdrop-filter: blur(20px);
        padding: 24px 30px;
        gap: 24px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-links a {
        font-size: 0.85rem;
        padding: 8px 0;
        letter-spacing: 0.12em;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-phone {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }

    .hero-phone {
        display: inline-block;
        font-size: 0.9rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        padding: 120px 20px 0;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .service-block {
        height: auto;
        min-height: 70vh;
    }

    .service-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.3) 0%,
            rgba(0,0,0,0.5) 50%,
            rgba(0,0,0,0.9) 100%
        ) !important;
    }

    .service-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 60px 25px 40px;
        text-align: left !important;
        max-width: 100%;
    }

    .service-block:nth-child(even) .service-list li {
        padding-left: 20px;
        padding-right: 0;
    }

    .service-block:nth-child(even) .service-list li::before {
        left: 0;
        right: auto;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-exp-badge {
        bottom: -10px;
        right: 10px;
        font-size: 0.7rem;
        padding: 8px 16px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .stat {
        padding: 15px 10px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .contacts-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contacts-map {
        height: 300px;
    }

    .teachers-grid,
    .edu-grid {
        grid-template-columns: 1fr;
    }

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

    .lightbox-content {
        max-width: 98%;
        max-height: 70vh;
    }

    .phil-content blockquote {
        font-size: clamp(1rem, 4vw, 1.4rem);
    }

    .hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat {
        padding: 12px;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .stat-number {
        margin-bottom: 0;
        font-size: 1.5rem;
        min-width: 60px;
    }

    .hero-actions .btn-outline {
        display: none;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ===== PARALLAX FALLBACK ===== */
@media (prefers-reduced-motion: reduce) {
    .hero-image,
    .service-image,
    .phil-image {
        transform: scale(1) !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none !important;
    }
}

/* ===== EASTER EGG ===== */
.easter-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.easter-modal.active {
    display: flex;
    animation: easterFadeIn 0.4s ease;
}

@keyframes easterFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.easter-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
}

.easter-dialog {
    position: relative;
    z-index: 1;
    background: #111;
    border: 1px solid rgba(196,162,101,0.3);
    border-radius: 4px;
    padding: 40px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    animation: easterPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes easterPop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.easter-close {
    position: absolute;
    top: 10px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.easter-close:hover {
    color: #fff;
}

.easter-img {
    width: 100%;
    max-width: 280px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.easter-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.easter-link {
    color: #c4a265;
    transition: color 0.3s;
}

.easter-link:hover {
    color: #dcc08a;
}
