@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --primary: #184332;
    --primary-light: #235842;
    --primary-dark: #0f2b20;
    --primary-subtle: rgba(24, 67, 50, 0.08);
    --accent: #C5A059;
    --accent-light: #E7CF9B;
    --accent-dark: #9F7B33;
    --accent-bg: #FBF7EE;
    --secondary: #2C6E49;
    --text-main: #1F2937;
    --text-muted: #596579;
    --bg-main: #FBF9F5;
    --bg-white: #FFFFFF;
    --glass: rgba(251, 249, 245, 0.88);
    --glass-card: rgba(255, 255, 255, 0.92);
    --border-light: rgba(24, 67, 50, 0.08);
    --border-gold: rgba(197, 160, 89, 0.35);
    --shadow-sm: 0 2px 4px rgba(24, 67, 50, 0.04);
    --shadow-md: 0 8px 24px rgba(24, 67, 50, 0.08);
    --shadow-lg: 0 20px 35px -5px rgba(24, 67, 50, 0.12), 0 10px 10px -5px rgba(24, 67, 50, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body.menu-open {
    overflow: hidden;
    touch-action: none;
}

section {
    padding: 90px 20px;
    max-width: 1240px;
    margin: 0 auto;
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.01em;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    transition: var(--transition);
}

header.scrolled {
    padding: 4px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

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

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 52px;
    width: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.05) rotate(3deg);
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-dark);
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.94rem;
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

nav a:hover {
    color: var(--primary);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-select {
    padding: 8px 14px;
    border-radius: 30px;
    border: 1.5px solid var(--border-gold);
    background: white;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.lang-select:hover, .lang-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    padding: 6px;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
    padding-top: 150px;
    padding-bottom: 70px;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-bg);
    border: 1px solid var(--border-gold);
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 20px;
    width: fit-content;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

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

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-desc p {
    margin-bottom: 14px;
}

.hero-desc p:last-child {
    margin-bottom: 0;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(24, 67, 50, 0.35);
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(24, 67, 50, 0.45);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-accent {
    background: linear-gradient(135deg, #d8b467 0%, #b38933 100%);
    color: #0f2b20;
    font-weight: 700;
    box-shadow: 0 10px 20px -5px rgba(197, 160, 89, 0.4);
    border: none;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(197, 160, 89, 0.55);
}

.secondary-link {
    background: white;
    color: var(--primary);
    border: 1.5px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.secondary-link:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
    transform: translateY(-2px);
}

.hero-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    background: white;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-main);
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-main {
    width: 100%;
    max-width: 480px;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(24, 67, 50, 0.25);
    border: 4px solid white;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.hero-badge-float {
    position: absolute;
    bottom: -20px;
    right: 10px;
    background: white;
    padding: 14px 22px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Pricing Banner */
.pricing-banner-section {
    padding: 20px 20px 60px 20px;
}

.pricing-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: 24px;
    padding: 30px 40px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-gold);
}

.pricing-items-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    width: 100%;
}

.price-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.05rem;
    font-weight: 600;
}

.price-item i, .price-item svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
    flex-shrink: 0;
}

.pricing-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #FBF9F5;
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed rgba(197, 160, 89, 0.6);
    padding: 12px 24px;
    border-radius: 14px;
    text-align: center;
    width: 100%;
}

.pricing-note-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Section Titles */
.section-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px auto;
}

.section-title h2 {
    font-size: 2.3rem;
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: white;
    padding: 32px 26px;
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-gold);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--primary-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: var(--accent-light);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.18rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ==========================================================================
   Environment & Spaces Block (.environment-block)
   ========================================================================== */
.environment-block {
    margin-top: 60px;
    background: linear-gradient(145deg, #FFFFFF 0%, var(--bg-warm) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 28px;
    padding: 50px 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.environment-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px auto;
}

.environment-badge {
    display: inline-block;
    background: rgba(197, 160, 89, 0.15);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.environment-header h3 {
    font-size: 1.85rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.environment-header p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.environment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.env-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 28px 22px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.env-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-lg);
}

.env-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(24, 67, 50, 0.07);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: var(--transition);
}

.env-icon-box i, .env-icon-box svg {
    width: 26px;
    height: 26px;
}

.env-card:hover .env-icon-box {
    background: var(--primary);
    color: var(--accent);
}

.env-card h4 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.env-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .environment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Approach & Philosophy Section (Наш подход / Самостоятельность)
   ========================================================================== */
#approach {
    background: linear-gradient(180deg, #FBF9F5 0%, #F5F1E9 100%);
    position: relative;
}

.approach-hero-card {
    background: white;
    border-radius: 28px;
    padding: 46px 50px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-gold);
    position: relative;
    overflow: hidden;
    margin-bottom: 45px;
}

.approach-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
}

.approach-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 160, 89, 0.12);
    color: #8c6a1e;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(197, 160, 89, 0.28);
}

.approach-quote {
    font-size: 1.45rem;
    line-height: 1.45;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.approach-quote span {
    color: var(--accent-dark);
}

.approach-lead-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-main);
    margin-bottom: 16px;
}

.approach-lead-text:last-child {
    margin-bottom: 0;
}

.approach-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pillar-card {
    background: white;
    border-radius: 24px;
    padding: 34px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-gold);
}

.pillar-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--primary-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon-box {
    background: var(--primary);
    color: var(--accent-light);
    transform: scale(1.08);
}

.pillar-badge {
    display: inline-block;
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent-dark);
    margin-bottom: 8px;
}

.pillar-card h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.35;
}

.pillar-card p {
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--text-muted);
    flex-grow: 1;
}

.pillar-highlight {
    margin-top: 18px;
    padding: 12px 16px;
    background: #fafbfa;
    border-radius: 12px;
    border-left: 3px solid var(--accent);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-dark);
}

/* ==========================================================================
   Activities Cards Grid (Кружки и развивающие занятия)
   ========================================================================== */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.activity-card {
    background: white;
    border-radius: 22px;
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-gold);
}

.activity-card:hover::before {
    opacity: 1;
}

.activity-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.activity-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--primary-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: var(--transition);
}

.activity-card:hover .activity-icon-wrap {
    background: var(--primary);
    color: var(--accent-light);
    transform: scale(1.08);
}

.activity-schedule-badge {
    background: rgba(197, 160, 89, 0.14);
    color: #8c6a1e;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    white-space: nowrap;
}

.activity-card h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-card p {
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--text-muted);
    flex-grow: 1;
}

/* Programs Section */
.programs-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 30px;
    border-radius: 50px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 6px 20px rgba(24, 67, 50, 0.25);
}

.program-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    list-style: none;
}

.program-list li {
    background: white;
    padding: 20px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.program-list li i, .program-list li svg {
    color: var(--accent);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.program-list li:hover {
    transform: translateX(6px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

/* Registration Section */
.registration-container {
    background: linear-gradient(135deg, #184332 0%, #0c241a 100%);
    border-radius: 30px;
    padding: 60px;
    color: white;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-gold);
}

.reg-text h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.reg-text p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
}

.reg-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white !important;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: white !important;
}

.reg-visual-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.reg-logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

/* Footer */
footer {
    background: #0d2218;
    color: #e5e7eb;
    padding: 80px 20px 30px 20px;
    border-top: 2px solid var(--border-gold);
}

.footer-content {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.3fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links h4, .footer-contact h4 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--accent);
}

.footer-links ul, .footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.94rem;
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #9ca3af;
    font-size: 0.94rem;
}

.footer-contact-item i, .footer-contact-item svg {
    color: var(--accent);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-item a:hover {
    color: var(--accent-light);
}

.footer-copyright {
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.88rem;
    color: #6b7280;
}

.footer-copyright a {
    color: var(--accent);
    text-decoration: none;
}

/* Reveal on Scroll Animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 18, 0.92);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--accent);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 35px;
    color: white;
    font-size: 2.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent);
}

/* ==========================================================================
   Attestation Page Base Styles
   ========================================================================== */
.attestation-page {
    padding-top: 140px;
    padding-bottom: 90px;
}
.doc-category {
    margin-bottom: 50px;
}
.doc-category h3 { 
    margin-bottom: 24px; 
    padding-bottom: 8px; 
    border-bottom: 2px solid var(--accent); 
    display: inline-block; 
    font-size: 1.4rem;
}
.doc-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 20px; 
}
.doc-card { 
    background: white; 
    padding: 24px; 
    border-radius: 20px; 
    box-shadow: var(--shadow-sm); 
    display: flex; 
    align-items: center; 
    gap: 18px; 
    transition: var(--transition); 
    border: 1px solid var(--border-light); 
    text-decoration: none;
    color: inherit;
}
.doc-card:hover { 
    transform: translateY(-4px); 
    box-shadow: var(--shadow-md); 
    border-color: var(--accent); 
}
.doc-icon { 
    width: 52px; 
    height: 52px; 
    background: var(--primary-subtle); 
    border-radius: 14px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--primary); 
    flex-shrink: 0; 
    transition: var(--transition);
}
.doc-card:hover .doc-icon {
    background: var(--primary);
    color: var(--accent-light);
}
.doc-info {
    flex-grow: 1;
}
.doc-info h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--primary-dark);
}
.doc-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.download-btn {
    color: var(--accent-dark);
    flex-shrink: 0;
}

/* Requisites Section Base */
.requisites-section {
    margin-bottom: 60px;
}
.requisites-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-gold);
    position: relative;
    overflow: hidden;
}
.requisites-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
}
.requisites-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}
.requisites-title {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin: 0;
}
.requisites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.req-group {
    background: #fafbfa;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid #edf2ed;
}
.req-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 600;
}
.req-value {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--primary-dark);
    word-break: break-word;
}
.empty-state {
    background: white;
    padding: 30px;
    border-radius: 16px;
    color: var(--text-muted);
    text-align: center;
    border: 1px dashed var(--border-light);
}

/* ==========================================================================
   Gallery Page Base Styles
   ========================================================================== */
.gallery-page {
    padding-top: 140px;
    padding-bottom: 90px;
}
.filter-container { 
    margin-bottom: 40px; 
    display: flex; 
    flex-wrap: wrap; 
    gap: 12px; 
    justify-content: center; 
}
.filter-btn {
    padding: 10px 22px;
    border-radius: 50px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(24, 67, 50, 0.25);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
}
.gallery-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}
.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-gold);
}
.gallery-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #e9ecef;
}
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-card:hover .gallery-img {
    transform: scale(1.08);
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 43, 32, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.gallery-card:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay i {
    color: white;
    width: 38px;
    height: 38px;
    transform: scale(0.8);
    transition: var(--transition);
}
.gallery-card:hover .gallery-overlay i {
    transform: scale(1);
}
.gallery-card-content {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.gallery-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0;
}
.gallery-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.empty-gallery {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 24px;
    border: 1px dashed var(--border-light);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Responsive Design & Mobile Optimization
   ========================================================================== */

/* Laptops & Tablets Landscape (<= 1100px) */
@media (max-width: 1100px) {
    nav ul {
        gap: 18px;
    }
    nav a {
        font-size: 0.88rem;
    }
    .hero {
        gap: 36px;
    }
}

/* Tablets (<= 992px) */
@media (max-width: 992px) {
    section {
        padding: 75px 20px;
    }
    .hero {
        grid-template-columns: 1fr;
        padding-top: 125px;
        padding-bottom: 50px;
        text-align: center;
        gap: 40px;
    }
    .hero-content {
        align-items: center;
    }
    .hero-badge {
        margin: 0 auto 18px auto;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-desc {
        margin: 0 auto 28px auto;
        max-width: 620px;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-checklist {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        max-width: 650px;
        width: 100%;
        margin: 0 auto;
    }
    .hero-image-container {
        margin-top: 20px;
        max-width: 440px;
        width: 100%;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .registration-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 45px 30px;
        gap: 30px;
    }
    .reg-visual-placeholder {
        margin-top: 10px;
    }
    .approach-pillars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
    section {
        padding: 55px 16px;
    }

    /* Header & Navigation */
    header {
        background: rgba(251, 249, 245, 0.96);
    }
    .nav-container {
        padding: 10px 16px;
    }
    .logo {
        gap: 10px;
    }
    .logo-img {
        height: 44px;
        width: 44px;
    }
    .logo-title {
        font-size: 1.15rem;
    }
    .logo-subtitle {
        font-size: 0.68rem;
    }
    .header-actions {
        gap: 10px;
    }
    .lang-select {
        padding: 6px 10px;
        font-size: 0.82rem;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: rgba(24, 67, 50, 0.08);
        border: 1px solid var(--border-gold);
        color: var(--primary);
        cursor: pointer;
        transition: var(--transition);
    }
    .mobile-menu-btn:hover, .mobile-menu-btn.active {
        background: var(--primary);
        color: white;
    }
    .mobile-menu-btn svg {
        width: 22px;
        height: 22px;
        transition: transform 0.25s ease;
    }
    .mobile-menu-btn.active svg {
        transform: rotate(90deg);
    }

    nav ul {
        position: fixed;
        top: 66px;
        left: 0;
        width: 100%;
        height: calc(100dvh - 66px);
        background: rgba(251, 249, 245, 0.98);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        flex-direction: column;
        padding: 24px 20px;
        gap: 10px;
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
        border-bottom: 2px solid var(--border-gold);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
        align-items: stretch;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        z-index: 999;
    }

    nav ul.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    nav a {
        font-size: 1.08rem;
        font-weight: 600;
        color: var(--primary-dark);
        padding: 14px 18px;
        border-radius: 12px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: 1px solid transparent;
        background: rgba(255, 255, 255, 0.7);
    }

    nav a:hover, nav a.active {
        background: rgba(24, 67, 50, 0.08);
        border-color: var(--border-gold);
        color: var(--primary);
    }

    nav a::after {
        display: none;
    }

    /* Hero Section Mobile */
    .hero {
        padding-top: 96px;
        padding-bottom: 30px;
        gap: 28px;
    }
    .hero h1 {
        font-size: 1.95rem;
        line-height: 1.22;
        margin-bottom: 14px;
        word-break: break-word;
    }
    .hero-desc {
        font-size: 0.96rem;
        line-height: 1.6;
        margin-bottom: 24px;
    }
    .hero-btns {
        width: 100%;
        gap: 12px;
        margin-bottom: 28px;
    }
    .hero-btns .btn {
        width: 100%;
        padding: 14px 20px;
    }
    .hero-checklist {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 18px 16px;
        border-radius: 18px;
    }
    .check-item {
        font-size: 0.88rem;
        gap: 10px;
    }
    .hero-image-container {
        margin-top: 10px;
    }
    .hero-img-main {
        border-radius: 24px;
    }
    .hero-badge-float {
        bottom: -12px;
        right: 8px;
        padding: 8px 14px;
        gap: 8px;
        border-radius: 14px;
    }
    .hero-badge-float strong {
        font-size: 0.85rem;
    }
    .hero-badge-float span {
        font-size: 0.72rem;
    }

    /* Pricing Banner Mobile */
    .pricing-banner-section {
        padding: 10px 16px 35px 16px;
    }
    .pricing-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 20px 16px;
        border-radius: 20px;
        gap: 16px;
    }
    .pricing-items-row {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .price-item {
        width: 100%;
        justify-content: flex-start;
        font-size: 0.95rem;
        gap: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
    .price-item:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }
    .price-item i, .price-item svg {
        width: 24px;
        height: 24px;
    }
    .pricing-note {
        text-align: left;
        font-size: 0.88rem;
        padding: 12px 14px;
        align-items: flex-start;
        gap: 10px;
    }
    .pricing-note-icon {
        width: 18px;
        height: 18px;
        margin-top: 2px;
    }

    /* Section Titles Mobile */
    .section-title {
        margin-bottom: 32px;
    }
    .section-title h2 {
        font-size: 1.65rem;
        margin-bottom: 10px;
    }
    .section-title p {
        font-size: 0.92rem;
    }

    /* Features Grid Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .feature-card {
        padding: 24px 20px;
        border-radius: 18px;
    }
    .feature-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        margin-bottom: 16px;
    }
    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    .feature-card p {
        font-size: 0.88rem;
    }

    /* Environment Block Mobile */
    .environment-block {
        margin-top: 36px;
        padding: 30px 18px;
        border-radius: 20px;
    }
    .environment-header {
        margin-bottom: 24px;
    }
    .environment-header h3 {
        font-size: 1.45rem;
    }
    .environment-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .env-card {
        padding: 22px 18px;
        border-radius: 18px;
    }
    .env-card h4 {
        font-size: 1.05rem;
    }

    /* Approach Section Mobile */
    .approach-hero-card {
        padding: 26px 18px;
        border-radius: 20px;
        margin-bottom: 28px;
    }
    .approach-quote {
        font-size: 1.18rem;
        line-height: 1.4;
    }
    .approach-lead-text {
        font-size: 0.92rem;
        line-height: 1.65;
    }
    .approach-pillars-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .pillar-card {
        padding: 22px 18px;
        border-radius: 18px;
    }
    .pillar-card h3 {
        font-size: 1.15rem;
    }
    .pillar-card p {
        font-size: 0.88rem;
    }
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .activity-card {
        padding: 22px 18px;
        border-radius: 18px;
    }
    .activity-card h3 {
        font-size: 1.15rem;
    }
    .activity-card p {
        font-size: 0.88rem;
    }

    /* Programs Section Mobile */
    .programs-tabs {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 24px;
    }
    .tab-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.92rem;
    }
    .program-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .program-list li {
        padding: 16px 18px;
        font-size: 0.92rem;
        border-radius: 14px;
        gap: 14px;
    }
    .program-list li i, .program-list li svg {
        width: 22px;
        height: 22px;
    }

    /* Registration Mobile */
    .registration-container {
        padding: 32px 18px;
        border-radius: 20px;
        gap: 24px;
    }
    .reg-text h2 {
        font-size: 1.45rem;
        margin-bottom: 12px;
    }
    .reg-text p {
        font-size: 0.92rem;
        margin-bottom: 22px;
    }
    .reg-btns {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .reg-btns .btn {
        width: 100%;
        padding: 14px 20px;
        justify-content: center;
    }
    .reg-visual-placeholder {
        padding: 20px 14px;
        border-radius: 16px;
    }
    .reg-logo {
        max-width: 150px;
    }

    /* Footer Mobile */
    footer {
        padding: 50px 16px 24px 16px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 35px;
    }
    .footer-links h4, .footer-contact h4 {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }
    .footer-contact-item {
        font-size: 0.9rem;
        gap: 10px;
    }
    .footer-copyright {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding-top: 20px;
        font-size: 0.82rem;
    }

    /* Attestation Mobile Overrides */
    .attestation-page {
        padding-top: 96px;
        padding-bottom: 50px;
    }
    .requisites-section {
        margin-bottom: 35px;
    }
    .requisites-card {
        padding: 24px 16px;
        border-radius: 18px;
    }
    .requisites-header {
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    .requisites-title {
        font-size: 1.25rem;
    }
    .requisites-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .req-group {
        padding: 12px 14px;
        border-radius: 12px;
    }
    .req-label {
        font-size: 0.78rem;
    }
    .req-value {
        font-size: 0.92rem;
        word-break: break-all;
        overflow-wrap: anywhere;
    }
    .doc-category {
        margin-bottom: 35px;
    }
    .doc-category h3 {
        font-size: 1.22rem;
        margin-bottom: 16px;
    }
    .doc-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .doc-card {
        padding: 16px 14px;
        border-radius: 16px;
        gap: 14px;
    }
    .doc-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
    .doc-info h4 {
        font-size: 0.95rem;
    }

    /* Gallery Mobile Overrides */
    .gallery-page {
        padding-top: 96px;
        padding-bottom: 50px;
    }
    .filter-container {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        margin-bottom: 22px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .filter-container::-webkit-scrollbar {
        display: none;
    }
    .filter-btn {
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 0.84rem;
        white-space: nowrap;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .gallery-card {
        border-radius: 14px;
    }
    .gallery-img-wrapper {
        height: 145px;
    }
    .gallery-card-content {
        padding: 8px 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    .gallery-card-title {
        font-size: 0.84rem;
    }
    .gallery-card-date {
        font-size: 0.72rem;
    }
    .lightbox {
        padding: 12px;
    }
    .lightbox-close {
        top: 16px;
        right: 16px;
        font-size: 1.8rem;
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Extra Small Phones (<= 420px) */
@media (max-width: 420px) {
    .nav-container {
        padding: 8px 12px;
    }
    .logo-img {
        height: 38px;
        width: 38px;
    }
    .logo-title {
        font-size: 1.02rem;
    }
    .logo-subtitle {
        display: none;
    }
    .hero h1 {
        font-size: 1.7rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-img-wrapper {
        height: 190px;
    }
}

