/*! style.css | v3.0 FINAL */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f6f8;
  --bg-tertiary: #edf0f3;
  --text-primary: #1a1d22;
  --text-secondary: #4a5058;
  --text-muted: #7a818b;
  --accent-deep-blue: #0b1a2e;
  --accent-teal: #2AA5A5;
  --accent-teal-light: #5CCCCC;
  --accent-teal-pale: #e0f5f5;
  --border-light: #e2e6ea;
  --shadow-sm: 0 1px 3px rgba(11, 26, 46, 0.06);
  --shadow-md: 0 4px 16px rgba(11, 26, 46, 0.08);
  --shadow-lg: 0 12px 32px rgba(11, 26, 46, 0.1);
  --shadow-xl: 0 20px 48px rgba(11, 26, 46, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: Georgia, 'Times New Roman', serif;
  --max-width: 1240px;
  --header-height: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-sans); background-color: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; min-height: 100vh; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(42,165,165,0.55); outline-offset: 4px; }
main { display: block; }



/* Header */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(255,255,255,0.85); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: all var(--transition-smooth); height: var(--header-height); }
.header.scrolled { border-bottom-color: var(--border-light); box-shadow: var(--shadow-sm); background: rgba(255,255,255,0.94); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.header__logo { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--accent-deep-blue); }
.header__logo span { color: var(--accent-teal); }
.header__nav { display: flex; gap: 20px; align-items: center; }
.header__nav a { font-size: 0.84rem; font-weight: 500; color: var(--text-secondary); position: relative; padding: 4px 0; }
.header__nav a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--accent-teal); border-radius: 1px; transition: width var(--transition-smooth); }
.header__nav a:hover { color: var(--accent-deep-blue); }
.header__nav a:hover::after { width: 100%; }
.header__actions { display: flex; gap: 10px; align-items: center; }
.header__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.85rem; padding: 10px 20px; border-radius: 50px; transition: all var(--transition-smooth); white-space: nowrap; }
.header__cta--telegram { background: var(--accent-teal); color: #fff; box-shadow: 0 4px 14px rgba(42,165,165,0.3); }
.header__cta--telegram:hover { background: var(--accent-teal-light); box-shadow: 0 6px 20px rgba(42,165,165,0.4); transform: translateY(-1px); }
.header__cta--max { background: transparent; color: var(--accent-deep-blue); border: 2px solid var(--accent-deep-blue); box-shadow: none; }
.header__cta--max:hover { background: var(--accent-deep-blue); color: #fff; box-shadow: var(--shadow-md); }
.header__burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; z-index: 1001; }
.header__burger span { display: block; width: 26px; height: 2.5px; background: var(--accent-deep-blue); border-radius: 2px; transition: all var(--transition-smooth); }
.header__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.header__burger.active span:nth-child(2) { opacity: 0; }
.header__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav */
.mobile-nav { position: fixed; top: 0; right: -100%; width: 80%; max-width: 380px; height: 100vh; background: #fff; z-index: 999; padding: 100px 32px 40px; display: flex; flex-direction: column; gap: 20px; transition: right var(--transition-smooth); box-shadow: var(--shadow-xl); }
.mobile-nav.active { right: 0; }
.mobile-nav a { font-size: 1.1rem; font-weight: 500; color: var(--text-primary); padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.mobile-nav .header__cta { margin-top: 16px; text-align: center; justify-content: center; font-size: 1rem; padding: 14px 24px; }
.mobile-nav .header__cta--max { margin-top: 8px; }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 998; opacity: 0; pointer-events: none; transition: opacity var(--transition-smooth); }
.mobile-overlay.active { opacity: 1; pointer-events: all; }

/* Sections */
.section { padding: 90px 0; }
.section--alt { background: var(--bg-secondary); }
.section__label { display: inline-block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-teal); margin-bottom: 10px; }
.section__title { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--accent-deep-blue); line-height: 1.2; margin-bottom: 16px; }
.section__subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; line-height: 1.7; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; padding: 14px 28px; border-radius: 50px; cursor: pointer; border: none; transition: all var(--transition-smooth); letter-spacing: 0.01em; white-space: nowrap; }
.btn--primary { background: var(--accent-teal); color: #fff; box-shadow: 0 6px 20px rgba(42, 165, 165, 0.35); }
.btn--primary:hover { background: var(--accent-teal-light); box-shadow: 0 10px 28px rgba(42, 165, 165, 0.45); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--accent-deep-blue); border: 2px solid var(--accent-deep-blue); }
.btn--outline:hover { background: var(--accent-deep-blue); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--small { padding: 8px 18px; font-size: 0.8rem; }

/* About */
.about__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: start; }
.about__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3/4; background: var(--bg-tertiary); position: sticky; top: calc(var(--header-height) + 30px); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 14px; color: var(--accent-deep-blue); }
.about__text p { color: var(--text-secondary); margin-bottom: 10px; line-height: 1.7; }
.about__stats { display: flex; gap: 30px; margin-top: 28px; flex-wrap: wrap; }
.about__stat { text-align: center; min-width: 90px; }
.about__stat-number { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--accent-teal); line-height: 1; }
.about__stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

/* Services Cards */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.card { background: rgba(255,255,255,0.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: var(--radius-lg); padding: 30px 24px; text-align: center; border: 1px solid rgba(255,255,255,0.72); transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(92,204,204,0.16), transparent 50%); opacity: 0; transition: opacity var(--transition-smooth); pointer-events: none; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: rgba(42,165,165,0.28); }
.card:hover::after { opacity: 1; }
.card__icon { width: 60px; height: 60px; margin: 0 auto 16px; background: var(--accent-teal-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.card__title { font-weight: 600; font-size: 1.05rem; color: var(--accent-deep-blue); margin-bottom: 6px; }
.card__desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }

/* Carousel */
.carousel { position: relative; }
.carousel__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 10px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { flex: 0 0 auto; width: 300px; scroll-snap-align: start; }
.carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); background: var(--accent-teal); color: #fff; border: none; border-radius: 50%; width: 44px; height: 44px; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-md); z-index: 2; transition: all var(--transition-fast); opacity: 0.8; }
.carousel__btn:hover { opacity: 1; background: var(--accent-teal-light); }
.carousel__btn--prev { left: -10px; }
.carousel__btn--next { right: -10px; }

/* Car Cards */
.car-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-light); transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; height: 100%; }
.car-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }
.car-card__img { height: 200px; background: var(--bg-tertiary); overflow: hidden; }
.car-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-smooth); }
.car-card:hover .car-card__img img { transform: scale(1.1); }
.car-card__body { padding: 18px 20px; display: flex; flex-direction: column; flex: 1; }
.car-card__category { align-self: flex-start; margin-bottom: 8px; padding: 4px 8px; border-radius: 999px; background: var(--accent-teal-pale); color: var(--accent-teal); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.car-card__name { font-weight: 600; font-size: 1rem; color: var(--accent-deep-blue); margin-bottom: 6px; }
.car-card__type { min-height: 42px; color: var(--text-muted); font-size: 0.82rem; line-height: 1.45; }
.car-card__price { font-weight: 700; font-size: 1.2rem; color: var(--accent-teal); margin-bottom: 14px; }
.car-card__actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.car-card__actions .btn { flex: 1 1 auto; justify-content: center; padding: 10px 14px; font-size: 0.8rem; }

/* Review Cards */
.review { background: #fff; border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border-light); transition: all var(--transition-smooth); height: 100%; }
.review:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.review__header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-teal-pale); color: var(--accent-teal); display: flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 800; overflow: hidden; }
.review__name { font-weight: 600; font-size: 0.95rem; color: var(--accent-deep-blue); }
.review__city { font-size: 0.8rem; color: var(--text-muted); }
.review__text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.review__note { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border-light); color: var(--text-muted); font-size: 0.78rem; font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; position: relative; }
.steps::before { content: ''; position: absolute; top: 28px; left: 6%; right: 6%; height: 2px; background: var(--border-light); z-index: 0; }
.step { text-align: center; position: relative; z-index: 1; }
.step__num { width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 2px solid var(--accent-teal); color: var(--accent-teal); font-weight: 700; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; transition: all var(--transition-smooth); }
.step:hover .step__num { background: var(--accent-teal); color: #fff; box-shadow: 0 6px 18px rgba(42,165,165,0.35); }
.step__title { font-weight: 600; font-size: 0.9rem; color: var(--accent-deep-blue); }
.step:nth-child(2) { transition-delay: 0.04s; }
.step:nth-child(3) { transition-delay: 0.08s; }
.step:nth-child(4) { transition-delay: 0.12s; }
.step:nth-child(5) { transition-delay: 0.16s; }
.step:nth-child(6) { transition-delay: 0.2s; }
.step:nth-child(7) { transition-delay: 0.24s; }

/* Service list */
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-item { min-height: 94px; background: #fff; padding: 16px; border-radius: var(--radius-md); border: 1px solid var(--border-light); font-weight: 500; color: var(--accent-deep-blue); display: flex; align-items: center; gap: 9px; transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth); }
.service-item:hover { transform: translateY(-4px); border-color: var(--accent-teal); box-shadow: var(--shadow-md); }
.service-item::before { content: '✓'; color: var(--accent-teal); font-weight: 700; font-size: 1.1rem; }
.media-carousel { position: relative; margin-top: 30px; }
.media-carousel__btn { position: absolute; top: 50%; z-index: 5; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(42,165,165,0.92); color: #fff; box-shadow: var(--shadow-md); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.55rem; line-height: 1; transform: translateY(-50%); transition: background var(--transition-fast), transform var(--transition-fast), opacity var(--transition-fast); }
.media-carousel__btn:hover { background: var(--accent-teal-light); transform: translateY(-50%) scale(1.04); }
.media-carousel__btn--prev { left: -8px; }
.media-carousel__btn--next { right: -8px; }
.service-gallery { position: relative; display: flex; gap: 16px; clear: both; padding: 2px 0 12px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-color: rgba(42,165,165,0.72) transparent; scrollbar-width: thin; }
.service-gallery::-webkit-scrollbar { height: 6px; }
.service-gallery::-webkit-scrollbar-track { background: transparent; }
.service-gallery::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(42,165,165,0.72); }
.service-gallery__item { position: relative; flex: 0 0 min(360px, 78vw); aspect-ratio: 16 / 10; overflow: hidden; margin: 0; padding: 0; border: 0; border-radius: var(--radius-md); background: var(--bg-tertiary); box-shadow: var(--shadow-sm); scroll-snap-align: start; cursor: zoom-in; }
.service-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-smooth); }
.service-gallery__item:hover img { transform: scale(1.045); }
.media-open { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255,255,255,0.5); border-radius: 50%; background: rgba(5,18,32,0.58); color: transparent; font-size: 0; line-height: 0; box-shadow: 0 8px 22px rgba(0,0,0,0.2); cursor: zoom-in; backdrop-filter: blur(8px); }
.media-open::before, .media-open::after { content: ''; position: absolute; inset: 50% auto auto 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.media-open::before { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.94); }
.media-open::after { width: 8px; height: 8px; background: var(--accent-teal-light); box-shadow: 0 0 0 4px rgba(92,204,204,0.18); }

/* Video */
.reviews__video { margin-top: 54px; padding-top: 34px; border-top: 1px solid var(--border-light); }
.reviews__video-title { margin-bottom: 22px; color: var(--accent-deep-blue); font-family: var(--font-display); font-size: 1.9rem; }
.media-carousel--video { margin-top: 0; }
.video-grid { display: flex; gap: 18px; padding: 2px 0 12px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-color: rgba(42,165,165,0.72) transparent; scrollbar-width: thin; }
.video-grid::-webkit-scrollbar { height: 6px; }
.video-grid::-webkit-scrollbar-track { background: transparent; }
.video-grid::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(42,165,165,0.72); }
.video-wrapper { position: relative; flex: 0 0 clamp(250px, 26vw, 340px); aspect-ratio: 9 / 16; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; scroll-snap-align: start; }
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-wrapper video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; background: #000; }
.video-wrapper .media-open { top: 12px; bottom: auto; cursor: pointer; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-question { width: 100%; text-align: left; padding: 18px 8px; background: none; border: none; cursor: pointer; font-size: 1rem; font-weight: 600; color: var(--accent-deep-blue); display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color var(--transition-fast); }
.faq-question:hover { color: var(--accent-teal); }
.faq-question .icon { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border-light); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: all var(--transition-fast); }
.faq-item.active .faq-question .icon { border-color: var(--accent-teal); background: var(--accent-teal); color: #fff; transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition-smooth), padding var(--transition-smooth); padding: 0 8px; }
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 18px; }
.faq-answer p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* Contacts */
.contacts { text-align: center; }
.contacts__links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.contacts__link { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 50px; font-weight: 600; background: #fff; border: 1px solid var(--border-light); transition: all var(--transition-smooth); font-size: 0.95rem; }
.contacts__link:hover { box-shadow: var(--shadow-lg); border-color: var(--accent-teal); transform: translateY(-2px); }
.contacts__link svg { width: 22px; height: 22px; }
.contacts__link--telegram { background: #27a7e7; color: #fff; border-color: #27a7e7; }
.contacts__link--telegram:hover { background: #1e8ec9; }
.contacts__map { margin: 34px auto 0; overflow: hidden; border: 1px solid var(--border-light); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md); text-align: left; }
.contacts__map-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border-bottom: 1px solid var(--border-light); }
.contacts__map-head h3 { margin: 0; color: var(--accent-deep-blue); font-size: 1.15rem; }
.contacts__map-head p { margin: 4px 0 0; color: var(--text-muted); font-size: 0.9rem; }
.contacts__map-frame { position: relative; height: 420px; background: var(--bg-tertiary); }
.contacts__map-frame iframe { width: 100%; height: 100%; display: block; border: 0; }

/* Footer */
.footer { background: var(--accent-deep-blue); color: rgba(255,255,255,0.7); padding: 28px 0; text-align: center; font-size: 0.85rem; }
.footer a { color: var(--accent-teal); text-decoration: underline; }
.footer a:hover { color: var(--accent-teal-light); }

/* Scroll to top */
.scroll-to-top { position: fixed; bottom: 30px; right: 30px; z-index: 1500; width: 50px; height: 50px; border-radius: 50%; background: var(--accent-teal); color: #fff; border: none; box-shadow: 0 4px 18px rgba(42,165,165,0.4); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; opacity: 0; transform: translateY(20px); transition: opacity 0.3s, transform 0.3s; pointer-events: none; }
.scroll-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-to-top:hover { background: var(--accent-teal-light); transform: translateY(-2px); }

/* Cookie & Modal */
.media-lightbox { position: fixed; inset: 0; z-index: 3200; display: flex; align-items: center; justify-content: center; padding: 28px 76px; background: rgba(3,10,18,0.88); opacity: 0; pointer-events: none; transition: opacity var(--transition-smooth); }
.media-lightbox.active { opacity: 1; pointer-events: all; }
.media-lightbox__stage { width: min(920px, 100%); height: min(82vh, 860px); display: flex; align-items: center; justify-content: center; }
.media-lightbox__stage img, .media-lightbox__stage video { max-width: 100%; max-height: 100%; border-radius: var(--radius-lg); box-shadow: 0 24px 80px rgba(0,0,0,0.45); background: #000; }
.media-lightbox__stage video { width: auto; height: min(82vh, 860px); aspect-ratio: 9 / 16; object-fit: contain; }
.media-lightbox__close, .media-lightbox__nav { position: absolute; border: 0; color: #fff; background: rgba(255,255,255,0.14); cursor: pointer; backdrop-filter: blur(10px); transition: background var(--transition-fast), transform var(--transition-fast); }
.media-lightbox__close:hover, .media-lightbox__nav:hover { background: rgba(42,165,165,0.92); }
.media-lightbox__close { top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; font-size: 2rem; line-height: 1; }
.media-lightbox__nav { top: 50%; width: 52px; height: 52px; border-radius: 50%; font-size: 2.4rem; line-height: 1; transform: translateY(-50%); }
.media-lightbox__nav:hover { transform: translateY(-50%) scale(1.04); }
.media-lightbox__nav--prev { left: 18px; }
.media-lightbox__nav--next { right: 18px; }
.cookie-banner { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 2000; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); padding: 20px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 600px; width: calc(100% - 40px); font-size: 0.85rem; color: var(--text-secondary); transition: opacity var(--transition-smooth), transform var(--transition-smooth); }
.cookie-banner.hidden { opacity: 0; transform: translateX(-50%) translateY(20px); pointer-events: none; }
.cookie-banner__text a { color: var(--accent-teal); text-decoration: underline; }
.cookie-settings { width: 100%; margin-top: 4px; }
.cookie-option { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 0.85rem; cursor: pointer; }
.cookie-option input[type="checkbox"] { accent-color: var(--accent-teal); width: 16px; height: 16px; }
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 3000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity var(--transition-smooth); }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal { background: #fff; border-radius: var(--radius-lg); padding: 36px; max-width: 560px; width: 90%; max-height: 80vh; overflow-y: auto; box-shadow: var(--shadow-xl); position: relative; }
.modal__close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--text-muted); }
.modal__close:hover { color: var(--text-primary); }
.modal h3 { font-family: var(--font-display); margin-bottom: 14px; color: var(--accent-deep-blue); }
.modal h4 { margin: 16px 0 8px; color: var(--accent-deep-blue); }
.modal p, .modal li { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
.modal ul { padding-left: 20px; margin: 8px 0; }
.modal ul li { margin-bottom: 6px; }

/* Reveal */
.reveal { visibility: visible; }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh; /* fallback */
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--accent-deep-blue);
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 35%;
  z-index: 1;
  transform: scale(1.01);
  transition: transform 1.2s cubic-bezier(0.2, 0.65, 0.25, 1), filter 0.8s ease;
}

.hero::after {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  right: 34%;
  bottom: -150px;
  z-index: 2;
  border-radius: 50%;
  background: rgba(92,204,204,0.16);
  filter: blur(70px);
  pointer-events: none;
}

.hero:hover .hero__bg { transform: scale(1.045); }

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.9) 100%);
  z-index: 2;
}

.hero__wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  padding: 40px 20px;
  margin-top: auto;
}

.hero__content {
  max-width: 100%;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero__btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.hero__contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__search-btn {
  min-width: min(100%, 320px);
}

.hero__name {
  position: relative;
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-teal-light);
  margin-bottom: 20px;
}

.hero__name::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 72%;
  height: 3px;
  border-radius: 999px;
  background: var(--accent-teal);
  transform-origin: left center;
  animation: underlineReveal 0.7s 0.25s both cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes underlineReveal {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.hero__desc {
  font-size: 1.1rem;
  max-width: 620px;
  margin-bottom: 24px;
  opacity: 0.92;
}

.hero .btn {
  width: 100%;
  padding: 16px 24px;
  font-size: 1.05rem;
}

.hero .btn--outline {
  border-color: rgba(255,255,255,0.85);
  color: #fff;
  background: rgba(255,255,255,0.15);
}

/* Mobile */
@media (max-width: 768px) {
  .header__inner { padding: 0 20px; }
  .header__nav,
  .header__actions { display: none; }
  .header__burger { display: flex; }
  .mobile-nav { width: min(88vw, 390px); padding: 88px 24px 32px; gap: 10px; }
  .mobile-nav a { min-height: 48px; display: flex; align-items: center; font-size: 1.08rem; padding: 12px 0; }
  .mobile-nav .header__cta { min-height: 52px; margin-top: 10px; padding: 14px 20px; }
  .btn { min-height: 48px; }
  .scroll-to-top { right: 18px; bottom: 22px; width: 46px; height: 46px; }

  .hero {
    min-height: max(100svh, 690px);
    padding: 0;
    display: flex;
    justify-content: flex-start;
    gap: 0;
    background: var(--accent-deep-blue);
    overflow: hidden;
  }

  .hero__wrapper {
    order: 1;
    width: 100%;
    max-width: none;
    padding: calc(var(--header-height) + 26px) 20px 28px;
    margin: 0;
  }

  .hero__content {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  }

  .hero__name {
    color: var(--accent-teal-light);
    font-size: 0.78rem;
    margin-bottom: 10px;
  }

  .hero__title {
    color: #fff;
    font-size: clamp(1.86rem, 8.4vw, 2.7rem);
    line-height: 1.06;
    margin-bottom: 14px;
  }

  .hero__desc {
    color: rgba(255,255,255,0.9);
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 16px;
    opacity: 1;
  }

  .hero__desc--secondary { display: none; }
  .hero__btns { gap: 10px; }
  .hero__contact-actions { gap: 10px; }

  .hero .btn {
    padding: 13px 18px;
    font-size: 0.96rem;
    justify-content: center;
  }

  .hero .btn--outline {
    border-color: rgba(255,255,255,0.9);
    color: #fff;
    background: rgba(255,255,255,0.12);
  }

  .contacts__map-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .contacts__map-head .btn {
    width: 100%;
    justify-content: center;
  }

  .contacts__map-frame {
    height: 320px;
  }

  .hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    z-index: 1;
  }

  .hero__overlay {
    display: block;
    background: linear-gradient(180deg, rgba(5,18,32,0.86) 0%, rgba(5,18,32,0.7) 56%, rgba(5,18,32,0.88) 100%);
  }

  .section { padding: 68px 0; }
  .container { padding: 0 20px; }
  .section__title { font-size: 2rem; }
  #cars .section__subtitle { font-size: 1rem; line-height: 1.55; }
  #cars .carousel { margin-top: 26px !important; }
  #cars .carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(156px, 43vw, 210px); grid-template-rows: repeat(2, minmax(0, auto)); gap: 14px; overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 2px 6px 12px 2px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(42,165,165,0.72) transparent; }
  #cars .carousel__track::-webkit-scrollbar { height: 5px; }
  #cars .carousel__track::-webkit-scrollbar-track { background: transparent; }
  #cars .carousel__track::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(42,165,165,0.72); }
  #cars .carousel__item { width: auto; min-width: 0; scroll-snap-align: start; }
  #cars .carousel__btn { display: flex; width: 34px; height: 34px; font-size: 1.2rem; opacity: 0.9; top: 48%; }
  #cars .carousel__btn--prev { left: -4px; }
  #cars .carousel__btn--next { right: -4px; }
  #cars .car-card { border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
  #cars .car-card__img { height: 112px; }
  #cars .car-card__body { padding: 10px; }
  #cars .car-card__category { max-width: 100%; margin-bottom: 6px; font-size: 0.56rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #cars .car-card__name { min-height: 2.35em; font-size: 0.9rem; line-height: 1.18; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  #cars .car-card__type { display: none; }
  #cars .car-card__price { font-size: 0.96rem; line-height: 1.22; margin: 8px 0 10px; }
  #cars .car-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  #cars .car-card__actions .btn { width: 100%; min-height: 34px; padding: 7px 6px; font-size: 0.66rem; }
  #reviews .carousel__item { width: min(330px, 86vw); }
  #reviews .review { padding: 22px; }
  #reviews .review__name { font-size: 1.02rem; }
  #reviews .review__city { font-size: 0.88rem; }
  #reviews .review__text { font-size: 1rem; line-height: 1.62; }
  #reviews .review__note { font-size: 0.84rem; }
  .about__grid { grid-template-columns: 1fr; gap: 26px; }
  .about__photo { position: relative; top: auto; max-height: 520px; }
  .reviews__video { margin-top: 42px; padding-top: 28px; }
  .reviews__video-title { font-size: 1.65rem; }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .service-item { min-height: 94px; padding: 13px 12px; gap: 7px; font-size: 0.87rem; line-height: 1.45; }
  .media-carousel { margin-top: 22px; }
  .media-carousel__btn { width: 36px; height: 36px; font-size: 1.35rem; }
  .media-carousel__btn--prev { left: -4px; }
  .media-carousel__btn--next { right: -4px; }
  .service-gallery { gap: 10px; padding-bottom: 8px; }
  .service-gallery__item { flex-basis: clamp(210px, 58vw, 270px); aspect-ratio: 16 / 9; border-radius: var(--radius-sm); }
  .video-grid { gap: 12px; padding-bottom: 8px; }
  .video-wrapper { flex-basis: clamp(172px, 54vw, 235px); border-radius: var(--radius-md); }
  .media-open { right: 9px; bottom: 9px; width: 36px; height: 36px; }
  .media-open::before { width: 18px; height: 18px; }
  .media-open::after { width: 7px; height: 7px; }
  .video-wrapper .media-open { top: 9px; bottom: auto; }
  .media-lightbox { padding: 58px 14px 76px; }
  .media-lightbox__stage { width: 100%; height: 76vh; }
  .media-lightbox__stage img, .media-lightbox__stage video { border-radius: var(--radius-md); }
  .media-lightbox__stage video { height: min(76vh, 720px); }
  .media-lightbox__close { top: 10px; right: 10px; width: 42px; height: 42px; }
  .media-lightbox__nav { top: auto; bottom: 14px; width: 44px; height: 44px; font-size: 2rem; transform: none; }
  .media-lightbox__nav:hover { transform: none; }
  .media-lightbox__nav--prev { left: calc(50% - 56px); }
  .media-lightbox__nav--next { right: calc(50% - 56px); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .steps::before { display: none; }
}

@media (min-width: 1100px) {
  .service-list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .service-item { min-height: 112px; padding: 14px; font-size: 0.86rem; line-height: 1.45; }
}

@media (max-width: 560px) {
  #cars .carousel__track { grid-auto-columns: clamp(150px, 44vw, 176px); gap: 12px; }
  #cars .car-card__img { height: 104px; }
}

/* Desktop */
@media (min-width: 769px) {
  .hero {
    min-height: 100vh;
    justify-content: center;
    background: transparent;
    padding-top: var(--header-height);
  }

  .hero__bg {
    top: calc(var(--header-height) + 20px);
    bottom: 20px;
    left: auto;
    right: 28px;
    width: calc(50% - 28px);
    height: auto;
    border-radius: var(--radius-lg);
    background-position: center 40%;
    box-shadow: var(--shadow-lg);
  }

  .hero__overlay {
    background: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.75) 35%, rgba(255,255,255,0.2) 70%, rgba(255,255,255,0) 100%);
  }

  .hero__wrapper {
    width: 100%;
    max-width: var(--max-width);
    padding: 0 28px;
    margin: 0 auto;
  }

  .hero__content {
    color: var(--text-primary);
    text-shadow: none;
    max-width: 550px;
  }

  .hero__title {
    font-size: clamp(3rem, 4.2vw, 3.75rem);
    line-height: 1.08;
  }

  .hero__desc {
    max-width: 530px;
  }

  .hero__btns {
    flex-direction: column;
  }

  .hero__name {
    color: var(--accent-teal);
  }

  .hero__desc {
    color: var(--text-secondary);
    opacity: 1;
  }

  .hero .btn {
    width: auto;
  }

  .hero .btn--outline {
    border-color: var(--accent-deep-blue);
    color: var(--accent-deep-blue);
    background: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .hero__bg,
  .hero:hover .hero__bg { transform: none; }
}
