/* ==================== ОБЩИЕ ==================== */
* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #121212;
    color: #f3f4f6;
    line-height: 1.6;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Montserrat', sans-serif;
}

section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid #1f2937;
}

/* ==================== HEADER ==================== */
.custom-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 10px;
    text-decoration: none;
}

@media (max-width: 767px) {
    .logo-link { margin-left: 0; flex: 1; justify-content: flex-start; min-width: 0; }
}

.header-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 767px) { .header-logo { height: 56px; } }

.nav-links {
    display: none;
    align-items: center;
    gap: 2.5rem;
    margin-left: 3rem;
}

@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-item {
    font-size: 16px;
    font-weight: 700;
    color: #d1d5db;
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 3px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.nav-item:hover { color: #FFC107; }
.nav-item.active { color: #FFC107; border-bottom-color: #FFC107; }

.phone-button-wrapper { display: none; }

@media (min-width: 1024px) {
    .phone-button-wrapper { display: flex; align-items: center; flex-shrink: 0; }
}

.phone-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #FFC107;
    color: #000;
    font-weight: 800;
    font-size: 16px;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.phone-button:hover { background-color: #e0a800; transform: translateY(-2px); }
.phone-button i { font-size: 18px; }

.mobile-header-right {
    display: none;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

@media (max-width: 767px) { .mobile-header-right { display: flex; } }

.mobile-phone-btn-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #FFC107;
    color: #000;
    font-weight: 800;
    font-size: 12px;
    padding: 0.5rem 0.75rem;
    border-radius: 50px;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.mobile-phone-btn-header:hover,
.mobile-phone-btn-header:active { background-color: #e0a800; transform: scale(1.03); }

.mobile-phone-btn-header i { font-size: 12px; }

@media (max-width: 380px) {
    .mobile-phone-btn-header { font-size: 10px; padding: 0.4rem 0.6rem; gap: 4px; }
    .mobile-phone-btn-header i { font-size: 10px; }
}

/* ==================== ГАМБУРГЕР ==================== */
.mobile-menu-btn-wrapper { display: flex; align-items: center; }

@media (min-width: 768px) { .mobile-menu-btn-wrapper { display: none; } }

.hamburger {
    width: 44px;
    height: 44px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    z-index: 60;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #FFC107;
    border-radius: 3px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55),
                opacity 0.3s ease;
    transform-origin: center;
}

.hamburger.active .line-top { transform: translateY(9px) rotate(45deg); }
.hamburger.active .line-middle { opacity: 0; transform: scaleX(0); }
.hamburger.active .line-bottom { transform: translateY(-9px) rotate(-45deg); }

/* ==================== МОБИЛЬНОЕ МЕНЮ ==================== */
.mobile-menu {
    display: none;
    background-color: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    width: 100%;
}

.mobile-menu:not(.hidden) {
    display: block;
    animation: slideDown 0.35s ease forwards;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-item {
    display: block;
    padding: 0.85rem 0;
    font-weight: 500;
    color: #d1d5db;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active { color: #FFC107; padding-left: 8px; }

.mobile-phone-wrapper { padding-top: 1rem; }

.mobile-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background-color: #FFC107;
    color: #000;
    font-weight: 800;
    padding: 0.85rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

/* ==================== HERO ==================== */
.hero-section {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #1f2937;
    width: 100%;
    background-color: #0d0d0d;
}

@media (min-width: 768px) {
    .hero-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url('img/bg.png');
        background-size: cover;
        background-position: right center;
        background-repeat: no-repeat;
        z-index: 0;
    }
}

@media (max-width: 767px) {
    .hero-section::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 0;
        background-color: #0d0d0d;
        background-image: url('img/bgmobile.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-section::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(180deg, rgba(13, 13, 13, 0.55) 0%, rgba(13, 13, 13, 0.85) 60%, rgba(13, 13, 13, 0.98) 100%);
        pointer-events: none;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

@media (min-width: 768px) {
    .hero-overlay {
        background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    }
}

@media (max-width: 767px) { .hero-overlay { background: none; } }

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 1rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) { .hero-container { padding: 8rem 1rem; } }

@media (max-width: 767px) {
    .hero-container { padding: 0.25rem 1rem 1rem 1rem; }
    .hero-title { font-size: 1.75rem !important; margin-bottom: 0.5rem; }
    .hero-subtitle { font-size: 0.9rem !important; margin-bottom: 1rem; }
    .hero-buttons { gap: 0.5rem; }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }

.hero-content { max-width: 600px; }

/* ==================== HERO LOGO ==================== */
.hero-logo-top {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.hero-logo-top img {
    height: 4.95rem;
    width: auto;
    object-fit: contain;
    display: block;
}

@media (min-width: 640px) {
    .hero-logo-top img { height: 6.3rem; }
}

@media (min-width: 1024px) {
    .hero-logo-top img { height: 7.65rem; }
}

@media (max-width: 767px) {
    .hero-logo-top {
        margin-bottom: 0.5rem;
    }
    .hero-logo-top img {
        height: 5.6rem;
    }
}

/* ==================== HERO TITLE ==================== */
.hero-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) { .hero-title { font-size: 2.8rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.4rem; } }

.hero-slogan {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

@media (max-width: 767px) { .hero-slogan { font-size: 0.8rem; } }

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 500;
    color: #e5e7eb;
    line-height: 1.6;
    margin-bottom: 2rem;
}

@media (min-width: 640px) { .hero-subtitle { font-size: 1.25rem; } }

/* WE COME TO YOU (hero) */
.hero-we-come-small {
    display: inline-block;
    color: #FFC107;
    font-size: 1.25rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.2;
    margin-top: 0.35rem;
}

@media (min-width: 640px) {
    .hero-we-come-small { font-size: 1.4rem; }
}

@media (max-width: 767px) {
    .hero-we-come-small { font-size: 1.1rem; margin-top: 0.25rem; }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
}

/* ==================== КНОПКИ ==================== */
.btn-primary,
.btn-secondary,
.btn-sms {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1rem;
    padding: 0.9rem 2.25rem;
    border-radius: 12px;
    line-height: 1.2;
    min-height: 48px;
    transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: #FFC107;
    color: #000;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover { background-color: #e0a800; transform: translateY(-2px); }

.btn-secondary {
    border: 2px solid #6b7280;
    color: #fff;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover { border-color: #FFC107; }
.btn-secondary i { color: #FFC107; }

.btn-sms {
    background-color: #1e1e1e;
    border: 2px solid #FFC107;
    color: #FFC107;
    cursor: pointer;
}

.btn-sms:hover { background-color: #FFC107; color: #000; transform: translateY(-2px); }
.btn-sms i { color: #FFC107; transition: color 0.3s ease; }
.btn-sms:hover i { color: #000; }

@media (max-width: 767px) {
    .btn-primary, .btn-secondary, .btn-sms {
        padding: 0.75rem 1.75rem;
        font-size: 0.9rem;
        min-height: 44px;
        border-radius: 10px;
        width: 100%;
    }
}

/* ==================== HERO LOCATIONS IMAGE ==================== */
.hero-locations {
    margin-top: 1.25rem;
    max-width: 600px;
}

.hero-locations img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 767px) {
    .hero-locations { margin-top: 1rem; }
}

/* ==================== SERVICES ==================== */
.services-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid #1f2937;
    background-color: #121212;
}

@media (max-width: 767px) { .services-section { padding-top: 1.5rem; } }

/* ==================== ИНСТАГРАМ-КНОПКА ==================== */
.instagram-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(253, 29, 29, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.instagram-cta-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 36px rgba(253, 29, 29, 0.5);
    filter: brightness(1.1);
}

.instagram-cta-btn i { font-size: 1.4rem; }

@media (max-width: 640px) {
    .instagram-cta-btn {
        width: 100%;
        max-width: 360px;
        font-size: 0.9rem;
        padding: 0.9rem 1.5rem;
        letter-spacing: 0.06em;
    }
    .instagram-cta-btn i { font-size: 1.2rem; }
}

/* ==================== ОТЗЫВЫ (КАРУСЕЛЬ НА МОБИЛЬНЫХ) ==================== */
.reviews-carousel-wrapper {
    position: relative;
    padding: 0 50px;
}

.reviews-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1023px) {
    .reviews-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .reviews-carousel {
        display: block;
        padding: 0;
        margin: 0;
    }
    
    .reviews-carousel .review-card {
        width: 100%;
        margin: 0;
        animation: fadeIn 0.3s ease;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ==================== СТРЕЛКИ ОТЗЫВОВ (стильные, компактные) ==================== */
.reviews-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 193, 7, 0.35);
    color: #FFC107;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.reviews-arrow:hover {
    background: #FFC107;
    color: #000;
    box-shadow: 0 6px 18px rgba(255, 193, 7, 0.4);
    transform: translateY(-50%) scale(1.05);
}

@media (max-width: 767px) {
    .reviews-arrow { display: flex; }
    .reviews-arrow-left { left: 4px; }
    .reviews-arrow-right { right: 4px; }
}

/* ==================== АНИМАЦИИ ==================== */
.reveal {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-90px);
    transition: opacity 2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-right {
    opacity: 0;
    transform: translateX(90px);
    transition: opacity 2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.15s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal:nth-child(4) { transition-delay: 0.45s; }
.reveal:nth-child(5) { transition-delay: 0.6s; }
.reveal:nth-child(6) { transition-delay: 0.75s; }
.reveal:nth-child(7) { transition-delay: 0.9s; }
.reveal:nth-child(8) { transition-delay: 1.05s; }
.reveal:nth-child(9) { transition-delay: 1.2s; }

/* ==================== КНОПКА НАВЕРХ ==================== */
.scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFC107, #ffb300);
    color: #000;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 8px 24px rgba(255, 193, 7, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: opacity 0.5s ease,
                transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55),
                visibility 0.5s ease;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, #e0a800, #cc9a00);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 32px rgba(255, 193, 7, 0.6);
}

.scroll-top-btn i { transition: transform 0.3s ease; }
.scroll-top-btn:hover i { transform: translateY(-3px); }

@media (max-width: 640px) {
    .scroll-top-btn {
        width: 48px;
        height: 48px;
        font-size: 18px;
        bottom: 80px;
        right: 16px;
    }
}

/* ==================== МОДАЛКА (iOS-ФИКС) ==================== */
.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.booking-modal.hidden { display: none; }

.booking-modal-content {
    background-color: #1e1e1e;
    border: 1px solid #374151;
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    animation: modalIn 0.3s ease forwards;
    margin: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.booking-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    color: #9ca3af;
    font-size: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.booking-modal-close:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
    .booking-modal-content { padding: 1.5rem; max-height: 92vh; }
}

/* ==================== TOAST ==================== */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1100;
    background-color: #1e1e1e;
    border: 2px solid #FFC107;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    max-width: calc(100vw - 48px);
}

.toast:not(.hidden) { transform: translateY(0); opacity: 1; }

@media (max-width: 640px) {
    .toast { right: 16px; bottom: 16px; padding: 0.875rem 1.25rem; }
}

/* ==================== КАСТОМНЫЙ КАЛЕНДАРЬ ==================== */
.custom-calendar {
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 12px;
    margin-top: 6px;
    font-family: 'Inter', sans-serif;
    user-select: none;
}

.cal-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px; color: #FFC107; font-weight: 800; font-size: 14px;
}

.cal-nav {
    background: #FFC107; color: #000; border: none; border-radius: 50%;
    width: 28px; height: 28px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s, background-color 0.2s;
}

.cal-nav:hover { transform: scale(1.1); background: #e0a800; }
.cal-nav:disabled { opacity: 0.3; cursor: not-allowed; transform: none; }

.cal-grid {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}

.cal-dow {
    text-align: center; font-size: 10px; color: #9ca3af; font-weight: 700; padding: 4px 0; text-transform: uppercase;
}

.cal-day {
    aspect-ratio: 1; border: 1px solid #2a2a2a; background: #1e1e1e; color: #e5e7eb;
    border-radius: 8px; cursor: pointer; font-size: 12px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}

.cal-day:hover:not(.disabled):not(.empty) {
    border-color: #FFC107; color: #FFC107; transform: scale(1.05);
}

.cal-day.selected {
    background: #FFC107 !important; color: #000 !important; border-color: #FFC107; font-weight: 800;
}

.cal-day.disabled, .cal-day.empty {
    background: transparent; border-color: transparent; cursor: default; color: #4b5563;
}

.cal-day.today { border-color: #FFC107; }

.selected-date-display {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    color: #FFC107;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.selected-date-display i { margin-right: 6px; }

/* ==================== МЕДИА В УСЛУГАХ (120×120) ==================== */
.service-media {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 193, 7, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-card:hover .service-media {
    background: rgba(255, 193, 7, 0.15);
    transform: scale(1.08);
}

.service-media img,
.service-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-media .fallback-icon {
    color: #FFC107;
    font-size: 48px;
}

@media (max-width: 640px) {
    .service-media {
        width: 100px;
        height: 100px;
        border-radius: 14px;
        margin-bottom: 16px;
    }
    .service-media .fallback-icon {
        font-size: 40px;
    }
}

/* ==================== OTHER SERVICE FIELD ==================== */
#other-service-wrapper {
    animation: slideFadeIn 0.3s ease forwards;
}

@keyframes slideFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== REVIEWS (See more / See less) ==================== */
.review-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: pre-line;
    transition: all 0.3s ease;
}

.review-text.expanded {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
}

.review-toggle {
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    text-align: left;
}

@media (max-width: 640px) {
    .review-text { -webkit-line-clamp: 3; }
}

/* ==================== FOOTER LOGO ==================== */
.logo-link-footer {
    display: inline-block;
    text-decoration: none;
}

.logo-link-footer img {
    height: 48px;
    width: auto;
    object-fit: contain;
    margin: 0 auto 1rem;
    display: block;
}

@media (min-width: 768px) {
    .logo-link-footer img {
        margin: 0 0 1rem 0;
    }
}

@media (max-width: 767px) {
    .logo-link-footer img {
        height: 44px;
    }
}

/* ==================== FOOTER WE COME TO YOU ==================== */
.footer-we-come {
    display: block;
    color: #FFC107;
    font-weight: 800;
    font-style: italic;
    margin-top: 0.5rem;
    letter-spacing: 0.03em;
}

/* ==================== FOOTER CONTACTS (вертикальное выравнивание) ==================== */
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contacts p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
}

@media (max-width: 767px) {
    .footer-contacts {
        align-items: center;
    }
    .footer-contacts p {
        justify-content: flex-start;
        width: 100%;
        max-width: 260px;
    }
}

/* ==================== MADE BY (жёлтый) ==================== */
.made-by-link {
    color: #FFC107;
    text-decoration: none;
    font-weight: 600;
    font-style: italic;
    transition: color 0.2s ease;
}

.made-by-link:hover {
    color: #e0a800;
}

/* Переопределение text-gray-400 */
.text-gray-400 {
    color: rgb(231 231 231) !important;
}