/* =========================================
   VARIABLES & GLOBAL
   ========================================= */
:root {
    --primary: #EA5D62; /* Ваш коралловый */
    --dark: #1A1A1D;    /* Графит/Черный */
    --paper: #F9F9F7;   /* Цвет бумаги */
    --white: #FFFFFF;
    --gray-bg: #E0E0E0; /* Фон за пределами телефона */
    --shadow-hard: 4px 4px 0px rgba(0,0,0,0.1); /* "Жесткая" тень */
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.1); /* Мягкая тень */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--gray-bg);
    display: block !important;
    height: auto !important;
    min-height: 100vh;
    overflow-y: auto !important; /* Разрешает вертикальный скролл */
    overflow-x: hidden !important; /* Прячет горизонтальный */
    touch-action: auto !important; /* Разрешает пальцу двигать экран */
    overscroll-behavior-y: none; /* Убирает "резинку" на Mac/iOS */
 }

/* КОНТЕЙНЕР МОБИЛЬНИКА */
.mobile-wrapper {
    width: 100%;
    max-width: 480px;
    background-color: var(--paper);
    min-height: 100vh;
    margin: 0 auto;
    box-shadow: 0 0 50px rgba(0,0,0,0.15);
    position: relative;
    /* Снимаем ограничения с обертки */
    overflow: visible !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
}

/* =========================================
   1. HERO SECTION (ЖУРНАЛЬНАЯ ОБЛОЖКА)
   ========================================= */
.hero-expert {
    padding: 40px 20px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Заголовок (Имя) */
.hero-name {
    font-weight: 800;
    font-size: 42px;
    line-height: 0.9;
    color: var(--dark);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    position: relative;
    z-index: 2;
}
.hero-name .lastname {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--dark); /* Контурный текст */
    display: block;
}

/* Подзаголовок */
.hero-subtitle {
    font-family: 'Caveat', cursive;
    font-size: 26px;
    color: var(--primary);
    margin: 5px 0 10px;
    transform: rotate(-3deg);
    display: inline-block;
    font-weight: 700;
}

/* Визуальный блок с фото */
.hero-visual {
    position: relative;
    width: 100%;
    height: 440px; /* Высота под фото на стуле */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Фотография */
.hero-photo {
    height: 100%;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: contrast(1.05); /* Чуть больше контраста */
}

/* Абстрактное пятно на фоне */
.blob-bg {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: var(--primary);
    opacity: 0.1;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: blob-bounce 8s ease-in-out infinite;
    z-index: 1;
}

/* --- СЛОВА ПО КОНТУРУ (Обновленные стили) --- */
.float-word {
    position: absolute;
    font-family: 'Caveat', cursive;
    font-weight: 500;
    font-size: 24px;
    color: #6c6c6c;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    z-index: 3;
    white-space: nowrap;
    text-shadow: 0 0 3px rgba(255, 255, 255, 1), 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Позиционирование слов */
.w-business { top: 20%; left: 10%; transform: rotate(-10deg); }
.w-prod { top: 15%; right: 2%; font-size: 26px; transform: rotate(5deg); }
.w-interiors { top: 43%; right: -5px; transform: rotate(12deg); }
.w-teams { bottom: 30%; right: 5%; transform: rotate(-5deg); }
.w-corporate {bottom: 50%;left: 5%; transform: rotate(-5deg);}

.w-private {
    bottom: 24%;
    left: 23px;
    font-weight: 400;
    transform: rotate(12deg);
    z-index: 4;
    line-height: 0.7;
}

/* --- ГЕОЛОКАЦИЯ (Стильный тэг) --- */
.geo-sticker {
    position: absolute;
    bottom: 20px;
    right: 10px;
    background: var(--white);
    color: var(--dark);
    padding: 8px 18px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Мягкая тень */
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 4;
}
.geo-sticker i {
    color: var(--primary);
    font-size: 14px;
}

/* Био текст */
.hero-bio {
    margin-top: 10px;
    padding: 0 15px;
    font-size: 15px;
    line-height: 1.5;
    color: #444;
    font-weight: 500;
}
.highlight {
    background: linear-gradient(120deg, rgba(234,93,98,0.2) 0%, rgba(234,93,98,0.2) 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 85%;
}

/* Стрелка вниз */
.scroll-hint {
    margin-top: 15px;
    color: var(--primary);
    animation: float 2s infinite;
    font-size: 20px;
    opacity: 0.7;
}

/* =========================================
   2. ABOUT (БЛОКНОТ)
   ========================================= */
/* =========================================
   2. ABOUT EXPERT (ОБНОВЛЕННЫЙ)
   ========================================= */
.about-expert-block {
    position: relative;
    padding-top: 40px;
    padding-bottom: 20px;
    background: var(--paper); /* Или #fff, если хотите выделить */
    overflow: hidden; /* Чтобы фон не вылезал */
}

/* --- СЛОЙ 1: ФОТО + ТИПОГРАФИКА --- */
.about-hero-layer {
    position: relative;
    padding: 0 20px;
    min-height: 300px; /* Высота блока */
    display: flex;
    align-items: center; /* Центрируем по вертикали */
}

/* Фоновый текст REELS-style */
.bg-typography {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 0; /* На заднем плане */
    pointer-events: none;
    line-height: 0.85;
    overflow: hidden;
}

.bg-typography span {
    font-size: 80px; /* Очень крупно */
    font-weight: 900;
    color: rgba(0,0,0,0.03); /* Едва заметный серый */
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 15px;
}

/* Контейнер для фото и текста */
.about-columns {
    position: relative;
    z-index: 1; /* Поверх букв */
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* Фото */
.about-img-wrap {
    flex: 0 0 45%; /* Фото занимает 45% ширины */
}
.expert-photo {
    width: 100%;
    height: auto;
    border-radius: 24px;
    transition: filter 0.3s;
    box-shadow: 0 8px 20px rgba(234, 93, 98, 0.12);
}
.expert-photo:hover { filter: grayscale(0%); }

/* Текст справа от фото */
.about-intro-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}
.about-intro-text p { margin-bottom: 10px; }
.about-intro-text strong { font-weight: 800; }

/* --- СЛОЙ 2: ЗАМЕТКА МАРКЕРОМ (ОБНОВЛЕННЫЙ) --- */
.expert-note-wrapper {
    position: relative;
    padding: 40px 20px;
    background: transparent; /* Убрали темный фон */
}

.expert-note-box {
    position: relative;
    background: #fff;
    padding: 25px 20px;
    border: 2px dashed hsl(358deg 77% 64% / 30%);
    border-radius: 24px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--dark);
    font-weight: 500;
}

/* Стилизация текста внутри */
.expert-note-box p {
    margin-bottom: 15px;
}
.expert-note-box p:last-child { margin-bottom: 0; }
.expert-note-box strong { font-weight: 800; }

/* Подчеркивание "от руки" (как на референсе) */
.hand-underline {
    position: relative;
    display: inline-block;
    z-index: 1;
}
.hand-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 6px; /* Толщина подчеркивания */
    background: var(--primary); /* Коралловый маркер */
    opacity: 0.3; /* Полупрозрачность */
    z-index: -1;
    border-radius: 4px;
    transform: rotate(-0.5deg);
}

/* Стрелочка, указывающая на блок */
.doodle-arrow-pointer {
    position: absolute;
    top: 8px;
    left: 28px;
    width: 40px;
    opacity: 0.2;
    z-index: 2;
    transform: rotate(200deg) scaleX(-1);
}

/* --- СЛОЙ 3: СЛАЙДЕР ЛОГОТИПОВ --- */
.logos-marquee {
    background: #fff;
    padding: 20px 0;
    overflow: hidden; /* Скрываем то, что за пределами экрана */
    white-space: nowrap;
    position: relative;
    border-bottom: 2px solid #eee;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 40px; /* Расстояние между логотипами */
    width: max-content;
    animation: scroll 30s linear infinite; /* Бесконечная анимация */
}

/* Логотипы */
.marquee-track img {
    height: 40px; /* Фиксированная высота */
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s;
}
.marquee-track img:hover { opacity: 1; filter: grayscale(0%); }

/* Анимация прокрутки */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Сдвигаем на половину (так как дублировали контент) */
}

/* Адаптив для маленьких экранов */
@media (max-width: 380px) {
    .bg-typography span { font-size: 60px; }
    .about-columns { flex-direction: column; text-align: center; }
    .expert-photo { transform: rotate(0); width: 150px; }
}

/* =========================================
   3. NAVIGATION (КАРТОЧКИ)
   ========================================= */
.nav-section { padding: 20px; }

.section-header { text-align: center; margin-bottom: 20px; position: relative; }
.section-header h3 {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 20px;
    margin: 0;
    display: inline-block;
}
.underline-doodle {
    height: 6px;
    width: 150px;
    background: var(--primary);
    margin: 5px auto 0;
    opacity: 0.3;
    border-radius: 50%;
    transform: rotate(-1deg);
}

.cards-grid { display: flex; flex-direction: column; gap: 20px; }

.nav-card {
    height: 180px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
    border: 2px solid var(--dark);
    box-shadow: var(--shadow-hard);
    transition: transform 0.2s;
    background: #000;
}
.nav-card:active { transform: scale(0.98); box-shadow: 2px 2px 0 rgba(0,0,0,0.1); }

.card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: opacity 0.3s;
}
.nav-card:hover .card-bg { opacity: 0.3; }

.card-content { position: relative; z-index: 2; }

.card-label {
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.card-title {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 5px;
}
/* Рукописный заголовок для частных съемок */
.card-title.handwriting {
    font-family: 'Caveat', cursive;
    font-size: 36px;
    text-transform: none;
    font-weight: 400;
}

.card-desc { font-size: 13px; opacity: 0.9; margin-bottom: 15px; }

.card-btn {
    background: var(--white);
    color: var(--dark);
    padding: 8px 16px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 3px 3px 0 rgba(0,0,0,1);
}
.card-btn.ghost {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    box-shadow: none;
}

/* =========================================
   4. SERVICES (СПИСОК)
   ========================================= */
.services-section { padding: 0 20px 30px; }

.services-box {
    border: 2px dashed #ccc;
    padding: 20px;
    background: #fff;
    position: relative;
}
.services-title {
    position: absolute;
    top: -14px;
    left: 20px;
    background: #fff;
    padding: 0 10px;
    font-weight: 800;
    color: #999;
    font-size: 14px;
    letter-spacing: 1px;
}

.service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dotted #eee;
    font-weight: 600;
    font-size: 15px;
}
.service-row:last-child { border-bottom: none; }
.service-row i { color: var(--primary); opacity: 0.7; }

/* =========================================
   5. FOOTER
   ========================================= */
.footer {
    background: var(--dark);
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 20px 20px 0 0;
    margin-top: auto;
}

.footer-title { margin: 0 0 5px; text-transform: uppercase; font-size: 18px; }
.footer-sub { margin: 0 0 25px; opacity: 0.6; font-size: 13px; }

.social-buttons { display: flex; flex-direction: column; gap: 12px; }

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--white);
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 12px;
    transition: transform 0.2s;
}
.social-btn:active { transform: scale(0.98); }
.social-btn i { margin-right: 10px; font-size: 20px; }

.social-btn.tg { color: #0088cc; }
.social-btn.wa { color: #25D366; }

.copyright { margin-top: 30px; font-size: 12px; opacity: 0.4; line-height: 1.6; }

/* =========================================
   5. COMPACT PRICES (UPDATED)
   ========================================= */
.prices-light-section {
    padding: 0 20px 40px;
    margin-top: 50px;
}

/* ЗАГОЛОВОК СЕКЦИИ */
.section-header-light {
    text-align: center;
    margin-bottom: 20px;
}
.section-header-light h3 {
    font-size: 26px;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    color: var(--dark);
}

/* ЗАГОЛОВКИ ГРУПП */
.category-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px; /* Чуть меньше отступ */
    padding: 0 5px;
}

.group-label {
    font-size: 13px;
    font-weight: 800;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-badge {
    background: #f4f4f4;
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 15px;
}
.coral-badge {
    background: rgba(234, 93, 98, 0.1);
    color: var(--primary);
}

.mt-40 { margin-top: 35px; } /* Чуть поджали отступ между группами */

/* СЕТКА */
.light-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px; /* Уменьшили зазор между картами */
}

/* КАРТОЧКА (СУПЕР КОМПАКТНАЯ) */
.light-card {
    background: #fff;
    border-radius: 24px;
    /* Уменьшили внутренние отступы */
    padding: 14px 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Было 100px, стало 80px */
    min-height: 80px;
    text-decoration: none;

    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.2s;
}
.light-card:active { transform: scale(0.98); }

.accent-card {
    box-shadow: 0 8px 20px rgba(234, 93, 98, 0.12);
    border: 1px solid rgba(234, 93, 98, 0.02);
    z-index: 0;
}

/* ИКОНКА (Уменьшили размер) */
.l-icon-box {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px; /* Было 32 */
    height: 28px; /* Было 32 */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px; /* Иконка внутри меньше */
    background: #f7f7f7;
    color: var(--dark);
}

.l-icon-box.filled {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 3px 8px rgba(234, 93, 98, 0.25);
}

/* ТЕКСТЫ */
.l-info {
    padding-right: 32px; /* Чуть меньше отступ справа */
    display: flex;
    flex-direction: column;
}
.l-info.centered { justify-content: center; }

.l-title {
    margin: 0 0 4px;
    font-size: 18px; /* Шрифт заголовка чуть меньше */
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
}

.l-sub {
    font-size: 11px; /* Описание мельче, чтобы влезало */
    color: #999;
    line-height: 1.2;
    font-weight: 500;
    padding-top: 5px;
    /* Обрезаем текст троеточием, если не влезает в одну строку (опционально) */
    /* white-space: nowrap; overflow: hidden; text-overflow: ellipsis; */
}
.mb-0 { margin-bottom: 0; }

/* КНОПКИ ССЫЛОК */
.price-action-row {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}

.pill-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px; /* Кнопка тоже компактнее */
    background: #fff;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: all 0.2s;
    background: var(--primary);
    color: white;
}
.pill-link:hover {
    color: white !important;
    background: #d94e54 !important;
    border: none !important;
}
.pill-link i { font-size: 10px; opacity: 0.7; }

/* АДАПТИВ */
@media (max-width: 360px) {
    .light-grid { grid-template-columns: 1fr; }
    .light-card { min-height: auto; padding: 15px 12px; }
}

/* =========================================
   6. JOURNAL CTA (MINIMAL STYLE)
   ========================================= */
.cta-journal-section {
    padding: 0 20px 40px;
}

.cta-journal-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 25px;
    position: relative;
    text-align: center;
    /* Легкая "дорогая" тень, как у карточек выше */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Стикер сверху */
.cta-sticker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--paper); /* Цвет фона страницы */
    color: var(--primary); /* Коралловый текст */
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 30px;
    margin-bottom: 20px;
    border: 1px solid rgba(0,0,0,0.02);
}

/* Заголовок */
.cta-header-journal {
    margin: 0 0 20px;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--dark);
    text-transform: uppercase;
    font-family: "Dela Gothic One";
}

/* Эффект маркера под текстом (как в блоке направлений) */
.marker-underline {
    position: relative;
    z-index: 1;
    display: inline-block;
}
.marker-underline::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: -4px;
    right: -4px;
    height: 8px;
    background: rgba(234, 93, 98, 0.3); /* Полупрозрачный коралловый */
    z-index: -1;
    border-radius: 4px;
    transform: rotate(-1deg);
}

/* Текст описания */
.cta-text-journal {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
    font-weight: 500;
}
.cta-text-journal em {
    font-style: normal;
    background: rgba(0,0,0,0.05); /* Серый маркер для примеров */
    padding: 0 4px;
    border-radius: 4px;
    font-weight: 600;
}

/* Список выгод */
.cta-journal-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px;
    text-align: left;
    display: inline-block; /* Центрируем блок списка, но текст внутри слева */
}

.cta-journal-list li {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 12px;
}
.cta-journal-list li:last-child { margin-bottom: 0; }

.list-icon {
    color: var(--primary); /* Коралловая галочка */
    font-size: 18px;
    margin-right: 12px;
    min-width: 20px;
}

/* Кнопки */
.cta-buttons-journal {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Темная кнопка (как навигация) */
.btn-dark {
    background: var(--dark);
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.btn-dark:active { transform: scale(0.98); }

/* Контурная кнопка */
.btn-outline-dark {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.btn-outline-dark:hover { background: rgba(0,0,0,0.03); }

.cta-note {
    font-size: 11px;
    margin-top: 20px;
    opacity: 0.5;
    color: var(--dark);
}

/* =========================================
   ANIMATIONS & EFFECTS
   ========================================= */
/* Плавное появление при скролле */
.fade-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}
.fade-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Движение пятна на фоне */
@keyframes blob-bounce {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    50% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* Движение стрелки */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* =========================================
   2. BENTO NAV & SOCIALS (FINAL)
   ========================================= */
.nav-social-section {
    padding: 0 20px 40px;
    margin-top: 20px;
    position: relative;
    z-index: 5;
}

/* --- СЕТКА --- */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    height: 360px; /* Фиксируем высоту блока, чтобы правая колонка растягивалась */
    margin-bottom: 20px;
}

/* Левая карточка */
.main-focus {
    height: 100%; /* Растягивается на всю высоту сетки */
}

/* Правая колонка */
.bento-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

/* 1. ПЛАШКА ЗАГОЛОВОК (Стиль hand-underline: маркер снизу) */
.bento-header-block {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    font-size: 18px;
    text-transform: uppercase;
    display: flex;
    width: fit-content;
    margin-bottom: 5px;
    align-self: anchor-center;
    position: relative;
    font-weight: 800;
    color: #EA5D62;
    z-index: 1;
    font-family: "Dela Gothic One";
    text-align: end;
}

.bento-header-block::before {
    height: 60px;
    opacity: 0.4;
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(234, 93, 98, 0.18);
    border-radius: 15px;
    transform: rotate(-1.1deg);
    z-index: -1;
    padding: 4px;
    top: -8px;
    bottom: -6px;
    left: -17px;
    right: -17px;
}

/* 2. КАРТОЧКА ЧАСТНЫЕ (Справа снизу) */
.sub-focus {
    flex-grow: 1; /* Занимает всё оставшееся место */
    position: relative;
}

/* Общие стили карточек (Business & Private теперь одинаковые) */
.bento-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: white;
}
.bento-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
    transition: transform 0.5s;
}
.bento-card:hover .bento-bg { transform: scale(1.05); }

.bento-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
    position: relative;
    top: 45px;
    display: flex;
    height: 100%;
    align-items: end;
}

.bento-tag {
    align-self: flex-start;
    margin-bottom: auto;
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 3;
    font-weight: 600;
    font-size: 12px;
    background: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    pointer-events: none;
    color: #3d3d3d;
}

.bento-arrow {
    width: 36px;
    height: 41px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    align-self: flex-end;
    margin-top: 10px;
}

/* --- СОЦСЕТИ (ЕДИНЫЙ БЛОК) --- */
.social-group-wrapper {
    background: #fff;
    border-radius: 24px;
    padding: 5px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.socials-title {
    text-align: center;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 15px 0 15px;
}

.social-row {
    display: flex;
    align-items: center;
    padding: 15px 0;
    text-decoration: none;
    color: var(--dark);
    transition: opacity 0.2s;
}
.social-row:active { opacity: 0.6; }

.icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    margin-right: 15px;
}
.tg .icon-circle { background: #0088cc; }
.wa .icon-circle { background: #25D366; }
.inst .icon-circle { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

.link-name {
    font-weight: 700;
    font-size: 16px;
    flex-grow: 1;
}

.arrow-mini {
    color: #ddd;
    font-size: 12px;
}

.divider {
    height: 1px;
    background: #f0f0f0;
    width: 100%;
}

/* =========================================
   MOBILE ADAPTATION (ALL DEVICES)
   ========================================= */

/* 1. Базовая адаптация для большинства смартфонов (до 430px) */
@media screen and (max-width: 430px) {

    h3{font-family: "Dela Gothic One";}

    /* Уменьшаем боковые отступы, чтобы контенту было просторнее */
    .hero-expert,
    .social-group-wrapper,
    .prices-light-section,
    .cta-journal-section,
    .services-section,
    .footer {
        padding-left: 15px;
        padding-right: 15px;
    }


    /* --- HERO SECTION --- */
    .hero-name {
        font-size: 34px; /* Чуть меньше */
        font-family: "Dela Gothic One";
    }

    .hero-visual {
        height: 380px; /* Уменьшаем высоту фото, чтобы влезало в экран */
    }

    .float-word {
        font-size: 20px; /* Уменьшаем "летающие" слова */
    }
    /* Корректируем позиции слов, чтобы не вылезали за край */
    .w-interiors { right: 0; }
    .w-prod { right: 0; font-size: 22px; }
    .w-business { left: 45px; }

    /* --- ABOUT BLOCK --- */
    .bg-typography span {
        font-size: 60px; /* Буквы на фоне меньше */
    }
    .about-columns {
        flex-direction: column; /* Фото и текст друг под другом */
        text-align: left;
        gap: 0;
    }
    .about-img-wrap {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
    .expert-photo {
        width: 200px; /* Фиксируем размер фото */
        transform: rotate(-3deg);
        box-shadow: 0 8px 20px rgba(234, 93, 98, 0.12);
    }

    /* --- BENTO NAV (Главная сетка) --- */
    .bento-grid {
        /* Убираем фиксированную высоту 360px, делаем авто-высоту с минимальным порогом */
        height: auto;
        min-height: 320px;
        gap: 10px;
    }

    .bento-col{gap: 10px;}
    .bento-content{padding: 20px 15px 20px 15px;}

    .bento-title {
        font-size: 20px;
        margin-top: auto;
        padding-bottom: 5px;
        top: 10px;
        line-height: 1.1;
    }

    /* Заголовок "НАПРАВЛЕНИЯ" */
    .bento-header-block {
        font-size: 14px;
        align-self: center; /* Прижимаем вправо */
        margin-bottom: 10px;
    }
    .bento-header-block::before {
        left: -10px; right: -10px; /* Уменьшаем фон маркера */
        height: 50px;
    }

    .bento-arrow{width: 31px;height: 31px;position: absolute;top: 14px;margin-top: 0}

    /* --- PRICE GRID (Цены) --- */
    /* Делаем отступы внутри карточек меньше */
    .prices-light-section{margin-top: 30px}

    .light-card {
        padding: 12px;
    }
    .l-info {
        padding-right: 0; /* Убираем лишний отступ */
    }
    .l-title {
        font-size: 13px;
    }
    .l-icon-box {
        position: relative; /* Возвращаем иконку в поток, чтобы не наезжала */
        top: 0; right: 0;
        margin-bottom: 8px;
    }
    .pill-link {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
        border: 1px solid rgba(0, 0, 0, 0.02);
        padding: 10px 20px;
    }
}

/* 2. Адаптация для узких экранов (iPhone Mini, SE, старые Android - до 370px) */
@media screen and (max-width: 370px) {

    .hero-name {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    /* Сетка цен превращается в 1 колонку */
    .light-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .l-icon-box {
        /* В режиме 1 колонки возвращаем иконку в угол для красоты */
        position: absolute;
        top: 12px;
        right: 12px;
        margin-bottom: 0;
    }

    .light-card {
        /* Возвращаем горизонтальную ориентацию для 1 колонки */
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        min-height: 70px;
        gap: 15px;
    }

    .l-info {
        padding-right: 40px; /* Место под иконку */
    }

    /* Bento Grid (Навигация) остается в 2 колонки, но уменьшаем шрифты */
    .bento-grid {
        gap: 8px;
    }
    .bento-content {
        padding: 12px;
    }
    .bento-title {
        font-size: 16px;
    }
    .bento-arrow {
        width: 28px; height: 28px;
        font-size: 10px;
    }

    /* Соцсети в ряд */
    .link-name {
        font-size: 14px;
    }
    .icon-circle {
        width: 30px; height: 30px; font-size: 14px; margin-right: 10px;
    }
}

/* --- 1. ОБНОВЛЕНИЯ СОЦСЕТЕЙ (VK + Hover) --- */
.vk .icon-circle { background: #0077FF; }

/* Hover эффект для строк соцсетей */
.social-row {
    transition: background 0.2s, transform 0.2s;
    border-radius: 12px; /* Чтобы при наведении фон был красивым */
    padding-left: 10px; /* Небольшой отступ для hover-фона */
    padding-right: 10px;
    margin: 0 -10px; /* Компенсация отступа */
}
.social-row:hover {
    background: #f7f7f7;
    transform: translateX(5px);
}

/* --- 2. КНОПКИ В ПРАЙСЕ (Слева + Ширина карточки) --- */
.price-action-row {
    justify-content: flex-start; /* Выравнивание слева */
    padding: 0; /* Убираем лишние отступы если были */
}

.pill-link {
    /* Ширина как у одной карточки (50% минус половина отступа gap) */
    /* Gap у нас 10px или 12px, берем среднее */
    width: calc(50% - 6px);
    box-sizing: border-box;
    justify-content: center; /* Текст внутри по центру */
    padding: 12px 10px;
    border-radius: 16px; /* Как у карточек */
}

/* --- 3. ЦВЕТНЫЕ КНОПКИ В CTA --- */
.social-btn-color {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    color: #fff;
    transition: transform 0.2s, filter 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.social-btn-color:active { transform: scale(0.98); }
.social-btn-color:hover { filter: brightness(1.1); }
.social-btn-color i { margin-right: 10px; font-size: 20px; }

.tg-color { background: #0088cc; }
.wa-color { background: #25D366; }
.vk-color { background: #0077FF; }


/* --- 4. КЛАССИЧЕСКИЙ ФУТЕР --- */
.footer-classic {
    background: var(--dark);
    color: #fff;
    padding: 40px 20px 30px;
    border-radius: 20px 20px 0 0;
    margin-top: 40px;
    text-align: center;
}

.footer-logo {
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
    font-size: 14px;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.footer-link:hover { opacity: 1; text-decoration: underline; }
.footer-loc { opacity: 0.5; font-size: 12px; }

.footer-mini-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}
.footer-mini-socials a {
    color: #fff;
    font-size: 20px;
    opacity: 0.6;
    transition: transform 0.2s, opacity 0.2s;
}
.footer-mini-socials a:hover { opacity: 1; transform: scale(1.2); }

.copyright-classic {
    font-size: 11px;
    opacity: 0.3;
    line-height: 1.6;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* --- 5. ПРОСТОЙ СПИСОК УСЛУГ (Иконки) --- */
.services-simple-section {
    padding: 0 15px 30px;
}
.simple-list-container {
    background: #fff;
    border-radius: 16px;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* На совсем маленьких экранах перенесется */
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.simple-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1; /* Равномерное распределение */
    min-width: 60px;
}

.simple-item i {
    font-size: 20px;
    color: var(--primary);
    opacity: 0.8;
}

.simple-item span {
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    color: var(--dark);
}

/* --- АДАПТИВ ДЛЯ НОВЫХ ЭЛЕМЕНТОВ --- */
@media screen and (max-width: 370px) {
    /* На очень узких экранах кнопка в прайсе будет на всю ширину,
       так как сетка становится в 1 колонку */
    .pill-link {
        width: 100%;
    }

    .simple-item span { font-size: 9px; }
}