/* ============================================================
   L'ATELIER DE L'AUTO — SITE VITRINE
   Style inspiré de plat-form.framer.ai, adapté à notre brand
   ============================================================ */

:root {
  /* Brand colors */
  --bg:           #0A0A0A;
  --bg-2:         #111111;
  --bg-3:         #161616;
  --surface:      #1A1A1A;

  --red:          #E30613;
  --red-soft:     rgba(227, 6, 19, 0.14);
  --red-line:     rgba(227, 6, 19, 0.35);

  --text:         #F5F0E8;
  --text-soft:    rgba(245, 240, 232, 0.58);
  --text-faint:   rgba(245, 240, 232, 0.18);
  --line:         rgba(245, 240, 232, 0.09);
  --line-strong:  rgba(245, 240, 232, 0.18);

  /* Fonts */
  --f-display: 'Archivo Black', 'Archivo', Impact, sans-serif;
  --f-serif:   'Instrument Serif', 'Times New Roman', serif;
  --f-body:    'Inter', -apple-system, system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Layout */
  --maxw: 1440px;
  --pad-x: clamp(24px, 4.5vw, 72px);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
}

/* Static mode: disables scroll/min-height constraints for full-page screenshots */
html.static-mode .hero { min-height: auto !important; padding-bottom: 40px !important; }
html.static-mode .hero__inner { min-height: auto !important; }
html.static-mode [data-reveal] { color: var(--text) !important; }
html.static-mode .section { padding-top: 120px; padding-bottom: 100px; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }

/* ---------- CORNER TRIM LINES ---------- */
.trim {
  position: fixed;
  width: 160px;
  height: 2px;
  background: var(--red);
  z-index: 5;
  pointer-events: none;
}
.trim--tl { top: 0; left: 0; }
.trim--tr { top: 0; right: 0; }
.trim--bl { bottom: 0; left: 0; }
.trim--br { bottom: 0; right: 0; }
.trim::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 60px;
  background: var(--red);
}
.trim--tl::after { top: 0; left: 0; }
.trim--tr::after { top: 0; right: 0; }
.trim--bl::after { bottom: 0; left: 0; }
.trim--br::after { bottom: 0; right: 0; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--pad-x);
  pointer-events: none;
  transition: background 0.3s, border-color 0.3s, padding 0.3s;
}
.nav > * { pointer-events: auto; }

.nav__cta-icon {
  display: none;
  width: 18px;
  height: 18px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
}
.nav__mark {
  width: 26px;
  height: 26px;
}
.nav__text {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--red);
}
.nav__text sup {
  font-size: 9px;
  margin-left: 1px;
  vertical-align: super;
}

.nav__links {
  display: flex;
  gap: 32px;
  padding: 12px 24px;
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-soft);
}
.nav__links a {
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text);
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}
.nav__cta:hover {
  border-color: var(--red);
  color: var(--red);
}
.nav__cta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ---------- MOBILE MENU BUTTON ---------- */
.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 100px;
  padding: 0;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.nav__burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transform: translate(-50%, -50%);
  transition: transform 0.3s, opacity 0.3s;
}
.nav__burger span:nth-child(1) { transform: translate(-50%, calc(-50% - 5px)); }
.nav__burger span:nth-child(3) { transform: translate(-50%, calc(-50% + 5px)); }
.nav__burger.is-open span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- MOBILE MENU OVERLAY ---------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  display: flex;
  flex-direction: column;
  padding: 100px var(--pad-x) 40px;
  overflow-y: auto;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.mobile-menu__links a {
  padding: 22px 0;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(28px, 7vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
}
.mobile-menu__links a::after {
  content: "→";
  font-family: var(--f-mono);
  font-size: 0.6em;
  color: var(--red);
}
.mobile-menu__links a:first-child { border-top: 1px solid var(--line); }
.mobile-menu__footer {
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-menu__phone {
  font-family: var(--f-display);
  font-size: clamp(28px, 7vw, 44px);
  line-height: 1;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 14px;
}
.mobile-menu__address {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-soft);
  line-height: 1.8;
}

@media (max-width: 1100px) {
  .nav {
    padding: 14px var(--pad-x);
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    pointer-events: auto;
  }
  .nav__links { display: none; }
  .nav__burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
  }
  .nav.is-scrolled {
    background: rgba(10, 10, 10, 0.92);
  }
  /* Push content below fixed header */
  .hero { padding-top: 100px; }
  .subhero { padding-top: 140px; }
}
@media (max-width: 1100px) {
  /* Hide the nav CTA entirely on mobile — replaced by floating FAB */
  .nav__cta { display: none !important; }
}

/* ============================================================
   FLOATING PHONE BUTTON (FAB) — mobile only
   Created via JS and appended to body to avoid
   backdrop-filter containing-block issues.
   ============================================================ */
.fab-call {
  display: none;
}

@media (max-width: 1100px) {
  .fab-call {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--red);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 70;
    text-decoration: none;
    box-shadow:
      0 14px 32px rgba(227, 6, 19, 0.45),
      0 4px 12px rgba(0, 0, 0, 0.4);
    animation: fab-pulse 2.8s ease-in-out infinite;
    transition: transform 0.25s ease, background 0.25s, box-shadow 0.25s, color 0.25s;
  }
  .fab-call__icon {
    width: 26px;
    height: 26px;
    position: relative;
    z-index: 2;
  }
  .fab-call__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--red);
    opacity: 0;
    animation: fab-ring 2.8s ease-out infinite;
    pointer-events: none;
  }
  .fab-call:hover, .fab-call:active {
    background: #FFFFFF;
    color: var(--red);
    transform: translateY(-4px) scale(1.05);
  }
}

@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 14px 32px rgba(227, 6, 19, 0.45), 0 4px 12px rgba(0, 0, 0, 0.4); }
  50% { box-shadow: 0 14px 40px rgba(227, 6, 19, 0.7), 0 4px 12px rgba(0, 0, 0, 0.4); }
}
@keyframes fab-ring {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.6); }
}

/* Push FAB up when cookie banner is visible */
@media (max-width: 1100px) {
  body:has(.cookie-banner.is-visible) .fab-call {
    bottom: 180px;
  }
}

@media (max-width: 520px) {
  .nav {
    padding: 12px 16px;
    gap: 8px;
  }
  .nav__brand { gap: 8px; }
  .nav__mark { width: 24px; height: 24px; }
  .nav__text { font-size: 16px; }
  .nav__burger { width: 42px; height: 42px; }
  .fab-call {
    width: 58px;
    height: 58px;
    bottom: 18px;
    right: 18px;
  }
  .fab-call__icon { width: 24px; height: 24px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px var(--pad-x) 60px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) contrast(1.05) brightness(0.9);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 30% 50%, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.85) 60%, rgba(10, 10, 10, 0.95) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0.3) 30%, rgba(10, 10, 10, 0.75) 75%, var(--bg) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: calc(100vh - 180px);
  padding-top: 40px;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 2px;
  color: var(--text-soft);
  margin-bottom: auto;
  padding-top: 20px;
}
.hero__meta-tag { white-space: nowrap; }
.hero__meta-sep {
  width: 20px;
  height: 1px;
  background: var(--text-faint);
}

.hero__title {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(44px, 7.5vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--text);
  margin: 80px 0 0;
  max-width: 1200px;
}
.hero__title span {
  display: block;
  color: var(--text-faint);
  transition: color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero__title span.is-revealed { color: var(--text); }
.hero__title span:nth-child(2) {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}

.hero__footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 60px;
  align-items: end;
  padding-top: 60px;
  margin-top: 60px;
  border-top: 1px solid var(--line);
}

.hero__scroll {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-soft);
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--red), transparent);
  position: relative;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 15px;
  background: var(--red);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { top: -15px; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 60px; opacity: 0; }
}

.hero__sub {
  font-size: 15px;
  line-height: 1.6;
  max-width: 400px;
  color: var(--text-soft);
}

.hero__stats {
  display: flex;
  gap: 40px;
}
.hero__stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__stats strong {
  font-family: var(--f-display);
  font-size: 36px;
  line-height: 1;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero__stats span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--text-soft);
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .hero__footer { grid-template-columns: 1fr; gap: 40px; }
  .hero__scroll { display: none; }
  .hero__stats { flex-wrap: wrap; gap: 24px; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  position: relative;
  z-index: 3;
  padding: 22px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  animation: marquee 40s linear infinite;
  font-family: var(--f-display);
  font-size: clamp(22px, 3vw, 40px);
  letter-spacing: 0.03em;
  color: var(--text);
  text-transform: uppercase;
  padding-left: 40px;
}
.marquee__dot {
  color: var(--red);
  font-size: 1.2em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section {
  position: relative;
  padding: 180px 0 140px;
  border-bottom: 1px solid var(--line);
}

.section__cap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  margin-bottom: 60px;
  overflow: hidden;
}
.section__big {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(64px, 12vw, 200px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--text-faint);
  white-space: nowrap;
  transform: translateX(-1.5vw);
}

.section__intro {
  max-width: var(--maxw);
  margin: 0 auto 100px;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 200px 1fr 280px;
  gap: 60px;
  align-items: start;
}
.section__num {
  padding-left: 20px;
  border-left: 1px solid var(--red-line);
  font-family: var(--f-mono);
}
.section__num-digit {
  font-size: 18px;
  color: var(--text);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.section__num-label {
  font-size: 11px;
  color: var(--red);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.section__lead {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 700px;
}
.section__aside {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-soft);
  line-height: 1.7;
  text-align: right;
}

@media (max-width: 980px) {
  .section__intro { grid-template-columns: 1fr; gap: 30px; }
  .section__aside { text-align: left; }
}

/* ============================================================
   SERVICES (section 001)
   ============================================================ */
.services__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(260px, auto);
  gap: 20px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: border-color 0.4s, transform 0.4s;
  overflow: hidden;
  grid-column: span 4;
  isolation: isolate;
}
.card:hover { border-color: var(--red); }
.card:hover .card__photo { transform: scale(1.05); filter: saturate(1) brightness(0.7); }
.card:hover .card__shade {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.65) 55%, rgba(10, 10, 10, 0.95) 100%);
}
.card:hover .card__cta {
  background: var(--red);
  border-color: var(--red);
  transform: translate(4px, -4px);
  color: #FFFFFF;
}
.card:hover .card__title { transform: translateX(4px); }

.card--feature {
  grid-column: span 8;
  grid-row: span 2;
  min-height: 520px;
}
.card--feature .card__title {
  font-size: clamp(44px, 5vw, 72px);
}

.card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: saturate(0.8) brightness(0.55) contrast(1.05);
  transition: transform 0.6s ease, filter 0.4s;
}
.card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.35) 0%, rgba(10, 10, 10, 0.78) 55%, rgba(10, 10, 10, 0.96) 100%);
  transition: background 0.4s;
}

.card__cta {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: transform 0.3s ease, background 0.3s, border-color 0.3s;
  z-index: 3;
}
.card__cta svg { width: 20px; height: 20px; }

.card__body {
  position: relative;
  z-index: 2;
  margin-top: auto;
}
.card__tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 12px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.card__title {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  transition: transform 0.3s;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
}
.card__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 440px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(6, 1fr); }
  .card { grid-column: span 3; }
  .card--feature { grid-column: span 6; grid-row: span 1; min-height: 360px; }
}
@media (max-width: 680px) {
  .services__grid { grid-template-columns: 1fr; }
  .card { grid-column: span 1; min-height: 280px; }
  .card--feature { grid-column: span 1; }
}

/* ============================================================
   PILIERS (section 002)
   ============================================================ */
.pillars {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.pillar {
  padding: 60px 40px 60px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.pillar:first-child { padding-left: 0; }
.pillar:not(:first-child) { padding-left: 40px; }
.pillar:last-child { border-right: none; }

.pillar__num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--red);
  letter-spacing: 2px;
  margin-bottom: 40px;
}
.pillar__word {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(40px, 4.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.pillar:nth-child(2) .pillar__word {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
.pillar__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 30px;
  max-width: 360px;
}
.pillar ul { border-top: 1px solid var(--line); padding-top: 18px; }
.pillar li {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  padding: 7px 0 7px 18px;
  position: relative;
}
.pillar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 1px;
  background: var(--red);
}

@media (max-width: 980px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--line); padding: 40px 0 !important; }
  .pillar:last-child { border-bottom: none; }
}

/* ============================================================
   PROCESS (section 003)
   ============================================================ */
.steps {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.step {
  padding: 50px 32px;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: none; }
.step__num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--red);
  letter-spacing: 2px;
  margin-bottom: 40px;
}
.step h4 {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.step p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-soft);
}

@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
}

/* ============================================================
   STATS (section 004)
   ============================================================ */
.section--stats {
  position: relative;
  overflow: hidden;
}
.section--stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.pexels.com/photos/29113387/pexels-photo-29113387.jpeg?auto=compress&cs=tinysrgb&w=1920") center/cover no-repeat;
  opacity: 0.18;
  filter: saturate(0.6) contrast(1.1);
  z-index: 0;
  pointer-events: none;
}
.section--stats::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 10, 10, 0.75) 30%, rgba(10, 10, 10, 0.75) 70%, var(--bg) 100%);
  z-index: 0;
  pointer-events: none;
}
.section--stats > * { position: relative; z-index: 1; }

.stats {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.stat__num {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(64px, 8vw, 140px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 20px;
}
.stat__num span { color: var(--red); }
.stat__label {
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 1px;
  color: var(--text-soft);
  text-transform: uppercase;
  max-width: 200px;
}

@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
}

/* ============================================================
   PRODUCTS (section 005)
   ============================================================ */
.products {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.prod {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: border-color 0.35s, transform 0.4s;
  isolation: isolate;
}
.prod:hover { border-color: var(--red); }
.prod:hover .prod__img { transform: scale(1.08); filter: saturate(1) brightness(0.55); }
.prod:hover .prod__shade {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.55) 40%, rgba(227, 6, 19, 0.4) 100%);
}
.prod:hover .prod__name { transform: translateY(-4px); }
.prod:hover .prod__num { color: var(--red); border-color: var(--red); }

.prod__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: saturate(0.75) brightness(0.45) contrast(1.1);
  transition: transform 0.6s ease, filter 0.4s;
}
.prod__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.45) 40%, rgba(10, 10, 10, 0.95) 100%);
  transition: background 0.4s;
}
.prod__num {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--text);
  padding: 5px 8px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: color 0.3s, border-color 0.3s;
}
.prod__body {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 22px;
  z-index: 2;
}
.prod__name {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: transform 0.3s;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.products__footer {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.products__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.products__stat-num {
  font-family: var(--f-display);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.products__stat-num span { color: var(--red); }
.products__stat-label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-soft);
}
.products__cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 26px;
  background: var(--red);
  color: var(--text);
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.3s;
}
.products__cta svg { width: 18px; height: 18px; }
.products__cta:hover {
  background: #FFFFFF;
  color: var(--red);
  transform: translate(3px, -3px);
}

@media (max-width: 1100px) {
  .products__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .products__footer { gap: 30px; }
  .products__cta { margin-left: 0; width: 100%; justify-content: space-between; }
}
@media (max-width: 440px) {
  .products__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MARQUES (section 006)
   ============================================================ */
.brands {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.brands__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--red-line);
}
.brands__label--second { margin-top: 80px; }
.brands__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
  border-right: none;
  border-bottom: none;
}
.brands__grid--small { grid-template-columns: repeat(4, 1fr); }
.brand-cell {
  padding: 40px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-family: var(--f-display);
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  transition: color 0.3s, background 0.3s;
}
.brand-cell:hover { color: var(--text); background: var(--bg-2); }

@media (max-width: 980px) {
  .brands__grid { grid-template-columns: repeat(3, 1fr); }
  .brands__grid--small { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .brands__grid { grid-template-columns: repeat(2, 1fr); }
  .brand-cell { padding: 26px 10px; font-size: 13px; }
}

/* ============================================================
   FAQ (section 006)
   ============================================================ */
.faq {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.faq__item {
  border-top: 1px solid var(--line);
  transition: background 0.25s;
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
  gap: 40px;
  transition: color 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(20px, 2.3vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.faq__plus {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.3s, transform 0.3s;
}
.faq__plus::before,
.faq__plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--text);
  transition: transform 0.3s, background 0.3s;
}
.faq__plus::before { width: 12px; height: 1px; transform: translate(-50%, -50%); }
.faq__plus::after { width: 1px; height: 12px; transform: translate(-50%, -50%); }

.faq__item[open] .faq__plus {
  border-color: var(--red);
  transform: rotate(135deg);
}
.faq__item[open] .faq__plus::before,
.faq__item[open] .faq__plus::after { background: var(--red); }

.faq__item:hover summary { color: var(--text); }
.faq__item:hover .faq__plus { border-color: var(--red); }

.faq__a {
  padding: 0 80px 40px 0;
  max-width: 780px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
}

/* ============================================================
   CONTACT (section 007)
   ============================================================ */
.contact {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__phone {
  padding: 60px 50px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.contact__phone::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
}
.contact__phone-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 40px;
}
.contact__phone-num {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(44px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
  transition: color 0.2s;
}
.contact__phone-num:hover { color: var(--red); }
.contact__phone-hint {
  font-size: 13px;
  color: var(--text-soft);
  font-family: var(--f-mono);
  letter-spacing: 0.5px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.contact__card {
  padding: 34px 28px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 180px;
}
.contact__card-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--red);
}
.contact__card-value {
  font-family: var(--f-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-top: auto;
}
.contact__card-link { color: var(--text); transition: color 0.2s; }
.contact__card-link:hover { color: var(--red); }

@media (max-width: 980px) {
  .contact { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 100px var(--pad-x) 40px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.footer__top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--red);
}
.footer__mark { width: 60px; height: 60px; }
.footer__name {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 6px;
}
.footer__slogan {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--red);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer__col-title {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 22px;
}
.footer__cols a {
  display: block;
  padding: 7px 0;
  font-size: 13px;
  color: var(--text-soft);
  transition: color 0.2s;
}
.footer__cols a:hover { color: var(--text); }

.footer__bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 36px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 1px;
  color: var(--text-soft);
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr; gap: 60px; }
  .footer__cols { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; }
}

/* ============================================================
   SUBPAGE HERO (compact hero for non-home pages)
   ============================================================ */
.subhero {
  position: relative;
  padding: 180px var(--pad-x) 100px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  min-height: 520px;
  display: flex;
  align-items: flex-end;
}
.subhero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.subhero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.7) brightness(0.45) contrast(1.1);
}
.subhero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0.4) 40%, rgba(10, 10, 10, 0.95) 100%);
}
.subhero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 50px;
}
.breadcrumb a { color: var(--text-soft); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb__sep {
  width: 10px;
  height: 1px;
  background: var(--text-faint);
}
.breadcrumb__current { color: var(--red); }

.subhero__title {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 110px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 32px;
  max-width: 1100px;
}
.subhero__title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
.subhero__lead {
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 620px;
}

/* ============================================================
   SPLIT SECTION (text + image, for sub-pages)
   ============================================================ */
.split {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 120px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}
.split--reverse .split__text { order: 2; }

.split__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--red-line);
  display: inline-block;
}
.split__title {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 30px;
}
.split__title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.split__body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 540px;
}
.split__body p { margin-bottom: 18px; }
.split__body strong { color: var(--text); font-weight: 600; }

.split__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) contrast(1.05) brightness(0.85);
  transition: transform 0.8s ease;
}
.split:hover .split__media img { transform: scale(1.05); }

.split__media-label {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text);
  padding: 6px 10px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
}

@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 50px; padding: 80px var(--pad-x); }
  .split--reverse .split__text { order: unset; }
}

/* ============================================================
   CHECKLIST
   ============================================================ */
.checklist {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 120px var(--pad-x);
}
.checklist__head {
  display: grid;
  grid-template-columns: 200px 1fr 280px;
  gap: 60px;
  margin-bottom: 60px;
  align-items: start;
}
.checklist__num {
  padding-left: 20px;
  border-left: 1px solid var(--red-line);
  font-family: var(--f-mono);
}
.checklist__num-digit {
  font-size: 18px;
  color: var(--text);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.checklist__num-label {
  font-size: 11px;
  color: var(--red);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.checklist__title {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(30px, 3.5vw, 50px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 14px;
}
.checklist__lead {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.6;
}
.checklist__aside {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-soft);
  line-height: 1.7;
  text-align: right;
}

.checklist__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.check-item {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.check-item:nth-child(odd) { padding-right: 40px; border-right: 1px solid var(--line); padding-left: 0; }
.check-item:nth-child(even) { padding-left: 40px; }
.check-item__mark {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}
.check-item__body { flex: 1; }
.check-item__title {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 6px;
}
.check-item__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-soft);
}

@media (max-width: 980px) {
  .checklist__head { grid-template-columns: 1fr; gap: 30px; }
  .checklist__aside { text-align: left; }
  .checklist__items { grid-template-columns: 1fr; }
  .check-item:nth-child(odd), .check-item:nth-child(even) { padding: 24px 0; border-right: none; }
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 140px var(--pad-x);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cta-band__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.cta-band__title {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text);
}
.cta-band__title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.cta-band__sub {
  margin-top: 20px;
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.5;
  max-width: 520px;
}
.cta-band__buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 32px;
  background: var(--red);
  color: var(--text);
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.3s, color 0.3s;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.btn-primary svg { width: 18px; height: 18px; }
.btn-primary:hover {
  background: #FFFFFF;
  color: var(--red);
  transform: translate(3px, -3px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 32px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn-secondary:hover {
  border-color: var(--red);
  color: var(--red);
}

@media (max-width: 880px) {
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band { padding: 80px var(--pad-x); }
}

/* ============================================================
   SERVICES PREVIEW (on home page, teaser cards)
   ============================================================ */
.services-preview {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.spv {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  isolation: isolate;
  transition: border-color 0.35s, transform 0.35s;
}
.spv:hover { border-color: var(--red); }
.spv:hover .spv__img { transform: scale(1.07); }
.spv:hover .spv__arrow { background: var(--red); transform: translate(4px, -4px); color: #FFFFFF; border-color: var(--red); }
.spv:hover .spv__title { transform: translateX(4px); }

.spv__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(0.8) brightness(0.5) contrast(1.05);
  transition: transform 0.6s ease;
}
.spv__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.8) 75%, rgba(10, 10, 10, 0.95) 100%);
}
.spv__arrow {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  color: var(--text);
  transition: background 0.3s, transform 0.3s, border-color 0.3s, color 0.3s;
}
.spv__arrow svg { width: 18px; height: 18px; }
.spv__num {
  position: relative;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 14px;
}
.spv__title {
  position: relative;
  z-index: 2;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
  transition: transform 0.3s;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.7);
}
.spv__desc {
  position: relative;
  z-index: 2;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 440px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

@media (max-width: 880px) {
  .services-preview { grid-template-columns: 1fr; }
}

/* ============================================================
   NAV ACTIVE STATE
   ============================================================ */
.nav__links a.is-active {
  color: var(--red);
}

/* ============================================================
   CONTACT PAGE — FORM
   ============================================================ */
.contact-form {
  max-width: 780px;
  display: grid;
  gap: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-field label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--red);
  text-transform: uppercase;
}
.form-field input,
.form-field textarea,
.form-field select {
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 16px 18px;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--red);
  background: var(--bg-3);
}
.form-field textarea { min-height: 140px; resize: vertical; font-family: var(--f-body); }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--red);
}

@media (max-width: 680px) {
  .form-row { grid-template-columns: 1fr; }
}

/* Form status messages (success / error after submission) */
.form-status {
  display: none;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.55;
  border-left: 2px solid transparent;
  font-family: var(--f-body);
}
.form-status strong {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}
.form-status a { color: inherit; text-decoration: underline; }
.form-status--success {
  display: block;
  background: rgba(16, 185, 129, 0.08);
  border-left-color: #10b981;
  color: rgba(245, 240, 232, 0.9);
}
.form-status--success strong { color: #10b981; }
.form-status--error {
  display: block;
  background: rgba(227, 6, 19, 0.1);
  border-left-color: var(--red);
  color: rgba(245, 240, 232, 0.9);
}
.form-status--error strong { color: var(--red); }

/* Loading state on submit button */
.btn-primary.is-loading {
  opacity: 0.7;
  cursor: wait;
  pointer-events: none;
}
.btn-primary.is-loading svg {
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================================
   MAP BLOCK
   ============================================================ */
.map-block {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 120px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
  border-top: 1px solid var(--line);
}
.map-block__iframe {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  overflow: hidden;
  filter: grayscale(1) invert(0.92) contrast(0.95);
  background: var(--bg-2);
}
.map-block__iframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-block__info { display: flex; flex-direction: column; gap: 0; padding: 20px 0; }
.map-block__info h3 {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}
.info-row {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  align-items: start;
}
.info-row__label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 2px;
  color: var(--red);
  text-transform: uppercase;
}
.info-row__value {
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--text);
  line-height: 1.55;
}
.info-row__value a { color: var(--text); transition: color 0.2s; }
.info-row__value a:hover { color: var(--red); }

@media (max-width: 880px) {
  .map-block { grid-template-columns: 1fr; gap: 40px; padding: 80px var(--pad-x); }
}

/* ============================================================
   MOBILE GLOBAL TUNING
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --pad-x: 20px;
    --pad-y: 80px;
  }

  /* Hero tuning */
  .hero { padding: 100px 20px 40px; min-height: auto; }
  .hero__inner { min-height: calc(100svh - 180px); padding-top: 20px; }
  .hero__meta { flex-wrap: wrap; gap: 8px; font-size: 9px; }
  .hero__meta-sep { display: none; }
  .hero__title { margin-top: 50px; font-size: clamp(38px, 10vw, 58px); }
  .hero__footer { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; margin-top: 40px; }
  .hero__sub { font-size: 14px; }
  .hero__stats { gap: 18px; }
  .hero__stats strong { font-size: 26px; }
  .hero__stats span { font-size: 9px; }

  /* Marquee */
  .marquee { padding: 16px 0; }
  .marquee__track { font-size: 20px; gap: 24px; }

  /* Sections */
  .section { padding: 80px 0 60px; }
  .section__cap { margin-bottom: 30px; padding: 0 20px; }
  .section__big {
    font-size: clamp(48px, 15vw, 90px);
    white-space: normal;
    transform: none;
  }
  .section__intro {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 50px;
    padding: 0 20px;
  }
  .section__lead { font-size: 22px; }
  .section__aside { text-align: left; }

  /* Cards */
  .card { padding: 24px; min-height: 280px !important; }
  .card__title { font-size: 28px !important; }
  .card--feature { min-height: 340px !important; }
  .card__cta { width: 44px; height: 44px; top: 16px; right: 16px; }
  .card__cta svg { width: 16px; height: 16px; }

  /* Services preview (home) */
  .spv { padding: 24px; aspect-ratio: 3 / 4; }
  .spv__title { font-size: 26px; }
  .spv__desc { font-size: 13px; }
  .spv__arrow { width: 44px; height: 44px; top: 18px; right: 18px; }

  /* Pillars */
  .pillar { padding: 30px 0 !important; }
  .pillar__word { font-size: 44px; }
  .pillar__desc { font-size: 14px; }

  /* Process steps */
  .step { padding: 30px 20px; }

  /* Stats */
  .stat { padding: 30px 0; }
  .stat__num { font-size: clamp(56px, 18vw, 90px); }

  /* Products */
  .products__footer { gap: 24px; flex-direction: column; align-items: flex-start; }
  .products__stat-num { font-size: 32px; }
  .products__cta { margin-left: 0; width: 100%; justify-content: center; padding: 16px 20px; }

  /* Brands */
  .brand-cell { padding: 22px 8px; font-size: 12px; }
  .brands__label--second { margin-top: 50px; }

  /* FAQ */
  .faq__item summary { padding: 28px 0; gap: 20px; }
  .faq__q { font-size: 18px; }
  .faq__plus { width: 28px; height: 28px; }
  .faq__a { padding: 0 0 28px 0; font-size: 14px; }

  /* Contact */
  .contact { gap: 30px; }
  .contact__phone { padding: 40px 28px; }
  .contact__phone-num { font-size: clamp(40px, 12vw, 64px); }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__card { min-height: auto; padding: 26px 22px; }

  /* Footer */
  .footer { padding: 70px 20px 30px; }
  .footer__top { padding-bottom: 50px; gap: 40px; }
  .footer__brand { gap: 14px; }
  .footer__mark { width: 46px; height: 46px; }
  .footer__name { font-size: 18px; }
  .footer__bottom { font-size: 9px; gap: 10px; padding-top: 24px; }

  /* Subpages */
  .subhero { padding: 120px 20px 60px; min-height: 440px; }
  .subhero__title { font-size: clamp(40px, 11vw, 64px); }
  .subhero__lead { font-size: 15px; }
  .breadcrumb { margin-bottom: 30px; font-size: 9px; flex-wrap: wrap; }

  .split { padding: 70px 20px; gap: 40px; }
  .split__title { font-size: clamp(32px, 9vw, 48px); }
  .split__body { font-size: 15px; }
  .split__media { aspect-ratio: 4 / 3; }

  .checklist { padding: 70px 20px; }
  .checklist__title { font-size: clamp(28px, 8vw, 40px); }

  .cta-band { padding: 70px 20px; }
  .cta-band__inner { gap: 40px; }
  .cta-band__title { font-size: clamp(32px, 9vw, 52px); }
  .cta-band__buttons { width: 100%; }
  .btn-primary, .btn-secondary { padding: 16px 22px; font-size: 12px; justify-content: center; width: 100%; }
  .btn-primary svg, .btn-secondary svg { width: 16px; height: 16px; }

  /* Trim corners smaller on mobile */
  .trim { width: 80px; }
  .trim::after { height: 30px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: clamp(34px, 11vw, 52px); }
  .hero__stats { flex-wrap: wrap; }
  .section__big { font-size: clamp(40px, 14vw, 70px); }
  .subhero__title { font-size: clamp(34px, 11vw, 52px); }
  .checklist__items { grid-template-columns: 1fr; }
  .check-item:nth-child(odd), .check-item:nth-child(even) { padding: 20px 0; border-right: none; padding-left: 0; padding-right: 0; }
}

/* Prevent horizontal overflow on mobile */
@media (max-width: 1100px) {
  body, html { overflow-x: hidden; }
  .section__big { white-space: normal; transform: none; overflow-wrap: break-word; }
}

/* Better touch targets */
@media (pointer: coarse) {
  .nav__links a, .footer__cols a, .mobile-menu__links a, .faq__item summary {
    min-height: 44px;
  }
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal {
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}
.legal__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.legal__block {
  padding-bottom: 60px;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.legal__block:last-of-type { border-bottom: none; margin-bottom: 0; }
.legal__label {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--red);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--red-line);
  margin-bottom: 24px;
}
.legal__title {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
}
.legal__body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
}
.legal__body p { margin-bottom: 16px; }
.legal__body strong { color: var(--text); font-weight: 600; }
.legal__body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.legal__body a:hover { color: var(--text); }
.legal__body ul, .legal__body ol {
  padding-left: 20px;
  margin-bottom: 16px;
  list-style: none;
}
.legal__body li {
  padding: 6px 0 6px 20px;
  position: relative;
}
.legal__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 10px;
  height: 1px;
  background: var(--red);
}
.legal__date {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-soft);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .legal { padding: 60px 0; }
  .legal__block { padding-bottom: 40px; margin-bottom: 40px; }
  .legal__title { margin-bottom: 20px; }
  .legal__body { font-size: 14px; }
}

/* ============================================================
   404 PAGE
   ============================================================ */
.notfound {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 200px var(--pad-x) 100px;
  position: relative;
  overflow: hidden;
}
.notfound::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(227, 6, 19, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.notfound__inner {
  max-width: 900px;
  text-align: center;
  position: relative;
}
.notfound__code {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(120px, 24vw, 320px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin-bottom: 30px;
  background: linear-gradient(180deg, var(--text) 0%, var(--text-faint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.notfound__title {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}
.notfound__title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.notfound__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 580px;
  margin: 0 auto 50px;
}
.notfound__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .notfound { padding: 140px 20px 60px; }
  .notfound__lead { font-size: 15px; }
  .notfound__buttons { flex-direction: column; width: 100%; }
  .notfound__buttons .btn-primary, .notfound__buttons .btn-secondary { width: 100%; justify-content: center; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 780px;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  padding: 26px 30px;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  transform: translateY(calc(100% + 40px));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
}
.cookie-banner__text {
  font-family: var(--f-body);
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-soft);
}
.cookie-banner__text strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.cookie-banner__text a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__buttons {
  display: flex;
  gap: 10px;
}
.cookie-banner__btn {
  padding: 11px 18px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.cookie-banner__btn:hover { border-color: var(--red); color: var(--red); }
.cookie-banner__btn--primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--text);
}
.cookie-banner__btn--primary:hover {
  background: #FFFFFF;
  color: var(--red);
}

@media (max-width: 680px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 20px; grid-template-columns: 1fr; gap: 16px; }
  .cookie-banner__buttons { width: 100%; }
  .cookie-banner__btn { flex: 1; text-align: center; }
}

/* ============================================================
   SKIP TO CONTENT (a11y)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  padding: 14px 20px;
  background: var(--red);
  color: var(--text);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 20px;
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

/* ============================================================
   FRAMER-STYLE ANIMATIONS
   ============================================================ */

/* 1. SCROLL PROGRESS BAR — thin red line at top */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, #FF6B35 100%);
  z-index: 101;
  width: 0%;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px rgba(227, 6, 19, 0.6);
  pointer-events: none;
}

/* 2. BLUR-IN REVEAL (enhanced scroll fade-in) */
.fx-reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--fx-delay, 0s);
}
.fx-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* 3. TEXT SPLIT REVEAL — individual word animations */
.split-text {
  display: inline-block;
}
.split-text__word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  white-space: nowrap;
}
.split-text__word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--word-delay, 0s);
}
.split-text.is-visible .split-text__word-inner {
  transform: translateY(0);
}

/* 4. IMAGES — always visible, no reveal animation */
.split__media img,
.card__photo,
.spv__img,
.prod__img,
.hero__media img,
.subhero__media img {
  opacity: 1 !important;
  clip-path: none !important;
}

/* 5. NUMBER COUNTER — smooth transition via CSS var */
.stat__num {
  font-variant-numeric: tabular-nums;
}

/* 6. MAGNETIC CTA — enhanced hover (desktop only) */
@media (hover: hover) and (pointer: fine) {
  .btn-primary,
  .btn-secondary,
  .products__cta {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s, color 0.3s, border-color 0.3s;
    will-change: transform;
  }
  .nav__cta {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s, color 0.2s;
    will-change: transform;
  }
}

/* 7. GLOW ON HOVER for cards */
.card,
.spv,
.prod {
  position: relative;
}
.card::after,
.spv::after,
.prod::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(227, 6, 19, 0);
  transition: box-shadow 0.5s ease;
  z-index: 4;
}
.card:hover::after,
.spv:hover::after,
.prod:hover::after {
  box-shadow: 0 0 40px 2px rgba(227, 6, 19, 0.25);
}

/* 8. MARQUEE PAUSE ON HOVER */
.marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* 9. SUBHERO MEDIA ZOOM ON LOAD */
.subhero__media img {
  animation: subhero-zoom 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes subhero-zoom {
  from { transform: scale(1.12); filter: saturate(0.5) brightness(0.35) contrast(1.1) blur(8px); }
  to { transform: scale(1); filter: saturate(0.7) brightness(0.45) contrast(1.1) blur(0); }
}

/* 10. HERO MEDIA ZOOM ON LOAD */
.hero__media img {
  animation: hero-zoom 3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes hero-zoom {
  from { transform: scale(1.15); filter: saturate(0.5) brightness(0.6) contrast(1.05) blur(10px); }
  to { transform: scale(1); filter: saturate(0.85) contrast(1.05) brightness(0.9) blur(0); }
}

/* 11. BUTTON ARROW SLIDE */
.btn-primary svg,
.btn-secondary svg,
.products__cta svg,
.card__cta svg,
.spv__arrow svg {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover svg,
.btn-secondary:hover svg,
.products__cta:hover svg {
  transform: translateX(4px);
}

/* 12. SECTION BIG TITLE — gradient shift on scroll */
.section__big {
  background: linear-gradient(180deg, var(--text-faint) 0%, rgba(245, 240, 232, 0.04) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: background-position 0.8s ease;
}

/* 13. RESPECT REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__media img,
  .subhero__media img {
    animation: none !important;
    transform: none !important;
    filter: saturate(0.7) brightness(0.45) contrast(1.1) !important;
  }
}
