/* Базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}



/* Красивый скроллбар */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1c2942;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

:root {
    --bg-dark: #060b19;
    --bg-card: #0d152a;
    --text-main: #ffffff;
    --text-muted: #a0aabf;
    --accent-cyan: #00f2fe;
    --accent-blue: #4facfe;
    --border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}
/* Чтобы контент был поверх фона */
.header, main, section, footer {
    position: relative;
    z-index: 1;
}

/* Анимация смены языка (Сдувание) */
body.fade-out {
    opacity: 0;
    transform: translateY(-20px) scale(0.98);
    filter: blur(5px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Кнопки с эффектом воды (ripple) */
.btn {
    position: relative;
    overflow: hidden; /* Для эффекта воды */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: 0.3s;
    font-family: inherit;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    color: #000;
}

.btn-primary:hover {
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text-main);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.05);
}

/* Ripple эффект */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleAnim 0.6s linear;
    pointer-events: none;
}
@keyframes rippleAnim {
    to { transform: scale(4); opacity: 0; }
}

/* Шапка */
.header {
    background: rgba(6, 11, 25, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px); 
    border-bottom: 1px solid var(--border);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo-img-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 0 2px #0d152a, 
        0 0 0 4px rgba(0, 242, 254, 0.6),
        0 0 15px rgba(0, 242, 254, 0.3);
    transition: 0.3s;
}

/* Индикатор главной страницы */
.logo.active-home .logo-img-box {
    box-shadow: 
        0 0 0 2px #0d152a, 
        0 0 0 4px rgba(0, 242, 254, 1),
        0 0 25px rgba(0, 242, 254, 0.6);
}
.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.8); /* Увеличиваем картинку внутри, чтобы скрыть края */
}

.nav {
    display: flex;
    gap: 10px;
}

.nav a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: 0.3s;
}

.nav a:hover, .nav a.active {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.05);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Переключатель языков (iOS Style) */
.lang-switch {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2px;
    cursor: pointer;
    position: relative;
    width: 64px;
    height: 30px;
    user-select: none;
    flex-shrink: 0;
    transition: 0.3s;
}

/* Подсказка при наведении на язык */
.lang-switch:hover {
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
    border-color: var(--accent-cyan);
}

.lang-label {
    flex: 1;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    z-index: 2;
    transition: 0.3s;
}
.lang-label.active {
    color: #000;
}
.lang-switch .slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 28px;
    height: 24px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    border-radius: 14px;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 1;
}
.lang-switch.en .slider {
    transform: translateX(30px);
}

.btn-phone {
    font-size: 14px;
}

.burger {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.burger span {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    border-radius: 2px;
}

/* Главный экран */
.hero {
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* Контейнер для правой части главного экрана */
.hero-image {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Прижимаем к правому краю */
    justify-content: center;
    padding-right: 30px;
}

/* Текст над логотипом */
.hero-tagline {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 25px;
    text-align: right;
    font-weight: 500;
    border-right: 3px solid var(--accent-cyan); /* Неоновая линия */
    padding-right: 15px;
    max-width: 320px;
    line-height: 1.4;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.hero-logo-box {
    width: 100%;
    max-width: 224px;
    aspect-ratio: 1 / 1; /* Делаем строго квадратным */
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 0 4px #0d152a, 
        0 0 0 6px rgba(0, 242, 254, 0.5);
    animation: float 6s ease-in-out infinite; /* Анимация плавания теперь на рамке */
}

.hero-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.8); /* Убираем поля внутри */
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
}

/* Услуги */
.services {
    padding: 80px 0;
    background: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 35px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    cursor: pointer; /* Делаем курсор указателем на всей карточке */
    display: flex;
    flex-direction: column; 
}

.service-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.1);
}

.service-card .icon {
    display: inline-block; /* Важно для правильного масштабирования */
    font-size: 40px;
    margin-bottom: 20px;
    transition: 0.3s;
    transform-origin: left center; /* Растет вправо, не сдвигая текст */
}
.service-card:hover .icon {
    transform: scale(1.5);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 25px;
}

.click-hint {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    animation: pointFinger 2s infinite ease-in-out;
    user-select: none;
    opacity: 0.7;
}

@keyframes pointFinger {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5px, -5px); }
}

.service-link {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--accent-cyan);
    border-radius: 8px;
    transition: 0.3s;
    position: relative;
    z-index: 2; /* Кнопка выше карточки, чтобы работал hover */
    margin-top: auto; 
    align-self: flex-start;
}

/* Эффект при наведении ТОЛЬКО на кнопку */
.service-link:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

/* Убираем растягивание кнопки на всю карточку (заменено на JS клик) */
/*.service-link::after { content: ''; position: absolute; inset: 0; z-index: 1; } */

/* Почему я */
.why-me {
    padding: 80px 0;
}

/* 3D Переворот карточек */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}
.flip-card {
    background-color: transparent;
    perspective: 1000px;
    height: 220px;
    cursor: pointer;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner, 
.flip-card.active .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.flip-card-front {
    color: var(--text-main);
}
.flip-card-front h4 {
    font-size: 20px;
}
.flip-card-back {
    background: linear-gradient(135deg, rgba(13, 21, 42, 1), rgba(0, 242, 254, 0.1));
    color: var(--text-muted);
    transform: rotateY(180deg);
    font-size: 14px;
}
/* Для телефонов делаем переворот по клику (через JS) */

/* Подвал */
.footer {
    background: #040812;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 15px;
    max-width: 350px;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.contact-row a {
    color: var(--text-muted);
    font-size: 15px;
}

.contact-row a:hover {
    color: var(--accent-cyan);
}

.copy-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.2s;
}

.copy-btn:hover {
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.copy-btn svg {
    width: 14px;
    height: 14px;
}

.socials {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.social-btn {
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 14px;
}

.social-btn:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.05);
}

/* Калькулятор */
.calculator-section {
    padding: 150px 0 100px;
    min-height: 100vh;
}

.calc-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: -30px auto 40px;
}

.calc-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.calc-tab {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
}

.calc-tab:hover {
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.3);
}

.calc-tab.active {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    color: #000;
    border-color: transparent;
}

.calc-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 30px;
}

.calc-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.calc-content.active {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.calc-label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.calc-label:hover {
    background: rgba(255, 255, 255, 0.05);
}

.calc-label input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-muted);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.calc-label input[type="radio"] {
    border-radius: 50%;
}

.calc-label input:checked {
    border-color: var(--accent-cyan);
    background: var(--accent-cyan);
}

.calc-label input:checked::after {
    content: '✔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 12px;
    font-weight: bold;
}

.calc-label input[type="radio"]:checked::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
}

.calc-label span {
    font-size: 15px;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.calc-label b {
    color: var(--accent-cyan);
    font-weight: 600;
}

.calc-divider {
    height: 1px;
    background: var(--border);
    margin: 10px 0;
}

.calc-result {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--border);
    position: sticky;
    top: 100px;
}

.calc-result h3 {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.price-display {
    font-size: 40px;
    font-weight: 900;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.price-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.btn-full {
    width: 100%;
}

/* Форма записи */
.booking-section {
    padding: 150px 0 100px;
    min-height: 100vh;
}

.booking-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 15px;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.05);
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-main);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 15px;
}

.form-success {
    text-align: center;
    padding: 40px 0;
}
.form-success h3 {
    color: var(--accent-cyan);
    font-size: 24px;
    margin-bottom: 10px;
}
.form-success p {
    color: var(--text-muted);
}

/* Блок выбранных услуг в заявке */
.services-summary {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.services-summary h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--accent-cyan);
}
.service-category {
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px;
}
.service-category summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-muted);
    list-style: none;
    display: flex;
    justify-content: space-between;
}
.service-category summary::after {
    content: '+';
    font-size: 18px;
    color: var(--accent-cyan);
}
.service-category[open] summary::after {
    content: '-';
}
.service-category label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 14px;
    cursor: pointer;
    color: var(--text-muted);
}
.service-category input[type="checkbox"] {
    accent-color: var(--accent-cyan);
    width: 16px;
    height: 16px;
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 99;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.mobile-menu.open {
    transform: translateY(0);
}

.mobile-menu a {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-menu a:hover {
    color: var(--accent-cyan);
}

/* Адаптив */
@media (max-width: 950px) {
    .nav, .header-cta, .header-right .btn-phone {
        display: none; 
    }
    .burger {
        display: flex;
    }
    .header-inner {
        padding: 0 10px;
    }
    .logo { font-size: 16px; }
    .logo-img-box { width: 28px; height: 28px; }
    .hero-logo-box { display: none; }
    
    .hero { padding: 120px 0 60px; min-height: auto; }
    .hero h1 { font-size: 32px; }
    .section-title { font-size: 28px; }
    
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero p { margin: 0 auto 30px; }
    .hero-btns { justify-content: center; flex-direction: column; }
    /* Показываем контейнер, но центрируем текст */
    .hero-image {
        display: flex; 
        align-items: center;
        padding-right: 0;
        margin-top: 30px;
    }
    
    /* Скрываем большой логотип на телефоне, чтобы не занимал полэкрана */
    .hero-logo {
        display: none; 
    }
    
    /* Текст центрируем и линию переносим вниз */
    .hero-tagline {
        text-align: center;
        border-right: none;
        border-bottom: 3px solid var(--accent-cyan);
        padding-right: 0;
        padding-bottom: 10px;
        max-width: 100%;
        margin-bottom: 0;
    }
    
    .services-grid { grid-template-columns: 1fr; }
    
    .calculator-section, .booking-section { padding: 120px 0 60px; }
    .calc-wrapper { padding: 15px; grid-template-columns: 1fr; }
    .calc-result { position: static; }
    .booking-form-wrapper { padding: 20px; }
    
    .calc-tabs { 
        flex-wrap: nowrap; 
        overflow-x: auto; 
        justify-content: flex-start; 
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    .calc-tab { white-space: nowrap; font-size: 14px; padding: 8px 16px; }
    
    .footer-inner { flex-direction: column; }
    .calc-label span {
        font-size: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* --- Стили для чекбоксов в заявке (Пункт 1) --- */
.services-summary {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.services-summary h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--accent-cyan);
}
.service-category {
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}
.service-category summary {
    padding: 12px 15px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-main);
    list-style: none;
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    transition: 0.2s;
}
.service-category summary:hover {
    background: rgba(255, 255, 255, 0.06);
}
.service-category summary::after {
    content: '+';
    font-size: 18px;
    color: var(--accent-cyan);
}
.service-category[open] summary::after {
    content: '-';
}
.category-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Кастомный чекбокс как в калькуляторе */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}
.custom-checkbox:hover {
    background: rgba(255, 255, 255, 0.05);
}
.custom-checkbox input {
    display: none;
}
.custom-box {
    width: 18px;
    height: 18px;
    border: 2px solid var(--text-muted);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: 0.2s;
}
.custom-checkbox input:checked + .custom-box {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
}
.custom-checkbox input:checked + .custom-box::after {
    content: '✔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 12px;
    font-weight: bold;
}
.custom-text {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: var(--text-muted);
}
.custom-text b {
    color: var(--accent-cyan);
}

/* Итоговая сумма в заявке */
.booking-total {
    margin-top: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
}
.booking-total span {
    color: var(--accent-cyan);
    font-size: 20px;
}

/* Стили для блока отзывов на главной */
.reviews-section { padding: 80px 0; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 25px;
    transition: 0.3s;
}
.review-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
}
.review-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.review-avatar {
    width: 50px; height: 50px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 700; color: #000;
}
.review-author h4 { font-size: 16px; margin-bottom: 3px; }
.review-date { font-size: 12px; color: var(--text-muted); }
.review-stars { color: #fbbf24; font-size: 16px; margin-bottom: 15px; letter-spacing: 2px; }
.review-text { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }

.add-review-box {
    max-width: 600px; margin: 0 auto; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: 15px; padding: 35px;
}
.star-rating { display: flex; gap: 5px; flex-direction: row-reverse; justify-content: flex-end; margin-bottom: 15px; }
.star-rating input { display: none; }
.star-rating label { font-size: 30px; color: var(--text-muted); cursor: pointer; transition: 0.2s; }
.star-rating input:checked ~ label, .star-rating label:hover, .star-rating label:hover ~ label { color: #fbbf24; }