/* Базовые переменные и сброс стилей */
:root {
    --bg-light: #f5f5f5;
    --bg-dark: #111111;
    --accent-red: #cc292b;
    --text-dark: #111;
    --text-light: #fff;
    --tape-color: rgba(226, 219, 185, 0.9);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Навигация --- */
.navbar {
    background-color: var(--bg-dark);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 5px solid #000;
}

/* Ограничиваем меню по ширине основного контента */
.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
}

.logo strong {
    font-size: 1.5rem;
    color: var(--text-light);
}

.logo span {
    color: var(--accent-red);
    font-style: italic;
    font-size: 0.9rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent-red);
}

/* Стили для бургера (скрыт на ПК) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    transition: 0.3s;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    border: 3px solid #000;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0px #000;
    position: relative;
}

.btn-red {
    background-color: var(--accent-red);
    color: var(--text-light);
    border-color: var(--text-light);
    box-shadow: 4px 4px 0px rgba(255,255,255,0.3);
}

.btn-red:hover {
    background-color: var(--text-light);
    color: var(--accent-red);
}

.btn-transparent {
    background-color: transparent;
    color: #111;
    border-color: var(--text-light);
    box-shadow: 4px 4px 0px #000;
}

.btn-transparent:hover {
    background-color: var(--text-light);
    color: var(--accent-red);
}

/* --- Главный экран --- */
.hero {
    padding: 6rem 2rem;
    background-color: var(--bg-light);
    border-bottom: 10px solid var(--bg-dark);
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.photo-wrapper {
    position: relative;
    background: #fff;
    padding: 15px;
    border: 3px solid #000;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.8);
    transform: rotate(-2deg);
}

.photo-placeholder {
    width: 250px;
    height: 300px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: bold;
    border: 1px solid #999;
}

/* Стилизация скотча (Tape effects) */
.tape-corner::before, .tape-left::before, .tape-right::before, .tape-top::before, .tape-bottom::before, .tape-top-center::before, .tape-corner-alt::before {
    content: '';
    position: absolute;
    background: var(--tape-color);
    box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    z-index: 10;
}

.tape-corner::before {
    width: 100px; height: 25px;
    top: -10px; left: -20px;
    transform: rotate(-45deg);
}

.tape-corner-alt::before {
    width: 100px; height: 25px;
    top: -10px; right: -20px;
    transform: rotate(45deg);
}

.tape-top-center::before {
    width: 80px; height: 25px;
    top: -12px; left: 50%;
    transform: translateX(-50%) rotate(-5deg);
}

.tape-left::before {
    width: 70px; height: 25px;
    top: -10px; left: 10px;
    transform: rotate(-10deg);
}

.tape-right::before {
    width: 80px; height: 25px;
    bottom: -10px; right: 20px;
    transform: rotate(15deg);
}

.hero-text {
    max-width: 500px;
}

.hero-text h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-text h2 {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 2rem;
}

.badges {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.badge {
    position: relative;
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 0.8rem 1.5rem;
    font-weight: bold;
    border: 3px solid #000;
    box-shadow: 4px 4px 0px var(--accent-red);
    width: fit-content;
}

/* --- Секция "Обо мне" (Красный фон) --- */
.about {
    background-color: var(--accent-red);
    color: var(--text-light);
    padding: 5rem 2rem;
    border-bottom: 10px solid var(--bg-dark);
    position: relative;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
}

.about-card {
    position: relative;
    flex: 1;
    background-color: rgba(0,0,0,0.1);
    padding: 2rem;
    border: 3px solid var(--text-light);
}

.about-card h2 {
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.about-bullets {
    position: relative;
    flex: 1;
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 2rem;
    border: 3px solid #000;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.4);
    transform: rotate(1deg);
}

.about-bullets ul {
    list-style: none;
    margin-bottom: 2rem;
}

.about-bullets li {
    margin-bottom: 1rem;
    font-weight: bold;
    padding-left: 1.5rem;
    position: relative;
}

.about-bullets li::before {
    content: "■";
    color: var(--accent-red);
    position: absolute;
    left: 0;
}

/* --- Секция "Услуги" --- */
.services {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 900;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    background-color: #fff;
    padding: 2.5rem 2rem;
    border: 3px solid #000;
    box-shadow: 6px 6px 0px #000;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.service-card ul {
    list-style-position: inside;
    margin-bottom: 2rem;
}

.stamp {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: var(--accent-red);
    border: 2px solid var(--accent-red);
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 5px;
    transform: rotate(-15deg);
    opacity: 0.8;
}

/* --- Секция "Этапы работы" (Красный фон) --- */
.workflow {
    background-color: var(--accent-red);
    padding: 5rem 2rem;
    border-top: 10px solid var(--bg-dark);
}

.workflow-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.workflow-card {
    position: relative;
    background-color: #fff;
    color: var(--text-dark);
    padding: 2.5rem;
    border: 3px solid #000;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.5);
}

.workflow-card h2 {
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #ccc;
    padding-bottom: 0.5rem;
}

.workflow-card ul {
    list-style: none;
}

.workflow-card li {
    margin-bottom: 1rem;
}

/* --- Подвал --- */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info a {
    color: var(--text-light);
    text-decoration: underline;
    text-decoration-color: var(--accent-red);
}

.footer-logo {
    font-size: 1.2rem;
    color: #888;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s;
}

.social-icon:hover {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    /* Выстраиваем элементы в одну строку */
    .nav-container {
        padding: 1rem;
        flex-direction: row; /* Оставляем в строку */
    }

    /* Показываем бургер */
    .hamburger {
        display: flex;
    }

    /* Скрываем ссылки и делаем выпадающее меню */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 0;
        gap: 1.5rem;
        border-bottom: 3px solid #000;
        display: none; /* Скрыто по умолчанию */
        box-shadow: 0px 10px 10px rgba(0,0,0,0.5);
    }

    /* Класс для отображения меню при клике */
    .nav-links.active {
        display: flex;
    }

    /* Уменьшаем шрифты логотипа, чтобы всё влезло */
    .logo strong {
        font-size: 1.2rem;
    }
    .logo span {
        font-size: 0.75rem;
    }

    /* Уменьшаем кнопку для мобилки */
    .nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    /* Исправление для остальных секций (если нужно) */
    .hero-container, .about-container, .workflow-container {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Новые секции и утилиты --- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.text-center {
    text-align: center;
}

.section-light {
    background-color: var(--bg-light);
    padding: 5rem 2rem;
}

.section-dark {
    background-color: var(--bg-dark);
    padding: 5rem 2rem;
}

.section-red {
    background-color: var(--accent-red);
    color: var(--text-light);
    padding: 6rem 2rem;
    border-top: 10px solid var(--bg-dark);
    border-bottom: 10px solid var(--bg-dark);
}

.highlight-box {
    background: #fff;
    padding: 1.5rem;
    border: 3px solid #000;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.5);
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* --- Что я делаю --- */
.intro-text {
    background: #fff;
    padding: 2rem;
    border: 3px solid #000;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    box-shadow: 6px 6px 0px rgba(0,0,0,0.1);
}

.task-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    list-style: none;
}

.task-grid li {
    background: #fff;
    padding: 1.5rem;
    border: 3px solid #000;
    box-shadow: 4px 4px 0px var(--accent-red);
    position: relative;
    padding-left: 3rem;
}

.task-grid li::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    color: var(--accent-red);
    font-weight: bold;
    font-size: 1.2rem;
}

/* --- Аккордеон услуг --- */
.accordion-wrapper {
    background: #fff;
    padding: 2rem;
    border: 3px solid #000;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.3);
}

.accordion-item {
    border-bottom: 2px solid #eee;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-header:hover .acc-title {
    color: var(--accent-red);
}

.acc-title {
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.acc-title span {
    color: #999;
    font-size: 1rem;
    font-weight: normal;
}

.acc-btn {
    background: var(--bg-dark);
    color: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.accordion-header.active .acc-btn {
    background: var(--accent-red);
}

.accordion-content {
    display: none;
    padding: 0 0 2rem 2.5rem;
}

.accordion-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.accordion-content li {
    margin-bottom: 0.5rem;
}

.acc-note {
    background: var(--bg-light);
    padding: 1rem;
    border-left: 4px solid var(--accent-red);
    margin-top: 1rem;
    color: #555;
}

/* --- Почему мне доверяют --- */
.trust-content {
    background: #fff;
    color: var(--text-dark);
    padding: 3rem;
    border: 3px solid var(--text-light);
    box-shadow: 8px 8px 0px var(--accent-red);
}

.trust-content h3 {
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.trust-content ul {
    list-style: none;
}

.trust-content li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    font-weight: bold;
}

.trust-content li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: var(--accent-red);
}

/* --- Этапы работы (Обновленная сетка 6 блоков) --- */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.workflow .step-card {
    background: #fff;
    padding: 2rem;
    border: 3px solid #000;
    box-shadow: 6px 6px 0px rgba(0,0,0,0.3);
}

/* --- С кем я работаю & Форматы --- */
.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.who-card, .formats-card {
    background: #fff;
    padding: 3rem;
    border: 3px solid #000;
    box-shadow: 8px 8px 0px #000;
}

.who-card h2, .formats-card h2 {
    margin-bottom: 2rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--accent-red);
    padding-bottom: 1rem;
}

.who-card ul {
    list-style: square inside;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.who-card li {
    margin-bottom: 0.8rem;
}

.format-item {
    margin-bottom: 2rem;
}

.format-item h4 {
    font-size: 1.2rem;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

/* --- Мобильная адаптивность для новых блоков --- */
@media (max-width: 768px) {
    .two-cols {
        grid-template-columns: 1fr;
    }
    
    .acc-title {
        font-size: 1.1rem;
    }
    
    .accordion-content {
        padding-left: 0;
    }
    
    .trust-content {
        padding: 1.5rem;
    }
}

/* --- BRUTAL BLOCKS (Эффект карточек) --- */
.brutal-block {
    background-color: #fff;
    border: 4px solid #111;
    box-shadow: 8px 8px 0px #111;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.brutal-block:hover {
    transform: translate(-4px, -4px) !important; /* Приподнимаем */
    box-shadow: 12px 12px 0px var(--accent-red); /* Красная тень */
}

/* Углы поворота для хаоса */
.rotate-pos-1 { transform: rotate(1deg); }
.rotate-neg-1 { transform: rotate(-1deg); }
.rotate-pos-2 { transform: rotate(2deg); }
.rotate-neg-2 { transform: rotate(-2deg); }
.rotate-pos-3 { transform: rotate(3deg); }
.rotate-neg-3 { transform: rotate(-3deg); }

/* Реалистичный скотч */
.css-tape {
    position: absolute;
    width: 90px;
    height: 30px;
    background-color: rgba(235, 228, 195, 0.85);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    z-index: 10;
    /* Делаем края слегка рваными */
    clip-path: polygon(2% 0, 98% 2%, 100% 98%, 0 100%);
}
.tape-top-center { top: -15px; left: 50%; transform: translateX(-50%) rotate(-4deg); }
.tape-top-left { top: -15px; left: -20px; transform: rotate(-45deg); }

/* --- СЕКЦИЯ "ЧТО Я ДЕЛАЮ" --- */
.intro-box {
    padding: 2.5rem;
    font-size: 1.3rem;
    margin-bottom: 4rem;
    text-align: center;
}

.brutal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.task-card {
    padding: 1.5rem 1.5rem 1.5rem 3.5rem;
    font-weight: bold;
    font-size: 1.1rem;
}

.red-check {
    position: absolute;
    left: 1rem;
    top: 1.2rem;
    color: var(--accent-red);
    font-size: 1.5rem;
    font-weight: 900;
}

/* --- СЕКЦИЯ "УСЛУГИ" (НОВЫЙ АККОРДЕОН) --- */
.brutal-accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Карточки разделены! */
}

.brutal-acc-item {
    overflow: hidden; /* Чтобы контент не вылезал за рамки */
}

.acc-header {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: #fff;
    transition: background 0.3s, color 0.3s;
}

.acc-header:hover {
    background: var(--accent-red);
    color: #fff;
}

.acc-num {
    font-size: 3rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px #111; /* Контурные цифры */
    margin-right: 1.5rem;
    line-height: 1;
    transition: all 0.3s;
}

.acc-header:hover .acc-num {
    -webkit-text-stroke: 2px #fff;
    color: #fff; /* Заливаем цифру при наведении */
}

.acc-text {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    flex-grow: 1;
}

.acc-icon {
    width: 45px;
    height: 45px;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    border: 3px solid #111;
    transition: all 0.4s ease;
}

.acc-header:hover .acc-icon {
    background: #fff;
    color: var(--accent-red);
    border-color: #fff;
}

/* Состояние ОТКРЫТОГО аккордеона */
.acc-header.active {
    background: #111;
    color: #fff;
}
.acc-header.active .acc-num {
    -webkit-text-stroke: 2px #fff;
}
.acc-header.active .acc-icon {
    transform: rotate(135deg); /* Плюсик крутится и становится крестиком (Х) */
    background: var(--accent-red);
    border-color: var(--accent-red);
}

.acc-content {
    background: #f9f9f9;
    padding: 0 2rem 2rem 2rem;
    display: none;
    border-top: 4px solid #111;
}

.acc-content strong {
    display: block;
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: var(--accent-red);
}

.acc-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style: square;
}

.acc-content li {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.acc-note {
    background: #fff;
    padding: 1rem;
    border: 2px solid #111;
    box-shadow: 4px 4px 0px #ccc;
    margin-top: 1.5rem;
    font-style: italic;
    font-weight: bold;
}

/* Адаптив для телефонов */
@media (max-width: 768px) {
    .acc-header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .acc-icon {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    .acc-text {
        font-size: 1.2rem;
    }
}

/* --- ПОРТФОЛИО (Полароидные снимки) --- */
.portfolio {
    border-top: 10px solid var(--bg-dark);
    /* Добавим легкий фон в клеточку, как тетрадный лист или доска */
    background-image: radial-gradient(#ccc 1px, transparent 1px);
    background-size: 20px 20px;
    background-color: var(--bg-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding-top: 2rem;
}

.portfolio-card {
    background: #fff;
    padding: 1rem 1rem 2rem 1rem; /* Формат полароида: внизу отступ больше */
    border: 4px solid #111;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.8);
    position: relative;
    /* Упругая анимация для ВАУ-эффекта */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.portfolio-card:hover {
    transform: scale(1.08) rotate(0deg) !important; /* Карточка выравнивается и увеличивается */
    box-shadow: 15px 15px 0px var(--accent-red);
    z-index: 50; /* Выходит на передний план */
}

/* Заглушка для картинки со стильным паттерном */
.img-placeholder {
    width: 100%;
    height: 220px;
    background: #e0e0e0;
    border: 3px solid #111;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ретро-штриховка поверх заглушки */
.img-placeholder::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        rgba(0,0,0,0.05) 5px,
        rgba(0,0,0,0.05) 10px
    );
    pointer-events: none;
}

.img-text {
    font-weight: 900;
    color: #666;
    text-transform: uppercase;
    z-index: 2;
    background: rgba(255,255,255,0.8);
    padding: 0.5rem 1rem;
    border: 2px solid #111;
    transform: rotate(-3deg);
}

.port-content h3 {
    font-size: 1.3rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-red);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Печать, которая бьет по карточке при наведении */
.port-stamp {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: var(--accent-red);
    border: 4px solid var(--accent-red);
    padding: 2px 10px;
    font-weight: 900;
    font-size: 1.8rem;
    text-transform: uppercase;
    transform: rotate(-15deg) scale(2);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none; /* Чтобы не мешала кликать */
}

/* Появление печати */
.portfolio-card:hover .port-stamp {
    opacity: 1;
    transform: rotate(-15deg) scale(1);
}

/* Дополнительные стили для "брутальности" */

/* Траст */
.trust-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}
.trust-main {
    max-width: 800px;
    padding: 3rem;
    font-size: 1.4rem;
    text-align: center;
}
.trust-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    width: 100%;
}
.trust-mini {
    padding: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.red-dot { color: var(--accent-red); font-size: 1.5rem; }

/* Этапы работы V2 */
.workflow-brutal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}
.step-card-v2 {
    padding: 2rem;
    min-height: 200px;
}
.step-num-big {
    font-size: 4rem;
    font-weight: 900;
    line-height: 0.8;
    margin-bottom: 1rem;
    color: transparent;
    -webkit-text-stroke: 2px var(--accent-red);
    opacity: 0.5;
}

/* С кем работаю & Форматы V2 */
.brutal-overlap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.who-card-v2, .formats-card-v2 {
    padding: 3rem;
}
.marker-list {
    list-style: none;
}
.marker-list li {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    padding-bottom: 5px;
    border-bottom: 2px dashed #ccc;
}
.format-sticker {
    background: #f0f0f0;
    padding: 1rem;
    border: 2px solid #111;
    margin-bottom: 1rem;
    transform: skewX(-5deg);
}
.format-sticker strong {
    color: var(--accent-red);
    text-transform: uppercase;
}

/* --- CTA V2 (Брутальный финал) --- */
.cta-v2 {
    padding: 4rem 2rem;
    background-color: var(--bg-light); /* Светлый фон вокруг красного блока */
}

.cta-brutal-box {
    background-color: var(--accent-red);
    color: #fff;
    padding: 4rem 2rem;
    border: 5px solid #111;
    box-shadow: 15px 15px 0px #111;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}

.cta-title {
    font-size: 3.5rem;
    text-transform: uppercase;
    line-height: 1.2; /* Увеличили с 0.9, чтобы строки не слипались */
    font-weight: 900;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Фиксированный зазор между строками */
}

.cta-title span {
    color: #111;
    background: #fff;
    padding: 5px 15px; /* Добавили полей внутри белой плашки */
    transform: rotate(1deg); /* Легкий наклон самой плашки для живости */
    display: inline-block;
}

.cta-descr {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 1rem auto 3rem; /* Добавили отступ сверху */
    font-weight: bold;
    line-height: 1.4;
}

.cta-action {
    position: relative;
    display: inline-block;
}

/* Декоративная стрелка */
.cta-arrow-dec {
    position: absolute;
    left: -60px;
    top: -20px;
    font-size: 4rem;
    color: #fff;
    transform: rotate(-15deg);
    font-family: serif;
}

/* Белая брутальная кнопка */
.btn-white-brutal {
    background-color: #fff;
    color: #111 !important;
    font-size: 1.5rem;
    padding: 1.2rem 3rem;
    border: 4px solid #111;
    box-shadow: 8px 8px 0px #111;
    transition: all 0.2s ease;
}

.btn-white-brutal:hover {
    transform: translate(-3px, -3px);
    box-shadow: 12px 12px 0px #111;
    background-color: #f0f0f0;
}

/* Дополнительные элементы */
.tape-bottom-right {
    bottom: -15px;
    right: 20px;
    transform: rotate(-5deg);
    width: 100px;
}

.cta-stamp {
    opacity: 0.2; /* Полупрозрачная печать на фоне */
    font-size: 5rem;
    right: -20px;
    bottom: 20px;
    transform: rotate(-20deg);
}

/* Адаптивность для мобилок */
@media (max-width: 768px) {
    .cta-title { font-size: 2.2rem; }
    .cta-arrow-dec { display: none; }
    .cta-brutal-box { padding: 3rem 1rem; }
    .btn-white-brutal { font-size: 1.1rem; padding: 1rem 2rem; }
}

/* Основные шрифты и центрирование (для примера) */
body { font-family: 'Inter', sans-serif; }

/* Стиль кнопки вызова */
.open-popup-btn {
    padding: 15px 30px;
    background: #fff;
    border: 3px solid #000;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 4px 4px 0px #000;
    transition: 0.2s;
}

/* Оверлей (фон при открытии) */
.popup-overlay {
    display: none; /* Скрыт по умолчанию */
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Сама карточка в стиле изображения */
.popup-card {
    background: #D32F2F; /* Красный как на картинке */
    padding: 40px 30px;
    max-width: 500px;
    width: 100%;
    position: relative;
    border: 2px solid #000;
    box-shadow: 10px 10px 0px #000; /* Эффект смещения */
    color: #fff;
    text-align: center;
}

.popup-title {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.popup-subtitle {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Поля ввода */
.popup-form input, .popup-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #000;
    font-family: inherit;
    font-size: 16px;
    box-sizing: border-box;
}

/* Кнопка в форме */
.submit-btn {
    width: 100%;
    padding: 15px;
    background: #fff;
    color: #000;
    border: 2px solid #000;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 4px 4px 0px #000;
    transition: 0.2s;
}

.submit-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000;
}

.popup-footer {
    margin-top: 20px;
    font-size: 13px;
    font-style: italic;
    opacity: 0.8;
}

/* Кнопка закрытия */
.close-btn {
    position: absolute;
    top: 10px; right: 10px;
    background: none; border: none;
    color: #fff; font-size: 30px;
    cursor: pointer;
}

/* Адаптив для телефона */
@media (max-width: 480px) {
    .popup-card {
        padding: 30px 20px;
        box-shadow: 6px 6px 0px #000;
    }
    .popup-title { font-size: 22px; }
}
/* Стиль картинок внутри карточек */
.port-img {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
    border: 1px solid #eee; /* Тонкая рамка как у фото */
    transition: 0.3s;
}

.port-img:hover {
    filter: brightness(0.9);
}

/* Окно на весь экран (Lightbox) */
.full-view {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.full-view img {
    max-width: 95%;
    max-height: 95%;
    border: 5px solid #fff;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    /* 1. Сетка превращается в одну колонку */
    .brutal-overlap-grid {
        display: flex;
        flex-direction: column;
        gap: 40px; /* Расстояние между карточками */
        padding: 40px 20px; /* Отступы по бокам, чтобы не липло к краям */
        overflow: hidden; /* Защита от вылетания наклонов за экран */
    }

    /* 2. Сбрасываем сильные наклоны, чтобы текст не "плыл" */
    .who-card-v2, .formats-card-v2 {
        transform: rotate(0deg) !important; /* Убираем наклон для удобства чтения */
        width: 100% !important;
        margin: 0 !important;
        box-shadow: 6px 6px 0px #000 !important; /* Чуть уменьшаем тень */
    }

    /* Добавляем легкий наклон только если очень хочется "стиля" */
    .rotate-neg-2 { transform: rotate(-1deg) !important; }
    .rotate-pos-2 { transform: rotate(1deg) !important; }

    /* 3. Оформление заголовков внутри карточек */
    .brutal-block h2 {
        font-size: 24px !important;
        margin-bottom: 20px;
    }

    /* 4. Список "С кем я работаю" */
    .marker-list {
        padding-left: 0;
        list-style: none;
    }
    
    .marker-list li {
        font-size: 16px;
        margin-bottom: 12px;
        padding-left: 25px;
        position: relative;
    }

    /* 5. Плашки-стикеры в "Форматах" */
    .format-sticker {
        background: #f0f0f0;
        border: 2px solid #000;
        padding: 15px;
        margin-bottom: 15px;
        box-shadow: 3px 3px 0px #000;
    }

    .format-sticker strong {
        display: block;
        font-size: 18px;
        color: #D32F2F; /* Твой акцентный красный */
        text-transform: uppercase;
        margin-bottom: 5px;
    }

    .format-sticker p {
        margin: 0;
        font-size: 14px;
        line-height: 1.4;
    }
}

/* Стили для контейнера карусели */
.portfolio-swiper {
    width: 100%;
    /* Добавляем внутренние отступы, чтобы повернутые карточки не обрезались краями слайдера */
    padding: 60px 15px 80px 15px !important; 
    overflow: hidden;
}

/* 2. Заставляем карточку слушаться ширины слайда */
.portfolio-card {
    width: 100%; /* Карточка занимает 100% ширины своего слайда */
    max-width: 380px; /* НО не больше своей естественной ширины (подставьте свое значение, если оно другое) */
    margin-left: auto !important; /* Центрируем */
    margin-right: auto !important; /* Центрируем */
    box-sizing: border-box;
}

/* 3. Центрируем контент внутри самого слайда Swiper */
.portfolio-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center; /* Выравниваем по центру по вертикали */
    height: auto; 
    box-sizing: border-box;
}

/* Цвет точек пагинации и стрелок под ваш дизайн (можно изменить) */
.portfolio-swiper .swiper-pagination-bullet-active {
    background-color: #E22B38; /* Красный цвет как у вас на кнопках/печатях */
}
.portfolio-swiper .swiper-button-next,
.portfolio-swiper .swiper-button-prev {
    color: #E22B38;
}

/* На мобильных можно скрыть стрелки и оставить только свайп/точки */
@media (max-width: 768px) {
    .portfolio-swiper .swiper-button-next,
    .portfolio-swiper .swiper-button-prev {
        display: none;
    }
}

#portfolio .container {
    max-width: 1400px; /* Увеличиваем ширину контейнера, чтобы влезло 4-5 карточек */
    /* или max-width: 90%; чтобы зависело от экрана */
}