﻿/* ============================================
   IRI neuro вЂ” Influnetai-style redesign
   Р§С‘СЂРЅРѕ-Р±РµР»С‹Р№ + Р±РѕСЂРґРѕРІРѕ-Р±РёСЂСЋР·РѕРІС‹Р№ Р°РєС†РµРЅС‚
   Syne (СЂР°Р·РјР°С€РёСЃС‚С‹Р№) + Inter
   ============================================ */

@font-face {
    font-family: 'Fairfax';
    src: url('../fonts/web/FairfaxHD.woff2') format('woff2'),
         url('../fonts/web/FairfaxHD.woff') format('woff'),
         url('../fonts/web/FairfaxHD.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --black: #0a0a0a;
    --white: #fafafa;
    --red: #75071A;
    --red-bright: #a11229;
    --teal: #1a8b7a;
    --gray-light: #f2f2f2;
    --gray-mid: #888;
    --text-dark: #1a1a1a;
    --text-light: rgba(255,255,255,.65);
    --text-light-strong: rgba(255,255,255,.92);
    --border-dark: rgba(255,255,255,.1);
    --border-light: rgba(0,0,0,.08);
    --notch-height: 60px;
    /* Заголовочный шрифт. Вес задаётся ниже — сейчас Syne 600 (размашистый, но тоньше). */
    --font-display: 'Fairfax', sans-serif;
    --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Fairfax', 'Inter', -apple-system, sans-serif;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ============================================
   РЁРђРџРљРђ
   ============================================ */
.header {
    position: fixed;
    top: 10px; left: 0; right: 0;
    z-index: 1000;
    padding: 0;
    background: rgba(41, 36, 46, 0.685);
    box-shadow: 0 10px 30px rgba(74, 78, 134, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 30px;
    margin-left: 120px;
    margin-right: 120px;
    padding: 4px 20px;
    transition: background .3s, box-shadow .3s;
    font-family: 'Inter', -apple-system, sans-serif;
}
.header.scrolled {
    background: rgba(41, 36, 46, 0.685);
    box-shadow: 0 10px 30px rgba(74, 78, 134, 0.35);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}
.logo {
    display: inline-flex;
    align-items: center;
    transition: filter .25s;
}
.logo:hover {
    filter: drop-shadow(0 0 10px rgba(254,154,154,.85)) drop-shadow(0 0 24px rgba(254,154,154,.45));
}
.logo img {
    height: 65px;
    width: auto;
    display: block;
    padding: 5px 0;
}
.logo span {
    background: linear-gradient(135deg, var(--red), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}
.nav-list a {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-light);
    transition: color .25s, text-shadow .25s;
}
.nav-list a:hover {
    color: #FE9A9A;
    text-shadow: 0 0 12px rgba(254,154,154,.85), 0 0 28px rgba(254,154,154,.45);
}
.header-right { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.header-cta {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    padding: 3px 20px;
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 100px;
    transition: border-color .25s, box-shadow .25s, text-shadow .25s;
}
.header-cta:hover {
    border-color: #FE9A9A;
    box-shadow: 0 0 12px rgba(254,154,154,.55), 0 0 28px rgba(254,154,154,.3);
    text-shadow: 0 0 10px rgba(254,154,154,.9);
}
.lang-switch {
    position: relative;
}
.lang-current {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    padding: 6px 2px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.lang-current::after {
    content: '';
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--text-light);
}
.lang-current:hover { color: var(--white); }
.lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 90px;
    background: rgba(10,10,10,.95);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    padding: 4px;
    display: none;
    flex-direction: column;
}
.lang-dropdown a {
    padding: 6px 10px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-light);
    border-radius: 5px;
    transition: background .2s, color .2s;
}
.lang-dropdown a:hover {
    background: rgba(255,255,255,.06);
    color: var(--white);
}
.lang-switch:hover .lang-dropdown,
.lang-dropdown:hover { display: flex; }
.lang-divider {
    display: inline-block;
    width: 2px;
    height: 18px;
    background: var(--red);
    border-radius: 1px;
}
.header-right .lang-divider { margin: 0 10px; }
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.burger span {
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: .3s;
}

/* ============================================
   HERO вЂ” С‚С‘РјРЅС‹Р№, СЂР°Р·РјР°С€РёСЃС‚С‹Р№ Syne
   ============================================ */
.hero {
    position: relative;
    min-height: 80vh;
    padding: 80px 0 110px;
    background:
        radial-gradient(600px 400px at 80% 30%, rgba(117,7,26,.2), transparent 60%),
        radial-gradient(500px 400px at 15% 80%, rgba(26,139,122,.12), transparent 60%),
        var(--black);
    color: var(--white);
    overflow: visible;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(rgba(8,8,8,.62), rgba(8,8,8,.62)),
        url('../images/previue.jpg') center / cover no-repeat;
}
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
    margin-top: 60px;
}
.hero-text { max-width: 960px; }

.hero-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 20vw;
    height: calc(100% + 248px);
    z-index: 1;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border: 1px solid var(--border-dark);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 32px;
}
.pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--red);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(1.6); }
}

.hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(46px, 6vw, 78px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -2px;
    text-align: left;
    margin-bottom: 28px;
}
.hero-title .trend {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    color: var(--white);
}
/* Линия под словом, уходящая вправо за его пределы (чисто красная) */
.hero-title .trend-line {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 12px;
    width: 135%;
    background: var(--red);
    border-radius: 4px;
    transform: skewX(-18deg);
    transform-origin: left center;
    opacity: .85;
}
.hero-subtitle {
    font-size: 20px;
    line-height: 1.65;
    color: var(--text-light);
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* Фото в hero: центр на стыке розовой фигуры и фона. Три слоя: кот без глаз, белки, зрачки */
.hero-cat {
    position: absolute;
    top: 54%;
    left: calc(100% - 20vw);
    transform: translate(-50%, -47%);
    height: 40vh;
    aspect-ratio: 1484 / 1576;
    z-index: 2;
    pointer-events: none;
}
.hero-cat-base,
.hero-cat-whites,
.hero-cat-eyes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.hero-cat-pupils {
    position: absolute;
    inset: 0;
    pointer-events: none;
    will-change: transform;
    transition: transform .12s ease-out;
}



/* ============================================
   РљРќРћРџРљР
   ============================================ */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .3px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all .25s;
}
.btn-primary {
    background: linear-gradient(135deg, var(--red), #a11229);
    color: var(--white);
    box-shadow: 0 8px 30px rgba(117,7,26,.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(117,7,26,.45);
}
.btn-outline {
    border: 1.5px solid rgba(255,255,255,.28);
    color: var(--white);
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--teal);
    background: rgba(26,139,122,.08);
}
.btn-block { width: 100%; text-align: center; }

/* ============================================
   РЎРўРђРўРРЎРўРРљРђ вЂ” Р±РµР»С‹Р№ С„РѕРЅ, РєСЂСѓРїРЅС‹Рµ С†РёС„СЂС‹
   ============================================ */
.stats {
    background: transparent;
    padding: 70px 0 80px;
    position: relative;
    z-index: 2;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.stat-number {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 600;
    line-height: 1;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.stat-number .accent {
    background: linear-gradient(135deg, var(--red), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-number .small {
    font-size: .5em;
    opacity: .5;
}
.stat-number--text {
    font-size: 22px;
    line-height: 1.3;
    height: clamp(42px, 5vw, 64px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.stat-label {
    font-size: 16px;
    color: var(--gray-mid);
    font-weight: 500;
}
.stats-note {
    margin: 40px auto 0;
    max-width: 520px;
    text-align: center;
    font-size: 17px;
    color: var(--gray-mid);
    line-height: 1.6;
}
.stats-note strong {
    color: var(--red);
    font-weight: 600;
}

/* ============================================
   РЎР•РљР¦РР вЂ” РѕР±С‰РµРµ
   ============================================ */
.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--red);
    margin-bottom: 14px;
}
.section-label.light { color: var(--teal); }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 50px);
    font-weight: 600;
    letter-spacing: -.5px;
    line-height: 1.1;
    margin-bottom: 16px;
}
.section-title.light { color: var(--white); }
.section-subtitle {
    font-size: 18px;
    color: var(--gray-mid);
    margin-bottom: 48px;
    max-width: 500px;
}

/* ============================================
   РЈРЎР›РЈР“Р вЂ” Р±РµР»С‹Р№ С„РѕРЅ, С‡РёСЃС‚С‹Рµ РєР°СЂС‚РѕС‡РєРё
   ============================================ */
.services {
    background: var(--white);
    padding: 80px 0 100px;
}
.services-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 40px 0 30px;
}
/* ===== Полупрозрачные листы внахлёст (бирюза/красный), уголки торчат ===== */
.service-card {
    --sc-bg: rgba(26, 139, 122, 0.55);
    --sc-border: rgba(26, 139, 122, 0.9);
    position: relative;
    padding: 40px 34px 36px;
    background: var(--sc-bg);
    border: 1px solid var(--sc-border);
    border-radius: 20px;
    color: var(--white);
    backdrop-filter: blur(2px);
    min-height: 320px;
    transform: rotate(var(--tilt, 0deg));
    transition: transform .35s, box-shadow .35s, z-index .35s;
}
/* Чётные — красные, ложатся выше и сдвинуты (уголки торчат) */
.service-card:nth-child(even) {
    --sc-bg: rgba(117, 7, 26, 0.55);
    --sc-border: rgba(117, 7, 26, 0.9);
    z-index: 2;
}
/* Хаотичный нахлёст: каждый лист повёрнут и сдвинут по-своему */
.service-card:nth-child(1) { --tilt: -3deg; margin-top: 30px; margin-right: -30px; }
.service-card:nth-child(2) { --tilt: 3deg; margin-left: -30px; margin-right: -30px; margin-top: 10px; }
.service-card:nth-child(3) { --tilt: -2deg; margin-left: -30px; margin-top: 46px; }
.service-card:hover {
    transform: rotate(0deg) translateY(-8px);
    z-index: 10;
    box-shadow: 0 26px 60px rgba(0,0,0,.22);
}
/* «Уголок» листа — лёгкая тень перекрытия */
.service-card::before {
    content: '';
    position: absolute;
    top: 10px; left: 10px; right: 10px;
    height: 26px;
    background: rgba(255,255,255,.10);
    border-radius: 14px;
    pointer-events: none;
}
.service-icon {
    font-size: 30px;
    display: block;
    margin-bottom: 20px;
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}
.service-card p {
    font-size: 17px;
    color: rgba(255,255,255,.9);
    margin-bottom: 24px;
    line-height: 1.55;
}
.service-price {
    display: block;
    font-family: var(--font-display);
    font-size: 27px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}
.service-note {
    display: block;
    font-size: 15px;
    color: rgba(255,255,255,.75);
}

/* ============================================
   РџР•Р Р•РҐРћР” Р‘Р•Р›Р«Р™ в†’ Р§РЃР РќР«Р™ (V-РЅРѕС‚С‡ РІРЅРёР·)
   ============================================ */
.transition-white-black {
    background: var(--black);
    line-height: 0;
    margin-top: -1px;
}
.transition-white-black svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ============================================
   РџР РћР•РљРўР« вЂ” С‡С‘СЂРЅС‹Р№ С„РѕРЅ, СЃРєСЂСѓРіР»С‘РЅРЅР°СЏ РїР°РЅРµР»СЊ
   ============================================ */
.projects-section {
    background: var(--black);
    padding: 20px 0 100px;
}
.projects-panel {
    background: #111;
    border-radius: 32px;
    padding: 64px 56px;
    border: 1px solid var(--border-dark);
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.project-card {
    border-radius: 18px;
    overflow: hidden;
    background: #1a1a1a;
    border: 1px solid var(--border-dark);
    transition: transform .3s, border-color .3s;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}
.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(117,7,26,.5);
}
.project-open {
    position: absolute;
    top: 16px; right: 16px;
    z-index: 2;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: rgba(117,7,26,.92);
    border-radius: 100px;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .25s, transform .25s;
}
.project-card:hover .project-open {
    opacity: 1;
    transform: translateY(0);
}
.project-thumb {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform .4s ease;
}
.project-card:hover .project-thumb { transform: scale(1.05); }
.project-info {
    padding: 22px 24px 24px;
}
.project-info h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}
.project-info p {
    font-size: 16px;
    color: var(--text-light);
}

/* ============================================
   Р—РђРљРђР—РђРўР¬ вЂ” С‡С‘СЂРЅС‹Р№ С„РѕРЅ, С„РѕСЂРјР°
   ============================================ */
.order-section {
    background: var(--black);
    padding: 40px 0 100px;
}
.order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.order-desc {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.6;
}
.order-list {
    list-style: none;
}
.order-list li {
    padding: 10px 0;
    font-size: 17px;
    color: var(--text-light-strong);
    border-bottom: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}
.order-list .check {
    color: var(--teal);
    font-weight: 700;
}
.order-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.order-form input,
.order-form select,
.order-form textarea {
    width: 100%;
    padding: 15px 18px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    font-size: 17px;
    font-family: inherit;
    color: var(--white);
    transition: border-color .2s, outline .2s;
}
.order-form input::placeholder,
.order-form textarea::placeholder {
    color: rgba(255,255,255,.35);
}
.order-form select {
    appearance: none;
    background-image: none;
}
.order-form select option { color: #1a1a1a; }
.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
    outline: none;
    border-color: var(--red);
}
.order-form textarea {
    resize: vertical;
    min-height: 88px;
}
.form-note {
    font-size: 15px;
    color: var(--text-light);
    text-align: center;
    opacity: .6;
}

/* ============================================
   РљРћРќРўРђРљРўР« вЂ” С‡С‘СЂРЅС‹Р№ С„РѕРЅ
   ============================================ */
.contact-section {
    background: var(--black);
    padding: 20px 0 80px;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.contact-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 28px 24px;
    border-radius: 18px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border-dark);
    transition: border-color .25s, background .25s, transform .25s;
}
.contact-card:hover {
    border-color: var(--red);
    background: rgba(255,255,255,.07);
    transform: translateY(-3px);
}
.contact-icon { font-size: 26px; }
.contact-card strong {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    font-weight: 600;
}
.contact-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
}

/* ============================================
   РџРћР”Р’РђР›
   ============================================ */
.footer {
    background: var(--black);
    border-top: 1px solid var(--border-dark);
    padding: 28px 0;
    font-family: 'Inter', -apple-system, sans-serif;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-inner p {
    font-size: 15px;
    color: var(--text-light);
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    font-size: 15px;
    color: var(--text-light);
    transition: color .2s;
}
.footer-links a:hover { color: var(--white); }

/* ============================================
   МОДАЛЬНОЕ ОКНО ПРОСМОТРА ШАБЛОНА
   ============================================ */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    flex-direction: column;
    background: rgba(5,5,5,.95);
    backdrop-filter: blur(10px);
    padding: 20px;
}
.project-modal.open { display: flex; }
.project-modal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto 14px;
    padding: 0 4px;
}
.project-modal-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
}
.project-modal-close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-dark);
    background: rgba(255,255,255,.06);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: background .2s, transform .2s, border-color .2s;
}
.project-modal-close:hover {
    background: var(--red);
    border-color: var(--red);
    transform: rotate(90deg);
}
.project-modal-body {
    flex: 1;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.project-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ============================================
   РђРќРРњРђР¦РР
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .hero-badge,
    .hero-title,
    .hero-subtitle,
    .hero-buttons {
        animation: fadeUp .8s ease both;
    }
    .hero-title { animation-delay: .1s; }
    .hero-subtitle { animation-delay: .2s; }
    .hero-buttons { animation-delay: .35s; }
    .stat-item {
        animation: fadeUp .6s ease both;
    }
    .stat-item:nth-child(1) { animation-delay: .1s; }
    .stat-item:nth-child(2) { animation-delay: .2s; }
    .stat-item:nth-child(3) { animation-delay: .3s; }
    .stat-item:nth-child(4) { animation-delay: .4s; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   РђР”РђРџРўРР’
   ============================================ */
@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-model { margin-top: 36px; min-height: 0; justify-content: center; }
    .hero-model video { max-width: 420px; aspect-ratio: 4/4; }
    .hero { padding-bottom: 180px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .services-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; padding: 30px 0; }
    .service-card,
    .service-card:nth-child(n) { margin: 0 0 -60px 0; min-height: auto; }
    .service-card:nth-child(1) { --tilt: -1.5deg; }
    .service-card:nth-child(2) { --tilt: 1.5deg; }
    .service-card:nth-child(3) { --tilt: -1deg; margin-bottom: 0; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-panel { padding: 40px 28px; }
    .order-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; max-width: 400px; margin: 40px auto 0; }
    .project-modal { padding: 12px; }
}
@media (max-width: 768px) {
    .nav {
        background: transparent;
        border: none;
        backdrop-filter: none;
        padding: 0;
    }
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(10,10,10,.96);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        text-align: center;
        border-top: 1px solid var(--border-dark);
        border-radius: 0 0 16px 16px;
    }
    .nav-list.open { display: flex; }
    .burger { display: flex; }
    .header-cta { display: none; }
    .hero { padding: 130px 0 160px; }
    .hero-title { letter-spacing: -1px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: 1fr; }
    .projects-panel { border-radius: 24px; padding: 32px 20px; }
    .contact-grid { grid-template-columns: 1fr; }
    .project-modal-title { font-size: 17px; }
}



