:root {
  --green: #16a34a;
  --green-dark: #15803d;
  --green-deep: #0c4a2e;
  --green-soft: #eafaf0;
  --ink: #15231b;
  --gray: #5f6b64;
  --light: #f3f9f5;
  --line: #e4efe8;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Manrope', sans-serif; color: var(--ink); overflow-x: hidden; background: #fff; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

.container { max-width: 1280px; margin: 0 auto; }

/* SVG ICONS */
.ic { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -0.18em; flex-shrink: 0; }
.ic-sm { width: .95em; height: .95em; }
.ic-lg { width: 1.4em; height: 1.4em; }

:root { --spring: cubic-bezier(.34,1.56,.64,1); --ease-out: cubic-bezier(.2,.7,.3,1); }

.reveal { opacity: 0; transform: translateY(44px) scale(.98); transition: opacity .7s var(--ease-out), transform .7s var(--spring); }
.reveal.visible { opacity: 1; transform: none; }

/* HERO entrance (stagger через --d) */
.hero .anim { opacity: 0; animation: heroIn .9s var(--spring) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }

/* Пульсуюча крапка в бейджі */
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #7ee2a8; display: inline-block; animation: badgePulse 2s ease-out infinite; }
@keyframes badgePulse { 0% { box-shadow: 0 0 0 0 rgba(126,226,168,.6); } 70% { box-shadow: 0 0 0 9px rgba(126,226,168,0); } 100% { box-shadow: 0 0 0 0 rgba(126,226,168,0); } }

/* Градієнтні орби у hero */
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; pointer-events: none; }
.hero-orb--1 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(22,163,74,.7), transparent 70%); top: -90px; right: 6%; animation: orb1 15s ease-in-out infinite; }
.hero-orb--2 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(126,226,168,.5), transparent 70%); bottom: 40px; left: 8%; animation: orb2 19s ease-in-out infinite; }
@keyframes orb1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-46px,44px); } }
@keyframes orb2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(44px,-32px); } }

/* Рухомий рядок районів */
.hero-marquee { position: absolute; bottom: 0; left: 0; right: 0; overflow: hidden; padding: 13px 0; background: rgba(10,30,20,.35); backdrop-filter: blur(6px); border-top: 1px solid rgba(255,255,255,.1); z-index: 1; }
.hero-marquee__track { display: inline-flex; white-space: nowrap; animation: marquee 32s linear infinite; }
.hero-marquee__track span { color: rgba(255,255,255,.55); font-weight: 700; font-size: 13.5px; letter-spacing: 1px; text-transform: uppercase; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero-marquee:hover .hero-marquee__track { animation-play-state: paused; }

/* Tilt-картки (3D на наведення) */
.tilt { transform-style: preserve-3d; transition: transform .25s var(--ease-out); will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero .anim, .hero-orb, .hero-marquee__track, .badge-dot { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* HEADER */
/* z-index вище за overlay-mask (1050), щоб шторка меню не темніла під маскою */
header.site-header { position: sticky; top: 0; z-index: 1100; }
.header-top {
  background: var(--green-deep); padding: 9px 6%;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: #bfe6cd;
}
.header-top .ht-right { display: flex; gap: 22px; align-items: center; }
.header-top a { color: #d6f0e0; transition: color .2s; }
.header-top a:hover { color: #fff; }
.header-top .phone { color: #fff; font-weight: 700; }
.lang-switch { display: inline-flex; gap: 8px; align-items: center; }
.lang-switch .lang-current { color: #fff; font-weight: 800; cursor: default; }
.lang-switch .lang-link { color: #8fc2a3; }
.lang-switch .lang-link:hover { color: #fff; }
.lang-sep { color: #3a8159; }
nav.main-nav {
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 6%; box-shadow: 0 2px 24px rgba(12,74,46,.07);
  transition: padding .3s;
}
header.scrolled nav.main-nav { padding: 9px 6%; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 900; color: #fff;
  box-shadow: 0 4px 14px rgba(22,163,74,.35);
}
.logo-text { font-size: 21px; font-weight: 800; letter-spacing: -.5px; color: var(--ink); }
.logo-text span { color: var(--green); }
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a { color: #233029; font-size: 14.5px; font-weight: 600; position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--green); transition: width .25s;
}
.nav-links a:hover { color: var(--green-dark); }
.nav-links a:hover::after { width: 100%; }
.nav-links .current-menu-item > a { color: var(--green-dark); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-call {
  color: var(--green-dark); font-size: 14.5px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 7px; padding: 11px 18px;
  border: 1.5px solid var(--green); border-radius: 10px; transition: all .25s; cursor: pointer;
}
.nav-call:hover { background: var(--green-soft); }
.nav-cta {
  background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff;
  padding: 12px 24px; border-radius: 10px; font-size: 14.5px; font-weight: 700;
  transition: all .25s; box-shadow: 0 4px 14px rgba(22,163,74,.35);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(22,163,74,.5); color: #fff; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.burger span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; transition: all .3s; }

/* HERO */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; padding: 60px 6% 110px; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(12,74,46,.95) 0%, rgba(12,74,46,.85) 45%, rgba(22,163,74,.5) 100%);
}
.hero-content { max-width: 650px; }
.hero-badge {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  color: #fff; padding: 8px 18px; border-radius: 30px;
  font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px;
}
.hero h1 { font-size: clamp(36px, 5.5vw, 60px); font-weight: 900; line-height: 1.05; letter-spacing: -1.5px; margin-bottom: 22px; color: #fff; }
.hero h1 span { color: #7ee2a8; }
.hero p { font-size: clamp(16px,1.6vw,19px); color: #d4ecdd; margin-bottom: 36px; line-height: 1.65; max-width: 540px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: #fff; color: var(--green-dark);
  padding: 17px 36px; border-radius: 12px; font-size: 16px; font-weight: 800;
  transition: all .25s; box-shadow: 0 6px 24px rgba(0,0,0,.18); cursor: pointer; border: none;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.28); color: var(--green-dark); }
.btn-green { background: linear-gradient(135deg,var(--green),var(--green-dark)); color: #fff; }
.btn-green:hover { color: #fff; }
.btn-outline {
  border: 2px solid rgba(255,255,255,.4); color: #fff; padding: 17px 34px; border-radius: 12px;
  font-size: 16px; font-weight: 700; transition: all .25s; backdrop-filter: blur(4px); cursor: pointer; background: none;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; }
.hero-stats { display: flex; gap: 46px; margin-top: 54px; padding-top: 38px; border-top: 1px solid rgba(255,255,255,.18); }
.stat-num { font-size: 38px; font-weight: 900; color: #7ee2a8; letter-spacing: -1px; }
.stat-label { font-size: 13.5px; color: #b9d8c4; margin-top: 2px; }

/* TRUST BAR */
.trust-bar { background: var(--ink); padding: 26px 6%; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 12px; color: #dfeee6; font-size: 15px; font-weight: 600; }
.trust-item .ti-icon { display: inline-flex; }
.trust-item .ic { width: 26px; height: 26px; color: #7ee2a8; }

/* SECTIONS */
section.block { padding: 100px 6%; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-label { color: var(--green); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 14px; }
.section-title { font-size: clamp(28px,3.5vw,42px); font-weight: 900; letter-spacing: -1px; margin-bottom: 16px; color: var(--ink); }
.section-sub { color: var(--gray); font-size: 17px; line-height: 1.7; }

/* SERVICES */
.services { background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { background: #fff; border-radius: 20px; padding: 36px; transition: all .35s; border: 1.5px solid var(--line); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--green), var(--green-dark)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(12,74,46,.13); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 64px; height: 64px; background: var(--green-soft); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; color: var(--green-dark); }
.service-icon .ic { width: 32px; height: 32px; }
.service-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: 14.5px; line-height: 1.65; margin-bottom: 22px; }
.service-foot { display: flex; justify-content: space-between; align-items: center; }
.service-price { font-size: 15px; color: var(--gray); }
.service-price b { font-size: 24px; font-weight: 900; color: var(--ink); display: block; }
.service-link { color: var(--green-dark); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.service-link:hover { gap: 11px; color: var(--green-dark); }

/* STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step-card { text-align: center; padding: 20px; }
.step-num { width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 20px; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; font-size: 28px; font-weight: 900; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(22,163,74,.35); }
.step-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.step-card p { color: var(--gray); font-size: 14.5px; line-height: 1.6; }

/* BRANCHES */
.branches-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.branch-card { background: #fff; border-radius: 14px; padding: 24px; border: 1.5px solid var(--line); transition: all .3s; cursor: pointer; }
.branch-card:hover { transform: translateY(-5px); border-color: var(--green); box-shadow: 0 14px 34px rgba(12,74,46,.1); }
.branch-pin { margin-bottom: 12px; color: var(--green); display: flex; }
.branch-pin .ic { width: 24px; height: 24px; }
.branch-district { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.branch-address { font-size: 13.5px; color: var(--gray); line-height: 1.5; }
.branch-metro { font-size: 12.5px; color: var(--green-dark); font-weight: 700; margin-top: 10px; display: inline-flex; align-items: center; gap: 5px; }
.branch-metro .ic { width: 15px; height: 15px; }
.branches-more { text-align: center; margin-top: 44px; }

/* INSTRUCTORS */
.instructors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.instructor-card { background: #fff; border-radius: 18px; overflow: hidden; border: 1.5px solid var(--line); transition: all .35s; }
.instructor-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(12,74,46,.12); }
.instructor-photo { height: 260px; background-size: cover; background-position: center top; }
.instructor-body { padding: 22px; }
.instructor-body h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.instructor-role { font-size: 13.5px; color: var(--green-dark); font-weight: 700; margin-bottom: 12px; }
.instructor-meta { font-size: 13.5px; color: var(--gray); line-height: 1.7; display: flex; flex-direction: column; gap: 4px; }
.instructor-meta span { display: inline-flex; align-items: center; gap: 6px; }
.instructor-meta .ic { color: var(--green-dark); }
.instructor-photo--empty { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); }
.instructor-photo--empty .ic { width: 64px; height: 64px; stroke-width: 1.3; }

/* CARS / FLEET */
.cars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.car-card { background: #fff; border-radius: 18px; overflow: hidden; border: 1.5px solid var(--line); transition: all .35s; }
.car-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(12,74,46,.12); }
.car-photo { height: 180px; background-size: cover; background-position: center; }
.car-photo--empty { display: flex; align-items: center; justify-content: center; color: var(--green); }
.car-photo--empty .ic { width: 58px; height: 58px; stroke-width: 1.3; }
.car-body { padding: 20px; }
.car-body h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.car-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.car-tag { font-size: 12px; font-weight: 700; color: var(--green-dark); background: var(--green-soft); padding: 5px 12px; border-radius: 20px; }

/* PRICES */
.prices { background: var(--green-deep); color: #fff; position: relative; overflow: hidden; }
.prices::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(126,226,168,.16), transparent 70%); }
.prices .section-title { color: #fff; }
.prices .section-label { color: #7ee2a8; }
.prices .section-sub { color: #b9d8c4; }
.prices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1100px; margin: 0 auto; }
.price-card { background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.12); border-radius: 24px; padding: 40px 34px; text-align: center; transition: all .35s; position: relative; }
.price-card:hover { transform: translateY(-6px); border-color: rgba(126,226,168,.5); }
.price-card.featured { background: linear-gradient(160deg, var(--green), var(--green-dark)); border-color: var(--green); transform: scale(1.05); }
.price-card.featured:hover { transform: scale(1.05) translateY(-6px); }
.price-tag { position: absolute; top: 20px; right: 20px; background: #fff; color: var(--green-dark); font-size: 11px; font-weight: 800; padding: 5px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; }
.price-name { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: #b9d8c4; margin-bottom: 18px; }
.price-card.featured .price-name { color: rgba(255,255,255,.85); }
.price-amount { font-size: 52px; font-weight: 900; letter-spacing: -2px; line-height: 1; }
.price-amount small { font-size: 22px; font-weight: 700; }
.price-period { font-size: 14px; color: #b9d8c4; margin: 10px 0 28px; }
.price-card.featured .price-period { color: rgba(255,255,255,.8); }
.price-features { list-style: none; text-align: left; margin-bottom: 30px; }
.price-features li { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14.5px; color: #d4ecdd; display: flex; align-items: center; gap: 10px; }
.price-features li::before { content: '✓'; color: #7ee2a8; font-weight: 900; }
.price-card.featured .price-features li { color: rgba(255,255,255,.95); border-color: rgba(255,255,255,.18); }
.price-card.featured .price-features li::before { color: #fff; }
.price-btn { display: block; padding: 15px; border-radius: 12px; font-weight: 800; font-size: 15px; background: rgba(255,255,255,.1); color: #fff; transition: all .25s; text-align: center; }
.price-btn:hover { background: #fff; color: var(--green-dark); }
.price-card.featured .price-btn { background: #fff; color: var(--green-dark); }
.price-card.featured .price-btn:hover { background: var(--ink); color: #fff; }

/* REVIEWS */
.reviews { background: var(--light); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review-card { background: #fff; border-radius: 20px; padding: 32px; border: 1.5px solid var(--line); transition: all .3s; }
.review-card:hover { box-shadow: 0 16px 40px rgba(12,74,46,.1); transform: translateY(-5px); }
.review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.review-stars { color: #f5a623; font-size: 17px; letter-spacing: 2px; }
.review-source { font-size: 12px; font-weight: 700; color: var(--gray); background: var(--green-soft); padding: 4px 12px; border-radius: 20px; }
.review-text { font-size: 15px; color: #3a463f; line-height: 1.7; margin-bottom: 24px; }
.review-author { display: flex; align-items: center; gap: 13px; }
.review-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--green-deep)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 18px; }
.review-name { font-size: 15px; font-weight: 700; }
.review-date { font-size: 12.5px; color: #94a89c; }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { background: #fff; border-radius: 20px; overflow: hidden; border: 1.5px solid var(--line); transition: all .35s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(12,74,46,.13); }
.blog-img { height: 200px; background-size: cover; background-position: center; position: relative; display: block; }
.blog-tag { position: absolute; top: 16px; left: 16px; background: #fff; color: var(--green-dark); font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 20px; }
.blog-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.blog-date { font-size: 12.5px; color: #94a89c; font-weight: 600; margin-bottom: 10px; }
.blog-card h3 { font-size: 18.5px; font-weight: 800; margin-bottom: 12px; line-height: 1.35; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--green-dark); }
.blog-card p { color: var(--gray); font-size: 14px; line-height: 1.6; margin-bottom: 18px; flex: 1; }
.blog-link { color: var(--green-dark); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.blog-link:hover { gap: 11px; }
.blog-more { text-align: center; margin-top: 44px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; margin-bottom: 14px; overflow: hidden; transition: all .3s; }
.faq-item.open { border-color: var(--green); box-shadow: 0 10px 30px rgba(22,163,74,.1); }
.faq-q { padding: 22px 26px; font-size: 16.5px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .icon { color: var(--green); font-size: 24px; font-weight: 300; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; padding: 0 26px; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 26px 22px; }
.faq-a p { color: var(--gray); font-size: 15px; line-height: 1.7; }

/* CTA FORM */
.cta-section { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); padding: 90px 6%; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -80px; left: -80px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%); }
.cta-section h2 { font-size: clamp(28px,4vw,44px); font-weight: 900; color: #fff; margin-bottom: 14px; letter-spacing: -1px; position: relative; }
.cta-section p { font-size: 18px; color: rgba(255,255,255,.88); margin-bottom: 40px; position: relative; }
.cta-form { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; max-width: 680px; margin: 0 auto; position: relative; }
.cta-form input { flex: 1; min-width: 220px; padding: 18px 22px; border: none; border-radius: 12px; font-size: 15px; font-family: inherit; box-shadow: 0 6px 24px rgba(0,0,0,.12); outline: none; }
.cta-form button { background: var(--ink); color: #fff; border: none; padding: 18px 40px; border-radius: 12px; font-size: 15px; font-weight: 800; font-family: inherit; cursor: pointer; white-space: nowrap; transition: all .25s; }
.cta-form button:hover { background: #000; transform: translateY(-2px); }
.cta-note { margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.75); position: relative; }

/* FOOTER */
footer.site-footer { background: var(--green-deep); color: #a7cdb6; padding: 70px 6% 32px; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.3fr; gap: 44px; margin-bottom: 50px; }
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-icon { background: linear-gradient(135deg, #fff, #d6f0e0); color: var(--green-dark); }
.footer-brand p { font-size: 14.5px; line-height: 1.75; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: #a7cdb6; font-size: 14.5px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 14px; font-size: 14.5px; line-height: 1.5; }
.footer-contact-item a { color: #a7cdb6; }
.footer-contact-item a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px; font-size: 13.5px; }
.footer-dev a { color: #fff; font-weight: 700; }
.footer-dev a:hover { color: #7ee2a8; }
.social-links { display: flex; gap: 12px; }
.social-btn { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: all .25s; }
.social-btn svg { width: 20px; height: 20px; fill: #d6f0e0; transition: fill .25s; }
.social-btn:hover { background: #fff; transform: translateY(-3px); }
.social-btn:hover svg { fill: var(--green-dark); }

/* FLOATING CALLBACK */
.float-call { position: fixed; bottom: 26px; right: 26px; z-index: 900; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; padding: 16px 26px; border-radius: 50px; font-size: 15px; font-weight: 800; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; border: none; box-shadow: 0 8px 30px rgba(22,163,74,.5); transition: all .25s; }

/* ПЛАВАЮЧІ МЕСЕНДЖЕРИ (базові стилі — ПЕРЕД медіа-запитами, щоб мобільні правила перебивали їх) */
.float-msg { position: fixed; left: 22px; bottom: 22px; z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.float-msg .fm-btn { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.28); transition: transform .2s var(--ease-out); animation: fmIn .4s var(--spring) backwards; }
.float-msg .fm-btn:nth-child(2) { animation-delay: .07s; }
.float-msg .fm-btn:nth-child(3) { animation-delay: .14s; }
.float-msg .fm-btn:hover { transform: scale(1.12); }
.float-msg .fm-btn svg { width: 27px; height: 27px; fill: #fff; }
.fm-whatsapp { background: #25d366; }
.fm-telegram { background: #29a9eb; }
.fm-viber { background: #7360f2; }
@keyframes fmIn { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .float-msg .fm-btn { animation: none; } }
.float-call:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 38px rgba(22,163,74,.65); }
.float-call .ring { display: inline-flex; animation: ring 1.5s ease-in-out infinite; }
.float-call .ring .ic { width: 20px; height: 20px; }
@keyframes ring { 0%,60%,100%{transform:rotate(0)} 10%,30%{transform:rotate(14deg)} 20%,40%{transform:rotate(-14deg)} }

/* MODAL */
.modal-mask { display: none; position: fixed; inset: 0; background: rgba(12,74,46,.55); backdrop-filter: blur(4px); z-index: 2000; align-items: center; justify-content: center; padding: 20px; }
.modal-mask.active { display: flex; }
.modal { background: #fff; border-radius: 24px; padding: 44px 40px; max-width: 440px; width: 100%; text-align: center; position: relative; animation: pop .3s cubic-bezier(.2,.8,.3,1.2); }
@keyframes pop { from { opacity: 0; transform: scale(.9) translateY(20px); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 18px; right: 20px; background: none; border: none; font-size: 26px; color: #94a89c; cursor: pointer; line-height: 1; }
.modal-icon { width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 20px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; color: var(--green-dark); }
.modal-icon .ic { width: 34px; height: 34px; }
.modal h3 { font-size: 24px; font-weight: 900; margin-bottom: 10px; letter-spacing: -.5px; }
.modal p { color: var(--gray); font-size: 15px; line-height: 1.6; margin-bottom: 26px; }
.modal input { width: 100%; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 15px; font-family: inherit; margin-bottom: 12px; outline: none; transition: border .2s; }
.modal input:focus { border-color: var(--green); }
.modal button.submit { width: 100%; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; border: none; padding: 16px; border-radius: 12px; font-size: 16px; font-weight: 800; font-family: inherit; cursor: pointer; transition: all .25s; }
.modal button.submit:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(22,163,74,.4); }
.modal-note { margin-top: 14px; font-size: 12.5px; color: #94a89c; }

/* PAGE / BLOG SINGLE */
.page-hero { background: var(--green-deep); color: #fff; padding: 70px 6% 60px; text-align: center; }
.page-hero h1 { font-size: clamp(30px,4vw,46px); font-weight: 900; letter-spacing: -1px; color: #fff; margin-bottom: 12px; }
.page-hero .breadcrumbs { font-size: 13.5px; color: #b9d8c4; }
.page-hero .breadcrumbs a { color: #7ee2a8; }
.content-area { max-width: 820px; margin: 0 auto; padding: 70px 6%; }
.content-area h2 { font-size: 28px; font-weight: 800; margin: 32px 0 16px; }
.content-area h3 { font-size: 22px; font-weight: 800; margin: 26px 0 12px; }
.content-area p { font-size: 16.5px; line-height: 1.8; color: #2f3a33; margin-bottom: 18px; }
.content-area ul, .content-area ol { margin: 0 0 18px 22px; }
.content-area li { font-size: 16.5px; line-height: 1.8; color: #2f3a33; margin-bottom: 8px; }
.content-area img { border-radius: 16px; margin: 24px 0; max-width: 100%; height: auto; }
/* Зображення запису: не розтягувати (квадратні теж), обмежити висоту, відцентрувати */
.content-area img.post-thumb { display: block; max-width: 100%; max-height: 420px; width: auto; height: auto; margin: 10px auto 30px; border-radius: 16px; }
.content-area a { color: var(--green-dark); text-decoration: underline; }
/* Кнопки в контенті не повинні виглядати як звичайні посилання */
.content-area a.btn-primary, .content-area a.btn-green, .content-area a.btn-outline-green, .content-area a.price-btn, .content-area a.service-link, .content-area a.btn-outline { text-decoration: none; }
.content-area a.btn-primary { color: var(--green-dark); }
.content-area a.btn-green { color: #fff; }
.content-area a.btn-outline-green { color: var(--ink); }
.post-meta { font-size: 14px; color: #94a89c; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.post-meta .ic { color: var(--green-dark); }

/* Картка контактів філіалу */
.branch-info-card { display: flex; flex-wrap: wrap; gap: 14px 28px; background: var(--green-soft); border-radius: 16px; padding: 22px 26px; margin-bottom: 30px; }
.branch-info-item { display: inline-flex; align-items: center; gap: 9px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.branch-info-item .ic { color: var(--green-dark); width: 20px; height: 20px; }
.branch-info-item a { color: var(--ink); }
.branch-map { border-radius: 16px; overflow: hidden; margin: 30px 0; }
.branch-map iframe { width: 100%; min-height: 340px; border: 0; display: block; }
.branch-cta { background: linear-gradient(135deg, var(--green-soft), #fff); border: 1.5px solid var(--line); border-radius: 20px; padding: 36px; margin-top: 36px; text-align: center; }
.branch-cta h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.branch-cta p { color: var(--gray); margin-bottom: 22px; }
.branch-cta .btn-primary, .btn-green { display: inline-flex; align-items: center; gap: 8px; }

/* Сторінка послуги */
.service-hero-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.service-hero-icon { width: 72px; height: 72px; background: var(--green-soft); border-radius: 18px; display: flex; align-items: center; justify-content: center; color: var(--green-dark); }
.service-hero-icon .ic { width: 38px; height: 38px; }
.service-hero-price { font-size: 17px; color: var(--gray); }
.service-hero-price b { color: var(--ink); font-size: 22px; }

/* Сторінка інструктора */
.instructor-single { display: flex; gap: 30px; align-items: center; background: var(--light); border-radius: 20px; padding: 28px; margin-bottom: 30px; flex-wrap: wrap; }
.instructor-single-photo { width: 200px; height: 240px; border-radius: 16px; background-size: cover; background-position: center top; flex-shrink: 0; }
.instructor-single-info { flex: 1; min-width: 220px; }
.instructor-single-info .instructor-role { font-size: 16px; margin-bottom: 14px; }
.instructor-info-item { display: flex; align-items: center; gap: 9px; font-size: 15px; color: var(--gray); margin-bottom: 8px; }
.instructor-info-item .ic { color: var(--green-dark); }

/* Пагінація */
.pagination, .blog-more .page-numbers { display: inline-flex; }
.blog-more .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.blog-more .page-numbers { padding: 10px 16px; border-radius: 10px; border: 1.5px solid var(--line); color: var(--ink); font-weight: 700; font-size: 14px; transition: all .2s; }
.blog-more a.page-numbers:hover { border-color: var(--green); color: var(--green-dark); }
.blog-more .page-numbers.current { background: var(--green); color: #fff; border-color: var(--green); }

/* 404 */
.nf404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 80px 6%; text-align: center; background: var(--light); }
.nf404-inner { max-width: 640px; }
.nf404-code { font-size: clamp(90px, 18vw, 180px); font-weight: 900; line-height: 1; letter-spacing: -4px; background: linear-gradient(135deg, var(--green), var(--green-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.nf404 h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 900; margin-bottom: 14px; }
.nf404 p { font-size: 17px; color: var(--gray); line-height: 1.7; margin-bottom: 32px; }
.nf404-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.btn-outline-green { border: 1.5px solid var(--line); color: var(--ink); padding: 14px 26px; border-radius: 12px; font-weight: 700; font-size: 15px; transition: all .25s; background: #fff; }
.btn-outline-green:hover { border-color: var(--green); color: var(--green-dark); transform: translateY(-2px); }
.nf404-call { display: inline-flex; align-items: center; gap: 8px; color: var(--green-dark); font-weight: 700; font-size: 15px; }
.nf404-call:hover { color: var(--green); }

/* Про школу */
.about-intro { max-width: 800px; margin: 0 auto 50px; text-align: center; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 1000px; margin: 0 auto; }
.about-stat { background: var(--light); border: 1.5px solid var(--line); border-radius: 18px; padding: 30px 20px; text-align: center; }
.about-stat-num { font-size: 40px; font-weight: 900; color: var(--green-dark); letter-spacing: -1px; }
.about-stat-label { font-size: 14px; color: var(--gray); margin-top: 6px; line-height: 1.4; }

/* Контакти */
.contacts-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contacts-info { display: flex; flex-direction: column; gap: 18px; }
.contact-block { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.contact-block-icon { width: 48px; height: 48px; flex-shrink: 0; background: var(--green-soft); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--green-dark); }
.contact-block-icon .ic { width: 24px; height: 24px; }
.contact-block h3 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.contact-block a, .contact-block span { display: block; color: var(--gray); font-size: 15.5px; font-weight: 600; line-height: 1.7; }
.contact-block a:hover { color: var(--green-dark); }
.contacts-map { border-radius: 18px; overflow: hidden; border: 1.5px solid var(--line); min-height: 420px; }
.contacts-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

@media (max-width: 980px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
  .contacts-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .instructor-single-photo { width: 100%; height: 280px; }
}

/* MOBILE */
@media (max-width: 980px) {
  .services-grid, .reviews-grid, .prices-grid, .steps-grid, .blog-grid, .instructors-grid, .cars-grid { grid-template-columns: 1fr 1fr; }
  .branches-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-6px); }
  .nav-call { display: none; }
}
@media (max-width: 720px) {
  .header-top { font-size: 11.5px; padding: 8px 5%; }
  .header-top .ht-left { display: none; }
  nav.main-nav { padding: 12px 5%; }
  .nav-links { position: fixed; top: 0; right: -100%; width: 78%; max-width: 340px; height: 100vh; background: #fff; flex-direction: column; padding: 90px 36px; gap: 8px; box-shadow: -10px 0 40px rgba(0,0,0,.15); transition: right .35s; z-index: 1100; }
  .nav-links.active { right: 0; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid #f0f0f0; }
  .nav-links a::after { display: none; }
  .burger { display: flex; z-index: 1200; }
  .burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
  .burger.active span:nth-child(2) { opacity: 0; }
  .burger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }
  .nav-cta { display: none; }
  section.block { padding: 64px 6%; }
  .hero { min-height: 86vh; padding: 50px 6% 150px; } /* запас знизу під рухомий рядок */
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .stat-num { font-size: 30px; }
  .services-grid, .reviews-grid, .prices-grid, .steps-grid, .blog-grid, .branches-grid, .footer-grid, .instructors-grid, .cars-grid { grid-template-columns: 1fr; }
  .trust-bar { gap: 18px; }
  .trust-item { font-size: 13.5px; }
  .cta-form button { width: 100%; }
  .float-call { bottom: 18px; right: 18px; padding: 14px 20px; font-size: 14px; }
}
.overlay-mask { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1050; }
.overlay-mask.active { display: block; }

/* ПРОМО-СМУЖКА з таймером */
.promo-bar { display: flex; align-items: center; justify-content: center; gap: 12px; background: linear-gradient(90deg, #0c4a2e, #15803d, #0c4a2e); background-size: 200% 100%; animation: promoShift 8s linear infinite; color: #fff; padding: 10px 44px 10px 5%; font-size: 14px; font-weight: 600; position: relative; flex-wrap: wrap; }
@keyframes promoShift { 0% { background-position: 0 0; } 100% { background-position: 200% 0; } }
.promo-fire { display: inline-flex; color: #ffd34d; }
.promo-fire .ic { width: 17px; height: 17px; }
.promo-timer { display: inline-flex; gap: 6px; font-variant-numeric: tabular-nums; font-weight: 800; }
.promo-timer b { background: rgba(255,255,255,.14); border-radius: 7px; padding: 2px 8px; }
.promo-timer i { font-style: normal; opacity: .65; font-weight: 600; font-size: 12.5px; align-self: center; }
.promo-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: rgba(255,255,255,.6); font-size: 21px; cursor: pointer; line-height: 1; }
.promo-close:hover { color: #fff; }
.promo-bar.hidden { display: none; }
@media (max-width: 760px) {
  .promo-bar { padding: 7px 34px; font-size: 11.5px; gap: 3px 8px; line-height: 1.35; }
  .promo-fire { display: none; }
  .promo-text { display: block; width: 100%; text-align: center; }
  .promo-timer { font-size: 11px; gap: 4px; }
  .promo-timer b { padding: 1px 6px; border-radius: 5px; }
  .promo-timer i { font-size: 10px; }
  .promo-close { right: 7px; font-size: 18px; }
}

/* МОБІЛЬНА ЛИПКА ПАНЕЛЬ */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 950; background: #fff; border-top: 1.5px solid var(--line); box-shadow: 0 -8px 30px rgba(12,74,46,.12); padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); }
  .mb-btn { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 4px; border-radius: 12px; color: var(--ink); font-size: 11.5px; font-weight: 700; }
  .mb-btn .ic { width: 21px; height: 21px; color: var(--green-dark); }
  .mb-btn--accent { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; margin-left: 4px; }
  .mb-btn--accent .ic { color: #fff; }
  body { padding-bottom: 72px; }
  .float-call { display: none; } /* плаваюча кнопка дублює панель на мобільному */
  /* На мобільному Telegram/Viber вже в нижній панелі — лишаємо тільки плаваючий WhatsApp, над банером */
  .float-msg { left: auto; right: 16px; bottom: 88px; gap: 0; }
  .float-msg .fm-telegram, .float-msg .fm-viber { display: none; }
}

/* КАЛЬКУЛЯТОР */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; max-width: 980px; margin: 0 auto; background: var(--light); border: 1.5px solid var(--line); border-radius: 24px; padding: 38px; }
.calc-group { margin-bottom: 28px; }
.calc-group-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--gray); margin-bottom: 12px; }
.calc-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.calc-pill { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 22px; font-family: inherit; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer; transition: all .2s; }
.calc-pill:hover { border-color: var(--green); }
.calc-pill.active { background: linear-gradient(135deg, var(--green), var(--green-dark)); border-color: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(22,163,74,.35); }
.calc-result { background: #fff; border-radius: 18px; padding: 30px; text-align: center; box-shadow: 0 8px 30px rgba(12,74,46,.08); }
.calc-result-name { font-size: 13.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gray); margin-bottom: 8px; }
.calc-result-price { font-size: 48px; font-weight: 900; letter-spacing: -2px; color: var(--ink); transition: transform .2s; }
.calc-result-price.bump { transform: scale(1.07); }
.calc-result-info { font-size: 14px; color: var(--gray); margin: 6px 0 20px; }
.calc-result-split { display: flex; gap: 14px; justify-content: center; margin-bottom: 22px; }
.calc-result-split > div { flex: 1; background: var(--green-soft); border-radius: 12px; padding: 13px 10px; }
.calc-result-split b { display: block; font-size: 17px; color: var(--green-deep); }
.calc-result-split span { font-size: 12px; color: var(--gray); }
.calc-note { margin-top: 14px; font-size: 12.5px; color: #94a89c; line-height: 1.5; }
@media (max-width: 880px) { .calc { grid-template-columns: 1fr; padding: 26px; } }

/* ТЕСТ ПДР */
.quiz-section { background: var(--light); }
.quiz { max-width: 720px; margin: 0 auto; background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 44px; min-height: 420px; }
.quiz-screen { display: none; }
.quiz-screen.active { display: block; animation: heroIn .5s var(--ease-out); }
.quiz-start { text-align: center; }
.quiz-badge { display: inline-flex; align-items: center; gap: 7px; background: var(--green-soft); color: var(--green-deep); font-size: 13px; font-weight: 800; padding: 8px 18px; border-radius: 30px; margin-bottom: 20px; }
.quiz-start h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; letter-spacing: -.5px; margin-bottom: 14px; }
.quiz-start p { color: var(--gray); font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
.quiz-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.quiz-progress-text { font-size: 14px; font-weight: 800; color: var(--gray); white-space: nowrap; }
.quiz-progress-bar { flex: 1; height: 8px; background: var(--green-soft); border-radius: 10px; overflow: hidden; }
.quiz-progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--green-dark)); border-radius: 10px; transition: width .4s var(--ease-out); }
.quiz-question { font-size: 20px; font-weight: 800; line-height: 1.4; margin-bottom: 22px; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.quiz-opt { text-align: left; background: var(--light); border: 1.5px solid var(--line); border-radius: 12px; padding: 15px 18px; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; transition: all .2s; }
.quiz-opt:hover:not(:disabled) { border-color: var(--green); transform: translateX(4px); }
.quiz-opt.correct { background: var(--green-soft); border-color: var(--green); color: var(--green-deep); }
.quiz-opt.wrong { background: #fdecec; border-color: #e25c5c; color: #a33; }
.quiz-opt:disabled { cursor: default; opacity: .85; }
.quiz-opt.correct, .quiz-opt.wrong { opacity: 1; }
.quiz-explain { font-size: 14px; line-height: 1.6; border-radius: 12px; margin-bottom: 16px; }
.quiz-explain.ok, .quiz-explain.bad { padding: 14px 18px; }
.quiz-explain.ok { background: var(--green-soft); color: var(--green-deep); }
.quiz-explain.bad { background: #fdf3ec; color: #8a5a2b; }
.quiz-next { display: inline-flex; align-items: center; gap: 8px; }
.quiz-score { font-size: 70px; font-weight: 900; letter-spacing: -3px; text-align: center; background: linear-gradient(135deg, var(--green), var(--green-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
#quizEnd h2 { text-align: center; font-size: 28px; font-weight: 900; margin: 6px 0 10px; }
#quizEnd > p { text-align: center; color: var(--gray); font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
.quiz-cta { background: var(--light); border-radius: 18px; padding: 28px; text-align: center; }
.quiz-cta h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.quiz-cta p { color: var(--gray); font-size: 14.5px; margin-bottom: 18px; }
.quiz-cta .cta-form input { border: 1.5px solid var(--line); box-shadow: none; }
.quiz-cta .cta-form button { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; }
.quiz-restart { background: none; border: none; color: var(--gray); font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; margin-top: 16px; }
.quiz-restart:hover { color: var(--green-dark); }
@media (max-width: 720px) { .quiz { padding: 26px 20px; } }

/* Сторінка "Дякуємо" */
.thanks-page { min-height: 72vh; display: flex; align-items: center; justify-content: center; padding: 80px 6%; text-align: center; background: var(--light); }
.thanks-inner { max-width: 600px; }
.thanks-icon { width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--green-dark)); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 14px 40px rgba(22,163,74,.4); animation: thanksPop .6s var(--spring); }
.thanks-icon .ic { width: 44px; height: 44px; stroke-width: 2.2; }
@keyframes thanksPop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
.thanks-page h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -1px; margin-bottom: 14px; }
.thanks-page p { font-size: 17px; color: var(--gray); line-height: 1.7; margin-bottom: 26px; }
.thanks-phone { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 20px 26px; margin-bottom: 30px; font-size: 15px; color: var(--gray); line-height: 1.7; }
.thanks-phone a { display: inline-flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 800; color: var(--green-dark); margin-top: 6px; }
.thanks-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Honeypot — приховане поле проти спам-ботів */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Tilt: швидкий transform, повільні тіні (перебиває transition:all карток) */
.service-card.tilt, .car-card.tilt, .blog-card.tilt, .instructor-card.tilt {
  transition: transform .14s ease-out, box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
  will-change: transform;
}
