/* ==========================================================================
   CSS Variables (Design Tokens)
   ========================================================================== */
:root {
    /* Цветовая палитра */
    --color-black: #0A0A0A;
    --color-black-light: #1A1A1A;
    --color-white: #FFFFFF;
    --color-gold: #D4AF37;
    --color-gold-light: #E8C875;
    --color-gold-dark: #B08C2B;
    --color-silver: #C0C0C0;
    --color-dark-silver: #707070;
    --color-emerald: #00D4AA;
    --color-blue: #3B82F6;
    --color-purple: #8B5CF6;
    --color-red: #EF4444;

    /* Градиенты */
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F7EF8A 100%);
    --gradient-dark: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.8) 100%);

    /* Тени */
    --shadow-sm: 0 2px 8px rgba(212, 175, 55, 0.1);
    --shadow-md: 0 4px 20px rgba(212, 175, 55, 0.15);
    --shadow-lg: 0 8px 40px rgba(212, 175, 55, 0.2);
    --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.3);

    /* Шрифты */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;

    /* Отступы */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Размеры */
    --header-height: 80px;
    --container-width: 1200px;
    --border-radius: 8px;

    /* Анимации */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-white);
    background-color: var(--color-black);
    overflow-x: hidden;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: 4rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 3rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: var(--space-sm);
    color: var(--color-silver);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-gold);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: -1;
}

.btn:hover::before {
    opacity: 1;
}

.btn--primary {
    background-color: var(--color-gold);
    color: var(--color-black);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.btn--outline:hover {
    background-color: var(--color-gold);
    color: var(--color-black);
}

.btn--ghost {
    background-color: transparent;
    color: var(--color-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.btn--ghost:hover {
    border-color: var(--color-gold);
    background-color: rgba(212, 175, 55, 0.1);
}

.btn--large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn__icon {
    font-size: 0.9em;
    transition: transform var(--transition-fast);
}

.btn:hover .btn__icon {
    transform: translateX(4px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.header__container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
}

.logo__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    color: var(--color-black);
    border-radius: 50%;
    font-weight: 700;
}

.logo__accent {
    color: var(--color-gold);
    font-weight: 700;
}

.nav__list {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

.nav__link {
    position: relative;
    padding: var(--space-xs) 0;
    font-weight: 500;
    color: var(--color-silver);
}

.nav__link:hover {
    color: var(--color-white);
}

.nav__underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width var(--transition-medium);
}

.nav__link:hover .nav__underline {
    width: 100%;
}

.nav__link--accent {
    color: var(--color-gold);
    font-weight: 600;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    z-index: 1001;
}

.burger__line {
    width: 24px;
    height: 2px;
    background-color: var(--color-gold);
    transition: transform var(--transition-medium), opacity var(--transition-medium);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 20px 0;
}

.hero__title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.hero__title-line {
    display: block;
}

.hero__title-line--accent {
    color: var(--color-gold);
    position: relative;
}

.hero__title-line--accent::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-gold);
    opacity: 0.5;
}

.hero__subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: var(--space-lg);
    color: var(--color-silver);
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: var(--space-lg);
}

.stat {
    text-align: center;
}

.stat__number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: var(--space-xs);
}

.stat__label {
    font-size: 0.875rem;
    color: var(--color-silver);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero__quote {
    margin-bottom: var(--space-lg);
    max-width: 500px;
}

.quote__text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-gold-light);
    margin-bottom: var(--space-xs);
}

.quote__author {
    font-size: 0.875rem;
    color: var(--color-silver);
}

.hero__scroll {
    position: absolute;
    bottom: var(--color-dark-silver);
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.scroll-indicator__text {
    font-size: 0.75rem;
    color: var(--color-silver);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-indicator__line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--color-gold) 0%, transparent 100%);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(0, 212, 170, 0.05) 0%, transparent 50%);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
    padding: var(--space-xl) 0;
    position: relative;
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section__title {
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-gold);
}

.section__subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: var(--color-silver);
}

/* ==========================================================================
   Technology Cards
   ========================================================================== */
.technologies__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.tech-card {
    position: relative;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    transition: all var(--transition-medium);
    overflow: hidden;
}

.tech-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-lg);
}

.tech-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.tech-card__icon {
    font-size: 2rem;
    color: var(--color-gold);
}

.tech-card__count {
    font-size: 0.875rem;
    color: var(--color-silver);
    background: rgba(212, 175, 55, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.tech-card__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.tech-card__description {
    color: var(--color-silver);
    margin-bottom: var(--space-md);
}

.tech-card__examples {
    margin-bottom: var(--space-md);
}

.tech-card__examples-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold-light);
    margin-bottom: var(--space-xs);
}

.tech-card__examples-list {
    list-style: none;
}

.tech-card__example {
    font-size: 0.875rem;
    color: var(--color-silver);
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1rem;
}

.tech-card__example::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

.tech-card__footer {
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: var(--space-md);
}

.tech-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-gold);
    font-weight: 500;
    transition: gap var(--transition-fast);
}

.tech-card__link:hover {
    gap: var(--space-sm);
}

.tech-card__decoration {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: var(--gradient-gold);
    opacity: 0.05;
    border-radius: 50%;
    z-index: -1;
}

.technologies__cta {
    text-align: center;
}

/* ==========================================================================
   Project Cards
   ========================================================================== */
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.project-card {
    background: var(--color-black-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform var(--transition-medium);
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-card__image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--color-black-light) 0%, var(--color-black) 100%);
}

.project-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(0, 212, 170, 0.05) 100%);
}

.project-card__image-text {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--color-gold);
    opacity: 0.5;
}

.project-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    opacity: 0;
    transition: opacity var(--transition-medium);
    display: flex;
    align-items: flex-end;
    padding: var(--space-md);
}

.project-card:hover .project-card__overlay {
    opacity: 1;
}

.project-card__overlay-content {
    display: flex;
    gap: var(--space-md);
    color: var(--color-white);
    font-size: 0.875rem;
}

.project-card__client {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--color-gold);
    color: var(--color-black);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-card__content {
    padding: var(--space-lg);
}

.project-card__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.project-card__description {
    font-size: 0.875rem;
    color: var(--color-silver);
    margin-bottom: var(--space-md);
}

.project-card__results {
    margin-bottom: var(--space-md);
}

.project-card__results-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold-light);
    margin-bottom: var(--space-xs);
}

.project-card__results-list {
    list-style: none;
}

.project-card__result {
    font-size: 0.875rem;
    color: var(--color-silver);
    padding: 0.125rem 0;
}

.project-card__technologies {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.project-card__technology {
    font-size: 0.75rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-gold-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.project-card__technology-more {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-silver);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.project-card__footer {
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: var(--space-md) var(--space-lg);
}

.project-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-gold);
    font-weight: 500;
    font-size: 0.875rem;
    transition: gap var(--transition-fast);
}

.project-card__link:hover {
    gap: var(--space-sm);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
    background: var(--color-black-light);
}

.testimonials__slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials__track {
    display: flex;
    overflow: hidden;
    /* Убираем scroll-behavior, так как анимация через JS */
    transition: transform 0.5s ease; /* Добавляем плавность */
}

.testimonial {
    flex: 0 0 100%;
    min-width: 100%; /* Защита от сжатия */
    padding: var(--space-lg);
    box-sizing: border-box;
}

.testimonial__content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--border-radius);
    padding: var(--space-xl);
}

.testimonial__quote {
    position: relative;
    padding: 20px; /* Для абсолютных иконок */
}

.testimonial__quote i:first-child {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 2rem;
    color: var(--color-gold);
    opacity: 0.3;
}

.testimonial__quote i:last-child {
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 2rem;
    color: var(--color-gold);
    opacity: 0.3;
}

.testimonial__quote p {
    position: relative;
    z-index: 1; /* Чтобы текст был поверх иконок */
}

.testimonial__author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: var(--space-md);
}

.testimonial__author-info {
    flex: 1;
}

.testimonial__author-name {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.testimonial__author-position {
    font-size: 0.875rem;
    color: var(--color-silver);
    margin-bottom: 0;
}

.testimonial__project {
    text-align: right;
}

.testimonial__project-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-silver);
    margin-bottom: 0.25rem;
}

.testimonial__project-name {
    font-size: 0.875rem;
    color: var(--color-gold-light);
}

.testimonials__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.testimonials__control {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials__control:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

.testimonials__dots {
    display: flex;
    gap: var(--space-xs);
}

.testimonials__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-silver);
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.testimonials__dot.active {
    background: var(--color-gold);
}

/* ==========================================================================
   Process Timeline
   ========================================================================== */
.process__timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-xl);
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step__number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    color: var(--color-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: var(--space-lg);
    z-index: 2;
}

.process-step__content {
    flex: 1;
    padding-top: 0.5rem;
}

.process-step__title {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.process-step__description {
    color: var(--color-silver);
    margin-bottom: var(--space-md);
}

.process-step__duration {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-gold-light);
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
    background: rgba(212, 175, 55, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.process-step__deliverables-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold-light);
    margin-bottom: var(--space-xs);
}

.process-step__deliverables-list {
    list-style: none;
}

.process-step__deliverable {
    font-size: 0.875rem;
    color: var(--color-silver);
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1rem;
}

.process-step__deliverable::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-emerald);
}

.process-step__connector {
    position: absolute;
    top: 60px;
    left: 30px;
    bottom: -40px;
    width: 2px;
    z-index: 1;
}

.process-step__line {
    width: 100%;
    height: calc(100% - 20px);
    background: linear-gradient(180deg, var(--color-gold) 0%, transparent 100%);
    opacity: 0.3;
}

.process-step__arrow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-gold);
    opacity: 0.5;
}

/* ==========================================================================
   Team Preview
   ========================================================================== */
.team-preview__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.team-member-preview {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    transition: all var(--transition-medium);
}

.team-member-preview:hover {
    border-color: var(--color-gold);
    transform: translateY(-4px);
}

.team-member-preview__image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-emerald) 100%);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-preview__initials {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-black);
}

.team-member-preview__name {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.team-member-preview__role {
    color: var(--color-gold);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.team-member-preview__expertise {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.team-member-preview__skill {
    font-size: 0.75rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-gold-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.team-member-preview__quote {
    border-left: 2px solid var(--color-gold);
    padding-left: var(--space-md);
    margin: 0;
}

.team-member-preview__quote p {
    font-size: 0.875rem;
    font-style: italic;
    color: var(--color-silver);
    margin: 0;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta {
    position: relative;
    background: var(--color-black-light);
    overflow: hidden;
}

.cta__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta__title {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.cta__description {
    font-size: 1.125rem;
    color: var(--color-silver);
    margin-bottom: var(--space-xl);
}

.cta__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.cta__phone {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-gold);
    font-size: 1.25rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.cta__phone:hover {
    color: var(--color-gold-light);
}

.cta__info {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.cta__info-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-silver);
    font-size: 0.875rem;
}

.cta__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta__bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--color-black);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.footer__logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    color: var(--color-black);
    border-radius: 50%;
    font-weight: 700;
}

.footer__logo-accent {
    color: var(--color-gold);
    font-weight: 700;
}

.footer__description {
    color: var(--color-silver);
    margin-bottom: var(--space-md);
    font-size: 0.875rem;
}

.footer__quote {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-gold-light);
    font-size: 0.875rem;
    border-left: 2px solid var(--color-gold);
    padding-left: var(--space-md);
}

.footer__title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: var(--space-xs);
}

.footer__links a {
    color: var(--color-silver);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-gold);
}

.footer__contacts {
    list-style: none;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    color: var(--color-silver);
    font-size: 0.875rem;
}

.footer__contact-item i {
    color: var(--color-gold);
    width: 16px;
}

.footer__social {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    transition: all var(--transition-fast);
}

.footer__social-link:hover {
    background: var(--color-gold);
    color: var(--color-black);
    transform: translateY(-2px);
}

.footer__newsletter {
    margin-top: var(--space-md);
}

.footer__newsletter-text {
    font-size: 0.875rem;
    color: var(--color-silver);
    margin-bottom: var(--space-sm);
}

.footer__form {
    display: flex;
    gap: var(--space-xs);
}

.footer__input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius);
    color: var(--color-white);
    font-size: 0.875rem;
    transition: border-color var(--transition-fast);
}

.footer__input:focus {
    outline: none;
    border-color: var(--color-gold);
}

.footer__submit {
    width: 40px;
    height: 40px;
    background: var(--color-gold);
    color: var(--color-black);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__submit:hover {
    background: var(--color-gold-light);
    transform: translateX(2px);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer__copyright {
    font-size: 0.75rem;
    color: var(--color-silver);
}

.footer__legal {
    display: flex;
    gap: var(--space-lg);
}

.footer__legal-link {
    font-size: 0.75rem;
    color: var(--color-silver);
    transition: color var(--transition-fast);
}

.footer__legal-link:hover {
    color: var(--color-gold);
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-black);
    z-index: 1000;
    transition: right var(--transition-medium);
    display: none;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu__content {
    padding: var(--space-xl);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.mobile-menu__logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
}

.mobile-menu__close {
    background: none;
    border: none;
    color: var(--color-gold);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu__list {
    list-style: none;
    flex: 1;
}

.mobile-menu__list li {
    margin-bottom: var(--space-lg);
}

.mobile-menu__list a {
    font-size: 1.5rem;
    color: var(--color-white);
    display: block;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: color var(--transition-fast);
}

.mobile-menu__list a:hover {
    color: var(--color-gold);
}

.mobile-menu__accent {
    color: var(--color-gold) !important;
    font-weight: 600;
}

.mobile-menu__footer {
    margin-top: auto;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.mobile-menu__email,
.mobile-menu__phone {
    display: block;
    color: var(--color-silver);
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
}

/* ==========================================================================
   Back to Top
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    width: 50px;
    height: 50px;
    background: var(--color-gold);
    color: var(--color-black);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-medium);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-gold-light);
    transform: translateY(-4px);
}

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader__content {
    text-align: center;
}

.preloader__logo {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.preloader__text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.2em;
}

.preloader__loader {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: 0 auto;
    animation: loading 2s infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }

    .hero__title { font-size: 4rem; }
    .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --space-xl: 4rem;
        --space-lg: 2rem;
        --space-md: 1.5rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .hero__title { font-size: 3rem; }
    .hero__subtitle { font-size: 1.125rem; }

    .nav { display: none; }
    .burger { display: flex; }
    .mobile-menu { display: block; }

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .technologies__grid,
    .portfolio__grid,
    .team-preview__grid {
        grid-template-columns: 1fr;
    }

    .process-step__connector {
        display: none;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero__title { font-size: 2.5rem; }
    .cta__title { font-size: 2rem; }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .testimonial__content {
        padding: var(--space-lg);
    }

    .testimonial__quote p {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.text-silver { color: var(--color-silver); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* ==========================================================================
   Contact Page Specific Styles (добавить к существующим)
   ========================================================================== */

/* Alert Messages */
.alert {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-lg);
    animation: slideIn 0.3s ease;
}

.alert--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #FCA5A5;
}

.alert--success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #6EE7B7;
}

.alert i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Form Styles (дополнение) */
.form__group--checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.form__checkbox {
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    accent-color: var(--color-gold);
    cursor: pointer;
}

.form__checkbox-label {
    font-size: 0.875rem;
    color: var(--color-silver);
    line-height: 1.4;
    cursor: pointer;
    user-select: none;
}

.form__link {
    color: var(--color-gold);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.form__link:hover {
    color: var(--color-gold-light);
}

.form__counter {
    text-align: right;
    font-size: 0.75rem;
    color: var(--color-silver);
    margin-top: 0.25rem;
}

/* FAQ Accordion */
.faq__item.active .faq__question {
    background: rgba(212, 175, 55, 0.05);
}

.faq__item.active .faq__question i {
    transform: rotate(180deg);
}

/* Success Animation */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(212, 175, 55, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .hero__actions,
    .cta,
    .contact__social,
    .mobile-menu,
    .burger,
    .back-to-top {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    a {
        color: #000 !important;
        text-decoration: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .section {
        padding: 1rem 0;
        break-inside: avoid;
    }
}

/* ==========================================================================
   Portfolio Page Specific Styles (дополнение)
   ========================================================================== */

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    margin-bottom: var(--space-lg);
}

.breadcrumb__link {
    color: var(--color-silver);
    transition: color var(--transition-fast);
}

.breadcrumb__link:hover {
    color: var(--color-gold);
}

.breadcrumb__separator {
    color: var(--color-gold);
    opacity: 0.5;
}

.breadcrumb__current {
    color: var(--color-gold);
    font-weight: 500;
}

/* Badge for Featured Projects */
.project-card__badge,
.project-image__badge {
    position: absolute;
    background: var(--gradient-gold);
    color: var(--color-black);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    z-index: 2;
}

/* Tech Stack Progress Bars */
.tech-item__level {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.tech-item__bar {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 2px;
    transition: width 1s ease;
}

/* Challenge Cards */
.challenge__card--problem {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.1);
}

.challenge__card--solution {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.1);
}

/* Print Styles for Portfolio */
@media print {
    .hero__actions,
    .cta,
    .filters,
    .related,
    .share-buttons {
        display: none !important;
    }

    .project-card,
    .result-card,
    .challenge__card {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .projects__grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   Team & Technologies Pages Specific Styles (дополнение)
   ========================================================================== */

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    margin-bottom: var(--space-lg);
}

.breadcrumb__link {
    color: var(--color-silver);
    transition: color var(--transition-fast);
}

.breadcrumb__link:hover {
    color: var(--color-gold);
}

.breadcrumb__separator {
    color: var(--color-gold);
    opacity: 0.5;
}

.breadcrumb__current {
    color: var(--color-gold);
    font-weight: 500;
}

/* Tech Stack Tags */
.tech-stack-tag {
    font-size: 0.75rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-gold-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    display: inline-block;
}

/* Modal Animations */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Animation for Tech Icons */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Print Styles */
@media print {
    .hero__actions,
    .cta,
    .hiring-form,
    .team-member__details-btn,
    .technology-card__link {
        display: none !important;
    }

    .team-member,
    .technology-card,
    .tech-stack-category {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .team-members__grid,
    .technologies-grid__content {
        grid-template-columns: 1fr !important;
    }
}