/* ================= BAGGINGAR — DARK INDUSTRIAL ================= */
:root {
  --bg: #0c0b09;
  --surface: #15130f;
  --surface-2: #1d1a15;
  --line: #2a2620;
  --line-strong: #3a342b;
  --text: #f1ece1;
  --mute: #8a857a;
  --mute-2: #62605a;
  --accent: #d97757;
  --accent-ink: #1a0e08;
  --max: 1440px;
  --pad: clamp(20px, 4vw, 56px);
  --rule: 1px solid var(--line);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(217,119,87,0.05), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(217,119,87,0.025), transparent 70%);
}

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

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-feature-settings: "ss01"; }
.h-display { font-family: 'Unbounded', sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 0.95; }
.h-strong  { font-family: 'Unbounded', sans-serif; font-weight: 600; letter-spacing: -0.01em; line-height: 1.05; }
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ================= LAYOUT ================= */
.shell { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.full  { padding-inline: var(--pad); }

.rule  { border-top: var(--rule); }
.rule-b { border-bottom: var(--rule); }

/* ================= NAV ================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 11, 9, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: var(--rule);
}
.nav-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.nav-row > .brand { grid-column: 1; justify-self: start; }
.nav-row > .nav-links { grid-column: 2; }
.nav-row > .btn { grid-column: 3; justify-self: end; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 4px;
  background: var(--accent);
  position: relative;
  display: grid; place-items: center;
  color: var(--accent-ink);
  font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 14px;
}
.brand-name {
  font-family: 'Unbounded', sans-serif; font-weight: 700;
  letter-spacing: 0.06em; font-size: 15px;
}
.brand-meta { color: var(--mute); font-size: 12px; }

.nav-links { display: flex; gap: 28px; justify-content: center; }
.nav-links a {
  font-size: 14px; color: var(--text);
  position: relative; padding: 4px 0;
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  height: 1px; width: 0; background: var(--accent);
  transition: width .25s;
}
.nav-links a:hover::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; font-size: 14px;
  border: 1px solid var(--line-strong);
  background: transparent; color: var(--text);
  transition: all .2s;
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  cursor: pointer;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn:disabled { opacity: .65; cursor: wait; }
.btn:disabled:hover { border-color: var(--line-strong); color: inherit; }
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  border-color: var(--accent);
  font-weight: 600;
}
.btn-primary:hover { background: #e88865; border-color: #e88865; color: var(--accent-ink); }
.btn-lg { padding: 16px 26px; font-size: 15px; }
.btn .arrow { display: inline-block; transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ================= TICKER ================= */
.ticker {
  display: flex; gap: 48px;
  padding: 10px var(--pad);
  border-bottom: var(--rule);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.06em;
  overflow: hidden;
  white-space: nowrap;
}
.ticker span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

/* ================= HERO ================= */
.hero { padding-block: clamp(40px, 7vw, 88px); position: relative; }

/* Hero common label */
.hero-label {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--mute); letter-spacing: 0.1em; text-transform: uppercase;
}

/* HERO V1 — Typographic + wood panel */
.hero-v1 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; }
.hero-v1 h1 { font-size: clamp(56px, 9vw, 132px); margin: 24px 0 32px; }
.hero-v1 h1 .accent { color: var(--accent); font-style: italic; font-weight: 500; }
.hero-v1 .lead { color: var(--mute); font-size: 18px; max-width: 38ch; }
.hero-v1 .panel { aspect-ratio: 3/4; }
.hero-v1 .cta-row { display: flex; gap: 16px; margin-top: 40px; }

/* HERO V2 — Full-bleed image */
.hero-v2 { position: relative; min-height: 80vh; display: grid; align-items: end; }
.hero-v2 .bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-v2 .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,11,9,0.4) 0%, rgba(12,11,9,0.95) 80%);
}
.hero-v2-content { position: relative; z-index: 1; max-width: 900px; padding-block: 80px; }
.hero-v2 h1 { font-size: clamp(48px, 7.5vw, 108px); margin: 24px 0; }
.hero-v2 .lead { font-size: 18px; color: var(--mute); max-width: 50ch; }
.hero-v2 .cta-row { display: flex; gap: 16px; margin-top: 40px; }

/* HERO V3 — Stacked: heading → stats row → CTAs */
.hero-v3 { display: block; }
.hero-v3-inner { display: flex; flex-direction: column; gap: 48px; max-width: 1100px; }
.hero-v3-head { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero-v3 h1 { font-size: clamp(36px, 4.8vw, 64px); margin: 0; }
.hero-v3 .lead { font-size: 16px; color: var(--mute); max-width: 52ch; margin: 0; }
.hero-v3 .stats-pane {
  border: var(--rule);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
}
.hero-v3 .stat-cell {
  background: var(--surface);
  padding: 18px 20px;
  display: flex; flex-direction: column;
  gap: 8px;
  min-height: 92px;
}
.hero-v3 .stat-num {
  font-family: 'Unbounded', sans-serif; font-weight: 700;
  font-size: clamp(28px, 2.8vw, 38px); color: var(--text);
  line-height: 1;
}
.hero-v3 .stat-num .unit { color: var(--accent); font-weight: 500; font-size: 0.45em; margin-left: 4px; }
.hero-v3 .stat-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px;}
.hero-v3 .cta-row { display: flex; gap: 16px; margin-top: 8px; }

/* ================= PLACEHOLDER IMAGE ================= */
.ph {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: var(--rule);
}
.ph svg { width: 100%; height: 100%; display: block; }
.ph .ph-caption {
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--mute); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 9px;
  background: rgba(12, 11, 9, 0.7);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
}

/* ================= SECTION ================= */
.section { padding-block: clamp(56px, 8vw, 110px); }
.section-head {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 24px; align-items: baseline;
  padding-bottom: 32px;
  border-bottom: var(--rule);
  margin-bottom: 48px;
}
.section-num { font-family: 'JetBrains Mono', monospace; color: var(--accent); font-size: 13px; letter-spacing: 0.08em; }
.section-title { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: clamp(28px, 3.5vw, 44px); letter-spacing: -0.01em; }
.section-aside { color: var(--mute); font-size: 13px; max-width: 320px; text-align: right; }

/* ================= ABOUT ================= */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.about p { font-size: 16px; color: #cdc9bf; line-height: 1.6; margin: 0 0 16px;}
.about .lead-para { font-size: 20px; color: var(--text); line-height: 1.4; font-weight: 500; margin-bottom: 24px; }
.about-side .meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: var(--rule); }
.about-side .meta-cell { background: var(--bg); padding: 20px; }
.about-side .meta-cell .k { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.1em; }
.about-side .meta-cell .v { margin-top: 6px; font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 24px; color: var(--text); }
.about-side .meta-cell .v .unit { color: var(--accent); font-size: 14px; font-weight: 400; margin-left: 4px; }
.about-side .ph { aspect-ratio: 4/3; }

/* ================= SERVICES ================= */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: var(--rule); }
.service {
  background: var(--bg);
  padding: 40px;
  position: relative;
  min-width: 0;
  min-height: 480px;
  display: flex; flex-direction: column;
  transition: background .25s;
}
.service:hover { background: var(--surface); }
.service-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--accent); letter-spacing: 0.12em;
  text-transform: uppercase;
}
.service h3 {
  font-family: 'Unbounded', sans-serif; font-weight: 600;
  font-size: clamp(28px, 3vw, 40px); margin: 16px 0 20px;
  letter-spacing: -0.01em; line-height: 1.05;
}
.service p { color: var(--mute); max-width: 42ch; line-height: 1.6; }
.service-list {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-direction: column;
}
.service-list li {
  padding: 16px 0;
  display: grid; grid-template-columns: 32px 1fr auto;
  gap: 12px; align-items: center;
  font-size: 15px;
  border-top: var(--rule);
  cursor: pointer;
  transition: padding-left .25s ease, color .25s ease;
}
.service-list li:last-child { border-bottom: var(--rule); }
.service-list .ix {
  color: var(--mute); font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  transition: color .25s ease;
}
.service-list .arr {
  color: var(--mute-2);
  transition: transform .3s ease, color .25s ease;
  display: inline-block;
}
.service-list li:hover {
  padding-left: 8px;
  color: var(--accent);
}
.service-list li:hover .ix { color: var(--accent); }
.service-list li:hover .arr {
  transform: translateX(6px);
  color: var(--accent);
}
.service-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 0 0; align-self: flex-start;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase;
  background: none; border: 0; cursor: pointer;
  transition: gap .25s;
}
.service-link:hover { gap: 16px; }

/* ================= PROCESS ================= */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: var(--rule);}
.step { background: var(--bg); padding: 28px 22px; min-height: 280px; display: flex; flex-direction: column; transition: background .25s; }
.step:hover { background: var(--surface); }
.step .num { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 44px; color: var(--accent); line-height: 1; margin-bottom: 24px; }
.step h4 { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 18px; margin: 0 0 12px; line-height: 1.2; }
.step p { color: var(--mute); font-size: 14px; line-height: 1.55; }
.step .duration { margin-top: auto; padding-top: 24px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--mute); letter-spacing: 0.08em; }

/* ================= CAREERS ================= */
.careers-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 48px; }
.careers-intro p { color: var(--mute); font-size: 16px; line-height: 1.6;}
.careers-intro .perks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.perk-item { padding: 16px 0; border-top: var(--rule); }
.perk-item .k { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.perk-item .v { font-size: 15px; color: var(--text); }

.vacancies { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: var(--rule);}
.vacancy {
  background: var(--bg);
  padding: 24px 32px;
  display: grid; grid-template-columns: 56px 1.8fr 1.2fr 0.8fr auto;
  align-items: center; gap: 24px;
  transition: background .2s;
  cursor: pointer;
}
.vacancy:hover { background: var(--surface); }
.vacancy .v-ix { font-family: 'JetBrains Mono', monospace; color: var(--mute); font-size: 12px; }
.vacancy .v-title { font-family: 'Unbounded', sans-serif; font-weight: 500; font-size: 18px; line-height: 1.25; }
.vacancy .v-meta { font-family: 'JetBrains Mono', monospace; color: var(--mute); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.vacancy .v-salary { font-size: 14px; color: var(--text); white-space: nowrap; }
.vacancy .v-cta { color: var(--accent); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; white-space: nowrap; }
.vacancy:hover .v-cta { color: #e88865; }

/* ================= CONTACT ================= */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact-info .info-block { padding: 24px 0; border-top: var(--rule); }
.contact-info .info-block:last-child { border-bottom: var(--rule); }
.contact-info .k { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--mute); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.contact-info .v { font-size: 18px; color: var(--text); }
.contact-info .v a:hover { color: var(--accent); }

.map-wrap { margin-top: 32px; aspect-ratio: 4/3; border: var(--rule); position: relative; overflow: hidden; }
.map-wrap svg { width: 100%; height: 100%; }
.map-pin {
  position: absolute;
  top: 42%; left: 56%;
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 0 0 4px rgba(217,119,87,0.2);
  animation: pinpulse 2s infinite;
}
@keyframes pinpulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(217,119,87,0.2); }
  50% { box-shadow: 0 0 0 12px rgba(217,119,87,0); }
}
.map-label {
  position: absolute; top: 42%; left: 56%;
  transform: translate(-50%, 8px);
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  background: var(--bg); padding: 4px 8px; border: 1px solid var(--accent);
  color: var(--text); letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ================= FORM ================= */
.form { background: var(--surface); border: var(--rule); padding: 36px; transition: box-shadow .4s, border-color .4s; }
.form.highlight { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 40px rgba(217,119,87,0.15); }
.form h3 { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 24px; margin: 0 0 8px; letter-spacing: -0.01em;}
.form .form-sub { color: var(--mute); font-size: 14px; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 16px; position: relative;}
.field label {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--mute); margin-bottom: 6px;
}
.field label .req { color: var(--accent); margin-left: 2px;}
.field input, .field textarea, .field select {
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong);
  padding: 10px 0;
  color: var(--text); font-family: 'Onest', sans-serif; font-size: 15px;
  transition: border-color .2s;
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-bottom-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 80px; }
.field.error input, .field.error textarea, .field.error select { border-bottom-color: #e85e3a; }
.field .err-msg { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #e85e3a; margin-top: 6px; }
/* ================= CUSTOM SELECT ================= */
.cselect { position: relative; }
.cselect-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong);
  color: var(--text); font-family: 'Onest', sans-serif; font-size: 15px;
  text-align: left; cursor: pointer;
  transition: border-color .2s;
}
.cselect.is-open .cselect-trigger { border-bottom-color: var(--accent); }
.cselect-caret {
  color: var(--mute); font-family: 'JetBrains Mono', monospace;
  transition: transform .25s ease;
}
.cselect.is-open .cselect-caret { transform: rotate(180deg); color: var(--accent); }
.cselect-menu {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  z-index: 30;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  max-height: 260px; overflow-y: auto;
  display: flex; flex-direction: column;
  animation: csOpen .18s ease-out;
}
@keyframes csOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.cselect-opt {
  display: block; width: 100%; text-align: left;
  padding: 12px 16px;
  background: transparent; border: 0;
  color: var(--text); font-family: 'Onest', sans-serif; font-size: 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  transition: background .15s, color .15s, padding-left .15s;
}
.cselect-opt:last-child { border-bottom: 0; }
.cselect-opt:hover {
  background: var(--surface);
  color: var(--accent);
  padding-left: 22px;
}
.cselect-opt.is-selected {
  color: var(--accent);
  background: rgba(217, 119, 87, 0.06);
}
.cselect-opt.is-selected::before {
  content: "→ "; color: var(--accent);
}
.cselect-menu::-webkit-scrollbar { width: 6px; }
.cselect-menu::-webkit-scrollbar-thumb { background: var(--line-strong); }
.field .select-wrap { position: relative; }
.field .select-wrap::after {
  content: "↓"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--mute); font-family: 'JetBrains Mono', monospace;
}

.form-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 20px; border-top: var(--rule); }
.form-foot .privacy { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: var(--mute-2); max-width: 55%; line-height: 1.5; letter-spacing: 0.04em;}

.form-success {
  background: var(--surface); border: 1px solid var(--accent);
  padding: 48px 36px; text-align: center;
}
.form-success .ok-mark {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; margin: 0 auto 20px;
  font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 28px;
}
.form-success h3 { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 24px; margin-bottom: 12px;}
.form-success p { color: var(--mute); margin-bottom: 24px;}

/* ================= FOOTER ================= */
.footer-link-btn {
  font: inherit; color: var(--text);
  background: none; border: 0; padding: 0;
  cursor: pointer; text-align: left;
  transition: color .2s;
}
.footer-link-btn:hover { color: var(--accent); }

.footer { border-top: var(--rule); padding-block: 56px 32px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px;}
.footer h5 { font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--mute); margin: 0 0 16px;}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px;}
.footer ul a:hover { color: var(--accent); }
.footer .mega { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: clamp(56px, 11vw, 160px); letter-spacing: -0.03em; line-height: 0.85; color: var(--surface-2); margin-top: 32px; overflow: hidden; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: var(--rule); font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--mute); letter-spacing: 0.06em; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .hero-v1, .about, .contact, .careers-intro { grid-template-columns: 1fr; gap: 40px;}
  .hero-v3 .stats-pane { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .vacancy { grid-template-columns: 1fr; gap: 8px;}
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-row { grid-template-columns: auto auto; justify-content: space-between; gap: 12px; }
  .nav-links { display: none;}
  .nav-row > .btn { grid-column: 2; }
}
@media (max-width: 600px) {
  .nav-row { height: 72px; }
  .nav-row > .btn { padding-inline: 14px; min-width: 0; }
  .nav-row > .btn .arrow { display: none; }
  .hero-v3 h1 { font-size: clamp(31px, 9vw, 36px); overflow-wrap: anywhere; }
  .service { padding: 28px 22px; min-height: 0; }
  .service h3 { font-size: clamp(24px, 8vw, 30px); overflow-wrap: anywhere; }
  .process { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .section-aside { text-align: left;}
}

/* ================= COOKIE BANNER ================= */
.cookie-banner {
  position: fixed; left: 24px; right: 24px; bottom: 24px;
  z-index: 100;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  animation: cookieIn .35s ease-out;
  max-width: 920px; margin: 0 auto;
}
@keyframes cookieIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 32px;
  padding: 22px 26px; align-items: center;
}
.cookie-banner-eyebrow {
  font-size: 10px; letter-spacing: 0.14em; color: var(--accent);
  margin-bottom: 8px;
}
.cookie-banner-text { font-size: 14px; line-height: 1.5; color: var(--text); max-width: 60ch; }
.cookie-banner-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-link {
  background: none; border: 0; padding: 0;
  color: var(--accent); text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer;
  font: inherit;
  display: inline;
}
.cookie-link:hover { color: #e88865; }
.cookie-settings {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.cookie-category {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: rgba(12, 11, 9, .55);
  border: var(--rule);
}
.cookie-category-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
}
.cookie-category-text {
  margin-top: 4px;
  color: var(--mute);
  font-size: 13px;
  line-height: 1.45;
}
.cookie-toggle {
  width: 48px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  padding: 3px;
  transition: background .2s, border-color .2s;
}
.cookie-toggle span {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mute);
  transition: transform .2s, background .2s;
}
.cookie-toggle[data-on="1"] {
  background: rgba(217,119,87,.25);
  border-color: var(--accent);
}
.cookie-toggle[data-on="1"] span {
  transform: translateX(20px);
  background: var(--accent);
}
.cookie-toggle:disabled {
  cursor: not-allowed;
  opacity: .8;
}

/* ================= MODAL ================= */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: 24px;
  animation: fadeIn .2s ease-out;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  width: 100%; max-width: 800px;
  max-height: 90vh;
  display: flex; flex-direction: column;
  animation: modalIn .3s ease-out;
}
@keyframes modalIn {
  from { transform: translateY(20px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px;
  padding: 32px 36px 24px;
  border-bottom: var(--rule);
}
.modal-eyebrow {
  font-size: 10px; letter-spacing: 0.14em;
  color: var(--accent); text-transform: uppercase;
  margin-bottom: 12px;
}
.modal-title {
  font-family: 'Unbounded', sans-serif; font-weight: 600;
  font-size: 26px; letter-spacing: -0.01em; line-height: 1.2; margin: 0;
}
.modal-close {
  width: 38px; height: 38px;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-size: 14px; color: var(--mute);
  transition: all .2s; cursor: pointer; flex-shrink: 0;
}
.modal-close:hover { border-color: var(--accent); color: var(--accent); }

.modal-body {
  padding: 28px 36px;
  overflow-y: auto;
  font-size: 14px; line-height: 1.65; color: #d8d4c9;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-thumb { background: var(--line-strong); }
.modal-body .lead-p {
  font-size: 16px; color: var(--text); margin: 0 0 28px;
  padding-bottom: 24px; border-bottom: var(--rule); line-height: 1.55;
}
.modal-body h3 {
  font-family: 'JetBrains Mono', monospace; font-weight: 500;
  font-size: 12px; color: var(--accent); letter-spacing: 0.1em;
  text-transform: uppercase; margin: 28px 0 12px;
}
.modal-body p { margin: 0 0 14px; }
.modal-body ul { margin: 0 0 14px; padding-left: 20px; }
.modal-body ul li { margin-bottom: 8px; }
.modal-body a { color: var(--accent); text-underline-offset: 3px; }
.modal-body a:hover { text-decoration: underline; }
.modal-body b { color: var(--text); font-weight: 600; }

.modal-foot {
  padding: 16px 36px;
  border-top: var(--rule);
  font-size: 10px; color: var(--mute-2); letter-spacing: 0.1em;
}

/* ================= APPLY MODAL ================= */
.apply-meta {
  margin-top: 12px;
  font-size: 11px; color: var(--mute);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.apply-foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  padding: 20px 36px;
}
.apply-foot .privacy {
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  color: var(--mute-2); max-width: 50%; line-height: 1.5; letter-spacing: 0.04em;
}
.file-drop {
  display: block;
  border: 1px dashed var(--line-strong);
  padding: 22px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  margin-top: 4px;
}
.file-drop:hover { border-color: var(--accent); background: rgba(217,119,87,0.03); }
.file-drop-inner {
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; color: var(--text);
}
.file-icon {
  width: 32px; height: 32px;
  background: var(--surface); border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--accent); font-family: 'Unbounded', sans-serif; font-weight: 700;
  flex-shrink: 0;
}
.file-name { font-weight: 500; }
.file-size, .file-hint {
  font-size: 11px; color: var(--mute); letter-spacing: 0.06em;
  margin-left: auto;
}

@media (max-width: 700px) {
  .cookie-banner-inner { grid-template-columns: 1fr; gap: 16px; }
  .cookie-banner-actions { flex-direction: column-reverse; }
  .cookie-banner-actions .btn { width: 100%; justify-content: center; }
  .modal-head, .modal-body, .modal-foot { padding-inline: 22px; }
  .modal-title { font-size: 20px; }
  .apply-foot { flex-direction: column; align-items: stretch; }
  .apply-foot .privacy { max-width: none; }
  .apply-foot .btn { width: 100%; justify-content: center; }
}
