/* ==========================================================================
   Mobile overrides
   ========================================================================== */

/* ▼ Размер лого, хедера, иконки меню и шоурила — меняй только здесь */
:root {
    --mobile-logo-height: 52px;
    --mobile-header-height: 78px;
    --mobile-header-padding-x: 20px;
    --mobile-menu-btn-size: 44px;
    --mobile-menu-icon-width: 32px;
    --mobile-menu-icon-height: 25px;
    --mobile-menu-close-icon-size: 32px;
    --mobile-showreel-height: 237px;
    --mobile-nav-separator: rgba(31, 31, 31, 0.1);
}

@media (max-width: 768px) {

    html {
        scrollbar-gutter: stable;
    }

    header .logo .logo-image,
    header .logo-image,
    .mobile-menu .logo .logo-image,
    .mobile-menu .logo-image {
        height: var(--mobile-logo-height);
        width: auto;
        max-height: var(--mobile-logo-height);
    }

    .breadcrumbs {
        margin: 12px 0 14px;
    }

    .breadcrumbs-list li {
        font-size: 16px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }

    /* Скрываем кнопку "Оставить заявку" в хедере на мобильных */
    .request-section.desktop-nav {
        display: none;
    }

    header {
        position: relative;
        z-index: 1000;
    }

    .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: var(--mobile-header-height);
    }

    .logo-line1,
    .logo-line2 {
        font-size: 1.1rem;
    }

    .mobile-menu-toggle {
        margin-left: auto;
        align-self: center;
        margin-top: 0;
    }

    .service-page {
        padding: 27px 0 0px;
    }

    .service-page-header {
        margin-bottom: 60px;
    }

    .service-page-title {
        font-size: 2.5rem;
    }

    .service-page-subtitle {
        font-size: 1.125rem;
    }

    .service-page-content {
        display: flex;
        flex-direction: column;
        gap: 40px;
        margin-bottom: -67px;
    }

    .service-page-main {
        gap: 60px;
        order: 1;
    }

    .service-page-sidebar {
        order: 2;
        position: static;
        top: auto;
        gap: 24px;
        max-height: none;
        overflow-y: visible;
    }

    .service-page-section {
        gap: 32px;
    }

    .service-page-section-title {
        font-size: 1.75rem;
    }

    .service-feature {
        flex-direction: column;
        gap: 16px;
    }

    .service-feature-icon {
        width: 67px;
        height: 67px;
        min-width: 67px;
        border-radius: 25%;
    }

    .service-feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .service-feature-icon img {
        width: var(--service-feature-icon-size-mobile, var(--service-feature-icon-size, 42px));
        height: var(--service-feature-icon-size-mobile, var(--service-feature-icon-size, 42px));
    }

    .service-process-step {
        flex-direction: column;
        gap: 16px;
    }

    .service-process-number {
        font-size: 2.5rem;
        min-width: auto;
    }

    .service-stack-title {
        font-size: 2rem;
        margin-bottom: 28px;
    }

    .service-stack-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .service-stack--carousel .service-stack-track {
        gap: 12px;
    }

    .service-stack-header {
        margin-bottom: 28px;
    }

    .service-stack-nav .video-reviews-nav {
        display: flex;
        width: 44px;
        height: 44px;
    }

    .service-stack-nav .video-reviews-nav svg {
        width: 20px;
        height: 20px;
    }

    .service-stack-item {
        padding: 16px 10px 14px;
    }

    .service-stack-icon {
        width: 60px;
        height: 60px;
    }

    .service-stack-icon img {
        width: 34px;
        height: 34px;
    }

    .service-stack-label {
        font-size: 0.8125rem;
    }

    .service-page-dark-band {
        padding: 60px 0;

    }

    .service-page-dark-inner {
        gap: 40px;
    }

    .service-result {
        padding: 0;
    }

    .service-result-list,
    .service-page-dark-band .service-result-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-result-list li {
        padding: 16px 20px;
        font-size: 1rem;
        gap: 12px;
    }

    .service-page-cta {
        padding: 32px 24px;
    }

    .hero-section {
        padding: 40px 16px 0;
    }

    .hero-after-dark {
        padding: 0;
    }

    .hero-container {
        max-width: 100%;
        gap: 0;
    }

    .hero-top {
        gap: 17px;
    }

    .hero-copy {
        padding-top: 57px;
        align-items: flex-start;
        text-align: left;
    }

    .hero-lead {
        font-size: 1.0625rem;
        max-width: none;
    }

    .hero-title {
        font-size: 3rem;
        line-height: 1.1;
        margin-bottom: 0;
    }

    .hero-cta-btn {
        padding: 14px 22px;
        font-size: 1rem;
    }

    .hero-bottom {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .hero-left-text {
        font-size: 0.875rem;
        color: #666;
        line-height: 1.5;
    }

    .hero-right-text {
        font-size: 1rem;
        color: #222;
        line-height: 1.6;
        text-align: left;
    }

    .hero-after-dark .hero-left-text {
        color: rgba(255, 255, 255, 0.68);
    }

    .hero-after-dark .hero-right-text {
        color: rgba(255, 255, 255, 0.78);
    }

    .showreel-frame:not(:fullscreen):not(:-webkit-full-screen):not(.is-fullscreen) .showreel-bottom-controls,
    .video-review-frame:not(:fullscreen):not(:-webkit-full-screen):not(.is-fullscreen) .video-review-bottom-controls {
        opacity: 1;
        pointer-events: all;
    }

    .showreel-frame:not(:fullscreen):not(:-webkit-full-screen):not(.is-fullscreen)::after {
        opacity: 1;
    }

    .video-review-frame:not(:fullscreen):not(:-webkit-full-screen):not(.is-fullscreen)::after {
        opacity: 1;
    }

    .showreel-bottom-controls {
        left: 16px;
        right: 16px;
        gap: 8px;
    }

    .showreel-progress {
        margin-left: 4px;
    }

    .video-reviews-section {
        padding: 0;
    }

    .video-reviews-container {
        padding: 0 16px;
    }

    .video-reviews-title {
        font-size: 1.75rem;
    }

    .video-reviews-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .video-reviews-carousel {
        gap: 12px;
    }

    .video-reviews-nav {
        width: 40px;
        height: 40px;
    }

    .video-reviews-nav svg {
        width: 18px;
        height: 18px;
    }

    .video-review-frame {
        height: 400px;
    }

    .faq-section {
        padding: 60px 0;
    }

    .faq-title {
        font-size: 2rem;
    }

    .faq-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .faq-layout {
        display: flex;
        flex-direction: column;
        gap: 27px;
        margin-top: 37px;
    }

    .faq-questions-col {
        order: 1;
    }

    .faq-layout .faq-list {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .faq-request-card {
        order: 2;
        position: static;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 1rem;
        border-radius: 36px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 5px 18px;
    }

    .faq-answer p {
        font-size: 0.9375rem;
    }

    .video-review-item {
        flex-direction: column;
        gap: 24px;
        padding: 20px;
    }

    .video-review-frame {
        width: 100%;
    }

    .video-review-author {
        font-size: 1.25rem;
    }

    .video-review-company {
        font-size: 1rem;
    }

    .video-review-project,
    .video-review-result {
        font-size: 0.9375rem;
    }

    .brief-modal {
        padding: 16px;
        align-items: flex-end;
    }

    .brief-popup {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 16px;
        padding: 32px 20px 24px;
        margin-bottom: 0;
    }

    .brief-close {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
    }

    .brief-title {
        font-size: 1.75rem;
        margin-bottom: 17px;
    }

    .brief-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 24px;
    }

    .brief-contacts {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }

    .brief-budget {
        margin-bottom: 24px;
    }

    .budget-options {
        gap: 8px;
    }

    .budget-opt {
        padding: 21px 18px;
        font-size: 0.975rem;
    }

    .brief-project {
        margin-bottom: 24px;
    }

    .brief-textarea {
        min-height: 130px;
        font-size: 0.9375rem;
    }

    .brief-attach-btn {
        padding: 23px 23px;
        font-size: 0.975rem;
    }

    .brief-contacts-form {
        margin-bottom: 21px;
        flex-direction: column;
        align-items: stretch;
        gap: 19px;
    }

    .brief-inputs-grid {
        gap: 12px;
    }

    .brief-input {
        font-size: 1.075rem;
        font-weight: 400;
        padding: 12px 21px;
    }

    .brief-submit-btn {
        height: 79px;
        min-height: 79px;
        padding: 16px 28px;
        font-size: 1.0625rem;
        width: 100%;
    }

    .brief-consent {
        margin-top: 0;
    }

    .brief-consent-text {
        font-size: 0.925rem;
        line-height: 1.5;
    }

    .service-tags {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 8px;
    }

    .tags-line {
        display: contents;
    }

    .tag {
        font-size: 0.875rem;
        padding: 12px 14px;
        background: #f5f5f5;
        border-radius: 200px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        height: auto;
        align-self: flex-start;
    }

    /* Адаптация навигации в хедере */
    /* Навигация скрыта на мобильных - используется бургер-меню */

    .about-page {
        padding: 27px 0 40px;
    }

    .about-hero {
        margin-bottom: 48px;
    }

    .about-page-title {
        font-size: 2.5rem;
    }

    .about-page-subtitle {
        font-size: 1.125rem;
    }

    .about-section-title {
        font-size: 1.75rem;
        margin-bottom: 40px;
    }

    .about-history,
    .about-team,
    .about-reviews {
        margin-bottom: 60px;
    }

    .history-timeline {
        padding: 0 32px;
        margin: 0;
        gap: 40px;
    }

    .history-step {
        width: 100%;
        flex-direction: column;
        gap: 20px;
    }

    .history-step-left,
    .history-step-right {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
    }

    .history-step-number {
        left: 0;
        transform: translateX(-50%);
        width: 64px;
        height: 64px;
        font-size: 0.75rem;
    }

    .history-active-marker {
        left: 0;
        width: 64px;
        height: 64px;
        font-size: 0.75rem;
        transform: translate(-50%, -50%);
    }

    .history-step:hover .history-step-number {
        transform: translateX(-50%) scale(1.1);
    }

    .history-timeline::before,
    .history-progress-bar {
        left: 0;
        transform: translateX(0);
    }

    .history-step-year {
        font-size: 2.725rem;
    }

    .history-step-title {
        font-size: 1.5rem;
    }

    .history-step-description {
        font-size: 1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-member-photo {
        width: 160px;
        height: 160px;
    }

    .team-member-name {
        font-size: 1.25rem;
    }

    .review-card {
        padding: 24px;
    }

    .review-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .review-rating {
        align-self: flex-start;
    }

    .cases-page {
        padding: 27px 0 40px;
    }

    .cases-page-header {
        margin-bottom: 32px;
    }

    .cases-page-header .cases-reset-btn {
        margin-top: 3px;
    }

    .cases-page-title {
        font-size: 2.5rem;
    }

    .cases-toolbar {
        margin-bottom: 32px;
    }

    .cases-toolbar-top {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 0;
    }

    .cases-search {
        flex: none;
    }

    .cases-toolbar-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .cases-control {
        width: 100%;
    }

    .cases-dropdown {
        width: 100%;
        min-width: 0;
    }

    .cases-filters {
        gap: 8px;
        margin-bottom: 0;
    }

    .case-filter-btn {
        padding: 8px 16px;
        font-size: 0.875rem;
    }

    .filter-decorative-dot {
        width: 6px;
        height: 6px;
    }

    .services-page {
        padding-top: 53px;
        padding-bottom: 53px;
    }

    .services-hero {
        margin-top: 0;
        margin-bottom: 17px;
    }

    .services-hero-image-wrap {
        max-width: min(320px, 88%);
        margin: 0 auto;
    }

    .services-hero-image {
        transform: scale(0.96);
        transform-origin: center center;
    }

    .services-hero-title {
        font-size: 2.5rem;
    }

    .services-hero-subtitle {
        font-size: 1.05rem;
    }

    .services-bento {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: -57px;
        margin-bottom: 48px;
    }

    .services-card {
        min-height: 240px;
        padding: 28px;
    }

    .services-card-number {
        font-size: 4rem;
    }

    .services-process-track {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-process-track::before {
        display: none;
    }

    .services-process-step--active {
        grid-column: auto;
        padding: 28px 24px;
    }

    .services-process-step:not(.services-process-step--active) {
        padding: 20px 18px;
    }

    .services-process-step::after {
        display: none;
    }

    .services-cta {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .contacts-page {
        padding: 27px 0 0px;
    }

    .contacts-page-title {
        font-size: 2.5rem;
    }

    .contacts-page-subtitle {
        font-size: 1.125rem;
    }

    .contacts-hero {
        margin-bottom: 48px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-card {
        padding: 24px;
    }

    .contacts-cta {
        padding: 32px 0;
    }

    .contacts-cta-text {
        font-size: 1.25rem;
    }

    .contacts-content {
        gap: 48px;
    }

    .contacts-form-section {
        padding: 32px 0;
    }

    .contacts-form-wrapper {
        padding: 32px 24px;
    }

    .contacts-form-title {
        font-size: 1.25rem;
        margin-bottom: 24px;
    }

    .case-info {
        padding: 80px 0;
    }

    .case-info-container {
        padding: 0 16px;
    }

    .case-info-card {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .case-info-label {
        font-size: 1.375rem;
    }

    .case-info-text {
        font-size: 0.9375rem;
    }

    .case-timeline {
        padding: 80px 0;
    }

    .case-timeline-container {
        padding: 0 16px;
    }

    .case-timeline-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .case-timeline-total {
        margin-top: 32px;
    }

    .case-timeline-total-label {
        font-size: 0.9375rem;
    }

    .case-timeline-total-value {
        font-size: 1.0625rem;
    }

    .case-timeline-item {
        flex-direction: column;
        gap: 20px;
    }

    .case-timeline-number {
        width: auto;
        font-size: 2rem;
    }

    .case-timeline-step {
        font-size: 1.25rem;
    }

    .case-timeline-description {
        font-size: 1rem;
    }

    .case-design {
        padding: 80px 0;
    }

    .case-design:has(.case-design-disclaimer) {
        padding-bottom: 40px;
    }

    .case-design-container {
        padding: 0 16px;
    }

    .case-design-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .case-design-gallery {
        gap: 24px;
    }

    .case-results {
        padding: 80px 0;
    }

    .case-results-container {
        padding: 0 16px;
    }

    .case-results-title {
        font-size: 2rem;
    }

    .case-results-intro {
        font-size: 1.125rem;
        margin-bottom: 40px;
    }

    .case-results-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .case-result-card {
        padding: 32px 24px;
    }

    .case-result-value {
        font-size: 3rem;
    }

    .case-related {
        padding: 80px 0;
    }

    .case-related-container {
        padding: 0 16px;
    }

    .case-related-title {
        font-size: 2rem;
    }

    .case-related-header {
        margin-bottom: 40px;
    }

    .case-related-nav {
        gap: 12px;
    }

    .case-related-nav .video-reviews-nav {
        display: flex;
        width: 44px;
        height: 44px;
    }

    .case-related-nav .video-reviews-nav svg {
        width: 20px;
        height: 20px;
    }

    .case-related .cases-grid.case-related-cases {
        gap: 20px;
    }

    .case-related .case-related-cases .case-title {
        font-size: 1.5rem;
    }

    .case-related .case-related-cases .case-description {
        font-size: 0.9375rem;
    }

    .reviews-video-widget {
        right: 14px;
        bottom: 14px;
        width: 92px;
        height: 128px;
        border-radius: 18px;
    }

    .reviews-video-widget-controls {
        left: 6px;
        right: auto;
        bottom: 6px;
        width: auto;
    }

    .reviews-video-widget-controls .showreel-mute-btn {
        position: static;
        opacity: 0.75;
        transition: opacity 0.2s ease;
    }

    .reviews-video-widget-controls .showreel-mute-btn:hover {
        opacity: 1;
    }

    .reviews-video-widget-controls .showreel-mute-btn img {
        width: 13px;
        height: 13px;
    }

    .reviews-video-widget:hover {
        transform: scale(1.34);
    }

    .reviews-video-widget-close {
        top: 5px;
        right: 5px;
        width: 18px;
        height: 14px;
    }

    .reviews-video-widget-close-bar {
        width: 10px;
        height: 2px;
    }

    .reviews-fullscreen-modal .showreel-bottom-controls {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .video-review-frame:fullscreen .video-review-bottom-controls,
    .video-review-frame:-webkit-full-screen .video-review-bottom-controls,
    .video-review-frame.is-fullscreen .video-review-bottom-controls {
        bottom: 16px;
        left: 16px;
        right: 16px;
    }

    .reviews-fullscreen-modal .video-review-fullscreen-prev,
    .reviews-fullscreen-modal .reviews-fullscreen-prev {
        left: 4px;
        right: auto;
    }

    .reviews-fullscreen-modal .video-review-fullscreen-next,
    .reviews-fullscreen-modal .reviews-fullscreen-next {
        right: 4px;
        left: auto;
    }

    .video-review-fullscreen-prev,
    .reviews-fullscreen-prev {
        left: 4px;
        right: auto;
    }

    .video-review-fullscreen-next,
    .reviews-fullscreen-next {
        right: 4px;
        left: auto;
    }

    html,
    body {
        overflow-x: clip;
        overflow-y: visible;
    }

    .container,
    .hero-container,
    .clients-container,

    .cases-container,
    .video-reviews-container,
    .faq-container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .footer-container {
        padding: 27px var(--mobile-header-padding-x);
        box-sizing: border-box;
    }

    .contacts-page-container {

        padding: 0 16px 37px 16px;
    }

    .service-container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
        padding: 0px 0px 0px 0px;
    }

    header .container {
        min-height: var(--mobile-header-height);
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: var(--mobile-header-padding-x);
        padding-right: var(--mobile-header-padding-x);
    }

    .desktop-nav,
    header .hero-cta-btn {
        display: none !important;
    }

    header .logo {
        margin-right: auto;
    }

    .mobile-menu {
        padding: 0 var(--mobile-header-padding-x) 34px;
        box-sizing: border-box;
        font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        scrollbar-gutter: stable;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .mobile-menu::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: var(--mobile-header-height);
        min-height: var(--mobile-header-height);
        margin-bottom: 22px;
        padding: 10px 0;
        border-bottom: none;
        box-sizing: border-box;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        width: var(--mobile-menu-btn-size);
        height: var(--mobile-menu-btn-size);
        min-width: var(--mobile-menu-btn-size);
        padding: 0;
        margin: 0;
        border: none;
        border-radius: 0;
        background-color: transparent;
        background-image: url("/icons/menu%20open.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: var(--mobile-menu-icon-width) var(--mobile-menu-icon-height);
        box-sizing: border-box;
    }

    .mobile-menu-toggle span {
        display: none;
    }

    .mobile-menu-close {
        width: var(--mobile-menu-btn-size);
        height: var(--mobile-menu-btn-size);
        min-width: var(--mobile-menu-btn-size);
        padding: 0;
        border: none;
        border-radius: 0;
        background-color: transparent;
        background-image: url("/icons/menu%20close.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: var(--mobile-menu-close-icon-size);
        box-sizing: border-box;
    }

    .mobile-menu-close svg {
        display: none;
    }

    .mobile-nav {
        margin-bottom: 0;
    }


    .mobile-nav li {
        border-bottom: 1px solid var(--mobile-nav-separator);
    }

    .mobile-nav li:last-child {
        border-bottom: none;
    }

    .mobile-services-item .mobile-nav-arrow {
        display: block;
        width: 12px;
        height: 12px;
        flex-shrink: 0;
        color: #1F1F1F;
        transition: transform 0.2s ease;
    }

    .mobile-services-item.is-open .mobile-nav-arrow {
        transform: rotate(180deg);
        color: #D32F2F;
    }

    .mobile-services-item:not(.is-open) .mobile-services-toggle {
        color: #2b2e34;
    }

    .mobile-services-item:not(.is-open) .mobile-nav-arrow {
        color: #1F1F1F;
        transform: none;
    }

    .mobile-services-item {
        position: relative;
        z-index: 1;
        overflow: visible;
        overflow-anchor: none;
    }

    .mobile-services-item.is-open {
        z-index: 5;
    }

    .mobile-services-toggle {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        min-height: 86px;
        padding-right: 0;
        flex-shrink: 0;
        background: #fff;
    }

    .mobile-services-label {
        flex: 0 0 auto;
    }

    .mobile-nav-arrow-wrap {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 12px;
        margin-left: 12px;
    }

    .mobile-services-item.is-open .mobile-services-toggle {
        color: #D32F2F;
    }

    .mobile-nav-submenu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 10;
        background: #fff;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        overflow: hidden;
        overflow-anchor: none;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .mobile-services-item.is-open .mobile-nav-submenu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-menu-contacts {
        margin: 36px 0 0;
        padding-top: 0;
        border-top: none;
        gap: 27px;
    }

    .mobile-phone {
        font-size: 26px;
        line-height: 1;
        font-weight: 700;
        color: #2b2e34;
        letter-spacing: -0.025em;
        font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    }

    .mobile-email {
        font-size: 20px;
        line-height: 1.2;
        font-weight: 400;
        color: #2b2e34;
        opacity: 0.95;
        font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    }



    .mobile-menu-request {
        margin-top: 36px;
        padding-top: 0;
        border-top: none;
    }

    .mobile-request-btn {
        width: auto;
        min-width: 320px;
        max-width: 100%;
        min-height: 56px;
        height: auto;
        padding: 14px 12px;
        border-radius: 200px;
        font-size: 15px;
        font-weight: 600;
        line-height: inherit;
        letter-spacing: normal;
        font-family: inherit;
    }

    .hero-section {
        padding: 8px 0 0;
    }

    body:has(.hero-spline-wrap) .hero-section {
        margin-top: 0;
        padding-top: 8px;
    }

    body:has(.hero-spline-wrap) .page-spline-stage {
        margin-top: 0;
        padding-top: 8px;
    }

    .hero-top {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        min-height: auto;
        padding-top: 35px;
    }

    .hero-spline-wrap {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%) scale(1.12);
        transform-origin: center center;
        width: 100vw;
        max-width: 100vw;
        height: 100%;
        z-index: 0;
        pointer-events: none;
        opacity: var(--hero-spline-opacity);
    }

    .hero-spline {
        width: 100%;
        height: 100%;
        min-height: 100%;
        background: transparent;
    }

    .hero-copy {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 100%;
        gap: 0;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10.2vw, 4rem);
        line-height: 1.04;
        margin: 0 0 22px;
        text-wrap: pretty;
    }

    .hero-lead {
        font-size: 0.95rem;
        line-height: 1.45;
        margin: 0 0 23px;
        width: 100%;
        max-width: 100%;
    }

    .hero-copy .hero-cta-actions,
    .case-hero-content .hero-cta-actions {
        width: 100%;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 12px;
    }

    .hero-copy .hero-cta-btn,
    .services-hero-copy .hero-cta-btn,
    .case-hero-content .hero-cta-actions .hero-cta-btn {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        min-height: 55px;
        padding: 14px 16px;
        justify-content: center;
        border-radius: 999px;
        font-size: 1.05rem;
        font-weight: 600;
    }

    .hero-image-wrap {
        order: 2;
        position: static;
        grid-column: auto;
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        z-index: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 32px;
        margin-bottom: 0;
        padding-left: 0;
        transform: none;
        pointer-events: auto;
        line-height: 0;
    }

    .hero-image-wrap picture {
        display: block;
        line-height: 0;
    }

    .hero-image {
        width: auto;
        max-width: min(340px, 88vw);
        height: auto;
        max-height: none;
        margin: 0 auto;
        display: block;
        object-fit: contain;
        object-position: center center;
    }

    .clients-section {
        margin-top: 0;
    }

    .client-logo {
        width: 80px;
        min-width: 80px;
        height: 40px;
    }

    .showreel-dark-wrap {
        padding: 0;
        margin-top: 0;
        margin-bottom: 0;
    }

    .dark-band {
        margin-bottom: 0;
    }

    .showreel-frame {
        margin: 0 auto;
        border-radius: 0;
        overflow: hidden;
        width: 100%;
        max-width: none;
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: 16 / 9;
    }

    #services {
        padding-top: 48px;
        padding-bottom: 24px;
        margin: 0;
        background: #fff;
    }

    .r-section-title {
        font-size: clamp(1.7rem, 8vw, 2.2rem);
        line-height: 1.1;
        margin-bottom: 37px;
    }

    .cases-section-title {
        font-size: clamp(1.7rem, 8vw, 2.2rem);
        line-height: 1.1;
        margin-bottom: 0;
    }

    .r2-section-title {
        font-size: clamp(1.7rem, 8vw, 2.2rem);
        line-height: 1.1;
        margin-bottom: 6px;
    }

    .service-block {
        padding: 0px 0;
    }

    .service-container {
        display: grid;
        grid-template-columns: 72px 1fr;
        gap: 16px;
        align-items: start;
    }

    .service-number {
        font-size: 3.25rem;
        width: 72px;
        max-width: 72px;
        padding-top: 0;
        color: #f0f0f0;
        opacity: 1;
    }

    .service-content {
        padding-top: 0;
        padding-left: 0;
        padding-right: 0;
        gap: 14px;
    }

    .service-header {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .service-title {
        font-size: 1.35rem;
        line-height: 1.2;
        margin: 0;
    }

    .service-nav-btn {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }

    .service-description p {
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .service-tags {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 8px;
    }

    .tags-line {
        display: contents;
    }

    .tag {
        font-size: 0.78rem;
        padding: 12px 13px;
        height: auto;
        align-self: flex-start;
    }

    .cases-section {
        padding: 72px 0;
    }

    .dark-band .cases-section {
        padding: 88px 0 72px;
    }

    .dark-band .cases-section-title {
        margin-bottom: 16px;
    }

    .cases-container,
    .cases-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 20px;
    }

    .case-card {
        border-radius: 16px;
        overflow: hidden;
    }

    .case-visual {
        height: 220px;
    }

    .case-content {
        padding: 18px 16px 20px;
        gap: 12px;
    }

    .case-title {
        font-size: 1.3rem;
        line-height: 1.15;
    }

    .case-description {
        font-size: 0.94rem;
        line-height: 1.55;
    }

    .case-tags {
        gap: 6px;
    }

    .case-tag {
        font-size: 0.74rem;
        padding: 6px 10px;
    }

    .video-reviews-section {
        padding: 72px 0;
    }

    .video-reviews-subtitle {
        font-size: 0.98rem;
        margin-bottom: 20px;
    }

    .video-reviews-carousel {
        gap: 10px;
    }

    .video-reviews-nav {
        display: none;
    }

    .video-review-item {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .video-review-frame {
        width: 100%;
        min-height: 240px;
        border-radius: 16px;
        overflow: hidden;
    }

    .video-review-info {
        width: 100%;
    }

    .video-review-author {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .video-review-content p {
        font-size: 0.8rem;
        line-height: 1.55;
    }

    .faq-section {
        padding: 67px 0;
    }

    .faq-subtitle {
        font-size: 0.98rem;
        margin-bottom: 20px;
    }

    .faq-item {
        border-radius: 14px;
        overflow: hidden;
    }

    .faq-question {
        padding: 16px 14px;
        font-size: 1rem;
        line-height: 1.4;
        gap: 10px;
    }

    .faq-answer p {
        font-size: 0.94rem;
        line-height: 1.6;
        padding: 0 14px 16px;
    }

    .brief-popup,
    .thank-you-popup {
        width: calc(100vw - 24px);
        max-height: calc(100dvh - 24px);
        border-radius: 23px;
        padding: 42px 23px 17px 23px;
    }

    .brief-title,
    .thank-you-title {
        font-size: 29px;
        line-height: 1.2;
        margin-bottom: 13px;
    }

    .brief-subtitle,
    .thank-you-text {
        font-size: 17px;
        line-height: 1.4;
    }

    .brief-inputs-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .brief-input,
    .brief-textarea {
        width: 100%;
        min-height: 76px;
        font-size: 1.075rem;
        font-weight: 400;
        padding: 16px 21px;
    }

    .brief-label {
        font-size: 16px;
        padding-bottom: 7px;
    }

    .brief-submit-btn,
    .thank-you-btn {
        width: 100%;
        min-height: 76px;
        height: 76px;
    }

    footer {
        padding: 0px;
        border-top: none;
    }

    .faq-section {
        background: #000000;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .footer-left {
        display: contents;
    }

    .footer-left .logo,
    .footer-left .contact-info,
    .footer-left .badges,
    .footer-left .legal-links {
        width: 100%;
    }

    .footer-left .logo {
        order: 1;
    }

    .footer-left .contact-info {
        order: 2;
    }

    .footer-left .badges {
        order: 3;
    }

    .footer-right {
        order: 4;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
        width: 100%;
    }

    .about-text {
        text-align: left;
        margin: 0;
    }

    .about-btn {
        width: 52px;
        height: 52px;
    }

    .social-icons {
        order: 5;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
        position: static;
    }

    .social-icon {
        width: 64px;
        height: 64px;
    }

    .legal-links {
        order: 6;
        display: flex;
        flex-wrap: wrap;
        gap: 8px 20px;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .copyright,
    .legal-links a {
        font-size: 0.95rem;
        line-height: 1.25;
    }

    .fl-widget {
        width: 100%;
        max-width: 100%;
    }

    .video-reviews-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .video-reviews-head .badges {
        width: 100%;
        margin-left: 0;
    }

    .video-reviews-section {
        padding: 0px 0;
        overflow: hidden;
    }

    .video-reviews-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .video-reviews-subtitle {
        margin: 0 0 18px;
        padding: 0 16px 0;
    }

    .video-review-item {
        background: #f5f5f5;
        border-radius: 24px;
        padding: 21px;
        gap: 21px;
        align-items: stretch;
    }

    .video-review-frame {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 5;
        border-radius: 16px;
        overflow: hidden;
    }

    .video-review-info {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 10px;
        padding: 2px 2px 6px;
    }

    .video-review-author {
        font-size: 1.3rem;
        line-height: 1.25;
    }

    .team-member-role {
        font-size: 0.95rem;
        margin: 0;
    }

    .video-review-content {
        gap: 12px;
        width: 100%;
        max-width: 100%;
    }

    .video-review-project,
    .video-review-result,
    .video-review-content p {
        width: 100%;
        max-width: 100%;
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.55;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .video-review-content .video-review-result:last-child {
        display: none;
    }

    :root {
        --mobile-figma-bg: #ffffff;
        --mobile-figma-text: #222;
        --mobile-figma-subtext: #666;
        --mobile-figma-separator: var(--mobile-nav-separator);
    }

    header,
    .hero-section,
    .mobile-menu {
        background: var(--mobile-figma-bg);
    }

    header .container {
        min-height: var(--mobile-header-height);
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: var(--mobile-header-padding-x);
        padding-right: var(--mobile-header-padding-x);
        gap: 12px;
    }

    .mobile-menu {
        padding: 0 var(--mobile-header-padding-x) 28px;
    }

    .mobile-menu-header {
        height: var(--mobile-header-height);
        min-height: var(--mobile-header-height);
        margin-bottom: 28px;
        padding: 10px 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .hero-section {
        padding: 0;
        margin-bottom: 0;
        border-bottom: none;
        box-shadow: none;
        min-height: auto;
        overflow: visible;
    }

    .hero-after-dark {
        margin-top: -24px;
        margin-bottom: 0;
        border-top: none;
        box-shadow: none;
    }

    .hero-after-dark>.hero-container:empty {
        display: none;
    }

    .hero-after-dark::before {
        display: none;
    }

    .hero-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-top {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        grid-template-columns: none;
        min-height: auto;
        height: auto;
        overflow: visible;
        padding-top: 25px;
        gap: 0;
    }

    .hero-copy {
        order: 1;
        width: 100%;
        max-width: 100%;
        padding-top: 0;
    }

    .hero-title {
        font-size: 50px;
        line-height: 1.16;
        color: var(--mobile-figma-text);
        margin: 0 0 46px;
        padding: 0 0 0 0;
    }

    .hero-lead {
        width: 100%;
        max-width: 100%;
        font-size: 16px;
        line-height: 1.6;
        color: var(--mobile-figma-subtext);
        margin: 0 0 27px;
    }

    .hero-copy .hero-cta-actions,
    .case-hero-content .hero-cta-actions {
        width: 100%;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 12px;
    }

    .hero-copy .hero-cta-btn,
    .services-hero-copy .hero-cta-btn,
    .case-hero-content .hero-cta-actions .hero-cta-btn {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        height: auto;
        min-height: 56px;
        padding: 14px 12px;
        border-radius: 200px;
        font-size: 15px;
        font-weight: 600;
    }

    .hero-spline-wrap {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%) scale(1.1);
        transform-origin: center center;
        width: 100vw;
        max-width: 100vw;
        height: 100%;
        z-index: 0;
        opacity: var(--hero-spline-opacity);
    }

    .hero-image-wrap {
        order: 2;
        position: static;
        grid-column: auto;
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 32px;
        margin-bottom: 0;
        padding: 0;
        transform: none;
        align-self: center;
        justify-self: center;
        z-index: 2;
        line-height: 0;
    }

    .hero-image-wrap picture {
        display: block;
        line-height: 0;
    }

    .hero-image {
        display: block;
        width: auto;
        max-width: min(360px, 100%);
        height: auto;
        max-height: none;
        margin: 0 auto;
        object-fit: contain;
        object-position: center center;
    }

    .clients-section {
        margin-top: 0;
    }

    .clients-section--on-dark {
        padding: 24px 0 24px;
    }

    .mobile-nav ul {
        gap: 0;
    }

    .mobile-nav li {
        border-bottom: 1px solid var(--mobile-figma-separator);
    }

    .mobile-nav-link {
        min-height: 86px;
        padding: 0;
        font-size: 22px;
        font-weight: 500;
        line-height: 1.05;
        letter-spacing: -0.02em;
        color: #2b2e34;
        font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    }

    .mobile-nav-sublink {
        font-size: 17px;
        font-weight: 500;
        line-height: 1.7;
        padding: 8px 0 8px 11px;
        font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .mobile-services-item .mobile-nav-arrow {
        display: block;
        width: 12px;
        height: 12px;
        flex-shrink: 0;
        color: #1F1F1F;
        transition: transform 0.2s ease;
    }

    .mobile-services-item.is-open .mobile-nav-arrow {
        transform: rotate(180deg);
        color: #D32F2F;
    }

    .mobile-services-item:not(.is-open) .mobile-services-toggle {
        color: #2b2e34;
    }

    .mobile-services-item:not(.is-open) .mobile-nav-arrow {
        color: #1F1F1F;
        transform: none;
    }

    .mobile-services-item {
        position: relative;
        z-index: 1;
        overflow: visible;
        overflow-anchor: none;
    }

    .mobile-services-item.is-open {
        z-index: 5;
    }

    .mobile-services-toggle {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        min-height: 86px;
        padding-right: 0;
        flex-shrink: 0;
        background: #fff;
    }

    .mobile-services-label {
        flex: 0 0 auto;
    }

    .mobile-nav-arrow-wrap {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 12px;
        margin-left: 12px;
    }

    .mobile-services-item.is-open .mobile-services-toggle {
        color: #D32F2F;
    }

    .mobile-nav-submenu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 10;
        background: #fff;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        overflow: hidden;
        overflow-anchor: none;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .mobile-services-item.is-open .mobile-nav-submenu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-menu-contacts {
        margin: 57px 0 0;
        gap: 17px;
    }

    .mobile-phone {
        font-size: 26px;
        line-height: 1;
        font-weight: 700;
        color: #2b2e34;
        letter-spacing: -0.025em;
        font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    }

    .mobile-email {
        font-size: 20px;
        line-height: 1.2;
        font-weight: 400;
        color: #2b2e34;
        font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    }

    .mobile-menu-social {
        margin-top: 24px;
    }

    .mobile-menu-social .social-icons {
        display: flex;
        width: auto;
        gap: 6px;
        justify-content: flex-start;
        position: static;
    }

    .mobile-menu-social .social-icon {
        width: 47px;
        height: 47px;
        border-radius: 50%;
        border: none;
        background-color: #f3eeee;
    }

    .mobile-menu-social .social-icon:hover {
        background-color: #D12D31;
        fill: #fff;
    }

    .mobile-menu-social .social-icon svg {
        width: 22px;
        height: 22px;
        fill: #1f1f1f;
    }

    .mobile-menu-social .social-icon svg path,
    .mobile-menu-social .social-icon svg rect {
        fill: #1f1f1f;
        stroke: none;
    }

    .mobile-menu-social .social-icon img {
        width: 22px;
        height: 22px;
        object-fit: contain;
        filter: brightness(0) invert(12%);
    }

    .mobile-menu-social .social-icon:hover img {
        filter: brightness(0) invert(100%);
    }

    .mobile-menu-request {
        margin-top: 30px;
    }

    .mobile-request-btn {
        width: auto;
        min-width: 191px;
        max-width: 100%;
        min-height: 56px;
        height: auto;
        padding: 14px 12px;
        border-radius: 200px;
        font-size: 15px;
        font-weight: 600;
        line-height: inherit;
        letter-spacing: normal;
        font-family: inherit;
    }

    .footer-main-row {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 27px;
        padding-top: 0px;
    }

    .footer-contact-col,
    .footer-main-row>.footer-nav-col:nth-child(2),
    .footer-main-row>.footer-nav-col:nth-child(3),
    .footer-main-row>.footer-nav-col:nth-child(4),
    .footer-main-row>.footer-nav-col:nth-child(5) {
        grid-column: auto;
        margin-left: 0;
    }

    .footer-main-row>.footer-nav-col.footer-docs-col {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .footer-bottom-row .legal-links {
        display: none;
    }

    .footer-layout-new .copyright {
        font-size: 15px;
        color: rgba(255, 255, 255, 0.82);
    }

    .footer-contact-col {
        padding-right: 0;
        border-right: none;
        gap: 19px;
        padding: 0px 0px 0px 0px;
        margin-top: 15px;
        margin-bottom: 27px;
    }

    .footer-contact-col::after {
        display: none;
    }

    .footer-layout-new .phone {
        font-size: 28px;
    }

    .footer-layout-new .email {
        font-size: 16px;
    }

    .footer-contact-text {
        margin-top: 7px;
        font-size: 19px;
        line-height: 1.4;
    }

    .footer-nav-col {
        gap: 9px;
    }

    .footer-nav-title {
        font-size: 23px;
    }

    .footer-nav-col a {
        font-size: 18px;
        line-height: 1.6;
    }

    .footer-contact-icon {
        width: 17px;
        height: 17px;
    }

    .footer-layout-new .footer-social {
        display: flex;
        width: auto;
        gap: 14px;
        position: static;
    }

    .footer-bottom-row {
        padding-top: 17px;
        flex-direction: column;
        align-items: flex-start;
        gap: 13px;
    }

    .footer-layout-new .legal-links {
        gap: 13px;
        flex-wrap: wrap;
        font-size: 13px;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1200;
        background: #fff;
    }

    body:has(.hero-spline-wrap) header {
        background: transparent;
    }

    body {
        padding-top: var(--mobile-header-height);
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-number {
        font-size: 3rem;
    }

    .clients-section {
        padding: 32px 0;
    }

    .clients-track {
        gap: 37px;
    }

    .client-logo img {
        max-width: 92px;
        max-height: 48px;
    }

    .client-logo {
        height: 58px;
        padding: 12px 14px;
        border-radius: 8px;
    }

    .showreel-dark-wrap {
        padding: 0;
        margin-top: 0;
        margin-bottom: 0;
    }

    .dark-band {
        margin-bottom: 0;
    }

    .dark-band .cases-section {
        padding-top: 64px;
    }

    .dark-band .cases-section-title {
        margin-bottom: 16px;
    }

    .showreel-frame {
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: 16 / 9;
        border-radius: 0;
    }

    .decorative-word {
        font-size: 2rem;
    }

    .video-review-frame {
        height: 400px;
    }

    .video-reviews-dots {
        margin-top: 32px;
    }

    .cases-section-title {
        font-size: 2rem;
    }

    .cases-section {
        margin-top: 0;
    }

    .case-visual {
        height: 280px;
    }

    .case-title {
        font-size: 1.5rem;
    }

    .case-description {
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {

    :root {
        --mobile-header-padding-x: 16px;
    }

    /* Хедер - компактный */
    .container {
        padding: 0 var(--mobile-header-padding-x);
        height: var(--mobile-header-height);
        justify-content: space-between;
    }

    .logo-line1,
    .logo-line2 {
        font-size: 1.125rem;
    }

    nav ul {
        gap: 12px;
    }

    nav ul li {
        flex: 0 0 calc(50% - 8px);
    }

    nav ul li a {
        font-size: 0.875rem;
    }


    .hero-after-dark {
        padding: 0;
        margin-top: -24px;
    }

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

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 0;
    }

    .hero-copy {
        gap: 32px;
    }

    .hero-lead {
        font-size: 0.9375rem;
    }

    .hero-cta-actions {
        width: 100%;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 10px;
    }

    .hero-cta-actions .hero-cta-btn {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        padding: 14px 12px;
        font-size: 0.9375rem;
    }

    .hero-bottom {
        gap: 20px;
    }

    .hero-left-text {
        font-size: 0.8125rem;
        color: #666;
    }

    .hero-right-text {
        font-size: 0.9375rem;
        color: #222;
    }

    .hero-after-dark .hero-left-text {
        color: rgba(255, 255, 255, 0.65);
    }

    .hero-after-dark .hero-right-text {
        color: rgba(255, 255, 255, 0.75);
    }

    /* Сервис блоки */
    .service-block {
        padding: 16px;
    }

    .service-container {
        gap: 24px;
        grid-template-columns: 76px 1fr;
        margin-top: 23px;
        margin-bottom: 23px;
    }

    .service-number {
        font-size: 4rem;
        width: 76px;
        max-width: 76px;
        padding-top: 0;
    }

    .service-title {
        font-size: 1.5rem;
    }

    .service-description p {
        font-size: 17px;
    }

    /* Шоурил */
    .showreel-dark-wrap {
        padding: 0;
        margin-top: 0;
        margin-bottom: 0;
    }

    .dark-band {
        margin-bottom: 0;
    }

    .dark-band .cases-section {
        padding-top: 56px;
    }

    .dark-band .cases-section-title {
        margin-bottom: 16px;
    }

    .showreel-frame {
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: 16 / 9;
        margin-left: auto;
        margin-right: auto;
        border-radius: 0;
    }

    .cases-container,
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Теги услуги — без растягивания по высоте */
    .service-tags {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        grid-template-columns: none;
    }

    /* Социальные иконки в футере - 4 колонки */
    .social-icons {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 13px;
        width: 100%;
        position: static;
    }

    .mobile-menu-social .social-icons {
        display: flex;
        grid-template-columns: none;
        width: auto;
        gap: 14px;
        justify-content: flex-start;
    }

    .footer-layout-new .footer-social {
        display: flex;
        grid-template-columns: none;
        width: auto;
        gap: 14px;
        justify-content: flex-start;
    }

    /* Футер */
    .footer-container {
        padding: 40px var(--mobile-header-padding-x);
    }

    .request-btn,
    .about-btn {
        width: 48px;
        height: 48px;
    }

    .request-btn svg,
    .about-btn svg {
        color: #fff;
        width: 20px;
        height: 20px;
    }

    .about-page-title {
        font-size: 2rem;
    }

    .about-section-title {
        font-size: 1.5rem;
    }

    .history-timeline {
        padding: 0 24px;
        margin: 0;
    }

    .history-step-number {
        left: 0;
        transform: translateX(-50%);
        width: 28px;
        height: 28px;
    }

    .history-active-marker {
        left: 0;
        width: 32px;
        height: 32px;
        transform: translate(-30%, -30%);
    }

    .history-step:hover .history-step-number {
        transform: translateX(-50%) scale(1.1);
    }

    .history-timeline::before,
    .history-progress-bar {
        left: 0;
        transform: translateX(0);
    }

    .cases-page-title {
        font-size: 2rem;
    }

    .cases-filters {
        gap: 6px;
    }

    .case-filter-btn {
        padding: 6px 12px;
        font-size: 0.8125rem;
    }

    .contacts-page-title {
        font-size: 2rem;
    }

    .contacts-page-subtitle {
        font-size: 1rem;
    }

    .contacts-form-section {
        padding: 24px 0;
    }

    .contacts-form-wrapper {
        padding: 24px 16px;
    }

    .contacts-form-title {
        font-size: 1.125rem;
        margin-bottom: 20px;
    }

    .contacts-form-wrapper .brief-title {
        font-size: 1.5rem;
    }

    .contacts-form-wrapper .brief-subtitle {
        font-size: 0.9375rem;
    }

    .case-hero {
        padding: 60px 0;
    }

    .case-hero-container {
        padding: 0 16px;
    }

    .case-hero-title {
        font-size: 2.5rem;
    }

    .case-hero-description {
        font-size: 1.125rem;
    }

    .case-hero-link {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .case-hero-image {
        height: 300px;
    }

    .case-task {
        padding: 60px 0;
    }

    .case-task-container {
        padding: 0 16px;
    }

    .case-task-title {
        font-size: 1.75rem;
        margin-bottom: 24px;
    }

    .case-task-text {
        font-size: 1rem;
    }

    .mobile-menu {
        padding-bottom: 26px;
    }

    .mobile-menu-header {
        height: var(--mobile-header-height);
        min-height: var(--mobile-header-height);
        padding: 10px 0;
    }

    .mobile-nav-link {
        min-height: 76px;
        font-size: 20px;
        font-weight: 500;
        letter-spacing: -0.02em;
    }

    .mobile-phone {
        font-size: 24px;
        font-weight: 700;
    }

    .mobile-email {
        font-size: 18px;
        font-weight: 400;
    }

    .mobile-request-btn {
        min-width: 0;
        width: 100%;
        min-height: 76px;
        padding: 12px 10px;
        font-size: 1.15rem;
        font-weight: 600;
    }

    .hero-top {
        display: flex;
        flex-direction: column;
        min-height: auto;
        padding-top: 0;
        gap: 0;
    }

    .hero-copy {
        order: 1;
        width: 100%;
        max-width: 100%;
        padding-top: 0;
    }

    .hero-title {
        font-size: clamp(2.2rem, 12.2vw, 3rem);
        margin-bottom: 14px;
        margin-top: 57px;
    }

    .hero-lead {
        font-size: 1.1rem;
        line-height: 1.42;
        margin-bottom: 15px;
        width: 100%;
        max-width: 100%;
    }

    .hero-copy .hero-cta-actions,
    .case-hero-content .hero-cta-actions {
        width: 100%;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 10px;
    }

    .hero-copy .hero-cta-btn,
    .services-hero-copy .hero-cta-btn,
    .case-hero-content .hero-cta-actions .hero-cta-btn {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        min-height: 49px;
        padding: 12px 10px;
        font-size: 0.98rem;
    }

    .hero-image-wrap {
        order: 2;
        position: static;
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 28px;
        margin-bottom: 0;
        padding: 0;
        transform: none;
        z-index: 2;
        line-height: 0;
    }

    .hero-image-wrap picture {
        display: block;
        line-height: 0;
    }

    .hero-image {
        display: block;
        width: auto;
        max-width: min(340px, 100%);
        height: auto;
        max-height: none;
        margin: 0 auto;
        object-fit: contain;
        object-position: center center;
    }

    .service-title {
        font-size: 23px;
        line-height: 1.3;
    }

    .case-visual,
    .video-review-frame {
        min-height: 210px;
        height: 330px;
    }

    .brief-budget .budget-options {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
    }

    .budget-opt {
        width: 100%;
        justify-content: center;
    }

    .hero-title {
        font-size: 50px;
    }

    .mobile-nav-link {
        min-height: 76px;
        color: #333;
        text-decoration: none;
        font-size: 1.25rem;
        font-weight: 500;
        transition: color 0.2s;
        display: flex;
        align-items: center;
        gap: 6px;
        padding-left: 3px;

    }

    .mobile-phone {
        font-size: 25px;
        font-weight: 700;
    }

    .mobile-email {
        font-size: 19px;
        font-weight: 400;
    }
}