/* ===========================================
   CADINTER — Engineering Clean (Light v3)
   Black header + colour logo + nexperta credit
   Mobile-first responsive
   =========================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #F4F6F8;
  --surface: #FFFFFF;
  --ink: #0D1A2B;
  --ink-2: #2C3E58;
  --muted: #6B7A8F;
  --line: #DDE3EA;
  --line-2: #C9D2DD;
  --brand-blue: #1B5BA6;
  --brand-yellow: #F2C900;
  --header-bg: #0A0A0A;
  --header-fg: #FFFFFF;
  --header-fg-muted: #B5B9C0;
  --red: #C8391E;
  --radius: 6px;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Helvetica Neue', 'Inter', Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,91,166,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,91,166,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}
.container { max-width: 1320px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }

/* ============== HEADER (BLACK) ============== */
header.site {
  background: var(--header-bg);
  border-bottom: 1px solid #1c1c1c;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
}

/* ---------- CSS-built logo (works on light + dark) ---------- */
.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
  font-family: 'Helvetica Neue', Helvetica, 'Arial Black', Arial, sans-serif;
  text-decoration: none;
  flex-shrink: 0;
  user-select: none;
}
.logo-wordmark {
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -1.2px;
  display: inline-flex;
  align-items: stretch;
  width: fit-content;
}
.logo-cad {
  background: var(--brand-blue);
  color: var(--brand-yellow);
  padding: 6px 4px 6px 10px;
}
.logo-inter {
  color: #FFFFFF;
  padding: 6px 10px 6px 4px;
}
.logo-sub {
  font-size: 10.5px;
  letter-spacing: 0.2px;
  font-weight: 500;
  color: #FFFFFF;
  white-space: nowrap;
}
/* Light variant — used on white backgrounds (e.g. preview page) */
.logo.logo-light .logo-inter { color: #0A0A0A; }
.logo.logo-light .logo-sub { color: #0A0A0A; }
/* Dark variant — header + footer in production site */
.logo.logo-dark .logo-inter { color: #FFFFFF; }
.logo.logo-dark .logo-sub { color: #FFFFFF; }

nav.main { display: flex; align-items: center; gap: 8px; }
nav.main > ul { display: flex; gap: 2px; list-style: none; align-items: center; }
nav.main a {
  display: block;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--header-fg);
  transition: all .2s;
  position: relative;
  letter-spacing: 0.2px;
}
nav.main a:hover, nav.main a.current { color: var(--brand-yellow); }
nav.main li { position: relative; }
nav.main li > a::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--brand-yellow);
  transform: scaleX(0);
  transition: transform .2s;
  transform-origin: left;
}
nav.main li:hover > a::after, nav.main a.current::after { transform: scaleX(1); }
nav.main .has-sub > ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: #161616;
  border: 1px solid #2a2a2a;
  padding: 8px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all .2s;
  flex-direction: column;
  box-shadow: 0 14px 40px -10px rgba(0,0,0,0.5);
  border-radius: var(--radius);
}
nav.main .has-sub:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
nav.main .has-sub > ul a { font-size: 14px; padding: 10px 18px; color: var(--header-fg-muted); }
nav.main .has-sub > ul a:hover { background: #1f1f1f; color: var(--brand-yellow); }
nav.main .has-sub > ul a::after { display: none; }

/* Lang switch (in header) */
.lang-switch { display: flex; align-items: center; margin-left: 12px; padding-left: 14px; border-left: 1px solid #2a2a2a; }
.lang-switch button {
  background: transparent;
  border: 0;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--header-fg-muted);
  transition: color .2s;
  cursor: pointer;
  font-family: inherit;
}
.lang-switch button:hover { color: var(--brand-yellow); }
.lang-switch button.active { color: var(--brand-yellow); }

/* Mobile burger */
.burger {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
}
.burger span { display: block; width: 100%; height: 2px; background: var(--header-fg); margin: 5px 0; transition: transform .25s, opacity .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============== BUTTONS ============== */
.cta-btn {
  background: var(--ink);
  color: #FFF;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: background .2s;
  display: inline-block;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.cta-btn:hover { background: var(--brand-blue); }
.cta-btn.outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.cta-btn.outline:hover { background: var(--ink); color: #FFF; border-color: var(--ink); }
.cta-btn.accent { background: var(--brand-yellow); color: var(--ink); }
.cta-btn.accent:hover { background: var(--ink); color: #FFF; }

/* ============== HERO ============== */
.hero { padding: 70px 0; position: relative; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: stretch;
}
.hero-copy { padding-top: 8px; position: relative; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #27ae60; }
h1 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--ink);
}
h1 .accent { color: var(--brand-blue); position: relative; }
h1 .accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 6px;
  height: 10px;
  background: var(--brand-yellow);
  opacity: 0.45;
  z-index: -1;
}
.hero-lead { font-size: 17px; color: var(--ink-2); margin-bottom: 32px; max-width: 560px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.hero-stats .stat { padding-right: 16px; border-right: 1px solid var(--line); }
.hero-stats .stat:last-child { border-right: 0; }
.hero-stats .n { font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: var(--ink); letter-spacing: -1px; }
.hero-stats .l { font-size: 11px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; }

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 520px;
}
.hv-tile { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); position: relative; }
.hv-tile img { width: 100%; height: 100%; object-fit: cover; }
.hv-tile.big { grid-row: span 2; }
.hv-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,0.95);
  padding: 4px 10px; font-size: 11px; letter-spacing: 1.5px;
  color: var(--ink); border-radius: 3px; font-weight: 600;
}
.hv-caption {
  position: absolute; bottom: 12px; left: 12px; right: 12px;
  background: rgba(13,26,43,0.85); color: #FFF;
  padding: 8px 12px; font-size: 12px; border-radius: 3px;
}

.ticker {
  background: var(--header-bg);
  color: #B7C4D6;
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: flex;
  gap: 60px;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.ticker-track span { display: flex; align-items: center; gap: 60px; }
.ticker-track span::after { content: '✕'; color: var(--brand-yellow); font-size: 10px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============== SECTIONS ============== */
section { padding: clamp(56px, 9vw, 96px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: end; }
.section-head .left { max-width: 520px; }
.section-num {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 12px; color: var(--brand-blue); letter-spacing: 3px;
  margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px;
}
.section-num::before { content: ''; width: 28px; height: 1px; background: var(--brand-blue); }
h2 { font-size: clamp(26px, 4vw, 44px); font-weight: 700; letter-spacing: -1px; line-height: 1.1; }
h2 .accent { color: var(--brand-blue); }
.sec-desc { color: var(--ink-2); font-size: 16px; max-width: 480px; }

/* Services */
.services { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.svc { padding: 36px 28px; border-right: 1px solid var(--line); position: relative; transition: background .25s; }
.svc:last-child { border-right: 0; }
.svc:hover { background: var(--bg); }
.svc-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); letter-spacing: 2px; margin-bottom: 22px; }
.svc-icon { width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; color: var(--brand-blue); }
.svc h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.5px; }
.svc p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.svc ul { list-style: none; margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 12px; }
.svc ul li { font-size: 13px; color: var(--muted); padding: 3px 0; padding-left: 18px; position: relative; }
.svc ul li::before { content: ''; position: absolute; left: 0; top: 11px; width: 10px; height: 1px; background: var(--brand-blue); }

/* About */
.about-split { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
.about-visual {
  position: sticky; top: 100px;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .blueprint-tag {
  position: absolute; top: 18px; left: 18px;
  background: rgba(255,255,255,0.95);
  padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 2px;
  color: var(--ink); border-radius: 3px;
}
.about-text h2 { margin-bottom: 24px; }
.about-text .lead { font-size: 19px; color: var(--ink); font-weight: 500; margin-bottom: 24px; line-height: 1.5; }
.about-text p { color: var(--ink-2); margin-bottom: 16px; font-size: 15.5px; }
.about-text p strong { color: var(--ink); font-weight: 600; }
.about-text h4 { font-size: 14px; margin: 24px 0 12px; color: var(--brand-blue); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }

.goals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; margin-bottom: 22px; }
.goal-pill { padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); border-top: 3px solid var(--brand-yellow); }
.goal-pill .gn { font-family: 'JetBrains Mono', monospace; color: var(--brand-blue); font-size: 11px; font-weight: 600; letter-spacing: 2px; }
.goal-pill .gt { font-size: 13.5px; color: var(--ink); margin-top: 5px; font-weight: 500; }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.fact { padding: 18px 20px; background: var(--bg); border-left: 3px solid var(--brand-blue); border-radius: 0 var(--radius) var(--radius) 0; }
.fact .k { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--muted); letter-spacing: 1.5px; margin-bottom: 6px; text-transform: uppercase; }
.fact .v { font-size: 16px; font-weight: 600; color: var(--ink); }

.partner-ribbon {
  margin-top: 28px; padding: 18px 22px;
  background: var(--ink); color: #FFF;
  border-radius: var(--radius);
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center;
}
.partner-ribbon .mark { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--brand-yellow); letter-spacing: 3px; }
.partner-ribbon .txt { font-size: 15px; font-weight: 500; }

/* Detail panels */
.detail-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.detail-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.detail-panel h3 { font-size: 20px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); letter-spacing: -0.3px; }
.detail-panel h3 .acc { color: var(--brand-blue); }
.bullet-list { list-style: none; }
.bullet-list li { padding: 11px 0; padding-left: 24px; position: relative; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; border-bottom: 1px dashed var(--line); }
.bullet-list li:last-child { border-bottom: 0; }
.bullet-list li::before { content: ''; position: absolute; left: 0; top: 18px; width: 12px; height: 2px; background: var(--brand-blue); }
.bullet-list.yellow li::before { background: var(--brand-yellow); }

.caps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.caps-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.caps-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); letter-spacing: -0.3px; }
.caps-card h3 .acc { color: var(--brand-blue); }
.caps-list { list-style: none; }
.caps-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--ink-2); align-items: flex-start; }
.caps-list li:last-child { border-bottom: 0; }
.caps-list .idx { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--brand-blue); min-width: 28px; padding-top: 2px; }

/* Portfolio */
.portfolio { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.portfolio-filters { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.filter {
  padding: 7px 14px; border: 1px solid var(--line);
  background: var(--surface); border-radius: 100px;
  font-size: 13px; color: var(--ink-2); cursor: pointer;
  transition: all .2s; font-family: inherit;
}
.filter.active, .filter:hover { background: var(--ink); color: #FFF; border-color: var(--ink); }

.port-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.port { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); transition: opacity .25s; }
.port img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.port:hover img { transform: scale(1.04); }
.port.hidden { display: none; }
.port .info {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  background: rgba(255,255,255,0.94);
  border-radius: 4px; padding: 10px 12px;
  border: 1px solid var(--line);
}
.port .cat { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--brand-blue); letter-spacing: 2px; margin-bottom: 2px; }
.port .title { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.port.span-4 { grid-column: span 4; height: 320px; }
.port.span-5 { grid-column: span 5; height: 320px; }
.port.span-6 { grid-column: span 6; height: 320px; }
.port.span-7 { grid-column: span 7; height: 320px; }
.port.span-8 { grid-column: span 8; height: 320px; }

/* Management */
.mgmt-card {
  background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand-yellow);
  border-radius: var(--radius); padding: 32px;
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  max-width: 900px;
}
.mgmt-avatar {
  width: 110px; height: 110px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; font-weight: 800; color: var(--ink);
}
.mgmt-info .role { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--brand-blue); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 6px; }
.mgmt-info h3 { font-size: 24px; margin-bottom: 10px; letter-spacing: -0.5px; }
.mgmt-info .mrow { padding: 4px 0; font-size: 14.5px; color: var(--ink-2); }
.mgmt-info .mrow a { color: var(--ink); }
.mgmt-info .mrow a:hover { color: var(--brand-blue); }
.mgmt-info .mrow strong { color: var(--brand-blue); margin-right: 12px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 2px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: all .2s; }
.team-card:hover { border-color: var(--brand-blue); transform: translateY(-2px); box-shadow: 0 8px 24px -12px rgba(13,26,43,0.15); }
.team-card .avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--brand-blue); font-size: 15px; margin-bottom: 12px;
}
.team-card .name { font-size: 15.5px; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.team-card .title-small { font-size: 12px; color: var(--brand-blue); margin-bottom: 8px; font-family: 'JetBrains Mono', monospace; letter-spacing: 1px; text-transform: uppercase; }
.team-card .email { font-size: 13px; color: var(--muted); word-break: break-all; }
.team-card .email a:hover { color: var(--brand-blue); }
.team-card.collab { border-left: 3px solid var(--brand-yellow); }

/* Location */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.loc-info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.loc-info h3 { font-size: 20px; margin-bottom: 16px; letter-spacing: -0.3px; }
.loc-info .loc-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.loc-info .loc-row:last-child { border-bottom: 0; }
.loc-info .loc-row .l { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--brand-blue); letter-spacing: 2px; margin-bottom: 4px; }
.loc-info .loc-row .v { color: var(--ink); font-size: 14.5px; }
.loc-info .loc-row .v a { color: var(--ink); }
.loc-info .loc-row .v a:hover { color: var(--brand-blue); }
.loc-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); min-height: 380px; }
.loc-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* Contact */
.contact { background: var(--ink); color: #E5ECF3; }
.contact h2 { color: #FFF; }
.contact .section-num { color: var(--brand-yellow); }
.contact .section-num::before { background: var(--brand-yellow); }
.contact .sec-desc { color: #9FADBF; }
.contact-block {
  border: 1px solid #24354A;
  background: #14253C;
  border-radius: var(--radius);
  padding: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #24354A;
  align-items: start;
}
.contact-row:last-child { border-bottom: 0; }
.contact-row .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--brand-yellow);
  letter-spacing: 2px;
  padding-top: 3px;
}
.contact-row .val { font-size: 14.5px; color: #E5ECF3; }
.contact-row .val a { color: #E5ECF3; }
.contact-row .val a:hover { color: var(--brand-yellow); }
.contact-row .val small { color: #8FA0B4; display: block; margin-top: 4px; font-size: 13px; }

/* ============== FOOTER ============== */
footer.site { background: #061120; color: #8FA0B4; padding: 56px 0 18px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.foot-brand .foot-logo {
  display: inline-flex;
  margin-bottom: 16px;
}
.foot-brand .foot-logo .logo-wordmark { font-size: 30px; }
.foot-brand p { font-size: 13.5px; max-width: 340px; line-height: 1.6; }
.foot-col h5 { color: #FFF; font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.foot-col ul { list-style: none; }
.foot-col li { padding: 4px 0; font-size: 13.5px; }
.foot-col a:hover { color: var(--brand-yellow); }

.foot-bottom {
  border-top: 1px solid #24354A;
  padding-top: 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.4px;
}
.foot-copy { text-align: left; }
.foot-spacer { /* keeps credit centered between copy & spacer */ }
.foot-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #B5BFCB;
  transition: color .2s;
  justify-self: center;
  white-space: nowrap;
}
.foot-credit:hover { color: var(--brand-yellow); }
.foot-credit:hover .credit-logo { filter: brightness(1.2); }
.foot-credit .pre { font-size: 12.5px; letter-spacing: 0.4px; }
.foot-credit .credit-name { font-weight: 600; font-size: 13px; letter-spacing: 0.3px; }
.foot-credit .credit-logo {
  height: 28px;
  width: auto;
  display: block;
  /* Grayscale source logo (dark on transparent) → invert to bright on dark footer */
  filter: invert(1) grayscale(1) brightness(1.6);
}

/* Obfuscated email/tel spans (pre-hydration look) — kept identical to a normal link */
.eml, .tel { color: inherit; }
.eml-hydrated, .tel-hydrated { color: inherit; word-break: break-all; }
.eml-hydrated:hover, .tel-hydrated:hover { color: var(--brand-blue); }

/* ============== COOKIE BANNER ============== */
.cookie-banner {
  position: fixed;
  left: 18px; right: 18px; bottom: 18px;
  background: #0A0A0A;
  color: #E5ECF3;
  border: 1px solid #2A2A2A;
  border-left: 4px solid var(--brand-yellow);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  z-index: 998;
  box-shadow: 0 18px 42px -12px rgba(0,0,0,0.4);
  animation: cookieIn .35s ease-out;
}
@keyframes cookieIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.cookie-banner.hidden { display: none; }
.cookie-text { font-size: 13.5px; line-height: 1.55; }
.cookie-text a { color: var(--brand-yellow); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-btn {
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
}
.cookie-btn.accept { background: var(--brand-yellow); color: #0A0A0A; }
.cookie-btn.accept:hover { background: #FFD93C; }
.cookie-btn.reject { background: transparent; color: #B5B9C0; border: 1px solid #2A2A2A; }
.cookie-btn.reject:hover { background: #1A1A1A; color: #FFF; }

/* ============== RESPONSIVE ============== */
@media (max-width: 1080px) {
  .hero-inner, .about-split, .loc-grid, .detail-split { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .svc { border-right: 0; border-bottom: 1px solid var(--line); }
  .svc:last-child { border-bottom: 0; }
  .caps-grid, .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .port.span-4, .port.span-5, .port.span-6, .port.span-7, .port.span-8 { grid-column: span 12; height: 260px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .mgmt-card { grid-template-columns: 1fr; text-align: center; }
  .mgmt-avatar { margin: 0 auto; }
  .about-visual { position: static; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .logo-wordmark { font-size: 24px; letter-spacing: -1px; }
  .logo-sub { font-size: 9.5px; }
  .site-head { padding: 14px 0; gap: 12px; }
  .burger { display: block; }
  nav.main {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--header-bg);
    border-top: 1px solid #1c1c1c;
    border-bottom: 1px solid #1c1c1c;
    padding: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 16px 30px -10px rgba(0,0,0,0.4);
  }
  nav.main.open { display: flex; }
  nav.main > ul { flex-direction: column; gap: 0; padding: 8px 0; }
  nav.main a { padding: 12px 24px; }
  nav.main li > a::after { display: none; }
  nav.main .has-sub > ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0 0 8px 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    display: none;
  }
  nav.main .has-sub.open > ul { display: flex; }
  nav.main .has-sub > a::before {
    content: '+';
    margin-right: 8px;
    color: var(--brand-yellow);
  }
  .lang-switch { margin: 6px 0 12px; padding: 8px 24px; border-left: 0; border-top: 1px solid #1c1c1c; justify-content: flex-start; gap: 4px; }
  .hero { padding: 48px 0; }
  .hero-visual { height: 380px; gap: 8px; }
  .hero-stats { gap: 0; padding-top: 16px; }
  .hero-stats .stat { padding-right: 8px; }
  .goals-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .caps-grid, .team-grid { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; gap: 6px; }
  .contact-row .lbl { padding-top: 0; }
  .contact-block, .detail-panel, .loc-info { padding: 22px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-bottom { grid-template-columns: 1fr; text-align: center; gap: 14px; }
  .foot-copy { text-align: center; }
  .foot-credit { justify-self: center; }
  .foot-spacer { display: none; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px; grid-template-columns: 1fr; gap: 12px; }
  .cookie-actions { flex-direction: row; justify-content: stretch; }
  .cookie-btn { flex: 1; padding: 11px 14px; }
  .ticker-track { font-size: 12px; letter-spacing: 2px; }
  .partner-ribbon { grid-template-columns: 1fr; gap: 8px; text-align: center; }
}

@media (max-width: 420px) {
  .hero-stats { grid-template-columns: 1fr; gap: 14px; }
  .hero-stats .stat { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 14px; }
  .hero-stats .stat:last-child { border-bottom: 0; padding-bottom: 0; }
  .hero-visual { height: auto; grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .hv-tile.big { grid-row: auto; height: 240px; }
  .hv-tile { height: 160px; }
}
