/* ============================================================
   DJG GROUP — reworked strictly to ui-ux-pro-max spec
   Pattern: Trust & Authority + Conversion
   Style:   Motion-Driven (dark)
   Palette: premium slate (#1E293B/#334155) + action red (#DC2626)
   Type:    Syncopate (display) · Barlow (body) · Space Mono (data)
   ============================================================ */

:root {
  /* slate base (skill palette, dark variant) */
  --bg:        #0b0f16;
  --bg-2:      #0f1521;
  --panel:     #161e2b;   /* ~ slate-800 */
  --panel-2:   #1d2737;
  --line:      #2c3a4e;   /* ~ slate-700 */
  --ink:       #f1f5f9;   /* on-dark text, AA on panels */
  --ink-soft:  #aebaccb3; /* secondary */
  --ink-soft:  #9fb0c4;
  --ink-dim:   #6c7c91;

  /* action red (skill accent/CTA) */
  --accent:    #dc2626;
  --accent-2:  #ef4444;
  --accent-d:  #b91c1c;

  --ok:        #22c55e;
  --danger:    #f87171;

  --maxw: 1240px;
  --r: 4px;
  --r-lg: 10px;
  --shadow: 0 18px 50px -18px rgba(0,0,0,.72);
  --shadow-red: 0 14px 30px -10px rgba(220,38,38,.5);
  /* skill: ease-out enter, spring-ish */
  --ease: cubic-bezier(.16,.84,.3,1);
  --ease-out: cubic-bezier(.22,1,.36,1);
  --t: 220ms;

  --f-disp: "Syncopate", system-ui, sans-serif;
  --f-body: "Barlow", system-ui, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* focus-visible — skill §1 accessibility */
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 3px; }

/* inline icons — skill §4 no-emoji-icons */
.ico { width: 22px; height: 22px; flex: none; stroke: currentColor; stroke-width: 1.8;
  fill: none; stroke-linecap: round; stroke-linejoin: round; display: block; }
.ico-lg { width: 26px; height: 26px; }

/* data figures — tabular mono */
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* signature: red hazard strip */
.hazard {
  height: 6px;
  background: repeating-linear-gradient(45deg,
    var(--accent) 0 22px, #0b0f16 22px 44px);
}

/* ---------- type ---------- */
.kicker {
  font-family: var(--f-mono); font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  font-size: .72rem; color: var(--accent-2);
  display: inline-flex; align-items: center; gap: 9px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.kicker.soft { color: var(--ink-dim); }
.kicker.soft::before { background: var(--ink-dim); }

h1, h2, h3 { font-family: var(--f-disp); font-weight: 700; line-height: 1.04; letter-spacing: -.01em; }
.section-title {
  font-size: clamp(1.7rem, 3.8vw, 3rem);
  text-transform: uppercase; line-height: 1.05;
}
.section-title em { color: var(--accent-2); font-style: normal; }

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,15,22,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  font-family: var(--f-disp); font-weight: 700; font-size: 1.05rem; line-height: 1;
  background: var(--accent); color: #fff; padding: 11px 11px 9px; border-radius: var(--r);
  letter-spacing: .04em; box-shadow: var(--shadow-red);
}
.brand .name { font-family: var(--f-body); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: .9rem; }
.brand .name small { display: block; font-family: var(--f-mono); font-size: .58rem; color: var(--ink-dim); letter-spacing: .18em; margin-top: 2px; }

.menu { display: flex; gap: 30px; align-items: center; }
.menu a {
  font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem;
  color: var(--ink-soft); transition: color var(--t) var(--ease); position: relative;
}
.menu a::after { content: ""; position: absolute; left: 0; bottom: -7px; height: 2px; width: 0;
  background: var(--accent); transition: width var(--t) var(--ease); }
.menu a:hover { color: var(--ink); }
.menu a:hover::after { width: 100%; }

.cta-phone {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent); color: #fff; font-weight: 600; letter-spacing: .03em;
  padding: 11px 18px; border-radius: var(--r); font-size: .9rem;
  transition: transform var(--t) var(--ease), background var(--t), box-shadow var(--t);
}
.cta-phone:hover { transform: translateY(-2px); background: var(--accent-2); box-shadow: var(--shadow-red); }
.cta-phone .ico { width: 18px; height: 18px; }

.burger { display: none; background: none; border: 1px solid var(--line); color: var(--ink);
  width: 46px; height: 46px; border-radius: var(--r); align-items: center; justify-content: center; }
.burger .ico { width: 24px; height: 24px; }

/* ============================================================
   HERO  (Motion-Driven: parallax + staggered entrance)
   ============================================================ */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: -8% 0 0 0; z-index: 0; will-change: transform; }
.hero-bg img,
.hero-bg video {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 116%;
  object-fit: cover;
  filter: grayscale(.35) contrast(1.05) brightness(.92);
}
.hero-bg img  { z-index: 0; transition: opacity .9s; }
.hero-bg video { z-index: 1; }
.hero-bg.vid-playing img { opacity: 0; }
.hero-bg::after { content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(100deg, rgba(11,15,22,.97) 16%, rgba(11,15,22,.62) 56%, rgba(11,15,22,.2) 100%),
    linear-gradient(0deg, var(--bg), transparent 42%); }
.hero .wrap { position: relative; z-index: 1; padding: 60px 24px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 44px; align-items: center; }
.hero-single { max-width: 760px; }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 4;
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .18em; font-size: .6rem; color: var(--ink-soft); }
.hero-scroll .ico { width: 18px; height: 18px; animation: scroll-bob 1.8s ease-in-out infinite; }
@keyframes scroll-bob { 0%,100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(5px); opacity: 1; } }

.hero h1 { font-size: clamp(2rem, 5.2vw, 4.4rem); text-transform: uppercase; margin: 22px 0 26px; letter-spacing: -.02em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line span { display: block; animation: rise .85s var(--ease-out) both; }
.hero h1 .line:nth-child(2) span { animation-delay: .1s; }
.hero h1 .line:nth-child(3) span { animation-delay: .2s; }
.hero h1 .y { color: var(--accent-2); }
@keyframes rise { from { transform: translateY(108%); } to { transform: translateY(0); } }

.hero p.lead { color: var(--ink-soft); font-size: 1.1rem; max-width: 48ch; margin-bottom: 30px;
  animation: fade .8s .36s var(--ease-out) both; }
@keyframes fade { from { opacity: 0; transform: translateY(14px);} to {opacity:1;transform:none;} }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fade .8s .5s var(--ease-out) both; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; border: none;
  font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .92rem;
  padding: 15px 26px; border-radius: var(--r);
  transition: transform var(--t) var(--ease), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
}
.btn .ico { width: 19px; height: 19px; }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-red); background: var(--accent-2); }
.btn-ghost { background: rgba(255,255,255,.02); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; transform: translateY(-3px); }

.hero-card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); animation: fade .8s .58s var(--ease-out) both; }
.hero-card h4 { font-family: var(--f-mono); font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  font-size: .7rem; color: var(--ink-dim); margin-bottom: 20px; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 14px; }
.stat .n { font-family: var(--f-disp); font-weight: 700; font-size: 1.7rem; color: var(--accent-2); line-height: 1; }
.stat .l { font-size: .82rem; color: var(--ink-soft); margin-top: 7px; }

/* ============================================================
   SECTIONS
   ============================================================ */
.pad { padding: clamp(68px, 9vw, 124px) 0; }
.bg-2 { background: var(--bg-2); }

.head-block { max-width: 760px; margin-bottom: 54px; }
.head-block .section-title { margin-top: 16px; }
.head-block p { color: var(--ink-soft); margin-top: 18px; font-size: 1.06rem; }

/* scroll reveal — skill Motion-Driven (Intersection Observer) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.about-grid > div p { color: var(--ink-soft); }
.about-media { position: relative; }
.about-media img { width: 100%; min-height: 430px; object-fit: cover; border-radius: var(--r-lg); aspect-ratio: 4/3; }
.about-media .badge { position: absolute; left: -18px; bottom: -18px; background: var(--accent); color: #fff;
  padding: 16px 20px; border-radius: var(--r-lg); box-shadow: var(--shadow-red); }
.about-media .badge b { display: block; font-family: var(--f-disp); font-weight: 700; font-size: 1.4rem; letter-spacing: .04em; }
.about-media .badge span { display: block; font-family: var(--f-mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; opacity: .9; }

.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.about-tags span { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; color: var(--ink-soft);
  background: var(--panel); border: 1px solid var(--line); border-radius: 100px; padding: 9px 16px; }
.about-tags span:hover { border-color: var(--accent); color: var(--ink); }

.facts { list-style: none; margin-top: 28px; display: grid; gap: 1px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; background: var(--panel); font-size: .94rem; }
.facts li span:first-child { color: var(--ink-dim); font-family: var(--f-mono); letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; align-self: center; }
.facts li span:last-child { color: var(--ink); font-weight: 600; text-align: right; }

/* ---------- SERVICES ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line);
  min-height: 360px; display: flex; align-items: flex-end; isolation: isolate; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .6s var(--ease-out); filter: grayscale(.3) brightness(.92); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(8,11,17,.97) 6%, rgba(8,11,17,.55) 52%, rgba(8,11,17,.12) 100%); }
.svc:hover img { transform: scale(1.06); }
.svc .body { padding: 28px; }
.svc .tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; font-size: .62rem; color: #fff; background: var(--accent); padding: 5px 11px; border-radius: 100px; margin-bottom: 14px; }
.svc.main .tag { background: var(--panel-2); border: 1px solid var(--accent); color: var(--accent-2); }
.svc h3 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 10px; letter-spacing: -.01em; }
.svc p { color: var(--ink-soft); font-size: .96rem; max-width: 42ch; }

.svc-mini { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 22px; }
.svc-mini .m { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease); }
.svc-mini .m:hover { border-color: var(--accent); transform: translateY(-3px); }
.svc-mini .m .ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r);
  background: rgba(220,38,38,.1); color: var(--accent-2); border: 1px solid rgba(220,38,38,.28); }
.svc-mini .m .ic .ico { width: 22px; height: 22px; }
.svc-mini .m h4 { font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 1.04rem; margin: 16px 0 6px; }
.svc-mini .m p { color: var(--ink-soft); font-size: .9rem; }

/* ---------- BRANDS / specialization strip ---------- */
.brands { margin-top: 30px; padding: 22px 26px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); display: flex; align-items: center; gap: 22px 30px; flex-wrap: wrap; }
.brands-label, .brands-note { font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .64rem; color: var(--ink-dim); }
.brands-note { margin-left: auto; }
.brands-list { list-style: none; display: flex; gap: 12px 26px; flex-wrap: wrap; }
.brands-list li { font-family: var(--f-disp); font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
  font-size: 1.05rem; color: var(--ink); position: relative; padding-left: 18px; }
.brands-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px;
  transform: translateY(-50%) rotate(45deg); background: var(--accent); }

/* ---------- WHY (numbered) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.why { padding: 34px 26px; border-right: 1px solid var(--line); background: var(--panel); transition: background var(--t) var(--ease); }
.why:last-child { border-right: none; }
.why:hover { background: var(--panel-2); }
.why .no { font-family: var(--f-disp); font-weight: 700; font-size: 1.9rem; color: var(--line); line-height: 1; transition: color var(--t); }
.why:hover .no { color: var(--accent-2); }
.why h4 { font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: 1.08rem; margin: 18px 0 8px; }
.why p { color: var(--ink-soft); font-size: .92rem; }

/* ---------- FLEET / DLA FIRM ---------- */
.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fleet { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease); }
.fleet:hover { border-color: var(--accent); transform: translateY(-3px); }
.fleet .ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r);
  background: rgba(220,38,38,.1); color: var(--accent-2); border: 1px solid rgba(220,38,38,.28); }
.fleet .ic .ico { width: 24px; height: 24px; }
.fleet h4 { font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: 1.05rem; margin: 18px 0 8px; }
.fleet p { color: var(--ink-soft); font-size: .92rem; }

/* ---------- MARKI ---------- */
.marki-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.brand-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease); }
.brand-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.brand-card .bn { font-family: var(--f-disp); font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
  font-size: 1.3rem; color: var(--ink); }
.brand-card .bn::before { content: ""; display: block; width: 34px; height: 3px; background: var(--accent); margin-bottom: 14px; }
.brand-card p { color: var(--ink-soft); font-size: .9rem; margin-top: 10px; }

/* ---------- PORADNIK / TIPS ---------- */
.tips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tip { display: flex; gap: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px;
  transition: border-color var(--t) var(--ease); }
.tip:hover { border-color: var(--accent); }
.tip .ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: var(--r);
  background: rgba(220,38,38,.1); color: var(--accent-2); border: 1px solid rgba(220,38,38,.28); }
.tip .ic .ico { width: 24px; height: 24px; }
.tip h4 { font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: 1.02rem; margin-bottom: 8px; }
.tip p { color: var(--ink-soft); font-size: .92rem; }
.tips-note { margin-top: 22px; font-size: .82rem; color: var(--ink-dim); font-style: italic; max-width: 80ch; }

/* ---------- FAQ (native details/summary) ---------- */
.faq { max-width: 860px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); background: var(--panel); }
.faq details:last-child { border-bottom: none; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-family: var(--f-disp); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em;
  font-size: .96rem; color: var(--ink); transition: color var(--t) var(--ease), background var(--t); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-2); }
.faq summary .ico { width: 20px; height: 20px; flex: none; color: var(--accent-2); transition: transform var(--t) var(--ease); }
.faq details[open] summary { color: var(--accent-2); background: var(--panel-2); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { color: var(--ink-soft); font-size: .96rem; padding: 0 24px 22px; max-width: 70ch; }

/* ---------- STRIP ---------- */
.strip { position: relative; padding: clamp(78px,11vw,140px) 0; overflow: hidden; }
.strip-bg { position: absolute; inset: 0; z-index: 0; }
.strip-bg img,
.strip-bg video {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.55) brightness(.34);
}
.strip-bg img   { z-index: 0; transition: opacity .9s; }
.strip-bg video { z-index: 1; }
.strip-bg.vid-playing img { opacity: 0; }
.strip-bg::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(11,15,22,.92), rgba(11,15,22,.5)); }
.strip .wrap { position: relative; z-index: 1; }
.strip blockquote { font-family: var(--f-disp); font-weight: 700; font-size: clamp(1.4rem,3.4vw,2.6rem);
  line-height: 1.16; text-transform: uppercase; max-width: 20ch; margin-top: 18px; letter-spacing: -.01em; }
.strip blockquote .y { color: var(--accent-2); }
.strip cite { display: block; margin-top: 22px; font-style: normal; color: var(--ink-soft);
  font-family: var(--f-mono); letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; }

/* ---------- CONTACT / FORM ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.contact-info .line { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-info .line:first-of-type { border-top: 1px solid var(--line); }
.contact-info .ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); color: var(--accent-2); }
.contact-info .k { font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; color: var(--ink-dim); }
.contact-info .v { font-size: 1.04rem; font-weight: 600; margin-top: 2px; }
.contact-info .v a { transition: color var(--t); }
.contact-info .v a:hover { color: var(--accent-2); }

.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .08em;
  font-size: .68rem; color: var(--ink-soft); margin-bottom: 9px; }
.field label .req { color: var(--accent-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink);
  font-family: var(--f-body); font-size: 1rem; padding: 13px 15px; border-radius: var(--r);
  transition: border-color var(--t), box-shadow var(--t); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(220,38,38,.18); }
.field textarea { resize: vertical; min-height: 112px; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field .err-text { color: var(--danger); font-size: .8rem; margin-top: 7px; display: none; }
.field.invalid .err-text { display: block; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-card .btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.form-note { font-size: .78rem; color: var(--ink-dim); margin-top: 14px; text-align: center; }
.consent { display: flex; gap: 11px; align-items: flex-start; }
.consent input { width: auto; min-height: auto; margin-top: 5px; accent-color: var(--accent); }
.consent label { text-transform: none; letter-spacing: 0; font-family: var(--f-body); font-size: .84rem; color: var(--ink-soft); margin: 0; }
.consent a { color: var(--accent-2); text-decoration: underline; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: var(--r); font-size: .9rem; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.4); color: var(--ok); }
.form-msg.err { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.42); color: var(--danger); }

.map-wrap { margin-top: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.map-wrap iframe { width: 100%; height: 260px; border: 0; display: block; filter: grayscale(.45) invert(.92) hue-rotate(180deg) brightness(.95); }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: #070a0f; border-top: 1px solid var(--line); padding-top: 64px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 44px; padding-bottom: 50px; }
.foot-about p { color: var(--ink-soft); font-size: .94rem; margin-top: 18px; max-width: 38ch; }
.foot-col h5 { font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--ink); margin-bottom: 18px; }
.foot-col ul { list-style: none; display: grid; gap: 11px; }
.foot-col a { color: var(--ink-soft); font-size: .94rem; transition: color var(--t); }
.foot-col a:hover { color: var(--accent-2); }
.foot-legal { font-size: .9rem; color: var(--ink-soft); display: grid; gap: 6px; }
.foot-legal b { color: var(--ink); font-weight: 600; }
.foot-legal .mono { color: var(--ink-soft); }
.foot-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--ink-dim); }
.foot-bottom a { color: var(--ink-soft); }
.foot-bottom a:hover { color: var(--accent-2); }

/* ---------- cookie banner ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 720px; margin: 0 auto;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--shadow);
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  transform: translateY(160%); transition: transform .5s var(--ease-out); }
.cookie.show { transform: none; }
.cookie p { font-size: .88rem; color: var(--ink-soft); flex: 1 1 320px; }
.cookie p a { color: var(--accent-2); text-decoration: underline; }
.cookie .btn { padding: 10px 18px; font-size: .8rem; }
.cookie .btn-ghost { background: transparent; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-hero { padding: 70px 0 40px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.legal-hero h1 { font-size: clamp(1.7rem,4.4vw,2.8rem); text-transform: uppercase; margin-top: 14px; letter-spacing: -.01em; }
.legal-hero p { color: var(--ink-soft); margin-top: 14px; font-family: var(--f-mono); font-size: .82rem; }
.legal-body { padding: 56px 0 90px; }
.legal-body .wrap { max-width: 860px; }
.legal-body h2 { font-family: var(--f-disp); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em;
  font-size: 1.1rem; margin: 40px 0 14px; color: var(--accent-2); line-height: 1.3; }
.legal-body h3 { font-weight: 600; font-size: 1.05rem; margin: 22px 0 8px; }
.legal-body p, .legal-body li { color: var(--ink-soft); margin-bottom: 12px; max-width: 72ch; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin-bottom: 14px; }
.legal-body li { margin-bottom: 8px; }
.legal-body strong { color: var(--ink); }
.legal-body a { color: var(--accent-2); text-decoration: underline; }
.legal-body .toc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 26px; margin-bottom: 30px; }
.legal-body .toc h4 { font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--ink-dim); margin-bottom: 12px; }
.legal-body .toc ol { columns: 2; column-gap: 30px; margin-bottom: 0; }
.legal-body .toc a { color: var(--ink-soft); text-decoration: none; }
.legal-body .toc a:hover { color: var(--accent-2); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); text-transform: uppercase;
  letter-spacing: .08em; font-size: .76rem; color: var(--ink-soft); margin-top: 18px; }
.back-link:hover { color: var(--accent-2); }
.back-link .ico { width: 16px; height: 16px; }

/* ============================================================
   RESPONSIVE — skill breakpoints 375 / 768 / 1024 / 1440
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid, .foot-grid { grid-template-columns: 1fr; }
  .services, .why-grid, .marki-grid { grid-template-columns: 1fr 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .why { border-right: none; border-bottom: 1px solid var(--line); }
  .why:nth-child(odd) { border-right: 1px solid var(--line); }
  .hero-card { max-width: 480px; }
  .about-media .badge { left: 16px; bottom: 16px; }
}
@media (max-width: 760px) {
  .menu { display: none; }
  .burger { display: inline-flex; }
  .menu.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 18px; }
  .menu.open a { font-size: 1rem; }
  .nav .cta-phone { display: none; }
  .services, .why-grid, .svc-mini, .fleet-grid, .marki-grid, .two, .stat-row { grid-template-columns: 1fr; }
  .why:nth-child(odd) { border-right: none; }
  .legal-body .toc ol { columns: 1; }
  .hero .wrap { padding-top: 40px; }
}

/* ============================================================
   MOTION ENHANCEMENTS
   ============================================================ */

/* --- Page curtain reveal --- */
.curtain {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  pointer-events: none;
  animation: curtain-up .72s .05s var(--ease-out) forwards;
}
@keyframes curtain-up { to { transform: translateY(-100%); } }
@media (prefers-reduced-motion: reduce) { .curtain { display: none !important; } }

/* --- Scroll progress bar --- */
.scroll-prog {
  position: fixed; top: 0; left: 0; z-index: 51;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent-d), var(--accent-2));
  pointer-events: none;
  box-shadow: 0 0 12px rgba(220,38,38,.7);
  transition: width .05s linear;
}

/* --- Header entrance --- */
header { animation: hdr-in .55s .08s var(--ease-out) both; }
@keyframes hdr-in { from { transform: translateY(-100%); } to { transform: none; } }

/* --- Kicker line grow --- */
.kicker::before { animation: line-grow .5s .3s var(--ease-out) both; }
@keyframes line-grow { from { width: 0; } to { width: 26px; } }

/* --- DJG mark hover pulse --- */
.brand .mark { transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease); }
.brand .mark:hover {
  transform: rotate(-2deg) scale(1.06);
  box-shadow: 0 0 28px rgba(220,38,38,.9), var(--shadow-red);
}

/* --- Hero card shimmer sweep --- */
.hero-card { position: relative; overflow: hidden; }
.hero-card::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(108deg,
    transparent 30%, rgba(255,255,255,.07) 50%, transparent 70%);
  background-size: 240% 100%;
  background-position: 220% center;
  animation: card-shimmer 4s 1.6s ease-in-out infinite;
}
@keyframes card-shimmer {
  from { background-position: 220% center; }
  to   { background-position: -220% center; }
}

/* --- Floating KRS badge --- */
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.about-media .badge { animation: badge-float 4.5s 1s ease-in-out infinite; }

/* --- Why-grid: number glow on hover --- */
.why:hover .no { text-shadow: 0 0 22px rgba(220,38,38,.45); }

/* --- Scan-line texture overlay on hero --- */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent, transparent 2px,
    rgba(0,0,0,.028) 2px, rgba(0,0,0,.028) 4px
  );
}

/* --- Service card image zoom-in on load --- */
.svc.in img { animation: svc-zoom .9s var(--ease-out) both; }
@keyframes svc-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* --- stagger for why-grid reveal --- */
.why:nth-child(2).in  { transition-delay: .08s; }
.why:nth-child(3).in  { transition-delay: .16s; }
.why:nth-child(4).in  { transition-delay: .24s; }

/* ============================================================
   DEPTH SYSTEM — lift cards off the flat surface
   ============================================================ */

/* Gradient background + top edge glow on all content cards */
.brand-card,
.fleet,
.tip,
.svc-mini .m {
  background: linear-gradient(158deg, var(--panel-2) 0%, var(--panel) 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.055) inset,
    0 4px 6px rgba(0,0,0,.22),
    0 10px 28px rgba(0,0,0,.42);
  border-top-color: rgba(255,255,255,.07);
}

/* Hover: red glow + deeper lift */
.brand-card:hover,
.fleet:hover,
.svc-mini .m:hover {
  border-color: rgba(220,38,38,.5);
  box-shadow:
    0 0 0 1px rgba(220,38,38,.32),
    0 6px 12px rgba(0,0,0,.3),
    0 16px 44px rgba(0,0,0,.52),
    0 0 32px rgba(220,38,38,.12);
  transform: translateY(-5px);
}
.tip:hover {
  border-color: rgba(220,38,38,.5);
  box-shadow:
    0 0 0 1px rgba(220,38,38,.28),
    0 4px 6px rgba(0,0,0,.22),
    0 10px 28px rgba(0,0,0,.42),
    0 0 24px rgba(220,38,38,.1);
}

/* Why grid depth */
.why {
  background: linear-gradient(180deg, rgba(29,39,55,.85) 0%, var(--panel) 100%);
  border-top: 1px solid rgba(255,255,255,.05);
}

/* Service photo cards */
.svc {
  box-shadow:
    0 8px 24px rgba(0,0,0,.5),
    0 2px 6px rgba(0,0,0,.3);
}

/* Form card depth */
.form-card {
  box-shadow:
    0 1px 0 rgba(255,255,255,.055) inset,
    0 20px 60px rgba(0,0,0,.55),
    0 4px 12px rgba(0,0,0,.3);
}

/* About media image depth */
.about-media img {
  box-shadow: 0 24px 64px rgba(0,0,0,.6), 0 4px 12px rgba(0,0,0,.4);
}

/* ---- Brand logo wrappers (marki section) ---- */
.brand-logo-wrap {
  height: 48px;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(255,255,255,.28);
  transition: color var(--t) var(--ease);
}
.brand-logo-wrap .brand-icon {
  height: 34px;
  width: auto;
  max-width: 100%;
}
.brand-logo-wrap img.brand-icon {
  opacity: .25;
  transition: opacity var(--t) var(--ease);
}
.brand-logo-wrap .audi-icon {
  height: 22px;
}
.brand-card:hover .brand-logo-wrap {
  color: var(--accent-2);
}
.brand-card:hover .brand-logo-wrap img.brand-icon {
  opacity: .85;
}

/* ---- Distributor badges (Inter Cars / Auto Partner) ---- */
.dist-row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.dist-badge {
  font-family: var(--f-mono);
  font-size: .58rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 5px 11px;
  border: 1px solid rgba(220,38,38,.38);
  border-radius: var(--r);
  color: var(--accent-2);
  font-weight: 700;
  background: rgba(220,38,38,.06);
}

@media (max-width: 760px) {
  .marki-media { height: 200px; }
}

/* ---- Section background images (with-bg / sec-bg pattern) ---- */
.with-bg {
  position: relative;
  overflow: hidden;
}
.with-bg .wrap {
  position: relative;
  z-index: 1;
}
.sec-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.sec-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.7) brightness(.22) contrast(1.1);
}
.sec-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(11,15,22,.91);
}
.with-bg .section-title,
.with-bg h2 {
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
