/* ============================================================
   BAJILLION LABS — GLOBAL STYLESHEET
   Design System: Warm Light Theme
   Fonts: Playfair Display + Plus Jakarta Sans + DM Mono
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=DM+Mono:wght@300;400&display=swap');

/* ── DESIGN TOKENS ───────────────────────────────────────── */
:root {
  /* Backgrounds */
  --ivory: #FAFAF7;
  --ivory-2: #F3F3EE;
  --ivory-3: #EAEAE3;
  /* Brand */
  --navy: #0F1F3D;
  --navy-2: #162847;
  --navy-3: #1E3560;
  /* Accents */
  --amber: #E8A020;
  --amber-2: #F5B840;
  --amber-dim: #FFF5E0;
  --teal: #1B8C8C;
  --teal-dim: #E8F5F5;
  --coral: #D64C2B;
  /* Text */
  --text: #1A1A2E;
  --text-2: #4A5568;
  --text-3: #8A9AB5;
  /* Structure */
  --border: #E2E2DA;
  --shadow-sm: 0 2px 8px rgba(15, 31, 61, 0.07);
  --shadow-md: 0 8px 32px rgba(15, 31, 61, 0.10);
  --shadow-lg: 0 24px 64px rgba(15, 31, 61, 0.14);
  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;
  /* Spacing */
  --nav-h: 68px;
  --radius: 12px;
  --radius-lg: 20px;
  --section-pad: 88px;
  --page-pad: 5vw;
  --max-w: 1140px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
}

body {
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font-family: var(--font-body);
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--ivory-2);
}

::-webkit-scrollbar-thumb {
  background: var(--navy-3);
  border-radius: 10px;
}

/* ── CUSTOM CURSOR ───────────────────────────────────────── */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s;
}

.cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, opacity .25s, border-color .25s;
  opacity: .4;
}

.cursor-ring.hov {
  width: 50px;
  height: 50px;
  opacity: .65;
  border-color: var(--amber);
}

/* ── NAVIGATION ──────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(250, 250, 247, .93);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 var(--page-pad);
  gap: 40px;
  transition: box-shadow .3s;
}

.site-nav.scrolled {
  box-shadow: var(--shadow-md);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--navy);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.3px;
}

.nav-logo-text span {
  color: var(--amber);
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  padding: 8px 18px;
  border-radius: 8px;
  transition: all .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: var(--ivory-3);
}

/* Dropdown Support */
.nav-dropdown {
  position: relative;
}

.nav-dropdown>a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown>a span {
  display: none;
  /* Hide legacy arrow */
}

.nav-dropdown>a::after {
  content: '';
  width: 8px;
  height: 8px;
  display: block;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.3s ease;
  opacity: 0.6;
}

.nav-dropdown:hover>a::after {
  transform: translateY(2px) rotate(225deg);
  opacity: 1;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 0;
  min-width: 200px;
  display: none;
}

.dropdown-content::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}

.dropdown-content {
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}

.nav-dropdown:hover .dropdown-content {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-content a {
  padding: 12px 24px !important;
  border-radius: 6px !important;
  margin: 0 8px;
  background: transparent !important;
  color: var(--text-2) !important;
  font-size: 13px !important;
  transition: all .2s !important;
}

.dropdown-content a:hover {
  color: var(--navy) !important;
  background: var(--ivory-2) !important;
}

.nav-links a.nav-cta {
  background: var(--navy);
  color: var(--ivory) !important;
  padding: 8px 18px;
  border-radius: 8px;
}

.nav-links a.nav-cta:hover {
  background: var(--navy-3);
  transform: translateY(-1px);
}

/* Phone */
.nav-phone {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  white-space: nowrap;
  padding-left: 16px;
  border-left: 1px solid var(--border);
  flex-shrink: 0;
}

.nav-phone a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.nav-phone a:hover {
  color: var(--amber);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: .3s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 199;
  background: var(--ivory);
  border-bottom: 1px solid var(--border);
  padding: 14px var(--page-pad);
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-md);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: var(--ivory-3);
  color: var(--navy);
}

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-2);
  padding: 64px var(--page-pad) 36px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, .45);
  line-height: 1.7;
  margin: 14px 0;
  max-width: 270px;
}

.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255, 255, 255, .38);
  margin-bottom: 7px;
}

.footer-contact-line a {
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  transition: color .2s;
}

.footer-contact-line a:hover {
  color: var(--amber);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 2px;
}

.footer-logo-icon {
  width: 30px;
  height: 30px;
  background: var(--amber);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ivory);
}

.footer-col h5 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .3);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col li a {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  transition: color .2s;
}

.footer-col li a:hover {
  color: var(--amber);
}

.footer-hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, .07);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, .28);
}

.footer-socials {
  display: flex;
  gap: 9px;
}

.social-btn {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .45);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s, color .2s, border-color .2s;
}

.social-btn:hover {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}

/* ── LAYOUT HELPERS ──────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

section {
  padding: var(--section-pad) var(--page-pad);
}

.page-pad-top {
  padding-top: calc(var(--nav-h) + 60px);
}

/* ── TYPOGRAPHY HELPERS ──────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}

.section-label.centered {
  justify-content: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.5px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 540px;
  margin-top: 14px;
}

.section-sub.centered {
  text-align: center;
  margin: 14px auto 0;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .2s, transform .15s, box-shadow .2s, border-color .2s;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}

.btn-primary svg {
  stroke: var(--amber);
}

.btn-primary:hover {
  background: var(--navy-3);
  box-shadow: 0 8px 24px rgba(15, 31, 61, .22);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--ivory-3);
  border-color: var(--navy-3);
}

.btn-amber {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
  font-weight: 800;
}

.btn-amber:hover {
  background: var(--amber-2);
  box-shadow: 0 8px 24px rgba(232, 160, 32, .3);
}

.btn-ghost-light {
  background: transparent;
  color: rgba(255, 255, 255, .7);
  border-color: rgba(255, 255, 255, .18);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, .07);
}

/* ── CTA SECTION (shared) ────────────────────────────────── */
.cta-banner {
  background: var(--navy);
  padding: var(--section-pad) var(--page-pad);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(232, 160, 32, .10) 0%, transparent 55%),
    radial-gradient(circle at 10% 50%, rgba(27, 140, 140, .08) 0%, transparent 50%);
}

.cta-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 900;
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: 10px;
}

.cta-banner-title em {
  font-style: italic;
  color: var(--amber);
}

.cta-banner-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, .55);
  max-width: 460px;
}

.cta-banner-acts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  flex-shrink: 0;
}

/* ── CLIENTS MARQUEE ─────────────────────────────────────── */
.clients-strip {
  background: var(--navy);
  padding: 26px var(--page-pad);
  overflow: hidden;
}

.clients-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.clients-strip-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .32);
  white-space: nowrap;
  flex-shrink: 0;
}

.clients-track-wrap {
  overflow: hidden;
  flex: 1;
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 36px;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}

.clients-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.client-chip {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 7px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .5px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .2s, background .2s;
}

.client-chip:hover {
  color: var(--amber);
  background: rgba(232, 160, 32, .1);
}

/* ── SERVICE CARDS ───────────────────────────────────────── */
.svc-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.svc-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  cursor: default;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 160, 32, .45);
}

.svc-card:hover .svc-icon-wrap {
  background: var(--navy);
}

.svc-card:hover .svc-icon-wrap svg {
  stroke: var(--amber);
}

.svc-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.svc-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--navy-3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background .25s;
}

.svc-icon-wrap svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: rgba(255, 255, 255, .85);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .25s;
}

.svc-card-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.svc-card-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 20px;
}

.svc-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .2s;
}

.svc-card-link:hover {
  gap: 9px;
}

.svc-card-link::after {
  content: '→';
}

/* ── PRODUCT CARDS ───────────────────────────────────────── */
.product-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card-head {
  padding: 30px 26px 22px;
  position: relative;
  overflow: hidden;
}

.product-card-head::before {
  content: '';
  position: absolute;
  right: -28px;
  top: -28px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
}

.product-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 100px;
  padding: 4px 11px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.product-card-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.product-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  color: var(--ivory);
  margin-bottom: 4px;
}

.product-card-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, .48);
}

.product-card-body {
  padding: 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-card-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

.product-card-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.product-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}

.product-feat::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.feat-amber::before {
  background: var(--amber);
}

.feat-teal::before {
  background: var(--teal);
}

.feat-navy::before {
  background: var(--navy);
}

.feat-coral::before {
  background: var(--coral);
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.product-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.product-tag {
  background: var(--ivory-3);
  border-radius: 5px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-2);
}

.product-cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}

.product-cta:hover {
  gap: 8px;
}

.product-cta::after {
  content: '→';
}

/* ── STAT CARDS ──────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat-card {
  background: var(--ivory-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.stat-card:hover::after {
  transform: scaleX(1);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-num span {
  color: var(--amber);
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ── TECH DIAGRAM ────────────────────────────────────────── */
.tech-diagram {
  background: var(--navy);
  border-radius: 20px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  box-shadow: var(--shadow-lg);
}

.tech-node {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  transition: background .2s, border-color .2s;
}

.tech-node:hover {
  background: rgba(232, 160, 32, .09);
  border-color: rgba(232, 160, 32, .22);
}

.tech-node-icon {
  font-size: 24px;
  margin-bottom: 7px;
}

.tech-node-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, .8);
}

.tech-node-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, .3);
  margin-top: 3px;
}

.tech-node.featured {
  grid-column: 1 / -1;
  background: rgba(232, 160, 32, .1);
  border-color: rgba(232, 160, 32, .28);
}

.tech-node.featured .tech-node-label {
  color: var(--amber);
  font-size: 14px;
}

/* ── FORM ELEMENTS ───────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: .3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  background: var(--ivory-2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15, 31, 61, .07);
}

.form-group textarea {
  min-height: 110px;
}

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

/* ── ANIMATION CLASSES ───────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes floatUD {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 160, 32, .4);
  }

  70% {
    box-shadow: 0 0 0 18px rgba(232, 160, 32, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(232, 160, 32, 0);
  }
}

.anim-up {
  opacity: 0;
  animation: fadeUp .7s ease forwards;
}

.anim-in {
  opacity: 0;
  animation: fadeIn .7s ease forwards;
}

.anim-sc {
  opacity: 0;
  animation: scaleIn .65s ease forwards;
}

.float {
  animation: floatUD 6s ease-in-out infinite;
}

.d1 {
  animation-delay: .05s;
}

.d2 {
  animation-delay: .15s;
}

.d3 {
  animation-delay: .25s;
}

.d4 {
  animation-delay: .35s;
}

.d5 {
  animation-delay: .45s;
}

.d6 {
  animation-delay: .55s;
}

/* ── UTILITY WIDGETS ─────────────────────────────────────── */
.btt {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 300;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--navy);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, background .2s;
}

.btt.show {
  opacity: 1;
  transform: translateY(0);
}

.btt:hover {
  background: var(--navy-3);
}

.btt svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--ivory);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 500;
  background: var(--navy);
  color: var(--ivory);
  padding: 13px 22px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: opacity .3s, transform .3s;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 250px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-icon {
  color: var(--amber);
  font-size: 17px;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .cta-banner-inner {
    grid-template-columns: 1fr;
  }

  .cta-banner-acts {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --section-pad: 60px;
  }

  .site-nav .nav-links,
  .site-nav .nav-phone {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .svc-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

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

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

  .clients-strip-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .clients-track-wrap {
    width: 100%;
    min-width: 0;
  }

  .tech-diagram {
    grid-template-columns: 1fr;
  }
}