/* Fonts */
/* Montserrat Thin */
@font-face {
    font-family: 'Montserrat';
    src: url('Исходники Ольга Художник/fonts/Montserrat-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

/* Montserrat ExtraLight */
@font-face {
    font-family: 'Montserrat';
    src: url('Исходники Ольга Художник/fonts/Montserrat-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Исходники Ольга Художник/fonts/Montserrat-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
}

/* Montserrat Light */
@font-face {
    font-family: 'Montserrat';
    src: url('Исходники Ольга Художник/fonts/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Исходники Ольга Художник/fonts/Montserrat-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

/* Montserrat Regular */
@font-face {
    font-family: 'Montserrat';
    src: url('Исходники Ольга Художник/fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Исходники Ольга Художник/fonts/Montserrat-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

/* Montserrat Medium */
@font-face {
    font-family: 'Montserrat';
    src: url('Исходники Ольга Художник/fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Исходники Ольга Художник/fonts/Montserrat-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

/* Montserrat SemiBold */
@font-face {
    font-family: 'Montserrat';
    src: url('Исходники Ольга Художник/fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Исходники Ольга Художник/fonts/Montserrat-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
}

/* Montserrat Bold */
@font-face {
    font-family: 'Montserrat';
    src: url('Исходники Ольга Художник/fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Исходники Ольга Художник/fonts/Montserrat-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

/* Montserrat ExtraBold */
@font-face {
    font-family: 'Montserrat';
    src: url('Исходники Ольга Художник/fonts/Montserrat-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Исходники Ольга Художник/fonts/Montserrat-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
}

/* Montserrat Black */
@font-face {
    font-family: 'Montserrat';
    src: url('Исходники Ольга Художник/fonts/Montserrat-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Исходники Ольга Художник/fonts/Montserrat-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

/* Coolvetica для заголовков */
@font-face {
    font-family: 'Coolvetica';
    src: url('Исходники Ольга Художник/fonts/шрифт для заголовков/coolvetica rg.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #000;
    background-color: #fff;
    line-height: 1.6;
    padding-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
    box-shadow: -3px 21px 50px 0px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.logo p {
    font-size: 14px;
    color: #333;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.7;
}

.btn-request {
    background-color: #000;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 4px;
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
    display: none;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-toggle .burger-icon {
    opacity: 1;
}

.mobile-menu-toggle .cross-icon {
    opacity: 0;
}

.mobile-menu-toggle.active .burger-icon {
    opacity: 0;
}

.mobile-menu-toggle.active .cross-icon {
    opacity: 1;
}

/* Заголовок внутри мобильного меню (скрыт по умолчанию на ПК) */
.nav-header-mobile {
    display: none;
}

.nav-mobile-logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.nav-mobile-logo {
    width: 120px;
    height: auto;
    object-fit: contain;
}

/* Hero Section */
.hero {
    padding: 200px 0 100px;
    margin-top: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    min-height: 600px;
}

.hero-title {
    font-family: 'Coolvetica', 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 52px;
    margin-bottom: 30px;
    letter-spacing: 2.4px;
    max-width: 389px;
}

.hero-title span {
    display: block;
}

.hero-description {
    font-size: 18px;
    color: #000;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    font-family: 'Montserrat', sans-serif;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #000;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #000;
    border: none;
    box-shadow: -3px 21px 50px 0px rgba(0, 0, 0, 0.05);
}

.btn:hover {
    opacity: 0.8;
}

.hero-image {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 700px;
    border-radius: 16px;
    object-fit: contain;
    display: block;
}

.video-placeholder {
    width: 100%;
    height: 400px;
    background-color: #f5f5f5;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 80px;
    height: 80px;
    background-color: rgba(128, 128, 128, 0.8);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 389px;
}

.about-image {
    order: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.about-text {
    order: 2;
}

.section-title {
    font-family: 'Coolvetica', 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: 2px;
    margin-bottom: 0;
    text-transform: uppercase;
}

.why .section-title {
    width: 1440px;
    max-width: 100%;
    height: 47px;
    font-family: 'Coolvetica', 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 400;
    font-style: normal;
    line-height: 100%;
    letter-spacing: 2px;
    text-align: center;
    margin: 0 auto;
}

.why .section-title .mobile-br {
    display: none;
}

.process .section-title {
    width: 1440px;
    max-width: 100%;
    height: 36px;
    font-family: 'Coolvetica', 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 400;
    font-style: normal;
    line-height: 36px;
    letter-spacing: 2px;
    text-align: center;
    margin: 0 auto;
}

.portfolio .section-title {
    width: 1440px;
    max-width: 100%;
    height: 36px;
    font-family: 'Coolvetica', 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 400;
    font-style: normal;
    line-height: 36px;
    letter-spacing: 2px;
    text-align: center;
    margin: 0 auto;
}

.reviews .section-title {
    width: 1440px;
    max-width: 100%;
    height: 36px;
    font-family: 'Coolvetica', 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 400;
    font-style: normal;
    line-height: 36px;
    letter-spacing: 2px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 24px;
}

.about-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    line-height: 28px;
    letter-spacing: 0;
    margin-bottom: 0;
    max-width: 389px;
}

.social-icons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.3s;
    box-sizing: border-box;
}

.social-icon:hover,
.social-icon:focus,
.social-icon:active,
.social-icon:visited {
    text-decoration: none;
    color: inherit;
}

.social-icon:hover {
    opacity: 0.8;
}

.social-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

/* Текст подписи у иконок в блоке "О художнике" прячем на ПК */
.about .social-icon-text {
    display: none;
}

.instagram {
    background-color: #000;
}

.telegram {
    background-color: #000;
}

/* Process Section */
.process {
    padding: 100px 0;
    background-color: #fafafa;
}

.center {
    text-align: center;
}

.process-steps {
    display: flex;
    flex-direction: row;
    width: 1440px;
    max-width: 100%;
    height: auto;
    min-height: 218px;
    padding: 0 125px;
    gap: 61px;
    margin: 60px auto 0 auto;
    justify-content: center;
    align-items: stretch;
}

.process-step {
    text-align: center;
    width: calc((1440px - 250px - 183px) / 4);
    max-width: 100%;
    flex-shrink: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-number img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0;
    margin-bottom: 15px;
    text-align: center;
    max-width: 258px;
    margin-left: auto;
    margin-right: auto;
}

.step-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Why Section */
.why {
    padding: 100px 0;
}

.why-items {
    display: flex;
    flex-direction: row;
    width: 1440px;
    max-width: 100%;
    height: auto;
    min-height: 368px;
    gap: 65px;
    margin: 60px auto 0 auto;
    justify-content: center;
    align-items: stretch;
}

.why-item {
    width: 377px;
    height: 368px;
    min-height: 368px;
    text-align: left;
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: -3px 21px 50px 0px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.why-icon {
    width: 60px;
    height: 60px;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.why-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0;
    margin-bottom: 15px;
}

.why-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 130%;
    letter-spacing: 0;
}

.why-quote {
    text-align: center;
    font-size: 16px;
    color: #B4B4B4;
    font-style: italic;
    margin-top: 60px;
    padding: 0 20px;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background-color: #fafafa;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 1440px;
    max-width: 100%;
    height: auto;
    min-height: 673px;
    padding: 0 87px;
    gap: 33px;
    margin: 60px auto 0 auto;
    box-sizing: border-box;
}

.portfolio-item {
    position: relative;
    overflow: visible;
    border-radius: 16px;
    cursor: pointer;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.portfolio-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 16px;
    background-color: #f5f5f5;
}

.portfolio-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 16px;
    background-color: #f5f5f5;
}

.portfolio-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 16px;
    background-color: #f5f5f5;
}

.portfolio-shadow {
    display: none;
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    z-index: 1;
    pointer-events: none;
    border-radius: 0 0 16px 16px;
    background: transparent;
    box-shadow: none;
    opacity: 0;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}


.portfolio-image-top {
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-images-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.portfolio-image-grid-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.portfolio-category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 15%, rgba(0, 0, 0, 0.25) 30%, rgba(0, 0, 0, 0.1) 40%, transparent 50%);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    box-sizing: border-box;
    border-radius: 0 0 8px 8px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-bottom: 30px;
}

.portfolio-number {
    display: none;
}

.portfolio-category-text {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    line-height: 1.4;
}

.portfolio-item:hover .portfolio-image-top {
    transform: translateY(-100%);
}

.portfolio-item:hover .portfolio-images-grid {
    transform: translateY(0);
}


.portfolio-item:hover .portfolio-shadow {
    opacity: 0;
}

.portfolio-item:hover .portfolio-category-overlay {
    opacity: 1;
}

.portfolio-image.video-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
}

.portfolio-button-wrapper {
    text-align: center;
    margin-top: 60px;
}

.portfolio-order-btn {
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.portfolio-order-btn:hover {
    background-color: #333;
    opacity: 1;
}

/* Reviews Section */
.reviews {
    padding: 120px 0;
    overflow: hidden;
}

.reviews-carousel-wrapper {
    position: relative;
    margin-top: 80px;
    width: 1440px;
    max-width: 100%;
    height: auto;
    min-height: 218px;
    overflow: visible;
    padding: 50px 100px 80px 100px;
    margin-left: auto;
    margin-right: auto;
}

.reviews-carousel {
    width: 100%;
    overflow: visible;
    cursor: grab;
    user-select: none;
    margin: 0;
    padding: 0;
}

.reviews-carousel:active {
    cursor: grabbing;
}

.reviews-track {
    display: flex;
    flex-direction: row;
    transition: transform 0.5s ease-out;
    gap: 61px;
    will-change: transform;
    margin: 0;
    padding: 50px 0 80px 0;
    align-items: center;
}

.review-item {
    background-color: #fff;
    padding: 0;
    border-radius: 24px;
    width: 75%;
    max-width: 1100px;
    min-width: 75%;
    height: 500px;
    flex-shrink: 0;
    box-sizing: border-box;
    box-shadow: -3px 21px 50px 0px rgba(0, 0, 0, 0.05);
    overflow: visible;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.6;
    transform: scale(0.95);
    position: relative;
}

.review-item.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: -3px 21px 50px 0px rgba(0, 0, 0, 0.05);
}

.review-item-left {
    flex-direction: row;
}

.review-item-right {
    flex-direction: row;
}

.review-item.review-image-only {
    padding: 0;
    background-color: transparent;
    box-shadow: none;
}


.review-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 39px;
    padding-right: 125px;
    padding-bottom: 38px;
    padding-left: 36px !important;
    margin-left: -150px;
    justify-content: space-between;
    width: 55%;
    max-width: 800px;
    min-width: 0;
    box-sizing: border-box;
    height: 100%;
}

.review-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0;
    margin-bottom: 24px;
    margin-top: 0;
    margin-left: 0;
    color: #000;
    max-width: 185px;
    padding: 0;
    padding-left: 0;
    line-height: 1.3;
}

.review-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    line-height: 130%;
    letter-spacing: 0;
    margin-bottom: 20px;
    margin-left: 0;
    padding: 0;
    padding-left: 0;
    flex-grow: 1;
    overflow-y: auto;
    word-wrap: break-word;
    hyphens: auto;
}

.review-stars {
    margin-top: 0;
    padding: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.review-stars img {
    height: 20px;
    width: auto;
    object-fit: contain;
}

.review-image {
    width: 35%;
    max-width: 480px;
    height: 450px;
    object-fit: cover;
    object-position: center;
    display: block;
    flex-shrink: 0;
    background-color: transparent;
}

.review-item-right .review-image {
    border-radius: 24px;
    order: 2;
    margin: 39px 35px 38px 0;
}

.review-item-right .review-content {
    order: 1;
}

.review-item-left .review-image {
    border-radius: 24px 0 0 24px;
    order: 1;
}

.review-item-left .review-content {
    order: 2;
}

.review-image-large {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.review-video {
    width: 100%;
    height: 200px;
    background-color: #e8e8e8;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    position: relative;
    background-image: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
}

.review-stars {
    color: #ffc107;
    font-size: 20px;
    letter-spacing: 2px;
    padding: 0 30px 30px;
    margin-top: auto;
}

/* Social Section */
.social-section {
    padding: 100px 0;
    background-color: #fafafa;
}

.social-content {
    text-align: center;
}

.social-image {
    width: 100%;
    max-width: 400px;
    height: 300px;
    border-radius: 8px;
    margin: 0 auto 30px;
    object-fit: cover;
    display: block;
}

.social-rating {
    color: #ffc107;
    font-size: 24px;
    margin-bottom: 30px;
}

.social-title {
    font-family: 'Coolvetica', 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-align: center;
}

.social-title br {
    display: none;
}

.social-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

.social-description br {
    display: none;
}

.social-gallery-wrapper {
    position: relative;
    margin: 40px auto;
    width: 1266px;
    max-width: 90%;
    overflow: hidden;
    border-radius: 25px;
}

/* Десктоп версия - показываем только на больших экранах */
.social-gallery-desktop {
    display: block;
    width: 100%;
}

.social-gallery-mobile {
    display: none;
}

.social-gallery-carousel {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.social-gallery-carousel:active {
    cursor: grabbing;
}

.social-gallery-track {
    display: flex;
    flex-direction: row;
    transition: transform 0.3s ease-out;
    gap: 10px;
    will-change: transform;
    padding: 20px;
}

.gallery-item {
    width: 220px;
    min-width: 220px;
    height: 220px;
    border-radius: 16px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    box-shadow: none;
}

.social-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-btn {
    padding: 15px 40px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.social-btn:hover,
.social-btn:focus,
.social-btn:active,
.social-btn:visited {
    color: #fff;
    text-decoration: none;
}

.social-btn:hover {
    background-color: #333;
}

.social-btn-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

/* Contacts Section */
.contacts {
    padding: 100px 0;
    position: relative;
}

.contacts .section-title {
    line-height: 1.2;
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contacts-form-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.contacts-form {
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    padding-bottom: 24px;
}

.contacts-form.hide {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.contacts-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    padding: 60px 0;
}

.contacts-success.show {
    transform: translateX(0);
    opacity: 1;
}

.success-title {
    font-family: 'Coolvetica', 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    line-height: 100%;
    letter-spacing: 5%;
    margin-bottom: 20px;
}

.success-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.success-emoji {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
    margin-left: 8px;
}

.contacts-description {
    font-size: 16px;
    color: #666;
    margin-top: 20px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.contacts-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0s;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ff0000;
}

.form-group textarea {
    resize: vertical;
}

.services-label {
    margin-bottom: 15px;
}

.services-checkboxes,
.services-radio {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.services-radio.error {
    padding: 10px;
    border: 1px solid #ff0000;
    border-radius: 4px;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
    color: #777777 !important;
    line-height: 1.4;
}


.radio-label,
.radio-label input[type="radio"] + * {
    color: #777777 !important;
}

.services-radio .radio-label {
    color: #777777 !important;
}

.services-radio label {
    color: #777777 !important;
}

.services-radio .radio-label,
.services-radio label.radio-label {
    color: #777777 !important;
}

.checkbox-label input[type="checkbox"],
.radio-label input[type="radio"] {
    width: auto;
    cursor: pointer;
}

/* Новые стили для чекбоксов с SVG */
.services-radio input[type="checkbox"],
.radio-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    margin: 2px 8px 0 0;
    padding: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    background-color: transparent;
    background-image: url('Исходники Ольга Художник/9. contact me/checkbox/не выбранный пункт.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    flex-shrink: 0;
    align-self: flex-start;
    box-sizing: border-box;
}

.radio-label input[type="checkbox"]:checked {
    background-image: url('Исходники Ольга Художник/9. contact me/checkbox/выбранный пункт галочка.svg');
    background-color: transparent;
    border: none;
}

.radio-label input[type="checkbox"]:checked::after {
    content: none;
}

/* Текст становится чёрным при выбранном чекбоксе */
.radio-label:has(input[type="checkbox"]:checked),
.services-radio label:has(input[type="checkbox"]:checked),
label.radio-label:has(input:checked) {
    color: #000 !important;
}

/* Дополнительная защита для всех элементов внутри label с выбранным чекбоксом */
.services-radio .radio-label input[type="checkbox"]:checked ~ *,
.radio-label input[type="checkbox"]:checked ~ * {
    color: #000 !important;
}

.submit-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 8px 0 4px 0;
}

.submit-btn {
    position: relative;
    overflow: hidden;
    min-width: 300px;
    width: 300px;
    height: 50px;
    padding-left: 34px;
    padding-right: 34px;
    box-sizing: border-box;
    margin: 0;
}

.btn-text-default,
.btn-text-success {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-text-default {
    top: 50%;
    transform: translate(-50%, -50%);
}

.btn-text-success {
    top: 150%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.btn-checkmark {
    width: 21px;
    height: 14px;
    object-fit: contain;
    flex-shrink: 0;
}

.btn-resend-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

#resetFormBtn {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.submit-btn.success {
    background-color: #196348;
    outline: none;
    border: none;
    box-shadow: none;
}

.submit-btn:focus,
.submit-btn.success:focus {
    outline: none;
    box-shadow: none;
}

.submit-btn.success .btn-text-default {
    transform: translate(-50%, -150%);
    opacity: 0;
}

.submit-btn.success .btn-text-success {
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.error-message {
    color: #ff0000;
    font-size: 14px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Footer */
.footer {
    padding: 60px 0;
    background-color: #f5f5f5;
    color: #000;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    margin: 38px auto 40px auto;
    height: auto;
    box-sizing: border-box;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: -55px;
}

.footer-name-large {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    font-style: normal;
    color: #000;
    line-height: 32px;
    letter-spacing: 0;
    width: 246px;
    height: 32px;
}

.footer-name-medium {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    font-style: normal;
    color: #000;
    line-height: 32px;
    letter-spacing: 0;
    width: 246px;
    height: 32px;
}

.footer-ip {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    line-height: 1.5;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social .social-icon {
    background-color: transparent !important;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    overflow: hidden;
}

.footer-social .social-icon:hover {
    opacity: 0.8;
}

.footer-social .social-icon img {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain;
    display: block;
    filter: none !important;
}

.footer-nav {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
}

.footer-link {
    display: block;
    color: #000;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 12px;
    transition: opacity 0.3s;
    cursor: pointer;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-copyright {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #999;
    text-align: center;
}

/* Responsive */

/* Large Desktop - 1920px and above */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
        padding: 0 40px;
    }
    
    .hero-content,
    .about-content,
    .contacts-content {
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 40px;
    }
    
    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: 95%;
        max-width: 1600px;
        min-height: auto;
        gap: 40px;
        padding: 0 60px;
        margin: 60px auto 0 auto;
    }
    
    .process-steps {
        width: 95%;
        max-width: 1400px;
        min-height: auto;
        gap: 50px;
        padding: 0 60px;
        margin: 60px auto 0 auto;
    }
    
    .why-items {
        width: 95%;
        max-width: 1400px;
        gap: 50px;
        margin: 60px auto 0 auto;
        padding: 0 40px;
    }
    
    .reviews-carousel-wrapper {
        width: 95%;
        max-width: 1600px;
        min-height: auto;
        padding: 40px 64px 80px 64px;
        margin: 80px auto 0 auto;
    }
    
    .reviews-track {
        gap: 50px;
    }
    
    .social-gallery-wrapper {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 40px;
    }
    
    .footer-content {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 40px;
    }
}

/* Tablet - 1200px */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    /* Hero Section */
    .hero-content {
        gap: 40px;
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 42px;
        line-height: 46px;
        max-width: 100%;
    }
    
    .hero-image img {
        max-height: 500px;
        width: 100%;
    }
    
    /* About Section */
    .about-content {
        gap: 40px;
        padding: 0 30px;
    }
    
    .about-text {
        max-width: 100%;
    }
    
    .about-description {
        font-size: 15px;
        line-height: 26px;
    }
    
    .about-image {
        max-width: 100%;
        width: 100%;
    }
    
    /* Why Me Section */
    .why-items {
        display: flex;
        flex-direction: row;
        width: 100%;
        max-width: 100%;
        gap: 40px;
        padding: 0 30px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .why-item {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 320px;
        padding: 30px 20px;
    }
    
    .why-icon {
        width: 50px;
        height: 50px;
    }
    
    .why-title {
        font-size: 18px;
    }
    
    .why-description {
        font-size: 15px;
    }
    
    /* Portfolio Section */
    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        max-width: 100%;
        min-height: auto;
        gap: 25px;
        padding: 0 30px;
        box-sizing: border-box;
    }
    
    .portfolio-item {
        width: 100%;
        min-width: 0;
    }
    
    /* Process Section */
    .process-steps {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
        min-height: auto;
        gap: 40px;
        padding: 0 30px;
        justify-content: center;
    }
    
    .process-step {
        width: calc((100% - 120px) / 4);
        min-width: 200px;
    }
    
    .step-item {
        padding: 30px 20px;
    }
    
    /* Reviews Section */
    .reviews-carousel-wrapper {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        padding: 40px 24px 80px 24px;
    }
    
    .reviews-track {
        gap: 40px;
    }
    
    .review-item {
        max-width: 88%;
        width: 88%;
        min-width: 88%;
    }
    
    .review-image {
        width: 320px;
        height: 340px;
        left: 30px;
        top: -5px;
    }
    
    .review-content {
        padding: 50px 40px 50px 36px !important;
        margin-left: -130px;
    }
    
    /* Social Gallery */
    .social-gallery-wrapper {
        width: 95%;
        max-width: 100%;
        margin: 40px auto;
        padding: 0 30px;
    }
    
    .gallery-item {
        width: 200px;
        min-width: 200px;
        height: 200px;
    }
    
    /* Contacts Section */
    .contacts-content {
        gap: 40px;
        padding: 0 30px;
    }
    
    .contacts-image {
        max-width: 100%;
        width: 100%;
    }
    
    /* Footer */
    .footer-content {
        width: 95%;
        max-width: 100%;
        gap: 60px;
        padding: 0 30px;
    }
    
    .footer-name-large,
    .footer-name-medium {
        font-size: 20px;
        line-height: 26px;
        width: 200px;
    }
    
    /* Section titles */
    .section-title {
        font-size: 36px;
        line-height: 32px;
        padding: 0 30px;
    }
    
    .why .section-title {
        width: 100%;
        max-width: 100%;
        height: auto;
        font-size: 36px;
        line-height: 100%;
        padding: 0 30px;
    }
    
    .process .section-title,
    .portfolio .section-title,
    .reviews .section-title {
        width: 100%;
        max-width: 100%;
        height: auto;
        font-size: 36px;
        line-height: 36px;
        padding: 0 30px;
    }
    
    /* Buttons */
    .btn {
        padding: 16px 34px;
        font-size: 15px;
    }
    
    .portfolio-order-btn {
        padding: 16px 30px;
        font-size: 15px;
    }
}

/* Mobile - 768px and below */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 130px 0 60px 0;
    }
    
    .about,
    .why,
    .process,
    .portfolio,
    .reviews,
    .social-section,
    .contacts {
        padding: 60px 0;
    }

    /* Заголовок "О ХУДОЖНИКЕ" в одну строку */
    .about .section-title {
        font-size: 32px;
        line-height: 32px;
        letter-spacing: 5%;
        white-space: nowrap;
    }
    
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        position: relative;
    }

    /* Лого внутри выезжающего мобильного меню, на одной линии с крестиком */
    .nav-header-mobile {
        display: flex;
        align-items: center;
        margin-top: -65px;
        margin-bottom: 20px;
    }
    
    .logo {
        margin-left: -12px;
    }
    
    .logo-image {
        width: 240px !important;
        height: 44px !important;
        object-fit: contain;
    }
    
    .mobile-menu-toggle {
        display: flex;
        width: 22px !important;
        height: 22px !important;
    }
    
    .mobile-menu-toggle img {
        width: 22px !important;
        height: 22px !important;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 30px 30px 30px;
        gap: 20px;
        transition: right 0.3s ease;
        box-shadow: -3px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav.active {
        right: 0;
    }
    
    /* Стили пунктов меню как на макете (см. скрин) */
    .nav-link {
        width: 100%;
        padding: 10px 0;
        font-size: 16px;
        border-bottom: none;
        text-align: left;
        font-weight: 400;
        color: #000 !important;
    }
    
    .nav-link.btn-request {
        margin-top: 10px;
        text-align: left;
        border-bottom: none;
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: 2px;
        color: #000 !important;
        background: transparent !important;
        padding: 0;
        border-radius: 0;
    }

    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
        padding: 0 20px;
    }

    .contacts .contacts-content {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
        padding: 0 20px;
    }

    .contacts .section-title {
        margin-left: -20px;
    }
    
    .about-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .about-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 100%;
        width: 100%;
    }
    
    .about .section-title {
        text-align: center;
        width: 100%;
    }
    
    .about-description {
        text-align: center;
        max-width: 100%;
        font-family: 'Montserrat', sans-serif;
        font-size: 12px;
        font-weight: 400;
        font-style: normal;
        line-height: 150%;
        letter-spacing: 0%;
        color: #000000;
    }

    .hero-title {
        font-size: 32px;
        line-height: 36px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-description {
        font-size: 16px;
        text-align: center;
    }

    .hero-image img {
        max-height: 400px;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 15px 30px;
        border-radius: 999px;
        text-align: center;
        justify-content: center;
    }
    
    .hero-buttons .btn-primary {
        background-color: #000;
        color: #fff;
    }
    
    .hero-buttons .btn-secondary {
        background-color: #fff;
        color: #000;
        box-shadow: -3px 21px 50px 0px rgba(0, 0, 0, 0.05);
    }

    .process-steps {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        min-height: auto;
        gap: 30px;
        padding: 0 20px;
        align-items: stretch;
    }
    
    .process-step {
        width: 100%;
        max-width: 100%;
    }
    
    .step-item {
        padding: 30px 20px;
        box-shadow: -3px 21px 50px 0px rgba(0, 0, 0, 0.05);
    }

    .why-items {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 30px;
        padding: 0 20px;
        align-items: stretch;
    }

    .why-item {
        width: 100%;
        height: auto;
        min-height: auto;
        padding: 30px 20px;
        box-shadow: -3px 21px 50px 0px rgba(0, 0, 0, 0.05);
    }

    .portfolio-grid {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        min-height: auto;
        gap: 20px;
        padding: 0 20px;
    }
    
    .portfolio-item {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    
    .portfolio-image-wrapper {
        box-shadow: none !important;
    }
    
    .portfolio-item.active .portfolio-image-top {
        transform: translateY(-100%);
    }
    
    .portfolio-item.active .portfolio-images-grid {
        transform: translateY(0);
    }
    
    
    .portfolio-item.active .portfolio-shadow {
        opacity: 1;
    }
    
    .portfolio-item.active .portfolio-category-overlay {
        opacity: 1;
    }
    
    .process-steps {
        padding: 0 20px;
    }
    
    .why-items {
        padding: 0 20px;
    }
    
    .reviews-carousel-wrapper {
        width: calc(100% - 40px);
        max-width: 100%;
        min-height: auto;
        padding: 30px 20px;
        margin: 0 20px;
        background-color: #fff;
        border-radius: 16px;
        box-shadow: -3px 21px 50px 0px rgba(0, 0, 0, 0.05);
    }
    
    .reviews-carousel {
        overflow: visible;
        /* Вертикальная прокрутка страницы не перехватывается блоком */
        touch-action: pan-y;
    }
    
    .reviews-track {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        transform: none !important;
        padding: 0;
    }
    
    .review-item,
    .review-item-left,
    .review-item-right {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        margin: 0 0 40px 0 !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .review-item:last-child {
        margin-bottom: 0 !important;
    }
    
    .social-section {
        padding: 60px 0;
    }
    
    .social-title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 20px;
        padding: 0 20px;
    }
    
    .social-title br {
        display: block;
    }
    
    .social-description {
        font-size: 15px;
        color: #666;
        margin-bottom: 40px;
        padding: 0 20px;
        line-height: 1.5;
    }
    
    .social-description br {
        display: block;
    }
    
    /* Скрываем десктоп версию на мобильных */
    .social-gallery-desktop {
        display: none !important;
    }
    
    /* Показываем мобильную версию */
    .social-gallery-mobile {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        overflow: hidden;
        padding: 0;
    }
    
    .social-gallery-wrapper {
        padding: 0;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        overflow: hidden;
        border-radius: 0;
    }
    
    /* Мобильные карусели – ЗАФИКСИРОВАНЫ, без прокрутки */
    .social-gallery-mobile .social-gallery-carousel {
        width: 100%;
        overflow: hidden;
        cursor: default;
        user-select: none;
        position: relative;
    }
    
    .social-gallery-mobile .social-gallery-carousel:active {
        cursor: default;
    }
    
    .social-gallery-mobile .social-gallery-track {
        display: flex;
        flex-direction: row;
        gap: 10px;
        padding: 0;
        width: max-content;
        /* transform задаём только в HTML (inline-стилями), чтобы зафиксировать вашу композицию */
    }
    
    .social-gallery-mobile .gallery-item {
        width: 180px !important;
        min-width: 180px !important;
        max-width: 180px !important;
        height: 160px !important;
        border-radius: 16px;
        box-shadow: none;
        object-fit: cover;
        display: block;
        flex-shrink: 0;
    }
    
    .social-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 40px 20px 0 20px;
        align-items: stretch;
    }
    
    .social-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 30px;
        border-radius: 999px;
        box-shadow: -3px 21px 50px 0px rgba(0, 0, 0, 0.05);
    }
    
    /* About section social icons - превращаем в кнопки на мобильной версии */
    .about .social-icons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        width: 100%;
    }
    
    .about .social-icon {
        width: 100% !important;
        height: auto !important;
        min-height: 50px;
        padding: 15px 30px !important;
        border-radius: 999px !important;
        background-color: #000 !important;
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
        box-shadow: -3px 21px 50px 0px rgba(0, 0, 0, 0.05);
        text-decoration: none !important;
        color: #fff !important;
        -webkit-tap-highlight-color: transparent;
    }
    
    .about .social-icon img {
        width: 36px !important;
        height: 36px !important;
        filter: none !important;
        object-fit: contain;
        flex-shrink: 0;
    }
    
    .about .social-icon-text {
        color: #fff;
        font-family: 'Montserrat', sans-serif;
        font-size: 16px;
        font-weight: 600;
        display: block;
    }
    
    /* Показываем текст только на мобильной версии */
    .about .social-icon-text {
        display: block;
    }
    
    .footer-content {
        padding: 0 20px;
    }
    
    .section-title {
        padding: 0 20px;
    }
    
    .why .section-title {
        width: 390px;
        max-width: 100%;
        height: auto;
        min-height: 22px;
        font-family: 'Coolvetica', 'Montserrat', sans-serif;
        font-size: 30px;
        font-weight: 400;
        font-style: normal;
        line-height: 100%;
        letter-spacing: 5%;
        text-align: center;
        margin: 0 auto;
        padding: 0;
    }
    
    .why .section-title .mobile-br {
        display: block;
    }
    
    .process .section-title,
    .portfolio .section-title,
    .reviews .section-title {
        width: 100%;
        max-width: 100%;
        height: auto;
        font-size: 32px;
        line-height: 32px;
        padding: 0 20px;
    }

    .gallery-item {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .footer {
        padding: 40px 0;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }

    .footer-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        width: 100%;
        margin-left: 0;
    }

    .footer-name-large,
    .footer-name-medium {
        width: auto;
        text-align: center;
    }

    .footer-ip {
        text-align: center;
    }

    .footer-social {
        display: none;
    }

    .footer-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .footer-title {
        text-align: center;
        margin-bottom: 16px;
    }

    .footer-link {
        text-align: center;
        margin-bottom: 12px;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
        padding-top: 20px;
        border-top: 1px solid #ddd;
    }

    .footer-copyright {
        text-align: center;
        margin: 0;
    }

    .reviews-carousel-wrapper {
        background-color: transparent;
        border-radius: 0;
        box-shadow: none;
        padding: 0 0 24px 0;
        margin: 32px 20px 0 20px;
        width: calc(100% - 40px);
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .review-item,
    .review-item-left,
    .review-item-right {
        flex-direction: column;
        height: auto;
        min-height: auto;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        margin: 0 0 24px 0 !important;
        box-shadow: -3px 21px 50px 0px rgba(0, 0, 0, 0.05);
        background-color: #fff;
        border-radius: 16px;
        padding: 14px 16px 32px 0;
        box-sizing: border-box;
    }
    
    .review-item:last-child {
        margin-bottom: 0 !important;
    }

    .review-content {
        padding: 0 16px 12px 29px !important;
        padding-left: 29px !important;
        width: 100%;
        margin-left: 0 !important;
        order: 1;
    }
    
    .review-name {
        margin-bottom: 10px;
        margin-left: 0;
        padding-left: 0;
        font-size: 18px;
    }
    
    .review-text {
        margin-bottom: 12px;
        margin-left: 0;
        padding-left: 0;
        font-size: 15px;
        line-height: 1.5;
    }

    .review-image {
        width: 88%;
        max-width: 88%;
        height: auto;
        min-height: auto;
        margin: 0 0 20px 29px !important;
        border-radius: 16px;
        box-shadow: -3px 21px 50px 0px rgba(0, 0, 0, 0.05);
        order: 2;
    }
    
    .review-stars {
        margin-top: 16px;
        padding-top: 0;
        padding-bottom: 4px;
        justify-content: center;
        order: 3;
    }
    
    .review-item-right .review-image {
        border-radius: 16px;
        order: 2;
    }
    
    .review-item-right .review-content {
        order: 1;
    }
    
    .review-item-right .review-stars {
        order: 3;
    }

    .submit-wrapper {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 0 16px 0;
    }

    .submit-btn {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

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

    .success-description {
        font-size: 16px;
    }

    .contacts-form-wrapper {
        min-height: 500px;
        padding-bottom: 20px;
    }
}
