/* ============================================================
   TRING MAX — Design System
   Premium telecom / enterprise SaaS aesthetic
   ============================================================ */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Color palette — black canvas, white text, lime green (#99cc00) accents */
  --navy-900: #000000;   /* page background (black) */
  --navy-850: #070707;
  --navy-800: #0c0d0a;   /* alt sections / deeper surface */
  --navy-700: #141511;
  --navy-600: #1d1f18;
  --surface:  rgba(255, 255, 255, 0.045);   /* glass cards on black */
  --surface-2:rgba(255, 255, 255, 0.075);
  --stroke:   rgba(153, 204, 0, 0.22);       /* lime lines / borders */
  --stroke-2: rgba(153, 204, 0, 0.42);

  --blue-300: #b6e34a;   /* bright lime for small accent text / links */
  --blue-400: #99cc00;
  --blue-500: #99cc00;
  --blue-600: #7aa300;
  --blue-700: #5c7a00;
  --royal:    #99cc00;
  --cyan:     #c2f04a;

  --white:    #ffffff;
  --ink-100:  #ffffff;   /* primary text (white) */
  --ink-300:  #d4d8cc;   /* body text (soft white) */
  --ink-400:  #9aa08e;   /* muted */
  --ink-500:  #71776a;   /* subtle */

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #99cc00 0%, #7aa300 55%, #5c7a00 100%);
  --grad-text:  linear-gradient(100deg, #c2f04a 0%, #99cc00 45%, #b6e34a 100%);
  --grad-cta:   linear-gradient(120deg, #99cc00, #84b300 60%, #b6e34a);

  /* Typography */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --fs-hero: clamp(2.5rem, 5.2vw, 4.6rem);
  --fs-h2:   clamp(1.9rem, 3.3vw, 3rem);
  --fs-h3:   clamp(1.15rem, 1.5vw, 1.35rem);
  --fs-lead: clamp(1rem, 1.25vw, 1.18rem);

  /* Spacing & radius */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  /* Effects */
  --shadow-soft: 0 18px 50px -20px rgba(0, 0, 0, 0.7);
  --shadow-card: 0 24px 60px -28px rgba(0, 0, 0, 0.85);
  --blur: blur(18px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--ink-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }

/* ---------- 3. Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background:
  radial-gradient(120% 100% at 50% 0%, rgba(153,204,0,.08), transparent 60%),
  linear-gradient(180deg, rgba(255,255,255,.012), transparent); }

.section__head { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section__title { font-size: var(--fs-h2); margin-bottom: .9rem; }
.section__lead { color: var(--ink-300); font-size: var(--fs-lead); }
.kicker {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue-300); margin-bottom: 1rem;
  padding: .35rem .85rem; border: 1px solid var(--stroke); border-radius: 100px;
  background: var(--surface); backdrop-filter: var(--blur);
}
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 4. Background ambience ---------- */
.bg-aura { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aura { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.aura--1 { width: 620px; height: 620px; top: -200px; left: -120px; background: radial-gradient(circle, rgba(153,204,0,.55), transparent 70%); }
.aura--2 { width: 540px; height: 540px; top: 40%; right: -160px; background: radial-gradient(circle, rgba(153,204,0,.32), transparent 70%); }
.aura--3 { width: 700px; height: 700px; bottom: -260px; left: 30%; background: radial-gradient(circle, rgba(122,163,0,.30), transparent 70%); }
.bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 80%);
}

/* ---------- 5. Glassmorphism ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--stroke);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--shadow-soft);
}

/* ---------- 6. Buttons ---------- */
.btn {
  --py: .85rem; --px: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: var(--py) var(--px);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  border-radius: 100px; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.btn--sm { --py: .6rem; --px: 1.1rem; font-size: .88rem; }
.btn--lg { --py: 1rem; --px: 1.9rem; font-size: 1rem; }
.btn .arrow, .btn .link i { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary {
  color: var(--ink-100); background: var(--grad-cta);
  background-size: 160% 160%; background-position: 0% 50%;
  box-shadow: 0 14px 34px -12px rgba(153,204,0,.7), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 22px 44px -14px rgba(153,204,0,.85); }

.btn--glass { color: var(--ink-100); background: var(--surface-2); border: 1px solid var(--stroke-2); backdrop-filter: var(--blur); }
.btn--glass:hover { transform: translateY(-2px); background: rgba(255,255,255,.12); border-color: var(--blue-400); }

.btn--ghost { color: var(--ink-300); }
.btn--ghost:hover { color: var(--ink-100); }

/* ---------- 7. Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(255,255,255, .72); backdrop-filter: blur(20px); border-bottom-color: var(--stroke); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; }
/* TRING MAX wordmark — the PNG has wide transparent padding, so we crop to
   the measured content bounds (content 1194x195 within a 2133x1422 image). */
.brand__logo { display: block; height: 30px; aspect-ratio: 1194 / 195; overflow: hidden; position: relative; }
.brand__logo img { position: absolute; max-width: none; height: 729.23%; width: 178.64%; left: -39.28%; top: -319.49%; filter: drop-shadow(0 4px 12px rgba(153,204,0,.35)); }
.footer .brand__logo { height: 28px; }

.nav__links { display: flex; align-items: center; flex-wrap: nowrap; gap: .15rem; flex: 1; justify-content: center; }
.nav__links a {
  font-family: var(--font-display); font-weight: 500; font-size: .92rem; color: var(--ink-300);
  padding: .5rem .8rem; border-radius: 100px; white-space: nowrap; line-height: 1;
  transition: color .25s, background .25s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink-100); background: var(--surface); }
.nav__actions { display: flex; align-items: center; gap: .6rem; }

/* Language switcher (EN / SQ / MK) */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--stroke); border-radius: 999px; background: rgba(255,255,255,.04); }
.lang-switch button { appearance: none; border: 0; background: transparent; color: var(--ink-400); font-family: var(--font-display); font-weight: 700; font-size: .7rem; letter-spacing: .04em; padding: .34rem .52rem; border-radius: 999px; cursor: pointer; transition: color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease); }
.lang-switch button:hover { color: var(--ink-100); }
.lang-switch button.is-active { color: var(--ink-100); background: linear-gradient(180deg, #99cc00, #7aa300); box-shadow: 0 6px 16px -8px rgba(153,204,0,.85); }
.nav__drawer-actions .lang-switch { justify-self: center; margin-bottom: .2rem; }

.nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; padding: 0 10px; border-radius: 12px; }
.nav__toggle span { height: 2px; background: var(--ink-100); border-radius: 2px; transition: transform .3s var(--ease), opacity .25s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__drawer {
  position: absolute; top: 100%; left: 0; right: 0;
  display: grid; gap: .25rem; padding: 1rem var(--gutter) 1.5rem;
  background: rgba(255,255,255, .96); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--stroke);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .35s var(--ease), opacity .3s;
}
.nav.is-open .nav__drawer { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav__drawer a { padding: .85rem .5rem; font-family: var(--font-display); font-weight: 500; color: var(--ink-200, var(--ink-300)); border-bottom: 1px solid rgba(255,255,255,.05); }
.nav__drawer-actions { display: grid; gap: .6rem; margin-top: 1rem; }
.nav__drawer-actions .btn { width: 100%; }

/* ---------- 8. Hero ---------- */
.hero { position: relative; padding-top: clamp(8rem, 16vh, 11rem); padding-bottom: clamp(4rem, 9vw, 7rem); overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--blue-300); padding: .45rem .9rem; border: 1px solid var(--stroke); border-radius: 100px; background: var(--surface); backdrop-filter: var(--blur); margin-bottom: 1.4rem; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(153,204,0,.2); animation: pulse 2s infinite; }

.hero__title { font-size: var(--fs-hero); font-weight: 800; }
.hero__title .grad-text { display: block; }
.hero__sub { color: var(--ink-300); font-size: var(--fs-lead); max-width: 38ch; margin: 1.5rem 0 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__trust { display: flex; align-items: center; gap: 1.4rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero__trust > div { display: flex; flex-direction: column; }
.hero__trust strong { font-family: var(--font-display); font-size: 1.25rem; }
.hero__trust span { font-size: .8rem; color: var(--ink-400); }
.hero__trust .divider { width: 1px; height: 34px; background: var(--stroke-2); }

/* Hero floating panel */
.hero__panel { position: relative; }
.card-live { border-radius: var(--r-lg); padding: 1.4rem; position: relative; }
.card-live__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.live-pill { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--ink-100); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 0 rgba(239,68,68,.6); animation: pulse-red 1.6s infinite; }
.card-live__region { font-size: .72rem; color: var(--ink-400); letter-spacing: .05em; }

.feed { display: grid; gap: .55rem; max-height: 326px; overflow-y: auto; padding-right: 5px; scrollbar-width: thin; scrollbar-color: rgba(153,204,0,.4) transparent; }
.feed::-webkit-scrollbar { width: 6px; }
.feed::-webkit-scrollbar-thumb { background: rgba(153,204,0,.4); border-radius: 6px; }
.feed::-webkit-scrollbar-track { background: transparent; }
.feed li { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: .8rem; padding: .65rem; border-radius: var(--r-sm); background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.05); transition: background .3s, transform .3s; }
.feed li:hover { background: rgba(255,255,255,.07); transform: translateX(3px); }
.feed li > div { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.feed li b { font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: var(--ink-100); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed li small { font-size: .68rem; color: var(--ink-400); line-height: 1.2; }
.feed__logo { width: 56px; height: 40px; display: grid; place-items: center; border-radius: 9px; background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.08); }
.feed__logo img { max-width: 46px; max-height: 30px; width: auto; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(0,0,0,.4)); }
.feed__ico { width: 40px; height: 40px; border-radius: 11px; background: var(--grad-brand); position: relative; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.feed__ico::after { content: ""; position: absolute; inset: 0; background-position: center; background-repeat: no-repeat; background-size: 20px; }
.ico--sport::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 3v18M3 12h18'/%3E%3C/svg%3E"); }
.ico--movie::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 9h18M8 5v14M16 5v14'/%3E%3C/svg%3E"); }
.ico--news::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M7 9h6M7 13h10M7 17h10'/%3E%3C/svg%3E"); }
.ico--kids::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9 10h.01M15 10h.01M8.5 15a4 4 0 0 0 7 0'/%3E%3C/svg%3E"); }
.feed__stat { font-family: var(--font-display); font-weight: 700; font-size: .72rem; padding: .25rem .55rem; border-radius: 7px; background: rgba(255,255,255,.07); color: var(--ink-300); }
.feed__stat.up { background: rgba(153,204,0,.16); color: var(--cyan); }

.card-live__foot { display: flex; align-items: center; gap: .8rem; margin-top: 1.1rem; }
.card-live__foot span { font-size: .76rem; color: var(--ink-400); white-space: nowrap; }
.bar { flex: 1; height: 7px; border-radius: 100px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: 100px; background: linear-gradient(90deg, var(--blue-500), var(--cyan)); animation: load 2.4s var(--ease) both; }

.float-chip { position: absolute; font-family: var(--font-display); font-weight: 700; font-size: .82rem; padding: .55rem 1rem; border-radius: 100px; color: var(--ink-100); }
.chip--a { top: -18px; right: 6%; animation: float 5s ease-in-out infinite; }
.chip--b { bottom: -16px; left: -10px; animation: float 6s ease-in-out infinite .6s; }

.hero__scroll { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-400); }
.hero__scroll span { width: 22px; height: 36px; border: 1.5px solid var(--stroke-2); border-radius: 100px; position: relative; }
.hero__scroll span::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 7px; border-radius: 4px; background: var(--blue-300); transform: translateX(-50%); animation: scroll-dot 1.8s infinite; }

/* ---------- 9. Partners / Stats ---------- */
.partners { padding-top: clamp(3rem, 6vw, 5rem); }
.marquee-label { text-align: center; color: var(--ink-400); font-size: .92rem; max-width: 720px; margin: 0 auto 2rem; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); margin-bottom: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(3rem,6vw,4.5rem); border-bottom: 1px solid var(--stroke); }
.logo-tile { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; color: var(--ink-400); opacity: .75; transition: color .3s, opacity .3s, transform .3s; }
.logo-tile:hover { color: var(--ink-100); opacity: 1; transform: translateY(-2px); }

/* Partner logo wall (real logos, transparent — sit directly on the dark backdrop) */
.partner-logos { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: clamp(1rem, 3vw, 3rem); margin-bottom: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(3rem,6vw,4.5rem); border-bottom: 1px solid var(--stroke); }
.partner-logo {
  position: relative; flex: 1 1 0; min-width: 0;
  display: grid; place-items: center;
  height: 140px; padding: 1.1rem 1.5rem;
  background: transparent; border: 0; box-shadow: none;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
/* Soft glowing halo behind the logo on hover */
.partner-logo::before {
  content: ""; position: absolute; inset: 50% 50% auto auto;
  width: 70%; height: 70%; transform: translate(50%, -50%) scale(.8);
  background: radial-gradient(closest-side, rgba(255,255,255,.6), rgba(255,255,255,.2) 55%, transparent 78%);
  border-radius: 50%; filter: blur(14px);
  opacity: 0; transition: opacity .4s var(--ease), transform .4s var(--ease);
  pointer-events: none; z-index: 0;
}
.partner-logo img { position: relative; z-index: 1; max-width: 100%; max-height: 90px; width: auto; object-fit: contain; }
/* Black wordmark logos read as white on the dark background */
.partner-logo img[src*="ArtMotion" i] { filter: brightness(0) invert(1); }
.partner-logo:hover { transform: translateY(-5px); }
.partner-logo:hover::before { opacity: 1; transform: translate(50%, -50%) scale(1.12); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.stat { border-radius: var(--r-lg); padding: clamp(1.4rem, 2.5vw, 2rem); text-align: center; position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 0%, rgba(153,204,0,.18), transparent 65%); opacity: 0; transition: opacity .4s; }
.stat:hover::before { opacity: 1; }
.stat__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.1rem); line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { display: block; margin-top: .6rem; color: var(--ink-300); font-size: .92rem; }

/* ---------- 10. Channel category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 1.8vw, 1.4rem); }
.cat-grid .cat-card { grid-column: span 3; }            /* row 1: four cards */
.cat-grid .cat-card:nth-child(n+5) { grid-column: span 4; } /* row 2: three cards fill full width */
.channel-cat { scroll-margin-top: 90px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; padding: 1.7rem; border-radius: var(--r-lg); overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
}
/* soft corner light that blooms on hover */
.cat-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 95% at 0% 0%, rgba(153,204,0,.22), transparent 60%); opacity: 0; transition: opacity .45s; }
/* gradient hairline along the top edge */
.cat-card::after { content: ""; position: absolute; top: 0; left: 1px; right: 1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(190,238,90,.75), transparent); opacity: 0; transition: opacity .45s; }
.cat-card:hover { transform: translateY(-8px); border-color: var(--stroke-2); box-shadow: var(--shadow-card), 0 0 0 1px rgba(153,204,0,.16); }
.cat-card:hover::before, .cat-card:hover::after { opacity: 1; }
.cat-card > * { position: relative; z-index: 1; }
.cat-card h3 { font-size: var(--fs-h3); margin: 1.1rem 0 .5rem; }
.cat-card p { color: var(--ink-400); font-size: .92rem; }
.cat-card__more { display: inline-flex; align-self: flex-start; align-items: center; gap: .4rem; margin-top: auto; padding-top: 1.2rem; font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--blue-300); text-decoration: none; transition: color .3s; }
.cat-card__more i { transition: transform .3s var(--ease); }
.cat-card:hover .cat-card__more { color: var(--blue-200, #b3e63a); }
.cat-card:hover .cat-card__more i { transform: translateX(4px); }

/* Icon chips (shared) */
.cat-card__ico, .feature__ico {
  width: 54px; height: 54px; border-radius: 15px; display: inline-grid; place-items: center;
  background: linear-gradient(135deg, rgba(153,204,0,.28), rgba(122,163,0,.12));
  border: 1px solid var(--stroke-2); position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
}
.cat-card:hover .cat-card__ico {
  transform: translateY(-2px) scale(1.06);
  border-color: rgba(153,204,0,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 24px -8px rgba(153,204,0,.6);
}
.cat-card__ico::after, .feature__ico::after {
  content: ""; width: 28px; height: 28px;
  background: linear-gradient(135deg, #e4f5b0, var(--blue-300)); -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain;
}
[data-ico="sports"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 3a9 9 0 0 0 0 18M3 12a9 9 0 0 1 18 0'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 3a9 9 0 0 0 0 18M3 12a9 9 0 0 1 18 0'/%3E%3C/svg%3E"); }
[data-ico="movie"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M7 5v14M17 5v14M3 10h18M3 14h18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M7 5v14M17 5v14M3 10h18M3 14h18'/%3E%3C/svg%3E"); }
[data-ico="ent"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 2.6 5.3 5.9.9-4.3 4.1 1 5.8-5.2-2.7-5.2 2.7 1-5.8L3.5 9.2l5.9-.9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 2.6 5.3 5.9.9-4.3 4.1 1 5.8-5.2-2.7-5.2 2.7 1-5.8L3.5 9.2l5.9-.9z'/%3E%3C/svg%3E"); }
[data-ico="kids"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9 10h.01M15 10h.01M8.5 14.5a4 4 0 0 0 7 0'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9 10h.01M15 10h.01M8.5 14.5a4 4 0 0 0 7 0'/%3E%3C/svg%3E"); }
[data-ico="doc"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h9l4 4v14H6z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h9l4 4v14H6z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
[data-ico="news"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M7 9h6M7 13h10M7 17h10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M7 9h6M7 13h10M7 17h10'/%3E%3C/svg%3E"); }
[data-ico="music"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M9 18V6l10-2v12'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='16' cy='16' r='3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M9 18V6l10-2v12'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='16' cy='16' r='3'/%3E%3C/svg%3E"); }
[data-ico="intl"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18 14 14 0 0 1 0-18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18 14 14 0 0 1 0-18'/%3E%3C/svg%3E"); }
[data-ico="acq"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M20 7 9 18l-5-5'/%3E%3Cpath d='M12 3v6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M20 7 9 18l-5-5'/%3E%3C/svg%3E"); }
[data-ico="dist"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Ccircle cx='5' cy='19' r='2'/%3E%3Ccircle cx='19' cy='19' r='2'/%3E%3Cpath d='M12 7v4M12 11 6 17M12 11l6 6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Ccircle cx='5' cy='19' r='2'/%3E%3Ccircle cx='19' cy='19' r='2'/%3E%3Cpath d='M12 7v4M12 11 6 17M12 11l6 6'/%3E%3C/svg%3E"); }
[data-ico="integ"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='8' height='8' rx='1'/%3E%3Crect x='13' y='13' width='8' height='8' rx='1'/%3E%3Cpath d='M11 7h4a2 2 0 0 1 2 2v4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='8' height='8' rx='1'/%3E%3Crect x='13' y='13' width='8' height='8' rx='1'/%3E%3Cpath d='M11 7h4a2 2 0 0 1 2 2v4'/%3E%3C/svg%3E"); }
[data-ico="support"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M4 12a8 8 0 0 1 16 0'/%3E%3Crect x='2' y='12' width='4' height='7' rx='1.5'/%3E%3Crect x='18' y='12' width='4' height='7' rx='1.5'/%3E%3Cpath d='M20 18a3 3 0 0 1-3 3h-3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M4 12a8 8 0 0 1 16 0'/%3E%3Crect x='2' y='12' width='4' height='7' rx='1.5'/%3E%3Crect x='18' y='12' width='4' height='7' rx='1.5'/%3E%3Cpath d='M20 18a3 3 0 0 1-3 3h-3'/%3E%3C/svg%3E"); }

/* ---------- 10b. Featured channels (logos) ---------- */
.channels-feat { padding-top: clamp(2rem, 4vw, 3rem); }

/* Seamless scrolling marquee */
.marquee { position: relative; width: 100%; overflow: hidden; padding-block: .5rem; margin-bottom: clamp(2rem, 4vw, 3rem);
  -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; width: max-content; gap: 1rem; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.logo-card {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 178px; height: 96px; padding: 1rem 1.4rem;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  border: 1px solid var(--stroke); border-radius: var(--r-md);
  backdrop-filter: var(--blur); transition: transform .3s, border-color .3s, background .3s;
}
.logo-card img { width: auto; height: auto; max-height: 50px; max-width: 100%; object-fit: contain; }
.logo-card:hover { transform: translateY(-3px); border-color: var(--blue-400); background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); }

/* Static grid — uniform logo wall on dark glass tiles */
.channel-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.8rem, 1.4vw, 1.1rem); }
.channel-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  margin: 0; padding: 1.5rem 1rem; border-radius: var(--r-md); min-height: 158px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border: 1px solid var(--stroke); backdrop-filter: var(--blur);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s, background .35s;
}
/* Fixed-height logo box (logos pre-trimmed) — every logo is centred in the same band so all logos AND captions line up */
.channel-tile img { width: 100%; height: 58px; object-fit: contain; object-position: center; transition: transform .35s var(--ease), filter .35s; }
.channel-tile figcaption { font-family: var(--font-display); font-weight: 600; font-size: .76rem; letter-spacing: .01em; color: var(--ink-400); text-align: center; line-height: 1.35; min-height: 2.7em; display: flex; align-items: flex-start; justify-content: center; }
.channel-tile:hover { transform: translateY(-5px); border-color: var(--stroke-2); box-shadow: var(--shadow-card); background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); }
.channel-tile:hover img { transform: scale(1.06); }
.channel-tile:hover figcaption { color: var(--ink-100); }

/* Dark logos (broadcasters etc.) rendered as clean white marks so they read on dark; real colour on hover */
:is(.channels-feat, .channel-cat) img:is(
  [src*="rtk" i], [src*="ktv" i], [src*="klankosova" i], [src*="art-prime" i], [src*="rtv21" i],
  [src*="21plus" i], [src*="21-junior" i], [src*="tv-dielli" i], [src*="tv-besa" i], [src*="kanal-10" i]
) { filter: brightness(0) invert(1); opacity: .92; }
:is(.channels-feat, .channel-cat) :is(.logo-card, .channel-tile):hover img:is(
  [src*="rtk" i], [src*="ktv" i], [src*="klankosova" i], [src*="art-prime" i], [src*="rtv21" i],
  [src*="21plus" i], [src*="21-junior" i], [src*="tv-dielli" i], [src*="tv-besa" i], [src*="kanal-10" i]
) { filter: none; opacity: 1; }

.channels-feat__cta { display: flex; justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - .5rem)); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- 11. Why / Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.feature { padding: 1.5rem .5rem; position: relative; }
.feature::after { content: ""; position: absolute; top: 1.7rem; right: -1rem; width: 1px; height: 64px; background: linear-gradient(var(--stroke-2), transparent); }
.feature:last-child::after { display: none; }
.feature h3 { font-size: var(--fs-h3); margin: 1.2rem 0 .6rem; }
.feature p { color: var(--ink-400); font-size: .94rem; }
.feature__ico { transition: transform .4s var(--ease), border-color .4s; }
.feature:hover .feature__ico { transform: translateY(-4px); border-color: var(--blue-400); }

/* ---------- 12. Solutions ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 2.2vw, 1.8rem); max-width: 880px; margin-inline: auto; }
.sol-card { border-radius: var(--r-lg); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.sol-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--stroke-2); }
.sol-card__media { height: 180px; position: relative; overflow: hidden; }
.sol-card__media::before { content: ""; position: absolute; inset: 0; opacity: .9; transition: transform .6s var(--ease); }
.sol-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sol-card:hover .sol-card__photo { transform: scale(1.06); }
.media--telecom::before { background:
  radial-gradient(circle at 30% 30%, rgba(255,255,255,.45), transparent 50%),
  linear-gradient(135deg, #99cc00, #6f9400); }
.media--isp::before { background:
  radial-gradient(circle at 70% 30%, rgba(255,255,255,.4), transparent 50%),
  linear-gradient(135deg, #acd92e, #7aa300); }
.media--hotel::before { background:
  radial-gradient(circle at 50% 70%, rgba(255,255,255,.45), transparent 55%),
  linear-gradient(135deg, #99cc00, #5c7a00); }
.sol-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 45%, rgba(0,0,0,.55) 100%);
}
.sol-card__body { padding: 1.6rem; }
.sol-card__tag { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-300); padding: .3rem .75rem; border: 1px solid var(--stroke); border-radius: 100px; margin-bottom: 1rem; }
.sol-card__body h3 { font-size: var(--fs-h3); margin-bottom: .6rem; }
.sol-card__body p { color: var(--ink-400); font-size: .94rem; margin-bottom: 1.2rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--blue-300); }
.link-arrow i { transition: transform .3s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }

/* ---------- 13. Global Network Map ---------- */
.map-wrap { border-radius: var(--r-xl); padding: clamp(1.2rem, 2.5vw, 2rem); position: relative; }
.map-legend { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-bottom: 1rem; font-size: .85rem; color: var(--ink-300); }
.map-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.lg { width: 11px; height: 11px; border-radius: 50%; }
.lg--source { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.lg--node { background: var(--blue-400); box-shadow: 0 0 10px var(--blue-400); }
.lg--client { background: #c2f04a; box-shadow: 0 0 10px #c2f04a; }
.map-stage { position: relative; width: 100%; aspect-ratio: 2 / 1; }
.map-stage svg { width: 100%; height: 100%; }

/* ---------- 14. CTA ---------- */
.cta { padding-block: var(--section-y); }
.cta__panel { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(2.6rem, 6vw, 5rem); text-align: center; }
.cta__panel h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }
.cta__panel p { color: var(--ink-300); font-size: var(--fs-lead); max-width: 46ch; margin: 0 auto 2rem; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.cta__glow { position: absolute; inset: -40% 20% auto; height: 380px; background: radial-gradient(circle, rgba(153,204,0,.45), transparent 65%); filter: blur(20px); }

/* ---------- 15. Contact form ---------- */
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__copy .section__title { text-align: left; }
.contact__list { display: grid; gap: .9rem; margin-top: 1.8rem; }
.contact__list li { display: flex; align-items: center; gap: .8rem; color: var(--ink-300); }
.ci { width: 38px; height: 38px; border-radius: 11px; display: inline-grid; place-items: center; background: var(--surface); border: 1px solid var(--stroke); position: relative; }
.ci::after { content: ""; width: 18px; height: 18px; background: var(--blue-300); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
[data-ico="mail"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
[data-ico="phone"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h4l2 5-3 2a12 12 0 0 0 5 5l2-3 5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h4l2 5-3 2a12 12 0 0 0 5 5l2-3 5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
[data-ico="pin"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-6 7-11a7 7 0 1 0-14 0c0 5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-6 7-11a7 7 0 1 0-14 0c0 5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }

.contact__form { border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: .85rem; color: var(--ink-300); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--r-sm);
  background: rgba(255,255,255,.04); border: 1px solid var(--stroke);
  color: var(--ink-100); transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-500); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%238a99b8' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; }
.field select option { background: var(--navy-800); color: var(--ink-100); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 4px rgba(153,204,0,.18); background: rgba(255,255,255,.06); }
.field input.invalid, .field select.invalid { border-color: #f87171; box-shadow: 0 0 0 4px rgba(248,113,113,.15); }
.form-note { grid-column: 1 / -1; min-height: 1.2em; font-size: .88rem; color: var(--cyan); margin: 0; }

/* ---------- 15b. Channels page ---------- */
.page-hero { padding-top: clamp(8rem, 14vh, 10rem); padding-bottom: clamp(2rem, 4vw, 3rem); position: relative; }
.crumbs { font-size: .85rem; color: var(--ink-400); margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--ink-100); }
.crumbs span { margin: 0 .4rem; opacity: .5; }
.crumbs b { color: var(--ink-100); font-weight: 600; }
.page-hero__title { font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 800; margin: 1rem 0; }
.page-hero__title .grad-text { display: inline; }
.page-hero__sub { color: var(--ink-300); font-size: var(--fs-lead); max-width: 60ch; }
.portfolio-stats { display: flex; align-items: center; gap: 1.4rem; margin-top: 2.2rem; flex-wrap: wrap; }
.portfolio-stats > div:not(.divider) { display: flex; flex-direction: column; }
.portfolio-stats strong { font-family: var(--font-display); font-size: 1.5rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.portfolio-stats span { font-size: .82rem; color: var(--ink-400); }
.portfolio-stats .divider { width: 1px; height: 38px; background: var(--stroke-2); }

.channel-cat { padding-block: clamp(2rem, 4vw, 3rem); }
.cat-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.cat-head__ico { width: 50px; height: 50px; flex: 0 0 auto; border-radius: 14px; display: inline-grid; place-items: center; background: linear-gradient(135deg, rgba(153,204,0,.22), rgba(122,163,0,.12)); border: 1px solid var(--stroke-2); position: relative; }
.cat-head__ico::after { content: ""; width: 26px; height: 26px; background: var(--blue-300); -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; }
.cat-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cat-head p { color: var(--ink-400); font-size: .94rem; margin-top: .25rem; }

/* ---------- 15c. About page ---------- */
.nav__links a.is-active { color: var(--ink-100); background: var(--surface); }

.about-story__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-story__copy .section__title { text-align: left; margin-bottom: 1.2rem; }
.about-story__copy p { color: var(--ink-300); margin-bottom: 1rem; }
.about-story__copy .link-arrow { margin-top: .6rem; }

.mission-card { border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem); position: relative; overflow: hidden; }
.mission-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 100% 0%, rgba(153,204,0,.18), transparent 60%); pointer-events: none; }
.mission-card > * { position: relative; }
.mission-card__ico { width: 50px; height: 50px; border-radius: 14px; display: inline-grid; place-items: center; background: linear-gradient(135deg, rgba(153,204,0,.22), rgba(122,163,0,.12)); border: 1px solid var(--stroke-2); position: relative; margin-bottom: .9rem; }
.mission-card__ico::after { content: ""; width: 26px; height: 26px; background: var(--blue-300); -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; }
.mission-card h3 { font-size: var(--fs-h3); margin-bottom: .5rem; }
.mission-card p { color: var(--ink-300); font-size: .95rem; }
.mission-card__divider { height: 1px; background: var(--stroke); margin: 1.6rem 0; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); counter-reset: tl; position: relative; padding: 0; }
.timeline::before { content: ""; position: absolute; top: 9px; left: 4%; right: 4%; height: 2px; background: linear-gradient(90deg, transparent, var(--stroke-2) 12%, var(--stroke-2) 88%, transparent); }
.timeline__item { position: relative; padding-top: 2.4rem; }
.timeline__item::before { content: ""; position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--grad-cta); box-shadow: 0 0 0 5px rgba(153,204,0,.18); }
.timeline__year { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-300); margin-bottom: .55rem; }
.timeline__item h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.timeline__item p { color: var(--ink-400); font-size: .9rem; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.team-card { border-radius: var(--r-lg); padding: 1.7rem; text-align: center; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.team-card:hover { transform: translateY(-5px); border-color: var(--stroke-2); box-shadow: var(--shadow-card); }
.team-card__avatar { width: 76px; height: 76px; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 12px 24px -10px rgba(153,204,0,.6); }
.team-card__avatar::after { content: attr(data-initials); font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--ink-100); }
.team-card h3 { font-size: 1.05rem; }
.team-card__role { display: block; font-family: var(--font-display); font-weight: 500; font-size: .82rem; color: var(--blue-300); margin: .3rem 0 .7rem; }
.team-card p { color: var(--ink-400); font-size: .88rem; }
.team-note { text-align: center; color: var(--ink-500); font-size: .85rem; margin-top: 1.8rem; }

/* ---------- 15d. Contact page ---------- */
.contact-methods-sec { padding-top: clamp(1rem, 3vw, 2rem); }
.contact-methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 1.8vw, 1.4rem); }
.method-card { padding: 1.6rem; border-radius: var(--r-lg); position: relative; overflow: hidden; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.method-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(140% 120% at 0% 0%, rgba(153,204,0,.18), transparent 55%); opacity: 0; transition: opacity .4s; }
.method-card:hover { transform: translateY(-5px); border-color: var(--stroke-2); box-shadow: var(--shadow-card); }
.method-card:hover::before { opacity: 1; }
.method-card > * { position: relative; }
.method-card__ico { width: 50px; height: 50px; border-radius: 14px; display: inline-grid; place-items: center; background: linear-gradient(135deg, rgba(153,204,0,.22), rgba(122,163,0,.12)); border: 1px solid var(--stroke-2); position: relative; margin-bottom: 1rem; }
.method-card__ico::after { content: ""; width: 26px; height: 26px; background: var(--blue-300); -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; }
.method-card h3 { font-size: var(--fs-h3); margin-bottom: .4rem; }
.method-card p { color: var(--ink-400); font-size: .9rem; margin-bottom: .9rem; }
.method-card__link { font-family: var(--font-display); font-weight: 600; font-size: .86rem; color: var(--blue-300); transition: color .25s; }
.method-card__link:hover { color: var(--ink-100); }

.field .opt { color: var(--ink-500); font-weight: 400; }

/* Hours panel */
.hours { border-radius: var(--r-md); padding: 1.3rem 1.4rem; margin-top: 1.8rem; }
.hours h4 { font-size: .95rem; margin-bottom: .9rem; }
.hours__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-top: 1px solid var(--stroke); font-size: .9rem; }
.hours__row:first-of-type { border-top: none; }
.hours__row span { color: var(--ink-400); }
.hours__row b { font-family: var(--font-display); color: var(--ink-100); font-weight: 600; }

.contact__social { display: flex; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.contact__social > span { font-family: var(--font-display); font-weight: 500; font-size: .9rem; color: var(--ink-400); }

/* Offices */
.offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.office-card { border-radius: var(--r-lg); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.office-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: var(--stroke-2); }
.office-card__map {
  display: block; position: relative; height: 240px; overflow: hidden; cursor: pointer;
  background-color: #e8f0d4;
  background-image:
    radial-gradient(circle at 28% 35%, rgba(153,204,0,.12), transparent 42%),
    radial-gradient(circle at 74% 72%, rgba(153,204,0,.16), transparent 46%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(38deg, rgba(153,204,0,.12) 0 2px, transparent 2px 86px),
    repeating-linear-gradient(-22deg, rgba(153,204,0,.08) 0 2px, transparent 2px 120px);
  background-size: auto, auto, 40px 40px, 48px 48px, auto, auto;
  transition: transform .5s var(--ease), filter .4s;
}
.office-card__map::before { /* a 'main road' / river accent */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 46%, rgba(153,204,0,.35) 47%, rgba(153,204,0,.35) 48.4%, transparent 49%),
    linear-gradient(72deg, transparent 60%, rgba(153,204,0,.25) 61%, rgba(153,204,0,.25) 62%, transparent 63%);
}
.office-card:hover .office-card__map { transform: scale(1.04); }
.office-card__pin {
  position: absolute; top: 46%; left: 50%; width: 22px; height: 22px; transform: translate(-50%,-100%);
  border-radius: 50% 50% 50% 0; rotate: -45deg;
  background: var(--grad-cta); border: 2px solid rgba(255,255,255,.85);
  box-shadow: 0 8px 16px -4px rgba(45,60,15,.8);
}
.office-card__pin::after { content: ""; position: absolute; top: 5px; left: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-100); }
.office-card__pin::before { /* pulsing ground ring */
  content: ""; position: absolute; top: 100%; left: 50%; width: 30px; height: 30px; rotate: 45deg; transform: translate(-65%,-55%);
  border-radius: 50%; background: radial-gradient(circle, rgba(153,204,0,.5), transparent 70%); animation: pulse 2.4s infinite;
}
.office-card__coords {
  position: absolute; top: .8rem; left: .9rem; font-family: var(--font-display); font-weight: 600;
  font-size: .72rem; letter-spacing: .03em; color: var(--ink-200, #d6dcc6);
  background: rgba(255,255,255,.55); border: 1px solid var(--stroke); border-radius: 100px; padding: .3rem .7rem; backdrop-filter: var(--blur);
}
.office-card__maptag {
  position: absolute; bottom: .9rem; right: .9rem; display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-display); font-weight: 600; font-size: .78rem; color: var(--ink-100);
  background: rgba(255,255,255,.6); border: 1px solid var(--stroke-2); border-radius: 100px; padding: .4rem .85rem; backdrop-filter: var(--blur);
  transition: background .3s, border-color .3s;
}
.office-card:hover .office-card__maptag { background: var(--grad-cta); border-color: transparent; }
.office-card__maptag i { font-style: normal; }
.office-card__body { padding: 1.5rem 1.6rem 1.7rem; position: relative; }
.office-card__cc { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .12em; color: var(--blue-300); padding: .28rem .6rem; border: 1px solid var(--stroke-2); border-radius: 7px; background: var(--surface); }
.office-card__role { display: inline-block; margin-left: .5rem; font-family: var(--font-display); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-300); padding: .28rem .6rem; border: 1px solid var(--stroke); border-radius: 100px; }
.office-card__body h3 { font-size: var(--fs-h3); margin: .7rem 0 .6rem; }
.office-card__desc { color: var(--ink-400); font-size: .94rem; line-height: 1.55; margin: 0 0 1rem; }
.office-card__addr { display: flex; align-items: flex-start; gap: .7rem; color: var(--ink-300); font-size: .94rem; margin-bottom: 1.1rem; }
.office-card__addr .ci { flex: 0 0 auto; width: 34px; height: 34px; }
.office-card__addr .ci::after { width: 16px; height: 16px; }

/* FAQ accordion */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: .8rem; }
.faq__item { border: 1px solid var(--stroke); border-radius: var(--r-md); background: var(--surface); backdrop-filter: var(--blur); overflow: hidden; transition: border-color .3s, background .3s; }
.faq__item[open] { border-color: var(--stroke-2); background: var(--surface-2); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; padding: 1.15rem 1.4rem; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink-100); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; background: var(--blue-300); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq__body { padding: 0 1.4rem 1.25rem; }
.faq__body p { color: var(--ink-300); font-size: .94rem; }

/* ---------- 16. Footer ---------- */
.footer { border-top: 1px solid var(--stroke); background: linear-gradient(180deg, transparent, rgba(240,246,228,.6)); margin-top: 2rem; }
.footer__inner { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer__brand p { color: var(--ink-400); font-size: .9rem; max-width: 32ch; margin: 1rem 0 1.4rem; }
.footer__col h4 { font-size: .95rem; margin-bottom: 1.1rem; color: var(--ink-100); }
.footer__col a { display: block; padding: .35rem 0; color: var(--ink-400); font-size: .9rem; transition: color .25s, transform .25s; }
.footer__col a:hover { color: var(--ink-100); transform: translateX(3px); }

.socials { display: flex; gap: .6rem; }
.social { width: 40px; height: 40px; border-radius: 11px; display: inline-grid; place-items: center; background: var(--surface); border: 1px solid var(--stroke); position: relative; transition: background .25s, border-color .25s, transform .25s; }
.social:hover { background: var(--grad-cta); border-color: transparent; transform: translateY(-3px); }
.social::after { content: ""; width: 18px; height: 18px; background: var(--ink-300); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; transition: background .25s; }
.social:hover::after { background: var(--ink-100); }
[data-ico="linkedin"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M4.98 3.5A2.5 2.5 0 1 1 0 3.5a2.5 2.5 0 0 1 4.98 0zM.5 8h4V24h-4zM8 8h3.8v2.2h.05c.53-1 1.83-2.2 3.77-2.2 4 0 4.8 2.6 4.8 6V24h-4v-7c0-1.7 0-3.8-2.3-3.8s-2.7 1.8-2.7 3.7V24H8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M4.98 3.5A2.5 2.5 0 1 1 0 3.5a2.5 2.5 0 0 1 4.98 0zM.5 8h4V24h-4zM8 8h3.8v2.2h.05c.53-1 1.83-2.2 3.77-2.2 4 0 4.8 2.6 4.8 6V24h-4v-7c0-1.7 0-3.8-2.3-3.8s-2.7 1.8-2.7 3.7V24H8z'/%3E%3C/svg%3E"); }
[data-ico="facebook"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M24 12a12 12 0 1 0-13.9 11.9v-8.4H7v-3.5h3.1V9.4c0-3 1.8-4.7 4.5-4.7 1.3 0 2.7.2 2.7.2v3h-1.5c-1.5 0-2 .9-2 1.9v2.2h3.4l-.5 3.5h-2.9v8.4A12 12 0 0 0 24 12z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M24 12a12 12 0 1 0-13.9 11.9v-8.4H7v-3.5h3.1V9.4c0-3 1.8-4.7 4.5-4.7 1.3 0 2.7.2 2.7.2v3h-1.5c-1.5 0-2 .9-2 1.9v2.2h3.4l-.5 3.5h-2.9v8.4A12 12 0 0 0 24 12z'/%3E%3C/svg%3E"); }
[data-ico="x"]::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M18.9 2H22l-7.6 8.7L23 22h-6.8l-5.3-7-6.1 7H1.6l8.2-9.3L1 2h7l4.8 6.4zm-2.4 18h1.9L7.6 4H5.6z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M18.9 2H22l-7.6 8.7L23 22h-6.8l-5.3-7-6.1 7H1.6l8.2-9.3L1 2h7l4.8 6.4zm-2.4 18h1.9L7.6 4H5.6z'/%3E%3C/svg%3E"); }

.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid var(--stroke); color: var(--ink-500); font-size: .85rem; flex-wrap: wrap; }
.footer__legal { display: flex; gap: 1.4rem; }
.footer__legal a:hover { color: var(--ink-100); }

/* ---------- 17. Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 18. Keyframes ---------- */
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(153,204,0,.35); } 50% { box-shadow: 0 0 0 6px rgba(153,204,0,0); } }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(239,68,68,.6); } 70% { box-shadow: 0 0 0 8px rgba(239,68,68,0); } 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes load { from { width: 0; } }
@keyframes scroll-dot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translate(-50%, 12px); } }
@keyframes dash { to { stroke-dashoffset: -1000; } }

/* ---------- 19. Responsive ---------- */
/* Nav collapses to the drawer before the links would crowd the action buttons */
@media (max-width: 1240px) {
  .nav__links { display: none; }
  .nav__actions { display: none; }
  .nav__toggle { display: flex; }
}

/* Tablet */
@media (max-width: 1024px) {
  .nav__toggle { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { max-width: 460px; margin-top: 1rem; }
  .hero__sub { max-width: 52ch; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid .cat-card, .cat-grid .cat-card:nth-child(n+5) { grid-column: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature::after { display: none; }
  .channel-grid { grid-template-columns: repeat(4, 1fr); }
  .about-story__grid { grid-template-columns: 1fr; }
  .contact-methods { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
  .timeline::before { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- 20. Responsive: Mobile ---------- */
@media (max-width: 640px) {
  .hero { padding-top: 7rem; text-align: left; }
  .hero__trust { gap: 1rem; }
  .hero__trust .divider { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-grid .cat-card, .cat-grid .cat-card:nth-child(n+5) { grid-column: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-methods { grid-template-columns: 1fr; }
  .offices { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .logo-card { width: 150px; height: 84px; }
  .contact__form { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 1.8rem 1.5rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .float-chip { font-size: .72rem; }
  .map-stage { aspect-ratio: 1.5 / 1; }
}

@media (max-width: 400px) {
  .stats { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   21. DARK THEME — black canvas, white text, lime (#99cc00) accents
   ============================================================ */

/* Ambient lime glows on black */
.aura { opacity: .5; }
.bg-grid { mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 80%); }

/* Frosted dark nav */
.nav.is-scrolled { background: rgba(0,0,0,.72); box-shadow: 0 8px 30px -22px rgba(0,0,0,.8); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink-100); background: rgba(153,204,0,.16); }
.lang-switch { background: rgba(255,255,255,.05); }
.lang-switch button.is-active { color: #10160a; }

/* Buttons — lime fill with dark text (white on lime fails contrast); ghost = white text */
.btn--primary { color: #10160a; }
.btn--glass { color: var(--ink-100); background: rgba(255,255,255,.05); }
.btn--glass:hover { background: rgba(153,204,0,.12); border-color: var(--blue-400); }
.btn--ghost { color: var(--ink-300); }
.btn--ghost:hover { color: var(--blue-300); }

/* Form fields on black */
.field input, .field select, .field textarea { background: rgba(255,255,255,.04); color: var(--ink-100); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-500); }

/* Office map + overlay chips back to dark */
.office-card__map { background-color: #0a0c07; }
.office-card__coords, .office-card__maptag { background: rgba(0,0,0,.6); }
.office-card__coords { color: var(--ink-300); }

/* Footer dark */
.footer { background: linear-gradient(180deg, transparent, rgba(0,0,0,.55)); }
.footer__col h4 { color: var(--ink-100); }
.footer__col a:hover, .footer__legal a:hover { color: var(--blue-300); }

/* Selection */
::selection { background: rgba(153,204,0,.3); color: #10160a; }

/* ============================================================
   v12 — Legal & regulatory pages, entity cards, portfolio badges
   ============================================================ */

/* Long-form legal/regulatory text */
.legal { max-width: 75ch; margin-inline: auto; }
.legal h2 { font-family: var(--font-display); font-size: 1.4rem; margin: 2.4rem 0 .7rem; color: var(--ink-100); }
.legal h3 { font-family: var(--font-display); font-size: 1.05rem; margin: 1.6rem 0 .5rem; color: var(--ink-100); }
.legal p, .legal li { color: var(--ink-300); line-height: 1.7; }
.legal p { margin: .55rem 0; }
.legal ul { margin: .55rem 0 .9rem 1.2rem; }
.legal li { margin: .3rem 0; }
.legal a { color: var(--blue-300); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--cyan); }
.legal code { font-size: .85em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }
.legal-note { font-size: .85rem; color: var(--ink-400); border-left: 2px solid var(--stroke-2); padding-left: .9rem; margin-bottom: 1.8rem; }

/* Identity/detail blocks on legal pages (compose with .glass) */
.legal-block { padding: 1.4rem 1.6rem; border-radius: var(--r-lg); margin: 1rem 0 1.4rem; }
.legal-block dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.4rem; margin: 0; }
.legal-block dt { color: var(--ink-400); font-size: .9rem; }
.legal-block dd { color: var(--ink-100); font-size: .95rem; margin: 0; word-break: break-word; }
@media (max-width: 560px) {
  .legal-block dl { grid-template-columns: 1fr; }
  .legal-block dd { margin-bottom: .55rem; }
}

/* Third-party channels disclaimer (compose with .glass) */
.disclaimer { padding: 1.2rem 1.5rem; border-radius: var(--r-lg); border-left: 3px solid var(--stroke-2); color: var(--ink-300); font-size: .92rem; line-height: 1.65; }

/* Owned vs third-party badges on channel tiles */
.channel-cat--owned .channel-tile,
.channel-cat--dist .channel-tile { position: relative; }
.channel-cat--owned .channel-tile::before,
.channel-cat--dist .channel-tile::before {
  position: absolute; top: .5rem; right: .5rem; z-index: 1;
  font-family: var(--font-display); font-size: .52rem; font-weight: 700;
  letter-spacing: .08em; padding: .2rem .5rem; border-radius: 999px;
  pointer-events: none; white-space: nowrap;
}
.channel-cat--owned .channel-tile::before { content: "TIBO · OWNED"; color: var(--navy-900); background: var(--grad-cta); }
.channel-cat--dist .channel-tile::before { content: "THIRD PARTY"; color: var(--ink-300); background: var(--surface-2); border: 1px solid var(--stroke); }

/* Group structure / entity profile cards */
.org-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; margin-top: 1rem; }
.entity-card { padding: 1.7rem 1.9rem; border-radius: var(--r-lg); }
.entity-card h3 { font-family: var(--font-display); font-size: 1.25rem; margin: .35rem 0 .25rem; color: var(--ink-100); }
.entity-card__role { font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--blue-300); }
.entity-card__meta { font-size: .85rem; color: var(--ink-400); margin: 0 0 .7rem; }
.entity-card p { color: var(--ink-300); line-height: 1.65; }
.entity-card .link-arrow { margin-top: .8rem; display: inline-flex; }

/* Footer entity identification line */
.footer__entities { font-size: .8rem; color: var(--ink-400); margin-top: .8rem; line-height: 1.55; }

/* Form privacy notice */
.form-note--privacy { font-size: .78rem; color: var(--ink-400); }
.form-note--privacy a { color: var(--blue-300); text-decoration: underline; text-underline-offset: 2px; }
