/* ============================================================
   KAZAKHWEB — site.css
   Editorial / Swiss-inspired studio identity
   ============================================================ */

:root {
  --paper:      #F5F3EE;
  --paper-2:    #EDE9E0;
  --paper-3:    #FFFFFF;
  --ink:        #0E1114;
  --ink-2:      #171B20;
  --ink-3:      #242A31;
  --muted:      #6C7076;
  --muted-2:    #9A9Ea4;
  --line:       #D9D3C6;
  --line-dark:  rgba(255,255,255,.13);
  --accent:     #D8481F;
  --accent-2:   #F2622E;
  --ok:         #1F7A4D;

  --r-sm: 2px;
  --r-md: 4px;
  --r-pill: 999px;

  --font-display: "Golos Text", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Golos Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 1280px;
  --pad: 32px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow-x: hidden;
  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; }
button { font: inherit; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- type ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.02;
}

.h-display { font-size: clamp(2.5rem, 6.2vw, 5.5rem); line-height: .98; }
.h1        { font-size: clamp(2rem, 4.2vw, 3.6rem); }
.h2        { font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.06; }
.h3        { font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.2; letter-spacing: -0.01em; }

.lead {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.55;
  color: var(--ink-2);
}

.muted { color: var(--muted); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.eyebrow--plain::before { display: none; }

.section-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245,243,238,.86);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .13em;
  white-space: nowrap;
}
.brand small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted);
  text-transform: lowercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13.5px;
}
.nav a {
  position: relative;
  color: var(--ink-2);
  padding: 6px 0;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right .28s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { right: 0; }
.nav a.is-active { color: var(--ink); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 3px;
  background: rgba(255,255,255,.5);
}
.lang-switch a {
  padding: 6px 10px;
  border-radius: var(--r-pill);
  color: var(--muted);
  transition: color .2s, background .2s;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.is-active { background: var(--ink); color: var(--paper); }
.lang-switch .lg-short { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn--sm { min-height: 38px; padding: 0 18px; font-size: 13px; }

.btn--wide { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .25s, gap .25s var(--ease);
}
.link-arrow:hover { border-color: currentColor; gap: 16px; }
.link-arrow .ar {
  display: inline-block;
  font-family: var(--font-body);
  transition: transform .3s var(--ease);
}
.link-arrow:hover .ar { transform: translateX(2px); }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
}
.burger span {
  display: block; width: 18px; height: 1.5px; background: var(--ink);
  position: relative;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), top .3s;
}
.burger span::before { top: -5px; }
.burger span::after  { top: 5px; }

/* ---------- hero ---------- */

.hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.hero__title {
  margin: 20px 0 18px;
}
.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  color: var(--ink-2);
  max-width: 34ch;
}
.hero__body {
  margin-top: 26px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.62;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero__panel {
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper-3);
  padding: 26px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero__panel::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 320px; height: 320px;
  background: radial-gradient(circle at 30% 30%, rgba(216,72,31,.22), transparent 70%);
  filter: blur(4px);
}
.hero__panel-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
}
.hero__panel-word {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: .9;
  letter-spacing: -.03em;
  writing-mode: horizontal-tb;
}
.hero__panel-word span { display: block; }
.hero__panel-meta {
  position: relative;
  display: grid;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.hero__stats {
  display: flex;
  gap: clamp(24px, 5vw, 64px);
  margin-top: clamp(38px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.hero__stat span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- generic section ---------- */

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--line { border-bottom: 1px solid var(--line); }
.section--dark {
  background: var(--ink);
  color: var(--paper);
}
.section--dark .muted { color: rgba(245,243,238,.62); }
.section--dark .eyebrow { color: rgba(245,243,238,.62); }
.section--dark .site-num { color: rgba(245,243,238,.62); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head__title { max-width: 22ch; }

/* ---------- cards ---------- */

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.case-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper-3);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s;
}
.case-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.case-card__visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: #fff;
}
.case-card__visual .num {
  position: absolute;
  top: 16px; left: 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: rgba(255,255,255,.72);
}
.case-card__visual .glyph {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: -.03em;
  line-height: .92;
  text-transform: uppercase;
}
.case-card__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 22px 24px;
  border-top: 1px solid var(--line);
}
.case-card__body h3 { font-size: 17px; margin-bottom: 8px; }
.case-card__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.case-card__arrow {
  flex: none;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .3s, color .3s, border-color .3s;
}
.case-card:hover .case-card__arrow { background: var(--accent); border-color: var(--accent); color: #fff; }

/* visuals: gradient art per item */
.v-a { background: linear-gradient(135deg, #1B2A3A 0%, #101820 60%), #101820; }
.v-b { background: linear-gradient(135deg, #3C2A22 0%, #191310 65%), #191310; }
.v-c { background: linear-gradient(135deg, #22322A 0%, #0E1512 65%), #0E1512; }
.v-d { background: linear-gradient(135deg, #33232E 0%, #1A1218 65%), #1A1218; }
.v-a::after, .v-b::after, .v-c::after, .v-d::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 64px);
  mix-blend-mode: screen;
  opacity: .7;
}
.v-a::before, .v-b::before, .v-c::before, .v-d::before {
  content: "";
  position: absolute;
  width: 42%; aspect-ratio: 1;
  right: -8%; top: -12%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(216,72,31,.55), transparent 68%);
  filter: blur(2px);
}

/* ---------- numbered type columns ---------- */

.type-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.type-col {
  padding: 30px 24px 34px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background .3s;
}
.type-col:last-child { border-right: 0; }
.type-col:hover { background: var(--paper-3); }
.type-col .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
}
.type-col h3 { font-size: 20px; }
.type-col p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---------- two col text ---------- */

.text-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
}
.text-split__body { display: grid; gap: 18px; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.text-split__body p { margin: 0; }

/* ---------- platform links ---------- */

.platform-links {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 26px;
}
.platform-link {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 11px 18px;
  font-size: 14px;
  transition: background .25s, border-color .25s, color .25s;
}
.platform-link:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- service cards ---------- */

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper-3);
  min-height: 250px;
  transition: transform .35s var(--ease), border-color .35s;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.service-card h3 { font-size: 21px; margin-bottom: 10px; }
.service-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.service-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); padding-top: 16px;
}
.service-card__foot .link-arrow { font-size: 13px; }

/* ---------- service list rows ---------- */

.service-rows { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.2fr) 44px;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: background .3s, padding .3s var(--ease);
}
.service-row:hover { background: var(--paper-3); padding-left: 12px; padding-right: 12px; }
.service-row .idx {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted);
}
.service-row h3 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.service-row p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.service-row .go { justify-self: end; font-size: 18px; line-height: 1; width: 44px; height: 44px; align-items: center; justify-content: flex-end; }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.step {
  background: var(--ink);
  padding: 28px 24px 34px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 240px;
  transition: background .35s;
}
.step:hover { background: var(--ink-2); }
.step .num {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .16em;
  color: var(--accent-2);
}
.step h3 { font-size: 18px; line-height: 1.2; }
.step p { margin: 0; font-size: 13.5px; line-height: 1.6; color: rgba(245,243,238,.68); }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.contact-info { display: grid; gap: 22px; margin-top: 32px; }
.contact-info__item { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.contact-info__label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(245,243,238,.55); }
.contact-info__value { font-size: 17px; }
.contact-info__value a:hover { color: var(--accent-2); }

.messengers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.messenger {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--paper);
  transition: background .25s, border-color .25s;
}
.messenger:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- form ---------- */

.lead-form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,243,238,.66);
}
.field label .req { color: var(--accent-2); }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 0 12px;
  min-height: 44px;
  outline: none;
  transition: border-color .25s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(245,243,238,.4); }
.field input:focus, .field textarea:focus { border-color: var(--accent-2); }
.field textarea { resize: vertical; min-height: 92px; }
.field.has-error input, .field.has-error textarea { border-color: #FF7A50; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(245,243,238,.78);
  cursor: pointer;
  min-height: 44px;
  padding-top: 4px;
}
.check input {
  appearance: none;
  width: 20px; height: 20px; flex: none;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  position: relative;
  margin-top: 2px;
}
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after {
  content: "";
  position: absolute; left: 6px; top: 2px;
  width: 5px; height: 10px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(40deg);
}
.check a { text-decoration: underline; text-underline-offset: 3px; }

.form-note { font-size: 12px; color: rgba(245,243,238,.5); }
.form-alert {
  display: none;
  padding: 14px 16px;
  border: 1px solid var(--line-dark);
  font-size: 13.5px;
  line-height: 1.5;
}
.form-alert.is-error { display: block; color: #FFB39B; border-color: rgba(255,122,80,.45); }
.form-alert.is-success {
  display: block;
  color: #C9F2DC;
  border-color: rgba(120,220,170,.35);
  background: rgba(40,120,80,.12);
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(44px, 6vw, 72px) 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .8fr));
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .brand { color: var(--paper); }
.footer-brand .brand small { color: rgba(245,243,238,.5); }
.footer-brand p { margin: 18px 0 0; color: rgba(245,243,238,.6); font-size: 13.5px; max-width: 34ch; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(245,243,238,.5); font-weight: 400; margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { font-size: 14px; color: rgba(245,243,238,.85); }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding-top: 22px;
  font-size: 12px;
  color: rgba(245,243,238,.5);
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- article ---------- */

.article-head { max-width: 62ch; }
.article-head h1 { font-size: clamp(1.9rem, 4vw, 3.2rem); margin: 18px 0 16px; }
.article-meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.article-body {
  max-width: 68ch;
  margin-top: clamp(28px, 4vw, 48px);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-2);
}
.article-body p { margin: 0 0 18px; }
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 34px 0 12px;
  letter-spacing: -.01em;
}
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 20px; }
.article-body li { margin-bottom: 8px; }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- detail hero / case ---------- */

.detail-hero {
  padding: clamp(40px, 6vw, 84px) 0 clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}
.detail-hero h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); margin: 18px 0 18px; max-width: 26ch; }
.detail-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.detail-facts .k {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 6px;
}
.detail-facts .v { font-size: 15px; }

/* ---------- cta band ---------- */

.cta-band {
  border: 1px solid var(--line);
  background: var(--paper-3);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); max-width: 24ch; }

/* ---------- misc ---------- */

.pill {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 7px 12px;
  color: var(--muted);
}

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1100px) {
  :root { --pad: 24px; }
  .nav { gap: 18px; font-size: 13px; }
  .service-row { grid-template-columns: 48px minmax(0, 1fr) 44px; }
  .service-row p { display: none; }
}

@media (max-width: 960px) {
  .nav, .header-tools .btn { display: none; }
  .burger { display: inline-flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { min-height: 240px; order: 0; }
  .cards-3, .cards-4, .steps, .type-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .type-col { border-bottom: 1px solid var(--line); }
  .detail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --pad: 20px; }
  .header-tools .lang-switch { display: flex; }
  .lang-switch .lg-long { display: none; }
  .lang-switch .lg-short { display: inline; }
  .header-tools .lang-switch a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 11px; font-size: 11px; }
  .site-header__inner { gap: 10px; height: 64px; }
  .brand { font-size: 15px; letter-spacing: .1em; }
  .brand small { display: none; }
  .hero__title { font-size: clamp(2rem, 11.5vw, 3rem); line-height: 1.02; }
  .hero__panel { padding: 20px; min-height: 200px; }
  .hero__panel-word { font-size: clamp(2.4rem, 13vw, 3.4rem); }
  .hero__panel-meta { font-size: 10px; letter-spacing: .08em; }
  .cards-2, .cards-3, .cards-4, .steps, .type-cols, .contact-grid, .text-split { grid-template-columns: 1fr; }
  .steps { background: transparent; border: 0; gap: 0; }
  .step { min-height: 0; border-bottom: 1px solid var(--line-dark); }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .case-card__visual { aspect-ratio: 4 / 3; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .article-body { font-size: 16px; }
  .hero__stats { gap: 22px; }
  .hero__stat { min-width: 45%; }
}

@media (max-width: 400px) {
  .brand { font-size: 15px; }
  .hero__actions .btn { width: 100%; }
  .hero__actions { gap: 14px; }
}

/* ---------- mobile drawer ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 100;
  display: none;
  flex-direction: column;
  padding: 22px var(--pad) 32px;
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.mobile-menu__close {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--r-sm);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mobile-menu li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
}
.mobile-menu .mobile-menu__cta { margin-top: 24px; }
.mobile-menu .lang-switch { margin-top: 22px; align-self: flex-start; }

body.menu-open { overflow: hidden; }

/* ---------- admin-independent: alpine not used ---------- */
