/* SuroTEK — modern marketing site */
:root {
  --navy: #060d18;
  --navy-light: #0c1628;
  --surface: #111d32;
  --surface-2: #162236;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8edf5;
  --muted: #8b9cb8;
  --accent: #3b82f6;
  --accent-2: #06b6d4;
  --accent-glow: rgba(59, 130, 246, 0.35);
  --gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 76px;
  --header-shrink: 64px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --max: 1280px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ── Header ── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  transition: height 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.scrolled {
  height: var(--header-shrink);
  background: rgba(6, 13, 24, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1.5rem;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
}

.logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: min(200px, 42vw);
  object-fit: contain;
  transition: height 0.35s var(--ease);
}

.site-header.scrolled .logo-img {
  height: 38px;
}

.logo-img-footer {
  height: 40px;
  max-width: 180px;
  margin-bottom: 0.25rem;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}

.nav-desktop a:hover,
.nav-desktop a.active { color: var(--text); }

.nav-desktop a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.site-header:not(.scrolled) .nav-desktop a {
  color: rgba(232, 237, 245, 0.85);
}

.site-header:not(.scrolled) .nav-desktop a:hover,
.site-header:not(.scrolled) .nav-desktop a.active {
  color: var(--text);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.menu-toggle svg { width: 28px; height: 28px; }

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  background: rgba(6, 13, 24, 0.98);
  backdrop-filter: blur(16px);
  padding: 2rem;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s;
  z-index: 999;
}

.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile a {
  display: block;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.nav-mobile a:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 13, 24, 0.4) 0%, var(--navy) 85%),
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(59, 130, 246, 0.15), transparent);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, black 30%, transparent 90%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

/* Hero text rotator — background stays fixed */
.hero-rotator {
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 2;
}

.hero-slide.is-leaving {
  opacity: 0;
  transform: translateY(-14px);
  z-index: 1;
}

.hero-rotator .hero-badge,
.hero-rotator .hero-slide h1,
.hero-rotator .hero-lead {
  animation: none;
}

.hero-rotator-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 2rem;
}

.hero-rotator-dot {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  padding: 0;
  transition: background 0.35s var(--ease), width 0.35s var(--ease), opacity 0.2s;
}

.hero-rotator-dot:hover {
  background: rgba(255, 255, 255, 0.35);
}

.hero-rotator-dot.active {
  width: 44px;
  background: var(--accent);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s var(--ease) both;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent-2);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.8s 0.1s var(--ease) both;
}

.hero h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.2s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeUp 0.8s 0.3s var(--ease) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.8s 0.45s var(--ease) both;
}

.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── Sections ── */
section { padding: 6rem 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-desc {
  margin-inline: auto;
}

/* ── Services ── */
.services {
  background: var(--navy-light);
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(59, 130, 246, 0.06), transparent 70%);
  pointer-events: none;
}

.services .container { position: relative; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1.25rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.service-card {
  background: linear-gradient(160deg, var(--surface) 0%, rgba(17, 29, 50, 0.85) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  min-height: 220px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.12);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.service-icon svg { width: 26px; height: 26px; }

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Ecosystems (Operix & Nexora) ── */
.ecosystems {
  background: var(--navy-light);
  position: relative;
}

.ecosystems::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(6, 182, 212, 0.07), transparent 70%);
  pointer-events: none;
}

.ecosystems .container { position: relative; }

.ecosystems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.ecosystem-card {
  background: linear-gradient(160deg, var(--surface) 0%, rgba(17, 29, 50, 0.9) 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.1);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.ecosystem-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.ecosystem-card-img {
  height: 220px;
  overflow: hidden;
}

.ecosystem-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.ecosystem-card:hover .ecosystem-card-img img {
  transform: scale(1.05);
}

.ecosystem-card-body {
  padding: 2rem 2.25rem 2.25rem;
}

.ecosystem-brand {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.5rem;
}

.ecosystem-card-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.ecosystem-card-body > p {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.ecosystem-features {
  margin-bottom: 1.5rem;
}

.ecosystem-features li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
  line-height: 1.5;
}

.ecosystem-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── Solutions split ── */
.solutions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.solutions-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.solutions-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solutions-visual .float-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(6, 13, 24, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.float-card h4 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.float-card p { font-size: 0.8rem; color: var(--muted); }

.solution-list { margin-top: 2rem; }

.solution-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.solution-list li:last-child { border-bottom: none; }

.solution-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 8px;
}

.solution-list h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.solution-list p { font-size: 0.875rem; color: var(--muted); }

/* ── Work / Products ── */
.work { background: var(--navy-light); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.work-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 280px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.work-card:nth-child(1) { grid-column: span 7; }
.work-card:nth-child(2) { grid-column: span 5; }
.work-card:nth-child(3) { grid-column: span 5; }
.work-card:nth-child(4) { grid-column: span 7; }

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  transition: transform 0.5s var(--ease);
}

.work-card:hover img { transform: scale(1.05); }

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 13, 24, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

.work-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.5rem;
}

.work-overlay h3 { font-size: 1.25rem; font-weight: 700; }
.work-overlay p { font-size: 0.85rem; color: var(--muted); margin-top: 0.35rem; }

/* ── Industries ── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.industry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}

.industry-card:hover { transform: translateY(-4px); }

.industry-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.industry-card div {
  padding: 1.25rem;
}

.industry-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.industry-card p {
  font-size: 0.825rem;
  color: var(--muted);
}

/* ── Process ── */
.process { background: var(--navy-light); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.process-step {
  text-align: center;
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--surface);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ── Testimonials ── */
.testimonial-slider {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.testimonial-quote {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-quote::before { content: "\201C"; color: var(--accent); }

.testimonial-author strong {
  display: block;
  font-size: 1rem;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--muted);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonial-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.testimonial-dots button.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* ── CTA ── */
.cta-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.12), transparent 60%);
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
}

.cta-band p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 2rem;
  position: relative;
}

.cta-band .btn { position: relative; }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.12);
  border-radius: var(--radius-sm);
  color: var(--accent);
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.contact-item span,
.contact-item a {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.contact-item a:hover { color: var(--accent); }

.contact-map {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.contact-map h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-map-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.footer-address {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
  line-height: 1.55;
  opacity: 0.75;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea { min-height: 130px; resize: vertical; }

.form-group.full { grid-column: 1 / -1; }

/* ── Footer ── */
.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--navy-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.35rem 0;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-col a:hover { opacity: 1; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-powered {
  color: var(--muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  padding-top: 2rem;
  font-size: 0.85rem;
}

.footer-legal a {
  color: var(--muted);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--text);
}

.footer-legal span {
  color: var(--border);
}

.section-spacer {
  height: 4rem;
}

.legal-content {
  max-width: 760px;
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.legal-block {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-block h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.legal-block p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .ecosystems-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-row,
  .contact-grid { grid-template-columns: 1fr; }
  .solutions-visual { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .work-card:nth-child(n) { grid-column: span 12; }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .nav-desktop { display: none; }
  .menu-toggle { display: block; }
  .nav-mobile { display: flex; }
  .hero-stats { gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 4rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide { position: relative; opacity: 1; transform: none; pointer-events: auto; }
  .hero-slide:not(:first-child) { display: none; }
  .hero-rotator-dots { display: none; }
  .hero-rotator { min-height: auto !important; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ── Inner pages ── */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 13, 24, 0.5) 0%, var(--navy) 90%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }

.page-body { padding: 4rem 0; }
.page-cta { padding-top: 0; }

.text-center { text-align: center; }

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.pillar h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.35rem; }
.pillar-sub { font-size: 0.85rem; color: var(--accent); margin-bottom: 0.75rem; }
.pillar p { font-size: 0.925rem; color: var(--muted); }

/* Detail list (services) */
.detail-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }

.detail-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.25s;
}

.detail-card:hover { border-color: rgba(59, 130, 246, 0.35); }

.detail-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 10px;
}

.detail-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.detail-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

.highlight-box {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius);
}

.highlight-box h3, .highlight-box h4 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.highlight-box p { color: var(--muted); font-size: 0.95rem; }

/* Two col intro */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.two-col h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.75rem; }
.two-col p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.stat-block { text-align: center; }
.stat-block strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-block span { font-size: 0.8rem; color: var(--muted); }

/* Solutions page grid */
.solutions-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.solution-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}

.solution-card:hover { transform: translateY(-4px); }

.solution-card-img { height: 180px; overflow: hidden; }
.solution-card-img img { width: 100%; height: 100%; object-fit: cover; }
.solution-card-body { padding: 1.5rem; }
.solution-card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.solution-card-body p { font-size: 0.875rem; color: var(--muted); }

.solutions-preview { padding: 6rem 0; }

/* Product rows */
.product-list { display: flex; flex-direction: column; gap: 3rem; }

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.product-row.reverse { direction: rtl; }
.product-row.reverse > * { direction: ltr; }

.product-row-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
}

.product-row-img img { width: 100%; height: 100%; object-fit: cover; }

.product-row-body h3 { font-size: 1.5rem; font-weight: 700; margin: 0.5rem 0 0.75rem; }
.product-row-body p { color: var(--muted); margin-bottom: 1.25rem; line-height: 1.65; }

/* Industries layout */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}

.industry-article {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.industry-article:last-child { border-bottom: none; }

.industry-article-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.industry-article-img img { width: 100%; height: 160px; object-fit: cover; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.industry-article-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.industry-article-body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; }

.link-arrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.link-arrow:hover { text-decoration: underline; }

.sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }

.sidebar-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.sidebar-box h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.sidebar-box ul { font-size: 0.9rem; }
.sidebar-box li { margin-bottom: 0.5rem; }
.sidebar-box a { color: var(--text); opacity: 0.85; }
.sidebar-box a:hover { opacity: 1; color: var(--accent); }
.sidebar-box p { font-size: 0.875rem; color: var(--muted); }

.sidebar-links li { list-style: none; }

/* About splits */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 4rem;
}

.split-section.reverse .split-img { order: 2; }

.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}

.split-img img { width: 100%; height: 100%; object-fit: cover; }

.split-content h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 1rem; }

.split-content p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.skill-bars { margin-top: 1.5rem; }

.skill-bar { margin-bottom: 1rem; }

.skill-bar-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.skill-bar-track {
  height: 6px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 999px;
}

@media (max-width: 992px) {
  .two-col,
  .product-row,
  .split-section,
  .industry-article,
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .product-row.reverse { direction: ltr; }
  .split-section.reverse .split-img { order: 0; }
  .sidebar { position: static; }
  .industry-article-img img { height: 200px; }
}
