@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --black:      #0A0A0A;
  --dark:       #1A1A1A;
  --mid:        #4A4A4A;
  --muted:      #8A8A8A;
  --border:     #E4E4E0;
  --surface:    #F5F5F3;
  --surface-2:  #EBEBEA;
  --white:      #FFFFFF;
  --blue:       #2A6EBB;
  --blue-light: #EBF2FA;
  --steps-bg:   #F0F0EE;
  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --max-w:      1200px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: var(--black); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── NAVBAR — always dark ── */
nav {
  background: rgba(15, 20, 40, 0.96);
  backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 8%; height: 72px;
  position: sticky; top: 0; z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; cursor: pointer; }
.nav-logo-img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.nav-dla-firm {
  font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,0.18);
}
.nav-links { display: none; }

.nav-btn {
  background: rgba(255,255,255,0.15); color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35); border-radius: 999px;
  padding: 11px 24px; font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: var(--font);
  backdrop-filter: blur(4px);
  transition: background .2s, border-color .2s, transform .15s;
}
.nav-btn:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.55); transform: translateY(-1px); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all .25s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu { display: none; flex-direction: column; background: rgba(15,20,40,0.98); position: sticky; top: 72px; z-index: 190; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 16px 24px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.75); border-bottom: 1px solid rgba(255,255,255,0.07); }
.mobile-menu a:hover { color: #fff; background: rgba(255,255,255,0.04); }
.mobile-nav-btn { margin: 16px 24px 20px; width: calc(100% - 48px); }

/* ── SLIDER ── */
.slider-wrap { position: relative; overflow: hidden; background: var(--black); }
.slide { display: none; position: relative; min-height: 90vh; flex-direction: column; justify-content: flex-end; padding: 80px 8% 100px; }
.slide.active { display: flex; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); transition: transform 7s ease; }
.slide.active .slide-bg { transform: scale(1); }
.slide-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.38) 55%, rgba(0,0,0,0.08) 100%); }
.slide-content { position: relative; z-index: 3; max-width: var(--max-w); margin: 0 auto; width: 100%; }

/* eyebrow — 12px, with backdrop for readability */
.slide-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.slide h1 { font-weight: 800; font-size: clamp(2.4rem, 5.5vw, 4.4rem); line-height: 1.05; color: #fff; max-width: 760px; letter-spacing: -0.03em; }
.slide-sub { font-size: clamp(15px, 1.4vw, 17px); color: rgba(255,255,255,0.55); margin-top: 20px; max-width: 500px; line-height: 1.75; font-weight: 400; }

/* slide-btn — bigger, solid white on all slides */
.slide-btn {
  display: inline-flex; align-items: center;
  margin-top: 36px;
  background: var(--white); color: var(--black);
  font-weight: 700; padding: 16px 32px; border-radius: 999px;
  font-size: 15px; border: none; cursor: pointer; font-family: var(--font);
  transition: background .2s, transform .2s;
}
.slide-btn:hover { background: var(--surface); transform: translateY(-1px); }

/* dots aligned under content */
.slider-dots { position: absolute; bottom: 36px; left: 8%; display: flex; gap: 6px; z-index: 10; align-items: center; }
.sldot { width: 5px; height: 5px; border-radius: 50%; background: transparent; border: none; cursor: pointer; transition: all .3s; padding: 0; }
.sldot.on { background: transparent; width: 20px; border-radius: 3px; }

/* arrows — more transparent */
.sl-arr { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.65); width: 48px; height: 48px; border-radius: 50%; font-size: 17px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; font-weight: 400; transition: background .2s, color .2s; }
.sl-arr:hover { background: rgba(255,255,255,0.22); color: #fff; }
.sl-prev { left: 24px; }
.sl-next { right: 24px; }

/* ── STATS ── */
.statbar { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--border); }
.statitem { padding: 36px 28px; border-right: 1px solid var(--border); text-align: center; }
.statitem:last-child { border-right: none; }
.statnum { font-weight: 800; font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--black); line-height: 1; letter-spacing: -0.04em; }
.statlbl { font-size: 12px; color: var(--muted); margin-top: 6px; font-weight: 500; }

/* ── SECTIONS ── */
.sec { padding: 100px 0; }
.sec-white { background: var(--surface); }
.sec-steps { background: var(--steps-bg); }

.eyebrow {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mid);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 18px;
}
.eyebrow-light {
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}
.heading-muted { color: var(--muted); }
.sec-h { font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.08; color: var(--black); letter-spacing: -0.025em; margin-top: 4px; }
.sec-h-light { color: var(--white); }
.sec-lead { font-size: clamp(15px, 1.3vw, 17px); color: var(--muted); line-height: 1.78; margin-top: 18px; max-width: 620px; font-weight: 400; }

/* ── CHECK LIST (legacy) ── */
.check-list { margin-top: 32px; max-width: 560px; }
.check-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--dark); line-height: 1.6; align-items: flex-start; font-weight: 500; }
.check-list li:last-child { border-bottom: none; }
.chk { width: 22px; height: 22px; min-width: 22px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.chk svg { width: 10px; height: 10px; }

/* ── OFERTA GRID ── */
.oferta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.oferta-left .eyebrow { margin-bottom: 16px; }
.oferta-right {
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.oferta-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.oferta-item:first-child { border-top: 1px solid var(--border); }
.oferta-item-header {
  display: flex; align-items: flex-start; gap: 14px;
}
.oferta-num {
  font-size: 11px; font-weight: 600; color: var(--blue);
  min-width: 20px; padding-top: 2px; flex-shrink: 0;
}
.oferta-title {
  font-size: 17px; font-weight: 600; color: var(--black); line-height: 1.4;
}
.oferta-desc {
  font-size: 16px; color: var(--muted); line-height: 1.7;
  margin-top: 8px; margin-left: 34px;
}
.oferta-photo {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 340px;
}
.oferta-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  display: block;
}

/* ── OFERTA responsive ── */
@media (max-width: 1024px) {
  .oferta-grid { grid-template-columns: 1fr; gap: 36px; }
  .oferta-right { padding-top: 0; }
}
@media (max-width: 768px) {
  .oferta-photo { height: 220px; }
}

/* ── WHY GRID — old-style separated cards with hover ── */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 48px; }
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.why-card:hover { border-color: var(--blue); transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.why-icon { width: 52px; height: 52px; background: var(--blue-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.why-icon svg { width: 24px; height: 24px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-card h3 { font-weight: 700; font-size: 16px; color: var(--black); margin-bottom: 10px; letter-spacing: -0.01em; }
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.65; font-weight: 400; }

/* ── STEPS ── */
.sec-steps { background: var(--white); }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: center;
  gap: 0; margin-top: 48px;
}
.step-arrow {
  display: flex; align-items: center; justify-content: center;
}
.step-arrow svg {
  width: 20px; height: 20px;
  stroke: #8a9ab5; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.step-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 380px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.step-photo {
  position: absolute; inset: 0;
  background-size: 105%;
  background-position: center;
  transition: transform .6s ease;
}
/* карточка 2 и 3 — крупнее */
.step-item:nth-child(3) .step-photo,
.step-item:nth-child(5) .step-photo {
  background-size: 145%;
}
.step-item:hover .step-photo { transform: scale(1.04); }
.step-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(6,12,28,0.28) 0%,
    rgba(6,12,28,0.12) 30%,
    rgba(6,12,28,0.60) 60%,
    rgba(6,12,28,0.95) 100%);
}
.step-num {
  position: absolute; top: 14px; right: 18px;
  font-size: 72px; font-weight: 700; color: rgba(255,255,255,0.32);
  line-height: 1; letter-spacing: -0.03em;
  z-index: 3; user-select: none;
}
.step-top { display: none; }
.step-bottom {
  position: relative; z-index: 3;
  padding: 0 22px 26px;
}
.step-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
}
.step-title {
  font-size: 20px; font-weight: 700; color: #fff;
  margin-bottom: 8px; line-height: 1.2;
}
.step-bottom p {
  font-size: 15px; color: rgba(255,255,255,0.65);
  line-height: 1.65; font-weight: 300;
}

/* ── MAP ── */
.map-section { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: stretch; }
.city-list { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.city-list li { list-style: none; }

.city-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 15px; font-weight: 500; color: var(--muted);
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.city-pill:hover {
  background: var(--blue-light);
  border-color: #b5d4f4;
  color: #185FA5;
  transform: translateY(-2px);
}
.city-pill--soon { opacity: 0.45; cursor: default; pointer-events: none; }
.city-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--surface-2); color: var(--muted);
  border-radius: 999px; padding: 2px 6px;
  border: 1px solid var(--border); margin-left: 6px;
}
.map-img-wrap { display: flex; align-items: stretch; }
.map-img { width: 100%; object-fit: contain; display: block; }

/* ── FORM ── */
.form-dark { background: var(--black); padding: 100px 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.form-lead { font-size: 16px; color: rgba(255,255,255,0.45); line-height: 1.75; margin-top: 18px; }
.why-list { margin-top: 32px; display: flex; flex-direction: column; }
.why-list li { font-size: 14px; color: rgba(255,255,255,0.55); padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.07); display: flex; gap: 12px; align-items: center; }
.wli { width: 6px; height: 6px; min-width: 6px; border-radius: 50%; background: var(--blue); }
.form-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 36px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 7px; }
input, select, textarea { width: 100%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 13px 16px; font-size: 14px; color: #fff; font-family: var(--font); outline: none; transition: border .2s, background .2s; -webkit-appearance: none; }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.22); }
input:focus, select:focus, textarea:focus { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.1); }
select option { background: #1a1a1a; color: #fff; }
textarea { resize: vertical; min-height: 100px; }
.sbtn { width: 100%; background: var(--white); color: var(--black); font-weight: 700; font-size: 15px; padding: 15px; border: none; border-radius: 999px; cursor: pointer; font-family: var(--font); margin-top: 8px; transition: background .2s, transform .15s; }
.sbtn:hover { background: var(--surface); transform: translateY(-1px); }
.fnote { font-size: 11px; color: rgba(255,255,255,0.2); text-align: center; margin-top: 12px; }

/* ── PARTNERS MARQUEE — colorful, big logos ── */
.clients-sec { padding: 80px 0; overflow: hidden; }
.clients-sec .container { margin-bottom: 40px; }
.marquee-wrap { position: relative; overflow: hidden; }
.marquee-wrap::before, .marquee-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(to left, var(--white), transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { padding: 0 48px; flex-shrink: 0; display: flex; align-items: center; }
.partner-img { height: 150px; width: 150px; object-fit: contain; filter: none; opacity: 1; transition: transform .3s, opacity .3s; }
.partner-img:hover { transform: scale(1.08); opacity: 0.85; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── REVIEWS ── */
/* ── GALLERY ── */
.gallery-sec { padding: 100px 0; background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

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

/* ── REVIEWS ── */
.reviews-sec { padding: 100px 0; background: var(--surface); }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 48px; }
.rcard {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px 24px 24px;
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.rcard:hover { border-color: var(--border); transform: translateY(-2px); }
.rtag {
  display: inline-block;
  font-size: 10px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  background: var(--blue-light); color: #185FA5;
  border-radius: 999px; padding: 3px 10px;
  margin-bottom: 20px; align-self: flex-start;
}
.rtext {
  font-size: 14px; line-height: 1.75;
  color: var(--mid);
  font-weight: 300;
  flex: 1; margin-bottom: 24px;
}
.rdivider { width: 24px; height: 2px; background: var(--blue); margin-bottom: 14px; border-radius: 2px; }
.rname { font-size: 13px; font-weight: 700; color: var(--black); }
.rrole { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ── FAQ ── */
.faq-sec { padding: 100px 0; background: var(--white); }
.faq-sec .container { max-width: 820px; }
.faq-sec .sec-h { margin-bottom: 48px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 22px 0; font-size: 15px; font-weight: 600; color: var(--black); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--font); transition: color .2s; gap: 16px; letter-spacing: -0.01em; }
.faq-q:hover { color: var(--blue); }
.faq-icon { width: 28px; height: 28px; min-width: 28px; border: 1.5px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .25s; }
.faq-icon svg { width: 14px; height: 14px; transition: transform .25s; }
.faq-q.open .faq-icon { background: var(--black); border-color: var(--black); }
.faq-q.open .faq-icon svg { stroke: #fff; transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .3s; }
.faq-a.open { max-height: 400px; padding-bottom: 20px; }
.faq-a p { font-size: 14px; color: var(--muted); line-height: 1.75; }
.faq-cta-btn {
  background: var(--dark); color: var(--white);
  border: none; border-radius: 999px;
  padding: 14px 36px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: var(--font);
  transition: background .2s, transform .15s;
}
.faq-cta-btn:hover { background: var(--black); transform: translateY(-1px); }

/* ── FOOTER ── */
footer { background: var(--surface); padding: 56px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.flogo { height: 26px; width: auto; margin-bottom: 14px; }
.fbrand p { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 200px; }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.fsoc { width: 32px; height: 32px; border-radius: 50%; background: var(--dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s; }
.fsoc:hover { background: var(--black); }
.fcol h4 { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--black); margin-bottom: 16px; }
.fcol a { display: block; font-size: 14px; color: var(--mid); margin-bottom: 10px; transition: color .2s; }
.fcol a:hover { color: var(--black); }
.fcol-addr .addr-item { margin-bottom: 10px; }
.fcol-addr .addr-item a { margin-bottom: 0; font-size: 14px; color: var(--mid); }
.addr-city { font-size: 13px; font-weight: 400; color: var(--black); }
.addr-zip { font-size: 13px; color: var(--mid); }

.footer-btm { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; flex-wrap: wrap; gap: 10px; }
.footer-btm p { font-size: 12px; color: var(--muted); }
.footer-btm a { color: var(--muted); transition: color .2s; }
.footer-btm a:hover { color: var(--black); }

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--dark);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s cubic-bezier(0.34,1.56,0.64,1), background .2s, box-shadow .2s;
  z-index: 500;
}
.scroll-top.visible {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--black);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}
.scroll-top svg {
  width: 18px; height: 18px;
  stroke: #fff;
}
/* ── FOOTER inner override — same width as nav ── */
footer .container { max-width: none; padding: 0 8%; }

/* ── TABLET ≤1024px ── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  footer .container { padding: 0 5%; }
  nav { padding: 0 8%; }
  .slide { padding: 64px 32px 80px; }
  .slider-dots { left: 32px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .map-section { grid-template-columns: 1fr; gap: 48px; }
  .form-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ── MOBILE ≤768px ── */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  footer .container { padding: 0 5%; }
  nav { padding: 0 5%; height: 62px; }
  .nav-links { display: none; }
  .nav-btn { display: none; }
  .nav-hamburger { display: flex; }
  .nav-dla-firm { display: none; }

  .slide { min-height: 80vh; padding: 48px 5% 88px; }
  .sl-arr { display: none; }
  .slider-dots { bottom: 28px; left: 5%; }

  .statbar { grid-template-columns: 1fr 1fr; }
  .statitem:nth-child(2) { border-right: none; }
  .statitem:nth-child(3) { border-top: 1px solid var(--border); border-right: 1px solid var(--border); }
  .statitem:nth-child(4) { border-top: 1px solid var(--border); }
  .statitem { padding: 24px 16px; }

  .sec { padding: 64px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 14px; }
  .steps-grid { grid-template-columns: 1fr; gap: 10px; }
  .step-arrow { display: none; }
  .reviews-grid { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; }
  .form-box { padding: 24px 18px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-btm { flex-direction: column; align-items: flex-start; gap: 6px; }
  .city-list { grid-template-columns: 1fr 1fr; }
  .marquee-item { padding: 0 28px; }
  .partner-img { height: 100px; width: 100px; }
}

/* ── SMALL ≤480px ── */
@media (max-width: 480px) {
  .slide h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .slide-sub { font-size: 14px; }
  .statnum { font-size: 1.8rem; }
  .city-list { grid-template-columns: 1fr; }
  .partner-img { height: 80px; width: 80px; }
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 48px); max-width: 860px;
  background: var(--dark); color: var(--white);
  border-radius: var(--radius-lg); padding: 24px 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.28);
  z-index: 9000; opacity: 1; transition: opacity .3s;
}
.cookie-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 220px; }
.cookie-text strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.cookie-text p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn { border: none; border-radius: 999px; padding: 10px 20px; font-size: 13px; font-weight: 600; cursor: pointer; transition: opacity .2s; white-space: nowrap; }
.cookie-btn:hover { opacity: 0.85; }
.cookie-btn-settings { background: rgba(255,255,255,0.12); color: var(--white); }
.cookie-btn-reject { background: rgba(255,255,255,0.18); color: var(--white); }
.cookie-btn-accept { background: var(--white); color: var(--dark); }

/* ── COOKIE MODAL ── */
.cookie-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 9100; padding: 24px;
}
.cookie-modal-box {
  background: var(--white); border-radius: var(--radius-xl);
  width: 100%; max-width: 520px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.2);
}
.cookie-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px 0;
}
.cookie-modal-header h3 { font-size: 18px; font-weight: 700; color: var(--black); }
.cookie-modal-close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--muted); line-height: 1; }
.cookie-modal-body { padding: 20px 28px; display: flex; flex-direction: column; gap: 16px; }
.cookie-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px; background: var(--surface); border-radius: var(--radius);
}
.cookie-row strong { font-size: 14px; font-weight: 600; color: var(--black); display: block; margin-bottom: 4px; }
.cookie-row p { font-size: 12px; color: var(--muted); line-height: 1.4; }
.cookie-toggle-on { font-size: 11px; font-weight: 600; color: var(--blue); white-space: nowrap; }
.cookie-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-slider {
  position: absolute; inset: 0; background: var(--border);
  border-radius: 999px; cursor: pointer; transition: background .2s;
}
.cookie-slider::before {
  content: ''; position: absolute;
  width: 18px; height: 18px; left: 3px; top: 3px;
  background: var(--white); border-radius: 50%; transition: transform .2s;
}
.cookie-toggle input:checked + .cookie-slider { background: var(--blue); }
.cookie-toggle input:checked + .cookie-slider::before { transform: translateX(20px); }
.cookie-modal-footer {
  display: flex; gap: 10px; justify-content: flex-end;
  padding: 0 28px 24px;
}
.cookie-modal-footer .cookie-btn-reject { background: var(--surface); color: var(--dark); }
.cookie-modal-footer .cookie-btn-accept { background: var(--dark); color: var(--white); }

@media (max-width: 600px) {
  .cookie-banner { bottom: 16px; padding: 20px; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}
