/* ==========================================================================
   North East Infosys — site stylesheet
   Dark tech / bold design system. No framework dependency.
   ========================================================================== */

:root {
  --red: #ff3b4e;
  --red-dark: #c81e35;
  --violet: #7c4dff;
  --amber: #ffb648;

  --bg: #06070d;
  --bg-1: #0b0e18;
  --bg-2: #10142380;
  --panel: #11152300;
  --card: rgba(255, 255, 255, 0.035);
  --card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #eef1fb;
  --text-muted: #9aa2bd;
  --text-faint: #6b7290;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --shadow-glow: 0 0 0 1px rgba(255,59,78,.15), 0 20px 60px -20px rgba(255,59,78,.35);
  --container: 1220px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
  color: #fff;
}

p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--amber));
  border-radius: 2px;
}

.section { position: relative; padding: 110px 0; }
.section.tight { padding: 70px 0; }
.section.alt { background: linear-gradient(180deg, #0b0e18 0%, #0d1120 100%); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.section-head p { font-size: 17px; }

/* ---------- gradient text / glow helpers ---------- */
.grad-text {
  background: linear-gradient(90deg, #ff5c72, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, var(--red), #ff6b4e);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(255,59,78,.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(255,59,78,.7); }
.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--red); background: rgba(255,59,78,.08); }
.btn-sm { padding: 11px 22px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 18px 0;
  transition: background .3s var(--ease), padding .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(6,7,13,.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; border-radius: 8px; background: #fff; padding: 4px 8px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 18px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 100px;
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.main-nav a.active { color: #fff; background: rgba(255,59,78,.14); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.04);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: #fff;
  position: relative;
  transition: all .25s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 190px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(600px 400px at 85% -10%, rgba(255,59,78,.25), transparent 60%),
    radial-gradient(500px 400px at 5% 20%, rgba(124,77,255,.18), transparent 60%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 100px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted); margin-bottom: 24px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #33e08a; box-shadow: 0 0 0 4px rgba(51,224,138,.18); }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); margin-bottom: 22px; }
.hero p.lead { font-size: 18px; max-width: 540px; margin-bottom: 16px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 34px; margin-top: 52px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 28px; color: #fff; }
.hero-stats .stat span { font-size: 13px; color: var(--text-faint); }

.hero-visual { position: relative; }
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01));
  padding: 10px;
}
.hero-card img { border-radius: calc(var(--radius-lg) - 8px); width: 100%; aspect-ratio: 4/3.1; object-fit: cover; }
.hero-play {
  position: absolute; inset: 0; margin: auto;
  width: 74px; height: 74px; border-radius: 50%;
  background: linear-gradient(120deg, var(--red), #ff6b4e);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
  box-shadow: 0 0 0 14px rgba(255,59,78,.14), 0 20px 40px -10px rgba(255,59,78,.6);
  cursor: pointer;
  transition: transform .25s var(--ease);
}
.hero-play:hover { transform: scale(1.08); }
.floating-chip {
  position: absolute;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(10,12,20,.85);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 20px 40px -14px rgba(0,0,0,.6);
}
.floating-chip i { color: var(--red); }
.floating-chip.c1 { top: -18px; left: -18px; }
.floating-chip.c2 { bottom: -18px; right: -14px; }

/* ==========================================================================
   Logo strip / clients
   ========================================================================== */
.logo-strip { padding: 46px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logo-strip-label { text-align: center; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 30px; }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.logo-grid-4 { grid-template-columns: repeat(4, 1fr); }
.logo-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 12px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s;
}
.logo-tile:hover { transform: translateY(-4px); background: var(--card-hover); border-color: var(--border-strong); }
.logo-tile .logo-img-wrap {
  width: 100%; height: 64px;
  background: #fff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  padding: 10px 14px;
}
.logo-tile .logo-img-wrap.text-badge {
  background: linear-gradient(135deg, rgba(255,59,78,.16), rgba(124,77,255,.14));
  border: 1px solid var(--border-strong);
}
.logo-tile .logo-img-wrap.text-badge span.mono {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .03em;
  color: #fff;
}
.logo-tile .logo-img-wrap.text-badge i {
  font-size: 22px;
  color: var(--red);
}
.logo-tile img { height: 100%; width: 100%; object-fit: contain; }
.logo-tile span.name { font-size: 11.5px; color: var(--text-faint); line-height: 1.3; }

/* ==========================================================================
   Cards / features
   ========================================================================== */
.grid { display: grid; gap: 26px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-6px); background: var(--card-hover); border-color: rgba(255,59,78,.35); box-shadow: var(--shadow-glow); }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,59,78,.18), rgba(124,77,255,.14));
  color: var(--red);
  font-size: 22px;
  margin-bottom: 22px;
}
.card h5 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14.5px; margin-bottom: 0; }
.card .num {
  position: absolute; top: 22px; right: 26px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 700; color: var(--text-faint);
}

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats-band {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255,59,78,.09), rgba(124,77,255,.07));
  padding: 52px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item b {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(30px, 3.4vw, 44px);
  background: linear-gradient(90deg, #fff, #ffd7d7);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-item span { font-size: 13.5px; color: var(--text-muted); }

/* ==========================================================================
   About / split sections
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  padding: 8px;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
}
.media-frame img { border-radius: calc(var(--radius-lg) - 6px); width: 100%; object-fit: cover; }

.office-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-glow), 0 40px 80px -30px rgba(0,0,0,.75);
}
.office-photo img {
  display: block;
  width: 100%;
  transition: transform .8s var(--ease);
}
.office-photo:hover img { transform: scale(1.045); }
.office-photo::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,9,16,0) 0%, rgba(8,9,16,0) 62%, rgba(8,9,16,.8) 100%);
  pointer-events: none;
  z-index: 1;
}
.office-photo::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), inset 0 1px 0 rgba(255,255,255,.18);
  pointer-events: none;
  z-index: 2;
}
.office-caption {
  position: absolute;
  left: 22px; bottom: 20px;
  z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(10,11,20,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14);
}
.office-caption .dot {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(120deg, var(--red), var(--amber));
  color: #fff; font-size: 13px;
}
.office-caption span { font-size: 13.5px; font-weight: 600; color: #fff; letter-spacing: .2px; }
.office-caption small { display: block; font-size: 11px; font-weight: 500; color: rgba(255,255,255,.6); }
@media (max-width: 620px) {
  .office-caption { left: 14px; bottom: 14px; padding: 9px 14px; }
  .office-caption span { font-size: 12.5px; }
}

.check-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; color: var(--text); font-size: 15px; }
.check-list i { color: var(--red); margin-top: 3px; }

/* ==========================================================================
   Team
   ========================================================================== */
.team-card { text-align: center; }
.team-card .photo {
  width: 100%; aspect-ratio: 1/1.02; border-radius: var(--radius);
  overflow: hidden; margin-bottom: 20px; position: relative;
  border: 1px solid var(--border);
  background: #0d1120;
}
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-card h5 { font-size: 17px; margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--red); font-weight: 600; margin-bottom: 14px; display: block; }
.team-social { display: flex; gap: 8px; justify-content: center; }
.team-social a {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); color: var(--text-muted);
  font-size: 13px; transition: all .2s;
}
.team-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 64px 56px;
  background: linear-gradient(120deg, #ff3b4e 0%, #c81e35 55%, #7c1030 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 0; }
.cta-band .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* ==========================================================================
   Page title (interior pages)
   ========================================================================== */
.page-title {
  position: relative;
  padding: 180px 0 70px;
  background:
    radial-gradient(500px 300px at 90% 0%, rgba(255,59,78,.22), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-title-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-title h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 8px; }
.page-title .crumbs { font-size: 13.5px; color: var(--text-faint); }
.page-title .crumbs a { color: var(--text-muted); }
.page-title .crumbs a:hover { color: var(--red); }
.page-title .crumbs .sep { margin: 0 8px; }
.page-title .crumbs .current { color: var(--red); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.03);
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background: rgba(255,59,78,.05);
}
.field textarea { resize: vertical; min-height: 130px; }
.contact-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 40px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 22px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,59,78,.14); color: var(--red); font-size: 17px;
}
.contact-info-item h6 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); margin-bottom: 6px; }
.contact-info-item a, .contact-info-item p { color: #fff; font-size: 15px; margin: 0; }
.contact-info-item a { display: block; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(.3) invert(.92) contrast(.85); }

/* ---------- gallery / lab photo placeholders ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-grid .gallery-item.wide { grid-column: span 2; grid-row: span 2; }
.gallery-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1/1;
  border: 1px solid var(--border);
  background: var(--card);
}
.gallery-grid .gallery-item.wide .gallery-tile { aspect-ratio: auto; height: 100%; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery-tile.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border: 1.5px dashed var(--border-strong);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 10px, rgba(255,255,255,.04) 10px 20px);
  color: var(--text-faint);
  text-align: center;
  padding: 20px;
}
.gallery-tile.placeholder i { font-size: 26px; color: var(--red); opacity: .7; }
.gallery-tile.placeholder span { font-size: 12.5px; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  margin-bottom: 14px;
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #fff;
  padding: 20px 24px;
  font-size: 15.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}
.accordion-trigger .plus { font-size: 20px; color: var(--red); transition: transform .25s var(--ease); flex-shrink: 0; }
.accordion-item.open .accordion-trigger .plus { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.accordion-panel-inner { padding: 0 24px 22px; color: var(--text-muted); font-size: 14.5px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #05060b; border-top: 1px solid var(--border); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 38px; background: #fff; padding: 4px 8px; border-radius: 8px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 14px; transition: all .2s;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-col h6 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: 14.5px; color: var(--text-muted); transition: color .2s; }
.footer-col ul a:hover { color: var(--red); }
.footer-col .contact-line { display: flex; gap: 10px; font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
.footer-col .contact-line i { color: var(--red); margin-top: 3px; }
.footer-col .contact-line a { color: var(--text-muted); }
.footer-col .contact-line a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-faint);
}
.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--red); }

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--red), #ff6b4e);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(255,59,78,.6);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s var(--ease);
  z-index: 900;
  cursor: pointer;
  border: none;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: .08s; }
.reveal-delay-2.in-view { transition-delay: .16s; }
.reveal-delay-3.in-view { transition-delay: .24s; }
.reveal-delay-4.in-view { transition-delay: .32s; }
.reveal-delay-5.in-view { transition-delay: .4s; }

/* ==========================================================================
   404 / coming soon
   ========================================================================== */
.state-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 160px 24px 100px;
  background:
    radial-gradient(600px 400px at 50% 0%, rgba(255,59,78,.2), transparent 60%),
    var(--bg);
}
.state-page .code {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(80px, 16vw, 160px);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, #fff, var(--red) 60%, var(--amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 8px;
}
.state-page h2 { font-size: clamp(20px, 3vw, 28px); }
.state-page p { max-width: 460px; margin: 0 auto 32px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .main-nav {
    display: flex;
    position: fixed; inset: 74px 16px auto 16px;
    flex-direction: column;
    background: rgba(8,10,18,.98);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    gap: 4px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  }
  .site-header.open .main-nav a { padding: 14px 16px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 150px 0 80px; }
  .hero-visual { order: -1; }
  .hero-stats { justify-content: space-between; }

  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .media-frame { order: -1; }

  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-2 { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .gallery-item.wide { grid-column: span 2; grid-row: span 1; }
  .gallery-grid .gallery-item.wide .gallery-tile { aspect-ratio: 2/1; height: auto; }
}

@media (max-width: 620px) {
  .grid.cols-4, .grid.cols-3 { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 44px 28px; }
  .page-title { padding: 150px 0 50px; }
  .page-title-inner { flex-direction: column; align-items: flex-start; }
  .hero-badge { font-size: 12px; }
}

@media (max-width: 576px) {
  .container { padding: 0 18px; }
  .site-header .container { gap: 10px; }
  .brand img { height: 32px; padding: 3px 6px; }
  .header-cta { gap: 8px; }
  .header-cta .btn-primary { display: none; }
  .nav-toggle { width: 40px; height: 40px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .floating-chip { display: none; }
  .hero-card { padding: 6px; }
  .footer-brand p { max-width: 100%; }
}
