/* ═══════════════════════════════════════════════════════════
   ILLUMINIX LIVE  —  Minimal Brand Stylesheet
   Palette: #1C1C1E (near-black) · #F0AE00 (brand yellow) · #FFFFFF (white)
   ═══════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --black:       #1C1C1E;
  --black-mid:   #242426;
  --black-soft:  #2E2E32;
  --rule:        #2E2E32;
  --yellow:      #F0AE00;
  --yellow-dark: #CC9400;
  --white:       #FFFFFF;
  --off-white:   #F5F5F5;
  --muted:       #8A8A90;
  --muted-light: #C0C0C6;

  --font:     'Barlow', sans-serif;
  --font-cd:  'Barlow Condensed', sans-serif;

  --nav-h:    72px;
  --max-w:    1160px;
  --gap:      clamp(2rem, 5vw, 5rem);
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

section { padding: clamp(80px, 10vw, 140px) 0; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
.label {
  font-family: var(--font-cd);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
}

.h1 {
  font-family: var(--font-cd);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.h2 {
  font-family: var(--font-cd);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.h3 {
  font-family: var(--font-cd);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.body {
  font-size: 1rem;
  color: var(--muted-light);
  line-height: 1.8;
  max-width: 56ch;
}

/* ── RULE ───────────────────────────────────────────────── */
.rule { width: 100%; height: 1px; background: var(--rule); }
.rule--yellow { background: var(--yellow); }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-cd);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 32px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn--fill {
  background: var(--yellow);
  color: var(--black);
}
.btn--fill:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
}

.btn--outline {
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--white);
}
.btn--outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}

.btn--nav {
  padding: 9px 20px;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.8rem;
}
.btn--nav:hover { background: var(--yellow-dark); }

/* ── LOGO MARK ──────────────────────────────────────────── */
.logo-mark {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo-mark__illuminix {
  font-family: var(--font-cd);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--white);
  text-transform: uppercase;
}

.logo-mark__live-block {
  background: var(--yellow);
  display: inline-flex;
  align-items: center;
  padding: 0.1em 0.4em 0.1em 0.5em;
  margin-left: 0.08em;
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.logo-mark__live {
  font-family: var(--font-cd);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: uppercase;
}

.logo-mark--lg .logo-mark__illuminix,
.logo-mark--lg .logo-mark__live {
  font-size: 1.6rem;
}

/* ── NAVIGATION ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e2e2e2;
  transition: box-shadow 0.3s var(--ease);
}
.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.10);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 36px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav__links a {
  font-family: var(--font-cd);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover,
.nav__links a.active { color: var(--yellow); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
  width: 100%;
}

.hero__label {
  margin-bottom: 2rem;
}

.hero__title {
  margin-bottom: 2.5rem;
}

.hero__title span {
  display: block;
  color: var(--yellow);
}

.hero__sub {
  font-size: clamp(0.7rem, 1.2vw, 1rem);
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-cd);
  font-weight: 500;
  margin-bottom: 3rem;
  white-space: nowrap;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Decorative vertical rule on hero */
.hero__vline {
  position: absolute;
  top: 0;
  right: clamp(80px, 15vw, 200px);
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--rule) 20%, var(--rule) 80%, transparent);
  z-index: 1;
}
.hero__vline--2 {
  right: clamp(160px, 28vw, 380px);
}

/* Yellow accent bar */
.hero__accent {
  position: absolute;
  bottom: 0;
  right: clamp(80px, 15vw, 200px);
  width: 4px;
  height: 120px;
  background: var(--yellow);
  z-index: 3;
}

/* ── TICKER / MARQUEE ───────────────────────────────────── */
.ticker {
  background: var(--yellow);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  gap: 0;
  animation: ticker-scroll 28s linear infinite;
}
.ticker__item {
  font-family: var(--font-cd);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  padding: 0 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
}
.ticker__item::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--black);
  border-radius: 50%;
  opacity: 0.4;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── STATS ──────────────────────────────────────────────── */
.stats {
  padding: clamp(56px, 6vw, 80px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  align-items: end;
}

.stats__item--views .stats__num {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: 0em;
  font-variant-numeric: tabular-nums;
  transition: color 0.08s ease;
}

.stats__item--views .stats__num.tick {
  color: var(--white);
}

.stats__item--views .stats__label {
  color: var(--muted);
}

.stats__item {
  padding: 2rem clamp(1rem, 3vw, 2rem);
  border-right: 1px solid var(--rule);
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 0.5rem;
  min-height: 120px;
}
.stats__item:first-child { padding-left: clamp(1rem, 3vw, 2rem); }
.stats__item:last-child  { border-right: none; }

.stats__num {
  font-family: var(--font-cd);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  align-self: end;
}

.stats__label {
  font-family: var(--font-cd);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}

/* ── ABOUT ──────────────────────────────────────────────── */
.about { background: var(--black); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
}

.about__lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--muted-light);
  line-height: 1.8;
  margin-top: 2rem;
}
.about__lead strong { color: var(--white); font-weight: 600; }

.about__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-cd);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-top: 2.5rem;
  transition: gap 0.2s var(--ease);
}
.about__link:hover { gap: 1rem; }
.about__link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

.about__pillars {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule);
  margin-top: 0.5rem;
}

.pillar {
  padding: 2rem 2.25rem;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s var(--ease);
  cursor: default;
}
.pillar:last-child { border-bottom: none; }
.pillar:hover { background: var(--black-mid); }

.pillar__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.pillar__num {
  font-family: var(--font-cd);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--yellow);
}

.pillar h3 { margin-bottom: 0.6rem; }

.pillar p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── PARTNERSHIP ────────────────────────────────────────── */
.partnership {
  background: var(--black-mid);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.partnership__header {
  margin-bottom: clamp(3rem, 5vw, 5rem);
  max-width: 640px;
}

.partnership__desc {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--muted-light);
  line-height: 1.8;
  max-width: 56ch;
}
.partnership__desc strong { color: var(--white); }

.partnership__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule);
}

.partner-col {
  padding: clamp(2rem, 4vw, 3.5rem);
  transition: background 0.2s var(--ease);
}
.partner-col:first-child { border-right: 1px solid var(--rule); }
.partner-col:hover { background: rgba(255,255,255,0.02); }

.partner-col__tag {
  display: inline-block;
  font-family: var(--font-cd);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--yellow);
  padding: 4px 10px;
  margin-bottom: 1.5rem;
}

.partner-col h3 {
  margin-bottom: 2rem;
  color: var(--white);
}

.partner-col__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.partner-col__list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted-light);
  line-height: 1.6;
}

.partner-col__list li::before {
  content: '';
  width: 8px;
  height: 1px;
  background: var(--yellow);
  margin-top: 0.75em;
  flex-shrink: 0;
}

.partnership__result {
  margin-top: -1px;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--yellow);
  padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3.5rem);
}

.partnership__result p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--muted-light);
  line-height: 1.8;
  max-width: 70ch;
}
.partnership__result p strong { color: var(--white); }

/* ── SERVICES ───────────────────────────────────────────── */
.services { background: var(--black); }

.services__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(3rem, 5vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--rule);
}

.services__header-text { flex: 1; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
}

.service {
  padding: clamp(2rem, 3.5vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background 0.2s var(--ease);
  overflow: hidden;
}
.service:nth-child(3n) { border-right: none; }
.service:nth-child(4),
.service:nth-child(5) { border-bottom: none; }

.service::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 3px;
  background: var(--yellow);
  transition: width 0.35s var(--ease);
}
.service:hover { background: var(--black-mid); }
.service:hover::before { width: 100%; }

.service__num {
  font-family: var(--font-cd);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--yellow);
  margin-bottom: 1.75rem;
}

.service h3 {
  margin-bottom: 1rem;
  color: var(--white);
}

.service p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.75;
}

/* Last row: 2 items — align left */
.service:nth-child(4) { grid-column: 1; }
.service:nth-child(5) { grid-column: 2; border-right: none; }

/* ── ECOSYSTEM ──────────────────────────────────────────── */
.ecosystem {
  background: var(--black-mid);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.ecosystem__header {
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.ecosystem__tagline {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--muted-light);
  line-height: 1.8;
  max-width: 56ch;
}
.ecosystem__tagline strong { color: var(--white); }

.ecosystem__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rule);
}

.eco-item {
  padding: clamp(2rem, 3.5vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--rule);
  transition: background 0.2s var(--ease);
  position: relative;
}
.eco-item:last-child { border-right: none; }
.eco-item:hover { background: rgba(255,255,255,0.02); }

.eco-item__bar {
  width: 32px;
  height: 3px;
  background: var(--yellow);
  margin-bottom: 2rem;
}

.eco-item h3 {
  font-size: 1rem;
  margin-bottom: 0.9rem;
  color: var(--white);
}

.eco-item p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

.ecosystem__bottom {
  margin-top: clamp(3rem, 5vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.ecosystem__bottom-text {
  font-family: var(--font-cd);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  max-width: 42ch;
  line-height: 1.2;
}
.ecosystem__bottom-text span { color: var(--yellow); }

/* ── CONTACT ────────────────────────────────────────────── */
.contact { background: var(--black); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.contact__info { padding-top: 0.25rem; }

.contact__body {
  margin-top: 1.75rem;
  font-size: 1rem;
  color: var(--muted-light);
  line-height: 1.8;
}
.contact__body strong { color: var(--white); }

.contact__meta {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}

.contact__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact__meta-item .label {
  color: var(--muted);
}

.contact__meta-item span:last-child {
  font-size: 0.97rem;
  color: var(--muted-light);
}

/* ── FORM ───────────────────────────────────────────────── */
.form {
  border: 1px solid var(--rule);
  padding: clamp(2rem, 4vw, 3rem);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form__group label {
  font-family: var(--font-cd);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.form__group input,
.form__group select,
.form__group textarea {
  background: var(--black-mid);
  border: 1px solid var(--rule);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s var(--ease);
  -webkit-appearance: none;
  border-radius: 0;
}
.form__group select { cursor: pointer; }
.form__group select option { background: var(--black-mid); }
.form__group textarea { resize: vertical; }
.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--muted); font-size: 0.9rem; }
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--yellow);
}

.form__submit { width: 100%; justify-content: center; }

.form__note {
  font-size: 0.88rem;
  color: var(--yellow);
  text-align: center;
  margin-top: 1rem;
  min-height: 1.4em;
  font-family: var(--font-cd);
  letter-spacing: 0.06em;
}
.form__note.error { color: #e05c5c; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--white);
  border-top: 1px solid #e2e2e2;
  padding: clamp(56px, 7vw, 96px) 0 clamp(32px, 4vw, 48px);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  border-bottom: 1px solid #e2e2e2;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.footer__brand img {
  height: 32px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer__brand .logo-mark {
  display: inline-flex;
  margin-bottom: 1.5rem;
}

.footer__logo-wrap {
  display: inline-flex;
  background: transparent;
  padding: 0;
  margin-bottom: 0.75rem;
}

.footer__logo-wrap img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 50%;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--black);
  line-height: 1.75;
  max-width: 28ch;
  margin-bottom: 0.6rem;
}

.footer__location {
  font-family: var(--font-cd);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-top: 1rem;
}

.footer__col h4 {
  font-family: var(--font-cd);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer__col ul li a {
  font-size: 0.9rem;
  color: var(--black);
  transition: color 0.2s var(--ease);
}
.footer__col ul li a:hover { color: var(--yellow); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__bottom p {
  font-size: 0.82rem;
  color: var(--black);
  letter-spacing: 0.04em;
}
.footer__bottom-tag {
  font-family: var(--font-cd);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
}

/* ── REVEAL ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .about__grid     { grid-template-columns: 1fr; }
  .partnership__cols { grid-template-columns: 1fr; }
  .partner-col:first-child { border-right: none; border-bottom: 1px solid var(--rule); }
  .footer__top     { grid-template-columns: 1fr 1fr; }
  .ecosystem__grid { grid-template-columns: 1fr 1fr; }
  .eco-item:nth-child(2) { border-right: none; }
  .eco-item:nth-child(3) { border-top: 1px solid var(--rule); }
  .eco-item:nth-child(4) { border-top: 1px solid var(--rule); border-right: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .nav__links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid #e8e8e8;
    padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 2.5rem;
    gap: 1.75rem;
  }
  .nav__links.open { display: flex; }
  .nav__hamburger  { display: flex; }
  .nav__links .btn--nav { display: none; }

  .services__header { flex-direction: column; align-items: flex-start; }
  .services__grid   { grid-template-columns: 1fr 1fr; }
  .service:nth-child(3n)   { border-right: 1px solid var(--rule); }
  .service:nth-child(2n)   { border-right: none; }
  .service:nth-child(4)    { border-bottom: 1px solid var(--rule); grid-column: auto; }
  .service:nth-child(5)    { border-bottom: none; border-right: none; grid-column: auto; }

  .contact__grid { grid-template-columns: 1fr; gap: 3rem; }

  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stats__item:nth-child(2) { border-right: none; }
  .stats__item:nth-child(3) { border-top: 1px solid var(--rule); }
  .stats__item:nth-child(4) { border-top: 1px solid var(--rule); border-right: none; }

  .ecosystem__grid { grid-template-columns: 1fr; }
  .eco-item { border-right: none; border-bottom: 1px solid var(--rule); }
  .eco-item:last-child { border-bottom: none; }

  .ecosystem__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
  .hero__cta { flex-direction: column; align-items: flex-start; }
  .hero__cta .btn { width: 100%; justify-content: center; }

  .services__grid { grid-template-columns: 1fr; }
  .service          { border-right: none; border-bottom: 1px solid var(--rule); }
  .service:last-child { border-bottom: none; }
  .service:nth-child(4),
  .service:nth-child(5) { grid-column: auto; }

  .form__row { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; }
}
