/* ============================================
   ALISA NAUMOVA — Wise-Inspired Design Theme
   Light, Fresh, Green Fintech
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,600;0,700;1,500&display=swap');

:root {
    /* === Wise Color Palette === */
    --green:        #9fe870;        /* Primary Accent — Wise Green */
    --green-deep:   #163300;        /* Text on green buttons */
    --green-mid:    #2d6a10;        /* Hover states, secondary accents */
    --green-success:#054d28;        /* Success / trust indicators */

    --mint:         #e2f6d5;        /* Soft accent surfaces */
    --mint-light:   #f0fbea;        /* Very light mint tint */

    --bg:           #f2f4f1;        /* Main background (light gray-green) */
    --bg-white:     #ffffff;        /* Pure white cards */
    --bg-surface:   #e8ebe6;        /* Secondary surface */
    --bg-dark:      #0e0f0c;        /* Hero / dark sections */

    --text:         #0e0f0c;        /* Primary text */
    --text-muted:   #454745;        /* Secondary text */
    --text-light:   #6b7170;        /* Caption / label */
    --text-on-green:#163300;        /* Text on green bg */

    --border:       rgba(14, 15, 12, 0.08);
    --border-green: rgba(159, 232, 112, 0.5);

    --shadow-sm:    0 2px 8px rgba(14, 15, 12, 0.06);
    --shadow:       0 8px 32px rgba(14, 15, 12, 0.10);
    --shadow-lg:    0 20px 60px rgba(14, 15, 12, 0.14);

    --font-body:    'Inter', sans-serif;
    --font-serif:   'Cormorant Garamond', Georgia, serif;
    --radius-sm:    12px;
    --radius:       20px;
    --radius-lg:    28px;
    --radius-full:  100px;

    --transition:   all 0.25s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: 7rem 0; }
.text-center { text-align: center; }


/* ============================================
   TYPOGRAPHY
   ============================================ */
.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    background: var(--mint);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green-mid);
    margin-bottom: 1.2rem;
}
.section-subtitle::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--green);
    border-radius: 50%;
}

h2.section-title {
    font-family: var(--font-body);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
}

h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 4rem;
    line-height: 1.7;
}

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


/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--green);
    color: var(--text-on-green);
}
.btn-primary:hover {
    transform: scale(1.04);
    background: #aef07e;
    box-shadow: 0 8px 24px rgba(159, 232, 112, 0.4);
}
.btn-primary:active { transform: scale(0.97); }

.btn-ghost {
    background: var(--bg-surface);
    color: var(--text);
}
.btn-ghost:hover {
    background: var(--bg-dark);
    color: #fff;
    transform: scale(1.04);
}


/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.navbar .container {
    display: flex; align-items: center; justify-content: space-between;
    width: 90%; max-width: 1200px;
}

.logo {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
    display: flex; align-items: center; gap: 0.5rem;
}
.logo::before {
    content: '';
    display: inline-block;
    width: 28px; height: 28px;
    background: var(--green);
    border-radius: 8px;
    flex-shrink: 0;
}

.nav-links {
    list-style: none;
    display: flex; gap: 0.3rem;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
}
.nav-links a:hover {
    color: var(--text);
    background: var(--bg-surface);
}

.nav-cta {
    padding: 0.6rem 1.4rem;
    background: var(--green);
    border-radius: var(--radius-full);
    color: var(--text-on-green);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: var(--transition);
}
.nav-cta:hover {
    background: #aef07e;
    transform: scale(1.03);
}


/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center top;
    z-index: 0;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        110deg,
        rgba(14, 15, 12, 0.95) 0%,
        rgba(14, 15, 12, 0.75) 50%,
        rgba(14, 15, 12, 0.4) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0 6rem;
    width: 100%;
}

/* Hero layout: text + photo side by side */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 100%;
}

/* =====================
   HERO PHOTO #1
   ===================== */
.hero-photo {
    display: flex;
    justify-content: center;
}

.hero-photo-frame {
    position: relative;
    width: 340px;
    height: 440px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(159,232,112,0.2);
}

.hero-photo-frame--large {
    width: 440px;
    height: 560px;
}

.hero-photo-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(0.92) saturate(1.05);
    transition: transform 0.6s ease;
}
.hero-photo-frame:hover .hero-photo-img { transform: scale(1.04); }

.hero-photo-badge {
    position: absolute;
    bottom: 1.2rem; left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    background: rgba(14,15,12,0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(159,232,112,0.3);
    border-radius: var(--radius-full);
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-dot {
    width: 7px; height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-text .tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(159, 232, 112, 0.12);
    border: 1px solid rgba(159, 232, 112, 0.3);
    border-radius: var(--radius-full);
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
}
.hero-text .tagline::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-text h1 {
    font-family: var(--font-body);
    font-size: clamp(3rem, 6.5vw, 5.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #ffffff;
    margin-bottom: 0.3rem;
}
.hero-text h1 .name-accent {
    color: var(--green);
    display: block;
}

.hero-divider {
    width: 48px; height: 3px;
    background: var(--green);
    border-radius: 2px;
    margin: 1.8rem 0;
}

.hero-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    color: rgba(255,255,255,0.3);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 2;
    animation: bounce 2.5s ease-in-out infinite;
}
.scroll-line {
    width: 1px; height: 36px;
    background: linear-gradient(to bottom, transparent, var(--green));
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}


/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: var(--bg-dark);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 0;
}

.stats-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 2.5rem 3.5rem;
    text-align: center;
    position: relative;
    cursor: default;
    transition: background 0.25s;
}
.stat-item:hover { background: rgba(159, 232, 112, 0.04); }

.stat-num {
    font-family: var(--font-body);
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--green);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.08);
    align-self: stretch;
}


/* ============================================
   ABOUT / HISTORY
   ============================================ */

/* About Split layout: text + photo #2 */
.about-split {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 5rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-text { }

.about-lead {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.65;
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
}

.about-body {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.about-tags {
    display: flex; gap: 0.6rem; flex-wrap: wrap;
    margin-top: 1.8rem;
}
.tag {
    padding: 0.35rem 1rem;
    background: var(--mint);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--green-mid);
    letter-spacing: 0.3px;
}

/* Photo frame #2 — square with tilt deco */
.about-photo-wrap { position: relative; }

.about-photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-photo-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}
.about-photo-frame:hover .about-photo-img { transform: scale(1.05); }

.about-photo-deco {
    position: absolute;
    top: -12px; right: -12px;
    width: 100%; height: 100%;
    border: 2px solid var(--green);
    border-radius: var(--radius-lg);
    opacity: 0.3;
    pointer-events: none;
    transition: opacity 0.3s;
}
.about-photo-frame:hover .about-photo-deco { opacity: 0.55; }

.about-photo-pill {
    position: absolute;
    bottom: 1.2rem; left: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    background: rgba(14,15,12,0.80);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(159,232,112,0.25);
    border-radius: var(--radius-full);
    color: var(--green);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Story grid (unchanged) */
.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.story-block {
    padding: 2.2rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.story-block:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
    border-color: var(--border-green);
}

.story-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: var(--mint);
    color: var(--green-mid);
    margin-bottom: 1.3rem;
}
.story-icon svg { width: 22px; height: 22px; }

.story-block h3 { color: var(--text); margin-bottom: 0.7rem; }
.story-block p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

.quote-block {
    display: flex; align-items: center; gap: 2rem;
    padding: 3rem 2rem;
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}
.quote-block::before {
    content: '"';
    position: absolute; top: -20px; left: 2rem;
    font-size: 12rem;
    line-height: 1;
    color: var(--green);
    opacity: 0.08;
    font-family: Georgia, serif;
    font-weight: 900;
}
.quote-line { display: none; }
blockquote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.45rem;
    color: rgba(255,255,255,0.9);
    text-align: center;
    width: 100%;
    line-height: 1.55;
    position: relative; z-index: 1;
}
blockquote::after {
    content: '';
    display: block;
    width: 40px; height: 3px;
    background: var(--green);
    border-radius: 2px;
    margin: 1.5rem auto 0;
}


/* ============================================
   CAREER — Compact Grid Layout
   ============================================ */
.career-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.career-compact-card {
    padding: 1.8rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.career-compact-card:hover {
    background: rgba(159, 232, 112, 0.06);
    border-color: rgba(159, 232, 112, 0.25);
    transform: translateY(-3px);
}
.career-compact-card.current {
    background: rgba(159, 232, 112, 0.07);
    border-color: rgba(159, 232, 112, 0.3);
}

.cc-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.cc-num {
    width: 32px; height: 32px;
    flex-shrink: 0;
    background: var(--green);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-on-green);
}
.career-compact-card.current .cc-num {
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(159,232,112,0.25);
}

.cc-icon {
    width: 36px; height: 36px;
    flex-shrink: 0;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.cc-icon svg { width: 16px; height: 16px; }

.cc-icon.banking { background: rgba(33,163,69,0.15); color: #4dc76a; }
.cc-icon.tinkoff { background: rgba(255,209,26,0.12); color: #ffd11a; }
.cc-icon.crypto  { background: rgba(159,232,112,0.12); color: var(--green); }
.cc-icon.independent { background: var(--green); color: var(--text-on-green); }

.cc-tag {
    margin-left: auto;
    padding: 0.18rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.4);
}
.cc-tag-yellow { background: rgba(255,209,26,0.12); color: #ffd11a; }
.cc-tag-green  { background: rgba(159,232,112,0.12); color: var(--green); }
.cc-tag-gold   { background: var(--green); color: var(--text-on-green); }

.cc-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.cc-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cc-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.cc-skill {
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 0.74rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
}


/* ============================================
   SERVICES — Photo layout
   ============================================ */
.services-with-photo {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 5rem;
    align-items: start;
}

/* Photo column #3 */
.services-photo-col { position: sticky; top: 100px; }

.services-photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.services-photo-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.55s ease;
}
.services-photo-frame:hover .services-photo-img { transform: scale(1.05); }

.services-photo-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 3rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(14,15,12,0.85) 0%, transparent 100%);
    display: flex; align-items: flex-end;
}

.services-photo-stat {
    display: flex; flex-direction: column;
    gap: 0.1rem;
}
.sp-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--green);
    letter-spacing: -0.04em;
    line-height: 1;
}
.sp-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

/* Service rows (list style) */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-row {
    display: flex;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}
.service-row:first-child { border-top: 1px solid var(--border); }
.service-row:hover { padding-left: 0.5rem; }

.service-row-num {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 1px;
    min-width: 28px;
    padding-top: 0.3rem;
}

.service-row-body {
    display: flex;
    gap: 1.2rem;
    flex: 1;
}

.service-icon-wrap {
    width: 48px; height: 48px;
    flex-shrink: 0;
    border-radius: 14px;
    background: var(--mint);
    display: flex; align-items: center; justify-content: center;
    color: var(--green-mid);
    transition: var(--transition);
    margin-top: 0.1rem;
}
.service-icon-wrap svg { width: 20px; height: 20px; }
.service-icon-green {
    background: var(--green);
    color: var(--text-on-green);
}
.service-row:hover .service-icon-wrap { background: var(--green); color: var(--text-on-green); }

.service-row-body div { flex: 1; }
.service-row h3 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--text); }
.service-row p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 0.8rem; }

.service-cta {
    display: inline-flex; align-items: center; gap: 0.3rem;
    color: var(--green-mid);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    transition: gap 0.2s;
}
.service-cta:hover { gap: 0.6rem; }


/* ============================================
   PHILOSOPHY
   ============================================ */
.philosophy-wrap { max-width: 900px; margin: 0 auto; }
.philosophy-header { margin-bottom: 3.5rem; }

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.philo-item {
    padding: 2.2rem 1.8rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}
.philo-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--border-green);
    transform: translateY(-4px);
}

.philo-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--mint);
    display: flex; align-items: center; justify-content: center;
    color: var(--green-mid);
    margin: 0 auto 1.2rem;
}
.philo-icon svg { width: 20px; height: 20px; }

.philo-item h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.philo-item p {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.4;
}

.goal-block {
    padding: 3rem;
    background: var(--green);
    border-radius: var(--radius-lg);
    text-align: center;
}
.goal-block h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--green-deep); }
.goal-block p { color: var(--green-deep); font-size: 1.05rem; line-height: 1.75; max-width: 560px; margin: 0 auto; opacity: 0.85; }
.goal-block strong { opacity: 1; font-weight: 800; }


/* ============================================
   FOOTER
   ============================================ */
/* Contacts footer: глубокий зелёный вместо чёрного */
.footer {
    background: #163300;
    padding: 6rem 0 3rem;
    position: relative;
    overflow: hidden;
}
.footer-glow {
    position: absolute;
    top: -100px; left: 50%;
    transform: translateX(-50%);
    width: 500px; height: 300px;
    background: radial-gradient(ellipse, rgba(159, 232, 112, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.footer-inner { text-align: center; position: relative; z-index: 1; }

.footer-headline h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fff;
    margin-bottom: 0.8rem;
}
.footer-headline p { color: rgba(255,255,255,0.55); font-size: 1.05rem; margin-bottom: 3rem; }

.footer-contacts { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }

.contact-btn {
    display: flex; align-items: center; gap: 0.7rem;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.97rem;
    transition: var(--transition);
}

.tg-btn {
    background: rgba(255,255,255,0.10);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
}
.tg-btn:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.wa-btn {
    background: var(--green);
    color: var(--text-on-green);
    border: 1px solid transparent;
}
.wa-btn:hover {
    background: #aef07e;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 24px rgba(159, 232, 112, 0.3);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.83rem;
    color: rgba(255,255,255,0.35);
}


/* ============================================
   SECTION DARK ADJUSTMENTS
   ============================================ */

/* Career: глубокий зелёный (теплее, чем чёрный) */
.section-career {
    background: #163300;
}
.section-career h2.section-title { color: #fff; }
.section-career .section-subtitle {
    background: rgba(159, 232, 112, 0.12);
    color: var(--green);
    border: 1px solid rgba(159, 232, 112, 0.2);
}
.section-career .section-subtitle::before { background: var(--green); }

/* Philosophy: светлый мятный */
.section-philosophy {
    background: var(--mint-light);
}
.section-philosophy h2.section-title { color: var(--text); }
.section-philosophy .section-subtitle {
    background: var(--mint);
    color: var(--green-mid);
}
.section-philosophy .philo-item {
    background: #fff;
    border-color: var(--border);
}
.section-philosophy .philo-item:hover {
    border-color: var(--border-green);
    box-shadow: var(--shadow);
}
.section-philosophy .philo-icon {
    background: var(--mint);
    color: var(--green-mid);
}
.section-philosophy .philo-item h4 { color: var(--text-light); }
.section-philosophy .philo-item p { color: var(--text); }


/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal       { opacity: 0; transform: translateY(24px);  transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left  { opacity: 0; transform: translateX(-32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right { opacity: 0; transform: translateX(32px);  transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-up    { opacity: 0; transform: translateY(32px);  transition: opacity 0.7s ease, transform 0.7s ease; }
.active       { opacity: 1 !important; transform: translate(0, 0) !important; }


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .hero-layout { grid-template-columns: 1fr 360px; gap: 2.5rem; }
    .about-split { grid-template-columns: 1fr 320px; gap: 3rem; }
    .services-with-photo { grid-template-columns: 280px 1fr; gap: 3.5rem; }
    .philosophy-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
    .hero-layout { grid-template-columns: 1fr; }
    .hero-photo { display: none; }
    .about-split { grid-template-columns: 1fr; gap: 3rem; }
    .about-photo-wrap { max-width: 360px; }
    .services-with-photo { grid-template-columns: 1fr; }
    .services-photo-col { position: static; max-width: 320px; margin: 0 auto; }
    .philosophy-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-cta   { display: none; }
    .hero-text h1 { font-size: 2.8rem; }
    .hero-actions { flex-direction: column; }
    .stats-grid { flex-direction: column; }
    .stat-divider { width: 60px; height: 1px; align-self: center; }
    .story-grid   { grid-template-columns: 1fr; }
    .career-timeline { padding-left: 44px; }
    .career-card { flex-direction: column; gap: 1rem; }
    .philosophy-grid { grid-template-columns: 1fr; }
    .section { padding: 5rem 0; }
    .quote-block { flex-direction: column; gap: 1.5rem; }
    .service-row { flex-direction: column; gap: 1rem; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 2.2rem; }
    .career-step { left: -44px; width: 34px; height: 34px; font-size: 0.7rem; }
    .career-timeline { padding-left: 36px; }
}
