﻿:root {
    --accent: #0f766e;
    --accent-dark: #0b5b54;
    --accent-warm: #f2b544;
    --bg: #f6f2e8;
    --bg-alt: #ffffff;
    --card: #ffffff;
    --card-muted: #fdfbf7;
    --ink: #0b1a2a;
    --ink-soft: #2f3a46;
    --muted: #5e6772;
    --line: #e6ddcf;
    --hero-overlay: linear-gradient(115deg, rgba(7, 18, 28, 0.85), rgba(7, 18, 28, 0.35));
    --cta-bg: linear-gradient(120deg, rgba(15, 118, 110, 0.12), rgba(244, 178, 67, 0.12));
    --shadow-lg: 0 35px 60px rgba(11, 26, 42, 0.12);
    --shadow-sm: 0 16px 30px rgba(11, 26, 42, 0.08);
    --transition: all 0.3s ease;
    --container: 1200px;
    --font-sans: 'Manrope', sans-serif;
    --font-display: 'Unbounded', sans-serif;
}

html[data-theme="dark"] {
    --accent: #4fd1c5;
    --accent-dark: #2c8c85;
    --accent-warm: #f6c453;
    --bg: #0b1016;
    --bg-alt: #111821;
    --card: #121a23;
    --card-muted: #0f151d;
    --ink: #f2f5f9;
    --ink-soft: #d3d8df;
    --muted: #a5aeb8;
    --line: #1f2933;
    --hero-overlay: linear-gradient(115deg, rgba(6, 10, 16, 0.9), rgba(6, 10, 16, 0.55));
    --cta-bg: linear-gradient(120deg, rgba(79, 209, 197, 0.18), rgba(246, 196, 83, 0.12));
    --shadow-lg: 0 35px 60px rgba(0, 0, 0, 0.35);
    --shadow-sm: 0 16px 30px rgba(0, 0, 0, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 55%);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}

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

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
}

html[lang="kk"] {
    --font-sans: 'Noto Sans', sans-serif;
    --font-display: 'Noto Sans Display', sans-serif;
}

html[lang="kk"] h1,
html[lang="kk"] h2,
html[lang="kk"] h3 {
    letter-spacing: -0.01em;
}

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
}

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

.section-padding {
    padding: 110px 0;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-dark);
    background: rgba(15, 118, 110, 0.12);
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 16px;
    font-weight: 700;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.6rem;
    margin-bottom: 16px;
}

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

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(15, 20, 30, 0.08);
}

html[data-theme="dark"] header.scrolled {
    background: rgba(17, 24, 33, 0.92);
}

header:not(.scrolled) .logo,
header:not(.scrolled) .nav-links a {
    color: #f8fafc;
    text-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

header:not(.scrolled) .nav-links a::after {
    background: var(--accent-warm);
}

header:not(.scrolled) .lang-switch,
header:not(.scrolled) .theme-toggle {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

header:not(.scrolled) .lang-switch a {
    color: rgba(255, 255, 255, 0.8);
}

header:not(.scrolled) .lang-switch a.active {
    background: #ffffff;
    color: #0b1a2a;
}

header:not(.scrolled) .menu-toggle span {
    background: #ffffff;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Unbounded', sans-serif;
    color: var(--ink);
}

.logo .u {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

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

.nav-links a {
    font-weight: 600;
    color: var(--ink-soft);
    padding: 6px 0;
    position: relative;
    font-size: 0.95rem;
    white-space: nowrap;
}

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

.nav-links a:hover {
    color: var(--ink);
}

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

.nav-tools {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--bg-alt);
}

.lang-switch a {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    white-space: nowrap;
}

.lang-switch a.active {
    background: var(--accent);
    color: #ffffff;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--bg-alt);
    color: var(--ink);
    font-weight: 700;
    min-width: 82px;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-warm);
    box-shadow: 0 0 0 4px rgba(242, 181, 68, 0.2);
}

html[data-theme="dark"] .theme-toggle::before {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(79, 209, 197, 0.2);
}

.theme-toggle:hover {
    transform: translateY(-1px);
}

.nav-menu .btn {
    padding: 12px 22px;
    white-space: nowrap;
    font-size: 0.95rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    gap: 8px;
    flex-direction: column;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
    transform: translateY(-5px) rotate(-45deg);
}

.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 18, 22, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 900;
}

.menu-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.hero {
    min-height: 95vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('hero.png') no-repeat center/cover;
    color: #ffffff;
    padding: 160px 0 120px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    backdrop-filter: blur(6px);
}

.hero h1 {
    font-size: 3.6rem;
    line-height: 1.05;
    margin-bottom: 20px;
}

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

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
}

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

.hero-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.hero-points div {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #ffffff;
    box-shadow: 0 12px 25px rgba(15, 118, 110, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(15, 118, 110, 0.3);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #ffffff;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    border: 1.5px solid var(--accent);
    color: var(--accent);
    background: transparent;
}

.btn-secondary:hover {
    background: rgba(15, 118, 110, 0.12);
}

.btn-ghost {
    border: 1.5px solid var(--line);
    color: var(--ink-soft);
    background: transparent;
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--ink);
}

.services {
    background: var(--bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--card);
    padding: 28px;
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(15, 118, 110, 0.3);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(15, 118, 110, 0.12);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.service-card p {
    color: var(--muted);
}

.benefits {
    background: var(--bg);
}

.benefits-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    align-items: center;
}

.benefits-image img {
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
}

.benefits-content h2 {
    font-size: 2.6rem;
    margin-bottom: 26px;
}

.benefits-content h2 span {
    color: var(--accent);
}

.benefits-list li {
    margin-bottom: 22px;
}

.benefits-list strong {
    display: block;
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: 6px;
}

.benefits-list p {
    color: var(--muted);
}

.process {
    background: var(--bg-alt);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 32px;
}

.step {
    background: var(--card);
    border-radius: 20px;
    border: 1px solid var(--line);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

.step-number {
    font-family: 'Unbounded', sans-serif;
    font-size: 2.6rem;
    color: rgba(15, 118, 110, 0.25);
    margin-bottom: 6px;
}

html[data-theme="dark"] .step-number {
    color: rgba(79, 209, 197, 0.25);
}

.step h3 {
    margin-bottom: 10px;
}

.step p {
    color: var(--muted);
}

.cta-banner {
    padding: 90px 0;
    background: var(--cta-bg);
    text-align: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-banner p {
    color: var(--muted);
    margin-bottom: 26px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-info p {
    color: var(--muted);
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    font-weight: 600;
}

.contact-item span {
    font-size: 1.3rem;
}

.contact-item a {
    color: inherit;
}

.contact-card {
    background: var(--card);
    padding: 32px;
    border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.contact-card h3 {
    margin-bottom: 12px;
}

.contact-card p {
    color: var(--muted);
    margin-bottom: 20px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.contact-note {
    font-size: 0.95rem;
    color: var(--muted);
}

.hidden {
    display: none;
}

footer {
    padding: 40px 0 60px;
    background: var(--bg-alt);
    border-top: 1px solid var(--line);
    text-align: center;
}

.footer-bottom p {
    color: var(--muted);
}

.reveal,
.reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.8s ease;
}

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

section[id] {
    scroll-margin-top: 90px;
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(85vw, 360px);
        height: 100vh;
        background: var(--bg-alt);
        flex-direction: column;
        align-items: flex-start;
        padding: 110px 24px 24px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 1001;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .nav-tools {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .nav-tools .btn,
    .lang-switch a,
    .theme-toggle {
        white-space: normal;
    }

    .lang-switch {
        align-self: flex-start;
    }

    .theme-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }

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

    .section-header {
        margin-bottom: 40px;
    }

    .benefits-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 600px) {
    .section-padding {
        padding: 80px 0;
    }

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

    .hero-points {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-banner h2 {
        font-size: 2.1rem;
    }

    .btn {
        padding: 12px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
