:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --secondary: #1d3557;
    --secondary-light: #457b9d;
    --accent: #f77f00;
    --dark: #0d1b2a;
    --light: #f1faee;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 20px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.logo-img {
    width: 64px;
    height: auto;
    display: block;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.1;
    white-space: nowrap;
}

.header__phone-text {
    display: inline;
}

.footer__logo .logo-img {
    width: 36px;
}

.logo-icon {
    font-size: 28px;
}


.header__nav {
    flex: 1;
}

.nav__list {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.nav__link {
    font-weight: 500;
    color: var(--secondary);
    padding: 8px 0;
    position: relative;
}

.nav__link:hover {
    color: var(--primary);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.header__phone:hover {
    color: var(--primary-dark);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero */
.hero {
    position: relative;
    color: var(--white);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a0f1a 0%, #1a1f35 50%, #0d1525 100%);
    z-index: -2;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 80% 50%, rgba(230, 57, 70, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(69, 123, 157, 0.1) 0%, transparent 40%);
}

.hero__noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__content {
    max-width: 600px;
}

.hero__badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--light);
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__accent {
    background: linear-gradient(135deg, var(--primary) 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(17px, 2vw, 20px);
    opacity: 0.8;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    transition: var(--transition);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.feature__icon-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    flex-shrink: 0;
}

.feature__icon {
    font-size: 22px;
}

.feature__svg {
    width: 22px;
    height: 22px;
    stroke: var(--white);
}

.feature__info {
    display: flex;
    flex-direction: column;
}

.feature__value {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

.feature__text {
    font-size: 13px;
    opacity: 0.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero Visual */
.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
}

.hero__icons {
    position: relative;
    display: flex;
    gap: 40px;
    align-items: center;
}

.hero__icon {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.hero__icon svg {
    width: 80px;
    height: 80px;
    stroke: var(--white);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.hero__icon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.hero__icon:hover svg {
    stroke: var(--primary);
    opacity: 1;
}

.hero__icon--car {
    animation: iconFloat 4s ease-in-out infinite;
}

.hero__icon--bike {
    animation: iconFloat 4s ease-in-out infinite 1s;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

.hero__floating-badge {
    position: absolute;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    white-space: nowrap;
    animation: floatBadge 4s ease-in-out infinite;
}

.hero__floating-badge--1 {
    top: 40px;
    right: 0;
    animation-delay: 0s;
}

.hero__floating-badge--2 {
    bottom: 60px;
    left: 20px;
    animation-delay: 2s;
}

/* Hero Animations */
@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 1s ease forwards;
}

.hero__badge { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.2s; }
.hero__subtitle { animation-delay: 0.3s; }
.hero__features .feature:nth-child(1) { animation-delay: 0.4s; }
.hero__features .feature:nth-child(2) { animation-delay: 0.5s; }
.hero__features .feature:nth-child(3) { animation-delay: 0.6s; }
.hero__actions { animation-delay: 0.7s; }
.hero__visual { animation-delay: 0.4s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    to { opacity: 1; transform: translateX(0); }
}

/* Button Glow Effect */
.btn--glow {
    position: relative;
    overflow: hidden;
}

.btn--glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn--glow:hover::before {
    width: 300px;
    height: 300px;
}

.btn--glow svg {
    margin-left: 8px;
    transition: transform 0.3s;
}

.btn--glow:hover svg {
    transform: translateX(4px);
}

.btn--outline {
    gap: 8px;
}

.btn--outline svg {
    transition: transform 0.3s;
}

.btn--outline:hover svg {
    transform: scale(1.1);
}

/* Hero Responsive */
@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero__content {
        max-width: 100%;
    }
    
    .hero__features {
        justify-content: center;
    }
    
    .hero__actions {
        justify-content: center;
    }
    
    .hero__visual {
        height: 350px;
        order: 2;
    }
    
    .wheel {
        width: 280px;
        height: 280px;
    }
    
    .wheel__rim {
        inset: 40px;
    }
    
    .wheel__center {
        width: 60px;
        height: 60px;
    }
    
    .hero__icons {
        gap: 20px;
    }
    
    .hero__icon {
        width: 140px;
        height: 140px;
    }
    
    .hero__icon svg {
        width: 60px;
        height: 60px;
    }
    
    .hero__glow {
        width: 350px;
        height: 350px;
    }
    
    .hero__floating-badge--1 {
        top: 20px;
        right: 10%;
    }
    
    .hero__floating-badge--2 {
        bottom: 20px;
        left: 10%;
    }
}

/* Mobile-first UX fixes (360 / 390 / 414) */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    /* Header */
    .header__inner {
        padding: 10px 0;
        gap: 12px;
    }

    .logo-img {
        width: 40px;
    }

    .logo-text {
        font-size: clamp(16px, 4.6vw, 18px);
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 52vw;
    }

    .header__phone {
        padding: 8px 10px;
        border-radius: 10px;
        border: 1px solid rgba(29, 53, 87, 0.12);
        background: rgba(29, 53, 87, 0.03);
    }

    .header__phone-text {
        display: none;
    }

    .header__nav {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
        padding: 10px 0 16px;
        z-index: 1000;
    }

    .header__nav.active {
        display: block;
    }

    .nav__list {
        flex-direction: column;
        gap: 6px;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0 12px;
    }

    .nav__link {
        display: block;
        padding: 12px 14px;
        border-radius: 10px;
    }

    .nav__link::after {
        display: none;
    }

    .burger {
        display: flex;
    }

    /* Hero */
    .hero {
        padding: 96px 0 56px;
    }

    .hero__inner {
        gap: 28px;
    }

    .hero__content {
        order: 1;
    }

    .hero__visual {
        order: 2;
        height: auto;
        margin-top: 6px;
    }

    .hero .animate-fade-in-right {
        transform: translateY(26px);
        animation: fadeInUp 0.8s ease forwards;
    }

    .hero__floating-badge {
        display: none;
    }

    .hero__icons {
        gap: 14px;
    }

    .hero__icon {
        width: 92px;
        height: 92px;
    }

    .hero__icon svg {
        width: 40px;
        height: 40px;
    }

    .hero__icon--car,
    .hero__icon--bike {
        animation: none;
    }

    .hero__glow {
        width: 260px;
        height: 260px;
        filter: blur(45px);
        animation: glowPulse 6s ease-in-out infinite;
    }

    .feature {
        padding: 14px 16px;
    }

    /* About */
    .about__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        align-items: start;
    }

    .about__content h2 {
        text-align: center;
    }

    .about__advantages h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .advantages__list li {
        padding: 6px 0;
    }

    .about__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .stat {
        padding: 16px;
    }

    .stat__number {
        font-size: 30px;
    }

    /* Contacts */
    .contacts__inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contacts__info {
        gap: 12px;
    }

    .contact-item {
        background: var(--white);
        border-radius: var(--radius);
        padding: 14px 14px;
        box-shadow: var(--shadow);
        align-items: center;
    }

    .contact-item__icon {
        font-size: 22px;
        line-height: 1;
        margin-top: 0;
    }

    .contact-item__content {
        flex: 1;
        min-width: 0;
        gap: 2px;
    }

    .contact-item__label {
        display: none;
    }

    .contact-item__value {
        font-size: 16px;
        line-height: 1.35;
        word-break: break-word;
    }

    .contact-item__value--multiline {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .contacts__map iframe {
        height: 320px;
    }
}

@media (max-width: 480px) {
    .header__nav {
        top: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero__features {
        flex-direction: column;
        gap: 12px;
    }
    
    .feature {
        width: 100%;
        justify-content: flex-start;
    }
    
    .hero__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero__actions .btn {
        width: 100%;
    }
    
    .hero__visual {
        height: 220px;
    }
    
    .hero__icons {
        gap: 15px;
    }
    
    .hero__icon {
        width: 100px;
        height: 100px;
    }
    
    .hero__icon svg {
        width: 44px;
        height: 44px;
    }
    
    .hero__floating-badge {
        font-size: 12px;
        padding: 8px 14px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn--primary {
    background: var(--primary);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn--secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn--secondary:hover {
    background: var(--white);
    color: var(--secondary);
}

.btn--large {
    padding: 18px 40px;
    font-size: 18px;
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 15px;
}

.section__desc {
    text-align: center;
    color: var(--gray);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Services */
.services {
    background: var(--gray-light);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card--highlight {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    color: var(--white);
}

.service-card--highlight .service-card__title {
    color: var(--white);
}

.service-card--highlight .service-card__desc {
    color: rgba(255, 255, 255, 0.8);
}

.service-card--highlight .service-card__prices {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.service-card--highlight .price-row {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.service-card--highlight .price {
    color: var(--light);
}

.service-card--highlight .service-card__icon svg {
    stroke: var(--primary);
}

.service-card__icon {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 12px;
}

.service-card__icon svg {
    stroke: var(--primary);
}

.service-card--highlight .service-card__icon {
    background: rgba(255, 255, 255, 0.1);
}

.service-card__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.service-card__desc {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-card__prices {
    border-top: 1px solid var(--gray-light);
    padding-top: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed var(--gray-light);
}

.price-row:last-child {
    border-bottom: none;
}

.price {
    font-weight: 700;
    color: var(--primary);
}

/* Works Gallery */
.works__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery__item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery__item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.gallery__img {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery__placeholder {
    font-size: 64px;
    opacity: 0.8;
}

.gallery__caption {
    background: var(--white);
    padding: 15px;
    font-weight: 500;
    text-align: center;
    color: var(--secondary);
}

/* Reviews */
.reviews {
    background: var(--gray-light);
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.review-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.review-card__info {
    display: flex;
    flex-direction: column;
}

.review-card__name {
    font-weight: 600;
    color: var(--secondary);
}

.review-card__date {
    font-size: 14px;
    color: var(--gray);
}

.review-card__rating {
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.review-card__text {
    color: var(--dark);
    line-height: 1.7;
}

/* About */
.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__content h2 {
    text-align: left;
}

.about__content p {
    margin-bottom: 20px;
    color: var(--dark);
}

.about__advantages {
    margin-top: 30px;
}

.about__advantages h3 {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.advantages__list li {
    padding: 8px 0;
    color: var(--dark);
}

.about__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat {
    background: var(--secondary);
    color: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 42px;
    font-weight: 800;
}

.stat__label {
    font-size: 14px;
    opacity: 0.9;
}

/* Contacts */
.contacts {
    background: var(--gray-light);
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contacts__info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-item__icon {
    font-size: 28px;
}

.contact-item__content {
    display: flex;
    flex-direction: column;
}

.contact-item__label {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 3px;
}

.contact-item__value {
    font-weight: 600;
    color: var(--secondary);
}

.contact-item__value--link:hover {
    color: var(--primary);
}

.contacts__map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contacts__map iframe {
    display: block;
}

/* SEO Hidden Block — скрыт визуально, доступен поисковикам */
.seo-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.seo-hidden details,
.seo-hidden summary {
    display: block;
}

.seo-hidden summary {
    list-style: none;
}

.seo-hidden summary::-webkit-details-marker {
    display: none;
}

/* На мобильных полностью скрываем для экономии ресурсов */
@media (max-width: 768px) {
    .seo-hidden {
        display: none;
    }
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 0;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer__logo .logo-text {
    color: var(--white);
}

.footer__info {
    text-align: center;
}

.footer__info a {
    color: var(--primary);
}

.footer__info a:hover {
    text-decoration: underline;
}

.footer__copy {
    text-align: right;
    opacity: 0.7;
    font-size: 14px;
}

/* Mobile Menu Active State */
.header__nav.active {
    display: block;
}

/* Avito Card in Contacts */
.avito-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.05) 0%, rgba(151, 207, 38, 0.05) 100%);
    border: 2px solid rgba(0, 170, 255, 0.2);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    margin-top: 10px;
}

.avito-card:hover {
    border-color: #00AAFF;
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.1) 0%, rgba(151, 207, 38, 0.1) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 170, 255, 0.2);
}

.avito-card__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.avito-card__icon svg {
    width: 100%;
    height: 100%;
}

.avito-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.avito-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
}

.avito-card__desc {
    font-size: 13px;
    color: var(--gray);
}

.avito-card__btn {
    padding: 10px 20px;
    background: #00AAFF;
    color: var(--white);
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: var(--transition);
}

.avito-card:hover .avito-card__btn {
    background: #0095E0;
    box-shadow: 0 4px 15px rgba(0, 170, 255, 0.4);
}

/* Contacts Map Wrapper */
.contacts__map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contacts__yandex-wrap {
    margin-top: 12px;
}

.contacts__yandex-link {
    font-size: 14px;
    color: var(--secondary-light);
    text-decoration: none;
    transition: var(--transition);
}

.contacts__yandex-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .avito-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    
    .avito-card__content {
        align-items: center;
    }
    
    .contacts__yandex-link {
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .services__grid,
    .works__gallery,
    .reviews__grid {
        grid-template-columns: 1fr;
    }

    .about__stats {
        grid-template-columns: 1fr;
    }

    .stat {
        padding: 20px;
    }

    .stat__number {
        font-size: 32px;
    }
}

/* Burger Animation */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===========================================
   MOBILE STYLES (max-width: 768px)
   Только для мобильной версии
   =========================================== */

@media (max-width: 768px) {
    /* ----- About Section Mobile ----- */
    .about__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .about__content h2 {
        text-align: center;
    }

    .about__content p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    .about__advantages {
        margin-top: 20px;
        text-align: left;
    }

    .about__advantages h3 {
        font-size: 16px;
        text-align: center;
        margin-bottom: 12px;
    }

    .advantages__list li {
        padding: 6px 0;
        font-size: 14px;
    }

    .about__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        order: -1;
    }

    .stat {
        padding: 16px 12px;
    }

    .stat__number {
        font-size: 28px;
    }

    .stat__label {
        font-size: 12px;
    }

    /* ----- Contacts Section Mobile ----- */
    .contacts__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contacts__info {
        gap: 12px;
    }

    .contact-item {
        background: var(--white);
        border-radius: var(--radius);
        padding: 14px 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        align-items: center;
    }

    .contact-item__icon {
        font-size: 24px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--gray-light);
        border-radius: 10px;
        flex-shrink: 0;
    }

    .contact-item__label {
        display: none;
    }

    .contact-item__value {
        font-size: 15px;
    }

    .contact-item__value--multiline {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .contact-item__value--multiline span {
        font-size: 14px;
    }

    .contacts__info > .btn--large {
        width: 100%;
        padding: 16px;
        font-size: 17px;
        margin-top: 8px;
    }

    /* ----- Map Mobile ----- */
    .contacts__map {
        display: block;
        margin-top: 8px;
    }

    .contacts__map iframe {
        height: 260px;
        border-radius: var(--radius);
    }

    .contacts__yandex-wrap {
        margin-top: 10px;
    }

    .contacts__yandex-link {
        display: block;
        text-align: center;
        font-size: 13px;
        color: var(--secondary-light);
        padding: 10px;
    }

    /* Avito card mobile */
    .avito-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
        gap: 12px;
    }

    .avito-card__content {
        align-items: center;
    }

    .avito-card__btn {
        width: 100%;
        text-align: center;
    }

    /* ----- Footer Mobile ----- */
    .footer {
        padding: 32px 0;
    }

    .footer__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer__logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .footer__logo .logo-img {
        width: 48px;
    }

    .footer__logo .logo-text {
        font-size: 18px;
    }

    .footer__info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .footer__address {
        font-size: 14px;
        opacity: 0.85;
        margin: 0;
    }

    .footer__phone {
        font-size: 18px;
        font-weight: 600;
        color: var(--primary);
        padding: 8px 16px;
        border: 1px solid rgba(230, 57, 70, 0.3);
        border-radius: 8px;
        transition: var(--transition);
    }

    .footer__phone:hover {
        background: var(--primary);
        color: var(--white);
    }

    .footer__copy {
        text-align: center;
        opacity: 0.6;
        font-size: 12px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .footer__copy p {
        margin: 0;
    }
}

/* Desktop styles */
@media (min-width: 769px) {
    .contacts__map {
        display: block;
    }

    .contacts__yandex-wrap {
        display: block;
    }
}

/* ===========================================
   ОНЛАЙН-ЧАТ КОНСУЛЬТАНТА
   =========================================== */

.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: inherit;
}

/* Кнопка открытия чата */
.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.chat-toggle:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(230, 57, 70, 0.5);
}

.chat-toggle__icon {
    width: 28px;
    height: 28px;
    color: var(--white);
    transition: all 0.3s ease;
}

.chat-toggle__icon--close {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg);
}

.chat-toggle.active .chat-toggle__icon--open {
    opacity: 0;
    transform: rotate(90deg);
}

.chat-toggle.active .chat-toggle__icon--close {
    opacity: 1;
    transform: rotate(0);
}

/* Окно чата */
.chat-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 360px;
    height: 480px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Заголовок чата */
.chat-header {
    background: var(--secondary);
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.chat-header__info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-header__status {
    width: 10px;
    height: 10px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-header__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chat-header__title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.chat-header__subtitle {
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.2;
}

.chat-header__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.chat-header__close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.chat-header__close svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

/* Область сообщений */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8f9fa;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Сообщения */
.chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
    animation: messageIn 0.3s ease;
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message--bot {
    align-self: flex-start;
    background: var(--white);
    color: var(--dark);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chat-message--user {
    align-self: flex-end;
    background: var(--primary);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.chat-message__time {
    display: block;
    font-size: 11px;
    opacity: 0.7;
    margin-top: 4px;
}

/* Индикатор печати */
.chat-typing {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f8f9fa;
}

.chat-typing.active {
    display: flex;
}

.chat-typing__dot {
    width: 6px;
    height: 6px;
    background: var(--gray);
    border-radius: 50%;
    animation: typingDot 1.4s infinite ease-in-out;
}

.chat-typing__dot:nth-child(1) { animation-delay: 0s; }
.chat-typing__dot:nth-child(2) { animation-delay: 0.2s; }
.chat-typing__dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

.chat-typing__text {
    font-size: 12px;
    color: var(--gray);
}

/* Форма отправки */
.chat-form {
    display: flex;
    padding: 12px 16px;
    gap: 10px;
    background: var(--white);
    border-top: 1px solid var(--gray-light);
    flex-shrink: 0;
}

.chat-form__input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--gray-light);
    border-radius: 24px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.chat-form__input:focus {
    border-color: var(--primary);
}

.chat-form__input::placeholder {
    color: var(--gray);
}

.chat-form__submit {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.chat-form__submit:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.chat-form__submit:active {
    transform: scale(0.95);
}

.chat-form__submit svg {
    width: 20px;
    height: 20px;
    color: var(--white);
    margin-left: 2px;
}

/* Адаптивность чата для мобильных */
@media (max-width: 480px) {
    .chat-widget {
        bottom: 16px;
        right: 16px;
    }
    
    .chat-toggle {
        width: 56px;
        height: 56px;
    }
    
    .chat-toggle__icon {
        width: 24px;
        height: 24px;
    }
    
    .chat-window {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        transform: translateY(100%);
    }
    
    .chat-window.active {
        transform: translateY(0);
    }
    
    .chat-header {
        padding: 20px;
    }
    
    .chat-header__title {
        font-size: 18px;
    }
    
    .chat-header__subtitle {
        font-size: 13px;
    }
    
    .chat-messages {
        padding: 20px;
    }
    
    .chat-message {
        font-size: 15px;
        padding: 14px 18px;
    }
    
    .chat-form {
        padding: 16px 20px;
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }
    
    .chat-form__input {
        padding: 14px 18px;
        font-size: 16px;
    }
    
    .chat-form__submit {
        width: 48px;
        height: 48px;
    }
}
