/* ============ СБРОС СТИЛЕЙ И БАЗОВЫЕ НАСТРОЙКИ ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background: #fff;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

/* ============ ЦВЕТОВАЯ ПАЛИТРА ============ */
:root {
    --primary: #FDD701;
    --primary-dark: #A38715;
    --accent: #FDD701;
    --accent-hover: #A38715;
    --dark: #1E1C1C;
    --gray: #f5f6fa;
    --gray-dark: #666;
    --white: #ffffff;
}

/* ============ КНОПКИ ============ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: #FDD701;
    color: #1E1C1C;
    box-shadow: 0 4px 15px rgba(253, 215, 1, 0.3);
}

.btn-primary:hover {
    background: #A38715;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #FDD701;
    border: 2px solid #FDD701;
}

.btn-outline:hover {
    background: #FDD701;
    color: #1E1C1C;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FDD701;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
    margin-bottom: 30px;
}

.btn-back:hover {
    color: #A38715;
}

/* ============ ЛОГОТИП В ШАПКЕ ============ */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 140px;
    width: auto;
    display: block;
}

/* ============ ШАПКА ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #05FADD;
    padding: 0;
    transition: all 0.3s;
    height: 70px;
    display: flex;
    align-items: center;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: #1E1C1C;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #fff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone {
    color: #1E1C1C;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.btn-callback {
    background: transparent;
    color: #1E1C1C;
    border: 2px solid #1E1C1C;
    padding: 10px 24px;
    font-weight: 600;
}

.btn-callback:hover {
    background: #1E1C1C;
    color: #05FADD;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #1E1C1C;
    border-radius: 3px;
    transition: all 0.3s;
}

/* ============ ПАТТЕРН НА СЕКЦИЯХ ============ */
.section-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('../svg/pattern.svg');
    background-repeat: repeat;
    opacity: 0.04;
    pointer-events: none;
}

.hero .section-pattern {
    opacity: 0.06;
    z-index: 1;
}

.services .section-pattern {
    opacity: 0.05;
    z-index: 2;
}

/* ============ ПЕРВЫЙ ЭКРАН ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #1E1C1C;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-wrapper video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, #1E1C1C 0%, #2A2A2A 50%, #1E1C1C 100%);
    animation: gradientShift 8s ease infinite;
    background-size: 300% 300%;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    color: #fff;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #FDD701;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-yellow {
    color: #FDD701;
}

.hero-description {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background: #FDD701;
    color: #1E1C1C;
    padding: 16px 36px;
    font-size: 16px;
}

.hero-buttons .btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 16px 36px;
    font-size: 16px;
}

.hero-buttons .btn-outline:hover {
    background: #fff;
    color: #1E1C1C;
}

.hero-stats {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #FDD701;
}

.stat-text {
    font-size: 14px;
    color: #aaa;
    margin-top: 5px;
}

.hero-wave {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ============ СЕКЦИИ ============ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    color: #1E1C1C;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #FDD701;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    margin-top: 20px;
}

/* ============ УСЛУГИ ============ */
.services {
    position: relative;
    padding: 100px 0;
    background: #1E1C1C;
    overflow: hidden;
}

.services-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.services-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.services-bg-video.active {
    opacity: 1;
}

.services-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(30, 28, 28, 0.8);
}

/* Центрируем карточки услуг, чтобы при любом количестве всё было ровно */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
}

.services-grid .service-card-hover {
    flex: 0 1 calc(33.333% - 25px);
    max-width: calc(33.333% - 25px);
    min-width: 280px;
    display: flex;
}

.service-card-hover {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.service-card-inner {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.service-card-hover:hover .service-card-inner {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.service-icon {
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.service-card-hover:hover .service-icon {
    transform: scale(1.1);
}

.icon-bg {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.service-text {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card-hover:hover .service-text {
    color: #fff;
}

.service-link {
    color: #FDD701;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    margin-top: auto;
}

.service-card-hover:hover .service-link {
    color: #fff;
    letter-spacing: 1px;
}

/* ============ ВНУТРЕННИЕ СТРАНИЦЫ УСЛУГ ============ */
.page-header {
    background: linear-gradient(135deg, #1E1C1C 0%, #2A2A2A 50%, #1E1C1C 100%);
    padding: 140px 0 80px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-header .breadcrumbs {
    font-size: 14px;
    color: #aaa;
}

.page-header .breadcrumbs a {
    color: #FDD701;
}

.service-detail {
    padding: 80px 0;
}

.service-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail-reverse {
    direction: rtl;
}

.service-detail-reverse > * {
    direction: ltr;
}

.service-detail-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-detail-image .img-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #fff;
}

.service-detail-content h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #1E1C1C;
}

.service-detail-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 15px;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: #666;
    font-size: 15px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FDD701;
    font-weight: 700;
}

/* Галерея */
.gallery-section {
    padding: 0 0 80px;
}

.gallery-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #fff;
    font-weight: 700;
}

/* Видео */
.video-gallery {
    padding: 0 0 80px;
}

.video-gallery h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.video-card {
    border-radius: 12px;
    overflow: hidden;
}

.video-card-placeholder {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
}

.video-card-placeholder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* FAQ */
.faq-section {
    padding: 0 0 80px;
}

.faq-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: #fff;
    border: none;
    padding: 20px 25px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1E1C1C;
}

.faq-question:hover {
    background: #f5f6fa;
}

.faq-answer {
    padding: 0 25px 20px;
    display: none;
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question {
    color: #A38715;
}

/* ============ КЛИЕНТЫ ============ */
.clients {
    position: relative;
    padding: 100px 0 60px;
    background: #fff;
    overflow: hidden;
}

.clients .container {
    position: relative;
    z-index: 1;
}

.clients-marquee {
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.marquee-row {
    overflow: hidden;
    padding: 15px 0;
    position: relative;
}

.marquee-row::before,
.marquee-row::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-row::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.marquee-row::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.marquee-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.marquee-left .marquee-track {
    animation-name: marqueeLeft;
    animation-duration: 35s;
}

.marquee-right .marquee-track {
    animation-name: marqueeRight;
    animation-duration: 40s;
}

@keyframes marqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.marquee-row:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    flex-shrink: 0;
}

.client-badge {
    width: 280px;
    height: 180px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-color: #e0e0e0;
    opacity: 0.9;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.client-badge::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 40px;
    color: #fff;
    transition: transform 0.3s;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.client-badge:hover {
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.client-badge:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Модальное окно проекта */
.project-modal .modal-content {
    max-width: 900px;
    width: 95%;
    padding: 0;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: row;
    border-radius: 16px;
}

.project-modal-left {
    flex: 0 0 60%;
    position: relative;
    overflow: hidden;
}

.project-modal-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

.project-modal-right {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
}

.project-modal-address {
    padding: 20px 25px;
    background: #f8f9fb;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-address-link {
    font-size: 14px;
    font-weight: 500;
    color: #0066cc;
    text-decoration: underline;
    transition: color 0.3s;
    cursor: pointer;
    word-break: break-word;
}

.project-address-link:hover {
    color: #A38715;
    text-decoration: none;
}

.project-modal-desc {
    padding: 25px;
    flex: 1;
    overflow-y: auto;
}

.project-modal-desc h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1E1C1C;
    font-weight: 700;
}

.project-modal-desc p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.project-modal .modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(0,0,0,0.5);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
}

.project-modal .modal-close:hover {
    background: rgba(0,0,0,0.8);
}

/* ============ ЭТАПЫ ============ */
.steps {
    position: relative;
    padding: 100px 0;
    background: #f5f6fa;
}

.steps .container {
    position: relative;
    z-index: 1;
}

.steps-list {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 70px;
    width: 2px;
    height: calc(100% + 10px);
    background: linear-gradient(to bottom, #FDD701, transparent);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FDD701, #A38715);
    color: #1E1C1C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    z-index: 1;
}

.step-content {
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    flex: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1E1C1C;
}

.step-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ============ КАЛЬКУЛЯТОР ============ */
.calc-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    padding: 0 10px;
}

.calc-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1E1C1C;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex: 0 1 auto;
    max-width: 100%;
}

.calc-tab:hover {
    border-color: #FDD701;
    transform: translateY(-2px);
}

.calc-tab.active {
    background: #1E1C1C;
    color: #FDD701;
    border-color: #1E1C1C;
}

.calc-tab .tab-icon {
    font-size: 18px;
    line-height: 1;
}

.calc-tab .tab-text {
    line-height: 1.2;
}

.tab-icon {
    font-size: 24px;
}

.tab-text {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.calc-content {
    padding: 40px;
}

.calc-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.calc-params h3,
.calc-result-card h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: #1E1C1C;
}

.param-group {
    margin-bottom: 25px;
}

.param-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.param-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.param-input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1E1C1C;
    transition: border-color 0.3s;
}

.param-input:focus {
    outline: none;
    border-color: #FDD701;
}

.param-unit {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    min-width: 40px;
}

.param-range {
    width: 100%;
    margin-top: 12px;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    outline: none;
}

.param-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: #FDD701;
    border-radius: 50%;
    cursor: pointer;
}

.param-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #999;
    margin-top: 5px;
}

.param-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #1E1C1C;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.param-select:focus {
    outline: none;
    border-color: #FDD701;
}

.param-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fb;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
    border: 2px solid transparent;
}

.checkbox-item:hover {
    background: #eef1f7;
}

.checkbox-item.checked {
    background: #FFF9E6;
    border-color: #FDD701;
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
    font-size: 14px;
    color: transparent;
}

.checkbox-item.checked .checkbox-custom {
    background: #FDD701;
    border-color: #FDD701;
    color: #1E1C1C;
}

.checkbox-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.checkbox-price {
    font-size: 14px;
    font-weight: 700;
    color: #A38715;
    white-space: nowrap;
}

/* Результат калькулятора */
.calc-result {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    align-self: start;
}

.calc-result-card {
    background: #1E1C1C;
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    z-index: 1;
}

.calc-result-card h3 {
    color: #fff;
}

.calc-price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #ccc;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.breakdown-row span:last-child {
    font-weight: 600;
}

.breakdown-total {
    font-size: 18px;
    color: #fff;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 12px;
}

.breakdown-total span:last-child {
    font-size: 22px;
    color: #FDD701;
}

.breakdown-note {
    color: #FDD701;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.breakdown-final {
    font-size: 20px;
    color: #fff;
    font-weight: 800;
    border-bottom: none;
    padding-top: 8px;
}

.breakdown-final span:last-child {
    font-size: 28px;
    color: #FDD701;
}

.calc-info-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.calc-info-card h4 {
    font-size: 15px;
    margin-bottom: 12px;
    color: #1E1C1C;
}

.calc-included {
    list-style: none;
    padding: 0;
}

.calc-included li {
    font-size: 13px;
    color: #666;
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.calc-included li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #A38715;
    font-weight: 700;
}

/* ============ ФОРМА СВЯЗИ СО СПЕЦИАЛИСТОМ ============ */
.specialist-form {
    padding: 40px;
    text-align: center;
}

.specialist-form-content {
    max-width: 550px;
    margin: 0 auto;
}

.specialist-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.specialist-form h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #1E1C1C;
}

.specialist-form p {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
}

.specialist-form input,
.specialist-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    margin-bottom: 15px;
    transition: border-color 0.3s;
}

.specialist-form input:focus,
.specialist-form textarea:focus {
    outline: none;
    border-color: #FDD701;
}

/* ============ ОТЗЫВЫ ============ */
.reviews {
    position: relative;
    padding: 100px 0;
    background: #f5f6fa;
}

.reviews .container {
    position: relative;
    z-index: 1;
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.review-author h4 {
    font-size: 16px;
    margin-bottom: 3px;
}

.review-author p {
    font-size: 13px;
    color: #666;
}

.review-stars {
    margin-left: auto;
    font-size: 14px;
}

.review-text {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    font-style: italic;
}

/* ============ КОНТАКТЫ ============ */
.contacts {
    position: relative;
    padding: 100px 0 0;
    background: #fff;
}

.contacts .container {
    position: relative;
    z-index: 1;
}

.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-text {
    font-size: 15px;
    color: #666;
}

.contact-text strong {
    display: block;
    color: #1E1C1C;
    margin-bottom: 3px;
}

.contact-text a {
    color: #A38715;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.social-link {
    min-width: 45px;
    height: 45px;
    padding: 0 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
}

.social-link:hover {
    transform: translateY(-3px);
}

.contacts-form {
    background: #f5f6fa;
    padding: 40px;
    border-radius: 15px;
}

.contacts-form h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.contacts-form p {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
}

.contacts-form input,
.contacts-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    margin-bottom: 15px;
    transition: border-color 0.3s;
}

.contacts-form input:focus,
.contacts-form textarea:focus {
    outline: none;
    border-color: #FDD701;
}

.form-agreement {
    font-size: 12px !important;
    color: #999 !important;
    text-align: center;
    margin-top: 12px;
}

.map-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.map-content p {
    color: #666;
    margin-top: 10px;
}

.map iframe {
    width: 100%;
    height: 400px;
    display: block;
    border: 0;
}

/* ============ ПОДВАЛ ============ */
.footer {
    position: relative;
    background: #05FADD;
    color: #1E1C1C;
    padding: 60px 0 30px;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-col-brand {
    position: relative;
    padding-top: 130px;
}

.footer-logo {
    position: absolute;
    top: -180px;
    left: 0;
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s;
    line-height: 0;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo-img {
    height: 450px;
    width: auto;
    display: block;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.7;
    color: #1E1C1C;
    margin: 0;
}

.footer-col h4 {
    color: #1E1C1C;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: #1E1C1C;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-col p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #1E1C1C;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.2);
    font-size: 13px;
    color: #1E1C1C;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom a {
    color: #1E1C1C;
}

.footer-bottom a:hover {
    opacity: 0.7;
}

/* ============ МОДАЛЬНОЕ ОКНО ============ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    cursor: pointer;
}

.modal-content {
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #999;
}

.modal-close:hover {
    color: #333;
}

.modal-content h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.modal-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
}

.modal-content input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    margin-bottom: 15px;
}

.modal-content input:focus {
    outline: none;
    border-color: #FDD701;
}

/* ============ МИНИ-КАЛЬКУЛЯТОР ============ */
.mini-calculator {
    padding: 80px 0;
    background: #f5f6fa;
}

.mini-calc-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    max-width: 650px;
    margin: 0 auto;
}

.mini-calc-header {
    text-align: center;
    margin-bottom: 35px;
}

.mini-calc-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1E1C1C;
    margin-bottom: 10px;
}

.mini-calc-header p {
    font-size: 14px;
    color: #666;
}

.mini-calc-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mini-param {
    margin-bottom: 22px;
}

.mini-param label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mini-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-size-input,
.mini-size-height,
.mini-size-qty,
.mini-grav-width,
.mini-grav-height {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1E1C1C;
    transition: border-color 0.3s;
    background: #fff;
    -moz-appearance: textfield;
    appearance: textfield;
}

.mini-size-input:focus,
.mini-size-height:focus,
.mini-size-qty:focus,
.mini-grav-width:focus,
.mini-grav-height:focus {
    outline: none;
    border-color: #FDD701;
    box-shadow: 0 0 0 3px rgba(253, 215, 1, 0.2);
}

.mini-size-input::-webkit-outer-spin-button,
.mini-size-input::-webkit-inner-spin-button,
.mini-size-height::-webkit-outer-spin-button,
.mini-size-height::-webkit-inner-spin-button,
.mini-size-qty::-webkit-outer-spin-button,
.mini-size-qty::-webkit-inner-spin-button,
.mini-grav-width::-webkit-outer-spin-button,
.mini-grav-width::-webkit-inner-spin-button,
.mini-grav-height::-webkit-outer-spin-button,
.mini-grav-height::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mini-unit {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    min-width: 30px;
    white-space: nowrap;
}

.mini-size-slider,
.mini-size-height-slider,
.mini-size-qty-slider,
.mini-grav-width-slider,
.mini-grav-height-slider {
    width: 100%;
    margin-top: 10px;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.mini-size-slider::-webkit-slider-thumb,
.mini-size-height-slider::-webkit-slider-thumb,
.mini-size-qty-slider::-webkit-slider-thumb,
.mini-grav-width-slider::-webkit-slider-thumb,
.mini-grav-height-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: #FDD701;
    border: 3px solid #1E1C1C;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(253, 215, 1, 0.4);
    transition: transform 0.15s ease;
}

.mini-size-slider::-webkit-slider-thumb:hover,
.mini-size-height-slider::-webkit-slider-thumb:hover,
.mini-size-qty-slider::-webkit-slider-thumb:hover,
.mini-grav-width-slider::-webkit-slider-thumb:hover,
.mini-grav-height-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.mini-size-slider::-moz-range-track,
.mini-size-height-slider::-moz-range-track,
.mini-size-qty-slider::-moz-range-track,
.mini-grav-width-slider::-moz-range-track,
.mini-grav-height-slider::-moz-range-track {
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
}

.mini-size-slider::-moz-range-thumb,
.mini-size-height-slider::-moz-range-thumb,
.mini-size-qty-slider::-moz-range-thumb,
.mini-grav-width-slider::-moz-range-thumb,
.mini-grav-height-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FDD701;
    border: 3px solid #1E1C1C;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.mini-size-slider::-moz-range-thumb:hover,
.mini-size-height-slider::-moz-range-thumb:hover,
.mini-size-qty-slider::-moz-range-thumb:hover,
.mini-grav-width-slider::-moz-range-thumb:hover,
.mini-grav-height-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
}

.mini-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #999;
    margin-top: 5px;
}

.mini-material-select,
.mini-cut-type,
.mini-print-type {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #1E1C1C;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.mini-material-select:focus,
.mini-cut-type:focus,
.mini-print-type:focus {
    outline: none;
    border-color: #FDD701;
}

.mini-result {
    background: #1E1C1C;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
}

.mini-result-label {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mini-result-price {
    font-size: 36px;
    font-weight: 800;
    color: #FDD701;
    margin-bottom: 10px;
}

.mini-result-note {
    font-size: 12px;
    color: #888;
}

.mini-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.mini-buttons .btn {
    flex: 1;
    min-width: 180px;
    text-align: center;
}

.mini-buttons .btn-outline {
    background: transparent;
    border: 2px solid #1E1C1C;
    color: #1E1C1C;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
}

.mini-buttons .btn-outline:hover {
    background: #1E1C1C;
    color: #FDD701;
}

/* ============ КНОПКА НАВЕРХ ============ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #FDD701;
    color: #1E1C1C;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(253, 215, 1, 0.4);
    transition: all 0.3s;
}

.scroll-top:hover {
    background: #A38715;
    color: #fff;
}

.scroll-top.visible {
    display: flex;
}

/* ============ ВСПОМОГАТЕЛЬНЫЕ КЛАССЫ ============ */
#widthGroup,
#heightBoxGroup,
#printTypeGroup,
#printWidthGroup,
#printHeightGroup,
#cutTypeGroup,
#lengthGroup,
#cutQtyGroup,
#gravWidthGroup,
#gravHeightGroup {
    display: none;
}

/* ============ АДАПТИВНОСТЬ ============ */
@media (max-width: 1024px) {
    .services-grid .service-card-hover {
        flex: 0 1 calc(50% - 25px);
        max-width: calc(50% - 25px);
    }

    .reviews-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .calc-main {
        grid-template-columns: 1fr;
    }

    .calc-result {
        position: static;
    }

    .calc-result-card {
        position: static;
    }

    .service-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-detail-reverse {
        direction: ltr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #05FADD;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .nav.active {
        display: flex;
    }

    .burger {
        display: flex;
    }

    .header-right .btn-callback {
        display: none;
    }

    .hero-title,
    .page-header h1 {
        font-size: 32px;
    }

    .hero-stats {
        gap: 25px;
    }

    .stat-number {
        font-size: 28px;
    }

    .services-grid .service-card-hover {
        flex: 0 1 100%;
        max-width: 100%;
        min-width: 0;
    }

    .service-card-inner {
        min-height: 280px;
    }

    .client-badge {
        width: 200px;
        height: 130px;
    }

    .marquee-track {
        gap: 15px;
    }

    .marquee-left .marquee-track {
        animation-duration: 25s;
    }

    .marquee-right .marquee-track {
        animation-duration: 30s;
    }

    .reviews-slider,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contacts-wrapper {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }

    .calc-tabs {
        gap: 8px;
        margin-bottom: 25px;
    }

    .calc-tab {
        padding: 10px 14px;
        font-size: 12px;
    }

    .calc-tab .tab-icon {
        font-size: 14px;
    }

    .calc-content {
        padding: 20px;
    }

    .calc-main {
        gap: 20px;
    }

    .specialist-form {
        padding: 20px;
    }

    .mini-calc-wrapper {
        padding: 30px 20px;
    }

    .mini-calc-header h2 {
        font-size: 22px;
    }

    .mini-result-price {
        font-size: 28px;
    }

    .mini-buttons {
        flex-direction: column;
    }

    .mini-buttons .btn {
        min-width: auto;
    }

    .project-modal .modal-content {
        flex-direction: column;
    }

    .project-modal-left {
        flex: 0 0 auto;
    }

    .project-modal-image {
        min-height: 200px;
        max-height: 250px;
    }

    .project-modal-right {
        flex: 0 0 auto;
    }

    .project-modal-address {
        padding: 15px 20px;
    }

    .project-modal-desc {
        padding: 20px;
    }

    .hero-wave {
        bottom: -2px;
    }
}

@media (max-width: 480px) {
    .tab-text {
        font-size: 10px;
    }

    .tab-icon {
        font-size: 20px;
    }

    .calc-tab {
        padding: 12px 8px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}