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

:root {
    --bg-deep: #0a0a0f;
    --bg-card: #12121a;
    --bg-hover: #1a1a28;
    --text-primary: #f0eee6;
    --text-secondary: #9a978e;
    --text-muted: #5a584f;
    --accent-gold: #c9a84c;
    --accent-gold-dim: #8a7235;
    --accent-warm: #d4a056;
    --border: #1e1e2a;
    --border-light: #2a2a38;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --max-width: 1200px;
    --section-padding: clamp(4rem, 10vw, 8rem);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-warm);
}

/* ==================== TYPOGRAPHY ==================== */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5em;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 0.9em 2em;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--bg-deep);
}

.btn-primary:hover {
    background: var(--accent-warm);
    color: var(--bg-deep);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

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

.btn-secondary:hover {
    border-color: var(--accent-gold);
    background: rgba(201, 168, 76, 0.08);
    color: var(--accent-gold);
}

.btn-full {
    width: 100%;
}

/* ==================== LANGUAGE NAV ==================== */
.lang-nav {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    display: flex;
    gap: 0.25rem;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    padding: 0.3rem;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.lang-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.05em;
}

.lang-btn:hover {
    color: var(--text-secondary);
}

.lang-btn.active {
    color: var(--accent-gold);
    background: rgba(201, 168, 76, 0.1);
}

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 60% 40%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: var(--max-width);
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-photo {
    flex-shrink: 0;
}

.photo-placeholder {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-hover) 100%);
    border: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.photo-placeholder::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold-dim), transparent 60%);
    z-index: -1;
    opacity: 0.5;
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.initials {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--accent-gold-dim);
    letter-spacing: 0.05em;
}

.hero-text {
    flex: 1;
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 0.4em;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-warm) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--accent-gold);
    margin-bottom: 0.8em;
    font-style: italic;
    font-weight: 400;
}

.hero-sub {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    color: var(--text-muted);
    animation: float 2s ease-in-out infinite;
}

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

/* ==================== PILLARS ==================== */
.pillars {
    padding: var(--section-padding) 2rem;
    text-align: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: default;
}

.pillar-card:hover {
    border-color: var(--accent-gold-dim);
    background: var(--bg-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.2rem;
    color: var(--accent-gold);
}

.pillar-icon svg {
    width: 100%;
    height: 100%;
}

.pillar-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.pillar-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.pillar-quote {
    border-left: 2px solid var(--accent-gold-dim);
    padding-left: 1rem;
    margin: 0;
}

.pillar-quote p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 0.4rem;
}

.pillar-quote cite {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: normal;
}

/* ==================== TRACK RECORD ==================== */
.track-record {
    padding: var(--section-padding) 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
}

.track-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto 1.5rem;
    flex-wrap: wrap;
}

.track-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.track-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
}

.track-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: lowercase;
}

.track-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

.track-logos {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    padding: var(--section-padding) 2rem;
    text-align: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.8rem;
    transition: border-color 0.3s;
}

.testimonial-card:hover {
    border-color: var(--border-light);
}

.testimonial-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.testimonial-author strong {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonial-card[data-source="linkedin"]::before {
    content: 'LinkedIn';
    display: inline-block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold-dim);
    background: rgba(201, 168, 76, 0.08);
    padding: 0.2em 0.6em;
    border-radius: 3px;
    margin-bottom: 0.8rem;
}

.testimonial-card[data-source="perezagruzka"]::before {
    content: 'Community';
    display: inline-block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold-dim);
    background: rgba(201, 168, 76, 0.08);
    padding: 0.2em 0.6em;
    border-radius: 3px;
    margin-bottom: 0.8rem;
}

.testimonial-card[data-source="praise"]::before {
    content: 'Personal';
    display: inline-block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold-dim);
    background: rgba(201, 168, 76, 0.08);
    padding: 0.2em 0.6em;
    border-radius: 3px;
    margin-bottom: 0.8rem;
}

/* ==================== APPLY FORM ==================== */
.apply-section {
    padding: var(--section-padding) 2rem;
    text-align: center;
}

.apply-inner {
    max-width: 600px;
    margin: 0 auto;
}

.apply-form {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-gold-dim);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08);
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239a978e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-gold);
    cursor: pointer;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

/* ==================== COMMUNITY ==================== */
.community-section {
    padding: var(--section-padding) 2rem;
    text-align: center;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.community-inner {
    max-width: 500px;
    margin: 0 auto;
}

.community-form {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.community-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    background: var(--bg-deep);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
}

.community-form input:focus {
    border-color: var(--accent-gold-dim);
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-brand {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

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

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

    .track-inner {
        gap: 2rem;
    }

    .track-divider {
        display: none;
    }

    .track-inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .community-form {
        flex-direction: column;
    }

    .lang-nav {
        top: 0.75rem;
        right: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .photo-placeholder {
        width: 160px;
        height: 160px;
    }

    .initials {
        font-size: 2.5rem;
    }
}
