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

:root {
    /* Цвета из госстандартов */
    --bg: #ffffff;
    --text: #1F2229;
    --text-secondary: #5D6066;
    --accent: #0D4CD3;
    --accent-hover: #0A3BA8;
    --border: #E5E7EB;
    --card-bg: #F9FAFB;
    --success: #3AAA35;
    --warning: #FF9F3C;
    --error: #D84339;
    
    /* Типографика из госстандартов */
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 32px;
    --font-size-4xl: 40px;
    --font-size-5xl: 48px;
    
    /* Межстрочные интервалы */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.6;
    
    /* Отступы (система 8px) */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 40px;
    --spacing-3xl: 48px;
    --spacing-4xl: 64px;
    
    /* Скругления */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    
    /* Тени */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] {
    --bg: #0a0a0a !important;
    --text: #ffffff !important;
    --text-secondary: #a0a0a0 !important;
    --accent: #0D4CD3 !important;
    --accent-hover: #1557E5 !important;
    --border: #2a2a2a !important;
    --card-bg: #151515 !important;
    --success: #3AAA35 !important;
    --warning: #FF9F3C !important;
    --error: #D84339 !important;
}

[data-theme="dark"] body {
    background: var(--bg) !important;
    color: var(--text) !important;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
}

/* Курсор */
.cursor,
.cursor-follower {
    display: none;
}

/* Шум */
/* Фоновый шум */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' /%3E%3C/svg%3E");
}

/* Фоновая змейка */

/* Вертикальная навигация */
.vertical-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border: 2px solid var(--text-secondary);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-dot:hover,
.nav-dot.active {
    border-color: var(--accent);
    background: var(--accent);
    transform: scale(1.3);
}

.nav-label {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid var(--border);
    pointer-events: none;
}

.nav-dot:hover .nav-label {
    opacity: 1;
}

.nav-dot::before {
    content: attr(data-section);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
    font-family: 'Space Mono', monospace;
}

.nav-dot:hover::before {
    opacity: 1;
    left: 130px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

[data-theme="dark"] .header {
    background: rgba(10, 10, 10, 0.8);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text);
    font-family: 'Space Mono', monospace;
}

.logo__bracket {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 40px;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: var(--text);
}

.nav__number {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: var(--accent);
}

.header__right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header__status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.status__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.theme-toggle:hover {
    border-color: var(--accent);
    transform: rotate(180deg);
}

.theme-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    transition: opacity 0.3s ease;
    color: var(--text);
}

.theme-icon--moon {
    opacity: 0;
}

[data-theme="dark"] .theme-icon--sun {
    opacity: 0;
}

[data-theme="dark"] .theme-icon--moon {
    opacity: 1;
}

/* Chat Panel */

.chat-message--bot {
    background: var(--card-bg);
    align-self: flex-start;
}

[data-theme="dark"] .chat-message--bot {
    background: #1a1a1a;
    border: 1px solid #555;
}

.chat-message--user {
    background: var(--accent);
    color: white;
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-message--bot .chat-avatar {
    border: 2px solid var(--accent);
}

.chat-message--user .chat-avatar {
    border: 2px solid white;
}

/* На десктопе показываем в одну строку */

/* Hero */
.hero {
    min-height: 100vh;
    padding: 150px 60px 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero__label {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero__line {
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.hero__title {
    font-size: clamp(60px, 12vw, 110px);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    text-shadow: 
        1px 1px 0 rgba(0, 0, 0, 0.05),
        2px 2px 0 rgba(0, 0, 0, 0.05);
}

.title-animate {
    display: inline-block;
    cursor: pointer;
    transition: color 0.2s ease;
    user-select: none;
}

.title-animate:hover {
    color: var(--accent);
}

.hero__title-line {
    display: block;
}

.word {
    display: inline-block;
    margin-right: 20px;
}

.hero__accent {
    color: var(--accent);
    font-style: italic;
}

.hero__desc {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 500px;
}

.hero__skills {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.hero__skill {
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hero__skill:hover {
    transform: translateY(-5px);
}

.hero__skill-number {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: var(--accent);
}

.hero__skill-text {
    font-size: 16px;
    font-weight: 600;
}

.hero__skill-line {
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.hero__skill:hover .hero__skill-line {
    transform: scaleX(1);
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background: var(--text);
    color: var(--bg);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta__arrow {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.hero__cta:hover .cta__arrow {
    transform: translateX(5px);
}

/* Hero Visual - Photo */
.hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-orbit {
    position: absolute;
    border: 2px solid var(--accent);
    border-radius: 50%;
    opacity: 0.3;
}

[data-theme="dark"] .photo-orbit {
    opacity: 0.6;
    box-shadow: 0 0 10px rgba(255, 0, 110, 0.3);
}

.photo-orbit--1 {
    width: 420px;
    height: 420px;
    animation: orbitRotate 15s linear infinite;
}

.photo-orbit--2 {
    width: 460px;
    height: 460px;
    animation: orbitRotate 20s linear infinite reverse;
}

.photo-orbit--3 {
    width: 500px;
    height: 500px;
    animation: orbitRotate 25s linear infinite;
}

@keyframes orbitRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.photo-orbit--1::before,
.photo-orbit--2::before,
.photo-orbit--3::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent);
}

[data-theme="dark"] .photo-orbit--1::before,
[data-theme="dark"] .photo-orbit--2::before,
[data-theme="dark"] .photo-orbit--3::before {
    box-shadow: 0 0 25px var(--accent), 0 0 40px rgba(255, 0, 110, 0.5);
}

.photo-orbit--1::before {
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.photo-orbit--2::before {
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
}

.photo-orbit--3::before {
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.photo-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.photo-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-wrapper:hover .hero-photo {
    transform: scale(1.1);
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    right: 60px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.scroll__line {
    width: 1px;
    height: 60px;
    background: var(--text-secondary);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); }
}

/* Marquee */
.marquee {
    padding: 32px 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.marquee__track {
    display: flex;
    width: fit-content;
    animation: marquee 30s linear infinite;
}

.marquee__content {
    display: flex;
    gap: 48px;
    padding-right: 48px;
}

.marquee__content span {
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.marquee__star {
    color: var(--accent);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Work Section */
.work {
    padding: 120px 60px;
}

.section__header {
    display: flex;
    align-items: baseline;
    gap: 30px;
    margin-bottom: 80px;
}

.section__number {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    color: var(--accent);
    font-weight: 700;
}

.section__title {
    font-size: clamp(50px, 8vw, 100px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    text-shadow: 
        1px 1px 0 rgba(0, 0, 0, 0.03),
        2px 2px 0 rgba(0, 0, 0, 0.03);
}

.work__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.project {
    perspective: 2000px;
    cursor: pointer;
    height: 550px;
}

.project:nth-child(1) {
    grid-column: span 6;
    grid-row: span 2;
    height: 1120px;
}

.project:nth-child(2) {
    grid-column: span 6;
    grid-row: span 1;
}

.project:nth-child(3) {
    grid-column: span 6;
    grid-row: span 1;
}

.project:nth-child(4) {
    grid-column: span 6;
    grid-row: span 1;
}

.work__more-card {
    grid-column: span 6;
    grid-row: span 1;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.work__more-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.work__more-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--text);
}

.work__more-text {
    font-size: 24px;
    font-weight: 700;
}

.work__more-arrow {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.work__more-card:hover .work__more-arrow {
    background: var(--accent);
    color: var(--bg);
    transform: rotate(45deg);
}

.project-3d .project__inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.project-3d.flipped .project__inner {
    transform: rotateY(180deg);
}

.project__front,
.project__back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
}

.project__front {
    background: var(--card-bg);
}

.project-3d.flipped .project__front {
    pointer-events: none;
}

.project__back {
    background: var(--text);
    color: var(--bg);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    pointer-events: auto;
}

.project__image {
    width: 100%;
    height: 65%;
    position: relative;
    overflow: hidden;
}

.project__bg {
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: transform 0.5s ease;
}

.project:hover .project__bg {
    transform: scale(1.1);
}

.project__year {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
}

.project__info {
    padding: 30px;
}

.project__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.project__category {
    font-size: 14px;
    color: var(--text-secondary);
}

.project__details h4 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.project__details p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.95;
}

.project__tech {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.project__tech span {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
}

.project__link {
    color: var(--bg);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s ease;
}

.project__link:hover {
    gap: 15px;
}

.work__more {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    border: 2px solid var(--text);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.work__more:hover {
    background: var(--text);
    color: var(--bg);
}

/* Services */
.services {
    padding: 120px 60px;
    background: var(--card-bg);
}

.services__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: var(--spacing-2xl);
    padding: var(--spacing-4xl) 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.service:hover {
    padding-left: var(--spacing-xl);
}

.service__number {
    font-family: 'Space Mono', monospace;
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--accent);
    opacity: 0.3;
}

.service__title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: var(--line-height-tight);
}

.service__desc {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
}



/* Service price badge */
.service__price-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: linear-gradient(135deg, #0D4CD3, #1557E5);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    margin-bottom: var(--spacing-lg);
}

.service__price-badge--secondary {
    background: linear-gradient(135deg, #0D4CD3, #0A3BA8);
}

.service:hover .service__price-badge {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service__price-value {
    font-size: 36px;
    font-weight: 900;
    color: white;
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-xs);
    font-family: 'Space Mono', monospace;
}

.service__price-label {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.service__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.service__header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.service__icon {
    font-size: var(--font-size-5xl);
    line-height: 1;
}

.service__badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--accent);
    color: white;
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-sm);
}

.service__badge--promo {
    background: linear-gradient(135deg, #0D4CD3, #0A3BA8);
}

.service--featured {
    background: linear-gradient(135deg, rgba(13, 76, 211, 0.03), rgba(10, 59, 168, 0.03));
    padding: var(--spacing-4xl) var(--spacing-xl);
    margin: 0 calc(-1 * var(--spacing-xl));
    border-radius: var(--radius-2xl);
}

.service__features {
    display: grid;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.service__feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: var(--line-height-normal);
}

.feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-size: var(--font-size-xs);
    font-weight: 700;
    flex-shrink: 0;
}

.service__tags {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: var(--spacing-sm);
    align-items: center;
    justify-content: flex-end;
}

.service__tag {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-2xl);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.service__tag--time {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
    font-weight: 600;
}

.service__tag--time:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* Service CTA Block */
.service-cta-block {
    margin-top: var(--spacing-4xl);
    padding: var(--spacing-4xl);
    background: linear-gradient(135deg, rgba(13, 76, 211, 0.03), rgba(10, 59, 168, 0.03));
    border: 2px dashed var(--border);
    border-radius: var(--radius-2xl);
    text-align: center;
    transition: all 0.3s ease;
}

.service-cta-block:hover {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(13, 76, 211, 0.05), rgba(10, 59, 168, 0.05));
}

.service-cta-block__icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-lg);
}

.service-cta-block__title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text);
    line-height: var(--line-height-tight);
}

.service-cta-block__desc {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-3xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-cta-block__benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
    margin-left: calc(-1 * var(--spacing-xl));
    margin-right: calc(-1 * var(--spacing-xl));
}

.cta-benefit {
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-xl);
    background: linear-gradient(135deg, rgba(13, 76, 211, 0.03), rgba(10, 59, 168, 0.03));
    border-radius: var(--radius-2xl);
    border: 1.5px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-benefit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0D4CD3, #1557E5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.cta-benefit:hover::before {
    opacity: 0.05;
}

.cta-benefit:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.cta-benefit > * {
    position: relative;
    z-index: 1;
}

.cta-benefit__icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-lg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.cta-benefit__title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text);
    line-height: var(--line-height-tight);
}

.cta-benefit__text {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
}

.service-cta-block__button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) var(--spacing-2xl);
    background: var(--accent);
    color: white;
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.service-cta-block__button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: var(--accent-hover);
}

.service-cta-block__button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.service-cta-block__button:hover svg {
    transform: translate(3px, -3px);
}

/* Contact */
.contact {
    padding: 120px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.contact__content {
    z-index: 2;
}

.contact__info {
    margin-top: 20px;
}

.contact__title {
    font-size: clamp(50px, 8vw, 90px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.contact__accent {
    color: var(--accent);
    font-style: italic;
}

.contact__email {
    font-size: 32px;
    color: var(--text);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 40px;
    transition: color 0.3s ease;
}

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

.contact__links {
    display: flex;
    gap: 20px;
}

.contact__link {
    padding: 12px 30px;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contact__link:hover {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

/* Contact Form */
.contact__form-wrapper {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    z-index: 2;
}

[data-theme="dark"] .contact__form-wrapper {
    background: #1a1a1a;
    border: 1px solid #555;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form__group {
    display: flex;
    flex-direction: column;
}

.form__input,
.form__select,
.form__textarea {
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .form__input,
[data-theme="dark"] .form__select,
[data-theme="dark"] .form__textarea {
    background: #0f0f0f;
    border: 1px solid #555;
    color: #e0e0e0;
}

[data-theme="dark"] .form__input::placeholder,
[data-theme="dark"] .form__select::placeholder,
[data-theme="dark"] .form__textarea::placeholder {
    color: #888;
}

[data-theme="dark"] .form__input:hover,
[data-theme="dark"] .form__select:hover,
[data-theme="dark"] .form__textarea:hover {
    border-color: #777;
    background: #1a1a1a;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.1);
}

[data-theme="dark"] .form__input:focus,
[data-theme="dark"] .form__select:focus,
[data-theme="dark"] .form__textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.2);
}

.form__select {
    cursor: pointer;
    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='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
}

.form__submit {
    padding: 16px 32px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.form__submit:hover {
    background: #e6006a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.3);
}

.form__submit svg {
    width: 20px;
    height: 20px;
}

@keyframes circleRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Footer */
.footer {
    padding: 40px 60px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer__left,
.footer__right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer__divider {
    color: var(--accent);
}

.footer__heart {
    color: #ff0000;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Адаптивность */
@media (max-width: 1024px) {
    .vertical-nav {
        right: 20px;
        gap: 20px;
    }
    
    .hero {
        grid-template-columns: 1fr;
        padding: 100px 40px 60px;
    }
    
    .hero__visual {
        order: -1;
        margin-bottom: 40px;
    }
    
    .photo-container {
        width: 300px;
        height: 300px;
    }
    
    .work__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .project--large {
        grid-column: span 2;
    }
    
    .work__more-card {
        grid-column: span 2;
    }
    
    .contact {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact__form-wrapper {
        order: 2;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
    pointer-events: none;
}

.mobile-menu-toggle:hover {
    border-color: var(--accent);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-menu__link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-size: 32px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.mobile-menu__link:hover {
    color: var(--accent);
}

.mobile-menu__number {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    color: var(--accent);
}

@media (max-width: 768px) {
    .vertical-nav {
        display: none;
    }
    
    .header {
        padding: 15px 20px;
        height: auto;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .nav {
        display: none;
    }
    
    .header__status {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero__visual {
        display: none;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero__title {
        font-size: clamp(40px, 12vw, 60px);
    }
    
    .hero__desc {
        font-size: 16px;
    }
    
    .hero__skills {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .hero__skill {
        flex: 1 1 calc(50% - 10px);
        min-width: 140px;
    }
    
    .photo-container {
        width: 250px;
        height: 250px;
    }
    
    .marquee__content span {
        font-size: 20px;
    }
    
    .section__title {
        font-size: clamp(40px, 10vw, 60px);
    }
    
    .work,
    .services,
    .contact {
        padding: 60px 20px;
    }
    
    .work__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
    }
    
    .project:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 1 / 1;
        height: auto;
    }
    
    /* Отключаем 3D эффект на мобильных */
    .project-3d .project__inner {
        transform: none !important;
        transform-style: flat;
    }
    
    .project-3d.flipped .project__inner {
        transform: none !important;
    }
    
    .project__back {
        display: none !important;
    }
    
    .project__front {
        position: relative !important;
        backface-visibility: visible !important;
    }
    
    /* Делаем всю карточку кликабельной на мобильных */
    .project {
        cursor: pointer;
        position: relative;
    }
    
    .work__more-card {
        grid-column: span 1;
        aspect-ratio: 1 / 1;
        height: auto;
    }
    
    .services__list {
        gap: 20px;
    }
    
    .service {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 30px 20px;
    }
    
    .service--featured {
        padding: 30px 20px;
        margin: 0;
    }
    
    .service__number {
        font-size: 40px;
    }
    
    .service__title {
        font-size: 24px;
    }
    
    .service__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .service__icon {
        font-size: 36px;
    }
    
    .service__right {
        width: 100%;
    }
    
    .service__price-badge {
        width: 100%;
        align-items: center;
        text-align: center;
        padding: 16px 20px;
    }
    
    .service__price-value {
        font-size: 28px;
    }
    
    .service__tags {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .service__tag {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    /* CTA блок */
    .service-cta-block {
        padding: 30px 20px;
        margin-top: 30px;
    }
    
    .service-cta-block__icon {
        font-size: 48px;
        margin-bottom: 16px;
    }
    
    .service-cta-block__title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .service-cta-block__desc {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .service-cta-block__benefits {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .cta-benefit {
        padding: 24px 20px;
    }
    
    .cta-benefit__icon {
        font-size: 40px;
        margin-bottom: 12px;
    }
    
    .cta-benefit__title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .cta-benefit__text {
        font-size: 14px;
    }
    
    .service-cta-block__button {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .contact__title {
        font-size: clamp(35px, 10vw, 50px);
        margin-bottom: 30px;
    }
    
    .contact__email {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .contact__links {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .contact__link {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .contact__form-wrapper {
        padding: 30px 20px;
    }
    
    .footer {
        padding: 30px 20px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 48px;
    }
    
    .hero__skills {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .hero__skill {
        flex: 1 1 auto;
    }
    
    .hero__cta {
        display: none;
    }
    
    .hero__scroll {
        bottom: 180px;
        right: 20px;
    }
    
    .photo-container {
        width: 200px;
        height: 200px;
    }
    
    .section__title {
        font-size: 36px;
    }
    
    /* Услуги на маленьких экранах */
    .service {
        padding: 20px 15px;
    }
    
    .service--featured {
        padding: 20px 15px;
    }
    
    .service__number {
        font-size: 32px;
    }
    
    .service__title {
        font-size: 20px;
    }
    
    .service__desc {
        font-size: 14px;
    }
    
    .service__icon {
        font-size: 32px;
    }
    
    .service__price-value {
        font-size: 24px;
    }
    
    .service__feature {
        font-size: 13px;
    }
    
    /* CTA блок на маленьких экранах */
    .service-cta-block {
        padding: 24px 15px;
    }
    
    .service-cta-block__icon {
        font-size: 40px;
    }
    
    .service-cta-block__title {
        font-size: 20px;
    }
    
    .service-cta-block__desc {
        font-size: 14px;
    }
    
    .cta-benefit {
        padding: 20px 15px;
    }
    
    .cta-benefit__icon {
        font-size: 36px;
    }
    
    .cta-benefit__title {
        font-size: 16px;
    }
    
    .cta-benefit__text {
        font-size: 13px;
    }
    
    .service-cta-block__button {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    
    .contact__title {
        font-size: 32px;
    }
    
    .form__input,
    .form__select,
    .form__textarea {
        font-size: 14px;
        padding: 12px 16px;
    }
}


/* ============================================
   СТРАНИЦА ПРОЕКТА
   ============================================ */

.project-page {
    padding-top: 100px;
}

/* Хлебные крошки */
.breadcrumbs {
    padding: 0 60px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumbs__link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.breadcrumbs__separator {
    color: var(--text-secondary);
}

.breadcrumbs__current {
    color: var(--text);
    font-weight: 500;
}

/* Back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--accent);
    gap: 15px;
}

.back-link svg {
    width: 20px;
    height: 20px;
}

/* Project Hero */
.project-hero {
    padding: 0 60px 80px;
}

.project-hero__content {
    max-width: 800px;
}

.project-hero__label {
    display: inline-block;
    padding: 8px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.project-hero__title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-hero__desc {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.project-hero__meta {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.project-meta__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.project-meta__value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.project-hero__image {
    margin-top: 60px;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
    position: relative;
}

.project-hero__bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
}

/* Project Section */
.project-section {
    padding: 80px 60px;
    border-top: 1px solid var(--border);
}

.project-section__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
}

/* Tech Grid */
.project-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tech-card {
    padding: 30px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.tech-card__icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.tech-card__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.tech-card__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Project Content */
.project-content {
    max-width: 800px;
}

.project-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.project-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 40px 0 20px;
}

.project-content ul {
    list-style: none;
    padding: 0;
}

.project-content li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
}

.project-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Project Next */
.project-next {
    padding: 80px 60px;
    border-top: 1px solid var(--border);
}

.project-next__link {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 20px 40px;
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-next__link:hover {
    border-color: var(--accent);
    gap: 30px;
}

.project-next__label {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.project-next__arrow {
    font-size: 24px;
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .project-page {
        padding-top: 80px;
    }
    
    .breadcrumbs {
        padding: 0 20px 15px;
        font-size: 12px;
    }
    
    .project-hero {
        padding: 0 20px 60px;
    }
    
    .project-hero__title {
        font-size: 40px;
    }
    
    .project-hero__desc {
        font-size: 16px;
    }
    
    .project-hero__meta {
        gap: 20px;
    }
    
    .project-section {
        padding: 60px 20px;
    }
    
    .project-section__title {
        font-size: 28px;
    }
    
    .project-tech-grid {
        grid-template-columns: 1fr;
    }
    
    .project-content p {
        font-size: 16px;
    }
    
    .project-content h3 {
        font-size: 20px;
    }
    
    .project-next {
        padding: 60px 20px;
    }
}


/* ============================================
   СТРАНИЦА ВСЕХ ПРОЕКТОВ
   ============================================ */
/* Стили для страницы /projects/ находятся в src/pages/projects/index.astro */


/* Модальное окно контакта */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-modal.active {
    display: flex;
    opacity: 1;
}

.contact-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.contact-modal__content {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 50px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.contact-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #000;
}

.contact-modal__close:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(90deg);
}

.contact-modal__close svg {
    width: 20px;
    height: 20px;
}

.contact-modal__title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.contact-modal__desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.contact-modal__form .form__group {
    margin-bottom: 20px;
}

.contact-modal__form .form__input,
.contact-modal__form .form__textarea {
    width: 100%;
    padding: 15px 20px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    color: #000;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
}

.contact-modal__form .form__input::placeholder,
.contact-modal__form .form__textarea::placeholder {
    color: #999;
}

.contact-modal__form .form__input:focus,
.contact-modal__form .form__textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
}

.contact-modal__form .form__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-modal__form .form__submit {
    width: 100%;
    padding: 15px 30px;
    background: var(--accent);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.contact-modal__form .form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.contact-modal__form .form__submit svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .contact-modal__content {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .contact-modal__title {
        font-size: 24px;
    }
    
    .contact-modal__desc {
        font-size: 14px;
    }
}
