:root {
    --bg: #fdfdfd;
    --text-main: #1a1a1a;
    --text-secondary: #666;
    --accent: #000000;
    --border: #e5e5e5;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

/* Анимация появления */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   ЖИВОЙ ФОН (Animated Gradient)
   ========================================= */
.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.6;
    animation: float 10s infinite ease-in-out;
    pointer-events: none;
}
.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200,200,255,0.4) 0%, rgba(255,255,255,0) 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}
.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(230,230,230,0.5) 0%, rgba(255,255,255,0) 70%);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ШАПКА */
.header {
    position: fixed;
    top: 0; width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    z-index: 1000;
    background: rgba(253, 253, 253, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}
.header.scrolled { height: 70px; background: rgba(253, 253, 253, 0.9); }
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo {
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
    letter-spacing: -0.5px;
}
.logo span { color: var(--text-secondary); }

/* Навигация ПК */
.nav-desktop { display: flex; gap: 40px; align-items: center; }
.nav-desktop a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    position: relative;
}
.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--text-main);
    transition: var(--transition);
}
.nav-desktop a:hover::after { width: 100%; }

.btn-nav {
    background: var(--accent);
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 100px;
    transition: var(--transition);
}
.btn-nav:hover { opacity: 0.8; transform: translateY(-2px); }
.btn-nav::after { display: none; }

/* БУРГЕР */
.burger {
    display: none;
    flex-direction: column;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.burger span {
    width: 28px;
    height: 1.5px;
    background: var(--text-main);
    transition: var(--transition);
}
.burger.active span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* МОБИЛЬНОЕ МЕНЮ */
.mobile-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: var(--bg);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.mobile-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav { display: flex; flex-direction: column; gap: 40px; text-align: center; }
.mobile-nav a { 
    color: var(--text-main); 
    font-size: 38px; 
    text-decoration: none; 
    font-weight: 800; 
    letter-spacing: -1px; 
}

/* HERO СЕКЦИЯ */
.hero {
    padding-top: 200px;
    padding-bottom: 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-content {
    transform-style: preserve-3d;
    z-index: 1;
}
.hero-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(5px);
}
.hero-title {
    font-size: clamp(40px, 8vw, 110px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -4px;
    margin-bottom: 40px;
    transition: transform 0.1s ease;
}
.hero-title span { 
    color: transparent;
    -webkit-text-stroke: 1px #ccc;
    display: block;
}
.hero-sub {
    color: var(--text-secondary);
    font-size: clamp(18px, 2vw, 24px);
    max-width: 700px;
    margin-bottom: 60px;
    line-height: 1.4;
}
.hero-btns { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }
.btn-main {
    background: var(--accent);
    color: #fff;
    padding: 24px 50px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 100px;
    transition: var(--transition);
    display: inline-block;
}
.btn-main:hover { transform: scale(1.05); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.btn-secondary {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #eee;
    padding-bottom: 4px;
    transition: var(--transition);
}
.btn-secondary:hover { border-color: var(--text-main); }

/* Скролл индикатор */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    animation: bounce 2s infinite;
}
.scroll-indicator span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
}
.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--text-main), transparent);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ОБЩИЕ СТИЛИ СЕКЦИЙ */
section { padding: 100px 0; }
.section-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    border-left: 2px solid var(--accent);
    padding-left: 12px;
}
.section-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 40px;
}

/* О НАС */
.about-section { background: var(--bg); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-text {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 40px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
}
.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -2px;
}
.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ПОРТФОЛИО */
.projects-section { background: #f5f5f5; }
.section-header { margin-bottom: 60px; }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}
.project-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}
.project-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: #e5e5e5;
    overflow: hidden;
}
.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 24px;
    background: linear-gradient(135deg, #e5e5e5 0%, #f5f5f5 100%);
}
.project-info {
    padding: 32px;
}
.project-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}
.project-info p {
    color: var(--text-secondary);
    font-size: 15px;
}
.projects-footer { text-align: center; }

* Стили для изображений в портфолио */
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Картинка заполняет блок без искажений */
    object-position: center; /* Центрирование */
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Эффект увеличения при наведении на карточку */
.project-card:hover .project-image img {
    transform: scale(1.05);
}

/* Убираем placeholder когда есть картинка */
.project-placeholder {
    display: none;
}

/* FAQ */
.faq-section { background: var(--bg); }
.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-main);
    font-family: inherit;
    transition: var(--transition);
}
.faq-question:hover {
    color: var(--text-secondary);
}
.faq-question.active {
    padding-bottom: 24px;
}
.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--text-main);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 20px;
}
.faq-question.active .faq-icon {
    background: var(--accent);
    color: #fff;
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer p {
    padding-bottom: 32px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

/* КОНТАКТЫ С ФОРМОЙ */
.contact-section { 
    background: var(--accent); 
    color: #fff; 
    padding-bottom: 60px;
}
.contact-wrapper { 
    padding: 80px 0; 
    max-width: 700px;
    margin: 0 auto;
}
.contact-title { 
    font-size: clamp(40px, 6vw, 64px); 
    font-weight: 800; 
    margin-bottom: 16px; 
    letter-spacing: -2px; 
}
.contact-sub { 
    color: #888; 
    font-size: 18px; 
    margin-bottom: 48px; 
}

/* Стили формы */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.form-group input,
.form-group textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 18px 20px;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.3);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.08);
}
.form-group textarea {
    resize: vertical;
    min-height: 140px;
}
.btn-submit {
    background: #fff;
    color: var(--accent);
    border: none;
    padding: 20px 40px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    margin-top: 12px;
}
.btn-submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(255,255,255,0.15);
}
.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
.btn-submit svg {
    transition: var(--transition);
}
.btn-submit:hover svg {
    transform: translate(4px, -4px);
}
.form-note {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    text-align: center;
    margin-top: 8px;
}

/* Уведомление об успешной отправке */
.form-notification {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.form-notification.active {
    opacity: 1;
    visibility: visible;
}
.notification-content {
    background: #fff;
    color: var(--text-main);
    padding: 60px 80px;
    border-radius: 24px;
    text-align: center;
    max-width: 500px;
    transform: scale(0.9);
    transition: var(--transition);
}
.form-notification.active .notification-content {
    transform: scale(1);
}
.notification-content svg {
    color: #10b981;
    margin-bottom: 24px;
}
.notification-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}
.notification-content p {
    color: var(--text-secondary);
    font-size: 16px;
}

.contact-footer {
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
}
.socials a { 
    color: #fff; 
    text-decoration: none; 
    margin-left: 20px;
    opacity: 0.7;
    transition: var(--transition);
}
.socials a:hover { opacity: 1; }


/* =========================================
КАЛЬКУЛЯТОР СТОИМОСТИ
========================================= */
.calculator-section {
    background: var(--bg);
    padding: 100px 0;
}

.section-sub {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin-top: 16px;
}

.calculator-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

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

/* Параметры */
.calculator-params {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calc-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calc-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.calc-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.calc-option {
    cursor: pointer;
}

.calc-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: var(--transition);
    font-weight: 500;
    font-size: 14px;
}

.option-card:hover {
    border-color: var(--text-secondary);
}

.calc-option input:checked + .option-card {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.calc-option input:checked + .option-card .option-icon {
    filter: brightness(0) invert(1);
}

.option-icon {
    font-size: 20px;
}

.option-name {
    font-weight: 500;
}

/* Скрытие технических опций */
.tech-option {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tech-option[style*="display: none"] {
    opacity: 0;
    transform: scale(0.9);
}

/* Результат */
.calculator-result {
    position: sticky;
    top: 120px;
}

.result-card {
    background: var(--accent);
    color: #fff;
    padding: 40px;
    border-radius: 24px;
    position: sticky;
    top: 120px;
}

.result-title {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}

.result-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 32px;
}

.price-value {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
}

.price-currency {
    font-size: 24px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.result-breakdown {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 24px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.breakdown-item span:last-child {
    font-weight: 600;
    color: #fff;
}

.result-note {
    background: rgba(255,255,255,0.05);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.result-note p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    margin: 0;
}

.btn-full {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Анимация изменения цены */
.price-value {
    transition: transform 0.3s ease;
}

.price-value.updating {
    transform: scale(1.05);
    color: #4ade80;
}

/* АДАПТИВНОСТЬ КАЛЬКУЛЯТОРА */
@media (max-width: 1024px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .calculator-result {
        position: relative;
        top: 0;
    }
    
    .result-card {
        position: relative;
    }
}

@media (max-width: 768px) {
    .calc-options-grid {
        grid-template-columns: 1fr;
    }
    
    .price-value {
        font-size: 42px;
    }
    
    .result-card {
        padding: 30px;
    }
    
    .option-card {
        padding: 14px 16px;
        font-size: 13px;
    }
}

/* =========================================
ТЕЛЕФОН И КОНТАКТЫ
========================================= */
.header-phone {
    display: inline-flex; /* Выстраиваем иконку и текст в ряд */
    align-items: center;  /* Центрируем по вертикали */
    gap: 8px;             /* Расстояние между иконкой и текстом */
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main);
    text-decoration: none;
    margin-right: 32px;
    transition: var(--transition);
    white-space: nowrap;
}

.header-phone svg {
    width: 16px;
    height: 16px;
    stroke: currentColor; /* Цвет иконки как у текста */
    transition: var(--transition);
}

/* Легкая анимация иконки при наведении */
.header-phone:hover svg {
    transform: scale(1.1) rotate(5deg);
}

.header-phone:hover {
    opacity: 0.7;
}

.footer-phone {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-right: 40px;
    transition: var(--transition);
    opacity: 0.7;
}
.footer-phone:hover {
    opacity: 1;
}

/* Адаптив для телефона в шапке */
@media (max-width: 1200px) {
    .header-phone { display: none; } /* Скрываем в шапке на планшетах, чтобы не теснить */
}

/* Мобильное меню */
.mobile-nav a.phone-link {
    font-size: 32px;
    color: var(--accent);
    margin-top: 20px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

/* =========================================
COOKIE BANNER
========================================= */
.cookie-banner {
    position: fixed;
    bottom: -100%; /* Скрыто по умолчанию */
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 20px 0;
    transition: var(--transition);
    pointer-events: none; /* Чтобы не мешал кликам, пока скрыт */
}

.cookie-banner.active {
    bottom: 0;
    pointer-events: all;
}

.cookie-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    background: rgba(253, 253, 253, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    padding: 24px 40px;
    border-radius: 100px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    max-width: 1300px;
    margin: 0 auto;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: var(--transition);
}

.cookie-text a:hover {
    color: var(--text-secondary);
}

.btn-cookie {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.btn-cookie:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    opacity: 0.9;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: -100%;
        padding: 15px 0;
    }
    
    .cookie-container {
        flex-direction: column;
        gap: 20px;
        border-radius: 24px; /* На мобильном лучше прямоугольник с скруглением */
        padding: 30px 24px;
        text-align: center;
        width: 90%;
        max-width: 90%;
    }

    .btn-cookie {
        width: 100%;
    }
}

/* =========================================
ОТЗЫВЫ КЛИЕНТОВ
========================================= */
.testimonials-section {
background: #f9f9f9;
padding: 100px 0;
}
.testimonials-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 40px;
}
.testimonial-card {
background: #fff;
border-radius: 20px;
padding: 40px;
border: 1px solid var(--border);
transition: var(--transition);
}
.testimonial-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(0,0,0,0.08);
border-color: rgba(0,0,0,0.1);
}
.testimonial-header {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 20px;
}
.testimonial-avatar {
width: 60px;
height: 60px;
border-radius: 50%;
overflow: hidden;
background: #e5e5e5;
flex-shrink: 0;
}
.testimonial-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
}
.testimonial-info h4 {
font-size: 18px;
font-weight: 700;
color: var(--text-main);
margin-bottom: 4px;
}
.testimonial-info span {
font-size: 14px;
color: var(--text-secondary);
}
.testimonial-rating {
display: flex;
gap: 4px;
margin-bottom: 20px;
}
.testimonial-text {
color: var(--text-secondary);
font-size: 16px;
line-height: 1.7;
font-style: italic;
}
.testimonial-text::before {
content: '"';
font-size: 48px;
color: var(--border);
line-height: 0;
display: block;
margin-bottom: 10px;
}
/* Адаптивность отзывов */
@media (max-width: 1024px) {
.testimonials-grid {
grid-template-columns: 1fr;
gap: 30px;
}
}
@media (max-width: 768px) {
.testimonial-card {
padding: 30px;
}
.testimonial-header {
flex-direction: column;
text-align: center;
}
.testimonial-text::before {
font-size: 36px;
}
}


/* =========================================
КАК МЫ РАБОТАЕМ (Horizontal Accordion)
========================================= */
.how-we-work-section {
    background: var(--bg);
    padding: 100px 0;
}

.how-we-work-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: start;
}

.how-we-work-header {
    position: sticky;
    top: 120px;
}

.how-we-work-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.how-we-work-sub {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.6;
}

.how-we-work-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accordion-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 2px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.accordion-item.active {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.accordion-item:not(.active):hover {
    border-color: var(--text-secondary);
    transform: translateX(10px);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 32px;
    gap: 24px;
}

.accordion-icon {
    font-size: 40px;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.05);
    border-radius: 12px;
    transition: var(--transition);
}

.accordion-item.active .accordion-icon {
    background: rgba(255,255,255,0.1);
    filter: brightness(0) invert(1);
}

.accordion-content {
    flex: 1;
}

.accordion-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    transition: var(--transition);
}

.accordion-item.active .accordion-number {
    color: rgba(255,255,255,0.7);
}

.accordion-title-main {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    transition: var(--transition);
}

.accordion-item.active .accordion-title-main {
    color: #fff;
}

.accordion-title-desc {
    font-size: 15px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.accordion-item.active .accordion-title-desc {
    color: rgba(255,255,255,0.8);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item.active .accordion-body {
    max-height: 300px;
}

.accordion-body-inner {
    padding: 0 32px 32px 116px;
}

.accordion-body h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.accordion-body p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .how-we-work-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .how-we-work-header {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .accordion-header {
        padding: 24px;
    }
    
    .accordion-body-inner {
        padding: 0 24px 24px 100px;
    }
    
    .accordion-title-main {
        font-size: 18px;
    }
    
    .accordion-icon {
        width: 50px;
        height: 50px;
        font-size: 32px;
    }
}

/* Базовое состояние скрытого блока */
.project-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0;
}

/* Состояние при клике (активный класс) */
.project-card.is-open .project-details {
    max-height: 500px; /* Достаточно для любого списка */
    opacity: 1;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

/* Стили списка */
.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.details-list li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
    position: relative;
    padding-left: 18px;
}

.details-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Подсказка внизу */
.details-hint {
    margin-top: 15px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--text-secondary);
    opacity: 0.6;
    transition: var(--transition);
}

.project-card.is-open .details-hint {
    opacity: 0;
    height: 0;
    margin: 0;
}

/* =========================================
СЛАЙДЕР ОТЗЫВОВ (новые стили, не конфликтуют)
========================================= */
.testimonials-slider-wrapper {
position: relative;
overflow: hidden;
padding: 0 60px;
}

.testimonials-slider-track {
display: flex;
transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
width: 100%;
}

.testimonials-slider-slide {
min-width: 50%; /* 2 карточки на десктопе */
padding: 0 20px;
box-sizing: border-box;
}

/* Навигация слайдера */
.testimonials-slider-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 50px;
height: 50px;
border-radius: 50%;
background: #fff;
border: 2px solid var(--border);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 10;
transition: var(--transition);
color: var(--text-main);
}

.testimonials-slider-btn:hover {
background: var(--accent);
color: #fff;
border-color: var(--accent);
}

.testimonials-slider-btn.prev { left: 0; }
.testimonials-slider-btn.next { right: 0; }

.testimonials-slider-btn svg {
width: 20px;
height: 20px;
stroke: currentColor;
}

/* Доты (индикаторы) */
.testimonials-slider-dots {
display: flex;
justify-content: center;
gap: 10px;
margin-top: 40px;
}

.testimonials-slider-dot {
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--border);
border: none;
cursor: pointer;
transition: var(--transition);
}

.testimonials-slider-dot.active {
background: var(--accent);
transform: scale(1.2);
}

/* АДАПТИВНОСТЬ СЛАЙДЕРА */
@media (max-width: 1024px) {
.testimonials-slider-slide {
    min-width: 100%; /* 1 карточка на планшете и мобильном */
}
.testimonials-slider-wrapper {
    padding: 0 40px;
}
}

@media (max-width: 768px) {
.testimonials-slider-wrapper {
    padding: 0 30px;
}
.testimonials-slider-btn {
    width: 40px;
    height: 40px;
}
.testimonials-slider-btn svg {
    width: 16px;
    height: 16px;
}
}


















/* АДАПТИВНОСТЬ */
@media (max-width: 768px) {
    .nav-desktop { display: none; }
    .burger { display: flex; }
    .hero { padding-top: 150px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-stats { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .projects-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .faq-question { font-size: 18px; padding: 24px 0; }
    .faq-answer p { font-size: 15px; }
    .contact-footer { flex-direction: column; gap: 20px; text-align: center; }
    .socials a { margin: 0 10px; }
    .notification-content { padding: 40px; margin: 20px; }
    .scroll-indicator { display: none; }
    .orb-1, .orb-2 { opacity: 0.4; }
}
