/* ============================================================
   DRIVORA — design system
   Dark, energetic, orange accent. RU/ES/FR landing.
   ============================================================ */

:root {
  /* surfaces — LIGHT theme (default) */
  --bg:        #FAF8F5;
  --bg-2:      #F1EEE8;
  --surface:   #FFFFFF;
  --surface-2: #F0ECE5;
  --line:      rgba(22,20,15,0.10);
  --line-2:    rgba(22,20,15,0.18);

  /* ink */
  --text:      #16140F;
  --dim:       rgba(22,20,15,0.64);
  --faint:     rgba(22,20,15,0.44);

  /* accent */
  --accent:    #FF5A1F;
  --accent-2:  #E84A12;
  --accent-deep:#E0440F;
  --accent-ink:#FFFFFF;
  --accent-glow: rgba(255,90,31,0.34);

  /* theme-dependent helpers */
  --ph-stripe: rgba(22,20,15,0.055);
  --ph-label-bg: rgba(255,255,255,0.65);
  --header-bg: rgba(250,248,245,0.80);
  --shadow-badge: 0 18px 44px -20px rgba(40,30,20,0.24);
  --glow1: rgba(255,90,31,0.10);
  --glow2: rgba(255,90,31,0.05);

  /* type */
  --display: 'Unbounded', system-ui, sans-serif;
  --body:    'Manrope', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  /* layout */
  --maxw: 1320px;
  --gut: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-lg: 26px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

/* grain + ambient glow background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 78% -8%, var(--glow1), transparent 60%),
    radial-gradient(50vw 40vh at 8% 18%, var(--glow2), transparent 55%);
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

section { position: relative; z-index: 1; }

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

.section-head { margin-bottom: clamp(24px, 3vw, 40px); }
.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 8px 0 0;
  text-wrap: balance;
}
.section-title .ac { color: var(--accent); }
.section-sub {
  color: var(--dim);
  max-width: 60ch;
  margin: 18px 0 0;
  font-size: clamp(16px, 1.5vw, 19px);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 24px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s;
  white-space: nowrap;
  position: relative;
  letter-spacing: -0.01em;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 12px 34px -12px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-2);
  box-shadow: 0 20px 48px -14px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--text); background: rgba(255,255,255,0.04); }
.btn-dark {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--line);
}
.btn-dark:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent-2); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 44px);
  height: 76px;
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand .mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--accent);
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brand .mark::after {
  content: "";
  position: absolute;
  width: 13px; height: 13px;
  border: 3px solid var(--accent-ink);
  border-radius: 3px;
  transform: rotate(45deg);
}
.nav { display: flex; align-items: center; gap: clamp(20px, 2.2vw, 34px); flex-shrink: 0; }
.nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--dim);
  position: relative;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

.header-actions {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 14px; }

/* language switch */
.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px;
}
.lang button {
  border: 0;
  background: transparent;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 11px;
  border-radius: 100px;
  transition: color .2s, background .2s;
}
.lang button.active { background: var(--accent); color: var(--accent-ink); }
.lang button:not(.active):hover { color: var(--text); }

.burger { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: clamp(108px, 15vh, 158px);
  padding-bottom: 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 6.6vw, 88px);
  line-height: 0.97;
  letter-spacing: -0.035em;
  margin: 22px 0 0;
  text-wrap: balance;
}
.hero h1 .ac { color: var(--accent); display: inline-block; }
.hero-sub {
  color: var(--dim);
  font-size: clamp(16px, 1.7vw, 20px);
  max-width: 50ch;
  margin: 26px 0 0;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

/* hero visual: stacked placeholder + floating stats */
.hero-visual { position: relative; }
.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--ease-out); }
.hero-visual:hover .hero-photo img { transform: scale(1.04); }
.hero-badge {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 13px 16px;
  box-shadow: var(--shadow-badge);
  backdrop-filter: blur(6px);
}
.hero-badge .n {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  color: var(--accent);
}
.hero-badge .l {
  font-size: 12px;
  color: var(--dim);
  margin-top: 5px;
  font-weight: 600;
}
.hero-badge.b1 { left: -34px; top: 22%; }
.hero-badge.b2 { right: -26px; bottom: 16%; }

/* placeholder pattern */
.ph {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, var(--ph-stripe) 0 12px, transparent 12px 24px),
    var(--surface-2);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 16px;
  position: relative;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px dashed var(--line-2);
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--ph-label-bg);
}

/* hero marquee strip */
.marquee {
  margin-top: clamp(44px, 6vw, 80px);
  border-block: 1px solid var(--line);
  padding-block: 18px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 30px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
  padding-inline: 28px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
}
.marquee-track span::after {
  content: "";
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding-block: clamp(40px, 4.5vw, 64px) clamp(56px, 7vw, 96px); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.svc {
  background: var(--bg);
  min-height: 268px;
  position: relative;
  perspective: 1200px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.svc:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.svc-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform .72s cubic-bezier(.55,.05,.3,1);
}
.svc.flipped .svc-inner { transform: rotateY(180deg); }
.svc-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 34px);
  background: var(--bg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.svc-front { transition: background .35s var(--ease); }
.svc:hover .svc-front { background: var(--surface); }
.svc-front::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.svc:hover .svc-front::before { transform: scaleX(1); }
.svc-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.1em;
}
.svc-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin-top: 18px;
  transition: background .35s, border-color .35s, transform .4s var(--ease);
  color: var(--accent);
}
.svc:hover .svc-icon { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: translateY(-3px); }
.svc-icon svg { width: 22px; height: 22px; }
.svc h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: auto 0 10px;
  padding-top: 24px;
}
.svc p {
  color: var(--dim);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.svc-tap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  transition: color .3s var(--ease);
}
.svc-tap svg { width: 14px; height: 14px; }
.svc:hover .svc-tap { color: var(--accent); }

/* back face */
.svc-back {
  transform: rotateY(180deg);
  padding: 0;
  justify-content: flex-end;
  background: #111;
}
.svc-back-media { position: absolute; inset: 0; }
.svc-back-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-back-media--empty {
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--line);
}
.svc-back-media--empty svg { width: 42%; height: 42%; opacity: .5; }
.svc-back::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.15) 0%, rgba(10,10,10,.55) 52%, rgba(10,10,10,.9) 100%);
}
.svc-back-t, .svc-more { position: relative; z-index: 1; }
.svc-back-t {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #fff;
  padding: 0 clamp(22px, 2.2vw, 30px);
}
.svc-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  margin: 12px clamp(22px, 2.2vw, 30px) clamp(22px, 2.2vw, 30px);
  padding: 11px 17px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s var(--ease), filter .3s var(--ease);
}
.svc-more svg { width: 15px; height: 15px; }
.svc-more:hover { transform: translateX(3px); filter: brightness(1.08); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8,8,8,.94);
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 56px);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-stage { margin: 0; display: grid; gap: 14px; justify-items: center; max-width: min(1180px, 100%); }
.lb-stage img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  background: #fff;
}
.lb-count { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: rgba(255,255,255,.55); }
.lb-close, .lb-nav {
  position: absolute;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .25s var(--ease);
  line-height: 1;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.2); }
.lb-close { top: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px); width: 44px; height: 44px; font-size: 26px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; padding-bottom: 4px; }
.lb-all {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 3vw, 26px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: filter .3s var(--ease), transform .3s var(--ease);
}
.lb-all svg { width: 15px; height: 15px; }
.lb-all:hover { filter: brightness(1.08); transform: translateX(-50%) translateY(-2px); }
.lb-prev { left: clamp(10px, 2vw, 26px); }
.lb-next { right: clamp(10px, 2vw, 26px); }

/* ============================================================
   WHY / advantages
   ============================================================ */
.why { padding-block: clamp(70px, 10vw, 130px); background: var(--bg-2); border-block: 1px solid var(--line); }
.why-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.why-list { display: grid; gap: 0; }
.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  transition: padding-left .35s var(--ease);
}
.why-item:last-child { border-bottom: 1px solid var(--line); }
.why-item:hover { padding-left: 12px; }
.why-k {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  padding-top: 4px;
}
.why-item h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(19px, 2vw, 24px);
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.why-item p { color: var(--dim); margin: 0; font-size: 15px; }
.why-sticky { position: sticky; top: 110px; }
.why-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; border: 1px solid var(--line); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease-out); }
.why-photo:hover img { transform: scale(1.05); }

/* ============================================================
   PROCESS
   ============================================================ */
.process { padding-block: clamp(70px, 10vw, 130px); }
.steps {
  margin-top: clamp(36px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step {
  background: var(--bg);
  padding: clamp(26px, 2.6vw, 40px);
  position: relative;
  transition: background .35s;
  min-height: 200px;
}
.step:hover { background: var(--surface); }
.step-n {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--surface-2);
  -webkit-text-stroke: 1px var(--line-2);
  transition: color .35s, -webkit-text-stroke-color .35s;
}
.step:hover .step-n { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.step h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  margin: 20px 0 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* ============================================================
   CLIENTS
   ============================================================ */
.clients { padding-block: clamp(70px, 10vw, 120px); background: var(--bg-2); border-block: 1px solid var(--line); }
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(30px, 4vw, 48px);
}
.client-chip {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  padding: 14px 26px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  color: var(--dim);
  transition: color .3s, border-color .3s, background .3s, transform .3s var(--ease);
}
.client-chip:hover {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px) rotate(-1.5deg);
}

/* ---------- logo board ---------- */
.logos-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin: clamp(48px, 6vw, 76px) 0 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.logos-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.logo-marquee {
  margin-top: 26px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logo-scroll 46s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-cell {
  flex: 0 0 auto;
  width: clamp(150px, 15vw, 210px);
  height: 92px;
  display: grid;
  place-items: center;
  padding: 0 clamp(18px, 2.2vw, 34px);
}
.logo-cell img {
  max-width: 100%;
  max-height: 42px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .5;
  transition: filter .35s var(--ease), opacity .35s var(--ease);
}
.logo-cell:hover img { filter: grayscale(0); opacity: 1; }
@keyframes logo-scroll { to { transform: translateX(-50%); } }

/* ============================================================
   CTA + FORM
   ============================================================ */
.contact { padding-block: clamp(70px, 10vw, 130px); }
.contact-card {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(255,90,31,0.16), transparent 55%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.contact-card h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 18px 0 0;
  text-wrap: balance;
}
.contact-card .lead { color: var(--dim); margin: 20px 0 0; max-width: 44ch; }
.contact-alt { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 30px; }
.contact-alt a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  transition: color .2s;
  white-space: nowrap;
}
.contact-alt a svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.contact-alt a:hover { color: var(--accent-2); }
.contact-alt a span.k { color: var(--faint); font-family: var(--mono); font-size: 12px; min-width: 78px; }

/* form */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.field input, .field textarea {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--body);
  font-size: 15.5px;
  padding: 14px 16px;
  transition: border-color .25s, background .25s;
  width: 100%;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-2);
}
.form .btn-primary { justify-content: center; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--faint); text-align: center; margin: 4px 0 0; }
.form-ok {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-ok.show { display: block; }
.form-ok .check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid; place-items: center;
  margin: 0 auto 18px;
}
.form-ok h3 { font-family: var(--display); font-weight: 700; margin: 0 0 8px; }
.form-ok p { color: var(--dim); margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding-block: clamp(48px, 6vw, 80px) 36px; border-top: 1px solid var(--line); }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-brand { max-width: 34ch; }
.footer-brand p { color: var(--dim); font-size: 14.5px; margin: 14px 0 0; }
.footer-cols { display: flex; gap: clamp(40px, 6vw, 90px); flex-wrap: wrap; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 16px;
}
.footer-col a { display: block; color: var(--dim); font-size: 14.5px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--faint);
  font-family: var(--mono);
}

/* ============================================================
   reveal animation
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
}
[data-reveal].in {
  animation: reveal .72s var(--ease-out) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes reveal { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; animation: none !important; }
  .marquee-track { animation: none; }
  .logo-track { animation: none; }
  .svc-inner { transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1240px) {
  .nav { display: none; }
  .burger {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: 11px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
  }
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .why-layout { grid-template-columns: 1fr; }
  .why-sticky { position: static; }
  .why-sticky .why-photo { display: none; }
  .contact-card { grid-template-columns: 1fr; }
  .header-actions .btn-primary { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .svc { min-height: 250px; }
  .lb-nav { width: 42px; height: 42px; font-size: 24px; }
  .logo-cell { width: clamp(126px, 38vw, 160px); height: 74px; padding: 0 16px; }
  .logo-cell img { max-height: 34px; }
  .steps { grid-template-columns: 1fr; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .nav-mobile.open { display: flex; }
}

/* mobile nav drawer */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  z-index: 49;
  background: var(--bg);
  flex-direction: column;
  padding: 30px var(--gut);
  gap: 6px;
  border-top: 1px solid var(--line);
}
.nav-mobile a {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.nav-mobile .btn-primary { margin-top: 20px; justify-content: center; }
