/* ==========================================================================
   WAI INDUSTRIAL FORUM — styles.css
   Midnight slate + glassmorphism, Industrial Gold & Cool Cyan accents.
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Nav · 5 Hero · 6 Stats · 7 Cards
             8 About · 9 Gallery · 10 Contact · 11 CTA/Footer · 12 Motion/Responsive
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --bg: #0F172A;
  --bg-2: #0B1222;
  --surface: rgba(255, 255, 255, .045);
  --surface-hi: rgba(255, 255, 255, .075);
  --border: rgba(148, 163, 184, .18);
  --border-hi: rgba(148, 163, 184, .38);
  --text: #E2E8F0;
  --muted: #94A3B8;
  --gold: #F59E0B;
  --gold-soft: #FBBF24;
  --cyan: #38BDF8;
  --radius: 18px;
  --shadow: 0 10px 40px -12px rgba(0, 0, 0, .6);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --nav-h: 72px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Faint blueprint grid + ambient colour glows, fixed behind everything */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(56, 189, 248, .14), transparent 60%),
    radial-gradient(700px 500px at 0% 20%, rgba(245, 158, 11, .10), transparent 60%),
    linear-gradient(rgba(148, 163, 184, .06) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(148, 163, 184, .06) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--bg);
  -webkit-mask-image: linear-gradient(#000 60%, rgba(0,0,0,.55));
          mask-image: linear-gradient(#000 60%, rgba(0,0,0,.55));
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); letter-spacing: -.01em; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }

/* ---------- 3. Layout helpers ---------- */
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(2, 6, 23, .45), transparent); }
.section__head { max-width: 720px; margin-bottom: 44px; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-family: var(--mono); font-size: .78rem; text-transform: uppercase;
  letter-spacing: .14em; color: var(--gold); margin-bottom: 12px;
}
.eyebrow::before { content: "// "; color: var(--cyan); }
.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Glass surface */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s, background .3s;
}

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px;
  font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); background: rgba(148, 163, 184, .1); border: 1px solid var(--border);
}
.badge--gold { color: var(--gold-soft); background: rgba(245, 158, 11, .12); border-color: rgba(245, 158, 11, .35); }
.badge--cyan { color: var(--cyan); background: rgba(56, 189, 248, .1); border-color: rgba(56, 189, 248, .35); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(245, 158, 11, .6); animation: pulse 2s infinite; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px; font: 700 .95rem var(--font); cursor: pointer;
  border: 1px solid transparent; transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn--gold { color: #1b1203; background: linear-gradient(135deg, var(--gold-soft), var(--gold)); box-shadow: 0 8px 24px -8px rgba(245, 158, 11, .7); }
.btn--gold:hover { box-shadow: 0 12px 32px -6px rgba(245, 158, 11, .85); }
.btn--ghost { color: var(--text); background: var(--surface); border-color: var(--border-hi); }
.btn--ghost:hover { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(56, 189, 248, .12); }
.btn--block { width: 100%; }

/* ---------- 4. Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 125;
  background: rgba(15, 23, 42, .55);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s;
}
.nav.is-scrolled { background: rgba(15, 23, 42, .85); border-color: var(--border); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand__mark { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 1px var(--border-hi), 0 6px 20px -6px rgba(56, 189, 248, .5); }
.brand__mark img { width: 38px; height: 38px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; font-weight: 800; letter-spacing: -.01em; line-height: 1.05; }
.brand__text small { font: 600 .7rem var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { position: relative; padding: 8px 14px; color: var(--muted); font-weight: 600; font-size: .92rem; border-radius: 10px; transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--cyan)); }
.nav__cta { padding: 10px 18px; font-size: .88rem; }

.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(2, 6, 23, .6); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 110; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); z-index: 120; padding: 96px 24px 24px;
  background: rgba(11, 18, 34, .96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-left: 1px solid var(--border); transform: translateX(100%); transition: transform .4s cubic-bezier(.2, .8, .2, 1);
  display: flex; flex-direction: column; gap: 24px; visibility: hidden;
}
.drawer nav { display: flex; flex-direction: column; gap: 4px; }
.drawer nav a { padding: 14px 12px; color: var(--text); font-weight: 600; font-size: 1.05rem; border-radius: 12px; border: 1px solid transparent; }
.drawer nav a:hover { background: var(--surface); border-color: var(--border); text-decoration: none; }
body.menu-open .drawer { transform: none; visibility: visible; }
body.menu-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }
.burger { position: relative; z-index: 130; }

/* ---------- 5. Hero ---------- */
.hero { padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 clamp(48px, 6vw, 80px); overflow-x: clip; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin: 20px 0 20px; }
.grad { background: linear-gradient(100deg, var(--gold-soft), var(--gold) 35%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.hero__reg { font-size: .8rem; color: var(--muted); }

.hero__visual { position: relative; display: grid; place-items: center; }
.logo-card { position: relative; z-index: 2; padding: 20px; width: min(430px, 100%); }
.logo-card:hover { transform: translateY(-6px); border-color: rgba(245, 158, 11, .5); box-shadow: 0 24px 60px -16px rgba(245, 158, 11, .35), var(--shadow); }
.logo-card__img { background: #fff; border-radius: 12px; padding: 18px; }
.logo-card__img img { margin-inline: auto; max-height: 250px; width: auto; object-fit: contain; }
.logo-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(56, 189, 248, .3); z-index: 1; animation: spin 40s linear infinite; }
.orbit--a { width: 118%; aspect-ratio: 1; }
.orbit--b { width: 92%; aspect-ratio: 1; border-color: rgba(245, 158, 11, .28); animation-direction: reverse; animation-duration: 60s; }
.orbit::after { content: ""; position: absolute; top: 8%; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.orbit--b::after { background: var(--gold); box-shadow: 0 0 16px var(--gold); }

/* ---------- 6. Stats ---------- */
.stats { padding: 8px 0 24px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: linear-gradient(var(--gold), var(--cyan)); }
.stat:hover { transform: translateY(-5px); border-color: var(--border-hi); }
.stat__num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; color: var(--gold-soft); line-height: 1; }
.stat__label { color: var(--muted); font-size: .88rem; }

/* ---------- 7. Cards ---------- */
.card { padding: 28px; position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, .22), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover { transform: translateY(-6px); background: var(--surface-hi); border-color: rgba(56, 189, 248, .45); box-shadow: 0 18px 50px -14px rgba(56, 189, 248, .3), var(--shadow); }
.card:hover::after { opacity: 1; }
.card h3 { margin-top: 14px; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.card--tall { min-height: 230px; }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, rgba(245, 158, 11, .2), rgba(56, 189, 248, .15)); border: 1px solid var(--border-hi); }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-soft); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { margin-top: 16px; }

.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); font-size: .96rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.ticks b { color: var(--text); }

/* ---------- 8. About / governance ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; margin-top: 48px; align-items: start; }
.split__title { font-size: 1.35rem; }
.leaders { padding: 28px; }
.leaders:hover { border-color: var(--border-hi); }
.leaders__list { margin: 0; display: grid; }
.leaders__list > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--border); }
.leaders__list > div:last-child { border-bottom: 0; }
.leaders__list dt { font: 600 .74rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--gold); padding-top: 3px; }
.leaders__list dd { margin: 0; text-align: right; font-weight: 600; }

/* ---------- 9. Gallery ---------- */
.filters { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.chip { font: 600 .85rem var(--font); color: var(--muted); background: var(--surface); border: 1px solid var(--border); padding: 8px 18px; border-radius: 999px; cursor: pointer; transition: all .25s; }
.chip:hover { color: var(--text); border-color: var(--border-hi); }
.chip.is-active { color: #1b1203; background: var(--gold); border-color: var(--gold); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.shot { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); cursor: zoom-in; background: #fff; transition: transform .35s, border-color .3s, box-shadow .3s, opacity .3s; }
.shot--wide { grid-column: span 2; grid-row: span 2; background: #e9e6df; }
.shot--tall { grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.shot--tall img { object-position: top; }
.shot:hover { transform: translateY(-5px); border-color: rgba(245, 158, 11, .6); box-shadow: 0 20px 50px -14px rgba(245, 158, 11, .35); }
.shot:hover img { transform: scale(1.05); }
.shot figcaption { position: absolute; inset: auto 0 0 0; display: flex; align-items: center; gap: 10px; padding: 36px 16px 14px; font-size: .85rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(2, 6, 23, .9)); transform: translateY(8px); opacity: 0; transition: all .3s; }
.shot:hover figcaption, .shot:focus-visible figcaption { transform: none; opacity: 1; }
.shot--placeholder { cursor: default; display: grid; place-items: center; text-align: center; background: repeating-linear-gradient(45deg, rgba(148, 163, 184, .05) 0 10px, transparent 10px 20px), var(--surface); border-style: dashed; border-color: var(--border-hi); color: var(--muted); }
.shot--placeholder:hover { transform: none; box-shadow: none; border-color: var(--cyan); }
.shot--placeholder svg { width: 34px; height: 34px; fill: none; stroke: var(--cyan); stroke-width: 1.5; margin: 0 auto 8px; }
.shot--placeholder small { color: var(--gold); font-family: var(--mono); font-size: .72rem; }
.shot.is-hidden { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(2, 6, 23, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: none; place-items: center; padding: 56px 20px 70px; }
.lightbox.is-open { display: grid; animation: fade .25s; }
.lightbox img { max-height: 80vh; max-width: min(1000px, 92vw); border-radius: 12px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox p { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: .9rem; margin: 0; }
.lightbox button { position: absolute; background: var(--surface-hi); border: 1px solid var(--border-hi); color: #fff; border-radius: 50%; width: 46px; height: 46px; font-size: 1.7rem; line-height: 1; cursor: pointer; transition: background .2s, transform .2s; }
.lightbox button:hover { background: rgba(245, 158, 11, .35); transform: scale(1.08); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; margin-top: -23px; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

/* ---------- 10. Contact ---------- */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.form { padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; }
.form:hover { border-color: var(--border-hi); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; gap: 4px; background: rgba(2, 6, 23, .5); border: 1px solid var(--border); border-radius: 14px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 10px 8px; border-radius: 10px; font-weight: 600; font-size: .88rem; color: var(--muted); transition: all .25s; }
.seg input:checked + span { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #1b1203; }
.seg input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .03em; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 .96rem var(--font); color: var(--text); background: rgba(2, 6, 23, .5);
  border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field select option { background: #0F172A; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(56, 189, 248, .15); }
.field.has-error input, .field.has-error textarea { border-color: #F87171; }
.err { color: #FCA5A5; font-size: .78rem; }
.err:empty { display: none; }
.form__note { margin: 0; font-size: .8rem; color: var(--muted); text-align: center; }
.form__note.ok { color: #86EFAC; }

.contact__side { display: grid; gap: 24px; }
.info { padding: 26px; }
.info:hover { border-color: var(--border-hi); }
.info h3 { font-size: 1.1rem; margin-bottom: 12px; }
address { font-style: normal; color: var(--muted); line-height: 1.7; }
.info__list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; }
.info__list li { display: flex; gap: 14px; align-items: baseline; font-size: .92rem; word-break: break-word; }
.info__list span { flex: 0 0 52px; font: 600 .7rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.map-ph { height: 120px; border-radius: 12px; border: 1px dashed var(--border-hi); display: grid; place-items: center; font: .75rem var(--mono); color: var(--muted); background: linear-gradient(rgba(148, 163, 184, .08) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(90deg, rgba(148, 163, 184, .08) 1px, transparent 1px) 0 0 / 20px 20px; }
.reg { margin: 14px 0 0; display: grid; }
.reg > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: .88rem; }
.reg dt { color: var(--muted); }
.reg dd { margin: 0; font-weight: 600; word-break: break-word; }
.reg .mono { color: var(--gold-soft); font-weight: 500; }
.verify { margin: 14px 0 0; color: var(--muted); }

/* ---------- 11. CTA & footer ---------- */
.cta { padding: 24px 0 clamp(64px, 8vw, 100px); }
.cta__box { text-align: center; padding: clamp(36px, 6vw, 64px) 24px; background: linear-gradient(135deg, rgba(245, 158, 11, .12), rgba(56, 189, 248, .1)), var(--surface); }
.cta__box p { color: var(--muted); max-width: 540px; margin: 0 auto 26px; }
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 40px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.footer__brand { display: flex; gap: 12px; align-items: center; }
.footer__brand img { background: #fff; border-radius: 10px; padding: 3px; }
.footer__brand strong { display: block; letter-spacing: .02em; }
.footer__brand span { font-size: .75rem; color: var(--muted); }
.footer__nav { display: flex; gap: 22px; }
.footer__nav a { color: var(--muted); font-weight: 600; font-size: .9rem; }
.footer__nav a:hover { color: var(--gold-soft); text-decoration: none; }
.footer__legal { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 20px; border-top: 1px solid var(--border); font-size: .78rem; color: var(--muted); }

/* ---------- 12. Motion & responsive ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s, background .3s; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(245, 158, 11, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); } }
@keyframes fade { from { opacity: 0; } }

@media (max-width: 1024px) {
  .grid--4, .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero__grid, .split, .contact { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 12px; }
  .nav__links, .nav__cta { display: none; }
  .burger { display: flex; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .grid--4, .grid--3, .stats__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px 16px; }
  .form__row { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 150px; gap: 10px; }
  .reg > div { grid-template-columns: 1fr; gap: 2px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__nav { flex-wrap: wrap; }
  .orbit--a { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.wa { margin-bottom: 16px; border-color: rgba(37, 211, 102, .5); color: #86EFAC; }
.wa:hover { border-color: #25D366; box-shadow: 0 0 0 4px rgba(37, 211, 102, .12); }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.form__note.bad { color: #FCA5A5; }
