/* ==========================================================================
   Redant Automotive — Design Tokens
   ========================================================================== */
:root {
  --ink: #0a0a0b;
  --ink-soft: #1c1c1f;
  --paper: #fbfaf8;
  --paper-dim: #f2f0ec;
  --line: #e3e0d9;
  --line-dark: #2c2c30;
  --muted: #6b6a67;
  --muted-on-dark: #a8a6a1;
  --gold: #b8935a;
  --gold-bright: #d4ac74;
  --cyan: #4fb8c9;
  --white: #ffffff;

  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1220px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 2px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4, p, li { overflow-wrap: anywhere; hyphens: auto; }
.section-head > div { min-width: 0; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

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

::selection { background: var(--gold); color: var(--ink); }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section--tight { padding: clamp(48px, 7vw, 96px) 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dim { background: var(--paper-dim); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

h2.h-section {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  max-width: 18ch;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: clamp(40px, 6vw, 72px);
  flex-wrap: wrap;
}
.section-head p {
  max-width: 40ch;
  color: var(--muted);
  font-size: 16px;
}
.section--dark .section-head p { color: var(--muted-on-dark); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--gold); color: var(--ink); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-bright); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light { background: transparent; color: var(--paper); border-color: rgba(251,250,248,0.35); }
.btn-ghost-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251,250,248,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: center; height: 40px; }
.brand img { height: 100%; width: auto; }

.nav-desktop { display: flex; align-items: center; gap: 40px; }
.nav-desktop a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.nav-desktop a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gold);
  transition: right 0.3s var(--ease);
}
.nav-desktop a:hover::after { right: 0; }

.lang-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
}
.lang-switch button {
  background: none;
  border: none;
  padding: 5px 11px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-radius: 16px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.lang-switch button.is-active { background: var(--ink); color: var(--paper); }
.lang-switch button:hover:not(.is-active) { color: var(--ink); }
.mobile-menu .lang-switch { align-self: flex-start; margin-top: 6px; border-color: var(--line); }

.header-cta { display: flex; align-items: center; gap: 22px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em; }
.header-phone svg { width: 15px; height: 15px; color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none; border: none;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 84px 0 0 0;
  background: var(--paper);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 32px var(--gutter);
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.btn {
  margin-top: 28px;
  justify-content: center;
  width: 100%;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 15px 28px;
  border-bottom: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(150px, 22vw, 230px);
  padding-bottom: clamp(90px, 12vw, 140px);
  overflow: hidden;
  background: var(--paper);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10,10,11,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,11,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 40%, transparent 100%);
  pointer-events: none;
}
.hero-content { position: relative; max-width: 900px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 7.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub {
  margin-top: 26px;
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--muted);
  max-width: 56ch;
}
.hero-actions { display: flex; gap: 18px; margin-top: 40px; flex-wrap: wrap; }

.hero-marks {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(64px, 9vw, 96px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-mark { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.hero-mark strong { display: block; color: var(--ink); font-size: 15px; letter-spacing: 0; margin-bottom: 2px; }

/* ==========================================================================
   Brand strip (marquee)
   ========================================================================== */
.brand-strip { background: var(--ink); color: var(--paper); overflow: hidden; padding: 22px 0; }
.marquee { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-set { display: flex; align-items: center; }
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0 clamp(24px, 3vw, 44px);
  color: var(--muted-on-dark);
  white-space: nowrap;
}
.marquee span.dot { color: var(--gold); padding: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--paper);
  padding: 40px 36px;
  transition: background 0.35s var(--ease);
  position: relative;
}
.service-card:hover { background: var(--ink); color: var(--paper); }
.service-card:hover .service-num,
.service-card:hover .service-card p { color: var(--muted-on-dark); }
.service-card:hover .service-icon { border-color: var(--gold); color: var(--gold); }
.service-num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.service-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 22px 0 26px;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.service-card p { color: var(--muted); font-size: 14.5px; transition: color 0.35s var(--ease); }
.service-card:nth-child(8):nth-last-child(1) { grid-column: span 2; }
.service-card { scroll-margin-top: 110px; display: block; }
.services-grid--compact { grid-template-columns: repeat(4, 1fr); }
.services-grid--compact .service-card { padding: 30px 26px; }
.services-grid--compact .service-card:nth-child(8):nth-last-child(1) { grid-column: span 1; }
.services-grid--compact .service-icon { margin: 18px 0 20px; }
.services-grid--compact h3 { margin-bottom: 0; font-size: 17px; }

/* Featured service — Remote Diagnostic Support */
.service-feature {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 48px);
  margin-bottom: clamp(36px, 5vw, 56px);
  scroll-margin-top: 110px;
  position: relative;
  overflow: hidden;
}
.service-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(251,250,248,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(251,250,248,0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 100% at 100% 0%, black 0%, transparent 70%);
  pointer-events: none;
}
.service-feature-icon {
  flex-shrink: 0;
  width: 68px; height: 68px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  position: relative;
}
.service-feature-icon svg { width: 30px; height: 30px; }
.service-feature-body { position: relative; flex: 1; }
.service-feature .eyebrow { color: var(--gold); margin-bottom: 12px; }
.service-feature h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.service-feature p { color: var(--muted-on-dark); font-size: 15.5px; max-width: 62ch; }
.service-feature .btn { margin-top: 24px; flex-shrink: 0; }
@media (max-width: 760px) {
  .service-feature { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ==========================================================================
   Case study
   ========================================================================== */
.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.case-copy .h-section { max-width: none; }
.case-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.case-tag {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line-dark);
  color: var(--gold);
  border-radius: 20px;
}
.case-copy p { margin-top: 20px; color: var(--muted-on-dark); font-size: 16px; max-width: 52ch; }
.case-copy p strong { color: var(--paper); font-weight: 600; }
.case-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.case-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted-on-dark); font-size: 15px; }
.case-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--gold); }

.diag-panel {
  border: 1px solid var(--line-dark);
  background: var(--ink-soft);
  border-radius: 4px;
  padding: 28px 30px;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}
.diag-panel .diag-head { display: flex; justify-content: space-between; color: var(--muted-on-dark); border-bottom: 1px solid var(--line-dark); padding-bottom: 14px; margin-bottom: 16px; letter-spacing: 0.04em; }
.diag-panel .diag-head span:last-child { color: var(--gold); }
.diag-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,0.08); color: var(--muted-on-dark); }
.diag-row:last-child { border-bottom: none; }
.diag-row b { color: var(--paper); font-weight: 500; }
.diag-status { color: #7fd894; }
.diag-fault { color: #e08a6b; }
.diag-wave { margin-top: 18px; }
.diag-wave svg { width: 100%; height: 44px; display: block; }

/* ==========================================================================
   Process
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-step { padding-right: 30px; position: relative; }
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px; right: 0;
  width: 30px; height: 1px;
  background: var(--line);
}
.process-index {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--gold);
  font-weight: 600;
  border: 1px solid var(--ink);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
}
.process-step h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.process-step p { color: var(--muted); font-size: 14.5px; }

/* ==========================================================================
   Why us / stats
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: flex-start;
}
.why-list { display: flex; flex-direction: column; }
.why-item { display: flex; gap: 22px; padding: 26px 0; border-top: 1px solid var(--line); }
.why-item:last-child { border-bottom: 1px solid var(--line); }
.why-icon { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.why-item h4 { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 14.5px; }

.equip-panel { background: var(--ink); color: var(--paper); padding: 44px 40px; border-radius: 4px; }
.equip-panel .eyebrow { color: var(--gold); }
.equip-panel h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 24px; max-width: 20ch; }
.equip-list { display: flex; flex-direction: column; gap: 0; }
.equip-list li { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line-dark); font-size: 14.5px; color: var(--muted-on-dark); }
.equip-list li span:last-child { color: var(--paper); font-family: var(--font-display); letter-spacing: 0.03em; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
}
.contact-info { display: flex; flex-direction: column; gap: 30px; }
.contact-block h4 {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.contact-block p, .contact-block a { font-size: 16px; color: var(--ink); }
.contact-block a:hover { color: var(--gold); }
.contact-block .muted { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 14px 16px;
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease);
  font-size: 15px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-success { display: none; padding: 18px 20px; border: 1px solid var(--gold); color: var(--ink); font-size: 14.5px; margin-top: 18px; }
.form-success.is-visible { display: block; }

/* ==========================================================================
   Projects / Case Files
   ========================================================================== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 18px 34px rgba(10,10,11,0.08);
}
.project-cover {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--paper-dim);
  border-bottom: 1px solid var(--line);
}
.project-cover--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(to right, rgba(10,10,11,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,11,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--muted);
}
.project-cover--placeholder svg { width: 44px; height: 44px; opacity: 0.5; }
.project-card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.project-tag {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 12px;
  margin-bottom: 16px;
}
.project-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.project-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.project-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--line);
}
.project-empty h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 10px; }
.project-empty p { color: var(--muted); }

.projects-cta { text-align: center; margin-top: 56px; }

/* Project detail page */
.project-hero { padding-top: clamp(150px, 20vw, 200px); padding-bottom: 20px; }
.project-hero-cover {
  margin-top: 40px;
  aspect-ratio: 21 / 9;
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  background-color: var(--paper-dim);
}
.project-hero-cover.is-placeholder {
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  background-image:
    linear-gradient(to right, rgba(10,10,11,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,11,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
}
.project-hero-cover.is-placeholder svg { width: 60px; height: 60px; opacity: 0.4; }
.project-detail-meta {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
}
.project-detail article { max-width: 760px; margin: 0 auto; }
.project-detail h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4.4vw, 46px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  max-width: 22ch;
  margin: 0 auto 18px;
}
.project-detail-sub {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 8px;
}
.project-body { max-width: 700px; margin: 0 auto; }
.project-body p { color: var(--ink); font-size: 17px; line-height: 1.75; margin-bottom: 22px; }
.project-body .case-list { margin: 30px 0; display: flex; flex-direction: column; gap: 14px; }
.project-body .case-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); font-size: 15.5px; }
.project-body .case-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.project-closing { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 22px; margin-top: 10px; }
.project-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; }
.project-back svg { width: 15px; height: 15px; }
.project-not-found { text-align: center; padding: 80px 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--muted-on-dark); padding: 64px 0 28px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand img { height: 32px; width: auto; filter: invert(1); margin-bottom: 18px; }
.footer-brand p { font-size: 14px; max-width: 32ch; color: var(--muted-on-dark); }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col p { font-size: 14.5px; color: var(--muted-on-dark); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid var(--line-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: border-color 0.3s var(--ease), color 0.3s var(--ease); }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-social svg { width: 15px; height: 15px; }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .nav-desktop, .header-phone { display: none; }
  .header-cta > .lang-switch { display: none; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(8):nth-last-child(1) { grid-column: span 1; }
  .case-study { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process-step:nth-child(2)::after { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(8):nth-last-child(1) { grid-column: span 1; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step::after { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .project-grid { grid-template-columns: 1fr; }
}
