/* MTZ-Service.by — Main Stylesheet */
:root {
    --red: #c1272d;
    --red-dark: #a01e23;
    --dark: #1f2937;
    --darker: #111827;
    --light: #f3f4f6;
    --white: #ffffff;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --transition: all 0.25s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; color: var(--dark); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* Header */
.header { background: var(--darker); color: var(--white); position: sticky; top: 0; z-index: 100; }
.header__top { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo__icon { background: var(--red); color: var(--white); font-weight: 900; font-size: 14px; padding: 4px 8px; border-radius: 4px; }
.logo__text { font-size: 20px; font-weight: 700; letter-spacing: -0.5px; }
.logo__accent { color: var(--red); }
.header__contacts { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.header__phone { color: var(--white); font-weight: 600; font-size: 14px; }
.header__menu-btn { display: none; background: none; border: 1px solid var(--gray); color: var(--white); padding: 8px 16px; border-radius: var(--radius); cursor: pointer; font-size: 14px; }
.header__nav { background: var(--dark); }
.nav__list { display: flex; gap: 0; padding: 0; }
.nav__list > li { position: relative; }
.nav__list > li > a { display: block; padding: 12px 18px; color: var(--white); font-size: 14px; font-weight: 500; transition: background 0.2s; }
.nav__list > li > a:hover { background: var(--red); text-decoration: none; }
.nav__dropdown:hover .dropdown__menu { display: block; }
.dropdown__menu { display: none; position: absolute; top: 100%; left: 0; background: var(--white); box-shadow: var(--shadow-lg); border-radius: var(--radius); min-width: 220px; max-height: 400px; overflow-y: auto; z-index: 200; }
.dropdown__menu li a { display: block; padding: 10px 16px; color: var(--dark); font-size: 13px; border-bottom: 1px solid var(--light); }
.dropdown__menu li a:hover { background: var(--light); color: var(--red); text-decoration: none; }

/* Alert */
.alert { padding: 16px 24px; text-align: center; font-weight: 600; font-size: 15px; }
.alert--success { background: #d4edda; color: #155724; border-bottom: 3px solid #c3e6cb; }

/* Section Header */
.section__header { text-align: center; margin-bottom: 48px; }
.section__header h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; }
.section__header p { color: var(--gray); font-size: 16px; max-width: 600px; margin: 0 auto; }
.section--dark .section__header h2 { color: var(--white); }
.section--dark .section__header p { color: var(--gray-light); }
.section--cta .section__header h2 { color: var(--white); }
.section--cta .section__header p { color: rgba(255,255,255,0.85); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--darker) 0%, #1a2744 50%, var(--dark) 100%); color: var(--white); padding: 80px 0 60px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -30%; right: -10%; width: 50%; height: 160%; background: radial-gradient(circle, rgba(193,39,45,0.12) 0%, transparent 70%); }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red), #e85d5d, var(--red)); }
.hero h1 { font-size: 38px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; max-width: 820px; letter-spacing: -0.5px; }
.hero__subtitle { font-size: 17px; color: var(--gray-light); margin-bottom: 32px; max-width: 680px; line-height: 1.7; }
.hero__actions { display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 48px; flex-wrap: wrap; margin-bottom: 32px; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-size: 34px; font-weight: 800; color: var(--red); line-height: 1.1; }
.stat__label { font-size: 13px; color: var(--gray-light); margin-top: 2px; }
.hero__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge { display: inline-block; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: var(--gray-light); }
.badge--warranty { border-color: var(--red); color: var(--red); background: rgba(193,39,45,0.1); }

/* Buttons */
.btn { display: inline-block; padding: 14px 32px; border-radius: var(--radius); font-weight: 600; font-size: 15px; cursor: pointer; border: none; transition: var(--transition); text-align: center; text-decoration: none; line-height: 1.3; }
.btn:hover { text-decoration: none; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(193,39,45,0.35); }
.btn--outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn--outline:hover { background: var(--white); color: var(--dark); transform: translateY(-1px); }
.btn--phone { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); color: var(--white); border: 2px solid rgba(255,255,255,0.3); padding: 14px 28px; font-size: 16px; letter-spacing: 0.3px; }
.btn--phone:hover { background: var(--white); color: var(--dark); border-color: var(--white); transform: translateY(-1px); }
.btn--small { padding: 10px 22px; font-size: 14px; }
.btn--full { width: 100%; }

/* Sections */
.section { padding: 80px 0; }
.section h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; text-align: center; letter-spacing: -0.5px; }
.section > .container > p { text-align: center; color: var(--gray); margin-bottom: 40px; }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark h2 { color: var(--white); }
.section--light { background: var(--light); }
.section--brands { background: var(--white); }
.section--cta { background: var(--red); color: var(--white); text-align: center; }
.section--cta h2 { color: var(--white); }
.section--cta p { margin-bottom: 30px; font-size: 18px; }
.section--cta .btn--outline { border-color: var(--white); color: var(--white); }
.section--cta .btn--outline:hover { background: var(--white); color: var(--red); }

/* Page Hero */
.page-hero { background: linear-gradient(135deg, var(--darker) 0%, #1a2744 50%, var(--dark) 100%); color: var(--white); padding: 50px 0; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -20%; right: -5%; width: 40%; height: 140%; background: radial-gradient(circle, rgba(193,39,45,0.1) 0%, transparent 70%); }
.page-hero h1 { font-size: 32px; font-weight: 800; margin-bottom: 15px; position: relative; }
.page-hero p { font-size: 16px; color: var(--gray-light); margin-bottom: 20px; max-width: 700px; position: relative; }
.page-hero .hero__actions { margin-bottom: 0; position: relative; }
.page-hero .service-card__meta { position: relative; }

/* Breadcrumbs */
.breadcrumbs { background: var(--light); padding: 12px 0; font-size: 13px; }
.breadcrumbs ul { display: flex; gap: 8px; }
.breadcrumbs li { color: var(--gray); }
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; color: var(--gray-light); }
.breadcrumbs a { color: var(--red); }

/* Section subtitle */
.section__subtitle { text-align: center; color: var(--gray); font-size: 16px; }

/* Work items grid */
.works__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-top: 30px; }
.work-item { display: flex; align-items: flex-start; gap: 12px; background: var(--white); padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--light); }
.work-item__num { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; background: var(--red); color: var(--white); border-radius: 50%; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.work-item__text { font-size: 14px; color: var(--dark); line-height: 1.5; }

/* Legacy clickable service card (for interior pages) */
.service-card--link { display: block; transition: all 0.2s; color: inherit; }
.service-card--link:hover { border-color: var(--red); box-shadow: var(--shadow-lg); text-decoration: none; transform: translateY(-2px); }
.service-card--link .btn { pointer-events: none; }

/* Service Cards - Modern Design */
.services__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.services__grid--compact { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.service-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--light); transition: var(--transition); position: relative; color: inherit; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: var(--red); text-decoration: none; }
.service-card__icon { font-size: 28px; margin-bottom: 12px; line-height: 1; }
.service-card__title { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.service-card__desc { color: var(--gray); font-size: 14px; line-height: 1.6; margin-bottom: 16px; flex: 1; }
.service-card__footer { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.service-card__price { font-size: 17px; font-weight: 700; color: var(--red); }
.service-card__guarantee { font-size: 12px; color: var(--gray); background: var(--light); padding: 3px 10px; border-radius: 20px; }
.service-card__link { font-size: 14px; font-weight: 600; color: var(--red); }
.service-card--compact { padding: 22px; }
.service-card--compact .service-card__title { font-size: 16px; }
.service-card--compact .service-card__desc { font-size: 13px; margin-bottom: 12px; }

/* Features (legacy) */
.features__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 30px; }
.feature-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 28px; text-align: center; }
.feature-card h3 { font-size: 18px; margin-bottom: 12px; }
.feature-card p { color: var(--gray-light); font-size: 14px; margin-bottom: 16px; line-height: 1.7; }
.feature-card__price { display: inline-block; font-size: 16px; font-weight: 700; color: var(--red); margin-bottom: 12px; }

/* Models Grid */
.models__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-top: 30px; }
.model-card { background: var(--white); border: 1px solid var(--light); border-radius: var(--radius); padding: 20px; text-align: center; transition: all 0.2s; }
.model-card:hover { border-color: var(--red); box-shadow: var(--shadow); }
.model-card__name { display: block; font-size: 20px; font-weight: 700; color: var(--dark); }
.model-card__desc { display: block; font-size: 13px; color: var(--gray); margin-top: 4px; }

/* Geo Grid */
.geo__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.geo-card { display: block; background: var(--white); border: 1px solid var(--light); border-radius: var(--radius); padding: 24px; transition: var(--transition); }
.geo-card:hover { border-color: var(--red); box-shadow: var(--shadow-lg); text-decoration: none; transform: translateY(-2px); }
.geo-card h3 { font-size: 18px; color: var(--dark); margin-bottom: 8px; }
.geo-card__count { font-size: 13px; color: var(--red); font-weight: 600; }
.geo-card--large { padding: 28px; }
.geo-card__cities { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.geo-card__cities span { font-size: 12px; color: var(--gray); background: var(--light); padding: 2px 8px; border-radius: 4px; }

/* Cities List */
.geo__cities { margin-top: 48px; text-align: center; }
.geo__cities h3 { font-size: 22px; margin-bottom: 20px; color: var(--dark); }
.cities__list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.city-tag { display: inline-block; padding: 7px 16px; border: 1px solid var(--light); border-radius: 20px; font-size: 13px; color: var(--dark); transition: var(--transition); }
.city-tag:hover { border-color: var(--red); color: var(--red); text-decoration: none; }
.city-tag--active { background: var(--red); color: var(--white); border-color: var(--red); }

/* Brands */
.brands__list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.brand-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 28px; border: 1px solid var(--light); border-radius: var(--radius); transition: var(--transition); color: inherit; min-width: 130px; }
.brand-card:hover { border-color: var(--red); box-shadow: var(--shadow); text-decoration: none; transform: translateY(-2px); }
.brand-card__name { font-size: 16px; font-weight: 700; color: var(--dark); }
.brand-card__desc { font-size: 12px; color: var(--gray); }

/* Prices */
.prices__table { max-width: 740px; margin: 0 auto; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--light); gap: 12px; transition: background 0.15s; }
.price-row:last-child { border-bottom: none; }
.price-row:hover { background: var(--light); }
.price-row__service { font-weight: 600; font-size: 15px; flex: 1; color: var(--dark); }
.price-row__note { font-size: 13px; color: var(--gray); flex: 1; }
.price-row__price { color: var(--red); font-weight: 700; font-size: 16px; white-space: nowrap; }
.prices__disclaimer { max-width: 740px; margin: 20px auto 0; padding: 16px 24px; background: #fff3cd; border: 1px solid #ffeeba; border-radius: var(--radius); }
.prices__disclaimer p { margin: 0; font-size: 13px; color: #856404; text-align: center; line-height: 1.5; }

/* Advantages */
.advantages__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.advantage-card { text-align: center; padding: 32px 24px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); transition: var(--transition); }
.advantage-card:hover { background: rgba(255,255,255,0.08); border-color: var(--red); transform: translateY(-2px); }
.advantage-card__icon { font-size: 36px; margin-bottom: 16px; line-height: 1; }
.advantage-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--white); }
.advantage-card p { font-size: 14px; color: var(--gray-light); line-height: 1.7; }

/* Process Track */
.process__track { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; max-width: 720px; margin: 0 auto; }
.process-step { display: flex; gap: 20px; align-items: flex-start; background: var(--white); border: 1px solid var(--light); border-radius: var(--radius-lg); padding: 24px; transition: var(--transition); }
.process-step:hover { border-color: var(--red); box-shadow: var(--shadow); }
.process-step__num { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--red); color: var(--white); border-radius: 50%; font-weight: 700; font-size: 17px; flex-shrink: 0; }
.process-step__body h3 { font-size: 16px; margin-bottom: 6px; color: var(--dark); }
.process-step__body p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* FAQ */
.faq__list { max-width: 740px; margin: 0 auto; }
.faq-item { border: 1px solid #e5e7eb; border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; background: var(--white); transition: var(--transition); }
.faq-item:hover { border-color: var(--red); }
.faq-item__question { padding: 18px 24px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; font-size: 15px; color: var(--dark); }
.faq-item__question::after { content: '+'; font-size: 22px; color: var(--red); font-weight: 700; transition: transform 0.3s; line-height: 1; }
.faq-item.active .faq-item__question::after { transform: rotate(45deg); }
.faq-item__answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.35s ease; color: var(--gray); font-size: 14px; line-height: 1.7; }
.faq-item.active .faq-item__answer { padding: 0 24px 20px; max-height: 300px; }

/* Contacts */
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; text-align: left; }
.contacts__info { display: flex; flex-direction: column; gap: 20px; }
.contacts__block { text-align: left; }
.contacts__block h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.5px; }
.contacts__block p { font-size: 15px; color: var(--white); line-height: 1.6; }
.contacts__block a { color: var(--white); font-weight: 600; }
.contacts__block a:hover { text-decoration: underline; }
.contacts__phone { font-size: 22px; font-weight: 700; color: var(--white); }
.contacts__cta { margin-top: 8px; padding: 20px; background: rgba(255,255,255,0.08); border-radius: var(--radius); text-align: center; }
.contacts__cta p { font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: 12px; }
.contacts__form { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-lg); padding: 32px; text-align: left; }
.contacts__form h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; color: var(--white); }
.contacts__form-hint { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.contacts__form input, .contacts__form textarea, .contacts__form select { width: 100%; padding: 14px 16px; margin-bottom: 14px; border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); background: rgba(255,255,255,0.1); color: var(--white); font-size: 15px; transition: border 0.2s; }
.contacts__form input:focus, .contacts__form textarea:focus { outline: none; border-color: var(--red); background: rgba(255,255,255,0.15); }
.contacts__form input::placeholder, .contacts__form textarea::placeholder { color: var(--gray-light); }
.contacts__form .btn--red:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.contacts__form-note { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 12px; text-align: center; }

/* Filter Tabs */
.filter__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; justify-content: center; }
.filter__tab { padding: 8px 20px; border: 1px solid var(--light); border-radius: 20px; background: var(--white); cursor: pointer; font-size: 14px; transition: all 0.2s; }
.filter__tab:hover, .filter__tab--active { background: var(--red); color: var(--white); border-color: var(--red); }

/* Alphabet Navigation */
.alphabet__nav { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin-bottom: 30px; }
.alphabet__link { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--light); border-radius: 4px; font-size: 13px; color: var(--dark); font-weight: 600; }
.alphabet__link:hover { background: var(--red); color: var(--white); border-color: var(--red); text-decoration: none; }
.alphabet__link--empty { opacity: 0.3; pointer-events: none; }

/* City Groups (All Cities page) */
.city-group { margin-bottom: 30px; }
.city-group__letter { font-size: 28px; font-weight: 800; color: var(--red); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--light); }
.city-group__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; }
.city-group__item { display: flex; justify-content: space-between; padding: 6px 12px; border-radius: 4px; transition: background 0.2s; font-size: 14px; }
.city-group__item:hover { background: var(--light); text-decoration: none; }
.city-group__name { color: var(--dark); }
.city-group__region { color: var(--gray-light); font-size: 12px; }

/* Modal */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1000; }
.modal.active { display: block; }
.modal__overlay { position: absolute; width: 100%; height: 100%; background: rgba(0,0,0,0.6); }
.modal__content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--white); border-radius: var(--radius); padding: 32px; width: 90%; max-width: 450px; max-height: 90vh; overflow-y: auto; }
.modal__close { position: absolute; top: 12px; right: 16px; font-size: 28px; background: none; border: none; cursor: pointer; color: var(--gray); }
.modal h3 { font-size: 22px; margin-bottom: 20px; }
.modal input, .modal textarea, .modal select { width: 100%; padding: 12px 16px; margin-bottom: 12px; border: 1px solid var(--light); border-radius: var(--radius); font-size: 15px; }
.modal .btn { width: 100%; }

/* Article long-form blocks */
.text-block { max-width: 800px; margin: 0 auto; text-align: left; }
.text-block p { margin-bottom: 16px; font-size: 15px; line-height: 1.85; color: var(--dark); text-align: justify; }
.text-block h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; color: var(--red); }
.text-block h3:first-child { margin-top: 0; }
.section--light .text-block p { color: var(--dark); }
.content-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-top: 30px; max-width: 1000px; margin-left: auto; margin-right: auto; }
.content-card { background: var(--white); border: 1px solid var(--light); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow); transition: var(--transition); text-align: left; }
.content-card:hover { border-color: var(--red); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.content-card h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.content-card p { font-size: 14px; color: var(--gray); line-height: 1.7; margin: 0; }
.content-card-grid--single { grid-template-columns: 1fr; max-width: 800px; }

/* Reviews block */
.reviews__form { max-width: 560px; margin: 36px auto 0; background: var(--white); border: 1px solid var(--light); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); text-align: left; }
.reviews__form h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.reviews__form-hint { font-size: 13px; color: var(--gray); margin-bottom: 16px; }
.reviews__form input, .reviews__form textarea { width: 100%; padding: 12px 16px; margin-bottom: 12px; border: 1px solid var(--light); border-radius: var(--radius); font-size: 15px; font-family: inherit; }
.reviews__form textarea { resize: vertical; }

/* Form fields inside article sections */
.section .contacts__form { background: var(--light); border: 1px solid var(--light); }
.section .contacts__form h3 { color: var(--dark); }
.section .contacts__form input, .section .contacts__form textarea { border-color: #e5e7eb; background: var(--white); color: var(--dark); }
.section .contacts__form input::placeholder, .section .contacts__form textarea::placeholder { color: var(--gray-light); }
.section .contacts__form-note { color: var(--gray); }

/* Floating Contact Buttons */
.floating-buttons { position: fixed; bottom: 24px; right: 24px; z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.floating-btn { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 4px 16px rgba(0,0,0,0.2); transition: var(--transition); border: none; cursor: pointer; color: var(--white); text-decoration: none; font-size: 28px; }
.floating-btn:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(0,0,0,0.3); text-decoration: none; }
.floating-btn--phone { background: var(--red); }
.floating-btn--whatsapp { background: #25d366; }
@media (max-width: 768px) {
    .floating-buttons { bottom: 16px; right: 16px; gap: 10px; }
    .floating-btn { width: 48px; height: 48px; font-size: 24px; }
}

/* Footer */
.footer { background: var(--darker); color: var(--gray-light); padding: 50px 0 20px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer__logo { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer__col h4 { color: var(--white); font-size: 16px; margin-bottom: 12px; }
.footer__col p { margin-bottom: 6px; }
.footer__col ul li { margin-bottom: 6px; }
.footer__col a { color: var(--gray-light); }
.footer__col a:hover { color: var(--red); }
.footer__social { display: flex; gap: 12px; margin-top: 12px; }
.footer__social a { color: var(--gray-light); font-size: 14px; }
.footer__bottom { border-top: 1px solid #374151; padding-top: 20px; text-align: center; font-size: 13px; }

/* Media gallery */
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-top: 30px; }
.gallery__item { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--light); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 14px 10px; font-size: 12px; color: var(--white); background: linear-gradient(transparent, rgba(17,24,39,0.85)); opacity: 0; transition: opacity 0.25s; }
.gallery__item:hover figcaption { opacity: 1; }

/* Video gallery */
.video__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; margin-top: 30px; }
.video__item { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--darker); }
.video__item video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #000; }
.video__item figcaption { padding: 12px 14px; font-size: 13px; color: var(--gray-light); background: var(--darker); }

@media (max-width: 768px) {
    .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .video__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .gallery__grid { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 1024px) {
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .services__grid--compact { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header__menu-btn { display: block; }
    .header__contacts { display: none; }
    .header__nav { display: none; }
    .header__nav.active { display: block; }
    .nav__list { flex-direction: column; }
    .dropdown__menu { position: static; box-shadow: none; border-radius: 0; background: var(--darker); }
    .dropdown__menu li a { color: var(--gray-light); border-bottom-color: #374151; }
    .hero { padding: 48px 0 40px; }
    .hero h1 { font-size: 26px; }
    .hero__subtitle { font-size: 15px; }
    .hero__stats { gap: 24px; row-gap: 16px; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .stat__num { font-size: 26px; }
    .section { padding: 48px 0; }
    .section__header { margin-bottom: 32px; }
    .section__header h2 { font-size: 24px; }
    .services__grid { grid-template-columns: 1fr; gap: 16px; }
    .services__grid--compact { grid-template-columns: 1fr; }
    .advantages__grid { grid-template-columns: 1fr; }
    .process__track { grid-template-columns: 1fr; }
    .process-step { padding: 20px; }
    .contacts__grid { grid-template-columns: 1fr; gap: 32px; }
    .contacts__form { padding: 24px; }
    .footer__grid { grid-template-columns: 1fr; }
    .models__grid { grid-template-columns: repeat(2, 1fr); }
    .city-group__list { grid-template-columns: 1fr; }
    .price-row { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 18px; }
    .prices__table { border-radius: var(--radius); }
    .brands__list { gap: 8px; }
    .brand-card { min-width: 100px; padding: 14px 18px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 22px; }
    .hero__badges { display: none; }
    .contacts__phone { font-size: 18px; }
}
