/* VertixOp — Enterprise AI platform design system */
:root {
  --bg: #0f172a;
  --bg-deep: #0a0f1a;
  --bg-elevated: rgba(255, 255, 255, 0.04);
  --border: rgba(148, 163, 184, 0.12);
  --border-hover: rgba(31, 180, 255, 0.45);
  --text: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --accent: #1fb4ff;
  --accent-light: #5ad0ff;
  --accent-violet: #7c6bff;
  --gradient: linear-gradient(135deg, #1fb4ff 0%, #5ad0ff 45%, #2ecbff 75%, #7c6bff 100%);
  --glass-bg: rgba(15, 23, 42, 0.6);
  --glass-blur: blur(16px);
  --font: "Inter", system-ui, sans-serif;
  --font-display: "Space Grotesk", var(--font);
  --radius: 12px;
  --radius-lg: 16px;
  --nav-height: 72px;
  --maxw: 1140px;
  --section-py: 6rem;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --card-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: linear-gradient(180deg, #0a0f1a 0%, #0f172a 50%, #0c1929 100%);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

.page-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.72);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(31, 180, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 180, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 15%, transparent 70%);
}

.floating-shapes {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.2;
}

.float-shape {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(31, 180, 255, 0.2);
  background: rgba(31, 180, 255, 0.04);
}

.float-shape--1 {
  width: 120px;
  height: 120px;
  top: 18%;
  left: 8%;
  animation: shape-float 14s ease-in-out infinite;
}

.float-shape--2 {
  width: 64px;
  height: 64px;
  top: 55%;
  right: 12%;
  border-color: rgba(124, 107, 255, 0.25);
  background: rgba(124, 107, 255, 0.06);
  animation: shape-float 11s ease-in-out infinite reverse;
}

.float-shape--3 {
  width: 40px;
  height: 40px;
  bottom: 25%;
  left: 15%;
  animation: shape-float 9s ease-in-out infinite 1s;
}

.float-shape--4 {
  width: 80px;
  height: 80px;
  top: 35%;
  right: 28%;
  border-radius: 16px;
  transform: rotate(45deg);
  animation: shape-spin 20s linear infinite;
}

@keyframes shape-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(12px, -18px) scale(1.05); }
  66% { transform: translate(-8px, 10px) scale(0.95); }
}

@keyframes shape-spin {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}

.css-bg-fallback {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background:
    radial-gradient(circle at 15% 20%, rgba(31, 180, 255, 0.12), transparent 42%),
    radial-gradient(circle at 85% 15%, rgba(124, 107, 255, 0.08), transparent 38%);
}

#webgl-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.28;
}

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

#neural-canvas { display: none; }

.glass-3d,
.card {
  background: var(--glass-bg) !important;
  backdrop-filter: var(--glass-blur) saturate(1.3);
  -webkit-backdrop-filter: var(--glass-blur) saturate(1.3);
  border: 1px solid var(--border) !important;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.glass-3d {
  transform-style: preserve-3d;
  transition: var(--card-transition);
}

.card-interactive {
  transition: var(--card-transition);
}

.card-interactive:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover) !important;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(31, 180, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.card-3d {
  transform-style: preserve-3d;
}

.gradient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  animation: float 20s ease-in-out infinite;
}

.gradient-orb--1 {
  width: 500px;
  height: 500px;
  background: rgba(31, 180, 255, 0.08);
  top: -150px;
  right: -80px;
  opacity: 0.6;
}

.gradient-orb--2 {
  width: 400px;
  height: 400px;
  background: rgba(31, 180, 255, 0.05);
  bottom: -100px;
  left: -80px;
  animation-delay: -10s;
  opacity: 0.6;
}

.gradient-orb--3 {
  width: 320px;
  height: 320px;
  background: rgba(124, 107, 255, 0.06);
  top: 45%;
  left: 40%;
  animation: float 16s ease-in-out infinite;
  animation-delay: -5s;
  opacity: 0.5;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

.gradient-text {
  background: var(--gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shimmer {
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.spin-slow {
  display: inline-block;
  animation: spin-slow 8s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(10, 15, 26, 0.75);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.nav--scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 15, 26, 0.92);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(31, 180, 255, 0.4)); }
  50% { filter: drop-shadow(0 0 14px rgba(31, 180, 255, 0.7)); }
}

.nav__logo-text {
  color: var(--accent);
  letter-spacing: 0.5px;
}

.logo-op { color: var(--accent-light); }

.footer__brand { margin-bottom: 1rem; }

.footer__brand img {
  height: 44px;
  width: auto;
  opacity: 0.95;
}

.nav__links { display: flex; gap: 1.75rem; }

.nav__links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__actions { display: flex; gap: 0.75rem; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn--primary {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: #032834;
  box-shadow: 0 0 24px rgba(31, 180, 255, 0.3);
}

.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: btn-shine 3s ease-in-out infinite;
}

@keyframes btn-shine {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 32px rgba(31, 180, 255, 0.45);
}

.btn--outline {
  background: rgba(15, 23, 42, 0.5);
  color: var(--accent-light);
  border: 1px solid rgba(31, 180, 255, 0.35);
}

.btn--outline:hover {
  background: rgba(31, 180, 255, 0.08);
  border-color: rgba(31, 180, 255, 0.5);
}

.btn--secondary {
  background: rgba(148, 163, 184, 0.08);
  color: var(--text-body);
  border: 1px solid var(--border);
}

.btn--secondary:hover {
  background: rgba(148, 163, 184, 0.14);
  border-color: rgba(148, 163, 184, 0.3);
  color: var(--text);
  transform: translateY(-1px);
}

.btn--nav-cta {
  background: transparent;
  color: var(--accent-light);
  border: 1px solid rgba(31, 180, 255, 0.5);
  box-shadow: none;
}

.btn--nav-cta::after {
  display: none;
}

.btn--nav-cta:hover {
  background: rgba(31, 180, 255, 0.08);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(31, 180, 255, 0.15);
}

.btn--sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn--lg { padding: 0.9rem 1.6rem; font-size: 1rem; }

/* Hero — centered enterprise layout (Arya.ai-inspired) */
.hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-height) + 3rem) 2rem 5rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

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

.hero__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  max-width: 920px;
  margin: 0 auto;
}

.hero__announce {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border) !important;
  max-width: 100%;
}

.hero__announce-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-light);
}

.hero__announce-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border);
  transition: var(--card-transition);
  white-space: nowrap;
}

.hero__announce-link:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: rgba(31, 180, 255, 0.08);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(31, 180, 255, 0.4); }
  50% { opacity: 0.85; box-shadow: 0 0 0 6px rgba(31, 180, 255, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.hero__subtitle {
  color: var(--text-body);
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin: 0;
  max-width: 52ch;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  justify-content: center;
  margin: 0.25rem 0 0;
}

.hero__actions .btn--primary {
  padding: 0.95rem 2.25rem;
  font-size: 1.05rem;
  border-radius: 100px;
  min-height: 52px;
}

.hero__cards {
  width: 100%;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 0.5rem;
}

.hero__enterprise {
  padding: 0 !important;
  text-align: left;
}

.hero__enterprise-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.375rem;
  flex-wrap: wrap;
}

.hero__enterprise-inner > div {
  flex: 1;
  min-width: 200px;
}

.hero__enterprise h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.25rem;
}

.hero__enterprise p {
  font-size: 0.875rem;
  color: var(--text-body);
  margin: 0;
  line-height: 1.5;
}

.hero__enterprise .btn {
  flex-shrink: 0;
}

.hero__cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.875rem;
  width: 100%;
}

.hero-pillar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.65rem;
  padding: 1.25rem 1.125rem;
  border-radius: var(--radius);
  min-height: 130px;
}

.hero-pillar__icon {
  color: var(--accent);
  font-size: 0.55rem;
  line-height: 1;
  flex-shrink: 0;
}

.hero-pillar__title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.hero-pillar__text {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.card-icon--lg {
  min-width: 3rem;
  height: 3rem;
  font-size: 0.7rem;
  margin-bottom: 1rem;
}

/* Cards */
.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(31, 180, 255, 0.04) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.card-interactive:hover::before {
  transform: translateX(100%);
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-body);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: var(--section-py) 2rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

.section__header {
  margin-bottom: 3rem;
}

.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.875rem;
  letter-spacing: -0.02em;
}

.section__header p {
  color: var(--text-body);
  font-size: 1.0625rem;
  max-width: 640px;
  line-height: 1.7;
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.85rem;
  background: rgba(31, 180, 255, 0.1);
  border: 1px solid rgba(31, 180, 255, 0.25);
  border-radius: 100px;
  animation: tag-glow 3s ease-in-out infinite;
}

.section__tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes tag-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(31, 180, 255, 0); }
  50% { box-shadow: 0 0 20px rgba(31, 180, 255, 0.15); }
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.5rem;
  margin-bottom: 0.75rem;
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: linear-gradient(145deg, rgba(31, 180, 255, 0.18), rgba(124, 107, 255, 0.1));
  border: 1px solid rgba(31, 180, 255, 0.28);
  box-shadow: 0 4px 16px rgba(31, 180, 255, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-interactive:hover .card-icon {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 180, 255, 0.22);
}

.trust-badges {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem 1.125rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem var(--section-py);
}

.trust-badge {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0.6rem 1.125rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 220px;
}

.service-card p {
  font-size: 0.875rem;
  flex: 1;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.service-cta {
  display: block;
  margin-top: auto;
  padding: 0.625rem 0.875rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.8);
  color: var(--accent-light);
  text-decoration: none;
  border: 1px solid var(--border);
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--card-transition);
}

.service-cta:hover {
  background: rgba(31, 180, 255, 0.1);
  border-color: var(--border-hover);
  color: var(--text);
}

button.service-cta { width: 100%; }

.btn-arrow {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn--primary:hover .btn-arrow {
  transform: translateX(4px);
}

/* Services */
.services-layout {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.anim-robot {
  position: relative;
  flex: 0 0 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease-out;
  transform-origin: center center;
}

.robot-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 180, 255, 0.25), transparent 70%);
  animation: robot-glow-pulse 3s ease-in-out infinite;
}

@keyframes robot-glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

.robot-svg {
  display: block;
  position: relative;
  z-index: 1;
  animation: robot-bob 4s ease-in-out infinite;
}

@keyframes robot-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.robot-group { transform-origin: 50px 45px; }

.robot-head {
  animation: head-tilt 6s ease-in-out infinite;
  transform-origin: 50px 25px;
}

@keyframes head-tilt {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-2deg); }
  75% { transform: rotate(2deg); }
}

.robot-eye {
  animation: eye-blink 4s ease-in-out infinite;
}

.robot-eye--r { animation-delay: 0.1s; }

@keyframes eye-blink {
  0%, 45%, 55%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.15); opacity: 0.7; }
}

.robot-mouth {
  animation: mouth-talk 2.5s ease-in-out infinite;
  transform-origin: center;
}

@keyframes mouth-talk {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(1.08); }
}

.robot-body {
  animation: body-pulse 3s ease-in-out infinite;
}

@keyframes body-pulse {
  0%, 100% { opacity: 0.16; }
  50% { opacity: 0.28; }
}

.orb { animation: orb-float 3.8s ease-in-out infinite; }
.orb:nth-child(2) { animation-delay: 0.25s; }
.orb:nth-child(3) { animation-delay: 0.5s; }

@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.04); }
}

.service-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  min-width: 280px;
  align-items: stretch;
}

.service-card h3 {
  font-size: 1rem;
}

.service-card p {
  font-size: 0.875rem;
}

/* Footer — full width, grounded */
.footer {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 0;
  padding: 4rem 0 2rem;
  background: #0a0f1a;
  border-top: 1px solid var(--border);
}

.footer__container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(140px, 1fr));
  gap: 2.5rem 3rem;
  text-align: left;
  margin-bottom: 2.5rem;
  align-items: start;
}

.footer__heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.footer__tagline,
.footer__address {
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.65;
  font-style: normal;
}

.footer__inner p {
  color: var(--text-body);
}

.footer__links a,
.footer__inner a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__links a:hover,
.footer__inner a:hover { text-decoration: underline; }

.footer__legal {
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  margin: 0;
}

.footer__copy--sub {
  margin-top: 0.35rem !important;
  font-size: 0.8rem !important;
}


/* Toast */
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #063a5a;
  color: #cfeefc;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  animation: toast-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.toast.toast--out {
  animation: toast-out 0.4s ease forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(40px) translateY(20px); }
  to { opacity: 1; transform: translateX(0) translateY(0); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(20px); }
}

/* Hero entrance */
.animate-in {
  opacity: 0;
  transform: translateY(28px);
  animation: fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.08s * var(--i, 0) + 0.15s);
}

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* Reveal on scroll — visible by default; hidden only when JS animations load */
.reveal {
  opacity: 1;
  transform: none;
}

html.js-animating .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--stagger, 0) * 0.08s);
}

html.js-animating .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

html.js-animating .reveal--left {
  transform: translateX(-32px);
}

html.js-animating .reveal--left.visible {
  transform: translateX(0);
}

html.js-animating .reveal--scale {
  transform: translateY(24px) scale(0.96);
}

html.js-animating .reveal--scale.visible {
  transform: translateY(0) scale(1);
}

.reveal--delay-1 { transition-delay: calc(0.1s + var(--stagger, 0) * 0.08s); }
.reveal--delay-2 { transition-delay: calc(0.2s + var(--stagger, 0) * 0.08s); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #webgl-bg,
  .bg-grid,
  .floating-shapes { animation: none; }
  .css-bg-fallback { animation: none; }
  .animate-in, .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero__cards-row {
    grid-template-columns: 1fr;
  }
  .hero__enterprise-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .hero__title {
    max-width: none;
  }
  .service-grid { grid-template-columns: 1fr; }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .nav.nav--open .nav__links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 15, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
  }
  .nav.nav--open .nav__actions {
    display: flex;
    position: fixed;
    top: calc(var(--nav-height) + 180px);
    left: 2rem;
    right: 2rem;
  }
}

@media (max-width: 600px) {
  :root { --section-py: 4rem; }
  .hero, .section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .services-layout { flex-direction: column; }
  .anim-robot { flex: none; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* Contact page */
.page-contact {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-contact .content-layer {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-page {
  flex: 1;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 3rem) 2rem 4rem;
}

.contact-section {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
}

.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem 5rem;
  align-items: start;
}

.contact-section__intro h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 2rem;
}

.contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-info__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text);
}

.contact-info__icon svg {
  display: block;
}

.contact-info__content {
  flex: 1;
  min-width: 0;
  padding-top: 0.15rem;
}

.contact-info__label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.contact-info__detail {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-style: normal;
}

.contact-info__emails {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-info__detail a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

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

.contact-section__intro > p {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 26rem;
  line-height: 1.7;
}

.contact-section__meta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-section__meta a {
  color: var(--accent-light);
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-section__meta a:hover {
  text-decoration: underline;
}

.contact-form {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.form-field .req {
  color: var(--accent-light);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(10, 15, 26, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: rgba(31, 180, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(31, 180, 255, 0.12);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.form-field select option {
  background: var(--bg-deep);
  color: var(--text);
}

.btn--full {
  width: auto;
  min-width: 8rem;
  align-self: center;
  justify-content: center;
  text-align: center;
  margin-top: 0.5rem;
  padding: 0.75rem 2.25rem;
  font-size: 0.95rem;
}

.form-status {
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.25rem;
}

.form-status--success {
  color: #4ade80;
}

.form-status--info {
  color: var(--accent-light);
}

.page-contact .footer {
  margin-top: auto;
}

/* Team section */
.team-section {
  position: relative;
  z-index: 1;
  width: 100%;
}

.team-section__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-py) 2rem;
}

.team-section .section__header--center {
  text-align: center;
}

.team-section .section__header--center p {
  margin-left: auto;
  margin-right: auto;
}

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

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  border-color: rgba(31, 180, 255, 0.25);
  box-shadow: 0 8px 32px rgba(31, 180, 255, 0.08);
}

.team-card__avatar {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(31, 180, 255, 0.12) 0%, rgba(124, 107, 255, 0.08) 100%);
  border: 2px solid rgba(31, 180, 255, 0.2);
  box-shadow: 0 0 24px rgba(31, 180, 255, 0.1);
  flex-shrink: 0;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.team-card__role {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.team-card__name:empty,
.team-card__role:empty {
  display: block;
  width: 100%;
  max-width: 10rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 4px;
  background: transparent;
}

.team-card__name:empty {
  min-height: 1.35rem;
}

.team-card__role:empty {
  min-height: 1rem;
  max-width: 8rem;
}

.team-card__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.25rem;
  border-radius: 4px;
  background: rgba(10, 102, 194, 0.85);
  color: #fff;
  opacity: 0.4;
}

.team-card__linkedin svg {
  display: block;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
}

@media (max-width: 520px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .team-card__avatar {
    width: 6.5rem;
    height: 6.5rem;
  }
}

@media (max-width: 900px) {
  .contact-section__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-section__intro > p {
    max-width: none;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* Career page */
.page-career {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-career .content-layer {
  flex: 1;
}

.career-page {
  padding-bottom: 4rem;
}

.career-hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-height) + 2.5rem) 2rem 2rem;
  text-align: center;
}

.career-hero__inner {
  max-width: 720px;
  margin: 0 auto;
}

.career-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin: 0.75rem 0 0;
  letter-spacing: -0.02em;
}

.career-hero__lead:empty {
  display: none;
}

.career-unique {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2rem 3.5rem;
}

.career-unique__inner {
  max-width: 920px;
  margin: 0 auto;
}

.career-unique__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}

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

.career-unique-card {
  position: relative;
  min-height: 12.5rem;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 2rem 2.25rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.career-unique-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}

.career-unique-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 0.5s ease;
}

.career-unique-card:hover .career-unique-card__bg {
  transform: scale(1.05);
}

.career-unique-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 12, 22, 0.88) 0%,
    rgba(8, 12, 22, 0.55) 45%,
    rgba(8, 12, 22, 0.2) 100%
  );
  z-index: 1;
}

.career-unique-card__label {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 75%;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.career-openings {
  position: relative;
  z-index: 1;
  padding: 3rem 2rem 2rem;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 15, 26, 0.98) 50%, rgba(12, 25, 41, 0.95) 100%);
  border-top: 1px solid var(--border);
}

.career-openings__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.career-openings h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 0.75rem;
}

.career-openings__intro:empty {
  display: none;
}

.career-openings__intro {
  text-align: center;
  color: var(--text-body);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.career-jobs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.career-job-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 7rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.career-job-card:hover {
  border-color: rgba(31, 180, 255, 0.25);
  box-shadow: 0 8px 32px rgba(31, 180, 255, 0.06);
}

.career-job-card:nth-child(3) {
  grid-column: 1 / -1;
  max-width: calc(50% - 0.625rem);
}

.career-job-card__body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
}

.career-job-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.career-job-card__title:empty {
  min-height: 1.25rem;
  max-width: 14rem;
}

.career-job-card__skills,
.career-job-card__exp {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.career-job-card__icon {
  color: var(--accent);
  font-size: 0.7rem;
  line-height: 1.5;
  flex-shrink: 0;
}

.career-job-card__skills-text:empty,
.career-job-card__exp-text:empty {
  display: block;
  min-height: 0.9rem;
  min-width: 8rem;
}

.career-job-card__action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-light);
  text-decoration: none;
  border-left: 1px solid var(--border);
  background: rgba(10, 15, 26, 0.5);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.career-job-card__action:hover {
  background: rgba(31, 180, 255, 0.1);
  color: var(--accent);
  border-color: rgba(31, 180, 255, 0.3);
}

.career-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.career-pagination__btn {
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.career-pagination__btn:hover:not(:disabled) {
  border-color: rgba(31, 180, 255, 0.4);
  color: var(--text);
}

.career-pagination__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.career-pagination__btn--active {
  background: var(--accent);
  border-color: var(--accent);
  color: #032834;
}

.page-career .footer {
  margin-top: auto;
}

@media (max-width: 900px) {
  .career-jobs {
    grid-template-columns: 1fr;
  }

  .career-job-card:nth-child(3) {
    max-width: none;
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .career-unique__grid {
    grid-template-columns: 1fr;
  }

  .career-unique-card {
    min-height: 10rem;
    aspect-ratio: auto;
    padding: 1.5rem 1.35rem;
  }

  .career-unique-card__label {
    max-width: 90%;
    font-size: 1.25rem;
  }

  .career-job-card {
    grid-template-columns: 1fr;
  }

  .career-job-card__action {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 0.85rem;
  }
}

/* Get a Quote modal */
.btn--quote {
  background: var(--gradient);
  color: #032834;
  border: none;
  box-shadow: 0 0 20px rgba(31, 180, 255, 0.35);
}

.btn--quote::after {
  display: none;
}

.btn--quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(31, 180, 255, 0.45);
  color: #021a22;
}

body.quote-modal-open {
  overflow: hidden;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.quote-modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 26, 0.82);
  backdrop-filter: blur(6px);
}

.quote-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(920px, 94vw);
  max-height: min(88vh, 820px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 2.5rem 2.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 180, 255, 0.22);
  background: linear-gradient(165deg, rgba(18, 28, 48, 0.99) 0%, rgba(10, 15, 26, 0.99) 100%);
  box-shadow:
    0 0 0 1px rgba(31, 180, 255, 0.08),
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 48px rgba(31, 180, 255, 0.08);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.quote-modal__dialog::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.quote-modal__dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.quote-modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.quote-modal__close:hover {
  color: var(--text);
  border-color: rgba(31, 180, 255, 0.4);
  background: rgba(31, 180, 255, 0.1);
}

.quote-modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  padding-right: 3rem;
  letter-spacing: -0.02em;
}

.quote-modal__subtitle {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 2rem;
  max-width: 36rem;
  line-height: 1.6;
}

.quote-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
}

@media (min-width: 768px) {
  .quote-form__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .quote-form__other {
    grid-column: 1 / -1;
  }
}

.quote-form .form-field label {
  font-size: 0.875rem;
  font-weight: 600;
}

.quote-form .form-field input,
.quote-form .form-field textarea,
.quote-form .form-field select {
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
}

.quote-form .form-field {
  margin-bottom: 0;
}

.quote-form .form-field:not(.quote-form__other) {
  min-width: 0;
}

.quote-form > .form-field:last-of-type {
  margin-top: 0.25rem;
}

.quote-form > .form-field:last-of-type textarea {
  min-height: 100px;
}

.quote-form__other.hidden {
  display: none;
}

.rate-stepper {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(10, 15, 26, 0.65);
}

.rate-stepper__btn {
  flex: 0 0 2.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-light);
  background: rgba(31, 180, 255, 0.08);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.rate-stepper__btn:hover {
  background: rgba(31, 180, 255, 0.18);
  color: var(--text);
}

.rate-stepper input {
  flex: 1;
  min-width: 0;
  text-align: center;
  border: none;
  border-left: 1px solid rgba(148, 163, 184, 0.15);
  border-right: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 0;
  background: transparent;
  font-weight: 600;
  color: var(--text);
  -moz-appearance: textfield;
}

.rate-stepper input::-webkit-outer-spin-button,
.rate-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn--quote-submit {
  width: auto;
  min-width: 12rem;
  margin-top: 1.5rem;
  padding: 0.9rem 2.5rem;
  justify-content: center;
  align-self: center;
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

.quote-form {
  display: flex;
  flex-direction: column;
}

@media (max-width: 767px) {
  .quote-modal__dialog {
    padding: 1.75rem 1.35rem;
    max-width: 100%;
  }

  .quote-form__grid {
    grid-template-columns: 1fr;
  }

  .btn--quote-submit {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .quote-modal {
    padding: 0.75rem;
    align-items: flex-end;
  }

  .quote-modal__dialog {
    padding: 1.5rem 1.25rem;
    max-height: 92vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
}

/* New growth sections */
.section__actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.page-products {
  min-height: 100vh;
}

.products-page {
  padding-top: calc(var(--nav-height) + 1rem);
}

.products-page .products-hero.section {
  padding-top: 0;
  padding-bottom: 3rem;
}

.products-hero .section__header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.products-hero .section__header p {
  margin-left: auto;
  margin-right: auto;
}

.products-page .products-cta.section {
  padding-top: 2rem;
}

.products-hero h1 {
  font-family: var(--font-display);
  color: var(--text);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.products-grid,
.portfolio-grid,
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.product-card,
.portfolio-card,
.service-category,
.capability-card {
  padding: 1.4rem;
}

.product-card h3,
.portfolio-card h3,
.service-category h3,
.capability-card h3 {
  color: var(--text);
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
}

.product-card p,
.portfolio-card p,
.service-category p,
.capability-card p {
  color: var(--text-body);
  font-size: 0.9rem;
}

.products-grid--brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.35rem;
}

.products-grid--brands .product-brand-card {
  flex: 1 1 min(100%, 300px);
  max-width: 360px;
}

.product-brand-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  gap: 0;
  background: linear-gradient(
    165deg,
    rgba(31, 180, 255, 0.07) 0%,
    rgba(15, 23, 42, 0.55) 42%,
    rgba(10, 15, 26, 0.85) 100%
  );
}

.product-brand-card.card-interactive:hover {
  background: linear-gradient(
    165deg,
    rgba(31, 180, 255, 0.12) 0%,
    rgba(15, 23, 42, 0.62) 42%,
    rgba(10, 15, 26, 0.92) 100%
  );
}

.product-brand-card h3,
.product-brand-card p {
  padding-left: 0;
  padding-right: 0;
}

.product-brand-card p {
  padding-bottom: 0;
  margin: 0;
  flex: 1;
  line-height: 1.65;
}

.product-brand-card h3 {
  padding-top: 0;
  margin-bottom: 0.45rem;
  color: var(--accent-light);
  font-size: 1.05rem;
}

.product-brand-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8.5rem;
  margin-bottom: 1.15rem;
  padding: 1.5rem 1.25rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fafc 0%, #e8eef5 100%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 24px rgba(0, 0, 0, 0.2);
}

.product-brand-card__logo img {
  display: block;
  max-width: min(100%, 260px);
  max-height: 5.25rem;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  mix-blend-mode: normal;
  filter: none;
}

.service-categories {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.portfolio-card ul {
  margin-top: 0.8rem;
  padding-left: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  display: grid;
  gap: 0.3rem;
}

.capability-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.capability-chips span {
  font-size: 0.78rem;
  color: var(--accent-light);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 180, 255, 0.25);
  background: rgba(31, 180, 255, 0.08);
}

.process-list {
  margin-top: 0.9rem;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  counter-reset: step;
}

.process-list li {
  font-size: 0.82rem;
  color: var(--text-body);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  background: rgba(10, 15, 26, 0.45);
}

.final-cta {
  padding-top: 1rem;
}

.final-cta__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.25rem 2rem;
  text-align: center;
}

.final-cta__inner h2 {
  color: var(--text);
  font-family: var(--font-display);
  margin-bottom: 0.75rem;
}

.final-cta__inner p {
  color: var(--text-body);
  max-width: 620px;
  margin: 0 auto 1.25rem;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.rfp-section {
  padding-top: 0;
  margin-bottom: 2.5rem;
}

.rfp-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.25rem 2rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(148, 163, 184, 0.45);
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.65) 0%, rgba(10, 15, 26, 0.88) 100%);
}

.rfp-card__icon {
  display: inline-flex;
  color: var(--text-body);
  margin-bottom: 1rem;
}

.rfp-card h2 {
  font-family: var(--font-display);
  color: var(--text);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 0.65rem;
}

.rfp-card p {
  color: var(--text-body);
  max-width: 36ch;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.rfp-card__btn {
  border-radius: 10px;
  padding: 0.85rem 1.45rem;
  margin-bottom: 2rem;
}

.rfp-social__label {
  display: block;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.rfp-social__links {
  display: flex;
  gap: 0.65rem;
}

.rfp-social__link {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), border-color var(--transition), color var(--transition);
}

.rfp-social__link:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  color: var(--accent-light);
}

@media (max-width: 1024px) {
  .products-grid,
  .portfolio-grid,
  .capabilities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .products-grid,
  .portfolio-grid,
  .capabilities-grid,
  .service-categories {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rfp-card {
    padding: 1.6rem 1.25rem;
  }

  .rfp-card p {
    max-width: none;
  }
}
