/* ==========================================================================
   NOMMER — Core Design System (Bright Premium Edition)
   "Appointed for Success."
   Brand Colors: Royal Blue (#2563EB), Crisp White (#FFFFFF), Obsidian Black (#0B0F19)
   ========================================================================== */

:root {
  /* Brand Core Palette */
  --blue: #2563EB;             /* Signature Royal Blue */
  --blue-hover: #1D4ED8;       /* Deep Royal Blue */
  --blue-light: #3B82F6;       /* Radiant Electric Accent */
  --blue-bright: #60A5FA;      /* Sky Accent */
  --cyan: #06B6D4;             /* Brand Cyan Accent */
  --purple: #7C3AED;           /* Brand Purple Accent */
  --navy: #0F172A;             /* Brand Dark Navy */
  --blue-glow: rgba(37, 99, 235, 0.25);
  --blue-glow-soft: rgba(37, 99, 235, 0.08);
  --blue-tint: #EFF6FF;        /* Soft airy blue wash */

  --black: #0F172A;            /* Deep Dark Navy / Obsidian (Headings & Luxury Accents) */
  --charcoal: #1E293B;         /* Slate Charcoal */
  --graphite: #334155;         /* Refined Slate for Body Text */
  --slate-muted: #64748B;      /* Secondary & Meta Text */
  --gray-border: #E2E8F0;      /* Crisp Structural Borders */
  --gray-subtle: #F1F5F9;      /* Soft Card Fill */
  --silver: #334155;           /* Legacy silver mapped to refined slate */
  --gray: #64748B;             /* Legacy gray mapped to muted slate */
  --gray-dim: #94A3B8;         /* Legacy gray-dim mapped to light slate */
  --white: #FFFFFF;            /* Pure Crisp White */
  --bg-primary: #FFFFFF;       /* Base Canvas */
  --bg-secondary: #F8FAFC;     /* Surface Slate Canvas */

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container: 1240px;
  --radius: 16px;
  --ease: cubic-bezier(.16, .84, .32, 1);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 20px 45px -10px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-blue: 0 16px 36px -8px rgba(37, 99, 235, 0.22);
}

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

html, body {
  background-color: var(--bg-primary);
  color: var(--graphite);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.07) 0px, transparent 48%),
    radial-gradient(at 100% 0%, rgba(96, 165, 250, 0.08) 0px, transparent 45%),
    radial-gradient(at 50% 45%, rgba(37, 99, 235, 0.03) 0px, transparent 55%),
    radial-gradient(at 8% 85%, rgba(37, 99, 235, 0.05) 0px, transparent 42%),
    radial-gradient(at 92% 90%, rgba(96, 165, 250, 0.06) 0px, transparent 45%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection {
  background: var(--blue);
  color: var(--white);
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Layout helpers ---------- */
.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.section { position: relative; padding: 130px 0; scroll-margin-top: 88px; }
.section-tight { padding: 90px 0; }
@media (max-width: 900px) {
  .section { padding: 84px 0; }
  .section-tight { padding: 60px 0; }
  .container { padding: 0 24px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--black);
}
h1 { font-size: clamp(2.6rem, 5.4vw, 5.2rem); line-height: 1.05; font-weight: 700; }
h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.12; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.25; }
h4 { font-size: clamp(1.05rem, 1.3vw, 1.25rem); line-height: 1.3; }
p { color: var(--graphite); }
.lede { font-size: 1.15rem; color: var(--slate-muted); max-width: 640px; line-height: 1.7; }

.text-gray { color: var(--slate-muted); }
.text-center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-hover));
  color: #FFFFFF;
  box-shadow: 0 8px 24px -6px var(--blue-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -4px var(--blue-glow);
  background: linear-gradient(135deg, #1E40AF, #1D4ED8);
}
.btn-ghost {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.16);
  color: var(--black);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  border-color: var(--blue);
  background: rgba(37, 99, 235, 0.06);
  color: var(--blue);
  transform: translateY(-2px);
}
.btn-black {
  background: var(--black);
  color: #FFFFFF;
  box-shadow: 0 8px 24px -6px rgba(11, 15, 25, 0.35);
}
.btn-black:hover {
  background: var(--blue);
  color: #FFFFFF;
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-arrow { transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* ---------- Glass panel ---------- */
.glass {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--gray-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   NAVBAR — Full-width at top, Floating Pill on scroll
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  padding: 16px 0;
  border: 1px solid transparent;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 0;
  transition:
    top .45s var(--ease),
    width .45s var(--ease),
    max-width .45s var(--ease),
    padding .45s var(--ease),
    border-radius .45s var(--ease),
    box-shadow .45s var(--ease),
    border-color .45s var(--ease);
}
.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background .45s var(--ease);
}
.navbar.scrolled {
  top: 14px;
  width: calc(100% - 36px);
  max-width: 1180px;
  padding: 9px 10px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: 0 14px 40px -10px rgba(11, 15, 25, 0.14), 0 4px 16px -2px rgba(37, 99, 235, 0.08);
}
.navbar.scrolled::before {
  background: rgba(255, 255, 255, 0.96);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding .45s var(--ease);
}
.navbar.scrolled .container {
  padding: 0 22px;
}
.navbar.scrolled .nav-cta .btn-ghost {
  background: var(--blue);
  border-color: var(--blue);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}
.navbar.scrolled .nav-cta .btn-ghost:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: #FFFFFF;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--black);
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: height .35s var(--ease), transform .3s var(--ease);
}
.navbar.scrolled .brand-logo {
  height: 38px;
}
.footer .brand-logo {
  height: 54px;
}
.brand .seal-mini { width: 28px; height: 28px; flex-shrink: 0; }
.brand .seal-mini circle { stroke: var(--blue); }
.brand .seal-mini text { fill: var(--black) !important; font-weight: 700; }
.brand small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  color: var(--slate-muted);
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--graphite);
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width .35s var(--ease);
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--blue); font-weight: 600; }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  background: none;
  border: none;
  z-index: 1100;
}
.nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--black);
  border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform .45s var(--ease), opacity .35s;
    pointer-events: none;
    z-index: 1050;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 22px; font-family: var(--font-display); color: var(--black); }
  .nav-toggle { display: flex; }
  .nav-cta .btn-ghost { display: none; }
}

/* ==========================================================================
   BACKGROUND SYSTEM — Architectural Blueprint Ledger & Luminous Aurora
   ========================================================================== */
.bg-ledger {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 25%, #000 35%, transparent 95%);
  pointer-events: none;
}
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: .6;
}
.bg-noise {
  position: absolute;
  inset: 0;
  opacity: .015;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.streak {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.65), transparent);
  opacity: 0;
  border-radius: 2px;
  animation: streak-move 7s ease-in-out infinite;
}
@keyframes streak-move {
  0% { opacity: 0; transform: translateX(-40px); }
  20% { opacity: .7; }
  80% { opacity: .4; }
  100% { opacity: 0; transform: translateX(40px); }
}

.node {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 14px 3px rgba(37, 99, 235, 0.45);
  animation: node-float 6s ease-in-out infinite;
}
@keyframes node-float {
  0%, 100% { transform: translateY(0); opacity: .6; }
  50% { transform: translateY(-16px); opacity: 1; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 64px;
  overflow: hidden;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
}

.hero h1 { margin: 20px 0 24px; }
.hero h1 .accent {
  color: var(--blue);
  font-style: italic;
  font-weight: 600;
  position: relative;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reveal-line { overflow: hidden; }
.reveal-line span { display: inline-block; transform: translateY(110%); opacity: 0; }

/* ---------- Homepage Premium Agency Hero (.hero--agency) ---------- */
.hero--agency {
  min-height: 92vh;
  padding-top: 132px;
  padding-bottom: 84px;
  background:
    radial-gradient(60% 55% at 10% 10%, rgba(37, 99, 235, 0.065) 0%, transparent 70%),
    radial-gradient(50% 50% at 90% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 70%),
    radial-gradient(40% 45% at 75% 85%, rgba(124, 58, 237, 0.05) 0%, transparent 70%),
    #FFFFFF;
}
.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero--agency .bg-ledger {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 85% 70% at 55% 40%, #000 30%, transparent 95%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.45;
}
.hero-orb--blue {
  width: 460px; height: 460px;
  top: -160px; left: -120px;
  background: rgba(37, 99, 235, 0.16);
}
.hero-orb--cyan {
  width: 400px; height: 400px;
  top: 40px; right: -100px;
  background: rgba(6, 182, 212, 0.16);
}
.hero-orb--purple {
  width: 320px; height: 320px;
  bottom: -120px; right: 20%;
  background: rgba(124, 58, 237, 0.1);
}

.hero--agency .hero-grid {
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 1020px) {
  .hero--agency .hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }
}

/* Left Copy Typography & Hierarchy */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.18);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.hero-kicker-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.18);
}

.hero--agency .hero-title {
  margin: 22px 0 22px;
  font-family: 'Space Grotesk', var(--font-display), sans-serif;
  font-size: clamp(2.35rem, 4.3vw, 4.05rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.hero--agency .hero-highlight {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero--agency .hero-desc {
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--graphite);
  max-width: 560px;
}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}
.hero-tagline-rule {
  width: 24px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.hero--agency .hero-actions {
  margin-top: 30px;
  gap: 14px;
}

/* Right-Side Digital Growth Composition */
.hero-showcase {
  position: relative;
  width: 100%;
  max-width: 500px;
  min-height: 410px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
}
.hero-geo-ring {
  position: absolute;
  width: 370px; height: 370px;
  border-radius: 50%;
  border: 1px dashed rgba(37, 99, 235, 0.2);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.045) 0%, rgba(6, 182, 212, 0.025) 55%, transparent 75%);
  pointer-events: none;
}
.hero-geo-lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* Main Website & Brand Identity Card */
.hero-ui-main {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 360px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--gray-border);
  border-radius: 20px;
  padding: 18px 20px 22px;
  box-shadow:
    0 24px 54px -14px rgba(15, 23, 42, 0.12),
    0 4px 14px -2px rgba(37, 99, 235, 0.06);
  backdrop-filter: blur(16px);
}
.hero-ui-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-subtle);
}
.hero-ui-dots {
  display: flex;
  gap: 5px;
}
.hero-ui-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #CBD5E1;
}
.hero-ui-dots span:first-child { background: rgba(37, 99, 235, 0.45); }
.hero-ui-dots span:nth-child(2) { background: rgba(6, 182, 212, 0.55); }
.hero-ui-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-secondary);
  border: 1px solid var(--gray-border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-muted);
}
.hero-ui-status {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}
.hero-ui-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-tint);
  padding: 3px 8px;
  border-radius: 6px;
}

.hero-ui-brand-stage {
  margin: 18px 0 16px;
  padding: 18px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  border: 1px solid rgba(37, 99, 235, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-ui-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Wireframe UI Preview Inside Main Card */
.hero-ui-wireframe {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.hero-ui-wf-bar {
  height: 9px;
  border-radius: 999px;
  background: #E2E8F0;
}
.hero-ui-wf-bar--lg { width: 78%; background: linear-gradient(90deg, var(--navy) 0%, #334155 100%); opacity: 0.85; }
.hero-ui-wf-bar--md { width: 54%; background: #CBD5E1; }
.hero-ui-wf-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}
.hero-ui-wf-btn {
  width: 64px; height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}
.hero-ui-wf-chip {
  width: 42px; height: 18px;
  border-radius: 999px;
  background: var(--gray-subtle);
  border: 1px solid var(--gray-border);
}
.hero-ui-wf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
}
.hero-ui-wf-tile {
  padding: 10px 8px;
  border-radius: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--gray-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tile-dot {
  width: 14px; height: 14px;
  border-radius: 4px;
}
.tile-dot--blue { background: rgba(37, 99, 235, 0.2); border: 1px solid rgba(37, 99, 235, 0.35); }
.tile-dot--cyan { background: rgba(6, 182, 212, 0.2); border: 1px solid rgba(6, 182, 212, 0.35); }
.tile-dot--purple { background: rgba(124, 58, 237, 0.2); border: 1px solid rgba(124, 58, 237, 0.35); }
.tile-line {
  width: 75%; height: 5px;
  border-radius: 4px;
  background: #CBD5E1;
}

/* Floating UI Cards */
.hero-ui-card {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--gray-border);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 18px 38px -10px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
}
.hero-ui-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-ui-card-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
.hero-ui-card-head small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--slate-muted);
  margin-top: 2px;
}
.hero-ui-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-ui-icon--cyan {
  background: rgba(6, 182, 212, 0.12);
  color: #0891B2;
  border: 1px solid rgba(6, 182, 212, 0.28);
}
.hero-ui-icon--purple {
  background: rgba(124, 58, 237, 0.1);
  color: var(--purple);
  border: 1px solid rgba(124, 58, 237, 0.24);
}

/* ---------- Homepage Hero Interactive Cursor Effects (Strictly Scoped) ---------- */
.hero-gradient-mesh {
  position: absolute;
  inset: -10%;
  --hgx: 52%;
  --hgy: 38%;
  background:
    radial-gradient(46% 46% at var(--hgx) var(--hgy), rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.06) 38%, rgba(124, 58, 237, 0.035) 65%, transparent 82%);
  pointer-events: none;
  will-change: background;
}

.hero-spotlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 440px;
  height: 440px;
  margin: -220px 0 0 -220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.14) 0%,
    rgba(6, 182, 212, 0.1) 36%,
    rgba(124, 58, 237, 0.04) 62%,
    transparent 76%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
  will-change: transform, opacity;
  z-index: 1;
}
.hero--agency.is-cursor-active .hero-spotlight {
  opacity: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-p {
  position: absolute;
  display: block;
  pointer-events: none;
  will-change: transform;
}
.hero-p--dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.hero-p--ring {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.8px solid currentColor;
  background: transparent;
}
.hero-p--diamond {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  border: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.hero-p--blue { color: rgba(37, 99, 235, 0.45); }
.hero-p--dot.hero-p--blue { background: rgba(37, 99, 235, 0.36); box-shadow: 0 0 12px rgba(37, 99, 235, 0.25); }
.hero-p--cyan { color: rgba(6, 182, 212, 0.5); }
.hero-p--dot.hero-p--cyan { background: rgba(6, 182, 212, 0.4); box-shadow: 0 0 12px rgba(6, 182, 212, 0.25); }
.hero-p--purple { color: rgba(124, 58, 237, 0.42); }
.hero-p--dot.hero-p--purple { background: rgba(124, 58, 237, 0.32); box-shadow: 0 0 12px rgba(124, 58, 237, 0.22); }

.hero-magnetic-wrap {
  display: inline-flex;
  padding: 10px;
  margin: -10px;
}
.hero-magnetic-wrap .btn {
  will-change: transform;
}

.hero-parallax-layer {
  will-change: transform;
}
.hero-ui-main-layer {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 360px;
}
.hero-float-layer--code {
  position: absolute;
  top: 22px;
  left: 10px;
  z-index: 3;
}
.hero-float-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--gray-border);
  box-shadow: 0 12px 26px -8px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroFloatB 7s ease-in-out infinite;
}
.hero-float-icon--blue {
  color: var(--blue);
  border-color: rgba(37, 99, 235, 0.22);
}

.hero-ui-layer--analytics {
  position: absolute;
  top: 8px;
  right: -8px;
  z-index: 3;
}
.hero-ui-layer--social {
  position: absolute;
  bottom: 18px;
  left: -10px;
  z-index: 3;
}
.hero-ui-layer--badge {
  position: absolute;
  bottom: 8px;
  right: 10px;
  z-index: 4;
}

/* Override inner positioning so wrapper layers handle absolute placement cleanly */
.hero-ui-layer--analytics .hero-ui-analytics,
.hero-ui-layer--social .hero-ui-social,
.hero-ui-layer--badge .hero-ui-badge {
  position: static;
}

@media (hover: none), (pointer: coarse), (max-width: 900px) {
  .hero-spotlight,
  .hero-particles {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-spotlight,
  .hero-particles {
    display: none !important;
  }
}

.hero-ui-analytics {
  top: 8px;
  right: -8px;
  width: 198px;
  animation: heroFloatA 6.5s ease-in-out infinite;
}
.hero-ui-spark {
  width: 100%;
  height: 44px;
  margin-top: 10px;
  display: block;
}

.hero-ui-social {
  bottom: 18px;
  left: -10px;
  width: 210px;
  animation: heroFloatB 7.5s ease-in-out infinite;
}
.hero-ui-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 30px;
  margin-top: 12px;
}
.hero-ui-bars span {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: #E2E8F0;
}
.hero-ui-bars span.active {
  background: linear-gradient(180deg, var(--purple), var(--blue));
}
.hero-ui-bars span.cyan {
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.hero-ui-badge {
  position: absolute;
  bottom: 8px;
  right: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--navy);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 26px -6px rgba(15, 23, 42, 0.35);
}
.hero-ui-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

@keyframes heroFloatA {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}
@keyframes heroFloatB {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(6px); }
}

@media (max-width: 640px) {
  .hero--agency {
    padding-top: 112px;
    padding-bottom: 64px;
    min-height: auto;
  }
  .hero--agency .hero-title {
    font-size: 2.15rem;
  }
  .hero-showcase {
    min-height: auto;
    padding: 12px 0 8px;
    flex-direction: column;
    gap: 14px;
  }
  .hero-geo-ring, .hero-geo-lines {
    display: none;
  }
  .hero-ui-main {
    max-width: 100%;
  }
  .hero-ui-layer--analytics,
  .hero-ui-layer--social,
  .hero-ui-layer--badge {
    position: static;
    width: 100%;
  }
  .hero-float-layer--code {
    display: none;
  }
  .hero-ui-analytics,
  .hero-ui-social,
  .hero-ui-badge {
    position: static;
    width: 100%;
    animation: none;
  }
  .hero-ui-badge {
    width: auto;
    align-self: flex-start;
  }
}

/* ---------- Signature Seal Stamp ---------- */
.seal-wrap {
  position: relative;
  width: 340px; height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.seal {
  width: 100%; height: 100%;
  transform: scale(.4) rotate(-25deg);
  opacity: 0;
  filter: blur(6px);
}
.seal-ring-outer { fill: none; stroke: var(--blue); stroke-width: 1.6; opacity: .85; }
.seal-ring-inner { fill: none; stroke: #94A3B8; stroke-width: .9; opacity: .55; }
.seal-mono {
  font-family: var(--font-display);
  font-weight: 700;
  fill: var(--black) !important;
}
.seal-text {
  font-family: var(--font-mono);
  letter-spacing: .24em;
  fill: var(--graphite);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
}
.seal-glow {
  position: absolute;
  width: 75%; height: 75%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 70%);
  filter: blur(25px);
  pointer-events: none;
}

/* ---------- Stat Strip ---------- */
.stat-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--gray-border);
  padding-top: 44px;
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
}
.stat .num {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 600;
  color: var(--black);
  letter-spacing: -.03em;
}
.stat .num .unit { font-size: .55em; color: var(--blue); margin-left: 2px; font-weight: 700; }
.stat .label {
  font-size: 13px;
  color: var(--slate-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ==========================================================================
   MARQUEE / CLIENT STRIP
   ========================================================================== */
.marquee-wrap {
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  padding: 30px 0;
  overflow: hidden;
  position: relative;
  background: var(--bg-secondary);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 52px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 52px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--charcoal);
  font-weight: 600;
  white-space: nowrap;
  transition: color .3s;
  letter-spacing: -.01em;
}
.marquee-track span::after {
  content: '•';
  color: var(--blue);
  font-size: 14px;
  opacity: 0.6;
}
.marquee-track span:hover { color: var(--blue); }

/* ==========================================================================
   HOMEPAGE SERVICES SECTION (.services-showcase)
   ========================================================================== */
.services-showcase {
  position: relative;
  overflow: hidden;
  background-color: #FFFFFF;
  background-image: radial-gradient(rgba(37, 99, 235, 0.13) 1px, transparent 1px);
  background-size: 26px 26px;
  padding: 112px 0;
  border-top: 1px solid rgba(37, 99, 235, 0.08);
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}
.services-intro {
  max-width: 720px;
  margin: 0 auto 58px;
  text-align: center;
}
.services-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 15px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.16);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.services-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}
.services-intro h2 {
  font-family: 'Space Grotesk', var(--font-display), sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.services-intro .lede {
  margin: 18px auto 0;
  max-width: 600px;
  font-size: 1.08rem;
  color: var(--slate-muted);
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
@media (max-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}
@media (max-width: 640px) {
  .services-showcase {
    padding: 80px 0;
  }
  .services-intro {
    margin-bottom: 42px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 40px 28px 34px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.75);
  box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition:
    transform 0.32s cubic-bezier(.16, .84, .32, 1),
    box-shadow 0.32s cubic-bezier(.16, .84, .32, 1),
    border-color 0.32s ease;
}
/* Full Cyan-to-Royal-Blue Gradient Fill on Hover */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(155deg, #06B6D4 0%, #0EA5E9 35%, #2563EB 82%, #1D4ED8 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}
.service-card > * {
  position: relative;
  z-index: 1;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow:
    0 24px 48px -12px rgba(37, 99, 235, 0.38),
    0 10px 24px -6px rgba(6, 182, 212, 0.24);
}
.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  transition: transform 0.32s cubic-bezier(.16, .84, .32, 1), filter 0.3s ease;
}
.service-icon svg rect,
.service-icon svg path,
.service-icon svg circle,
.service-icon svg line {
  transition: stroke 0.28s ease;
}
.service-card:hover .service-icon {
  transform: scale(1.06);
  filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.14));
}
.service-card:hover .service-icon svg rect,
.service-card:hover .service-icon svg path,
.service-card:hover .service-icon svg circle,
.service-card:hover .service-icon svg line {
  stroke: #FFFFFF;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 12px;
  transition: color 0.28s ease;
}
.service-card:hover h3 {
  color: #FFFFFF;
}
.service-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate-muted);
  flex-grow: 1;
  transition: color 0.28s ease;
}
.service-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}
.service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  align-self: center;
  transition: color 0.28s ease;
}
.service-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(.16, .84, .32, 1);
}
.service-card:hover .service-link {
  color: #FFFFFF;
}
.service-card:hover .service-arrow {
  transform: translateX(6px);
}
.service-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.services-footer-cta {
  margin-top: 48px;
  text-align: center;
}

/* ==========================================================================
   HOMEPAGE PORTFOLIO SHOWCASE (.portfolio-showcase)
   ========================================================================== */
.portfolio-showcase {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F3F7FF 0%, #EEF4FF 100%);
  padding: 104px 0;
  border-bottom: 1px solid rgba(37, 99, 235, 0.09);
}
.portfolio-showcase::before {
  content: '';
  position: absolute;
  top: -110px;
  right: -90px;
  width: 380px;
  height: 380px;
  border-radius: 42px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  transform: rotate(18deg);
  pointer-events: none;
  z-index: 0;
}
.portfolio-showcase::after {
  content: '';
  position: absolute;
  bottom: -90px;
  left: -70px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px dashed rgba(6, 182, 212, 0.22);
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.portfolio-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
}
.portfolio-head-copy {
  max-width: 640px;
}
.portfolio-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 15px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.16);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.portfolio-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}
.portfolio-head-copy h2 {
  font-family: 'Space Grotesk', var(--font-display), sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.portfolio-head-copy .lede {
  margin-top: 14px;
  font-size: 1.06rem;
  color: var(--slate-muted);
  line-height: 1.7;
}
.portfolio-head-cta {
  flex-shrink: 0;
}

.home-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 980px) {
  .home-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}
@media (max-width: 640px) {
  .portfolio-showcase {
    padding: 76px 0;
  }
  .portfolio-head {
    margin-bottom: 36px;
  }
  .home-portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.home-project-card {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--navy);
  border: 1px solid var(--gray-border);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.12);
  transition:
    transform 0.32s cubic-bezier(.16, .84, .32, 1),
    box-shadow 0.32s cubic-bezier(.16, .84, .32, 1),
    border-color 0.32s ease;
}
.home-project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow:
    0 24px 48px -12px rgba(15, 23, 42, 0.22),
    0 10px 24px -6px rgba(37, 99, 235, 0.2);
}

.home-project-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s cubic-bezier(.16, .84, .32, 1);
}
.home-project-card:hover .home-project-media img {
  transform: scale(1.06);
}

.home-project-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 32%, rgba(15, 23, 42, 0.62) 68%, rgba(15, 23, 42, 0.9) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.home-project-blue-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(6, 182, 212, 0.16) 0%,
    rgba(37, 99, 235, 0.46) 44%,
    rgba(15, 23, 42, 0.94) 100%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}
.home-project-card:hover .home-project-blue-overlay {
  opacity: 1;
}

.home-project-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.home-project-cat {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #67E8F9;
  margin-bottom: 12px;
}
.home-project-content h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.25;
}
.home-project-desc {
  margin-top: 8px;
  font-size: 13.8px;
  line-height: 1.55;
  color: rgba(241, 245, 249, 0.9);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(.16, .84, .32, 1),
    max-height 0.3s ease;
}
.home-project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #FFFFFF;
  opacity: 0.9;
  transition: opacity 0.28s ease, color 0.28s ease;
}
.home-project-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(.16, .84, .32, 1);
}
.home-project-card:hover .home-project-desc {
  max-height: 90px;
  opacity: 1;
  transform: translateY(0);
}
.home-project-card:hover .home-project-link {
  opacity: 1;
  color: #67E8F9;
}
.home-project-card:hover .home-project-arrow {
  transform: translateX(6px);
}

@media (hover: none), (pointer: coarse), (max-width: 980px) {
  .home-project-desc {
    max-height: 90px;
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   HOMEPAGE HOW WE WORK SECTION (.process-showcase)
   ========================================================================== */
.process-showcase {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F0FBFD 0%, #E9F8FC 50%, #F0FBFD 100%);
  padding: 112px 0;
  border-bottom: 1px solid rgba(6, 182, 212, 0.14);
}
.process-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220' fill='none'%3E%3Cpath d='M20 40 L110 85 L195 35 M110 85 L150 175 L45 160 Z' stroke='%2306B6D4' stroke-opacity='0.14' stroke-width='1' stroke-dasharray='4 5'/%3E%3Ccircle cx='20' cy='40' r='3' fill='%2306B6D4' fill-opacity='0.22'/%3E%3Ccircle cx='110' cy='85' r='3.5' fill='%232563EB' fill-opacity='0.18'/%3E%3Ccircle cx='195' cy='35' r='2.5' fill='%2306B6D4' fill-opacity='0.22'/%3E%3Ccircle cx='150' cy='175' r='3' fill='%232563EB' fill-opacity='0.16'/%3E%3Ccircle cx='45' cy='160' r='2.5' fill='%2306B6D4' fill-opacity='0.20'/%3E%3C/svg%3E");
  background-size: 260px 260px;
  pointer-events: none;
  z-index: 0;
}
.process-intro {
  max-width: 740px;
  margin: 0 auto 64px;
  text-align: center;
}
.process-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 15px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.16);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.process-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}
.process-intro h2 {
  font-family: 'Space Grotesk', var(--font-display), sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.95rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.process-intro .lede {
  margin: 18px auto 0;
  max-width: 640px;
  font-size: 1.06rem;
  color: var(--slate-muted);
  line-height: 1.72;
}

.process-track-wrap {
  position: relative;
}
/* Horizontal connected timeline rail (Desktop) */
.process-rail {
  position: absolute;
  top: 26px;
  left: 26px;
  right: 26px;
  height: 2px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
  z-index: 0;
}
.process-rail-progress {
  width: 14%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(.16, .84, .32, 1);
}
.process-track-wrap:has([data-step="1"]:hover) .process-rail-progress { width: 16%; }
.process-track-wrap:has([data-step="2"]:hover) .process-rail-progress { width: 42%; }
.process-track-wrap:has([data-step="3"]:hover) .process-rail-progress { width: 69%; }
.process-track-wrap:has([data-step="4"]:hover) .process-rail-progress { width: 100%; }

.process-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.process-step {
  display: flex;
  flex-direction: column;
}
.process-node-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.process-num {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  box-shadow: 0 6px 18px -4px rgba(15, 23, 42, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', var(--font-mono), sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s cubic-bezier(.16, .84, .32, 1);
}
.process-step-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-muted);
  background: #FFFFFF;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--gray-border);
  transition: color 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.process-card {
  flex: 1;
  padding: 28px 24px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid var(--gray-border);
  box-shadow: 0 4px 16px -6px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.3s cubic-bezier(.16, .84, .32, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}
.process-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px;
  transition: color 0.28s ease;
}
.process-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--graphite);
}

/* Interactive Hover State */
.process-step:hover .process-num {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-color: transparent;
  color: #FFFFFF;
  transform: scale(1.06);
  box-shadow:
    0 12px 24px -6px rgba(37, 99, 235, 0.34),
    0 0 0 5px rgba(6, 182, 212, 0.14);
}
.process-step:hover .process-step-tag {
  color: var(--blue);
  border-color: rgba(37, 99, 235, 0.28);
  background: var(--blue-tint);
}
.process-step:hover .process-card {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.32);
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(239, 246, 255, 0.55) 100%);
  box-shadow:
    0 18px 40px -12px rgba(15, 23, 42, 0.09),
    0 6px 20px -6px rgba(37, 99, 235, 0.12);
}
.process-step:hover .process-card h3 {
  color: var(--blue);
}

/* Tablet layout (2 columns) */
@media (max-width: 980px) {
  .process-rail {
    display: none;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Mobile layout (vertical connected timeline) */
@media (max-width: 640px) {
  .process-showcase {
    padding: 80px 0;
  }
  .process-intro {
    margin-bottom: 44px;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-left: 34px;
  }
  .process-grid::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(180deg, var(--blue) 0%, var(--cyan) 50%, #CBD5E1 100%);
    border-radius: 999px;
  }
  .process-step {
    position: relative;
  }
  .process-node-row {
    margin-bottom: 12px;
  }
  .process-num {
    position: relative;
    left: -34px;
    margin-right: -24px;
    width: 42px;
    height: 42px;
    font-size: 1rem;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-rail-progress,
  .process-num,
  .process-card {
    transition: none !important;
  }
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

.card {
  position: relative;
  padding: 34px 30px;
  border-radius: var(--radius);
  background: #FFFFFF;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), border-color .35s, box-shadow .45s var(--ease);
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(37, 99, 235, 0.05), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(37, 99, 235, 0.2);
}
.card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 22px;
}
.card-media {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--gray-border);
  background: var(--gray-subtle);
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.card:hover .card-media img { transform: scale(1.06); }
.card h3 { margin-bottom: 10px; color: var(--black); }
.card p { font-size: 14.5px; color: var(--graphite); line-height: 1.6; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
}
.card-link:hover { text-decoration: underline; }

.idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue);
  letter-spacing: .1em;
  font-weight: 600;
}

/* ==========================================================================
   IMAGE REVEAL / MEDIA
   ========================================================================== */
.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  background: var(--gray-subtle);
  box-shadow: var(--shadow-sm);
}
.media-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.media-frame:hover img { transform: scale(1.04); }
.media-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 15, 25, 0.35));
  pointer-events: none;
}

.reveal-img { position: relative; overflow: hidden; }
.reveal-img .curtain {
  position: absolute; inset: 0;
  background: var(--gray-subtle);
  transform-origin: right;
  z-index: 2;
}

/* ==========================================================================
   TESTIMONIAL / QUOTE
   ========================================================================== */
.quote-block {
  border-left: 3px solid var(--blue);
  padding-left: 28px;
}
.quote-block p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  color: var(--black);
  font-weight: 500;
  line-height: 1.55;
}
.quote-block cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--slate-muted);
  letter-spacing: .06em;
  font-weight: 600;
}

/* ==========================================================================
   FOOTER — Dark Navy Corporate Edition + Google Business Profile Bar
   ========================================================================== */
.footer {
  position: relative;
  padding: 84px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy);
  color: #E2E8F0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 1.1fr 1.2fr;
  gap: 44px;
  padding-bottom: 52px;
}
@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; row-gap: 36px; }
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-brand-badge {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: #FFFFFF;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  flex-shrink: 0;
}
.footer-brand-badge img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.footer-brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}
.footer-brand-text span {
  display: block;
  font-size: 12.5px;
  color: #94A3B8;
  margin-top: 2px;
}
.footer-desc {
  max-width: 300px;
  color: #94A3B8;
  font-size: 14px;
  line-height: 1.65;
}
.footer-col h4,
.footer-col .footer-heading {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: #FFFFFF;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col a, .footer-col p {
  display: block;
  color: #94A3B8;
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.6;
  transition: color .25s;
}
.footer-col a:hover { color: var(--cyan); }

.footer-social-wrap {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-social-wrap h4,
.footer-social-wrap .footer-heading {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
}

.social-row { display: flex; gap: 12px; flex-wrap: wrap; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #E2E8F0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .3s, background .3s, transform .3s, color .3s;
}
.social-row a:hover {
  border-color: var(--cyan);
  background: rgba(6, 182, 212, 0.14);
  color: var(--cyan);
  transform: translateY(-3px);
}
/* Light-surface social row override (e.g., Contact page) */
.contact-social-row a {
  border: 1px solid var(--gray-border);
  background: #FFFFFF;
  color: var(--navy);
}
.contact-social-row a:hover {
  border-color: var(--blue);
  background: var(--blue-tint);
  color: var(--blue);
}
.social-link--unconfigured {
  display: none !important;
}

/* Google Business Profile Section at Footer Bottom */
.footer-google-bar {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-google-heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
}
.footer-google-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: #22D3EE;
  transition: color .25s, transform .25s;
}
.footer-google-link:hover {
  color: #67E8F9;
  transform: translateY(-1px);
}
.footer-google-review {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #94A3B8;
  transition: color .25s;
}
.footer-google-review:hover {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #94A3B8;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a { color: #94A3B8; transition: color .25s; }
.footer-bottom a:hover { color: #FFFFFF; }
@media (max-width: 700px) {
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Contact Page Extras (WhatsApp, Map, Form Feedback) */
.btn-whatsapp {
  background: #16A34A;
  color: #FFFFFF;
  box-shadow: 0 8px 22px -6px rgba(22, 163, 74, 0.35);
}
.btn-whatsapp:hover {
  background: #15803D;
  color: #FFFFFF;
  transform: translateY(-2px);
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.map-frame {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16/10;
  background: var(--gray-subtle);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.form-status {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  display: none;
}
.form-status.error {
  display: block;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
}
.form-status.success {
  display: block;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
}
.field-invalid {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14) !important;
}

/* ==========================================================================
   HIGH-CONTRAST SIGNATURE CTA BAND
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.faq-cat-heading {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--black);
  margin-bottom: 18px;
}

.cta-band {
  position: relative;
  border-radius: 28px;
  padding: 80px 60px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 20%, rgba(6, 182, 212, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 86% 80%, rgba(124, 58, 237, 0.18) 0%, transparent 48%),
    linear-gradient(135deg, #0F172A 0%, #172554 55%, #1E3A8A 100%);
  border: 1px solid rgba(56, 189, 248, 0.26);
  box-shadow: 0 26px 64px -16px rgba(15, 23, 42, 0.34), 0 0 48px -12px rgba(37, 99, 235, 0.28);
  text-align: center;
  color: #FFFFFF;
}
@media (max-width: 700px) { .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.faq-cat-heading {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--black);
  margin-bottom: 18px;
}

.cta-band { padding: 56px 28px; } }
.cta-band h2 { margin-bottom: 18px; color: #FFFFFF; }
.cta-band .lede { margin: 0 auto 34px; color: #CBD5E1; }
.cta-band .bg-ledger {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

/* ==========================================================================
   SCROLL REVEAL UTILITY
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-up.in-view { opacity: 1; transform: translateY(0); }
.reveal-fade { opacity: 0; transition: opacity .9s var(--ease); }
.reveal-fade.in-view { opacity: 1; }
.stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* ---------- Page loader (Bright Edition) ---------- */
@keyframes loaderAutoDismiss {
  0%, 70% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}
.loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .45s var(--ease), visibility .45s;
  animation: loaderAutoDismiss 0.45s cubic-bezier(.16, .84, .32, 1) 0.75s forwards;
}
.loader.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  animation: none !important;
}
.loader svg { width: 84px; height: 84px; }
.loader svg circle { stroke: var(--blue); }
.loader svg text { fill: var(--black) !important; font-weight: 700; }
.loader-logo {
  width: 96px;
  height: auto;
  object-fit: contain;
  animation: loaderPulse 1.2s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.92; }
  50% { transform: scale(1.06); opacity: 1; }
}

/* ---------- Breadcrumbs completely hidden ---------- */
.breadcrumb {
  display: none !important;
}

/* ==========================================================================
   INNER PAGE HERO
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 160px 0 70px;
  overflow: hidden;
}
.page-hero h1 { max-width: 760px; }
.page-hero .lede { margin-top: 18px; }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 820px;
  border-top: 1px solid var(--gray-border);
}
.faq-item {
  border-bottom: 1px solid var(--gray-border);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--black);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
}
.faq-icon {
  font-family: var(--font-mono);
  color: var(--blue);
  font-size: 20px;
  font-weight: 700;
  transition: transform .35s var(--ease);
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease);
}
.faq-item.open .faq-a { max-height: 280px; }
.faq-a p {
  padding-bottom: 24px;
  font-size: 15px;
  color: var(--graphite);
  line-height: 1.7;
  max-width: 680px;
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-grid-3 {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}
.price-card {
  padding: 40px 32px;
  border-radius: var(--radius);
  background: #FFFFFF;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .45s var(--ease), box-shadow .45s, border-color .35s;
}
@media (max-width: 980px) {
  .pricing-grid-3 {
    max-width: 560px;
  }
  .price-card.featured {
    transform: none;
  }
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.3);
}
.price-card.featured {
  border-color: var(--blue);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.04) 0%, #FFFFFF 100%);
  transform: scale(1.02);
  box-shadow: 0 20px 50px -12px rgba(37, 99, 235, 0.2), 0 0 0 1px var(--blue);
  position: relative;
}
.price-card .plan-name {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.price-card .plan-price {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 700;
  margin: 14px 0 4px;
  color: var(--black);
}
.price-card .plan-price span {
  font-size: .45em;
  color: var(--slate-muted);
  font-weight: 500;
}
.price-card .plan-desc {
  font-size: 14px;
  color: var(--slate-muted);
  margin-bottom: 26px;
}
.price-card ul {
  margin: 26px 0;
  flex-grow: 1;
}
.price-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--graphite);
  padding: 10px 0;
  border-top: 1px solid var(--gray-border);
}
.price-card li:first-child { border-top: none; }
.price-card li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--blue);
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray-border);
}
.compare-table th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate-muted);
  font-weight: 600;
  background: var(--bg-secondary);
}
.compare-table td { color: var(--graphite); }
.compare-table tr td:first-child { color: var(--black); font-weight: 600; }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { text-align: center; }
.compare-table svg { color: var(--blue); }

/* ==========================================================================
   PORTFOLIO & BLOG
   ========================================================================== */
.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 40px 0 36px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--gray-border);
  color: var(--graphite);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #FFFFFF;
  box-shadow: 0 4px 16px -2px var(--blue-glow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .portfolio-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .portfolio-grid { grid-template-columns: 1fr; } }
.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(11, 15, 25, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity .4s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay .cat {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #60A5FA;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 600;
}
.portfolio-overlay h3 { font-size: 1.15rem; color: #FFFFFF; }
.portfolio-overlay p { color: #CBD5E1; font-size: 13px; }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 980px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), border-color .35s, box-shadow .4s;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-lg);
}
.blog-card .blog-img { aspect-ratio: 16/10; overflow: hidden; background: var(--gray-subtle); }
.blog-card .blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-card .blog-body { padding: 26px; }
.blog-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-tint);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  font-weight: 600;
}
.blog-card h3 { font-size: 1.15rem; color: var(--black); margin-bottom: 8px; }
.blog-meta {
  display: flex;
  gap: 12px;
  font-size: 12.5px;
  color: var(--slate-muted);
  margin-top: 16px;
  font-family: var(--font-mono);
}

/* ==========================================================================
   FORMS (Contact)
   ========================================================================== */
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 13px;
  color: var(--black);
  margin-bottom: 8px;
  font-family: var(--font-mono);
  letter-spacing: .02em;
  font-weight: 600;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--gray-border);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 14.5px;
  box-shadow: var(--shadow-sm);
  transition: border-color .3s, box-shadow .3s;
}
.form-field input::placeholder, .form-field textarea::placeholder {
  color: #94A3B8;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-border);
}
.info-row:first-child { border-top: 1px solid var(--gray-border); }
.info-row .icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--blue-tint);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.info-row h3 { color: var(--black); font-size: 1.05rem; }
.info-row p { color: var(--graphite); }

/* ==========================================================================
   TIMELINE (Founder / About)
   ========================================================================== */
.timeline {
  position: relative;
  padding-left: 34px;
  border-left: 2px solid var(--gray-border);
}
.timeline-item { position: relative; padding-bottom: 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -42px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--blue);
  box-shadow: 0 0 0 3px var(--blue-tint);
}
.timeline-item h4 {
  margin-bottom: 6px;
  color: var(--black);
}
.timeline-item p { font-size: 14.5px; color: var(--graphite); }

/* ==========================================================================
   LEGAL & 404
   ========================================================================== */
.legal-content h2 { font-size: 1.5rem; margin: 44px 0 16px; color: var(--black); }
.legal-content h3 { font-size: 1.15rem; margin: 28px 0 12px; color: var(--black); }
.legal-content p, .legal-content li { color: var(--graphite); font-size: 15px; line-height: 1.8; margin-bottom: 14px; }
.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-content strong { color: var(--black); }
.legal-content { max-width: 800px; }

/* Custom cursor dot */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  pointer-events: none;
  z-index: 3000;
  transform: translate(-50%, -50%);
  transition: opacity .3s, transform .15s var(--ease);
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) { .cursor-dot { opacity: .75; } }
.cursor-dot.grow { transform: translate(-50%, -50%) scale(3.2); background: rgba(37, 99, 235, 0.4); }

/* Case study before/after & stats */
.result-stat {
  text-align: center;
  padding: 28px 14px;
  border-radius: var(--radius);
  background: #FFFFFF;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
}
.result-stat .num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  color: var(--blue);
  font-weight: 700;
}
.result-stat .label {
  font-size: 13px;
  color: var(--slate-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ==========================================================================
   GLOBAL SECTION SURFACE & DIGITAL DECORATIVE MOTIF SYSTEM
   ========================================================================== */
.hero[class*="sec-"],
.section[class*="sec-"] {
  position: relative;
  overflow: hidden;
}

.section[class*="sec-"] {
  border-top: 1px solid rgba(37, 99, 235, 0.07);
}

/* Surface Variations (Nommer Brand Palette) */
.sec-white {
  background: #FFFFFF;
}

.sec-blue {
  background: linear-gradient(180deg, #F3F7FF 0%, #EDF3FF 100%);
}

.sec-cyan {
  background: linear-gradient(180deg, #F0FBFD 0%, #E7F7FA 100%);
}

.sec-lavender {
  background: linear-gradient(180deg, #F7F5FF 0%, #F1ECFF 100%);
}

.sec-gradient {
  background: linear-gradient(180deg, #F3F7FF 0%, #FFFFFF 60%, #F8FAFC 100%);
}

.sec-cta {
  background: linear-gradient(180deg, #F3F7FF 0%, #EBF2FF 55%, #FFFFFF 100%);
}

.sec-navy {
  background: linear-gradient(180deg, #0F172A 0%, #16223D 100%);
  color: #E2E8F0;
}
.sec-navy h2,
.sec-navy h3,
.sec-navy h4 {
  color: #FFFFFF;
}
.sec-navy p,
.sec-navy .lede {
  color: #CBD5E1;
}

/* Keep cards crisp inside tinted surfaces */
.sec-blue .card,
.sec-cyan .card,
.sec-lavender .card,
.sec-blue .glass,
.sec-cyan .glass,
.sec-lavender .glass,
.sec-blue .result-stat,
.sec-cyan .result-stat,
.sec-lavender .result-stat,
.sec-blue .price-card,
.sec-cyan .table-scroll {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(37, 99, 235, 0.12);
}

/* ---------- Digital Motif Overlays (pointer-events: none; z-index: 0) ---------- */
[class*="motif-"]::before,
[class*="motif-"]::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* 1. Dot Matrix Grid (Services / FAQ / Process Lists) */
.motif-dots::before {
  inset: 0;
  background-image: radial-gradient(rgba(37, 99, 235, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 35%, transparent 96%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 35%, transparent 96%);
}
.motif-dots::after {
  width: 380px;
  height: 380px;
  top: -120px;
  right: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.10) 0%, transparent 70%);
}

/* 2. Floating Geometric Shapes (Portfolio / Case Highlights) */
.motif-geo::before {
  width: 340px;
  height: 340px;
  top: -90px;
  right: -80px;
  border-radius: 36px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 72%);
  transform: rotate(16deg);
  animation: motifFloatA 16s ease-in-out infinite;
}
.motif-geo::after {
  width: 260px;
  height: 260px;
  bottom: -80px;
  left: -60px;
  border-radius: 50%;
  border: 1px dashed rgba(6, 182, 212, 0.24);
  background: radial-gradient(circle, rgba(6, 182, 212, 0.09) 0%, transparent 72%);
  animation: motifFloatB 18s ease-in-out infinite;
}

/* 3. Connected Network Nodes & Lines (How We Work / About Connectivity) */
.motif-network::before {
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240' fill='none'%3E%3Cpath d='M24 44 L118 92 L208 38 M118 92 L162 188 L52 172 Z' stroke='%2306B6D4' stroke-opacity='0.14' stroke-width='1' stroke-dasharray='4 5'/%3E%3Ccircle cx='24' cy='44' r='3' fill='%2306B6D4' fill-opacity='0.24'/%3E%3Ccircle cx='118' cy='92' r='3.5' fill='%232563EB' fill-opacity='0.20'/%3E%3Ccircle cx='208' cy='38' r='2.5' fill='%2306B6D4' fill-opacity='0.22'/%3E%3Ccircle cx='162' cy='188' r='3' fill='%232563EB' fill-opacity='0.18'/%3E%3Ccircle cx='52' cy='172' r='2.5' fill='%2306B6D4' fill-opacity='0.22'/%3E%3C/svg%3E");
  background-size: 260px 260px;
}
.motif-network::after {
  width: 420px;
  height: 420px;
  bottom: -180px;
  right: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.10) 0%, transparent 70%);
}

/* 4. Abstract Analytics Chart & Metric Curve (Results / Metrics / Compare) */
.motif-chart::before {
  right: 0;
  bottom: 0;
  width: min(680px, 100%);
  height: 220px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='680' height='220' viewBox='0 0 680 220' fill='none'%3E%3Cpath d='M0 190 C110 182 170 132 275 138 C375 144 435 84 530 74 C595 67 640 34 680 18' stroke='%232563EB' stroke-opacity='0.14' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M0 205 C140 196 220 158 320 162 C430 166 515 114 680 56' stroke='%2306B6D4' stroke-opacity='0.14' stroke-width='1.5' stroke-dasharray='5 5'/%3E%3Ccircle cx='275' cy='138' r='4' fill='%232563EB' fill-opacity='0.24'/%3E%3Ccircle cx='530' cy='74' r='4.5' fill='%2306B6D4' fill-opacity='0.28'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
}
.motif-chart::after {
  width: 320px;
  height: 320px;
  top: -120px;
  left: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 72%);
}

/* 5. Founder Spotlight Halo & Soft Radial (Founder Page Hero) */
.motif-founder::before {
  width: 560px;
  height: 560px;
  top: 50%;
  right: 4%;
  transform: translateY(-48%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.16) 0%,
    rgba(37, 99, 235, 0.11) 42%,
    rgba(6, 182, 212, 0.06) 65%,
    transparent 76%
  );
  animation: motifHaloPulse 14s ease-in-out infinite;
}
.motif-founder::after {
  width: 440px;
  height: 440px;
  top: 50%;
  right: calc(4% + 60px);
  transform: translateY(-48%);
  border-radius: 50%;
  border: 1px dashed rgba(124, 58, 237, 0.22);
}

/* 6. Minimal Decorative Quotation Marks (Testimonials & Quote Blocks) */
.motif-quote::before {
  top: 28px;
  left: max(24px, 4vw);
  width: 120px;
  height: 92px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='92' viewBox='0 0 120 92' fill='none'%3E%3Cpath d='M16 58C16 32 30 14 52 6L57 17C42 23 35 34 34 46H50V86H16V58ZM68 58C68 32 82 14 104 6L109 17C94 23 87 34 86 46H102V86H68V58Z' fill='%232563EB' fill-opacity='0.09'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.motif-quote::after {
  width: 240px;
  height: 240px;
  bottom: -90px;
  right: -60px;
  border-radius: 50%;
  border: 1px solid rgba(6, 182, 212, 0.18);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
}

/* 7. Minimal Website Wireframe & Pixel Corners (Hero / Web Service Pages) */
.motif-wireframe::before {
  top: 48px;
  right: 4%;
  width: 300px;
  height: 210px;
  border-radius: 18px;
  border: 1px solid rgba(37, 99, 235, 0.13);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.06) 0 26px, transparent 26px),
    radial-gradient(circle at 18px 13px, rgba(37, 99, 235, 0.28) 3px, transparent 3.5px),
    radial-gradient(circle at 30px 13px, rgba(6, 182, 212, 0.28) 3px, transparent 3.5px),
    radial-gradient(circle at 42px 13px, rgba(124, 58, 237, 0.24) 3px, transparent 3.5px);
  animation: motifFloatA 16s ease-in-out infinite;
}
.motif-wireframe::after {
  bottom: 24px;
  left: 3%;
  width: 140px;
  height: 140px;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.14) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(135deg, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(135deg, #000 0%, transparent 78%);
}

@keyframes motifFloatA {
  0%, 100% { transform: rotate(16deg) translate3d(0, 0, 0); }
  50% { transform: rotate(18deg) translate3d(-8px, -10px, 0); }
}

@keyframes motifFloatB {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(8px, -8px, 0); }
}

@keyframes motifHaloPulse {
  0%, 100% { transform: translateY(-48%) scale(1); opacity: 0.9; }
  50% { transform: translateY(-48%) scale(1.06); opacity: 1; }
}

@media (max-width: 900px) {
  .motif-wireframe::before,
  .motif-founder::after {
    opacity: 0.55;
  }
  .motif-founder::before {
    right: 50%;
    transform: translate(50%, -45%);
  }
}

@media (max-width: 640px) {
  .motif-wireframe::before {
    width: 210px;
    height: 150px;
    top: 84px;
    right: -30px;
  }
  .motif-quote::before {
    width: 78px;
    height: 60px;
    top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motif-geo::before,
  .motif-geo::after,
  .motif-founder::before,
  .motif-wireframe::before {
    animation: none !important;
  }
}
