/* =========================================================
   auto motiv GmbH — Design System
   ========================================================= */

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-var-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #faf9f6;
  --paper: #ffffff;
  --ink: #141414;
  --ink-2: #4b4842;
  --muted: #8b8780;
  --line: rgba(20, 20, 20, 0.1);
  --line-2: rgba(20, 20, 20, 0.06);
  --red: #d0202e;
  --red-dark: #a5131e;
  --red-soft: rgba(208, 32, 46, 0.08);
  --dark: #16130f;
  --dark-2: #211d18;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 20, 0.05), 0 4px 16px rgba(20, 20, 20, 0.05);
  --shadow-md: 0 8px 30px rgba(20, 20, 20, 0.09);
  --shadow-lg: 0 24px 70px rgba(20, 20, 20, 0.16);
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(16px, 1.02vw, 17px);
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }

::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 9vw, 132px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--dark { background: var(--dark); color: #f3f1ec; }
.section--paper { background: var(--paper); }

.stack > * + * { margin-top: 1rem; }

/* ---------- Typography ---------- */
.display {
  font-size: clamp(2.6rem, 7.2vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0;
}

.h1 { font-size: clamp(2.1rem, 4.8vw, 3.7rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; margin: 0; }
.h2 { font-size: clamp(1.75rem, 3.6vw, 2.9rem); line-height: 1.05; letter-spacing: -0.028em; font-weight: 700; margin: 0; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; margin: 0; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.28rem); color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--muted); }
.accent { color: var(--red); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}
.eyebrow--plain::before { display: none; }

.section-head { max-width: 720px; }
.section-head .lead { margin-top: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.6em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.25s ease, box-shadow 0.35s var(--ease), color 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--red { --btn-bg: var(--red); }
.btn--red:hover { --btn-bg: var(--red-dark); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover { --btn-bg: rgba(20,20,20,0.04); border-color: rgba(20,20,20,0.28); box-shadow: none; }

.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--onDark { --btn-bg: transparent; --btn-fg: #f3f1ec; border: 1.5px solid rgba(255,255,255,0.28); box-shadow: none; }
.btn--onDark:hover { --btn-bg: rgba(255,255,255,0.1); box-shadow: none; }

.btn--sm { padding: 0.7em 1.2em; font-size: 0.9rem; }
.btn--block { width: 100%; }

.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  color: var(--red);
  border-bottom: 1.5px solid transparent;
  transition: gap 0.3s var(--ease), border-color 0.3s ease;
}
.link-arrow:hover { gap: 0.85em; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.header.is-scrolled {
  background: rgba(250, 249, 246, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line-2);
  box-shadow: 0 1px 0 rgba(20,20,20,0.03);
}
.header .brand { display: flex; align-items: center; margin-right: auto; }
.header .brand img { height: 40px; width: auto; transition: transform 0.4s var(--ease); }
.header .brand:hover img { transform: scale(1.03); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--ink-2);
  transition: color 0.25s ease, background 0.25s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.header__cta { display: flex; align-items: center; gap: 12px; margin-left: 8px; }
.header__phone { font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px; }
.header__phone svg { width: 16px; height: 16px; color: var(--red); }

.burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: 6px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s ease;
}
.burger[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); }
.burger[aria-expanded="true"] span { background: #fff; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--dark);
  color: #f3f1ec;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer a.drawer__link {
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.drawer a.drawer__link .idx { font-size: 0.85rem; color: var(--red); font-weight: 600; }
.drawer__meta { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; color: rgba(243,241,236,0.72); font-size: 0.95rem; }
.drawer__meta a { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(40px, 6vw, 72px);
  color: #fff;
  overflow: hidden;
  background: var(--dark);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: scale(1.06);
  animation: heroZoom 16s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,13,10,0.62) 0%, rgba(15,13,10,0.28) 38%, rgba(15,13,10,0.86) 100%),
    linear-gradient(90deg, rgba(15,13,10,0.7) 0%, rgba(15,13,10,0.1) 60%);
}
.hero .container { position: relative; z-index: 1; width: 100%; }
.hero__content { max-width: 860px; }
.hero__title { color: #fff; text-wrap: balance; }
.hero__title .line { display: block; overflow: hidden; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,0.2); }
.hero__sub { margin-top: 22px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: rgba(255,255,255,0.82); max-width: 54ch; }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.16);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.hero__fact .k { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; }
.hero__fact .l { font-size: 0.82rem; color: rgba(255,255,255,0.66); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }

.hero__scroll {
  position: absolute;
  right: var(--gutter); bottom: 28px; z-index: 2;
  writing-mode: vertical-rl;
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; gap: 12px;
}
.hero__scroll::after { content: ""; width: 1px; height: 46px; background: rgba(255,255,255,0.4); }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  padding: 14px 0;
  border-block: 1px solid rgba(0,0,0,0.08);
}
.ticker__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 26px;
  padding-inline: 26px;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__item::after { content: "●"; font-size: 0.5rem; opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line); }

/* Car card */
.car { display: flex; flex-direction: column; }
.car__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #ebe8e2; }
.car__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.car:hover .car__media img { transform: scale(1.06); }
.car__tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(20,20,20,0.82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.car__badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--red); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.car__body { padding: 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.car__name { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.car__meta { color: var(--muted); font-size: 0.9rem; }
.car__specs { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 500;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(20,20,20,0.045);
  color: var(--ink-2);
  border: 1px solid var(--line-2);
}
.car__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Service / feature card */
.feature {
  padding: clamp(24px, 3vw, 34px);
  display: flex; flex-direction: column; gap: 14px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line-2);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line); }
.feature__num {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--red);
}
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--red-soft); color: var(--red);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature p { margin: 0; color: var(--ink-2); }
.feature ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.feature li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 0.95rem; }
.feature li svg { width: 17px; height: 17px; color: var(--red); flex: none; margin-top: 3px; }

/* ---------- Split media ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.split__media--tall img { aspect-ratio: 3 / 3.6; }
.media-float {
  position: absolute;
  left: 18px; bottom: 18px;
  background: rgba(250,249,246,0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-md);
}
.media-float .big { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.media-float .small { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 32px); }
.stat {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--paper);
}
.stat .num { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stat .num .accent { color: var(--red); }
.stat .label { margin-top: 12px; color: var(--ink-2); font-size: 0.95rem; }
.section--dark .stat { background: var(--dark-2); border-color: rgba(255,255,255,0.08); }
.section--dark .stat .label { color: rgba(243,241,236,0.7); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 26px); counter-reset: step; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--line); }
.step::before {
  content: "";
  position: absolute; top: -2px; left: 0; width: 46px; height: 2px; background: var(--red);
}
.step .idx { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; color: var(--red); }
.step h3 { margin: 10px 0 8px; }
.step p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq__item {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq__item.is-open { border-color: var(--line); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%;
  text-align: left;
  padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em;
}
.faq__q .plus { position: relative; width: 20px; height: 20px; flex: none; }
.faq__q .plus::before, .faq__q .plus::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--red);
  transform: translate(-50%, -50%); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.3s ease;
}
.faq__q .plus::before { width: 14px; height: 2px; }
.faq__q .plus::after { width: 2px; height: 14px; }
.faq__item.is-open .plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 22px 22px; color: var(--ink-2); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: clamp(20px, 3vw, 34px);
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  padding: clamp(38px, 6vw, 78px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}
.cta-band__media { position: absolute; inset: 0; z-index: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(15,13,10,0.92), rgba(15,13,10,0.55));
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .lead { color: rgba(255,255,255,0.82); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.info-list { display: grid; gap: 4px; }
.info {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
}
.info__icon {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--red-soft); color: var(--red);
}
.info__icon svg { width: 20px; height: 20px; }
.info__label { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.info__value { font-weight: 500; }
.info__value a:hover { color: var(--red); }

.form { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 0.86rem; font-weight: 600; letter-spacing: -0.005em; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  font-size: 0.97rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 4px var(--red-soft);
}
.form__note { font-size: 0.82rem; color: var(--muted); margin: 14px 0 0; }
.form__status { margin-top: 14px; font-size: 0.9rem; font-weight: 600; color: #15803d; display: none; }
.form__status.show { display: block; }

/* ---------- Map / location ---------- */
.map-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); margin-top: 40px;
}
.map-wrap img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.map-pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
  background: var(--red); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.9rem; box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.map-pin::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: var(--red); border-radius: 2px;
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px));
  padding-bottom: clamp(36px, 5vw, 64px);
  background: var(--bg);
  border-bottom: 1px solid var(--line-2);
}
.page-hero--dark { background: var(--dark); color: #fff; border-bottom: 0; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 0.84rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--red); }
.page-hero--dark .breadcrumb { color: rgba(255,255,255,0.6); }
.page-hero--dark .lead { color: rgba(255,255,255,0.8); }

/* ---------- Legal ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 2.2em 0 0.7em; letter-spacing: -0.02em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; display: grid; gap: 8px; }
.legal a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.legal__card { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(243,241,236,0.72); padding-top: clamp(56px, 7vw, 88px); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand img { height: 46px; width: auto; filter: brightness(0) invert(1) opacity(0.95); margin-bottom: 18px; }
.footer__brand p { max-width: 34ch; margin: 0; }
.footer h4 { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; margin: 0 0 18px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a:hover { color: #fff; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding-block: 26px;
  font-size: 0.86rem;
}
.footer__bottom .links { display: flex; gap: 20px; flex-wrap: wrap; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s, background 0.25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }
.to-top svg { width: 18px; height: 18px; }

/* WhatsApp floating */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px;
  border-radius: var(--radius-pill);
  background: #22c55e; color: #fff; font-weight: 600; font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s var(--ease), background 0.25s;
}
.wa-float svg { width: 20px; height: 20px; }
.wa-float:hover { transform: translateY(-3px); background: #16a34a; }
.to-top { right: 22px; }
.wa-float { bottom: 84px; }

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.4rem; }
.mt-4 { margin-top: 3.4rem; }
.hide { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: inline-flex; }
  .header__phone span { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__actions { justify-content: flex-start; }
  .hero__facts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__scroll { display: none; }
  .to-top { right: 16px; bottom: 16px; }
  .wa-float { right: 16px; bottom: 76px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .media-float { left: 12px; bottom: 12px; padding: 10px 14px; }
}
