/* ===== TOKENS ===== */
:root {
  --bg:          #050d1a;
  --bg-2:        #0a1628;
  --surface:     #0f1f3d;
  --surface-2:   #162540;
  --accent:      #f5a623;
  --accent-dark: #d4891a;
  --text:        #e8edf7;
  --text-muted:  #6b86a8;
  --border:      rgba(255,255,255,.07);

  --font-display: 'Exo 2', sans-serif;
  --font-body:    'Inter', sans-serif;

  --r:    16px;
  --r-lg: 24px;
  --r-sm: 10px;
  --t:    0.22s ease;

  --shadow: 0 8px 40px rgba(0,0,0,.4);
  --shadow-accent: 0 4px 24px rgba(245,166,35,.25);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 60px);
  --section-pad: clamp(64px, 8vw, 120px);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--t);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.05);
}
.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--text-muted);
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,13,26,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
.header.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,.5);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon { display: flex; align-items: center; }
.logo-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text);
}
.logo-text strong {
  color: var(--accent);
  font-weight: 800;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

/* ===== SERVICES SUBNAV ===== */
.services-subnav {
  border-top: 1px solid var(--border);
  background: rgba(5,13,26,.96);
}
.services-subnav-inner {
  display: flex;
  align-items: stretch;
  height: 38px;
  overflow-x: auto;
  scrollbar-width: none;
}
.services-subnav-inner::-webkit-scrollbar { display: none; }
.subnav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  border-right: 1px solid var(--border);
  transition: color var(--t), background var(--t);
  flex-shrink: 0;
}
.subnav-link:first-child { border-left: 1px solid var(--border); }
.subnav-link svg { opacity: .7; flex-shrink: 0; }
.subnav-link:hover { color: var(--accent); background: rgba(245,166,35,.06); }
.subnav-link:hover svg { opacity: 1; }
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t);
}
.header-nav a:hover { color: var(--text); }
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.header-phone {
  padding: 9px 18px;
  font-size: 14px;
  flex-shrink: 0;
}

/* ===== LANG SWITCHER ===== */
.lang-switcher {
  display: flex;
  gap: 2px;
}
.lang-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--t);
  font-family: var(--font-body);
}
.lang-btn:hover { color: var(--text); border-color: rgba(255,255,255,.2); }
.lang-btn.active { background: var(--accent); color: #000; border-color: var(--accent); }

/* ===== CONTACT FORM ===== */
.contact-form-wrap {
  max-width: 720px;
  margin: 48px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px;
}
.contact-form-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color var(--t);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form select option { background: var(--bg-2); }
.contact-form textarea { resize: vertical; }
.form-status { font-size: 14px; margin-top: 4px; min-height: 20px; }
.form-status.success { color: #4ade80; }
.form-status.error { color: #f87171; }

.mobile-lang {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
}
.header-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 8px;
}
.header-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t);
}
.header-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-burger.open span:nth-child(2) { opacity: 0; }
.header-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 20px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s ease, opacity .3s ease;
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: all var(--t);
}
.mobile-nav-link:hover {
  color: var(--text);
  background: var(--surface);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-block: clamp(80px, 10vh, 140px);
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background-color: #0a1628;
  background-image:
    linear-gradient(135deg, rgba(5,13,26,.55) 0%, rgba(5,13,26,.15) 50%, rgba(5,13,26,.7) 100%),
    var(--hero-img, url('../uploads/hero/hero.jpg'));
  background-size: cover;
  background-position: center 35%;
  animation: heroKenBurns 24s ease-in-out infinite alternate;
  will-change: transform;
}

/* Sub-page (service) hero — 70vh, breadcrumb above title, slightly smaller type */
.hero--svc { min-height: 70vh; }
.hero--svc .hero-text { max-width: 600px; }
.hero--svc .hero-title {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 22px;
}
.hero--svc .hero-sub { margin-bottom: 36px; }
.hero--svc .hero-actions { margin-bottom: 0; }
.hero--svc .breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px;
  color: rgba(232,237,245,.7);
  margin-bottom: 22px;
  opacity: 0; animation: heroFadeUp .7s ease-out .1s forwards;
}
.hero--svc .breadcrumb a {
  color: rgba(232,237,245,.7); text-decoration: none;
  transition: color .15s;
}
.hero--svc .breadcrumb a:hover { color: var(--accent); }
.hero--svc .breadcrumb strong { color: #fff; font-weight: 600; }
.hero--svc .breadcrumb span { color: rgba(232,237,245,.4); }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 110% 80% at 50% 50%, transparent 0%, rgba(5,13,26,.6) 85%),
    linear-gradient(90deg, rgba(5,13,26,.92) 0%, rgba(5,13,26,.55) 45%, rgba(5,13,26,.2) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Override .container centering for hero — pin content to viewport-left dark zone */
.hero-content.container {
  position: relative; z-index: 2;
  max-width: none;
  margin: 0;
  padding-left: clamp(24px, 6vw, 96px);
  padding-right: clamp(24px, 4vw, 48px);
}
.hero-text { max-width: 540px; }

.hero-eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  position: relative; padding-left: 40px;
  opacity: 0; animation: heroFadeUp .8s ease-out .2s forwards;
}
.hero-eyebrow::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 28px; height: 1px; background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 800; line-height: 1.05; letter-spacing: -.015em;
  margin-bottom: 28px; color: #fff;
  opacity: 0; animation: heroFadeUp .9s ease-out .35s forwards;
}

.hero-sub {
  font-size: clamp(15px, 1.35vw, 18px); line-height: 1.7;
  color: rgba(232,237,245,.78);
  max-width: 480px; margin-bottom: 44px;
  opacity: 0; animation: heroFadeUp .9s ease-out .5s forwards;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: clamp(56px, 9vh, 96px);
  opacity: 0; animation: heroFadeUp .9s ease-out .65s forwards;
}

.hero-cta-primary {
  background: var(--accent); color: #050d1a;
  padding: 16px 28px; border-radius: 4px;
  font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; font-size: 13px;
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 6px 24px rgba(245,166,35,.18);
}
.hero-cta-primary:hover {
  background: #f8b94d;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(245,166,35,.32);
}
.hero-cta-primary span { transition: transform .2s; display: inline-block; }
.hero-cta-primary:hover span { transform: translateX(4px); }

.hero-cta-secondary {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  padding: 16px 32px; border-radius: 4px;
  font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; font-size: 13px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.hero-cta-secondary:hover {
  border-color: var(--accent);
  background: rgba(245,166,35,.08);
}

.hero-stats {
  display: flex; gap: clamp(28px, 4vw, 64px);
  list-style: none; padding: 0; margin: 0;
  opacity: 0; animation: heroFadeUp .9s ease-out .8s forwards;
}
.hero-stat {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  max-width: 140px;
}
.hero-stat-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85);
}
.hero-stat-icon svg { width: 20px; height: 20px; }
.hero-stat-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(232,237,245,.7); line-height: 1.4;
}

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2; text-decoration: none;
  opacity: 0; animation: heroFadeUp 1s ease-out 1.1s forwards;
}
.hero-scroll-mouse {
  width: 22px; height: 34px;
  border: 1.5px solid rgba(255,255,255,.45);
  border-radius: 12px;
  position: relative; display: block;
}
.hero-scroll-dot {
  position: absolute; top: 6px; left: 50%;
  width: 3px; height: 6px;
  background: rgba(255,255,255,.85);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: heroScrollBounce 1.6s ease-in-out infinite;
}
.hero-scroll-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(232,237,245,.55);
}

@keyframes heroKenBurns {
  0%   { transform: scale(1)    translate(0,0); }
  100% { transform: scale(1.08) translate(-1.5%, -1%); }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translate(-50%, 0); opacity: .85; }
  50%      { transform: translate(-50%, 10px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero-scroll-dot,
  .hero-eyebrow, .hero-title, .hero-sub, .hero-actions, .hero-stats, .hero-scroll {
    animation: none;
  }
  .hero-eyebrow, .hero-title, .hero-sub, .hero-actions, .hero-stats, .hero-scroll {
    opacity: 1; transform: none;
  }
  .hero-scroll { transform: translateX(-50%); }
}

/* ===== SERVICES ===== */
.services {
  padding-block: var(--section-pad);
  background: var(--bg-2);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-decoration: none;
  color: inherit;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245,166,35,.07) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,166,35,.4);
  box-shadow: 0 20px 48px rgba(0,0,0,.5), 0 0 0 1px rgba(245,166,35,.07);
}
.service-card:hover::after { opacity: 1; }
.service-card--wide { grid-column: span 1; }

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 4px;
}
.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(245,166,35,.1);
  border: 1px solid rgba(245,166,35,.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: background .25s, box-shadow .25s;
  flex-shrink: 0;
}
.service-card:hover .service-icon {
  background: rgba(245,166,35,.18);
  box-shadow: 0 0 24px rgba(245,166,35,.2);
}
.service-icon svg { width: 28px; height: 28px; }
.service-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .25s, transform .25s, color .25s, border-color .25s;
  flex-shrink: 0;
}
.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent);
  border-color: rgba(245,166,35,.4);
}
.service-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  transition: color .2s;
}
.service-card:hover .service-title { color: #fff; }
.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.service-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(245,166,35,.07);
  border: 1px solid rgba(245,166,35,.15);
  color: rgba(245,166,35,.85);
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ===== WHY ===== */
.why {
  padding-block: var(--section-pad);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.why-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: center;
}
.why-num {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.why-label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}
.why-desc {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}
.why-desc strong { color: var(--text); }

/* ===== CONTACT ===== */
.contact {
  padding-block: var(--section-pad);
  background: var(--bg-2);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(245,166,35,.1);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.contact-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  transition: color var(--t);
}
.contact-link:hover { color: var(--accent-dark); }
.contact-cta {
  display: flex;
  justify-content: center;
}
.contact-card--whatsapp .contact-icon { background: rgba(37,211,102,.12); color: #25d366; }
.contact-hours-sos {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 4px;
}

.contact-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.contact-map {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 280px;
}
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 280px; }
.contact-requisites {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
}
.contact-requisites-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}
.requisites-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  flex: 1;
}
.req-item { display: flex; flex-direction: column; gap: 3px; }
.req-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
}
.req-value { font-size: 13px; font-weight: 500; line-height: 1.4; }
.req-bank-name { color: var(--text-muted); font-size: 12px; }

@media (max-width: 768px) {
  .contact-bottom { grid-template-columns: 1fr; }
  .contact-map { min-height: 220px; }
  .contact-map iframe { min-height: 220px; }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 760px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  z-index: 9998;
  box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(245,166,35,.08);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .25s ease, transform .25s ease;
}
.cookie-banner-show { opacity: 1; transform: translateY(0); }
.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  min-width: 240px;
}
.cookie-banner-text a {
  color: var(--accent);
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  transition: color var(--t), border-color var(--t), background var(--t);
}
.cookie-btn:hover { color: var(--text); border-color: var(--text-muted); }
.cookie-btn-accept {
  background: var(--accent);
  color: #050d1a;
  border-color: var(--accent);
}
.cookie-btn-accept:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #050d1a;
}
@media (max-width: 600px) {
  .cookie-banner { left: 8px; right: 8px; padding: 14px 16px; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; }
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 24px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}
.footer-logo strong {
  color: var(--accent);
  font-weight: 800;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--text);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-phone { display: none; }
  .header-burger { display: flex; margin-left: auto; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: span 1; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; }
  .hero-actions .hero-cta-primary,
  .hero-actions .hero-cta-secondary { width: 100%; justify-content: center; text-align: center; }
  .hero-stats { flex-direction: column; gap: 18px; }
  .hero-stat { flex-direction: row; align-items: center; gap: 14px; max-width: none; }
  .hero-scroll { display: none; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}

/* ===== SERVICE PAGES ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--t); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }
.breadcrumb strong { color: var(--text); font-weight: 500; }

.page-hero {
  padding-block: clamp(48px, 6vw, 80px);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero-desc {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: 32px;
}
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.about-section { padding-block: var(--section-pad); }
.about-grid {
  max-width: 880px;
  margin-inline: auto;
}
.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  margin-bottom: 16px;
}
.about-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 36px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.svc-products { padding-block: var(--section-pad); background: var(--bg-2); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(245,166,35,.2); }
.product-img {
  aspect-ratio: 4/3;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img-placeholder {
  width: 60px; height: 60px; opacity: .2;
  color: var(--text);
}
.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-desc {
  font-size: 13px; color: var(--text-muted); line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; line-clamp: 3;
  overflow: hidden;
}
.product-more {
  display: none;
  align-self: flex-start;
  color: var(--accent); font-size: 13px; font-weight: 600;
  margin-bottom: 14px; cursor: pointer; line-height: 1.2;
  background: none; border: none; padding: 0; font-family: inherit;
}
.product-more::after { content: ' →'; }
.product-more:hover { text-decoration: underline; }
.product-card.is-clamped .product-more { display: inline-block; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.product-price { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--accent); }
.product-price span { font-size: 13px; font-weight: 400; color: var(--text-muted); }
.btn-add { padding: 9px 16px; font-size: 13px; }

.products-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 15px;
}
.products-view-all {
  text-align: center;
  margin-top: 32px;
}

.cta-strip {
  padding-block: clamp(48px, 6vw, 80px);
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-strip p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 500px;
  margin-inline: auto;
}
.cta-strip-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 768px) {
  .feature-list { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero-actions { flex-direction: column; }
  .page-hero-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ===== SHOP ===== */
.page-hero--sm { padding-block: clamp(28px, 4vw, 52px); }
.page-hero--sm .page-hero-title { font-size: clamp(24px, 4vw, 40px); margin-top: 8px; }

.shop-section { padding-block: clamp(40px, 5vw, 72px); }
.shop-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.shop-subfilter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  transition: all var(--t);
}
.filter-btn:hover { border-color: var(--accent); color: var(--text); }
.filter-btn.active { background: var(--accent); color: #050d1a; border-color: var(--accent); font-weight: 700; }
.filter-btn--sub { padding: 5px 13px; font-size: 13px; border-radius: 6px; }

.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; margin-bottom: 24px;
}
.shop-count { color: var(--text-muted); font-size: 14px; }
.shop-vat {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 14px;
  cursor: pointer; user-select: none;
  margin-left: auto;
}
.shop-vat input {
  accent-color: var(--accent);
  width: 16px; height: 16px;
  cursor: pointer;
}
.shop-sort {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: 14px;
}
.shop-sort select {
  padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer;
  font-family: var(--font-body); font-size: 14px;
}
.shop-sort select:focus { outline: none; border-color: var(--accent); }

/* ===== HEADER CART ICON ===== */
.header-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
}
.cart-count {
  background: var(--accent);
  color: #050d1a;
  font-size: 11px;
  font-weight: 800;
  border-radius: 20px;
  padding: 1px 6px;
  min-width: 18px;
  text-align: center;
}

/* ===== CART PAGE ===== */
.cart-section { padding-block: clamp(40px, 5vw, 72px); }
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}
.cart-item-name { font-family: var(--font-display); font-weight: 600; flex: 1; min-width: 160px; }
.cart-item-controls { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t);
}
.qty-btn:hover { background: var(--surface-2); }
.qty-val { min-width: 24px; text-align: center; font-weight: 700; }
.cart-item-price { font-family: var(--font-display); font-weight: 700; color: var(--accent); min-width: 70px; text-align: right; }
.remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 0 4px;
  transition: color var(--t);
}
.remove-btn:hover { color: #ff6b6b; }
.cart-empty-msg { color: var(--text-muted); padding: 40px 0; font-size: 16px; }

.cart-sidebar {
  background: var(--surface);
  border-radius: var(--r);
  padding: 24px;
  position: sticky;
  top: 90px;
}
.cart-total-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.cart-total-box strong { color: var(--accent); font-size: 24px; }

.order-form { display: flex; flex-direction: column; gap: 12px; }
.form-textarea { resize: vertical; min-height: 80px; font-family: var(--font-body); }
.form-msg { font-size: 14px; margin-top: 8px; }
.form-msg--ok { color: #4caf7d; }
.form-msg--err { color: #ff6b6b; }

@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-sidebar { position: static; }
}

/* ─── Service page carousel ─── */
.svc-carousel { padding: 64px 0; background: var(--bg-2); }
.svc-car-head { text-align: center; margin-bottom: 36px; }
.car-label {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.car-title {
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px);
  font-weight: 800; color: var(--text); margin: 0;
}
.carousel-outer { position: relative; }
.carousel-outer::before,
.carousel-outer::after {
  content: ''; position: absolute; top: 0; width: 60px; height: 100%;
  z-index: 3; pointer-events: none;
}
.carousel-outer::before { left: 0;  background: linear-gradient(to right, var(--bg-2), transparent); }
.carousel-outer::after  { right: 0; background: linear-gradient(to left,  var(--bg-2), transparent); }
.carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 16px 0;
}
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-viewport.dragging { cursor: grabbing; }
.carousel-track {
  display: flex; gap: 20px; width: max-content;
}
.car-card {
  width: 260px; flex-shrink: 0; background: var(--surface);
  border-radius: 12px; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  user-select: none;
  position: relative;
}
.car-card:hover,
.car-card.touch-active {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 0 2px var(--accent), 0 24px 48px -8px rgba(245,166,35,.32);
  z-index: 2;
}
.car-card-img {
  width: 100%; height: 180px; object-fit: cover;
  display: block; background: var(--surface-2);
  -webkit-user-drag: none; pointer-events: none;
}
.car-card-placeholder {
  width: 100%; height: 180px; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 36px;
}
.car-card-body { padding: 16px; }
.car-card-name {
  font-weight: 600; font-size: 14px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; color: var(--text); margin-bottom: 8px;
  min-height: 2.8em;
}
.car-card-price {
  color: var(--accent); font-weight: 700;
  font-size: 1.1rem; margin-bottom: 12px;
}
.car-card-btn {
  width: 100%; padding: 8px 0; font-size: .85rem; border-radius: 8px;
  background: var(--accent); color: #050d1a; font-weight: 700;
  border: none; cursor: pointer; transition: background .2s;
  font-family: var(--font-body);
}
.car-card-btn:hover { background: var(--accent-dark); }
.svc-car-footer { text-align: center; margin-top: 28px; }

/* ── Required-field marker ── */
.form-input.required {
  box-shadow: inset 3px 0 0 var(--accent);
}
.form-legend {
  display: block; margin-top: 4px; margin-bottom: 12px;
  font-size: 12px; color: var(--text-muted, #8a9ab5);
}
.form-legend::before {
  content: '* '; color: var(--accent); font-weight: 700;
}

/* ── Customer type toggle (cart B2C/B2B) ── */
.customer-type-toggle {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border, #1e2d45); border-radius: 8px;
  overflow: hidden; margin-bottom: 12px;
}
.customer-type-toggle input { display: none; }
.customer-type-toggle label {
  padding: 11px 10px; text-align: center; cursor: pointer;
  font-size: 14px; color: var(--text-muted, #8a9ab5);
  background: transparent;
  transition: background .15s, color .15s;
  user-select: none;
}
.customer-type-toggle label:hover { color: var(--text, #e8edf5); }
.customer-type-toggle input:checked + label {
  background: var(--accent); color: #050d1a; font-weight: 700;
}
.b2b-fields { display: none; }
.b2b-fields.active { display: block; margin-bottom: 4px; }
.b2b-fields .form-input { margin-bottom: 8px; }

/* ── Product modal ── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.85);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: flex-start; justify-content: center;
  z-index: 1000; padding: 24px 16px; overflow-y: auto;
}
.modal-box {
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  width: 100%; max-width: 860px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 28px;
  position: relative; margin: auto;
}
.modal-close {
  position: absolute; top: 10px; right: 12px;
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%; width: 32px; height: 32px;
  font-size: 18px; cursor: pointer;
  color: var(--text); line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s;
}
.modal-close:hover { background: var(--accent); color: #050d1a; border-color: var(--accent); }
.modal-gallery { display: flex; flex-direction: column; gap: 10px; }
.modal-main-img {
  width: 100%; max-height: 380px; object-fit: contain;
  border-radius: 8px; background: var(--bg);
}
.modal-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.modal-thumb {
  width: 58px; height: 58px; object-fit: cover; border-radius: 6px;
  cursor: pointer; opacity: .55; border: 2px solid transparent;
  transition: opacity .15s, border-color .15s;
}
.modal-thumb.active, .modal-thumb:hover { opacity: 1; border-color: var(--accent); }
.modal-info { display: flex; flex-direction: column; gap: 12px; }
.modal-name { font-size: 20px; font-weight: 700; margin: 0; }
.modal-price { font-size: 26px; font-weight: 800; color: var(--accent); }
.modal-desc {
  color: var(--text-muted); font-size: 14px; line-height: 1.65;
  overflow-y: auto; max-height: 240px;
}
.modal-desc p { margin: 0 0 8px; }
.modal-add-btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 640px) {
  .modal-box { grid-template-columns: 1fr; padding: 20px; }
}

/* Clickable product card */
.product-card { cursor: pointer; }
.product-card:hover .product-img img { transform: scale(1.04); }

/* ── Pre-order / out-of-stock badges ── */
.product-stock-badge {
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px 12px; margin-bottom: 12px;
  background: rgba(245,166,35,.10);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
}
.product-stock-badge strong {
  font-size: 12px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: .03em;
}
.product-stock-badge span {
  font-size: 12px; color: var(--text-muted);
}
.product-card.is-pre-order .product-img::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(5,13,26,.18); pointer-events: none;
}
.product-card.is-pre-order .product-img { position: relative; }

/* Carousel pre-order badge — corner sticker */
.car-card { position: relative; }
.car-stock-badge {
  position: absolute; top: 8px; left: 8px;
  padding: 3px 9px; border-radius: 12px;
  background: var(--accent); color: #050d1a;
  font-size: 10px; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase;
  z-index: 2; pointer-events: none;
}

/* Modal stock indicator */
.modal-stock {
  padding: 10px 14px; border-radius: 8px;
  background: rgba(245,166,35,.10);
  border-left: 3px solid var(--accent);
  font-size: 14px; color: var(--text);
  margin-bottom: 4px;
}
.modal-stock strong {
  color: var(--accent); margin-right: 4px;
  text-transform: uppercase; letter-spacing: .03em;
  font-size: 12px;
}

/* ── Admin gallery grid ── */
.gallery-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; min-height: 0; }
.gallery-thumb-wrap { position: relative; }
.gallery-thumb-wrap img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; display: block; }
.gallery-thumb-del {
  position: absolute; top: -4px; right: -4px;
  background: #e53; color: #fff; border: none; border-radius: 50%;
  width: 18px; height: 18px; font-size: 11px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
