/* ═══════════════════════════════════════════════════════
   Química y Medioambiente — v2 · editorial / press
   ═══════════════════════════════════════════════════════ */

:root {
  /* paper palette */
  --paper:     #ECE6D6;   /* deeper warm bone */
  --paper-2:   #E2DBC8;   /* card / aside */
  --paper-3:   #F4F0E2;   /* lightest */
  --ink:       #15170F;   /* near-black, slight green */
  --ink-2:     #2F3329;
  --ink-3:     #5A5E50;
  --rule:      #BBB29A;
  --rule-2:    #D2C9B0;

  /* accents */
  --olive:     #2C3526;   /* deep olive, serious */
  --sage:      #7A8B58;   /* desaturated green for small accents */
  --ochre:     #B26B1F;   /* warm accent for em / quotes — rare */

  /* type */
  --ff-narrow: "Archivo Narrow", "Archivo", Helvetica, sans-serif;
  --ff-sans:   "Archivo", -apple-system, Helvetica, sans-serif;
  --ff-serif:  "Source Serif 4", Georgia, serif;

  --maxw: 1320px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

/* ─── paper grain ─────────────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.8 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ─── ribbon ──────────────────────────────────────────── */
.ribbon {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  font-family: var(--ff-narrow);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.ribbon__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 9px 40px;
  gap: 24px;
  max-width: none;
}
.ribbon__l { justify-self: start; white-space: nowrap; }
.ribbon__c { justify-self: center; white-space: nowrap; }
.ribbon__r { justify-self: end; white-space: nowrap; }
@media (max-width: 1180px) {
  .ribbon__inner { grid-template-columns: 1fr auto; }
  .ribbon__c { display: none; }
}
.ribbon__c { color: rgba(255,255,255,0.55); }
.ribbon__r a:hover { color: #fff; }
.ribbon__sep { margin: 0 6px; opacity: 0.4; }

/* ─── nav ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 20px 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand img { height: 62px; width: auto; transition: transform .3s ease; }
.brand:hover img { transform: scale(1.05); }

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name span:first-child {
  font-family: var(--ff-narrow);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: uppercase;
}
.brand__name span:last-child {
  font-family: var(--ff-narrow);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--sage);
  text-transform: uppercase;
  margin-top: 2px;
}

@media (max-width: 600px) {
  .brand__name { display: none; }
  .brand img { height: 52px; }
}

.nav__links {
  display: flex;
  justify-content: center;
  gap: 36px;
  font-family: var(--ff-narrow);
  font-size: 15px;
  font-weight: 500;
}
.nav__links a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  position: relative;
  padding: 4px 0;
  color: var(--ink);
}
.nav__k {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--sage);
  font-weight: 600;
  position: relative;
  top: -1px;
}
.nav__links a::after {
  content: '';
  position: absolute;
  inset: auto 0 -2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  font-family: var(--ff-narrow);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background .2s ease;
}
.nav__cta:hover { background: var(--olive); }
.arrow { display: inline-block; transition: transform .2s ease; }
.nav__cta:hover .arrow { transform: translateX(3px); }

.nav__burger {
  display: none;
  background: none;
  border: 0;
  width: 36px; height: 36px;
  padding: 8px;
}
.nav__burger span { display: block; height: 2px; background: var(--ink); margin: 4px 0; transition: transform .25s; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ─── meta line ───────────────────────────────────────── */
.meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-narrow);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.meta__rule { width: 36px; height: 1px; background: var(--ink); }

/* ─── section heads ───────────────────────────────────── */
.section-head { position: relative; margin-bottom: 64px; }
.kicker {
  display: block;
  font-family: var(--ff-narrow);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.kicker--alt  { color: rgba(244,240,226,0.7); }
.kicker--sage { color: var(--sage); }

.title {
  font-family: var(--ff-narrow);
  font-weight: 700;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-transform: none;
  text-wrap: balance;
}
.title--alt { color: var(--paper-3); }

.num-big {
  position: absolute;
  top: -8px;
  right: 0;
  font-family: var(--ff-narrow);
  font-weight: 700;
  font-size: clamp(80px, 12vw, 180px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--rule);
  pointer-events: none;
  user-select: none;
}
.num-big--alt {
  -webkit-text-stroke-color: rgba(244,240,226,0.18);
}

.section-head--row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
}
.section-head--row .num-big { top: -20px; }

/* ─── hero ────────────────────────────────────────────── */
.hero { padding: 64px 0 96px; position: relative; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: start;
}
.hero__copy { padding-top: 8px; }

.hero__brand {
  display: block;
  font-family: var(--ff-narrow);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 32px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__brand::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background: var(--rule-2);
  opacity: 0.5;
}

.hero__title {
  font-family: var(--ff-narrow);
  font-weight: 700;
  font-size: clamp(56px, 7.2vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 24px 0 40px;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: break-word;
}
.hero__title-l { display: block; }
.hero__title-l--alt {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--ochre);
  letter-spacing: -0.01em;
  font-size: 0.78em;
  margin-left: 0.12em;
  line-height: 1.05;
}
.hero__title em { font-style: italic; }

.hero__below {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 56px;
  align-items: end;
  border-top: 1px solid var(--ink);
  padding-top: 32px;
}
.hero__lede {
  font-family: var(--ff-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 52ch;
}
.hero__lede b { color: var(--ink); font-weight: 600; }

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  white-space: nowrap;
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-narrow);
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding: 4px 0 6px;
  color: var(--ink);
  transition: color .2s ease, border-color .2s ease;
}
.link:hover { color: var(--olive); border-color: var(--olive); }
.link:hover .arrow { transform: translate(3px, 0); }
.link--big { font-size: 17px; }

.hero__aside { display: flex; flex-direction: column; gap: 24px; }

.plate {
  margin: 0;
  background: var(--paper-2);
  border: 1px solid var(--ink);
  position: relative;
  box-shadow: 6px 6px 0 0 var(--ink);
}
.plate img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}
.plate figcaption {
  padding: 12px 14px;
  font-family: var(--ff-narrow);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--ink);
  background: var(--paper-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plate__no {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.plate--portrait img { aspect-ratio: 3 / 4; }

.datatable {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--paper-3);
  border: 1px solid var(--ink);
}
.datatable > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
}
.datatable > div:last-child { border-bottom: 0; }
.datatable dt {
  font-family: var(--ff-narrow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 3px;
}
.datatable dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink);
}

/* ─── manifesto ───────────────────────────────────────── */
.manifesto {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  position: relative;
}
.manifesto__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--maxw);
  padding-top: 64px;
}
.manifesto__content {
  position: relative;
  padding-left: 0;
}
.manifesto__mark {
  position: absolute;
  left: 0;
  top: -64px;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 200px;
  line-height: 1;
  color: var(--ochre);
}
.manifesto blockquote {
  margin: 0 0 24px;
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.25;
  color: var(--paper-3);
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.manifesto__sig {
  font-family: var(--ff-narrow);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,240,226,0.55);
}
.manifesto__logo {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  filter: brightness(0) invert(1);
  justify-self: center;
}
@media (max-width: 1100px) {
  .manifesto__inner { gap: 48px; }
  .manifesto__logo { max-width: 280px; }
}
@media (max-width: 900px) {
  .manifesto__inner { grid-template-columns: 1fr; gap: 64px; padding-top: 40px; }
  .manifesto__logo { max-width: 200px; order: -1; justify-self: start; }
}

/* ─── about ───────────────────────────────────────────── */
.about { padding: 120px 0; }
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  margin-bottom: 96px;
}
.prose {
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 16px;
  max-width: 52ch;
}
.prose:last-child { margin-bottom: 0; }
.prose--lead {
  font-family: var(--ff-serif);
  font-style: normal;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  max-width: 36ch;
}
.prose--alt  { color: rgba(244,240,226,0.78); }
.prose--max  { max-width: 60ch; }

.director {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--ink);
  align-items: start;
}
.director__l { padding-right: 24px; }
.director__l h3 {
  font-family: var(--ff-narrow);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  margin: 12px 0 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.director__l p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  max-width: 60ch;
}

/* ─── services ────────────────────────────────────────── */
.services {
  background: var(--olive);
  color: var(--paper-3);
  padding: 120px 0;
  position: relative;
}
.section-head--alt .kicker { color: rgba(244,240,226,0.65); }

.svc { display: flex; flex-direction: column; }

.svc__row {
  display: grid;
  grid-template-columns: 96px 1fr 1fr;
  gap: 56px;
  padding: 64px 0;
  border-top: 1px solid rgba(244,240,226,0.18);
  align-items: start;
  transition: background .25s ease;
}
.svc__row:last-child { border-bottom: 1px solid rgba(244,240,226,0.18); }
.svc__row:hover { background: rgba(244,240,226,0.025); }

.svc__row--flip { grid-template-columns: 96px 1fr 1fr; }
.svc__row--flip .svc__body  { order: 3; }
.svc__row--flip figure       { order: 2; }

.svc__no {
  font-family: var(--ff-narrow);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--sage);
  padding-top: 6px;
}
.svc__body h3 {
  font-family: var(--ff-narrow);
  font-weight: 700;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.02;
  margin: 0 0 18px;
  color: var(--paper-3);
  letter-spacing: -0.012em;
}
.svc__body p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(244,240,226,0.78);
  max-width: 48ch;
}
.dets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(244,240,226,0.18);
}
.dets li {
  padding: 11px 0 11px 20px;
  border-bottom: 1px solid rgba(244,240,226,0.13);
  font-family: var(--ff-narrow);
  font-size: 15px;
  color: rgba(244,240,226,0.94);
  position: relative;
}
.dets li::before {
  content: '';
  position: absolute;
  left: 0; top: 18px;
  width: 12px; height: 1px;
  background: var(--sage);
}

.plate--svc {
  box-shadow: 8px 8px 0 0 rgba(0,0,0,0.35);
  border-color: var(--ink);
  background: rgba(0,0,0,0.2);
}
.plate--svc img { aspect-ratio: 5 / 6; }
.plate--svc figcaption {
  background: var(--ink);
  color: var(--paper-3);
  border-top-color: var(--ink);
}
.plate--svc .plate__no { color: var(--sage); }

/* ─── quality ─────────────────────────────────────────── */
.quality { padding: 120px 0; background: var(--paper-3); }

.qlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.qlist li {
  padding: 32px 32px 36px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  position: relative;
  background: var(--paper-3);
  transition: background .2s ease;
}
.qlist li:hover { background: var(--paper-2); }
.qlist__no {
  font-family: var(--ff-narrow);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--sage);
}
.qlist h4 {
  font-family: var(--ff-narrow);
  font-weight: 700;
  font-size: 24px;
  margin: 10px 0 8px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.qlist p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 44ch;
}

/* ─── sectors ─────────────────────────────────────────── */
.sectors { padding: 120px 0; background: var(--paper); border-top: 1px solid var(--ink); }
.slist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--ink);
}
.slist li {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  padding: 22px 8px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--ff-narrow);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--ink);
  letter-spacing: -0.005em;
  transition: padding .25s ease, color .25s ease;
  cursor: default;
}
.slist li span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sage);
  padding-top: 4px;
}
.slist li::after {
  content: '↗';
  font-size: 16px;
  color: var(--rule);
  transition: color .25s ease, transform .25s ease;
}
.slist li:hover { padding-left: 24px; color: var(--olive); }
.slist li:hover::after { color: var(--olive); transform: translate(4px, -4px); }

/* ─── contact ─────────────────────────────────────────── */
.contact { padding: 120px 0; background: var(--paper-3); border-top: 1px solid var(--ink); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__info .section-head { margin-bottom: 32px; }
.contact__info .prose--lead { margin-bottom: 32px; }
.datatable--contact { background: transparent; border-color: var(--ink); }
.datatable--contact > div { border-bottom-color: var(--rule); }
.datatable--contact a {
  border-bottom: 1px solid var(--rule-2);
}
.datatable--contact a:hover { color: var(--olive); border-color: var(--olive); }

.form {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 40px;
  box-shadow: 8px 8px 0 var(--ink);
}
.form__head {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ink);
}
.form__no {
  font-family: var(--ff-narrow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}
.form__head h3 {
  font-family: var(--ff-narrow);
  font-weight: 700;
  font-size: 32px;
  margin: 8px 0 6px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.form__head p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-3);
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--ff-narrow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: 0;
  font-family: var(--ff-sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color .18s ease, background .18s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--ink);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 100px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px 22px;
  background: var(--ink);
  color: var(--paper-3);
  border: 0;
  font-family: var(--ff-narrow);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .2s ease;
}
.submit:hover { background: var(--olive); }
.submit:hover .arrow { transform: translateX(4px); }

.form__note {
  margin: 14px 0 0;
  font-family: var(--ff-narrow);
  font-size: 12px;
  color: var(--ink-3);
}
.form.is-sent .form__note { color: var(--sage); font-weight: 600; }

/* ─── footer ──────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(244,240,226,0.7);
  padding: 96px 0 32px;
  border-top: 1px solid var(--ink);
}
.footer__hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(244,240,226,0.18);
}
.footer__brand-wrap {
  display: flex;
  align-items: center;
  gap: 32px;
}
.footer__logo {
  height: 120px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.8);
}
@media (max-width: 800px) {
  .footer__brand-wrap { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer__logo { height: 80px; }
}
.footer__big {
  font-family: var(--ff-narrow);
  font-weight: 700;
  font-size: clamp(64px, 9vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: var(--paper-3);
  margin: 0;
}
.footer__tag {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.4;
  color: rgba(244,240,226,0.78);
  margin: 0;
  max-width: 32ch;
  padding-bottom: 8px;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid rgba(244,240,226,0.18);
}
.footer__cols h5 {
  font-family: var(--ff-narrow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 16px;
}
.footer__cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
}
.footer__cols a:hover { color: #fff; }
.footer__bar {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--ff-narrow);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244,240,226,0.5);
}

/* ═══════════════════════════════════════════════════════
   responsive
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__aside { max-width: 540px; }
  .hero__below { grid-template-columns: 1fr; gap: 24px; }
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .director { grid-template-columns: 1fr; gap: 40px; }
  .director__r .plate { max-width: 360px; }
  .section-head--row { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .svc__row, .svc__row--flip { grid-template-columns: 64px 1fr; gap: 32px; }
  .svc__row figure { grid-column: 1 / -1; order: 3; max-width: 540px; }
  .svc__row--flip figure { order: 3; }
  .svc__row--flip .svc__body { order: 2; }
  .qlist { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 56px; }
  .footer__hero { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .ribbon__inner { padding: 8px 20px; flex-wrap: wrap; justify-content: flex-start; gap: 6px; }
  .ribbon__c { display: none; }
  .nav__inner { grid-template-columns: auto 1fr auto; gap: 12px; padding: 16px 20px; }
  .nav__links {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
    padding: 20px;
    gap: 16px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav.is-open .nav__links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__cta { display: none; }
  .nav__burger { display: inline-flex; align-items: center; justify-content: center; }

  .hero { padding: 48px 0 64px; }
  .hero__title { font-size: clamp(56px, 14vw, 88px); margin: 24px 0 32px; }
  .datatable > div { grid-template-columns: 1fr; gap: 4px; }

  .manifesto { padding: 64px 0; }
  .manifesto__inner { padding-left: 0; }
  .manifesto__mark { display: none; }

  .about, .services, .quality, .sectors, .contact { padding: 72px 0; }

  .svc__row, .svc__row--flip {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 0;
  }
  .svc__no { font-size: 18px; }
  .dets { grid-template-columns: 1fr; }
  .svc__row figure { order: 3; }

  .qlist li { padding: 24px 22px 28px; }

  .slist li { grid-template-columns: 44px 1fr auto; padding: 16px 4px; font-size: 18px; }
  .slist li:hover { padding-left: 8px; }

  .form { padding: 24px; box-shadow: 4px 4px 0 var(--ink); }
  .field-row { grid-template-columns: 1fr; }

  .footer { padding: 64px 0 24px; }
  .footer__cols { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .footer__bar { flex-direction: column; gap: 6px; }
}
