/* ============================================================
   K-ELECTRONICS LLP — Design System
   Dark industrial + red accent
   ============================================================ */

:root {
  /* Brand */
  --red: #e10600;
  --red-dark: #b40500;
  --red-glow: rgba(225, 6, 0, 0.35);

  /* Neutrals — deep indigo/violet drawn from the logo */
  --ink: #0c0a1a;          /* deepest background */
  --ink-2: #151129;        /* section background */
  --ink-3: #1d1836;        /* card background */
  --ink-4: #29204a;        /* raised card / border-lit */
  --line: #362c5c;         /* hairline borders */
  --steel: #9089a8;        /* muted text */
  --steel-2: #bdb9ce;      /* secondary text */
  --white: #f4f6fa;        /* primary text */
  --white-dim: #d9d6e4;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --radius: 14px;
  --radius-sm: 10px;

  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--white-dim);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--white); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
p { color: var(--steel-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); display: inline-block; }
.lead { font-size: 1.18rem; color: var(--steel-2); }

/* ---------- Layout ---------- */
.wrap { width: min(var(--wrap), 92%); margin-inline: auto; }
section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 18px; }

.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px;
  font-weight: 600; font-size: 0.98rem; cursor: pointer;
  border: 1px solid transparent; transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 12px 30px -10px var(--red-glow); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 18px 40px -12px var(--red-glow); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--steel); background: rgba(255,255,255,0.03); transform: translateY(-2px); }
.btn-sm { padding: 12px 22px; font-size: 0.92rem; }
.prod-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn-ghost svg { transition: transform 0.3s var(--ease); }
.btn-ghost.dl:hover svg { transform: translateY(3px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0; transition: all 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(12,10,26, 0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line); padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.02em; color: var(--white); font-size: 1.15rem; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(140deg, var(--red), var(--red-dark));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 6px 18px -6px var(--red-glow);
}
.brand .logo-img {
  width: 46px; height: 46px; object-fit: contain; display: block; flex-shrink: 0;
  background: #fff; border-radius: 10px; padding: 4px;
  box-shadow: 0 6px 18px -6px rgba(0,0,0,0.5);
}
.brand small { display: block; font-size: 0.62rem; letter-spacing: 0.28em; color: var(--steel); font-weight: 600; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 16px; border-radius: 100px; font-size: 0.95rem; font-weight: 500;
  color: var(--steel-2); transition: all 0.25s var(--ease);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: all 0.3s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 120px; position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 20%, rgba(225,6,0,0.16), transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(225,6,0,0.08), transparent 55%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.hero-grid-lines {
  position: absolute; inset: 0; opacity: 0.4;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 860px; }
.hero h1 { margin: 22px 0 24px; }
.hero h1 .accent { color: var(--red); }
.hero p { font-size: 1.22rem; max-width: 620px; color: var(--steel-2); }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 64px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--white); font-weight: 800; letter-spacing: -0.03em; }
.hero-stats .stat span { font-size: 0.86rem; color: var(--steel); text-transform: uppercase; letter-spacing: 0.12em; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 180px 0 80px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 55% 60% at 80% 10%, rgba(225,6,0,0.14), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { margin: 20px 0 20px; max-width: 14ch; }
.page-hero p { max-width: 620px; font-size: 1.15rem; }
.crumb { font-size: 0.85rem; color: var(--steel); }
.crumb a:hover { color: var(--red); }

/* ---------- Marquee / credibility strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); padding: 30px 0; }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.strip-item { display: flex; align-items: center; gap: 12px; color: var(--steel-2); font-weight: 500; font-size: 0.98rem; }
.strip-item svg { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; }

/* ---------- Cards ---------- */
.card {
  background: var(--ink-3); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
  transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(225,6,0,0.10), transparent 40%);
  opacity: 0; transition: opacity 0.4s var(--ease); pointer-events: none;
}
.card:hover { border-color: var(--ink-4); transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card-ico {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(225,6,0,0.18), rgba(225,6,0,0.05));
  border: 1px solid rgba(225,6,0,0.25); color: var(--red); margin-bottom: 22px;
}
.card-ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.98rem; }

/* ---------- Product cards ---------- */
.prod {
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all 0.4s var(--ease); display: flex; flex-direction: column;
}
.prod:hover { border-color: var(--ink-4); transform: translateY(-6px); box-shadow: var(--shadow); }
.prod-media {
  aspect-ratio: 16/10; position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--ink-4), var(--ink-2));
  display: grid; place-items: center;
}
.prod-media .glyph { color: rgba(225,6,0,0.5); transition: transform 0.5s var(--ease); }
.prod:hover .prod-media .glyph { transform: scale(1.08); }
.prod-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 0.6s var(--ease); }
.prod:hover .prod-media img { transform: scale(1.06); }
.prod-media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(12,10,26,0.45) 100%); }
.prod-media .tag {
  position: absolute; top: 14px; left: 14px; z-index: 3; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--white);
  background: rgba(12,10,26,0.7); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 100px;
  border: 1px solid var(--line);
}
.prod-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.prod-body h3 { margin-bottom: 10px; }
.prod-body p { font-size: 0.96rem; flex: 1; }
.prod-body .feats { margin: 18px 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.prod-body .feats span {
  font-size: 0.8rem; color: var(--steel-2); background: var(--ink-4);
  border: 1px solid var(--line); padding: 5px 12px; border-radius: 100px;
}
.prod-link { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 600; font-size: 0.95rem; }
.prod-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.prod:hover .prod-link svg { transform: translateX(4px); }

/* ---------- Split / feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
  aspect-ratio: 4/3; background: linear-gradient(140deg, var(--ink-4), var(--ink-2));
  display: grid; place-items: center; position: relative;
}
.split-media .glyph { color: rgba(225,6,0,0.55); }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.split-media.logo-panel { background: radial-gradient(circle at 50% 42%, #ffffff, #e7ebf1); }
.split-media.logo-panel::after { display: none; }
.split-media.logo-panel img { position: static; width: auto; height: auto; max-width: 58%; max-height: 62%; object-fit: contain; margin: auto; z-index: 1; }

/* Studio panel — product cut-outs on a clean light background */
.prod-media.studio, .split-media.studio { background: radial-gradient(circle at 50% 42%, #ffffff, #e6eaf0); }
.prod-media.studio::after, .split-media.studio::after { display: none; }
.prod-media.studio img, .split-media.studio img { object-fit: contain; box-sizing: border-box; padding: 22px; }
.split-media.studio img { padding: 34px; }
.split-media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse at 30% 15%, rgba(225,6,0,0.10), transparent 55%),
              linear-gradient(180deg, transparent 60%, rgba(12,10,26,0.35) 100%);
}
.check-list { margin-top: 26px; display: grid; gap: 16px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--steel-2); }
.check-list li svg { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.check-list li strong { color: var(--white); display: block; }

/* ---------- Industries ---------- */
.ind-item {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px;
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
}
.ind-item:hover { border-color: var(--red-dark); background: var(--ink-4); }
.ind-item svg { width: 30px; height: 30px; color: var(--red); flex-shrink: 0; }
.ind-item strong { color: var(--white); display: block; font-size: 1.02rem; }
.ind-item span { font-size: 0.85rem; color: var(--steel); }

/* ---------- Stats band ---------- */
.band { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .g-4 { text-align: center; }
.band .stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--white); font-weight: 800; letter-spacing: -0.03em; }
.band .stat strong .accent { color: var(--red); }
.band .stat span { color: var(--steel); font-size: 0.92rem; }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  background: linear-gradient(140deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(40px, 6vw, 72px); text-align: center; position: relative; overflow: hidden;
}
.cta-inner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 0%, rgba(225,6,0,0.18), transparent 60%);
}
.cta-inner > * { position: relative; z-index: 2; }
.cta-inner h2 { max-width: 18ch; margin: 16px auto 18px; }
.cta-inner p { max-width: 52ch; margin: 0 auto 34px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-card {
  display: flex; gap: 18px; padding: 26px; background: var(--ink-3);
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px;
  transition: all 0.3s var(--ease);
}
.contact-card:hover { border-color: var(--ink-4); }
.contact-card .ico {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(225,6,0,0.18), rgba(225,6,0,0.05));
  border: 1px solid rgba(225,6,0,0.25); color: var(--red);
}
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card h4 { color: var(--steel); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
.contact-card a, .contact-card p { color: var(--white-dim); font-size: 1.02rem; }
.contact-card a:hover { color: var(--red); }

.form { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.form h3 { margin-bottom: 6px; }
.form > p { font-size: 0.95rem; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; color: var(--steel-2); margin-bottom: 8px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; background: var(--ink); border: 1px solid var(--line);
  border-radius: var(--radius-sm); color: var(--white); font-family: inherit; font-size: 0.98rem;
  transition: all 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(225,6,0,0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 0.85rem; color: var(--steel); margin-top: 16px; text-align: center; }
.form-success { display: none; text-align: center; padding: 20px; color: var(--white); }
.form-success.show { display: block; }
.form-error { display: none; color: #ff6b6b; font-size: 0.9rem; margin-top: 16px; text-align: center; line-height: 1.5; }
.form-error.show { display: block; }

/* ---------- Group companies ---------- */
.group-card { display: flex; flex-direction: column; align-items: flex-start; background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: all 0.4s var(--ease); height: 100%; }
.group-card:hover { border-color: var(--ink-4); transform: translateY(-6px); box-shadow: var(--shadow); }
.group-logo { width: 100%; height: 92px; background: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 16px; margin-bottom: 20px; }
.group-logo img { max-height: 100%; max-width: 82%; object-fit: contain; }
.group-card h3 { margin-bottom: 8px; }
.group-card p { font-size: 0.94rem; flex: 1 0 auto; }
.group-link { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 600; font-size: 0.9rem; margin-top: 18px; }
.group-link svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.group-card:hover .group-link svg { transform: translate(2px, -2px); }

/* ---------- Legal / prose pages ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.4rem; margin: 42px 0 14px; }
.legal h3 { font-size: 1.06rem; margin: 24px 0 10px; color: var(--white-dim); }
.legal p { color: var(--steel-2); font-size: 1rem; line-height: 1.78; margin-bottom: 14px; }
.legal a { color: var(--red); }
.legal .updated { color: var(--steel); font-size: 0.9rem; margin-bottom: 8px; }
.legal ul { margin: 10px 0 18px; }
.legal ul li { position: relative; padding-left: 22px; margin-bottom: 9px; list-style: none; color: var(--steel-2); line-height: 1.7; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; background: var(--red); border-radius: 2px; }

/* ---------- Cookie consent ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: rgba(21,17,41,0.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); padding: 18px 0;
  transform: translateY(130%); transition: transform 0.5s var(--ease);
  box-shadow: 0 -20px 50px -20px rgba(0,0,0,0.6);
}
.cookie-banner.show { transform: none; }
.cookie-inner { display: flex; align-items: center; gap: 26px; justify-content: space-between; flex-wrap: wrap; }
.cookie-text { color: var(--steel-2); font-size: 0.9rem; line-height: 1.55; margin: 0; max-width: 74ch; }
.cookie-text strong { color: var(--white); }
.cookie-text a { color: var(--red); }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-actions .btn { padding: 11px 24px; font-size: 0.9rem; }
@media (max-width: 620px) {
  .cookie-inner { gap: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}

/* ---------- Map ---------- */
.map-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 60px; }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(0.3) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--ink-2); border-top: 1px solid var(--line); padding: 72px 0 30px; }
.footer-news { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer-news h4 { color: var(--white); font-size: clamp(1.2rem, 2vw, 1.5rem); text-transform: none; letter-spacing: -0.01em; margin-bottom: 6px; }
.footer-news p { color: var(--steel-2); font-size: 0.95rem; margin: 0; }
.footer-news .btn svg { width: 18px; height: 18px; }
@media (max-width: 620px) { .footer-news .btn { width: 100%; justify-content: center; } }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer-brand p { font-size: 0.95rem; margin: 18px 0; max-width: 34ch; }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin-bottom: 20px; font-weight: 600; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: var(--steel-2); font-size: 0.96rem; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--red); }
.footer-contact li { color: var(--steel-2); font-size: 0.96rem; margin-bottom: 12px; line-height: 1.5; }
.footer-contact a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; flex-wrap: wrap; gap: 14px; }
.footer-bottom p { font-size: 0.88rem; color: var(--steel); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--steel-2); transition: all 0.3s var(--ease);
}
.footer-social a:hover { border-color: var(--red); color: var(--red); background: rgba(225,6,0,0.08); }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82%); flex-direction: column;
    align-items: stretch; justify-content: flex-start; gap: 6px; padding: 100px 24px 40px;
    background: var(--ink-2); border-left: 1px solid var(--line); transform: translateX(100%);
    transition: transform 0.4s var(--ease); z-index: 90;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-cta { margin: 12px 0 0; text-align: center; }
  .nav-toggle { display: block; z-index: 95; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 32px; }
  .page-hero { padding: 140px 0 60px; }
}
