/* =========================================================
   SOS Contracting & Trading — Engineering Blueprint System
   Homepage stylesheet | Session A (Opus) | 2026-06-04
   Design tokens authoritative source: ENTITY_DNA.md §3
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --sos-red:        #C62828;
  --sos-red-dark:   #991B1B;
  --sos-red-bright: #FF3B30;
  --sos-red-light:  #FEF2F2;
  --sos-obsidian:   #0E0F10;
  --sos-dark:       #16181A;
  --sos-charcoal:   #1F2225;
  --sos-charcoal-2: #2A2E32;
  --sos-mid:        #6B7177;
  --sos-line:       #2E3338;
  --sos-light:      #F4F5F6;
  --sos-white:      #FFFFFF;
  --sos-ivory:      #ECECEA;
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'Roboto Mono', ui-monospace, monospace;
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --blueprint: rgba(120, 160, 190, 0.05);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--sos-obsidian);
  color: var(--sos-ivory);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--sos-red-bright); outline-offset: 3px; }
::selection { background: var(--sos-red); color: #fff; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--sos-red);
  display: inline-flex; align-items: center; gap: 0.7em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--sos-red); display: inline-block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.h-display { font-size: clamp(2.6rem, 6.2vw, 5rem); }
.h-section { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #B9BEC3; max-width: 60ch; }
.text-red { color: var(--sos-red); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(72px, 10vw, 140px); }
.blueprint-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--blueprint) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint) 1px, transparent 1px);
  background-size: 64px 64px; pointer-events: none; z-index: 0;
}
.section-pad > .wrap { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--sos-red); --fg: #fff;
  display: inline-flex; align-items: center; gap: 0.6em;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 1.05em 1.7em; border-radius: var(--radius); font-weight: 500;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  position: relative; overflow: hidden;
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover { background: var(--sos-red-dark); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(198,40,40,0.6); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--sos-ivory); border: 1px solid var(--sos-line); }
.btn--ghost:hover { background: rgba(255,255,255,0.04); border-color: var(--sos-mid); box-shadow: none; }
.btn--lg { padding: 1.2em 2.1em; font-size: 0.88rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), padding 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(14,15,16,0.86); backdrop-filter: blur(14px); border-bottom-color: var(--sos-line); padding-block: 12px; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-size: 0.9rem; font-weight: 500; color: #C7CCD1; position: relative; transition: color 0.2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--sos-red); transition: width 0.3s var(--ease); }
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 1.2rem; }
.nav__phone { font-family: var(--font-mono); font-size: 0.82rem; color: #C7CCD1; display: flex; align-items: center; gap: 0.5em; }
.nav__phone svg { color: var(--sos-red); }
.nav__burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; }
.nav__burger span { height: 2px; width: 24px; background: #fff; transition: 0.3s var(--ease); }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer {
  position: fixed; inset: 0; z-index: 99; background: var(--sos-obsidian);
  display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; padding: var(--gutter);
  transform: translateX(100%); transition: transform 0.4s var(--ease);
}
.drawer.open { transform: translateX(0); }
.drawer a { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: #fff; }
.drawer a:hover { color: var(--sos-red); }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: flex-end; position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,15,16,0.72) 0%, rgba(14,15,16,0.35) 35%, rgba(14,15,16,0.85) 100%),
    linear-gradient(90deg, rgba(14,15,16,0.85) 0%, rgba(14,15,16,0.1) 60%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(120,160,190,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,160,190,0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 80% at 20% 90%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 80% at 20% 90%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(56px, 9vh, 110px); padding-top: 140px; }
.hero__inner { max-width: 920px; }
.hero h1 { margin: 1.4rem 0 1.6rem; color: #fff; }
.hero h1 .red { color: var(--sos-red); }
.hero .lead { color: #CDD2D7; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero__standards {
  margin-top: clamp(2.6rem, 5vh, 4rem); display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem; align-items: center;
  padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.1);
}
.hero__standards span { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; color: #9AA1A8; display: flex; align-items: center; gap: 0.55em; }
.hero__standards span::before { content: ""; width: 6px; height: 6px; background: var(--sos-red); border-radius: 50%; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(56px, 9vh, 110px); z-index: 2;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; color: #7E858C;
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 1rem;
}
.hero__scroll::after { content: ""; width: 1px; height: 54px; background: linear-gradient(var(--sos-red), transparent); animation: scrolldot 2.4s var(--ease) infinite; }
@keyframes scrolldot { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ---------- Trust bar ---------- */
.trust { background: var(--sos-charcoal); border-block: 1px solid var(--sos-line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-block: clamp(40px, 6vw, 64px); }
.stat { position: relative; padding-left: 1.4rem; }
.stat::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; background: var(--sos-red); }
.stat__num { font-family: var(--font-mono); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.stat__label { margin-top: 0.7rem; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9AA1A8; font-family: var(--font-mono); }

/* ---------- Section header ---------- */
.sec-head { max-width: 720px; margin-bottom: clamp(2.6rem, 5vw, 4rem); }
.sec-head h2 { margin: 1.1rem 0 1rem; color: #fff; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }

/* ---------- Services ---------- */
.services { background: var(--sos-dark); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.svc {
  position: relative; border: 1px solid var(--sos-line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--sos-charcoal); min-height: 380px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.svc__img { position: absolute; inset: 0; z-index: 0; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transition: transform 0.6s var(--ease), opacity 0.4s; }
.svc::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(22,24,26,0.2) 0%, rgba(22,24,26,0.55) 45%, rgba(14,15,16,0.95) 100%); }
.svc__body { position: relative; z-index: 2; padding: 1.8rem; }
.svc__no { font-family: var(--font-mono); font-size: 0.75rem; color: var(--sos-red); letter-spacing: 0.1em; }
.svc__std { font-family: var(--font-mono); font-size: 0.72rem; color: #8C9298; border: 1px solid var(--sos-line); padding: 0.2em 0.6em; border-radius: 3px; display: inline-block; margin-top: 0.6rem; }
.svc h3 { font-size: 1.4rem; color: #fff; margin: 0.8rem 0 0.5rem; }
.svc p { font-size: 0.95rem; color: #AEB4BA; max-width: 34ch; }
.svc__arrow { margin-top: 1.2rem; display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.svc__arrow svg { color: var(--sos-red); transition: transform 0.25s var(--ease); }
.svc:hover { transform: translateY(-6px); border-color: var(--sos-red); box-shadow: 0 24px 50px -24px rgba(0,0,0,0.8); }
.svc:hover .svc__img img { transform: scale(1.06); opacity: 0.65; }
.svc:hover .svc__arrow svg { transform: translateX(5px); }

/* ---------- Credentials ---------- */
.cred { background: var(--sos-obsidian); }
.cred__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.4rem, 5vw, 5rem); align-items: center; }
.cred__photo { position: relative; }
.cred__photo img { width: 100%; border-radius: var(--radius-lg); filter: grayscale(0.15) contrast(1.02); }
.cred__photo::before { content: ""; position: absolute; inset: -14px -14px auto auto; width: 64%; height: 64%; border-top: 2px solid var(--sos-red); border-right: 2px solid var(--sos-red); border-top-right-radius: var(--radius-lg); z-index: 0; }
.cred__badges { position: absolute; left: -16px; bottom: 24px; display: flex; flex-direction: column; gap: 0.6rem; }
.cred__badge { background: var(--sos-charcoal); border: 1px solid var(--sos-line); border-left: 3px solid var(--sos-red); padding: 0.7rem 1rem; border-radius: var(--radius); box-shadow: 0 14px 30px -14px rgba(0,0,0,0.7); }
.cred__badge strong { font-family: var(--font-mono); font-size: 1rem; color: #fff; display: block; letter-spacing: 0.04em; }
.cred__badge span { font-size: 0.72rem; color: #9AA1A8; }
.cred h2 { color: #fff; margin: 1.1rem 0 1.4rem; }
.cred p { color: #C0C5CA; margin-bottom: 1.2rem; }
.cred__sign { margin-top: 1.6rem; display: flex; align-items: center; gap: 1rem; }
.cred__sign-name { font-family: var(--font-display); font-weight: 700; color: #fff; }
.cred__sign-title { font-family: var(--font-mono); font-size: 0.78rem; color: var(--sos-red); }

/* ---------- Sectors ---------- */
.sectors { background: var(--sos-dark); }
.sectors__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.sector { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--sos-line); }
.sector img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.sector::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(14,15,16,0.92) 100%); }
.sector__cap { position: absolute; z-index: 2; left: 1.3rem; right: 1.3rem; bottom: 1.2rem; }
.sector__cap h3 { font-size: 1.15rem; color: #fff; }
.sector__cap p { font-size: 0.85rem; color: #AEB4BA; margin-top: 0.2rem; }
.sector:hover img { transform: scale(1.07); }
.sector__cap h3::before { content: ""; display: block; width: 26px; height: 2px; background: var(--sos-red); margin-bottom: 0.7rem; }

/* ---------- Projects ---------- */
.projects { background: var(--sos-obsidian); }
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.proj { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--sos-line); aspect-ratio: 3/3.4; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,15,16,0.15) 0%, rgba(14,15,16,0.4) 40%, rgba(14,15,16,0.96) 100%); }
.proj__body { position: absolute; z-index: 2; inset: auto 1.4rem 1.4rem; }
.proj__tag { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: var(--sos-red); padding: 0.25em 0.7em; border-radius: 3px; display: inline-block; }
.proj__body h3 { font-size: 1.2rem; color: #fff; margin: 0.9rem 0 0.4rem; }
.proj__body p { font-family: var(--font-mono); font-size: 0.78rem; color: #B4BAC0; }
.proj:hover img { transform: scale(1.08); }
.projects__note { margin-top: 2.2rem; font-size: 0.92rem; color: var(--sos-mid); font-style: italic; max-width: 60ch; }

/* ---------- Clients marquee ---------- */
.clients { background: var(--sos-charcoal); border-block: 1px solid var(--sos-line); padding-block: clamp(48px, 7vw, 80px); overflow: hidden; }
.clients .wrap > p { text-align: center; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: #8C9298; margin-bottom: 2.6rem; }
.marquee { position: relative; width: 100%; 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: 4rem; width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 42px; width: auto; object-fit: contain; opacity: 0.62; filter: grayscale(1) brightness(0) invert(1); transition: opacity 0.3s; }
.marquee img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Standards (light) ---------- */
.standards { background: var(--sos-light); color: var(--sos-obsidian); }
.standards .eyebrow { color: var(--sos-red-dark); }
.standards .eyebrow::before { background: var(--sos-red-dark); }
.standards h2 { color: var(--sos-obsidian); }
.standards .lead { color: #4A4F54; }
.standards__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.8rem; }
.std { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start; background: #fff; border: 1px solid #E4E6E8; border-left: 4px solid var(--sos-red); border-radius: var(--radius); padding: 1.6rem 1.8rem; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.std:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(0,0,0,0.3); }
.std__no { font-family: var(--font-mono); font-weight: 700; font-size: 1.1rem; color: var(--sos-red-dark); white-space: nowrap; }
.std h3 { font-size: 1.05rem; color: var(--sos-obsidian); margin-bottom: 0.3rem; }
.std p { font-size: 0.9rem; color: #5A6066; }

/* ---------- FAQ ---------- */
.faq { background: var(--sos-dark); }
.faq__list { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--sos-line); }
.faq__item { border-bottom: 1px solid var(--sos-line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; text-align: left; padding: 1.6rem 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.3rem); color: #fff; }
.faq__icon { flex-shrink: 0; width: 30px; height: 30px; border: 1px solid var(--sos-line); border-radius: 50%; display: grid; place-items: center; position: relative; transition: 0.3s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--sos-red); transition: 0.3s var(--ease); }
.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after { width: 2px; height: 12px; }
.faq__item.open .faq__icon { background: var(--sos-red); border-color: var(--sos-red); }
.faq__item.open .faq__icon::before, .faq__item.open .faq__icon::after { background: #fff; }
.faq__item.open .faq__icon::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq__a p { padding: 0 0 1.7rem; color: #AEB4BA; max-width: 70ch; }

/* ---------- CTA + form ---------- */
.cta { background: var(--sos-obsidian); position: relative; }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.4rem, 6vw, 6rem); align-items: start; }
.cta h2 { color: #fff; margin: 1.1rem 0 1.4rem; }
.cta__text p { color: #C0C5CA; margin-bottom: 1.6rem; }
.cta__contacts { margin-top: 2.4rem; display: flex; flex-direction: column; gap: 1.1rem; }
.cta__contact { display: flex; align-items: center; gap: 1rem; font-family: var(--font-mono); font-size: 0.95rem; color: #D4D9DE; }
.cta__contact svg { color: var(--sos-red); flex-shrink: 0; }
.cta__contact a:hover { color: var(--sos-red); }
.form { background: var(--sos-charcoal); border: 1px solid var(--sos-line); border-radius: var(--radius-lg); padding: clamp(1.8rem, 3vw, 2.6rem); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #9AA1A8; margin-bottom: 0.5rem; }
.field input, .field select, .field textarea { width: 100%; background: var(--sos-obsidian); border: 1px solid var(--sos-line); border-radius: var(--radius); padding: 0.85em 1em; color: #fff; font-family: var(--font-body); font-size: 0.95rem; transition: border-color 0.25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sos-red); }
.field textarea { resize: vertical; min-height: 110px; }
.form .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form__note { font-size: 0.78rem; color: var(--sos-mid); margin-top: 1rem; text-align: center; }
.form__success { display: none; text-align: center; padding: 2rem 0; }
.form__success.show { display: block; }
.form__success svg { color: var(--sos-red); margin: 0 auto 1rem; }
.form__success h3 { color: #fff; font-size: 1.4rem; margin-bottom: 0.6rem; }
.form__success p { color: #AEB4BA; }

/* ---------- Footer ---------- */
.footer { background: #0A0B0C; border-top: 1px solid var(--sos-line); padding-block: clamp(48px, 6vw, 72px) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.4rem; }
.footer__brand img { height: 40px; margin-bottom: 1.2rem; }
.footer__brand p { font-size: 0.88rem; color: #8C9298; max-width: 34ch; }
.footer h4 { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: #6B7177; margin-bottom: 1.2rem; }
.footer ul li { margin-bottom: 0.7rem; }
.footer ul a { font-size: 0.92rem; color: #B4BAC0; transition: color 0.2s; }
.footer ul a:hover { color: var(--sos-red); }
.footer__contact p { font-size: 0.9rem; color: #B4BAC0; margin-bottom: 0.7rem; font-family: var(--font-mono); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 3.2rem; padding-top: 1.8rem; border-top: 1px solid var(--sos-line); }
.footer__bottom p { font-size: 0.8rem; color: #6B7177; }
.footer__bottom a { color: #8C9298; }
.footer__bottom a:hover { color: var(--sos-red); }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-delay="5"] { transition-delay: 0.40s; }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--sos-red); width: 0; z-index: 200; transition: width 0.1s linear; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services__grid, .sectors__grid, .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .cred__grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .cred__photo { max-width: 440px; }
  .cta__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 860px) {
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: flex; }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1.5rem; }
  .standards__grid { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  body { font-size: 16px; }
  .services__grid, .sectors__grid, .projects__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
