

/* Start:/local/templates/main/css/style.css?1769427962124484*/
/* --- Global Styles & Variables --- */
:root {
    --font-family-base: 'Inter', sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --color-text-light: #FFFFFF;
    --color-text-dark: #1a1a1a;
    --color-dark-overlay: rgba(0, 0, 0, 0.25);
    --color-sticky-nav-bg: rgba(25, 25, 25, 0.9);

    --transition-base: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

/* --- Basic Reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family-base);
    background-color: var(--color-text-light);
    color: var(--color-text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    color: inherit;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

/* --- General Container --- */
.container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    /* Default padding for mobile-first approach, overridden by media queries */
    padding-left: 16px;
    padding-right: 16px;
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 16px);
    /* Ensures 8px gap on left and right */
    z-index: 1000;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out;
    padding: 0;
    border-radius: 20px;
}

.header--sticky {
    background-color: var(--color-sticky-nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1440px;
    /* Content within header is still constrained on <1440px screens */
    margin: 0 auto;
    /* Center the nav content on <1440px screens */
    padding: 16px 32px;
}

@media (min-width: 1440px) {
    .header__nav {
        max-width: none;
        /* Allow content to go to edges */
        margin: 0;
        /* Remove auto margin */
        /* padding: 16px 32px; */
        /* This padding will act as space from edge */
    }
}

.nav__list {
    display: flex;
    align-items: center;
}

.nav__list--left {
    gap: 20px;
}

.nav__list--right {
    gap: 16px;
}

.nav__link {
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    line-height: 1;
    color: var(--color-text-light);
    transition: var(--transition-base);
}

.nav__link:hover,
.nav__link:focus {
    opacity: 0.8;
}

.nav__logo {
    line-height: 0;
}

.nav__logo svg {
    width: auto;
    height: auto;
    /* fit content */
}

/* Initially hide tablet/mobile specific elements */
.tablet-mobile-only-nav {
    display: none;
    /* Hide mobile menu toggle on desktop */
}

.tablet-mobile-only-icon {
    display: none;
}


.mobile-menu-toggle__icon {
    width: 32px;
    height: 32px;
}

/* Ensure desktop icon is hidden by default on smaller screens if not already handled */
.desktop-only-icon {
    /* display: inline-block; by default for desktop */
}

/* --- Hero Section --- */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 100vh;
    width: 100%;
    /* Padding adjusted to match requirements, considering it's full bleed */
    padding: 120px 56px 56px 56px;
    /* Desktop padding, will be adjusted for smaller screens if needed */
    color: var(--color-text-light);
    overflow: hidden;
    margin-bottom: 96px;
    z-index: 1;
    /* Establish a stacking context for hero */
}

/* Swiper Hero Slider */
.hero-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-swiper .swiper-slide {
    width: 100% !important;
    S height: 100%;
}

.hero__slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__slide-bg--image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__slide-bg--video {
    overflow: hidden;
}

.hero__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark-overlay);
    z-index: 0;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Custom pagination - Fix for hover and active states */
.hero-pagination {
    position: absolute !important;
    left: auto !important;
    right: 56px !important;
    bottom: 80px !important;
    top: auto !important;
    transform: none !important;
    width: auto !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    z-index: 1000 !important;
    /* Increased z-index significantly */
    height: 8px !important;
    align-items: center !important;
    text-align: right !important;
}

/* Base bullet style with 75% opacity */
.hero-pagination .swiper-pagination-bullet {
    width: 56px !important;
    height: 8px !important;
    border-radius: 4px !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    /* Override Swiper's default opacity handling */
    margin: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    pointer-events: auto !important;
}

/* Hover state with 85% opacity */
.hero-pagination .swiper-pagination-bullet:hover {
    background-color: rgba(255, 255, 255, 0.75) !important;
}

/* Active bullet - base starts at 50% opacity */
.hero-pagination .swiper-pagination-bullet-active {
    background-color: rgba(255, 255, 255, 0.5) !important;
    /* Changed from 0.9 to 0.5 */
}

/* Active bullet on hover - keep base at 50% opacity */
.hero-pagination .swiper-pagination-bullet-active:hover {
    background-color: rgba(255, 255, 255, 0.5) !important;
    /* Keep same as active state, no hover change on base */
}

/* Progress animation for active bullet */
.hero-pagination .swiper-pagination-bullet-active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: #FFFFFF;
    z-index: 1;
    pointer-events: none;
    /* Allow clicks to pass through */
}

/* Animation class */
.hero-pagination .swiper-pagination-bullet-active.animate-progress::after {
    animation: progressAnimation var(--progress-duration) linear forwards;
    /* animation: progressAnimation 5s linear forwards; */
}

@keyframes progressAnimation {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* Media queries */
@media (max-width: 1024px) {
    .hero-pagination {
        right: 40px !important;
        bottom: 70px !important;
    }
}

@media (max-width: 767px) {
    .hero-pagination {
        right: 24px !important;
        bottom: 130px !important;
    }

    .hero-pagination .swiper-pagination-bullet {
        width: 42px !important;
        height: 6px !important;
    }
}

@media (max-width: 480px) {
    .hero-pagination {
        right: 16px !important;
        bottom: 130px !important;
    }

    .hero-pagination .swiper-pagination-bullet {
        width: 32px !important;
        height: 4px !important;
    }
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero__title {
    font-size: 56px;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: 24px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    margin-bottom: 48px;
}

.hero__actions {
    display: flex;
    gap: 24px;
}

/* --- Buttons --- */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    line-height: 1;
    border-radius: 9999px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-base);
    white-space: nowrap;
    border: 2px solid transparent;
    box-sizing: border-box;
    min-height: 56px;
}

/* Header specific button styles */
.header .button {
    padding: 12px 24px;
    border-width: 1.5px;
    min-height: 48px;
}

.button--primary {
    background-color: var(--color-text-light);
    color: var(--color-text-dark);
    border-color: var(--color-text-light);
}

.button--primary:hover,
.button--primary:focus {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
    color: var(--color-text-dark);
}

.button--secondary {
    background-color: transparent;
    color: var(--color-text-light);
    border-color: var(--color-text-light);
}

.button--secondary:hover,
.button--secondary:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
    border-color: var(--color-text-light);
}

.button__icon {
    fill: currentColor;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.button__text {
    /* Optional specific styles */
}

/* --- Responsive Font Scaling (> 1440px) --- */
@media (min-width: 1440px) {
    .hero__title {
        font-size: clamp(3.5rem, 2.5rem + 1.3889vw, 4.5rem);
    }

    .hero__subtitle {
        font-size: clamp(1.5rem, 1rem + 0.6944vw, 2rem);
    }

    /* Ensure hero padding is consistent for large screens */
    .hero {
        padding-left: 56px;
        padding-right: 56px;
    }

    /* Ensure header nav padding is consistent for large screens if it was different */
    .header__nav {
        /* padding-left: 32px; */
        /* Already set */
        /* padding-right: 32px; */
        /* Already set */
    }
}

/* --- Стили для секции "Студия Webformula" --- */
.studio {
    background-color: #FFFFFF;
    margin-bottom: 96px;
}

.studio__container {}

.studio__title {
    font-family: var(--font-family-base);
    font-size: 64px;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: #0E202F;
    margin-bottom: 64px;
}

.studio__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.studio__card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.studio__card--text-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 44px 48px 40px 48px;
    background-color: #EAEBE6;
    aspect-ratio: auto;
    /* Adjusted for tablet/mobile */
}

.studio__card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 32px;
}

.studio__card-icon path {
    fill: #081207;
}

.studio__card-text {
    font-family: 'Inter', sans-serif;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.2;
    color: #081207;
    max-width: 480px;
}

.studio__card--image {}

.studio__card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.studio__card--image:hover .studio__card-image {
    transform: scale(1.1);
}

@media (max-width: 1439px) {
    .studio__card-text {
        font-size: 36px;
    }

    .studio__title {
        /* This will be overridden by a more specific rule below for tablets */
        font-size: 42px;
    }
}

/* --- Стили для секции "Наши достижения" --- */
.achievements {
    background-color: #FFFFFF;
    margin-bottom: 96px;
}

.achievements__title {
    font-family: var(--font-family-base);
    font-size: 64px;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: #0E202F;
    margin-bottom: 64px;
}

.achievements__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.achievements__card {
    background-color: #F9D549;
    border-radius: 28px;
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    color: #272001;
    aspect-ratio: 3/4;
}

.achievements__card-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    margin-bottom: 16px;
}

.achievements__card-title {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-medium);
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: auto;
}

.achievements__card-number {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-bold);
    font-size: 84px;
    line-height: 1;
    margin-bottom: 4px;
}

.achievements__card-description {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-bold);
    font-size: 14px;
    line-height: 1.45;
    color: #272001;
}

@media (max-width: 1280px) {
    .achievements__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .achievements__title {
        font-size: 42px;
    }
}

@media (max-width: 600px) {
    .achievements__grid {
        grid-template-columns: 1fr;
    }

    .achievements__card {
        margin-bottom: 8px;
    }
}

/* --- Стили для секции CTA --- */
.cta {
    margin-top: 64px;
    margin-bottom: 96px;
    /*padding-left: 56px;
    padding-right: 56px;*/
}

.cta__container {
    text-align: center;
    /* Центрируем текст и блочные элементы */
    overflow: hidden;
    /* Обрезаем для скругления и маски тикера */
    transition: filter 0.3s ease;
    /* Плавность для ховера */
    padding-top: 64px;
    padding-bottom: 64px;
    background-color: #DDEFDA;
    border-radius: 32px;
}

@media (max-width: 1440px) {
    .cta {
        padding-left: 56px;
        padding-right: 56px;
    }

    .cta>.container {
        padding: 0;
    }
}

.cta__container:hover {
    filter: brightness(0.97);
    /* Ховер-эффект на контейнере */
}

.cta__title {
    font-size: 56px;
    font-weight: var(--font-weight-bold);
    color: #081207;
    line-height: 1.2;
    margin-bottom: 32px;
    /* Убрали margin-top, т.к. padding теперь на .cta__container */
}

.cta__text {
    font-size: 21px;
    /* В вашем CSS был 600, но у нас подключен 500 и 700. Используем 500 */
    font-weight: var(--font-weight-medium);
    line-height: 1.35;
    color: #081207;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    /* Убрали margin-top, т.к. используется margin-bottom у .cta__title */
}

.cta__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 96px;
    /* Убрали margin-top, т.к. используется margin-bottom у .cta__text */
}

.cta__button {
    line-height: 1.45;
}

.cta__button--primary {
    background-color: #081207;
    color: #DDEFDA;
    border-color: #081207;
    transition: 0.3s ease
}

.cta__button--primary:hover {
    background-color: #323232;
    border-color: #323232;
    color: #DDEFDA;
}

.cta__button--secondary {
    background-color: transparent;
    color: #081207;
    border: 1px solid #081207;
    padding-top: 17px;
    /* Компенсация толщины рамки */
    padding-bottom: 17px;
    /* Компенсация толщины рамки */
}

.cta__button--secondary:hover {
    background-color: rgba(8, 18, 7, 0.05);
    color: #081207;
    border-color: #081207;
}

/* --- Бегущая строка логотипов --- */
.logo-ticker {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    /* Убрали margin-top, т.к. используется margin-bottom у .cta__actions */
}

.logo-ticker__track {
    display: flex;
    width: fit-content;
    animation: ticker-scroll 40s linear infinite;
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-50%);
    }
}

.logo-ticker__item {
    flex-shrink: 0;
    width: 265px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    box-sizing: content-box;
}

.logo-ticker__item img {
    /* Стили для логотипов-картинок */
    display: block;
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: 100%;
    object-fit: contain;
}



/* --- Стили для секции "Goals" --- */
.goals {
    margin-bottom: 96px;
}

.goals__container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
}

.goals__inner-wrapper {
    background-color: #EAEBE6;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    padding: 8px;
}

.goals__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
}

/* Left side styling */
.goals__content {
    padding: 40px 0 48px 48px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.goals__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.1;
    color: #141414;
    margin: 0;
    padding: 0;
}

.goals__text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.45;
    color: #141414;
    margin: 24px 0 0 0;
    max-width: 500px;
}

.goals__button-wrapper {
    margin-top: auto;
}

.goals__button--light-primary {
    background-color: #141414;
    color: #FAFAFA;
    border: none;
    height: 56px;
    padding: 0 32px;
    border-radius: 28px;
    font-weight: var(--font-weight-medium);
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.goals__button--light-primary:hover {
    background-color: #323232;
}

.goals__button--dark-primary {
    background-color: #264C01;
    color: #F9FBED;
    border: none;
    height: 56px;
    padding: 0 32px;
    border-radius: 28px;
    font-weight: var(--font-weight-medium);
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.goals__button--dark-primary:hover {
    background-color: #1e3a01;
}

/* Right side styling */
.goals__video-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.goals__video {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
}

.goals__video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Media queries for responsive behavior */
@media (max-width: 1024px) {
    .goals {
        margin-bottom: 56px;
        /* Tablet bottom margin */
    }

    .goals__text {
        margin-top: 16px;
    }
}

@media (max-width: 719px) {
    .goals__content {
        padding-top: 2px;
        /* Mobile padding */
        padding-right: 20px;
        /* Mobile padding */
        padding-bottom: 28px;
        /* Mobile padding */
        padding-left: 20px;
        /* Mobile padding */
    }
}

/* --- Стили для секции "Benefits" --- */
.benefits {
    /* Секция для отступов */
    margin-bottom: 96px;
    /* Bottom margin as specified */
}

.benefits__container {
    /* Глобальные стили .container применятся (max-width, margin auto, боковые padding) */
}

.benefits__title {
    font-family: var(--font-family-base);
    font-size: 64px;
    /* Same as achievements title */
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: #0E202F;
    margin-bottom: 56px;
    /* Space between header and content: 56px */
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 cards per row */
    row-gap: 20px;
    /* 24px between rows */
    column-gap: 20px;
    /* 24px horizontal space between cards */
}

.benefits__card {
    background-color: #EAEBE6;
    border-radius: 28px;
    padding: 28px 32px;
    position: relative;
    transition: background-color 0.3s ease;
}

.benefits__card:hover {
    background-color: #F6F7F2;
}

.benefits__card-icon {
    width: 24px;
    height: 24px;
    color: #0E202F;
    margin-bottom: 16px;
}

.benefits__card-icon path {
    fill: #0E202F;
}

.benefits__card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.45;
    color: #0E202F;
    margin-bottom: 8px;
}

.benefits__card-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.45;
    color: #0E202F;
    max-width: 360px;
}

/* Адаптивность (базовая) */
@media (max-width: 1024px) {
    .benefits__grid {
        /*grid-template-columns: 1fr;*/
        /* Change to 1 column for tablets */
        gap: 20px;
        /* Updated vertical gap between cards for tablet */
    }

    .benefits__title {
        font-size: 48px;
        margin-bottom: 40px;
        /* Indent from header to content for tablet */
    }

    .benefits__card-title {
        max-width: 480px;
        /* Max width for card title for tablet */
    }

    .benefits__card-text {
        max-width: 480px;
        /* Max width for card text for tablet */
    }

    .benefits {
        margin-bottom: 56px;
        /* Tablet bottom margin */
    }
}

@media (max-width: 600px) {
    .benefits__grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
        /* gap will be inherited or use default 24px if not specified by tablet */
    }

    .benefits__title {
        font-size: 36px;
        margin-bottom: 32px;
        /* Reverted/default mobile title margin */
    }

    /* Max-width for card titles and text will be inherited or use base styles for mobile */
    /* .benefits__card-title max-width can be removed if not needed */
    /* .benefits__card-text max-width will revert to base 360px or inherit from tablet if not specifically set for mobile */
}

/* --- Стили для секции "Consulting" --- */
.consulting {
    margin-bottom: 96px;
    /* Нижний отступ секции 96px */
}

.container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    /* Отступ от левого края */
    padding-right: 40px;
    /* Отступ от правого края */
}

.consulting__inner {
    background-color: #EAEBE6;
    border-radius: 32px;
    padding: 56px;
    /* Restored Desktop padding */
    overflow: hidden;
}

.consulting__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Restored Desktop: 2 columns */
    gap: 48px;
    /* Restored Desktop gap */
}

/* Left part with quote card */
.consulting__quote-card {
    background-color: #F6F7F2;
    border-radius: 28px;
    padding: 56px 48px;
    /* Restored Desktop padding */
    display: flex;
    flex-direction: column;
}

.consulting__author-block {
    display: flex;
    align-items: center;
    gap: 32px;
}

.consulting__author-photo {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
}

.consulting__author-info {
    display: flex;
    flex-direction: column;
}

.consulting__author-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 27px;
    line-height: 1.3;
    color: #141414;
    margin: 0 0 12px 0;
}

.consulting__author-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.45;
    color: #141414;
    margin: 0;
    opacity: 0.25;
}

.consulting__quote-content {
    margin-top: 44px;
    display: flex;
    flex-direction: column;
}

.consulting__quote-icon {
    width: 24px;
    height: 24px;
    color: #141414;
}

.consulting__quote-icon--open {
    margin-bottom: 24px;
}

.consulting__quote-icon--close {
    margin-top: 24px;
    align-self: flex-end;
}

.consulting__quote-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.65;
    color: #141414;
    margin: 0;
    max-width: 460px;
}

/* Right side content */
.consulting__content {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.consulting__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 1.2;
    color: #141414;
    margin: 0 0 24px 0;
}

.consulting__text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 21px;
    line-height: 1.45;
    color: #141414;
    margin: 0 0 32px 0;
    max-width: 560px;
}

.consulting__action {
    margin-top: auto;
}

.consulting__button {
    background-color: #141414;
    color: #FFFFFF;
    border: none;
    height: 56px;
    padding: 0 32px;
    border-radius: 28px;
    font-weight: var(--font-weight-medium);
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.consulting__button:hover {
    background-color: #e9ebd8;
}

/* Адаптивность для планшетов и мобильных */
@media (max-width: 1024px) {
    .consulting__inner {
        padding: 8px;
        /* Tablet padding */
    }

    .consulting__grid {
        grid-template-columns: 1fr;
        /* Tablet: 1 column */
        gap: 40px;
        /* Tablet gap */
    }

    .consulting__quote-card {
        aspect-ratio: auto;
        padding: 48px 40px 40px 40px;
        /* Tablet padding */
    }

    .consulting__quote-text {
        /* Added for tablet */
        max-width: 100%;
        /* Allow quote text to use full width */
    }

    .consulting__content {
        min-height: auto;
        /* padding-top: 0; REMOVE/REPLACE */
        /* padding-bottom: 0; REMOVE/REPLACE */
        padding: 8px 28px 40px 28px;
        /* New padding to match .goals__content */
    }

    .consulting__title {
        margin-top: 0;
        font-size: 48px;
        /* New font size for tablet */
    }

    .consulting__text {
        margin-bottom: 0;
        /* Remove bottom margin for tablet */
    }

    .consulting__action {
        margin-top: 40px;
    }

    .consulting__button {
        width: 100%;
        /* Make button full width */
        /* Other styles (colors, height, border-radius) match .goals__button--light-primary implicitly or explicitly */
    }

    .consulting {
        /* Tablet bottom margin */
        margin-bottom: 56px;
    }
}

@media (max-width: 767px) {
    .consulting__inner {
        padding: 8px;
        /* Override tablet/desktop padding */
    }

    .consulting__quote-card {
        padding: 24px;
        /* New mobile padding */
        overflow: hidden;
        /* Help diagnose/contain overflow */
        width: 100%;
        box-sizing: border-box;
    }

    .consulting__author-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        /* Override existing gap to use margins */
        width: 100%;
        box-sizing: border-box;
        min-width: 0;
        /* Allow shrinking in flex context */
    }

    .consulting__author-photo {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        /* Ensure aspect-ratio properly dictates height */
        margin-bottom: 32px;
        /* Corrected margin */
    }

    .consulting__author-info {
        /* Wrapper for title and subtitle */
        width: 100%;
        /* Ensure it takes full width for text alignment */
        margin-bottom: 24px;
        /* Space before opening quote icon */
    }

    .consulting__author-title {
        font-size: 27px;
        /* Mobile specific size */
        margin-bottom: 12px;
        overflow-wrap: break-word;
        /* Prevent overflow from long words */
        word-break: break-word;
        /* Fallback for word breaking */
    }

    .consulting__author-subtitle {
        margin-bottom: 0;
        /* Explicitly remove bottom margin if any */
    }

    /* .consulting__quote-card > .consulting__quote-content */
    .consulting__quote-card>div.consulting__quote-content {
        margin-top: 0;
        /* Reset margin, spacing handled by author-info */
        width: 100%;
        box-sizing: border-box;
        min-width: 0;
        /* Allow shrinking in flex context */
    }

    /* .consulting__quote-icon--open already has margin-bottom: 24px from base */

    .consulting__quote-text {
        /* max-width: 100%; is inherited from tablet */
        margin-bottom: 24px;
        /* Space before closing quote icon */
        overflow-wrap: break-word;
        /* Prevent overflow from long words */
        word-break: break-word;
        /* Fallback for word breaking */
    }

    .consulting__quote-icon--close {
        margin-top: 0;
        /* Reset margin, spacing handled by quote-text */
    }

    .consulting__content {
        /* This is the content block BELOW the quote card */
        padding: 2px 20px 28px 20px;
        /* Matches .goals__content mobile padding */
    }

    .consulting__title {
        /* This is for the LOWER part's title */
        font-size: 36px;
        overflow-wrap: break-word;
        /* Prevent overflow from long words */
        word-break: break-word;
        /* Fallback for word breaking */
    }

    .consulting {
        /* Mobile bottom margin */
        margin-bottom: 48px;
    }

    .consulting__text {
        font-size: 18px;
    }
}

/* --- Стили для секции "Services" --- */
.services {
    margin-top: 64px;
    margin-bottom: 96px;
}

.services__container {
    /* Remove vertical padding */
    padding-left: 40px;
    padding-right: 40px;
}

.services__title {
    font-family: var(--font-family-base);
    font-size: 64px;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: #0E202F;
    margin-bottom: 56px;
    text-align: left;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.services__card {
    background-color: #EAEBE6;
    border-radius: 28px;
    padding: 28px 32px;
    transition: background-color 0.3s ease;
}

.services__card:hover {
    background-color: #F6F7F2;
}

.services__card-icon {
    width: 32px;
    height: 32px;
    color: #081207;
    fill: currentColor;
    margin-bottom: 24px;
}

.services__card-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    color: #081207;
    margin-bottom: 4px;
}

.services__card-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    color: #081207;
}

/* Remove old hover styles */
.services__card:hover .services__card-icon,
.services__card:hover .services__card-title,
.services__card:hover .services__card-description {
    color: inherit;
}

/* Адаптивность (базовая) */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services__title {
        font-size: 48px;
        margin-bottom: 40px;
        /* Updated to 40px for tablet */
    }

    .services__card-title {
        max-width: 256px;
        /* Corrected max-width */
    }

    .services__card-description {
        max-width: 256px;
        /* Corrected max-width */
    }

    .services {
        /* Tablet bottom margin */
        margin-bottom: 56px;
    }
}

@media (max-width: 600px) {
    .services__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        /* Mobile indent between cards */
    }

    .services__title {
        font-size: 40px;
        margin-bottom: 32px;
        /* Mobile indent from heading to content */
    }

    .services {
        /* Mobile bottom margin */
        margin-bottom: 48px;
    }
}

/* --- Стили для секции "Discuss" --- */
.discuss {
    margin: 0 0 96px 0;
}

.discuss__form {
    background-color: #6BAE5E;
    border-radius: 32px;
    padding: 48px 56px;
    transition: background-color 0.3s ease;
}

.discuss__form:hover {
    background-color: #63A157;
}

.discuss__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 1.2;
    color: #EEF7ED;
    margin-bottom: 56px;
    text-align: left;
}

.discuss__inputs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.input-group {
    position: relative;
}

.discuss__input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(152, 207, 145, 1);
    padding: 16px 0 8px 0;
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.45;
    color: #EEF7ED;
    outline: none;
    transition: border-color 0.3s ease;
    width: 100%;
}

.discuss__input:hover {
    border-bottom: 1px solid rgba(152, 207, 145, 0.5);
}

.discuss__input:focus {
    border-bottom: 1px solid rgba(152, 207, 145, 0.5);
}

.discuss__input::placeholder {
    color: transparent;
}

.discuss__label {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    line-height: 1.45;
    font-weight: 500;
    color: #EEF7ED;
    pointer-events: none;
    transition: all 0.3s ease;
}

.discuss__input:focus+.discuss__label,
.discuss__input:not(:placeholder-shown)+.discuss__label {
    top: -2px;
    transform: translateY(0);
    font-size: 12px;
    opacity: 0.25;
}

.discuss__agreement {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.discuss__checkbox-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.discuss__checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    background-color: #98CF91;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    outline: none;
    transition: background-color 0.3s ease;
}

.discuss__checkbox:hover {
    background-color: #ABE8A3;
}

.discuss__checkbox:checked::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #569249;
    border-radius: 2px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.discuss__checkbox-label {
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.45;
    color: #CCE7C8;
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

/* Removed hover effect for checkbox text */

.discuss__privacy-link {
    color: #CCE7C8;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.discuss__button {
    background-color: #DDEFDA;
    color: #081207;
    border: none;
    height: 56px;
    padding: 0 32px;
    border-radius: 28px;
    font-weight: var(--font-weight-medium);
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.discuss__button:hover {
    background-color: #DDFFDA;
}

/* Адаптивность для формы (добавляется к существующей) */
@media (max-width: 1024px) {
    .discuss {
        margin-bottom: 56px;
    }

    .discuss__inputs {
        grid-template-columns: 1fr;
        /* 1 input field per row */
        row-gap: 40px;
        /* Indent between fields */
        /* column-gap is not needed for a single column */
        margin-bottom: 64px;
        /* Indent to agreement section */
    }

    .discuss__title {
        font-size: 56px;
        /* Tablet title size */
        margin-bottom: 40px;
        /* Indent from title to inputs */
    }

    .discuss__form {
        padding-top: 40px;
        /* Tablet top padding */
        padding-right: 56px;
        /* Tablet side padding (already same as base) */
        padding-bottom: 56px;
        /* Tablet bottom padding */
        padding-left: 56px;
        /* Tablet side padding (already same as base) */
    }

    /* Styles for the agreement section on tablets */
    .discuss__agreement {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        /* Align checkbox area to the left */
        gap: 32px;
        /* Space between checkbox area and button */
    }

    .discuss__agreement .discuss__button {
        width: 100%;
        /* Make button full width */
    }
}

@media (max-width: 767px) {
    .discuss__form {
        padding: 32px 24px 40px;
        /* Уменьшаем отступы формы */
    }

    .discuss__inputs {
        grid-template-columns: 1fr;
        /* 1 инпут в ряд */
        gap: 32px;
        /* Mobile indent between fields */
        margin-bottom: 36px;
        /* Mobile indent to agreement section */
    }

    .discuss__agreement {
        flex-direction: column;
        /* Stack checkbox and button vertically */
        align-items: center;
        /* Center items */
        gap: 24px;
        /* Space between checkbox area and button */
    }

    .discuss__checkbox-area {
        /* display: flex; align-items: center; gap: 12px; are from base style and should be sufficient */
        /* text-align: center; /* REMOVE THIS - likely causing the issue */
        /* No specific text-align needed if flex alignment is correct */
    }

    .discuss__title {
        font-size: 32px;
        /* Mobile title size */
        margin-bottom: 40px;
    }

    .discuss__button {
        width: 100%;
        /* Make button full width */
    }
}

/* --- Стили для секции "Portfolio" --- */
.portfolio {
    margin: 0 0 96px 0;
}

.portfolio__container {
    padding-left: 40px;
    padding-right: 40px;
}

.portfolio__header {
    margin-bottom: 64px;
}

.portfolio__title {
    font-family: var(--font-family-base);
    font-size: 64px;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: #0E202F;
    margin-bottom: 40px;
    text-align: left;
}

.portfolio__text {
    font-size: 21px;
    font-weight: var(--font-weight-regular);
    line-height: 1.45;
    color: var(--color-text-dark);
    margin-bottom: 40px;
    text-align: left;
    max-width: 580px;
}

.portfolio__actions {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-bottom: 64px;
}

/* Update button styles */
.button--secondary-dark {
    background-color: transparent;
    border: 1.5px solid #1D1F11;
    color: #1D1F11;
    height: 56px;
    padding: 0 32px;
    border-radius: 28px;
    font-weight: var(--font-weight-medium);
    font-size: 16px;
    transition: all 0.3s ease;
}

.button--secondary-dark:hover {
    background-color: rgba(29, 31, 17, 0.05);
}

.goals__button--dark-primary {
    background-color: #F9FBED;
    color: #1D1F11;
    border: none;
    height: 56px;
    padding: 0 32px;
    border-radius: 28px;
    font-weight: var(--font-weight-medium);
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.goals__button--dark-primary:hover {
    background-color: #e9ebd8;
}

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

.portfolio__card {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
    position: relative;
    align-items: center;
}

.portfolio__card-image {
    grid-column: 1 / 2;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
}

.portfolio__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio__card-content {
    grid-column: 2 / -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px;
    max-width: 640px;
}

.portfolio__card-title {
    font-family: var(--font-family-base);
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.25;
    color: var(--color-text-dark);
    margin-bottom: 8px;
}

.portfolio__card-description {
    font-family: var(--font-family-base);
    font-size: 18px;
    font-weight: var(--font-weight-regular);
    line-height: 1.45;
    color: var(--color-text-dark);
    margin: 0;
    max-width: 640px;
}

.portfolio__card-icon {
    grid-column: -1 / -1;
    justify-self: end;
    width: 56px;
    height: 56px;
    background-color: #F2F2F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.portfolio__card:hover .portfolio__card-icon {
    background-color: #E8E8E8;
}

.portfolio__card:not(:last-child) {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #E8E8E8;
}

/* Адаптивность (базовая) */
@media (max-width: 1024px) {
    .portfolio__header {
        max-width: none;
    }

    .portfolio__title {
        font-size: 48px;
    }

    .portfolio__card-title {
        font-size: 28px;
    }

    .portfolio__card-description {
        font-size: 18px;
    }

    /* Action buttons equal width on tablet - matching blog section */
    .portfolio__actions {
        width: 100%;
    }

    .portfolio__actions .button,
    .portfolio__actions .button--secondary-dark,
    .portfolio__actions .goals__button--dark-primary {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Tablet styles for portfolio cards */
@media (max-width: 1023px) and (min-width: 601px) {
    .portfolio__card {
        align-items: flex-start;
    }

    .portfolio__card-image {
        width: 80px;
        height: 80px;
        border-radius: 16px;
        aspect-ratio: 1 / 1;
    }

    .portfolio__card-content {
        align-self: flex-start;
        justify-content: flex-start;
        padding: 0px;
        padding-left: 8px;
    }

    .portfolio__card-icon {
        align-self: flex-start;
        margin-top: 0;
    }

    .portfolio__card-description {
        max-width: 480px;
    }
}

@media (max-width: 600px) {
    .portfolio {
        margin-top: 0;
        margin-bottom: 48px;
    }

    .portfolio__header {
        margin-bottom: 40px;
    }

    .portfolio__title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .portfolio__card {
        display: flex;
        flex-direction: column;
        gap: 20px;
        position: relative;
        align-items: flex-start;
    }

    .portfolio__card:not(:last-child) {
        margin-bottom: 32px;
        padding-bottom: 32px;
        border-bottom: 1px solid #E8E8E8;
    }

    .portfolio__card-image {
        width: 25%;
        aspect-ratio: 1 / 1;
        border-radius: 16px;
    }

    .portfolio__card-content {
        max-width: none;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: left;
    }

    .portfolio__card-title {
        font-size: 24px;
        font-weight: var(--font-weight-bold);
    }

    .portfolio__card-description {
        font-size: 16px;
        max-width: 360px;
    }

    .portfolio__card-icon {
        display: none;
    }

    .portfolio__card-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* --- Стили для секции "Portfolio Showcase" --- */
.portfolio-showcase {
    margin: 0 0 96px 0;
    padding: 0 8px;
}

.portfolio-showcase__container {
    padding-left: 40px;
    padding-right: 40px;
}

.portfolio-showcase__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
    position: relative;
}

.portfolio-showcase__text-content {
    flex: 1;
}

.portfolio-showcase__title {
    font-family: var(--font-family-base);
    font-size: 64px;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--color-text-dark);
    margin: 0 0 24px 0;
}

.portfolio-showcase__description {
    font-family: var(--font-family-base);
    font-size: 21px;
    font-weight: var(--font-weight-regular);
    line-height: 1.45;
    color: var(--color-text-dark);
    margin: 0 0 40px 0;
    max-width: 580px;
}

.portfolio-showcase__actions {
    display: flex;
    gap: 20px;
}

.portfolio-showcase__controls {
    display: flex;
    gap: 20px;
    align-items: center;
}

.portfolio-showcase__controls .swiper-button-next:after,
.portfolio-showcase__controls .swiper-button-prev:after {
    display: none;
}

.portfolio-showcase__controls .swiper-button-next svg,
.portfolio-showcase__controls .swiper-button-prev svg {
    max-width: initial;
    width: initial;
    height: initial;
    fill: transparent;
}

.portfolio-showcase__nav-btn--prev {
    top: auto;
    bottom: 0;
    left: auto;
    right: 90px;
}

.portfolio-showcase__nav-btn--next {
    bottom: 0px;
    top: auto;
}

.portfolio-showcase__nav-btn {
    width: 56px;
    height: 56px;
    background-color: #F2F2F2;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.portfolio-showcase__nav-btn:hover {
    background-color: #E8E8E8;
}

.portfolio-showcase__carousel-container {
    overflow: hidden;
    /* Constrain to 1440px max width even on wider screens but allow extension for seamless view */
    width: 100vw;
    max-width: none;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

/* Add a wrapper to constrain the visible area to 1440px */
.portfolio-showcase__container {
    padding-left: 40px;
    padding-right: 40px;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.portfolio-showcase__carousel {
    display: flex;
    /* gap: 24px; */
    /* Transition is now controlled by JavaScript for better infinite loop */
    width: max-content;
    /* No padding needed - positioning handled by JavaScript */
}

.portfolio-showcase__card {
    /* Each card is 8 columns wide based on 1440px container for better proportion
    flex: 0 0 calc((1440px - 40px - 40px - 11 * 24px) / 12 * 8);*/
    min-width: 0;
    cursor: pointer;
}

.portfolio-showcase__card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 32px;
    overflow: hidden;
    margin-bottom: 20px;
}

.portfolio-showcase__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-showcase__card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.portfolio-showcase__card-column {
    padding-left: 8px;
}

.portfolio-showcase__card-label {
    font-family: var(--font-family-base);
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.35;
    color: #1E1E1E;
    opacity: 0.5;
    margin: 0 0 8px 0;
}

.portfolio-showcase__card-title {
    font-family: var(--font-family-base);
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.35;
    color: var(--color-text-dark);
    margin: 0;
}

/* Responsive styles for Portfolio Showcase */
@media (max-width: 1024px) {
    .portfolio-showcase__title {
        font-size: 48px;
    }

    .portfolio-showcase__description {
        font-size: 18px;
    }

    .portfolio-showcase__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    /* Hide arrow buttons on tablet and mobile */
    .portfolio-showcase__controls {
        display: none;
    }

    /* Action buttons equal width on tablet */
    .portfolio-showcase__actions {
        justify-content: flex-start;
        width: 100%;
    }

    .portfolio-showcase__actions .button,
    .portfolio-showcase__actions .goals__button--light-primary {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Tablet card layout - simple and working */
    .portfolio-showcase__carousel-container {
        overflow: hidden;
        width: calc(100% + 40px);
        margin-left: -40px;
        padding-left: 40px;
    }

    .portfolio-showcase__carousel {
        display: flex;
        /* gap: 20px; */
        padding: 0;
        margin-left: 0;
    }

    .portfolio-showcase__card {
        /*flex: 0 0 75vw;*/
        /*width: 75vw;*/
        /*max-width: 75vw;*/
        /*min-width: 75vw;*/
    }
}

@media (max-width: 600px) {
    .portfolio-showcase {
        margin-bottom: 48px;
        padding: 0 16px;
    }

    .portfolio-showcase__container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .portfolio-showcase__header {
        margin-bottom: 40px;
    }

    .portfolio-showcase__title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .portfolio-showcase__description {
        margin-bottom: 0;
        font-size: 16px;
    }

    .portfolio-showcase__actions {
        display: none;
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .portfolio-showcase__actions .button,
    .portfolio-showcase__actions .goals__button--light-primary {
        width: 100%;
        flex: none;
    }

    .portfolio-showcase__carousel-container {
        width: calc(100% + 16px);
        margin-left: -16px;
        overflow: hidden;
        padding-left: 16px;
    }

    .portfolio-showcase__carousel {
        display: flex;
        /* gap: 20px; */
        padding: 0;
        margin-left: 0;
    }

    .portfolio-showcase__card {
        /*flex: 0 0 85vw;*/
        /*width: 85vw;*/
        /*max-width: 85vw;*/
        /*min-width: 85vw;*/
    }

    .portfolio-showcase__card-content {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .portfolio-showcase__card-column {
        padding-left: 0;
    }

    .portfolio-showcase__card-label {
        font-size: 14px;
    }

    .portfolio-showcase__card-title {
        font-size: 20px;
    }
}



/* --- Стили для секции "Approach" --- */
.approach {
    margin: 0 0 96px 0;
}

.approach__container {
    padding-left: 40px;
    padding-right: 40px;
}

.approach__title {
    font-family: var(--font-family-base);
    font-size: 64px;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: #0E202F;
    margin-bottom: 64px;
    text-align: left;
}

.approach__divider {
    border: none;
    height: 1px;
    background-color: #E8E8E8;
    margin: 0;
}


.approach__steps>.approach__divider:last-child {
    display: none;
}

.approach__steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.approach__divider {
    display: none;
}

.approach-step {
    border-bottom: 1px solid #E8E8E8;
    padding-top: 24px;
    padding-bottom: 48px;
}

.approach-step:nth-child(even) {
    border-bottom: 1px solid #E8E8E8;
}

.approach-step:nth-last-child(-n+2) {
    border-bottom: none;
}

.approach-step:last-of-type {
    padding-bottom: 0;
}

.approach-step__grid {
    display: flex;
    flex-direction: column;
}

.approach-step__left {
    margin-bottom: 12px;
}

.approach-step__title {
    font-family: var(--font-family-base);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
    display: flex;
    align-items: center;
}

.approach-step__number {
    color: white;
    background-color: #4CAF50;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    margin-right: 12px;
}

.approach-step__title-text {
    color: #1E1E1E;
}

.approach-step__right {
    /* Container for text */
}

.approach-step__text {
    font-family: var(--font-family-base);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.45;
    color: var(--color-text-dark);
    margin: 0;
    max-width: 512px;
}

/* APPROACH SECTION TABLET STYLES */
@media (max-width: 1024px) and (min-width: 601px) {
    /*.approach__steps {
        grid-template-columns: 1fr;
        gap: 0;
    }*/

    .approach__title {
        margin-bottom: 32px;
    }

    .approach-step__text {
        max-width: 560px;
    }
}

/* ADDING MOBILE STYLES FOR APPROACH SECTION */
@media (max-width: 800px) {
    .approach__steps {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 600px) {
    .approach {
        margin-top: 0;
        /* Relies on previous section's margin-bottom */
        margin-bottom: 48px;
    }

    .approach__title {
        /* Section title */
        font-size: 32px;
        margin-bottom: 32px;
    }

    .approach-step__left {
        margin-bottom: 20px;
    }

    .approach-step__title {
        /* Card H3 title */
        font-size: 24px;
        line-height: 1.3;
        /* Adjusted line height for smaller font */
    }

    .approach-step__text {
        /* Card paragraph text */
        font-size: 16px;
        max-width: 340px;
    }

}

/* --- Стили для секции "Sales Specifics" --- */
.sales-specifics {
    margin: 0 0 96px 0;
}

.specifics__container {
    padding-left: 40px;
    padding-right: 40px;
}

.specifics__header {
    margin-bottom: 56px;
}

.specifics__title {
    font-family: var(--font-family-base);
    font-size: 64px;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: #0E202F;
    margin-bottom: 24px;
    text-align: left;
}

.specifics__text {
    max-width: 580px;
    font-family: var(--font-family-base);
    font-size: 21px;
    font-weight: var(--font-weight-regular);
    line-height: 1.45;
    color: var(--color-text-dark);
}

.specifics__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.specifics__card {
    background-color: #EAEBE6;
    border-radius: 28px;
    padding: 28px 32px;
    position: relative;
    transition: background-color 0.3s ease;
}

.specifics__card:hover {
    background-color: #F6F7F2;
}

.specifics__card-icon {
    width: 24px;
    height: 24px;
    color: #0E202F;
    fill: currentColor;
    margin-bottom: 16px;
}

.specifics__card-icon path {
    fill: #0E202F;
}

.specifics__card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.45;
    color: #0E202F;
    margin-bottom: 8px;
}

.specifics__card-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.45;
    color: #0E202F;
    max-width: 360px;
}

/* START OF DELETION: The entire @media (max-width: 767px) block below will be removed. */
/*
@media (max-width: 767px) {
    .specifics__grid {
        grid-template-columns: 1fr;
    }
    .specifics__title {
        font-size: 40px;
        margin-bottom: 16px;
    }
    .specifics__text {
        font-size: 18px;
    }
    .specifics__header {
        margin-bottom: 40px;
    }
    .specifics__card {
        padding: 28px 32px;
    }
    .specifics__card-title {
        font-size: 18px;
    }
    .specifics__card-description {
        font-size: 15px;
    }
}
*/
/* END OF DELETION */

/* START OF ADDITION: New responsive styles for Sales Specifics section */
@media (max-width: 1024px) {
    .sales-specifics {
        margin-bottom: 56px;
        /* Matches .benefits */
    }

    /* .specifics__container padding is handled by general .container rules */
    .specifics__header {
        margin-bottom: 40px;
        /* Matches .benefits__title margin */
    }

    .specifics__title {
        font-size: 48px;
        /* Matches .benefits__title */
        margin-bottom: 16px;
        /* Space for subtitle, if present */
    }

    .specifics__text {
        /* Subtitle styling */
        font-size: 18px;
        /* Consistent subtitle size */
        max-width: 580px;
    }

    .specifics__grid {
        /* grid-template-columns: 1fr; */
        /* Single column like .benefits */
        gap: 20px;
        /* Matches .benefits grid gap */
    }

    .specifics__card-title {
        font-size: 20px;
        /* Matches .benefits__card-title */
        max-width: 480px;
        /* Matches .benefits */
    }

    .specifics__card-description {
        font-size: 16px;
        /* Matches .benefits__card-text */
        max-width: 480px;
        /* Matches .benefits */
    }
}

@media (max-width: 600px) {

    .sales-specifics {
        margin-bottom: 48px;
        /* Matches .benefits */
    }

    .specifics__header {
        margin-bottom: 32px;
        /* Matches .benefits__title margin */
    }

    .specifics__title {
        font-size: 36px;
        /* Matches .benefits__title */
        margin-bottom: 12px;
        /* Adjusted for subtitle presence */
    }

    .specifics__text {
        font-size: 16px;
        /* Mobile subtitle size */
    }

    /* Card grid and card content styles for mobile inherit from 1024px or base, matching .benefits */
}

/* END OF ADDITION */

/* --- Стили для секции "Team Member" --- */
.team-member {
    margin: 0 0 96px 0;
}

.team-member__container {
    padding-left: 40px;
    padding-right: 40px;
}

.team-member__inner {
    background-color: #EAEBE6;
    border-radius: 32px;
    padding: 56px;
    overflow: hidden;
}

.team-member__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

/* Left side - photo */
.team-member__photo-card {
    background-color: #2B2E19;
    border-radius: 28px;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.team-member__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right side - content */
.team-member__content {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.team-member__title {
    font-family: var(--font-family-base);
    font-weight: 700;
    font-size: 46px;
    line-height: 1.1;
    color: #141414;
    margin: 0 0 24px 0;
}

.team-member__text {
    font-family: var(--font-family-base);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.55;
    color: #141414;
    margin: 0 0 32px 0;
    max-width: 580px;
}

.team-member__actions {
    margin-top: auto;
    display: flex;
    gap: 20px;
}

/* Button styles matching consulting section */
.team-member__button {
    background-color: #141414;
    color: #FAFAFA;
    border: none;
    height: 56px;
    padding: 0 32px;
    border-radius: 28px;
    font-weight: var(--font-weight-medium);
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.team-member__button:hover {
    background-color: #323232;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .team-member {
        margin-bottom: 56px;
        /* Consistent tablet spacing */
    }

    .team-member__inner {
        padding: 8px;
        /* Frame padding */
    }

    .team-member__grid {
        align-items: center;
        gap: 24px;
    }

    .team-member__content {
        /* padding: 8px 28px 40px 28px; */
        padding: 0;
        /* Matches .goals__content padding */
        text-align: left;
        /* Ensure text alignment from desktop is maintained or explicitly set */
    }

    .team-member__title {
        font-size: 48px;
        /* Match .goals__title tablet size */
        /* margin: 0 0 24px 0; inherited or can be adjusted */
    }

    .team-member__text {
        font-size: 18px;
        /* Match .goals__text tablet size */
        /* margin: 0 0 32px 0; inherited or can be adjusted */
        /* max-width: 560px; inherited, should be fine or set to 100% if needed */
    }

    .team-member__actions {
        /* margin-top: auto; inherited */
        /* display: flex; inherited, if only one button, not strictly necessary */
        /* gap: 20px; inherited, if only one button, not strictly necessary */
        justify-content: flex-start;
        /* Matches existing tablet style */
    }

    .team-member__button {
        width: 100%;
        /* Full width button */
    }
}

@media (max-width: 955px) {
    .team-member__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        /* Adjusted gap for stacked layout, can be 0 if direct abutment is desired before content padding */
    }

    .team-member__photo-card {
        order: 1;
        /* aspect-ratio: 1/1; is kept from desktop */
        /* background-color and border-radius are kept */
        /* No specific padding needed here, it sits within the 8px .team-member__inner frame */
    }

    .team-member__content {
        order: 2;
        padding: 8px 28px 40px 28px;
    }
}

@media (max-width: 767px) {
    .team-member {
        margin-bottom: 48px;
        /* Consistent mobile spacing */
    }

    .team-member__inner {
        padding: 8px;
        /* Inherited, but explicit for clarity */
        /* padding: 40px 24px; OLD PADDING, REPLACED BY 8px */
    }

    /* .team-member__grid will inherit single column from 1024px */
    /* .team-member__photo-card will inherit order: 1 from 1024px */

    .team-member__content {
        /* order: 2; inherited */
        padding: 2px 20px 28px 20px;
        /* Matches .goals__content mobile padding */
    }

    .team-member__title {
        font-size: 36px;
        /* Matches existing mobile style for this section */
    }

    .team-member__text {
        font-size: 16px;
        /* Adjusted for mobile */
    }

    /* .team-member__button width: 100%; inherited */
}

/* --- Стили для секции "Framework" --- */
.framework {
    margin: 0 0 96px 0;
}

.framework__container {
    padding-left: 40px;
    padding-right: 40px;
}

.framework__title {
    font-family: var(--font-family-base);
    font-size: 64px;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: #0E202F;
    margin-bottom: 56px;
    text-align: left;
    max-width: 1200px;
}

.framework__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.framework-card {
    border-radius: 28px;
    padding: 32px 36px 36px;
    display: flex;
    flex-direction: column;
    border: 1px solid #EBEBEB;
    background-color: transparent;
    transition: .3s;
}

.framework-card:hover {
    border-color: #F9D549;
    background-color: #F9D549;
}

.framework-card__number {
    font-family: var(--font-family-base);
    font-size: 72px;
    font-weight: var(--font-weight-bold);
    line-height: 1;
    /* color: #191401; */
    /* opacity: 0.15; */
    color: #D7B83F;
    margin-bottom: 4px;
}

.framework-card__title {
    font-family: var(--font-family-base);
    font-size: 40px;
    font-weight: var(--font-weight-bold);
    line-height: 1.45;
    color: #223443;
    margin-bottom: 8px;
}

.framework-card__description {
    font-family: var(--font-family-base);
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    line-height: 1.45;
    color: #223443;
    margin-bottom: 28px;
    max-width: 300px;
}

.framework-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.framework-card__list-item {
    font-family: var(--font-family-base);
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    line-height: 1.45;
    color: #223443;
    padding-left: 12px;
    position: relative;
    display: flex;
    align-items: center;
}

.framework-card__list-item::before {
    content: '';
    position: absolute;
    left: 0;
    width: 4px;
    height: 4px;
    background-color: #223443;
    border-radius: 50%;
    margin-right: 8px;
}

/* Адаптивность (базовая) */
@media (max-width: 1024px) {

    .framework {
        margin-bottom: 56px;
    }

    .framework__title {
        font-size: 48px;
        margin-bottom: 48px;
    }

    .framework-card__title {
        font-size: 36px;
    }
}

@media (max-width: 955px) {
    .framework__grid {
        grid-template-columns: 1fr;
    }

    .framework-card__description {
        max-width: 100%;
    }
}

@media (max-width: 600px) {

    .framework {
        margin-bottom: 48px;
    }

    .framework__title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .framework-card {
        padding: 24px 28px 32px;
    }

    .framework-card__number {
        font-size: 60px;
    }

    .framework-card__title {
        font-size: 32px;
    }

    .framework-card__description {
        font-size: 13px;
    }

    .framework-card__list-item {
        font-size: 15px;
    }
}

/* --- Стили для секции "FAQ" --- */
.faq {
    margin-bottom: 96px;
}

.faq__container {
    /* Глобальные стили .container */
}

.faq__title {
    font-family: var(--font-family-base);
    font-size: 64px;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: #0E202F;
    margin-bottom: 40px;
    text-align: left;
}

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

.faq__divider {
    display: none;
}

.faq-item {
    background-color: #F3F3F3;
    border-radius: 32px;
    padding: 40px 32px;
    transition: background-color 0.2s ease-out;
}

.faq-item:hover {
    background-color: #E8E8E8;
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    margin: 0;
    box-sizing: border-box;
}

/* We'll keep this empty for now but maintain it for future use */
.faq-item.is-active .faq-item__question {
    /* No special styles needed here */
}

.faq-item__question-text {
    font-size: 21px;
    font-weight: var(--font-weight-medium);
    line-height: 1.45;
    color: var(--color-text-dark);
    max-width: 800px;
    padding-right: 20px;
}

.faq-item__arrow {
    width: 8px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.3s ease-out, opacity 0.2s ease-out;
    opacity: 1;
}

.faq-item__arrow path {
    fill: #BEBEBE;
    transition: fill 0.2s ease-out;
}

.faq-item__question:hover .faq-item__arrow path {
    fill: #888888;
    /* Darker color on hover */
}

/* Стиль для активного (открытого) состояния */
.faq-item.is-active .faq-item__arrow {
    transform: rotate(90deg);
    /* Поворот стрелки */
}

/* Обертка для ответа (для анимации) */
.faq-item__answer-wrapper {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: height 0.3s ease-out, opacity 0.25s ease-out;
    will-change: height, opacity;
    margin-top: 0;
    /* Remove negative margin that was affecting visual balance */
}

/* Стиль для активного (открытого) состояния */
.faq-item.is-active .faq-item__answer-wrapper {
    opacity: 1;
}

.faq-item__answer {
    font-family: var(--font-family-base);
    /* Inter */
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.45;
    /* 145% */
    color: #0E202F;
    text-align: left;
    margin: 0;
    padding-top: 24px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

/* Remove the pseudo-element approach */
.faq-item__answer::before {
    display: none;
}

/* Адаптивность (базовая) */
@media (max-width: 767px) {

    .faq {
        margin-bottom: 48px;
    }

    .faq__title {
        font-size: 32px;
        margin-bottom: 24px;
    }

    .faq-item {
        padding: 32px 24px;
    }

    .faq-item__question {
        padding: 0;
    }

    .faq-item__question-text {
        font-size: 18px;
    }

    .faq-item__arrow {
        width: 8px;
        height: 16px;
    }

    .faq-item__answer {
        font-size: 15px;
    }
}

/* --- Стили для секции "Blog Preview" --- */
.blog-preview {
    margin-bottom: 96px;
    margin-top: 0;
}

.blog-preview__container {
    padding-left: 40px;
    padding-right: 40px;
    position: relative;
    margin-bottom: 64px;
}

.blog-preview__title {
    font-family: var(--font-family-base);
    font-size: 64px;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: #0E202F;
    margin-bottom: 24px;
}

.blog-preview__description {
    font-family: var(--font-family-base);
    font-size: 21px;
    font-weight: var(--font-weight-regular);
    line-height: 1.45;
    color: var(--color-text-dark);
    margin: 0 0 40px 0;
    max-width: 580px;
}

.blog-preview__actions {
    display: flex;
    gap: 20px;
}

.blog-preview__nav {
    position: absolute;
    bottom: 0;
    right: 40px;
    display: flex;
    gap: 16px;
    z-index: 10;
}

.blog-preview__nav-btn {
    width: 56px;
    height: 56px;
    background-color: #F2F2F2;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.blog-preview__nav-btn:hover {
    background-color: #E8E8E8;
}

.blog-preview__carousel-wrapper {
    overflow: hidden;
    /* Constrain to 1440px max width but allow extension for seamless view */
    width: 100vw;
    max-width: none;
    /*margin-left: calc(-50vw + 50%);*/
    position: relative;
}

/* Add a wrapper to constrain the visible area to 1440px - removed duplicate as it exists earlier */

.blog-preview__carousel {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
    align-items: stretch;
}

.blog-card {
    background-color: #F3F3F3;
    border-radius: 32px;
    padding: 4px 4px 32px;
    flex-shrink: 0;
    /*width: calc((1440px - 40px - 40px - 11 * 24px) / 12 * 4 + 24px * 3);*/
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 480px;
    height: auto;
}

.blog-card__image-wrapper {
    width: calc(100% - 8px);
    aspect-ratio: 4/3;
    border-radius: 28px;
    overflow: hidden;
    margin: 4px 4px 28px;
}

.blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card__content {
    padding: 0 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card__category {
    font-family: var(--font-family-base);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.45;
    color: #000000;
    opacity: 0.25;
    margin-bottom: 8px;
}

.blog-card__title {
    font-family: var(--font-family-base);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.35;
    color: #0E202F;
    margin-bottom: 12px;
}

.blog-card__excerpt {
    font-family: var(--font-family-base);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.45;
    color: #0E202F;
    flex: 1;
    margin-bottom: 0;
}

.blog-card__button {
    background-color: transparent;
    border: 1.5px solid #1D1F11;
    color: #1D1F11;
    height: 56px;
    padding: 16px 24px;
    border-radius: 28px;
    font-weight: var(--font-weight-medium);
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    align-self: flex-start;
    margin-top: 40px;
    flex-shrink: 0;
}

.blog-card__button:hover {
    background-color: rgba(29, 31, 17, 0.05);
}

/* Blog Preview Responsive Styles */
@media (max-width: 1024px) {
    .blog-preview__title {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .blog-preview__description {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .blog-preview__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        margin-bottom: 48px;
    }

    /* Hide arrow buttons on tablet and mobile */
    .blog-preview__nav {
        display: none;
    }

    /* Action buttons equal width on tablet - matching portfolio behavior */
    .blog-preview__actions {
        justify-content: flex-start;
    }

    /* Tablet container padding */
    .blog-preview__container {
        padding-left: 28px;
        padding-right: 28px;
    }

    /* Tablet card layout - 2 cards visible */
    .blog-preview__carousel-wrapper {
        overflow: hidden;
        /*width: calc(100% + 28px);*/
        /*margin-left: -28px;*/
    }

    .blog-preview__carousel {
        display: flex;
        gap: 20px;
        padding: 0;
        margin-left: 0;
    }

    .blog-card {
        /*flex: 0 0 calc(50% - 10px);*/
        /*width: calc(50% - 10px);*/
        /*max-width: calc(50% - 10px);*/
        /*min-width: calc(50% - 10px);*/
    }
}

@media (max-width: 600px) {
    .blog-preview__title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .blog-preview__description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .blog-preview__header {
        margin-bottom: 32px;
    }

    .blog-preview__text-content {
        margin-bottom: 24px;
    }

    .blog-preview__actions {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .blog-preview__actions .button,
    .blog-preview__actions .goals__button--light-primary {
        width: 100%;
        flex: none;
    }

    /* Mobile container padding */
    .blog-preview__container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .blog-preview__carousel-wrapper {
        /*width: calc(100% + 16px);*/
        /*margin-left: -16px;*/
        overflow: hidden;
        /* padding-left: 32px; */
        padding: 0 16px;
    }

    .blog-preview__carousel {
        display: flex;
        gap: 20px;
        padding: 0;
        margin-left: 0;
    }

    .blog-card {
        /*flex: 0 0 85vw;*/
        /*width: 85vw;*/
        /*max-width: 85vw;*/
        /*min-width: 85vw;*/
        padding: 8px 8px 32px;
    }

    .blog-card__content {
        padding: 8px 20px 0;
    }

    .blog-card__title {
        font-size: 24px;
    }

    .blog-card__excerpt {
        font-size: 15px;
    }
}

/* Section spacing */
.section {
    margin-bottom: 96px;
}

.section:last-child {
    margin-bottom: 0;
}

/* Remove old conflicting hero responsive styles - replaced by new implementation */

/* --- Responsive Container Padding --- */
/* Mobile (default, < 720px) */
/* .container padding-left: 16px; padding-right: 16px; (already set as default) */

/* Tablet (720px - 1279px) */
@media (min-width: 720px) {
    .container {
        padding-left: 28px;
        padding-right: 28px;
    }
}

/* Desktop Small (1280px - 1359px) */
@media (min-width: 1280px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Desktop Medium (1360px - 1399px) */
@media (min-width: 1360px) {
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* Desktop Large (>= 1400px) */
@media (min-width: 1400px) {
    .container {
        padding-left: 56px;
        padding-right: 56px;
    }
}

/* --- Tablet and Mobile Header Overrides (max-width: 1279px) --- */
@media (max-width: 1279px) {
    .header {
        top: 0;
        left: 0;
        width: 100%;
        transform: none;
        border-radius: 0;
        background-color: #231F1B;
        /* Solid color, 100% opacity implicitly */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        height: 80px;
        padding: 0;
        /* Reset padding, inner nav will handle it */
    }

    .header--sticky {
        /* Override sticky styles for tablet/mobile as it's always dark */
        background-color: #231F1B;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        /* Assuming no shadow for this style */
    }

    .header__nav {
        height: 100%;
        padding-left: 28px;
        padding-right: 28px;
        max-width: none;
        /* Allow nav to fill header */
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        width: 120px;
        /* Fixed width for left side */
        justify-content: flex-start;
        /* Align menu icon to the left of this 120px space */
        flex-shrink: 0;
    }

    .nav__logo {
        flex-grow: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        /* margin-left: auto; */
        /* Removed for this centering strategy */
        /* margin-right: auto; */
        /* Removed for this centering strategy */
    }

    .nav__list--right {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: 120px;
        /* Fixed width for right side, matching left side */
        flex-shrink: 0;
    }

    .desktop-only-nav {
        display: none !important;
        /* Important to override potential specificity */
    }

    .tablet-mobile-only-nav {
        display: flex;
        /* Show mobile menu toggle */
        align-items: center;
        /* Added for internal alignment of icon */
        justify-content: center;
        /* Added for internal alignment of icon */
    }

    .nav__logo svg {
        /* Adjust logo size if needed for 80px header height, e.g. height: 24px; */
    }

    .telegram-button {
        background-color: transparent;
        border: 1px solid #FFFFFF;
        color: #FFFFFF;
        padding: 12px 24px;
        /* Correct padding for tablet */
        min-height: auto;
        height: auto;
        border-radius: 9999px;
        /* Fully rounded for tablet */
        display: inline-flex;
        /* To align icon and text */
        align-items: center;
    }

    .telegram-button .desktop-only-icon {
        display: none !important;
    }

    .telegram-button .tablet-mobile-only-icon {
        display: inline-block !important;
        width: 24px;
        height: 24px;
        margin-right: 8px;
        /* Space between icon and text for tablet */
    }

    .telegram-button .telegram-button__text {
        font-size: 0;
        /* Hides original "Написать в telegram" */
        display: inline;
        /* Ensures the span is rendered for the ::before */
        line-height: 1;
        /* Consistent line height */
    }

    .telegram-button .telegram-button__text::before {
        content: "Написать";
        /* Tablet text */
        font-size: 16px;
        /* Actual font size for tablet text */
        display: inline;
    }

    /* Make sure desktop icon is definitely hidden */
    .nav__list--right .telegram-button .desktop-only-icon {
        display: none !important;
    }

    /* Fix menu icon alignment - override any center alignment */
    .mobile-menu-toggle.tablet-mobile-only-nav {
        justify-content: flex-start !important;
        /* Force left alignment for menu icon */
    }

    /* --- TABLET HERO ADAPTATIONS (720px - 1279px) --- */
    .hero {
        padding-bottom: 40px;
        /* Updated bottom padding */
        padding-left: 40px;
        padding-right: 40px;
        margin-top: 80px;
        /* Account for fixed header */
        position: relative;
        /* Ensure pagination is positioned relative to hero */
        min-height: calc(100vh - 80px);
        /* Hero height = viewport - header height */
        display: flex;
        /* Added to ensure content alignment works as expected */
        flex-direction: column;
        /* Added for content alignment */
        justify-content: flex-end;
        /* Align content to the bottom */
        margin-bottom: 0px;
        /* Adjusted for correct spacing to .studio */
    }

    .hero__content {
        width: 100%;
        /* Take full width of parent .hero's padded area */
        max-width: none;
        /* Override desktop max-width */
        position: relative;
        /* Keep desktop style */
        z-index: 1;
        /* Keep desktop style */
    }

    .hero__title {
        font-size: 48px;
        /* Tablet title size */
        margin-bottom: 24px;
        /* Vertical gap between title and text */
    }

    .hero__subtitle {
        font-size: 20px;
        /* Tablet subtitle size */
        margin-bottom: 40px;
        /* Space after subtitle */
    }

    .hero__actions {
        display: flex;
        /* Ensured for tablet */
        width: 100%;
        /* Take full width of .hero__content */
        gap: 24px;
        /* Updated space between buttons */
        margin-top: 0px;
        /* Space above buttons now controlled by subtitle's margin-bottom */
    }

    .hero__actions .button {
        flex-grow: 1;
        /* Distribute space equally */
        flex-basis: 0;
        /* Helps with equal distribution when content varies */
        /* justify-content: center; is global on .button */
    }

    /* Ensure the rule that previously hid the second button on tablet is not active */
    /* .hero__actions .button:not(:first-child) { display: none; } IS REMOVED */

    /* Pagination styles for tablet */
    .hero-pagination {
        position: absolute !important;
        top: 20px !important;
        /* 20px below where the hero block starts (after its top margin) */
        left: 40px !important;
        /* Align with hero content padding */
        right: 40px !important;
        /* Align with hero content padding */
        width: auto !important;
        /* Let left/right define width */
        bottom: auto !important;
        transform: none !important;
        display: flex !important;
        gap: 12px !important;
        /* Indent between stripes */
        z-index: 10 !important;
        /* Ensure visibility */
        height: auto !important;
        /* Adjust height to content */
    }

    .hero-pagination .swiper-pagination-bullet {
        height: 6px !important;
        /* Thinner stripes */
        background-color: rgba(255, 255, 255, 0.25) !important;
        /* Default 25% opacity */
        opacity: 1 !important;
        /* Control opacity via background-color's alpha */
        flex: 1 !important;
        /* Occupy available width */
        width: auto !important;
        /* Needed for flex: 1 to work correctly */
        border-radius: 3px !important;
        /* Slightly rounded corners for thin stripes */
        margin: 0 !important;
        /* Reset Swiper's default margin */
    }

    .hero-pagination .swiper-pagination-bullet:first-child {
        /* REMOVE ALL EXISTING STYLES FROM HERE */
        /* No specific first-child margin needed with flex gap */
    }

    .hero-pagination .swiper-pagination-bullet:last-child {
        /* REMOVE ALL EXISTING STYLES FROM HERE */
        /* No specific last-child margin needed with flex gap */
    }

    .hero-pagination .swiper-pagination-bullet:hover {
        background-color: rgba(255, 255, 255, 0.4) !important;
        /* Slightly more visible on hover */
    }

    /* Active bullet styles for mobile */
    .hero-pagination .swiper-pagination-bullet-active {
        /* Base background is already rgba(255, 255, 255, 0.25) */
        /* The progress animation will be handled by the ::after pseudo-element if needed */
        /* No change needed from default if progress animation is primary visual cue */
    }

    .hero-pagination .swiper-pagination-bullet-active:hover {
        /* Keep the same opacity as active non-hover, progress is key */
        background-color: rgba(255, 255, 255, 0.25) !important;
    }

    /* --- STUDIO SECTION TABLET ADAPTATIONS --- */
    .studio {
        margin-top: 56px;
        /* Space below hero */
        margin-bottom: 56px;
        /* Space before achievements */
    }

    .studio__title {
        font-size: 48px;
        /* Tablet title size */
        margin-bottom: 40px;
        /* Indent to content */
    }

    .studio__grid {
        /* Desktop has grid-template-columns: repeat(2, 1fr); which is fine for tablet too unless specified otherwise */
        /* Desktop has gap: 24px; which is also fine for tablet */
    }

    .studio__card {
        /*aspect-ratio: 1 / 1;*/
        aspect-ratio: 4 / 3;
        /* Make cards square */
    }

    .studio__card--text-icon {
        padding: 24px;
        /* Uniform padding for text/icon cards */
        justify-content: space-between;
        /* Vertically distribute space between icon and text block */
        aspect-ratio: auto;
        /* Allow height to be determined by content */
    }

    .studio__card-icon {
        width: 40px;
        height: 40px;
        /* margin-bottom: 32px; from desktop, can be adjusted if needed */
    }

    .studio__card-text {
        font-size: 24px;
        /* New text size for tablet */
        /* line-height: 1.25; and color: #0E202F; from desktop */
        /* font-family: 'Inter', sans-serif; from desktop - this font is not in dependencies, consider changing to Inter */
    }

    /* Styles for .studio__card--image and .studio__card-image can remain as per desktop unless specified */

    /* END STUDIO SECTION TABLET ADAPTATIONS */

    /* --- ACHIEVEMENTS SECTION TABLET ADAPTATIONS --- */
    .achievements {
        margin-bottom: 56px;
        /* Space before CTA section */
    }

    .achievements__title {
        font-size: 48px;
        margin-bottom: 40px;
    }

    .achievements__grid {
        grid-template-columns: repeat(4, 1fr);
        /* Two cards per row */
        gap: 20px;
        /* Indents between tiles */
    }

    .achievements__card {
        /*aspect-ratio: 1 / 1;*/
        /* Make cards square */
        padding: 32px 36px;
        /* Explicitly set, matches desktop */
        /* Other internal styles like text sizes, icon sizes are inherited or remain as per desktop */
    }

    .achievements__card-number {
        font-size: 44px;
    }

    /* END ACHIEVEMENTS SECTION TABLET ADAPTATIONS --- */

    /* --- CTA SECTION TABLET ADAPTATIONS --- */
    .cta {
        margin-bottom: 56px;
        /* Space before Goals section */
        padding-left: 28px;
        padding-right: 28px;
    }

    .cta__container {
        padding-top: 40px;
        padding-bottom: 40px;
        /* Side paddings (28px) are handled by .container class at this breakpoint */
    }

    .cta__title {
        font-size: 40px;
        margin-bottom: 16px;
        /* Indent to text */
        max-width: 528px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta__text {
        font-size: 16px;
        margin-bottom: 32px;
        /* Indent to buttons */
    }

    .cta__actions {
        margin-bottom: 64px;
        /* Indent to logo ticker */
        /* display: flex; justify-content: center; align-items: center; gap: 20px; are global */
        /* If only one button is visible, gap is not critical but can be kept or removed */
    }

    /* Hide the secondary button on tablet */
    .cta__actions .cta__button--secondary {
        display: none;
    }

    .logo-ticker {
        /* -webkit-mask-image and mask-image are global */
    }

    .logo-ticker__item {
        width: 202px;
        /* New width for tablet */
    }

    /* END CTA SECTION TABLET ADAPTATIONS --- */
}

@media (max-width: 955px) {
    .achievements__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .achievements__card {
        aspect-ratio: 1 / 1;
    }

    .achievements__card-number {
        font-size: 64px;
    }

    /* --- GOALS SECTION TABLET ADAPTATIONS --- */
    .goals__grid {
        grid-template-columns: 1fr;
        /* From existing @1024px rule */
    }

    .goals__video-card {
        order: 1;
        /* Video on top */
        padding: 0;
        /* Remove padding from video card wrapper */
    }

    .goals__content {
        order: 2;
        /* Content below video */
        padding-top: 8px;
        /* Corrected tablet padding */
        padding-right: 28px;
        /* Corrected tablet padding */
        padding-bottom: 40px;
        /* Corrected tablet padding */
        padding-left: 28px;
        /* Corrected tablet padding */
    }

    .goals__title {
        /* Placeholder for tablet title styles */
    }

    .goals__text {
        /* Placeholder for tablet text styles */
        max-width: 100%;
    }

    .goals__button-wrapper {
        margin-top: 32px;
        /* From existing @1024px rule */
        /* No specific width or display needed if button itself is 100% */
    }
}

/* Delete this entire block as its rules are moved to max-width: 1279px */
/*
@media (max-width: 1024px) {
    .goals__grid {
        grid-template-columns: 1fr;
    }
    
    .goals__content {
        order: 2;
        padding-top: 8px;
        padding-right: 28px;
        padding-bottom: 40px;
        padding-left: 28px;
    }
    
    .goals__button-wrapper {
        margin-top: 32px;
    }
    
    .goals__video-card {
        order: 1;
        padding: 0 40px 40px 40px;
    }
}
*/

@media (max-width: 719px) {
    .goals__content {
        padding-top: 2px;
        /* Mobile padding */
        padding-right: 20px;
        /* Mobile padding */
        padding-bottom: 28px;
        /* Mobile padding */
        padding-left: 20px;
        /* Mobile padding */
    }
}

/* --- MOBILE HERO ADAPTATIONS --- */
@media (max-width: 720px) {

    /* Updated breakpoint to include 720px */
    .header__nav {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mobile-menu-toggle {
        width: 64px;
        /* Smaller fixed width for mobile left side */
    }

    .nav__list--right {
        width: 64px;
        /* Smaller fixed width for mobile right side, matching left */
    }

    .nav__list--right .telegram-button {
        display: flex;
        /* Ensure it's a block-level flex container */
        justify-content: center;
        /* Center icon horizontally */
        align-items: center;
        /* Center icon vertically */
        width: 48px;
        /* Explicit width */
        height: 48px;
        /* Explicit height */
        min-height: 48px;
        /* Ensure min-height matches */
        padding: 0 !important;
        /* Reset padding, size is controlled by width/height */
        border-radius: 50%;
    }

    .nav__list--right .telegram-button .telegram-button__text {
        display: none !important;
        /* Force hide the entire span */
    }

    .nav__list--right .telegram-button .tablet-mobile-only-icon {
        margin-right: 0 !important;
        /* Remove margin for mobile */
    }

    .nav__list--right .telegram-button .desktop-only-icon {
        display: none !important;
    }

    /* --- MOBILE HERO ADAPTATIONS --- */
    .hero {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 32px;
        margin-top: 80px;
        /* Account for fixed header */
        position: relative;
        /* Ensure pagination is positioned relative to hero */
        min-height: calc(100vh - 80px);
        /* Hero height = viewport - header height */
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        /* Align content to the bottom */
        margin-bottom: 48px;
        /* Adjusted for correct spacing to .studio */
    }

    .hero__content {
        width: 100%;
        /* Take full width of parent .hero's padded area */
        max-width: none;
        /* Override desktop max-width */
        /* position: relative; and z-index: 1; are inherited from desktop/tablet styles or not strictly needed here if content flows naturally */
    }

    .hero__title {
        font-size: 28px;
        /* Mobile title size */
        margin-bottom: 16px;
        /* Mobile gap */
    }

    .hero__subtitle {
        font-size: 16px;
        /* Mobile subtitle size */
        margin-bottom: 24px;
        /* Mobile space before button */
    }

    .hero__actions {
        width: 100%;
        margin-top: 0;
        /* Space handled by subtitle's margin-bottom */
        /* Reset flex properties from tablet if they were applied */
        display: block;
        /* Or flex with flex-direction: column if needed, but for single full-width button, block is simpler */
        gap: 0;
    }

    .hero__actions .button:first-child {
        width: 100%;
        /* Primary button takes full width */
        /* Reset tablet flex-grow/basis if they were applied */
        flex-grow: 0;
        flex-basis: auto;
    }

    .hero__actions .button:not(:first-child) {
        display: none;
        /* Hide secondary button */
    }

    /* Pagination moved to bottom, stretched across available width */
    .hero-pagination {
        /* REMOVE ALL EXISTING STYLES FROM HERE */
    }

    .hero-pagination .swiper-pagination-bullet {
        /* REMOVE ALL EXISTING STYLES FROM HERE */
    }

    .hero-pagination .swiper-pagination-bullet:first-child {
        /* REMOVE ALL EXISTING STYLES FROM HERE */
    }

    .hero-pagination .swiper-pagination-bullet:last-child {
        /* REMOVE ALL EXISTING STYLES FROM HERE */
    }

    .hero-pagination .swiper-pagination-bullet:hover {
        /* REMOVE ALL EXISTING STYLES FROM HERE */
    }

    /* Active bullet keeps higher opacity */
    .hero-pagination .swiper-pagination-bullet-active {
        /* REMOVE ALL EXISTING STYLES FROM HERE */
    }

    .hero-pagination .swiper-pagination-bullet-active:hover {
        /* REMOVE ALL EXISTING STYLES FROM HERE */
    }

    /* --- STUDIO SECTION MOBILE ADAPTATIONS --- */
    .studio {
        margin-bottom: 56px;
        /* Space before achievements, updated */
        margin-top: 0;
        /* Relies on preceding block's margin-bottom */
    }

    .studio__title {
        font-size: 36px;
        margin-bottom: 32px;
    }

    .studio__grid {
        grid-template-columns: 1fr;
        /* Stack cards vertically */
        gap: 20px;
        /* Indent between cards */
    }


    /* Explicit ordering for mobile */
    .studio__card:nth-child(1) {
        order: 1;
    }

    .studio__card:nth-child(2) {
        order: 2;
    }

    .studio__card:nth-child(4) {
        order: 3;
    }

    /* Text Card 2 in HTML is 4th child */
    .studio__card:nth-child(3) {
        order: 4;
    }

    /* Image Card 2 in HTML is 3rd child */

    .studio__card--text-icon {
        padding: 24px;
        /* Preserve padding from tablet */
        justify-content: space-between;
        /* Preserve vertical distribution */
        /* aspect-ratio: auto; REMOVED - now defaults to 1/1 from .studio__card */
    }

    .studio__card-icon {
        width: 40px;
        /* Preserve icon size */
        height: 40px;
        /* margin-bottom: 32px; is from desktop, preserved */
    }

    .studio__card {
        aspect-ratio: auto 16/9;
        /* Make cards square */
    }

    .studio__card-text {
        font-size: 20px;
        /* Adjusted for mobile readability */
        /* Other text properties like line-height, color, font-family inherited */
    }

    /* END STUDIO SECTION MOBILE ADAPTATIONS */

    /* --- GENERAL CONTAINER PADDING FOR MOBILE --- */
    .container,
    .cta,
    .goals__container,
    .services__container,
    .portfolio__container,
    .approach__container,
    .specifics__container,
    .team-member__container,
    .framework__container,
    .blog-preview__container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Note: .consulting .container will be covered by the .container rule above */

    /* --- ACHIEVEMENTS SECTION MOBILE ADAPTATIONS --- */
    .achievements {
        /* Global margin-bottom: 96px; will be inherited. If a different mobile-specific bottom margin is needed, specify here. */
    }

    .achievements__title {
        font-size: 36px;
        margin-bottom: 32px;
    }

    .achievements__grid {
        grid-template-columns: 1fr;
        /* Stack cards */
        gap: 20px;
        /* Indent between cards */
    }

    .achievements__card {
        aspect-ratio: auto 4/3;
        /* Maintain square shape */
        padding: 32px 28px;
        /* Maintain padding */
        /* Consider adjusting internal font sizes for very small screens if 84px number is too large */
    }

    /* END ACHIEVEMENTS SECTION MOBILE ADAPTATIONS --- */

    /* --- CTA SECTION MOBILE ADAPTATIONS --- */
    .cta {
        /* Mobile specific margin for the section wrapper if needed, */
        /* otherwise, spacing is handled by previous section's margin-bottom */
        /* padding-left: 16px; padding-right: 16px; are already set from general mobile container rule */
        margin-bottom: 48px;
        /* Space before Goals section */
    }

    .cta__container {
        padding-top: 32px;
        padding-bottom: 32px;
        padding-left: 28px;
        /* Specific for CTA container on mobile */
        padding-right: 28px;
        /* Specific for CTA container on mobile */
    }

    .cta__title {
        font-size: 32px;
        margin-bottom: 16px;
        max-width: 100%;
        /* Allow full width flow on mobile */
    }

    .cta__text {
        font-size: 18px;
        margin-bottom: 32px;
        /* Corrected indent to buttons */
    }

    .cta__actions {
        margin-bottom: 64px;
        /* Maintained from tablet, space to logo ticker */
        /* display: flex; justify-content: center; are global. */
        /* Primary button will be full width, secondary hidden. */
    }

    .cta__actions .cta__button--primary {
        width: 100%;
    }

    .cta__actions .cta__button--secondary {
        display: none;
        /* Ensure it remains hidden on mobile */
    }

    .logo-ticker__item {
        width: 144px;
    }

    /* END CTA SECTION MOBILE ADAPTATIONS --- */

    /* --- GOALS SECTION MOBILE ADAPTATIONS --- */
    .goals__title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .goals__text {
        font-size: 16px;
        margin-bottom: 24px;
        margin-top: 0;
        /* Remove top margin for mobile */
    }

    .goals__button-wrapper {
        margin-top: 0;
        /* Space before button now handled by .goals__text margin-bottom */
    }

    /* Other .goals styles like grid, card order, padding, button width are inherited from tablet or global */
    /* END GOALS SECTION MOBILE ADAPTATIONS --- */

}

/* NEW RESPONSIVE STYLES FOR Sales Specifics to match Benefits section */
@media (max-width: 1024px) {
    .sales-specifics {
        margin-bottom: 56px;
        /* Matches .benefits */
    }

    .specifics__container {
        /* padding handled by general .container rules */
    }

    .specifics__header {
        margin-bottom: 40px;
        /* Matches .benefits__title margin */
    }

    .specifics__title {
        font-size: 48px;
        /* Matches .benefits__title */
        margin-bottom: 16px;
        /* Space for subtitle, if present */
    }

    .specifics__text {
        /* Subtitle styling */
        font-size: 18px;
        /* Consistent subtitle size */
        /* margin-bottom: 0; (if needed, or rely on header margin) */
    }

    .specifics__grid {
        /* grid-template-columns: 1fr; */
        /* Single column like .benefits */
        gap: 20px;
        /* Matches .benefits grid gap */
    }

    .specifics__card {
        /* Padding and background inherited or can be explicitly set if different */
    }

    .specifics__card-title {
        font-size: 20px;
        /* Matches .benefits__card-title */
        max-width: 480px;
        /* Matches .benefits */
    }

    .specifics__card-description {
        font-size: 16px;
        /* Matches .benefits__card-text */
        max-width: 480px;
        /* Matches .benefits */
    }
}

@media (max-width: 600px) {
    .sales-specifics {
        margin-bottom: 48px;
        /* Matches .benefits */
    }

    .specifics__header {
        margin-bottom: 32px;
        /* Matches .benefits__title margin */
    }

    .specifics__title {
        font-size: 28px;
        /* Matches .benefits__title */
        margin-bottom: 12px;
        /* Adjusted for subtitle presence */
    }

    .specifics__grid {
        grid-template-columns: 1fr;
    }

    .specifics__text {
        font-size: 16px;
        /* Mobile subtitle size */
    }

    /* Card grid and card content styles inherit from 1024px or base, similar to .benefits behavior */
    /* Inside your existing @media (max-width: 767px) block */
    .discuss {
        margin-bottom: 48px;
        /* Ensures 48px space after discuss sections on mobile */
        /* ... any other existing .discuss mobile styles ... */
    }
}

/* --- Footer First Floor --- */
.footer-first-floor {
    width: calc(100vw - 16px);
    background-color: #76BF6D;
    border-radius: 32px;
    padding: 44px 56px 12px 56px;
    margin-left: calc(-50vw + 50% + 8px);
    margin-right: calc(-50vw + 50% + 8px);
}

.footer-first-floor__content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.footer-first-floor__left {
    flex: 1;
}

.footer-first-floor__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 1.2;
    color: #11230E;
    margin: 0;
}

.footer-first-floor__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-first-floor__form {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 8px;
}

.footer-first-floor__phone {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.45;
    color: #11230E;
    background: transparent;
    border: 2px solid #11230E;
    border-radius: 20px;
    padding: 16px 32px;
    outline: none;
    min-width: 200px;
}

.footer-first-floor__phone::placeholder {
    color: #11230E;
    opacity: 0.7;
}

.footer-first-floor__button {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.45;
    color: #FFFFFF;
    background-color: #11230E;
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.footer-first-floor__button:hover {
    background-color: #0A1508;
}

.footer-first-floor__privacy {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 1.45;
    color: #11230E;
    opacity: 0.5;
    margin: 0;
    text-align: right;
    max-width: 380px;
}

.footer-first-floor__privacy-link {
    color: inherit;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer-first-floor__privacy-link:hover {
    opacity: 0.8;
}

/* --- Footer First Floor Responsive --- */

/* Tablet (720px - 1279px) */
@media (max-width: 1279px) {
    .footer-first-floor {
        padding: 40px 28px 12px 28px;
        border-radius: 32px;
    }

    .footer-first-floor__content {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .footer-first-floor__left {
        text-align: center;
    }

    .footer-first-floor__title {
        font-size: 48px;
    }

    .footer-first-floor__right {
        align-items: center;
    }

    .footer-first-floor__form {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        max-width: 400px;
    }

    .footer-first-floor__phone {
        width: 100%;
    }

    .footer-first-floor__button {
        width: 100%;
    }

    .footer-first-floor__privacy {
        text-align: center;
        max-width: 400px;
    }
}

/* Mobile (< 720px) */
@media (max-width: 719px) {
    .footer-first-floor {
        padding: 32px 16px 12px 16px;
        border-radius: 32px;
    }

    .footer-first-floor__content {
        gap: 24px;
    }

    .footer-first-floor__title {
        font-size: 36px;
        line-height: 1.1;
    }

    .footer-first-floor__form {
        max-width: 100%;
        gap: 12px;
    }

    .footer-first-floor__phone {
        padding: 14px 24px;
        font-size: 14px;
        border-radius: 16px;
    }

    .footer-first-floor__button {
        padding: 14px 24px;
        font-size: 14px;
        border-radius: 40px;
    }

    .footer-first-floor__privacy {
        font-size: 10px;
        max-width: 100%;
        margin-top: 4px;
    }
}

/* --- Footer Second Floor --- */
.footer-second-floor {
    width: calc(100vw - 16px);
    background-color: #081207;
    border-radius: 32px;
    padding: 128px 56px 56px 56px;
    margin-left: calc(-50vw + 50% + 8px);
    margin-right: calc(-50vw + 50% + 8px);
    margin-bottom: 8px;
}

.footer-second-floor__content {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-second-floor__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 240px;
}

.footer-second-floor__left {
    grid-column: 1 / 2;
}

.footer-second-floor__logo {
    margin-bottom: 28px;
}

.footer-second-floor__description {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.45;
    color: #FFFFFF;
    margin: 0;
    max-width: 400px;
}

.footer-second-floor__column {
    display: flex;
    flex-direction: column;
}

.footer-second-floor__column-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.45;
    color: #FFFFFF;
    opacity: 0.5;
    margin: 0 0 16px 0;
    text-transform: uppercase;
}

.footer-second-floor__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-second-floor__link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.45;
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-second-floor__link:hover {
    opacity: 0.7;
}

.footer-second-floor__contacts .footer-second-floor__contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-second-floor__contact-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer-second-floor__bottom {
    display: flex;
    justify-content: space-between;
}

.footer-second-floor__bottom-left,
.footer-second-floor__bottom-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-second-floor__bottom-text,
.footer-second-floor__bottom-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.45;
    color: #B3B3B3;
    text-decoration: none;
}

.footer-second-floor__bottom-link:hover {
    opacity: 0.7;
}

.footer-second-floor__divider {
    color: #B3B3B3;
    font-size: 13px;
}

/* --- Footer Second Floor Responsive --- */

/* Tablet (720px - 1279px) */
@media (max-width: 1279px) {
    .footer-second-floor {
        padding: 80px 28px 40px 28px;
        border-radius: 32px;
    }

    .footer-second-floor__top {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }

    .footer-second-floor__left {
        grid-column: 1 / -1;
        text-align: left;
    }

    .footer-second-floor__description {
        font-size: 20px;
        max-width: 380px;
        margin: 0;
    }

    .footer-second-floor__column {
        text-align: left;
    }

    .footer-second-floor__list {
        align-items: flex-start;
    }

    .footer-second-floor__bottom {
        flex-direction: column;
        gap: 32px;
        text-align: left;
    }

    .footer-second-floor__bottom-left,
    .footer-second-floor__bottom-right {
        display: flex;
        align-items: start;
        justify-content: space-between;
    }

}

/* Mobile (< 720px) */
@media (max-width: 719px) {
    .footer-second-floor {
        padding: 56px 16px 32px 16px;
        border-radius: 32px;
    }

    .footer-second-floor__top {
        gap: 32px;
        margin-bottom: 56px;
    }

    .footer-second-floor__description {
        font-size: 18px;
        line-height: 1.4;
    }

    .footer-second-floor__column-title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .footer-second-floor__link {
        font-size: 14px;
    }

    .footer-second-floor__list {
        gap: 12px;
    }

    .footer-second-floor__bottom {
        gap: 12px;
        align-items: flex-start;
        align-items: left;
    }

    .footer-second-floor__bottom-left,
    .footer-second-floor__bottom-right {
        flex-direction: column;
        gap: 4px;
        align-items: left;
        text-align: left;
    }

    .footer-second-floor__bottom-text,
    .footer-second-floor__bottom-link {
        font-size: 11px;
    }

    .footer-second-floor__divider {
        display: none;
    }
}

/* ===== MOBILE MENU STYLES ===== */
.mobile-menu-overlay {
    position: fixed;
    top: 80px;
    /* Start below the header */
    left: 0;
    width: 100%;
    height: calc(100% - 80px);
    /* Adjust height to account for header */
    background-color: #231F1B;
    z-index: 999;
    /* Lower than header z-index */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* For desktop screens where header is different */
@media (min-width: 1280px) {
    .mobile-menu-overlay {
        top: 0;
        height: 100%;
    }
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu__content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    padding: 0;
}

/* Navigation Section */
.mobile-menu__nav-section {
    padding-top: 16px;
    padding-left: 28px;
    padding-right: 28px;
}

/* Adjust padding for mobile/tablet since menu starts below header */
@media (max-width: 1279px) {
    .mobile-menu__nav-section {
        padding-top: 16px;
        /* 16px spacing from the header bottom */
    }
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
}

.mobile-menu__nav-item {
    display: block;
    text-decoration: none;
    padding: 24px 0;
    width: 100%;
}

.mobile-menu__nav-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    color: #ffffff;
}

.mobile-menu__divider {
    width: 100%;
    height: 1px;
    background-color: #464646;
}

/* Contact Section */
.mobile-menu__contact-section {
    padding: 20px 20px 32px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu__address-block {
    background-color: #393939;
    border-radius: 20px;
    padding: 20px 28px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu__address-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.mobile-menu__studio-name {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 145%;
    color: rgba(255, 255, 255, 0.5);
}

.mobile-menu__arrow-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.mobile-menu__address-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    color: #ffffff;
}

/* Contact Buttons */
.mobile-menu__buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu__buttons-row {
    display: flex;
    gap: 16px;
}

.mobile-menu__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 72px;
    border-radius: 22px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0 20px;
}

.mobile-menu__button--outline {
    flex: 1;
    background: transparent;
    border: 2px solid #63A157;
}

.mobile-menu__button--filled {
    width: 100%;
    background-color: #63A157;
    border: 2px solid #63A157;
}

.mobile-menu__button-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.mobile-menu__button-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    color: #ffffff;
}

/* Hide mobile menu by default on larger screens */
@media (min-width: 1280px) {
    .mobile-menu-overlay {
        display: none;
    }
}

#discuss,
#discuss-secondary,
#discuss-footer {
    scroll-margin-top: 150px;
    /* Добавляем отступ сверху */
}

.just-validate-error-label {
    position: absolute;
    font-size: 12px;
    padding-top: 5px;
}

#discussForm4 .just-validate-error-label {
    top: -30px;
}

/* Добавлено */
.mfp-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    z-index: 1042;
}

.mfp-bg {
    /*  Добавлено чтобы растянуть фон на всю высоту */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1041;
    background: #0b0b0b;
    opacity: 0.8;
}

.popup-with-animation {
    position: relative;
    background: #fff;
    padding: 20px;
    width: 100%;
    height: 100%;
    /*  Задаем фиксированную высоту */
    max-width: none;
    margin: 0;
    box-sizing: border-box;
    overflow-y: auto;
    /* Добавляем прокрутку, если контент не помещается */
}

.mfp-container {
    padding: 0;
}

.mfp-content {
    height: 100%;
    display: flex;
    /*  Чтобы контент занимал всю высоту */
    flex-direction: column;
    /*  Чтобы контент занимал всю высоту */
    position: absolute;
    top: 0;
}

/* Анимация выезда слева направо */
.mfp-fade.mfp-with-zoom .mfp-content {
    opacity: 0;
    transform: translateX(-100%);
    transition: all 1.8s ease-in-out;
    /*  Обязательно добавляем transition */
}

.mfp-fade.mfp-with-zoom.mfp-ready .mfp-content {
    opacity: 1;
    transform: translateX(0);
}

.mfp-fade.mfp-with-zoom.mfp-removing .mfp-content {
    opacity: 0;
    transform: translateX(-100%);
}

@media screen and (max-width: 800px) {
    .mfp-wrap {
        width: 100%;
    }
}

.team-member__quote {
    aspect-ratio: unset;
    display: flex;
    flex-direction: column;
    padding: 48px 56px;
    background-color: #424147;
}

.team-member__quote-top {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: auto;
}

.team-member__quote-picture {
    flex: 0 0 auto;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    overflow: hidden;
}

.team-member__quote-picture>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member__quote-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-member__quote-title {
    font-weight: 600;
    font-size: 27px;
    line-height: 130%;
    color: #F9FBED;
}

.team-member__quote-desc {
    font-weight: 500;
    font-size: 16px;
    line-height: 145%;
    color: rgba(249, 251, 237, 0.35);
}

.team-member__quote-body {
    position: relative;
    margin-top: 43px;
    padding: 48px 0;
    font-size: 16px;
    line-height: 150%;
    color: #F9FBED;
}

.team-member__quote-body p:not(:last-child) {
    margin-bottom: 20px;
}

.team-member__quote-body:before,
.team-member__quote-body:after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.team-member__quote-body:before {
    top: 0;
    left: 0;
    background-image: url('data:image/;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIVSURBVHgB7ZjhUcJAEIXfRQuwBKxArUDsgA7UCtQCIDkpQKgArECsgJSAHWAFYgOc74A4TCSX3LHwx/tmmGQuM2+ze7u3S4BIJBKJRP47WZad2R+E8NE7xR5YI0qpgVK4XS7NgEtP2IMQPYVA0jR9PDlJUt7+RopGb/gSOQII1fPegXWU8MZItcvPksRc8pLDg331vBygsVaSqClvW9vrxmBOY/fdrs7hgYRegoY4jA2NMVfdrl/qSOk1qgGHMc3czeCJpF6jHWCOjiD08tJ6tTuwOR1eSsbmXD9HANJ6ziLebPVDeZ05eoMApPUszhTi0ZahtNU0N+aLzBGAtJ6lxgFcl9eWSwwRiLSepdIBRqWDHecz12cIQFqvoNIBRqv9d83kCERar8BVxBflBWNUS+tsyly2Ld7OLAsW4IyRfGUkx3Ajrbei8hh9ftZf2Bqs6rDpYE+TqoKU1itwFbHXfM8UaTGSU3tUHklvReNZyMPoCEI00XM5sECY0Taj1j6C3gqXA98IZDPHH1pv/azqAQsoRzDq4tB6Ba4+kEMQab2CSgfY4icIzFsegZ+H1itwjRK2qQTNKTQ4ObReQe3/Aa31dNcY4OC910s7x9Kr7QOM2j0vczTAdk9+Cnk8pl6tA7aV2+8zFMtRY6xJ65fW8/qw1e9nHQ5gd7y1c/1q+OLvgyU66fX0AJ5I60UikUgkEol48gNtmGWOKb+euwAAAABJRU5ErkJggg==');
}

.team-member__quote-body:after {
    right: 0;
    bottom: 0;
    background-image: url('data:image/;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAImSURBVHgB7ZjLTcNAEIZnAgWEDkwHcOOGc+QEHQAVkAr8kjgDFRA6oAOcCggduIQUkOzyD8SSceLXem0JaT8pcrLZ/H/WM7MPEzkcDofD4XAYw207Jkk415qvmfkMH6d4rYl0qhS9RVH0Th2xpdc4AIh5kwl/4K1X1UdrSrXW9+ib0ch63NesYJrBdFZnaltPmNR+OaGnNmYCM3lIh9cx9YSjqi8eH6Mz5OgzdUBMfd/nFAytl1MZgc2GbsgA3LUHhH06tF5OXQp5ZMYUqXIzgt4PtTXQg0uyS6Ve5QCY9YqMYX9ovZzKASjFPQxpOrReTuUAUDipLChkydC2Xk5tDchqiEtGlrCtJ9QOQFZBpfTMwHQ9hp7QOAuJaRCEp7h/cveWBTG5LrHYpAd+9jWW3jG1JAiiBS6Lcnscxwsu7aiQKo0Fa0uv9zoAs705ukexdtZrfR44hOxvtlv+LJllYSgpMo5erwhsNjwvt2HBSskQE73WNVBG9vYI922x7XcPTzEZYKpnPIDdweQP2Dm+INwZGWCqZ5RCmClC2t9dLoMg6LTft6HXOQJihlBHxbbd8e+ODOir13oAu0OFmM0PmDWeXYfSazWNQsxHjsr51OtjNoReYw0kSTKveJKwhNl51z9vW68xhZRSKxgWm7Bn4di0YG3rHTV1wAOBzPdnJ8jVCwR5gSdnV5jaUjLEtl6rIkZoI+QnohutyQK29RwOh8Ph+Ld8AzYpdyErDwIQAAAAAElFTkSuQmCC');
}

@media screen and (max-width: 1250px) {
    .team-member__quote {
        padding: 24px;
    }

    .team-member__quote-top {
        gap: 24px;
    }

    .team-member__quote-title {
        font-size: 24px;
    }

    .team-member__quote-body {
        padding: 24px 0;
    }
}

@media screen and (max-width: 500px) {
    .team-member__quote-picture {
        width: 90px;
        height: 90px;
    }

    .team-member__quote-wrap {
        gap: 8px;
    }

    .team-member__quote-body {
        margin-top: 15px;
    }

    .team-member__quote-title {
        font-size: 20px;
    }

    .team-member__quote-desc {
        font-size: 14px;
    }

    .team-member__quote-body {
        font-size: 14px;
    }

    .team-member__quote-body p:not(:last-child) {
        margin-bottom: 12px;
    }
}

@media screen and (max-width: 400px) {
    .team-member__quote {
        padding: 12px;
    }

    .team-member__quote-picture {
        width: 75px;
        height: 75px;
    }

    .team-member__quote-top {
        gap: 12px;
    }
}

@media screen and (max-width: 350px) {
    .team-member__title {
        font-size: 30px;
    }

    .team-member__quote-top {
        flex-direction: column;
    }
}

.seo-card {
    padding: 32px 36px;
    border-radius: 32px;
    background-color: #EAEBE6;
}

.seo-card__goal {
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    color: #223443;
    opacity: 0.25;
}

.seo-card__title {
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 32px;
    line-height: 125%;
    color: #223443;
}

.seo-card__desc {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 16px;
    line-height: 145%;
    color: #000000;
}

.seo-card__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 145%;
    color: #000000;
}

.seo-card__list-item {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 12px;
}

.seo-card__list-item:before {
    content: '';
    position: absolute;
    left: 0;
    width: 4px;
    height: 4px;
    background-color: #000;
    border-radius: 50%;
    margin-right: 8px;
}

@media screen and (max-width: 600px) {
    .seo-card {
        padding: 24px;
    }

    .seo-card__goal {
        font-size: 18px;
    }

    .seo-card__title {
        margin-bottom: 12px;
        font-size: 28px;
    }

    .seo-card__desc {
        margin-bottom: 10px;
    }

    .seo-card__list {
        font-size: 15px;
    }
}

.portfolio__grid {
    counter-reset: item;
}

.portfolio__card.portfolio__card-flex {
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 32px 24px;
    border: 1px solid #EEEEEE;
    border-radius: 32px;
    counter-increment: item;
    overflow: hidden;
    transition: 0.3s;
}

.portfolio__card.portfolio__card-flex:before {
    content: counter(item, decimal-leading-zero) " ";
    flex: 0 0 auto;
    font-size: 16px;
    line-height: 145%;
    color: #0E202F;
    opacity: 0.25;
    transition: 0.3s;
}

.portfolio__card.portfolio__card-flex:after {
    content: '';
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55));
    opacity: 0;
    transition: 0.3s;
}

.portfolio__card-flex .portfolio__card-bg {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: 0.3s;
}

.portfolio__card:not(:last-child) {
    margin-bottom: 28px;
}

.portfolio__card-flex .portfolio__card-content {
    flex: 1;
    max-width: unset;
    display: grid;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 0;
}

.portfolio__card-flex .portfolio__card-icon {
    background-color: #F7F7F7;
    transition: 0.3s;
}

.portfolio__card-flex .portfolio__card-icon svg {
    opacity: 0.25;
    transition: 0.3s;
}

.portfolio__card-flex .portfolio__card-icon svg path {
    transition: 0.3s;
}

.portfolio__card-flex .portfolio__card-title {
    margin-bottom: 0;
    font-size: 28px;
    transition: 0.3s;
}

.portfolio__card-flex .portfolio__card-description {
    max-width: 480px;
    transition: 0.3s;
}

@media screen and (min-width: 1100px) {

    .portfolio__card.portfolio__card-flex:hover:after,
    .portfolio__card.portfolio__card-flex:hover .portfolio__card-bg {
        z-index: 0;
        opacity: 1;
    }

    .portfolio__card.portfolio__card-flex:hover>* {
        z-index: 1;
    }

    .portfolio__card.portfolio__card-flex:hover:before {
        z-index: 1;
        color: #fff;
        opacity: 0.75;
    }

    .portfolio__card.portfolio__card-flex:hover .portfolio__card-title {
        color: #fff;
    }

    .portfolio__card.portfolio__card-flex:hover .portfolio__card-description {
        color: #fff;
    }

    .portfolio__card.portfolio__card-flex:hover .portfolio__card-icon {
        background-color: rgba(247, 247, 247, 0.4);
        backdrop-filter: blur(14px);
    }

    .portfolio__card.portfolio__card-flex:hover .portfolio__card-icon svg {
        opacity: 0.75;
    }

    .portfolio__card.portfolio__card-flex:hover .portfolio__card-icon svg path {
        fill: #fff;
    }
}

@media screen and (max-width: 1100px) {
    .portfolio__card.portfolio__card-flex {
        gap: 24px;
    }

    .portfolio__card-flex .portfolio__card-title {
        font-size: 24px;
    }
}

@media screen and (max-width: 955px) {
    .portfolio__card.portfolio__card-flex .portfolio__card-icon {
        align-self: unset;
    }

    .portfolio__card.portfolio__card-flex .portfolio__card-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .portfolio__card-flex .portfolio__card-description {
        max-width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .portfolio__card.portfolio__card-flex {
        align-items: flex-start;
        gap: 12px;
        padding: 24px;
    }
}

@media screen and (max-width: 400px) {
    .portfolio__card-flex .portfolio__card-title {
        font-size: 20px;
    }
}

.goals__slider {
    max-width: 644px;
    height: 100%;
    display: flex;
    align-items: center;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    background-color: #18181B;
    overflow: hidden;
}

.goals__slider-swiper {
    height: 100%;
}

.goals__slider-swiper-wrapper {
    height: 100%;
}

.goals__slider-swiper-slide {
    width: 1031px !important;
    height: 100%;
    padding: 32px 0 32px 16px;
}

.goals__slider-swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
    border-radius: 16px;
    /* transform: scale(0.9); */
}

@media screen and (max-width: 1150px) {
    .goals__slider {
        max-width: 520px;
    }
}

@media screen and (max-width: 955px) {
    .goals__slider {
        max-width: unset;
        aspect-ratio: unset;
    }
}

/* End */


/* Start:/local/templates/main/css/custom.css?1768393883910*/
.form_result{
    text-align: center;
    font-size: 20px;
    color: #FFF;
}
#bx-panel.bx-panel-fixed{
    z-index: 10000000!important;
}
.footer-second-floor__description {
    font-size: 20px;
}

.cookie {
    background: #fff;
    border-radius: 8px;
    padding: 2.0rem 3rem;
    max-width: 1200px;
    width: 96%;
    margin-left: auto;
    margin-right: auto;
    position: fixed;
    line-height: 1.5;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 8rem;
    display: flex;
    align-items: center;
    z-index: 14;
    opacity: 0;
    pointer-events: none;
    transition: all .2s ease;
    box-shadow: 0 5px 23px -3px rgb(0 0 0 / 30%);
}

.cookie.active {
    opacity: 1;
    pointer-events: all;
}
.cookie__desc {
    color: #909294;
    font-size:0.9rem;
    font-weight: 400;
}
.cookie .btn {
    flex-shrink: 0;
    margin-left: 40px;
}
.team-member__text p {
    margin-bottom: 1rem;
}
/* End */
/* /local/templates/main/css/style.css?1769427962124484 */
/* /local/templates/main/css/custom.css?1768393883910 */
