/* ============================================================
   АвтоБлеск ДМД — styles.css
   ============================================================ */
   
:root {
--primary: #0a1020;
--primary-light: #1a3a5c;
--primary-dark: #051829;
--accent: #2ea3f2;
--accent-light: #48cae4;
--accent-dark: #0077b6;
--accent-2: #0d8fe0;
--gold: #ffd700;
--text-light: #e0e7ff;
--text-muted: #94a3b8;
--bg-dark: #0f172a;
--bg-card: rgba(15, 23, 42, 0.85);
--border: rgba(0, 180, 216, 0.2);
--bg-2: #0d1526;
--card: #121c2f;
}
* {
    scroll-behavior: smooth;
}
body {
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
color: #fff;
}
a {
    text-decoration: none;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--primary-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.navbar {
    position: fixed;
    background: rgba(var(--bs-emphasis-color-rgb), 0.5);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}
.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--accent-light) !important;
    letter-spacing: 1px;
}
.navbar-brand i {
    color: var(--gold);
    margin-right: 8px;
}
.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.3s;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s;
    transform: translateX(-50%);
}
.nav-link:hover {
    width: 80%;
}
.nav-link:hover {
    color: #fff !important;
}
.nav-link::focus {
    color: #ffffff;
}
.btn-nav {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border: none;
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.4);
}
.btn-nav-phone {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    padding: 0.5rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-nav-phone:hover {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}


/* ===== HERO ===== */
.hero-section {
position: relative;
min-height: 100vh;
display: flex;
align-items: center;
padding: 120px 0 60px;
background: url('https://images.unsplash.com/photo-1601362840469-51e4d8d58785?w=1920&q=80') center/cover no-repeat;
}

/* Затемнение фонового изображения */
.hero-section::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(
97deg,
rgba(5, 24, 41, 0.88) 0%,
rgba(10, 37, 64, 0.82) 40%,
rgba(15, 23, 42, 0.65) 100%
);
z-index: 1;
}

.hero-section .container {
position: relative;
z-index: 2;
}

.hero-content {
max-width: 1111px;
}
.hero-badges {
margin-left: auto !important;
margin-right: auto;
flex-wrap: wrap;
justify-content: center;
}
.hero-content span {
font-weight: bold;
}
.hero-title {
font-size: clamp(2rem, 5vw, 4rem);
font-weight: 800;
line-height: 1.15;
margin-bottom: 1.5rem;
color: #fff;
}
.hero-title .highlight {
background: linear-gradient(135deg, var(--accent-light), var(--accent));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-description {
font-size: 1.3rem;
color: var(--text-light);
opacity: 0.9;
max-width: 600px;
line-height: 1.7;
font-weight: 300;
}
.
.hero-badges {
display: flex;
gap: 0.8rem;
flex-wrap: wrap;
}
.hero-badge {
background: rgba(0, 180, 216, 0.12);
border: 1px solid var(--border);
padding: 0.5rem 1.2rem;
border-radius: 50px;
font-size: 0.85rem;
color: var(--accent-light);
display: flex;
align-items: center;
gap: 0.5rem;
backdrop-filter: blur(6px);
}
.hero-badge i {
color: var(--gold);
}
.btn_cta {
display: inline-flex;
background: linear-gradient(65deg, #f51f33, #812eb5f7);
padding: 1.5rem 3.5rem;
margin-bottom: 1rem;
height: 36px;
border-radius: 10px;
font-weight: 600;
align-items: center;
box-shadow: 0 8px 20px -8px var(--border);
color: white;
transition: all 0.3s;
}
.btn_cta:hover {
/*transform: translateY(-3px);*/
/*box-shadow: 0 12px 40px rgba(0, 180, 216, 0.5);*/
transform: translateY(-3px);
color: #ccc;
transition: all 0.3s;
}
.btn-hero {
padding: 1rem 2.5rem;
border-radius: 15px;
font-weight: 600;
font-size: 1rem;
transition: all 0.3s;
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.btn-hero-primary {
background: linear-gradient(135deg, var(--accent), var(--accent-dark));
color: white;
box-shadow: 0 8px 30px rgba(0, 180, 216, 0.3);
}
.btn-hero-primary:hover {
transform: translateY(-3px);
box-shadow: 0 12px 40px rgba(0, 180, 216, 0.5);
color: white;
}
.btn-hero.btn-wa {
background: #25d366;
color: #fff;
border: none;
}
.btn-hero.btn-wa:hover {
background: #1eb855;
color: #fff;
transform: translateY(-3px);
}
@media (max-width: 768px) {
.hero-section {
min-height: auto;
padding: 100px 0 40px;
}
.hero-description {
font-size: 0.95rem;
}
.btn-hero {
width: 100%;
justify-content: center;
}
}

 .section-title {
    text-align: center;
    color: #fff;
}
.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.section-title h2 span {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-title h4 {
    font-weight: 700;
    margin-bottom: 0rem;
}
.section-title h4 span {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}
.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    margin: 1rem auto;
    border-radius: 2px;
}
.services-section {
    padding: 50px 0;
    background: var(--bg-dark);
    position: relative;
}
.flip-card {
    background-color: transparent;
    perspective: 1000px;
    height: 320px;
    cursor: pointer;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.flip-card-front {
    background: var(--color-bg);
    align-items: center;
    text-align: center;
        color: #fff;
}
.flip-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-accent);
    border-radius: 8px 8px 0 0;
}
.flip-card-back {
    transform: rotateY(180deg);
    overflow-y: auto;
}
.flip-card-back::-webkit-scrollbar {
    width: 4px;
}
.flip-card-back::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
}
.service-icon-main {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}
.service-title-main {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--color-text);
}
.service-price-main {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-accent);
}
.service-list-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
}
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.service-list li {
    padding: 0.3rem 0;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #fff;
}
.service-list li:last-child {
    border-bottom: none;
}
.flip-hint {
    position: absolute;
    bottom: 1rem;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    opacity: 0.7;
}
.promo-card {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(0, 119, 182, 0.05));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}
.promo-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.promo-card:hover {
    /*transform: translateY(-8px);*/
    box-shadow: 0 20px 50px rgba(0, 180, 216, 0.15);
    border-color: var(--accent);
}
.promo-badge {
display: inline-flex;
background: linear-gradient(65deg, #f51f33, #812eb5f7);
padding: 0.3rem 1rem;
margin-bottom: 1rem;
height: 36px;
border-radius: 10px;
font-weight: 600;
align-items: center;
box-shadow: 0 8px 20px -8px var(--border);
}
.promo-badge i {
    
}
.promo-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}
.promo-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.promo-old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1rem;
}
.promo-new-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-light);
}
.promo-timer {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}
.timer-box {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.5rem 0.8rem;
    text-align: center;
    min-width: 55px;
}
.timer-box .num {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-light);
    display: block;
}
.timer-box .label {
    font-size: 0.7rem;
    color: var(--text-muted);
}
.portfolio-section {
    content: '';
background: url(data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(0,180,216,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(0,180,216,0.08)"/><circle cx="40" cy="80" r="1" fill="rgba(0,180,216,0.06)"/><circle cx="60" cy="60" r="2" fill="rgba(0,180,216,0.05)"/></svg>);
    background-size: 200px 200px;
    animation: float 20s linear infinite;
}
.before-after {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    cursor: col-resize;
    border: 1px solid var(--color-border);
    user-select: none;
}
.before-after img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.before-after .after-image {
    clip-path: inset(0 50% 0 0);
}
.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #aaa5ff52;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 180, 216, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    color: #000;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: col-resize;
}
.before-after-labels {
    position: absolute;
    bottom: 1rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 5;
    pointer-events: none;
}
.before-after-labels span {
    background: rgba(0, 0, 0, 0.7);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-text);
}
.reviews-section {
    /*background: linear-gradient(135deg, var(--primary-dark), var(--primary));*/
}
.promo-section {
    background: var(--bg-dark);
    padding: 50px 0;
}
.faq-section {
    /*background: linear-gradient(135deg, var(--primary-dark), var(--primary));*/
    background: linear-gradient(180deg, transparent, rgba(46, 163, 242, .04), transparent);
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
}
.faq-question {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s;
}
.faq-question:hover {
    color: var(--accent-light);
}
.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.2rem;
    max-height: 300px;
}
.faq-icon {
    transition: transform 0.3s;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
.form-select-custom,
.form-control-custom {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--bg-dark);
    color: var(--text-light);
}
.form-select-custom:focus,
.form-control-custom:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
    background: var(--bg-dark);
    color: var(--text-light);
}
.form-select-custom option {
    background: var(--primary);
    color: var(--text-light);
}
.service-checkbox {
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}
.service-checkbox:hover {
    border-color: var(--accent);
    background: rgba(0, 180, 216, 0.05);
}
.service-checkbox input {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    accent-color: var(--accent);
}
.service-checkbox label {
    margin: 0;
    cursor: pointer;
    flex: 1;
    font-weight: 500;
    color: var(--text-light);
}
.service-checkbox .price-tag {
    color: var(--accent-light);
    font-weight: 600;
    font-size: 0.9rem;
}
.calc-total {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.15), rgba(0, 180, 216, 0.05));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.calc-total h4 {
    margin: 0;
    font-weight: 600;
}
.calc-total .total-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-light);
}
.booking-section {
    background: var(--bg-dark);
}
.booking-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
}
.booking-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.booking-card .subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.booking-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.booking-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.booking-info-item i {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: rgba(0, 180, 216, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
}
.booking-info-item h5 {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}
.booking-info-item p {
    color: #fff;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}
.booking-info-item a {
    color: #fff;
    font-size: 1rem;
    margin: 0;
    color: #fff;
}
.btn-booking {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    color: white;
    width: 100%;
    transition: all 0.3s;
}
.btn-booking:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.3);
    color: white;
}
.proezd {
    margin-top: 2rem;
}
.footer {
    background: #070c18;
    border-top: 1px solid var(--border);
    
}
.footer a {
        margin-bottom: 1.2rem;
    }
.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: rgb(96 165 250 / 1);
    margin-bottom: 1rem;
}
.footer-brand h4 {
    color: #ffffff;
}
.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}
.footer h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .09em;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 0.75;
}
.footer-links li {
    margin-bottom: 0.7rem;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.footer-links i {
    color: rgb(96 165 250 / 1);
}
.footer-links a:hover {
    color: var(--accent-light);
}
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
}
.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.back-to-top {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.4);
}
.yandexplace_footer {
    padding-top: 1.5rem;
}
.yandexotzv {
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    border: 3px solid #3b82f6;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3), inset 0 0 20px rgba(59, 130, 246, 0.1);
    border-radius: 999px;
    justify-content: center;
    align-items: center;
    display: flex;
    font-weight: 700;
    font-style: italic;
    font-size: 0.88rem;
    line-height: 1.25rem;
    width: 3rem;
    height: 3rem;
    margin-right: 1rem;
    flex-shrink: 0;
}
.brand {
    font-size: 1.5rem;
    line-height: 15px;
}
.brand span {
    color: rgb(96 165 250 / 1);
}
.maps {
    border-radius: 0.5rem;
    overflow: hidden;
}
.vizitka {
    display: flex;
    color: #fff;
    font-weight: 800;
    margin-bottom: 1.2rem;
}
.vizitka .brand span {
    color: rgb(96 165 250 / 1);
}
.vizitka_footer {
    margin-bottom: 1.2rem;
}
 

.modal-content-custom {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #ffffff;
}
.modal-header {
    border-bottom: 0px;
}
.modal-footer {
    border-top: 0px;
}
.video-grid .card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
}
.video-grid video {
    border-radius: 8px 8px 0 0;
}
.section1 {
    position: relative;
    /*margin-top: 50px;
    margin-bottom: 25px;*/
}
.section1 strong {
    text-decoration: underline;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 1.2px;
}
.section1 p {
font-size: .86rem;
margin: 0;
color: var(--text-muted);
}
.services-section {
    position: relative;
}

.section1::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    background-size: 200px 200px;
    animation: float 20s linear infinite;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(0,180,216,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(0,180,216,0.08)"/><circle cx="40" cy="80" r="1" fill="rgba(0,180,216,0.06)"/><circle cx="60" cy="60" r="2" fill="rgba(0,180,216,0.05)"/></svg>');
    
}

input.form-control-custom::placeholder {
    color: var(--text-muted);
}

textarea.form-control-custom::placeholder {
    color: var(--text-muted);
}

.tab-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Стили галереи */
.gallery-section {
    background: var(--bg-dark);
}
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.gallery-filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 0.9rem;
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-color: var(--accent);
    color: white;
}
.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.15);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item-wrapper {
    display: block;
}
.gallery-item-wrapper.hidden {
    display: none;
}

/* Лайтбокс */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 24, 41, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.lightbox.active {
    display: flex;
}
.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}
.lightbox-nav:hover {
    background: rgba(0, 180, 216, 0.5);
}
.lightbox-prev {
    left: 1.5rem;
}
.lightbox-next {
    right: 1.5rem;
}
.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}
.lightbox-info {
    position: absolute;
    bottom: 4.5rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.lightbox-info .lb-category {
    font-size: 0.75rem;
    color: var(--accent-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.lightbox-info .lb-title {
    font-size: 1rem;
    font-weight: 500;
    margin-left: 0.8rem;
}

/* Кнопка "Показать ещё" */
.show-more-btn {
    display: inline-block;
    margin: 2rem auto 0;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent-light);
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}
.show-more-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.3);
}
.show-more-btn.hidden {
    display: none;
}


/* CUSTOM  */


.gallery-item .caption {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 1rem;
background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
color: #fff;
font-size: 0.9rem;
font-weight: 500;
}

.category-badge {
position: absolute;
top: 1rem;
right: 1rem;
background-color: var(--accent);
color: #000;
padding: 0.25rem 0.75rem;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
}
.gallery-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(to top, rgba(10, 37, 64, 0.9) 0%, transparent 70%);
padding: 2rem 1.2rem 1.8rem; 
opacity: 0;
transition: opacity 0.3s ease;
}

.gallery-overlay p {
position: relative;
background-color: var(--accent);
color: #000;
padding: 0.25rem 0.75rem;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
transition: transform 0.5s ease;
}
.gallery-overlay h5 {
color: white;
font-weight: 600;
font-size: 0.95rem;
margin-bottom: 0.2rem;
transition: transform 0.5s ease;
}
.gallery-overlay .zoom-icon {
position: absolute;
top: -2rem;
left: 50%;
transform: translate(-50%, -50%);
width: 50px;
height: 50px;
background: rgba(0, 180, 216, 0.9);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.2rem;
transition: transform 0.5s ease;
}
.bi-zoom-in::before {
content: "\f62c";
}

.gallery-item p{
display: none;
}
.gallery-item:hover p{
display: block;
transition: transform 0.5s ease;
}

.footer-social-link a {
width: 45px; 
height: 45px; 
/*background: rgba(0,180,216,0.1); */
/*border: 1px solid var(--border); */
border-radius: 12px; 
display: flex; 
align-items: center; 
justify-content: center; 
color: #fff;
text-decoration: none; 
transition: all 0.3s;
margin: 0.5rem;
}
.footer-social-link i {
font-size: 2.8rem;

} 
/* Бренды */
.brands-row{
display:flex;
flex-wrap:wrap;
gap:1rem;
justify-content:center; 
}
.brand-chip {
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: 10px;
padding: .55rem 2rem;
font-size: .85rem;
color: var(--text-muted);
font-weight: 600;
letter-spacing: .02em;
}

.service-card{display:block;background:linear-gradient(180deg,var(--card),var(--bg-2));border:1px solid var(--border);border-radius:15px;padding:1.5rem;height:100%;transition:.3s;color:inherit;}
.service-card:hover{transform:translateY(-6px);border-color:rgba(46,163,242,.5);box-shadow:0 26px 55px -28px #000;}
.service-card .icon-box{width:54px;height:54px;border-radius:15px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,rgba(46,163,242,.22),rgba(46,163,242,.06));border:1px solid rgba(46,163,242,.28);color:var(--accent);font-size:1.5rem;margin-bottom:1rem;margin-right: 1rem;}
.service-card h3{font-size:1.08rem;margin-bottom:.45rem;}
.service-card p{font-size:.88rem;margin-bottom:.9rem;}
.service-card .more{color:var(--accent);font-weight:600;font-size:.87rem;}
.service-card .more i{transition:.25s;}
.service-card:hover .more i{transform:translateX(4px);}
.price-tag {
color: var(--accent);
font-weight: 700;
font-size: 1.05rem;
}
.service-card .more {
color: var(--accent);
font-weight: 600;
font-size: .87rem;
}


.price-table{width:100%;border-collapse:separate;border-spacing:0;color:var(--txt);}
.price-table thead th{background:rgba(46,163,242,.12);color:#cfe6fb;font-weight:600;font-size:.9rem;padding:1rem 1.1rem;border-bottom:1px solid var(--line);}
.price-table tbody td{padding:1rem 1.1rem;border-bottom:1px solid var(--line);font-size:.95rem;color:#c8d7e9;}
.price-table tbody tr:hover td{background:rgba(255,255,255,.03);}
.price-table tbody td:nth-child(2){color:var(--accent);font-weight:700;white-space:nowrap;}
.price-table tbody td:nth-child(3){color:var(--muted);white-space:nowrap;}

.table-wrap{border:1px solid var(--border);border-radius:15px;overflow:hidden;background:linear-gradient(180deg,var(--card),var(--bg-2));}


.btn-accent {
background: linear-gradient(135deg, var(--accent), var(--accent-2));
border: none;
color: #fff;
font-weight: 600;
border-radius: 12px;
box-shadow: 0 10px 26px -10px var(--accent-glow);
transition: .25s;
}
/* Шаги работы */
.step-card {
background: linear-gradient(180deg, var(--card), var(--bg-2));
border: 1px solid var(--border);
border-radius: 15px;
padding: 1.5rem 1.3rem;
height: 100%;
position: relative;
}
.step-card h4{font-size:1rem;margin:1rem 0 .4rem;}
.step-card p{font-size:.86rem;margin:0;color: var(--text-muted);}
.step-num {
position: absolute;
top: -14px;
left: 1.3rem;
width: 36px;
height: 36px;
border-radius: 10px;
background: linear-gradient(135deg, var(--accent), var(--accent-2));
color: #fff;
font-weight: 800;
display: flex;
align-items: center;
justify-content: center;
font-size: 1rem;
box-shadow: 0 8px 20px -8px var(--accent-glow);
}

.promo-card {
background: linear-gradient(160deg, var(--card), var(--bg-2));
border: 1px solid var(--border);
border-radius: 15px;
padding: 1.6rem;
height: 100%;
position: relative;
overflow: hidden;
transition: .3s;
}
.promo-price {
color: var(--accent);
font-weight: 800;
font-size: 1.5rem;
}


.accordion {
--bs-accordion-bg: var(--bs-body-bg);
}
.accordion-body {
color: var(--accent-light);
}
.accordion-item {
background: linear-gradient(180deg, var(--card), var(--bg-2));
border: 1px solid var(--line) !important;
border-radius: 14px !important;
margin-bottom: .75rem;
overflow: hidden;
}
.accordion-header {
margin-bottom: 0;
}
.accordion-item:first-of-type>.accordion-header .accordion-button {
border-top-left-radius: var(--bs-accordion-inner-border-radius);
border-top-right-radius: var(--bs-accordion-inner-border-radius)
calc(0.375rem - (1px))
;
}
.accordion-button:not(.collapsed) {
color: var(--accent-light);
background: rgba(46, 163, 242, .07);
}
.accordion-button:not(.collapsed)::after {
background-image: var(--bs-accordion-btn-active-icon);
transform: var(--bs-accordion-btn-icon-transform);
}
.header-phone{color:#fff;font-weight:700;white-space:nowrap;}
.header-phone:hover{color:var(--accent);}
.city-select{background:rgba(255,255,255,.05);border:1px solid var(--line);color:var(--txt);border-radius:10px;padding:.45rem .7rem;font-size:.85rem;}
.city-select:focus{outline:none;border-color:var(--accent);}
.city-select option{background:#0d1526;color:#fff;}

.btn-wa {
background: #25d366;
color: #fff;
border: none;
font-weight: 600;
border-radius: 12px;
padding: .8rem 1.6rem;
transition: .25s;
}
.btn-wa:hover {
background: #1eb855;
color: #fff;
transform: translateY(-2px);
}
/* Гарантия */
.guarantee-box{background:linear-gradient(135deg,rgba(61,220,132,.1),rgba(61,220,132,.02));border:1px solid rgba(61,220,132,.3);border-radius:14px;padding:1.2rem 1.4rem;margin:1.5rem 0;}
.guarantee-box .g-title{display:flex;align-items:center;gap:.6rem;color:var(--green);font-weight:700;font-size:1rem;margin-bottom:.5rem;}
.guarantee-box p{color:#c8d7e9;font-size:.9rem;margin:0;}

.max-icon {
background: url('/icons/max.svg') center/contain no-repeat;
width: 45px;
height: 45px;
}
.max_color-icon {
background: url('/icons/max_color.svg') center/contain no-repeat;
width: 45px;
height: 45px;
}
.tg-icon {
background: url('/icons/tg.svg') center/contain no-repeat;
width: 45px;
height: 45px;
}
.wa-icon {
background: url('/icons/wa.svg') center/contain no-repeat;
width: 45px;
height: 45px;
}
.ig-icon {
background: url('/icons/ig.svg') center/contain no-repeat;
width: 45px;
height: 45px;
}
.vk-icon {
background: url('/icons/vk.svg') center/contain no-repeat;
width: 45px;
height: 45px;
}
.youtube-icon {
background: url('/icons/youtube.svg') center/contain no-repeat;
width: 45px;
height: 45px;
}

.rounded-circle {
background: transparent;
}
.btn_listing_start {
font-size: 3rem;
position: fixed;
bottom: 0;
left: 50%;
transform: translate(-50%, -50%);
}
.btn_listing_start a {
color: #ffffff;
}
.social_links i {
width: 3rem;
height: 3rem;
display: flex;
}

.ms-auto {
margin-left: auto !important;
margin-right: auto;
}
/* END CUSTOM  */

@media (max-width: 991px) {
    .hero-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }
    .hero-description {
        font-size: 1rem;
    }
    .hero-badges {
        gap: 0.5rem;
    }
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.2rem;
    }
    .hero-stat h3 {
        font-size: 1.4rem;
    }
    .btn-hero {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        margin-left: 0 !important;
    }
    .btn-hero-outline {
        margin-top: 0.8rem;
    }
    .hero-dots {
        bottom: 20px;
    }
    .hero-content {
        padding-top: 80px;
    }
    .flip-card {
        height: 280px;
    }
    .before-after {
        height: 250px;
    }
    .calc-card,
    .booking-card {
        padding: 1.5rem;
    }
    .navbar-collapse {
        background: rgba(10, 37, 64, 0.98);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 0.5rem;
        border: 1px solid var(--border);
    }
    .gallery-filter {
        gap: 0.4rem;
    }
    .gallery-filter-btn {
        padding: 0.35rem 0.9rem;
        font-size: 0.8rem;
    }

}
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-description {
        font-size: 0.95rem;
    }
    .section-title h2 {
        font-size: 1.5rem;
    }
    .promo-card {
        padding: 1.5rem;
    }
    .promo-new-price {
        font-size: 1.6rem;
    }
    .footer {
        text-align: center;
    }
    .vizitka {
        justify-content: center;
    }
    .yandexotzv iframe {
        height: 500px !important;
    }
    .floating-contact {
        bottom: 10px;
        right: 10px;
    }
    .floating-contact a,
    .floating-contact button {
        width: 44px !important;
        height: 44px !important;
    }
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: 1rem;
        right: 1rem;
    }
    .lightbox-prev {
        left: 0.5rem;
    }
    .lightbox-next {
        right: 0.5rem;
    }
    .lightbox-info .lb-title {
        font-size: 0.85rem;
        margin-left: 0.4rem;
    }
    .lightbox-info {
        padding: 0.4rem 1rem;
        bottom: 3.5rem;
    }
}
@media (max-width: 576px) {
    .hero-info-block {
        padding: 1rem;
    }
    .hero-info-block h4 {
        font-size: 1rem;
    }
    .hero-info-block p {
        font-size: 0.85rem;
    }
    .navbar-expand-lg .navbar-toggler {
    display: contents;
}
}
}