/* IDOL Case Styles */

/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Gilroy', sans-serif;
    color: #000000;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

.idol-case {
    width: 100%;
    padding-top: 70px;
}

/* Контейнеры */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
}

/* Заголовки */
.section-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #000000;
}

.section-title-center {
    font-size: 48px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: #000000;
}

.section-title-blue {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #322CFE;
}

.section-title-blue-center {
    font-size: 48px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: #000000;
}

.underline-blue {
    color: #322CFE;
    text-decoration: underline;
    text-decoration-color: #322CFE;
    text-underline-offset: 8px;
    text-decoration-thickness: 3px;
}

/* Hero Section */
.hero-section {
    background: #F5F5F5;
    background-image: url('../images/cases/IDOL/Setka_1.webp');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    min-height: 600px;
    z-index: 1;
}

.hero-logo-wrapper {
    position: absolute;
    right: 12%;
    top: 5%;
}

.hero-left {
    position: absolute;
    left: -20%;
    top: -35%;
}

.hero-phone {
    width: 85%;
}

.hero-right {
    position: absolute;
    right: 10%;
    top: 35%;
}

.idol-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.idol-text {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 500 !important;
    color: #000000;
    max-width: 500px;
    margin-top: 24px;
}

/* Request and Solution Section */
.request-solution-section {
    padding: 140px 0 100px 0;
}

.diagonal-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}

.request-block {
    padding: 40px;
    border-radius: 0;
    text-align: left;
    display: inline-block;
    width: 55%;
}

.request-title {
    font-size: 40px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
    text-align: center;
}

.request-text {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500 !important;
    text-align: left;
}

.arrow-right {
    flex-shrink: 0;
    align-self: flex-end;
}

.solution-block {
    background-color: #F5F5F5;
    padding: 40px 80px;
    border-radius: 0;
    display: inline-block;
    margin-left: 45%;
    text-align: left;
    width: 55%;
}

.solution-title {
    font-size: 40px;
    font-weight: 600;
    color: #322CFE;
    margin-bottom: 8px;
    text-align: center;
}

.solution-text {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500 !important;
    color: #000000;
    text-align: left;
}

/* Development Section */
.development-section {
    padding: 100px 0 0 0;
    background-color: #FFFFFF;
}

.development-header {
    text-align: center;
    margin-bottom: 60px;
}

.development-title {
    font-size: 40px;
    font-weight: 600;
    color: #000000;
}

.development-underline {
    width: 120px;
    height: 8px;
    background-color: #322CFE;
    margin: 0 auto;
}

.development-content {
    background-color: #F5F5F5;
    width: 100%;
    padding: 20px 0;
}

.development-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
}

.development-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.development-list li {
    padding-left: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.development-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 28px;
    color: #000000;
    line-height: 1.2;
}

.list-title {
    font-size: 40px;
    font-weight: 600;
    color: #000000;
    display: block;
    line-height: 1.2;
}

.list-description {
    font-size: 22px;
    font-weight: 500;
    color: #000000;
    display: block;
    line-height: 1.4;
}

.development-right {
    position: relative;
    z-index: 2;
}

.blue-line-bg {
    position: absolute;
    right: 50%;
    top: -20px;
    bottom: -20px;
    width: 1px;
    background-color: #322CFE;
    z-index: 1;
}

.development-phone {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: none;
    position: relative;
    z-index: 2;
}

/* Phone Light Section */
.phone-light-section {
    background-color: #FFFFFF;
    padding: 80px 0;
}

.phone-light-section .container-wide {
    max-width: 1200px;
    margin: 0 auto;
}

.quality-header {
    text-align: left;
}

.quality-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    color: #000000;
}

.quality-blue {
    color: #322CFE;
}

.quality-content {
    position: relative;
    min-height: 600px;
}

.quality-gray-box {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 40%;
    background-color: #F5F5F5;
    z-index: 1;
}

.quality-text-right {
    position: absolute;
    top: 80px;
    right: 20%;
    z-index: 3;
    text-align: left;
}

.quality-text-right p {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500 !important;
    color: #000000;
}

.phone-light-image {

    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    z-index: 2;
}

.quality-text-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: left;
    z-index: 3;
    max-width: 1000px;
    margin: 0 auto;
}

.quality-text-bottom p {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500 !important;
    color: #000000;
}

/* Features Section */
.features-section {
    padding: 100px 0 0 0;
    background-color: #FFFFFF;
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.features-title {
    font-size: 40px;
    font-weight: 600;
    color: #000000;
}

.features-underline {
    width: 120px;
    height: 8px;
    background-color: #322CFE;
    margin: 0 auto;
}

.features-gray-bg {
    background-color: #F5F5F5;
    background-image: url('../images/cases/IDOL/Setka_2.webp');
    background-size: cover;
    background-position: center;
    width: 100%;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50%;
    margin-right: -50%;
    padding: 60px 0;
}

.features-lines-bg {
    display: none;
}

.features-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
    position: relative;
}

.feature-item-center {
    margin-top: 10%;
}

.feature-label {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0;
    color: #322CFE;
    margin-bottom: 20px;
}

.feature-phone {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

/* Fullwidth Section */
.fullwidth-section {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.fullwidth-section .container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.fullwidth-header {
    text-align: left;
    margin-bottom: 60px;
}

.fullwidth-title {
    font-size: 40px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 12px;
}

.fullwidth-text {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500 !important;
    color: #000000;
}

.fullwidth-content {
    background-size: cover;
    background-position: left;
    position: relative;
    border-radius: 0;
    width: 100%;
    height: 800px;
    left: 50%;
    right: 50%;
    margin-left: -50%;
    margin-right: -50%;
}

.fullwidth-phone-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.fullwidth-phone {
    position: absolute;
    left: 25%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 310px;
    width: 100%;
    height: auto;
    border-radius: 0;
}

.dimensions-vertical {
    position: absolute;
    left: 23%;
    top: 18%;
}

.dimensions-horizontal {
    position: absolute;
    bottom: 31%;
    left: 23%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrow-mobile {
    display: none;
}

/* Blue Section */
.blue-section {
    padding: 0 0 100px 0;
    background-color: #FFFFFF;
    height: 700px;
}

.blue-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.blue-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: -120px;
    margin-left: 30%;
}

.blue-word {
    color: #322CFE;
    display: block;
    font-size: 54px;
}

.blue-gray-bg {
    position: absolute;
    left: 0;
    top: 150%;
    width: 80%;
    height: 250px;
    background-color: #F5F5F5;
    z-index: 0;
    display: flex;
    align-items: center;
}

.blue-text {
    width: 80%;
    position: relative;
    z-index: 1;
    margin-left: 5%;
    padding: 30px 0;
}

.blue-text p {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500 !important;
}

.blue-examples {
    position: absolute;
    right: 0;
    top: 20%;
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.blue-images {
    width: 100%;
    max-width: 260px;
    height: auto;
    border-radius: 0;
}

.blue-badge {
    color: #322CFE;
    background-color: transparent;
    font-size: 120px;
    font-weight: 600;
    padding: 0;
    letter-spacing: 0;
    line-height: 1;
    width: 100%;
    max-width: 260px;
    text-align: left;
}

/* Icons Section */
.icons-section {
    padding: 100px 0;
    background-color: #F5F5F5;
    background-image: url('../images/cases/IDOL/Setka_3.webp');
    background-size: cover;
    background-position: center;
}

.icons-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

.icons-title {
    font-size: 40px;
    font-weight: 600;
    text-align: left;
    margin-bottom: 0;
}

.icons-subtitle {
    text-align: left;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500 !important;
    margin-bottom: 60px;
    color: #000000;
}

.icons-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    width: 80%;
    margin: 0 auto 50px auto;
}

.icon-item {
    width: 98px;
    height: 90px;
    object-fit: contain;
}

.icon-item:nth-child(1) {
    grid-column: 1;
}

.icon-item:nth-child(2) {
    grid-column: 2;
}

.icon-item:nth-child(3) {
    grid-column: 3;
}

.icon-item:nth-child(4) {
    grid-column: 4;
}

.icon-item:nth-child(5) {
    grid-column: 3;
}

.icon-item:nth-child(6) {
    grid-column: 4;
}

.icon-item:nth-child(7) {
    grid-column: 5;
}

.icon-item:nth-child(8) {
    grid-column: 6;
}

/* Cart Section */
.cart-section {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.small-text {
    font-size: 22px;
    font-weight: 500 !important;
    color: #000000;
    display: block;
    text-align: left;
}

.big-text {
    font-size: 54px;
    font-weight: 600;
    white-space: nowrap;
    display: block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
}

/* Small Font Section */
.small-font-section {
    padding: 200px 0 100px 0;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

.small-font-header {
    text-align: left;
}

.small-font-title {
    margin-bottom: 20px;
    line-height: 1.2;
}

.small-font-subtitle {
    text-align: left;
    font-size: 22px;
    line-height: 1.4;
    color: #000000;
    width: 46%;
    margin: 0 50%;

    font-weight: 500 !important;
}

.cart-flow {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

.cart-flow-left {
    position: relative;
    flex-shrink: 0;
}

.cart-image-wrapper {
    position: relative;
    display: inline-block;
    z-index: 2;
}

.cart-main-image {
    width: 560px;
    height: auto;
    display: block;
}

.cart-mobile-image {
    display: none;
}

.cart-arrow {
    position: absolute;
    top: 70%;
    left: 25%;
}

.cart-arrow svg {
    width: 150%;
    height: auto;
}

.cart-second-image {
    position: absolute;
    top: 95%;
    left: 150%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: auto;
}

.cart-icon-wrapper {
    position: relative;
}

.cart-icon-image {
    position: absolute;
    bottom: 80px;
    right: -20%;
    width: 60px;
    height: auto;
}

.cart-text-box {
    position: absolute;
    top: 8%;
    left: 50%;
    width: 130%;
    background-color: #F5F5F5;
    padding: 70px 70px 100px 100px;
    z-index: 0;
}

.cart-explanation {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 500 !important;
    color: #000000;
    margin: 0;
}

.cart-flow-right {
    flex: 1;
    position: relative;
    z-index: 2;
}

.cart-basket-gif {
    position: absolute;
    max-width: 280px;
    width: 100%;
    height: auto;
    bottom: -850px;
    left: 35%;
}

.cart-basket-gif-mobile {
    display: none;
}

/* Match Section */
.match-section {
    padding: 0 0 100px 0;
    background-color: #FFFFFF;
}

.match-header {
    margin-bottom: 60px;
    text-align: center;
}

.match-title {
    font-size: 40px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
}

.match-underline {
    width: 120px;
    height: 8px;
    background-color: #322CFE;
    margin: 0 auto;
}

.match-fullwidth {
    width: 100%;
    position: relative;
    left: 50%;
    margin-left: -50%;
    background-size: cover;
    background-position: bottom;
    padding: 80px 0;
    height: 600px;
}

.match-content-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    gap: 80px;
    padding: 0 40px;
    position: relative;
    height: 100%;
}

.match-visual {
    position: absolute;
    left: 10%;
    top: 80%;
    transform: translateY(-50%);
    width: 320px;
    z-index: 2;
}

.match-phone {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.match-text-wrapper {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: end;
    align-self: end;
}

.match-subtitle {
    font-size: 40px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 20px;
}

.match-text {
    width: 90%;
}

.match-text p {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500 !important;
    color: #000000;
    text-align: left;
    margin: 0;
}

/* Outfit Section */
.outfit-section {
    padding: 180px 0 100px 0;
    background-color: #FFFFFF;
}

.outfit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
}

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

.outfit-title {
    font-size: 40px;
    font-weight: 600;
    color: #000000;
    text-align: left;
    margin-bottom: 0;
}

.outfit-blue {
    color: #322CFE;
}

.outfit-text {
    text-align: left;
    margin-bottom: 60px;
}

.outfit-text p {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500 !important;
    margin: 0;
}

.outfit-item {
    text-align: left;
    position: relative;
}

.outfit-gray-rect {
    position: absolute;
    width: 480px;
    height: 230px;
    background-color: #F5F5F5;
    top: 80%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 0;
}

.outfit-phone {
    max-width: 300px;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

.outfit-arrow-between {
    position: absolute;
    left: 45%;
    top: 60%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 228px;
}

.outfit-arrow-between svg {
    width: 100%;
    height: auto;
}

.outfit-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.outfit-phone-gif {
    max-width: 358px;
    width: 100%;
    height: auto;
}

.outfit-phone-gif-mobile {
    display: none;
}

.outfit-phone-mobile {
    display: none;
}

.outfit-mobile-combo {
    display: none;
}

.outfit-header-mobile {
    display: none;
}

/* Loyalty Section */
.loyalty-section {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.loyalty-title {
    font-size: 40px;
    font-weight: 600;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
}

.loyalty-content {
    background-color: #F5F5F5;
    background-image: url('../images/cases/IDOL/Setka_4.webp');
    background-size: cover;
    background-position: center;
    width: 100%;
    position: relative;
    left: 50%;
    margin-left: -50%;
    padding: 60px 0 0 0;
}

.loyalty-content-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: flex-end;
    gap: 80px;
}

.loyalty-left {
    flex-shrink: 0;
}

.loyalty-image-wrapper {
    position: relative;
}

.loyalty-main-image {
    max-width: 490px;
    width: 100%;
    height: auto;
    display: block;
}

.loyalty-overlay-image {
    position: absolute;
    top: 35%;
    left: 65%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: auto;
}

.loyalty-right {
    flex: 1;
    padding-left: 10%;
}

.loyalty-description {
    margin-bottom: 40px;
    width: 90%;
}

.loyalty-description p {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500 !important;
    color: #000000;
    margin: 0;
}

.loyalty-phone-bottom {
    display: flex;
}

.loyalty-bottom-image {
    width: 304px;
    height: auto;
}

.loyalty-bottom-image-mobile {
    display: none;
}

/* Quote Section */
.quote-section {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.quote-box {
    max-width: 1200px;
}

.quote-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.quote-blue-rect {
    width: 160px;
    height: 12px;
    background-color: #322CFE;
    flex-shrink: 0;
}

.quote-title {
    font-size: 48px;
    font-weight: 600;
    text-align: left;
    margin: 0;
}

.quote-text {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500 !important;
    margin-bottom: 60px;
    text-align: left;
    width: 85%;
}

.quote-highlight {
    border: 2px solid #322CFE;
    padding: 40px;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 40px;
    width: 60%;
    margin-left: auto;
    text-align: left;
}

.quote-author {
    text-align: right;
    margin-top: 40px;
}

.author-name {
    font-size: 22px;
    font-weight: 500 !important;
    line-height: 1.4;
    margin-bottom: 5px;
}

.author-title {
    font-size: 22px;
    font-weight: 500 !important;
    line-height: 1.4;
}

/* Contact Form */
.idol-contact {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}

.idol-contact__inner {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.idol-contact__left {
    flex: 1;
}

.idol-contact__label {
    font-size: 16px;
    font-weight: 500;
    color: #322CFE;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.idol-contact__title {
    font-size: 40px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 16px;
    line-height: 1.2;
}

.idol-contact__text {
    font-size: 22px;
    font-weight: 500 !important;
    line-height: 1.4;
    color: #000000;
}

.idol-contact__right {
    flex: 1;
    max-width: 400px;
}

.idol-contact__form-title {
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 600;
    color: #000000;
    margin: 0 0 16px;
    line-height: 1.2;
    letter-spacing: 0.04em;
}

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

.idol-contact__input {
    padding: 16px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    background: #F5F5F5;
    color: #000000;
    font-size: 16px;
    font-family: 'Gilroy', sans-serif;
    outline: none;
    transition: border-color 0.2s ease;
}

.idol-contact__input::placeholder {
    color: #999;
}

.idol-contact__input:focus {
    border-color: #322CFE;
}

.idol-contact__button {
    padding: 16px 40px;
    background: #322CFE;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Gilroy', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.idol-contact__button:hover {
    background: #1a17cc;
}

.idol-contact__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.idol-contact__checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #322CFE;
}

.idol-contact__checkbox span {
    font-size: 13px;
    line-height: 1.4;
    color: #999;
    font-family: 'Gilroy', sans-serif;
}

.idol-contact__checkbox a {
    color: #555;
    text-decoration: underline;
}

.idol-contact__checkbox a:hover {
    color: #322CFE;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .container-wide {
        padding: 0 30px;
    }
}

@media (max-width: 1200px) {
    .hero-content {
        min-height: 500px;
    }
    

    
    .hero-logo-wrapper {
        top: -2%;
        right: 17%;
        width: 40%;
    }
    
    .hero-right {
        top: 30%;
        width: 45%;
    }
    
    .idol-text {
        font-size: 20px;
    }

    .request-solution-section {
        padding-bottom: 0;
    }
    
    .blue-line-bg {
        display: none;
    }
    
    .features-title {
        font-size: 32px;
    }
    
    .features-underline {
        width: 80px;
        height: 6px;
    }
    
    .features-gray-bg {
        padding: 40px 0;
    }
    
    .features-content {
        padding: 0 20px;
    }
    
    .feature-item-center {
        margin-top: 5%;
    }
    
    
    
    .match-content {
        grid-template-columns: 1fr;
    }
    
    .loyalty-content {
        grid-template-columns: 1fr;
    }

    .fullwidth-phone {
        left: 15%;
    }
    
    .dimensions-vertical {
        left: 12%;
    }

    .dimensions-horizontal {
        left: 4%;
    }

    .dimensions-horizontal svg {
        width: 80%;
    }

}

@media (max-width: 1024px) {

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

    .hero-left {
        left: -25%;
        top: -15%;
    }

    .diagonal-layout {
        gap: 0;
    }

    .solution-block{
        margin-left: 30%;
        width: 70%;
    }

    .request-block {
        width: 70%;
    }


    .quality-gray-box {
        width: 100%;
        height: 50%;
    }

    .loyalty-right {
        padding-left: 0;
    }

    .cart-text-box {
        width: 100%;
    }

    .cart-basket-gif{
        left: 15%;
    }

    .blue-text {
        width: 75%;
    }
}

@media (max-width: 768px) {
    .idol-case {
        padding-top: 60px;
    }
    
    .container,
    .container-wide {
        padding: 0 20px;
    }
    
    .section-title,
    .section-title-center,
    .section-title-blue,
    .section-title-blue-center {
        font-size: 32px;
    }
    
    .hero-content {
        min-height: 400px;
    }
    
    .hero-logo-wrapper {
        top: 0;
        left: 46%;
    }
    
    .hero-right {
        right: 0;
        left: 48%;
    }
    .idol-text {
        font-size: 16px;
        max-width: 100%;
    }

    .arrow-right {
        position: absolute;
        top: 60%;
        left: 70%;
    }

    .arrow-right svg{
        width: 80%;
        height: auto;
    }

    .development-inner {
        grid-template-columns: 1fr;
    }

    .request-solution-section {
        padding-top: 10%;
    }
    
    .request-title,
    .solution-title {
        font-size: 32px;
    }
    
    .request-text,
    .solution-text {
        font-size: 18px;
    }
    
    .request-block,
    .solution-block {
        padding: 30px 20px;
    }
    
    .development-title {
        font-size: 32px;
    }

    .development-list {
        gap: 24px;
    }
    
    .development-underline {
        width: 80px;
        height: 8px;
    }
    
    .development-content {
        padding: 40px 20px;
    }
    
    .list-title {
        font-size: 20px;
    }
    
    .list-description {
        font-size: 16px;
    }
    
    .quality-title {
        font-size: 32px;
    }
    
    .quality-content {
        min-height: 500px;
    }
    
    .quality-gray-box {
        width: 85%;
        height: 45%;
    }
    
    .quality-text-right {
        top: 15%;
        right: 35%;
    }
    
    .quality-text-right p {
        font-size: 16px;
    }
    
    .quality-phone-wrapper {
        width: 100%;
    }
    
    .quality-text-bottom {
        max-width: 80%;
        top: 70%;
    }
    
    .quality-text-bottom p {
        font-size: 16px;
    }
    
    .features-title {
        font-size: 32px;
    }
    
    .features-underline {
        width: 60px;
        height: 5px;
    }
    
    .features-content {
        padding: 0 10px;
    }
    
    .feature-label {
        font-size: 24px;
    }
    
    .features-grid {
        gap: 20px;
    }
    
    .feature-item-center {
        margin-top: 0;
    }
    
    .fullwidth-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .fullwidth-text {
        font-size: 16px;
    }
    
    .fullwidth-content {
        height: 600px;
    }
    
    .fullwidth-phone {
        max-width: 250px;
    }
    
    .dimensions-vertical {
        left: 10%;
        top: 8%;
    }
    
    .dimensions-horizontal {
        bottom: 0;
        left: 1%;
        top: 68%;
    }
    
    /* Blue Section - новая структура */
    .blue-section {
        padding: 60px 0;
        height: 650px;
    }
   
    .blue-container {
        padding: 0 20px;
        position: relative;
    }
    
    .blue-title {
        font-size: 32px;
        text-align: left;
        margin-bottom: 30px;    
        margin-left: 15%;
    }
    
    .blue-word {
        font-size: 42px;
    }
    
    /* Серая плашка как фон для текста */
    .blue-gray-bg {
        width: 65%;
        height: 250px;
        background-color: #F5F5F5;
        z-index: 0;
        display: flex;
        align-items: center;
        left: 0;
        top: 106%;
        position: relative;
    }
    
    .blue-text {
        width: 100%;
        position: relative;
        z-index: 1;
        margin: 0;
        padding: 30px 30px;
    }
    
    .blue-text p {
        font-size: 16px;
    }
    
    .blue-examples {
        width: 50%;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .blue-images {
        max-width: 200px;
        margin-bottom: 0;
    }
    
    /* Скрываем оригинальный BLUE badge */
    .blue-badge {
        display: none;
    }
    
    /* BLUE надпись через псевдоэлемент */
    .blue-container::after {
        content: 'BLUE';
        position: absolute;
        top: 92%;
        right: 1%;
        font-size: 250px;
        font-weight: 600;
        color: #322CFE;
        line-height: 1;
        z-index: 3;
    }
    

    .icons-section {
        padding: 50px 40px;
        margin: 40px 0;
        background-image: none;
        background-size: 160% auto;
        background-repeat: no-repeat;
    }

    .icons-title {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .icons-subtitle {
        font-size: 16px;
    }

    .icons-grid {
        margin: 0 auto;
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
        width: 100%;
    }

    .icon-item {
        width: 100%;
        height: auto;
    }

    .icon-item:nth-child(1) { grid-column: 1; }
    .icon-item:nth-child(2) { grid-column: 2; }
    .icon-item:nth-child(3) { grid-column: 3; }
    .icon-item:nth-child(4) { grid-column: 4; }
    .icon-item:nth-child(5) { grid-column: 2; }
    .icon-item:nth-child(6) { grid-column: 3; }
    .icon-item:nth-child(7) { grid-column: 4; }
    .icon-item:nth-child(8) { grid-column: 5; }


    .cart-section {
        padding: 0 0 200px 0;
    }

    .cart-container {
        padding: 50px 20px;
    }

    .cart-main-image {
        display: none;
    }

    .cart-mobile-image {
        display: block;
        width: 40%;
        height: auto;
    }
    
    .cart-image-wrapper .cart-mobile-image:nth-child(2) {
        position: absolute;
        left: 60%;
    }

    .cart-image-wrapper .cart-mobile-image:nth-child(3) {
        margin-top: 40%;
        margin-left: 5%;
    }

    .cart-basket-gif {
        display: none;
    }

    .cart-basket-gif-mobile {
        position: absolute;
        display: block;
        max-width: 240px;
        width: 100%;
        height: auto;
        top: 60%;
        left: 52%;
    }

    .cart-arrow {
        top: 98%;
        left: 5%;
    }

    .cart-arrow svg {
        width: 50%;
    }

    .cart-icon-image {
        bottom: -55px;
        right: 0;
        left: 25%;
        width: 40px;
    }

    .cart-explanation {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .cart-text-box {
        left: 0;
        top: 3%;
        width: 60%;
        padding: 30px;
    }

    .cart-flow {
        flex-direction: column;
    }
    
    .cart-flow-arrow {
        transform: rotate(90deg);
    }
    

    .small-font-subtitle {
        font-size: 16px;
        line-height: 1.4;
        width: 70%;
        margin: 0 20%;
    }

    /*СОЧЕТАЕТСЯ С*/
    
    .match-section {
        padding: 0;
    }

    .match-title {
        font-size: 32px;
    }

    .match-content-inner {
        padding: 0 20px;
        grid-template-columns: 1fr 1fr;
    }

    .match-visual {
        left: 5%;
        top: 50%;
    }

    .match-text-wrapper {
        align-items: flex-start;
    }

    .match-subtitle {
        font-size: 32px;
    }

    .match-text p {
        font-size: 16px;
    }

    .match-phone {
        width: 80%;
    }

    .big-text {
        animation: marquee 15s linear infinite;
        left: 0;
        transform: none;
    }

    /*КУПИТЬ ВЕСЬ ОБРАЗ*/

    .outfit-section {
        padding: 100px 0 100px 0;
    }
    .outfit-title {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .outfit-text p {
        font-size: 16px;
    }

    .outfit-phone {
        width: 45%;
    }

    .outfit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .outfit-arrow-between {
        top: 65%;
        left: 60%;
    }

    .outfit-arrow-between svg {
        width: 50%;
    }

    .outfit-phone-gif {
        display: none;
    }

    .outfit-section .container {
        position: relative;
    }

    .outfit-phone-gif-mobile {
        display: block;
        position: absolute;
        max-width: 220px;
        width: 100%;
        height: auto;
        right: 0;
        bottom: -20%;
    }

    /*ПРОГРАММА ЛОЯЛЬНОСТИ*/

    .loyalty-section {
        padding: 100px 0 0 0;
    }

    .loyalty-title {
        font-size: 32px;
        text-align: left;
    }

    .loyalty-description p {
        font-size: 16px;
        position: absolute;
        top: 18%;
        left: 70%;
    }

    .loyalty-phones {
        flex-direction: column;
        align-items: center;
    }

    .loyalty-main-image {
        width: 70%;
    }

    .loyalty-overlay-image {
        width: 285px;
        left: -25%;
        top: 24%;
    }

    .loyalty-content-inner {
        gap: 0;
    }

    .loyalty-phone-bottom {
        display: none;
    }

    .loyalty-content {
        position: relative;
    }

    .loyalty-bottom-image-mobile {
        display: block;
        position: absolute;
        width: 200px;
        height: auto;
        top: 50%;
        left: 56%;
    }

    .quote-title {
        font-size: 32px;
    }
    
    .quote-text {
        margin-bottom: 32px;
    }

    .quote-text,
    .quote-highlight {
        font-size: 16px;
    }

    .quote-highlight {
        width: 100%;
        padding: 32px;
    }

    .author-name,
    .author-title {
        font-size: 18px;
    }

    .idol-contact__inner {
        flex-direction: column;
        gap: 30px;
    }

    .idol-contact__right {
        max-width: 100%;
        width: 100%;
    }

    .idol-contact__title {
        font-size: 32px;
    }

    .idol-contact__text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 40px 0 30px 0;
        margin-bottom: 80px;
        position: relative;
    }
    
    .hero-content {
        min-height: auto;
        padding: 0 20px;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas: 
            "logo"
            "phone";
        gap: 30px;
        justify-items: center;
    }
    
    .hero-logo-wrapper {
        position: absolute;
        left: 18%;
        top: 20%;
        width: 70%;
    }
    
    .hero-left {
        position: static;
        grid-area: phone;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .hero-phone {
        position: relative;
        width: 100%;
        left: 0;
        top: 25%;
    }
    
    .hero-right {
        position: absolute;
        left: 0;
        right: 0;
        top: 115%;
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 0 20px;
        background-color: transparent;
    }
    
    .small-font-subtitle {
        width: 100%;
        margin: 0;
    }
    
    .idol-text {
        font-size: 16px;
        width: 80%;
        margin-top: 0;
    }
    
    .request-solution-section {
        padding-top: 20%;
    }
    
    .arrow-right {
        position: absolute;
        top: 60%;
        left: 70%;
    }

    .arrow-right svg{
        width: 70%;
        height: auto;
    }

    .solution-block{
        width: 100%;
        margin-left: 0;
    }

    .request-block {
        width: 80%;
    }

    .section-title,
    .section-title-center,
    .section-title-blue,
    .section-title-blue-center {
        font-size: 24px;
    }
    
    .request-title,
    .solution-title {
        font-size: 28px;
    }
    
    .request-text,
    .solution-text {
        font-size: 16px;
    }
    
    .development-title {
        font-size: 28px;
    }
    
    .list-title {
        font-size: 18px;
    }
    
    .list-description {
        font-size: 16px;
    }
    
    .quality-title {
        font-size: 28px;
    }
    
    .quality-content {
        min-height: 450px;
    }
    
    .quality-gray-box {
        width: 90%;
        height: 50%;
    }
    
    .quality-text-right {
        right: 20%;
    }
    
    .quality-phone-wrapper {
        width: 120%;
    }
    
    /*ФОТО И БАННЕРЫ В ШИРИНУ ЭКРАНА*/

    .fullwidth-title {
        font-size: 28px;
    }
    
    .fullwidth-content {
        height: 420px;
    }
    
    .fullwidth-phone {
        max-width: 200px;
        left: 25%;
        top: 40%;
    }
    
    .dimensions-vertical {
        left: 15%;
        top: -5%;
    }

    .dimensions-vertical .arrow-desktop {
        display: none;
    }

    .dimensions-vertical .arrow-mobile {
        display: block;
        width: auto;
        height: 100%;
    }

    .dimensions-horizontal {
        left: 18%;
        top: 58%;
    }

    .dimensions-horizontal .arrow-desktop {
        display: none;
    }

    .dimensions-horizontal .arrow-mobile {
        display: block;
        width: 100%;
        height: auto;
    }

    .cart-section {
        height: 600px;
    }

    .cart-mobile-image {
        display: none;
    }

    .cart-arrow {
        display: none;
    }

    .cart-flow-left {
        display: flex;
        flex-direction: column;
    }

    .cart-text-box {
        position: static;
        width: 100%;
        padding: 0;
        order: -1;
        background-color: white;
    }

    .cart-icon-wrapper {
        display: none;
    }

    .cart-image-wrapper {
        display: block;
    }

    .cart-main-image {
        display: none;
    }

    .cart-basket-gif-mobile {
        top: 75%;
        left: 20%;
    }

    /* Match Section 480 */
    .match-fullwidth {
        height: auto;
        padding: 0;
        background-image: none !important;
        width: auto;
        left: auto;
        margin-left: 0;
    }

    .match-content-inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }

    .match-visual {
        position: static;
        transform: none;
        width: 100%;
        margin-left: 0;
        order: 2;
        display: flex;
        justify-content: center;
        background-image: url('../images/cases/IDOL/9_back.webp');
        background-size: cover;
        background-position: bottom;
        padding: 40px 20px;
    }

    .match-text-wrapper {
        grid-column: 1;
        order: 1;
        padding: 20px;
        background-color: #FFFFFF;
    }

    .match-phone {
        max-width: 250px;
    }



    /*ЯРКИЙ СИНИЙ*/

    .blue-container {
        padding: 0;
    }

    .blue-section {
        padding: 0;
        height: 820px;
    }

    .blue-title {
        font-size: 28px;
        margin-bottom: 0;
    }

    .blue-container::after {
        font-size: 150px;
        top: 175%;
        right: 0;
        left: 5%;
    }
    
    .blue-word {
        font-size: 36px;
    }
    
    .blue-gray-bg {
        height: 260px;
        width: 100%;
        align-items: start;
    }

    .blue-text {
        padding: 16px 32px 24px 32px;
    }
    
    .blue-text p {
        font-size: 16px;
    }
    
    .blue-badge {
        font-size: 60px;
    }

    .blue-examples {
        top: 74%;
        left: 25%;
    }
    
    /*ЛАКОНИЧНЫЕ ИКОНКИ*/

    .icons-section {
        margin: 0;
    }

    .icons-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        width: 100%;
    }
    
    .icon-item {
        width: 100%;
        height: auto;
    }

    /*КУПИТЬ ВЕСЬ ОБРАЗ*/
    .outfit-section {
        padding: 60px 0;
    }

    .outfit-grid {
        display: none;
    }

    .outfit-header-mobile {
        display: block;
        margin-bottom: 20px;
    }

    .outfit-phone-gif-mobile {
        display: block;
        max-width: 220px;
        width: 100%;
        margin: 20px 0;
        top: 20%;
    }

    .outfit-mobile-combo {
        display: block;
        width: 100%;
        height: auto;
    }

    .outfit-arrow-between {
        top: 95%;
        left: 40%;
    }

    .outfit-arrow-between svg {
        width: 60%;
    }

    .outfit-gray-rect {
        display: none;
    }
    
    /* Сбрасываем индивидуальные позиции для естественного порядка */
    .icon-item:nth-child(1),
    .icon-item:nth-child(2),
    .icon-item:nth-child(3),
    .icon-item:nth-child(4),
    .icon-item:nth-child(5),
    .icon-item:nth-child(6),
    .icon-item:nth-child(7),
    .icon-item:nth-child(8) {
        grid-column: auto;
    }
    
    /* Features Section - заголовки в строку и картинки с наслоением */
    .features-section {
        padding: 60px 0 0 0;
    }
    
    .features-header {
        margin-bottom: 20px;
    }
    
    .features-title {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .features-gray-bg {
        padding: 40px 0 80px 0;
    }
    
    .features-content {
        padding: 0 20px;
    }
    
    .features-grid {
        display: block;
        position: relative;
        height: 800px;
        margin-top: 0;
    }
    
    /* Контейнер для заголовков в одну строку внутри серого блока */
    .features-grid::before {
        content: 'ЯРКИЙ                    СТИЛЬНЫЙ                    КОНТЕНТ';
        position: absolute;
        font-size: 24px;
        font-weight: 600;
        color: #322CFE;
        display: block;
        text-align: center;
        padding: 0 20px;
        width: 100%;
    }
    
    .feature-item {
        position: absolute;
        width: 45%;
    }
    
    /* Скрываем оригинальные заголовки */
    .feature-label {
        display: none;
    }
    
    /* Позиционирование картинок с наслоением */
    .feature-item:nth-child(1) {
        top: 10%;
        left: 5%;
        z-index: 3;
    }
    
    .feature-item:nth-child(2) {
        top: 25%;
        right: 15%;
        z-index: 4;
    }
    
    .feature-item:nth-child(3) {
        top: 58%;
        left: 10%;
        z-index: 5;
    }
    
    .feature-phone {
        width: 100%;
        max-width: none;
        height: auto;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .feature-item-center {
        margin-top: 0;
    }

    /* Loyalty 480 */
    .loyalty-content-inner {
        flex-direction: column;
    }

    .loyalty-description p {
        top: 5%;
        left: 5%;
    }

    .loyalty-main-image {
        width: 90%;
    }

    .loyalty-bottom-image-mobile {
        top: 57%;
        left: 45%;
    }

    .loyalty-content {
        height: 650px;
    }

    .loyalty-right {
        order: -1;
        padding-left: 0;
    }

    .loyalty-left {
        order: 1;
    }

    .loyalty-phone-bottom {
        display: none;
    }

    .loyalty-overlay-image {
        width: 250px;
        left: 60%;
    }

    /* Fix horizontal overflow */
    .features-gray-bg,
    .fullwidth-content,
    .match-fullwidth,
    .loyalty-content {
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .small-font-section {
        overflow: hidden;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
