/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Base palette */
  --ink:       #0A0D12;
  --surface:   #0F1318;
  --surface-2: #141820;
  --surface-3: #1A1F2B;
  --border:    #1E2430;

  /* Teal — primary accent (CTAs, DevOps, Security) */
  --teal:        #00C9B1;
  --teal-rgb:    0, 201, 177;
  --teal-dim:    rgba(0, 201, 177, 0.09);
  --teal-glow:   rgba(0, 201, 177, 0.22);
  --teal-border: rgba(0, 201, 177, 0.28);

  /* Amber — healthcare section only */
  --amber:        #E8A87C;
  --amber-rgb:    232, 168, 124;
  --amber-dim:    rgba(232, 168, 124, 0.09);
  --amber-border: rgba(232, 168, 124, 0.28);

  /* Blue — IT services */
  --blue:     #4A9EFF;
  --blue-rgb: 74, 158, 255;
  --blue-dim: rgba(74, 158, 255, 0.10);
  --blue-border: rgba(74, 158, 255, 0.28);

  /* Violet — web development */
  --violet:        #9B8AFA;
  --violet-rgb:    155, 138, 250;
  --violet-dim:    rgba(155, 138, 250, 0.09);
  --violet-border: rgba(155, 138, 250, 0.28);
  --violet-glow:   rgba(155, 138, 250, 0.20);

  /* Text */
  --text:           #E8EDF5;
  --text-secondary: #8A94A8;
  --text-tertiary:  #4A5568;

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Fluid type */
  --text-xs:   clamp(0.65rem,  0.6rem  + 0.25vw, 0.75rem);
  --text-sm:   clamp(0.8125rem,0.775rem + 0.2vw,  0.875rem);
  --text-base: clamp(0.9375rem,0.9rem  + 0.2vw,  1rem);
  --text-lg:   clamp(1.0625rem,1rem    + 0.3vw,  1.125rem);
  --text-xl:   clamp(1.125rem, 1rem    + 0.625vw,1.375rem);
  --text-2xl:  clamp(1.375rem, 1.25rem + 0.625vw,1.75rem);
  --text-3xl:  clamp(1.75rem,  1.5rem  + 1.25vw, 2.5rem);
  --text-4xl:  clamp(2.25rem,  1.75rem + 2.5vw,  3.75rem);
  --text-5xl:  clamp(3rem,     2rem    + 4vw,    5.5rem);

  /* Spacing */
  --s-1:  0.25rem; --s-2:  0.5rem;  --s-3:  0.75rem; --s-4:  1rem;
  --s-5:  1.25rem; --s-6:  1.5rem;  --s-8:  2rem;    --s-10: 2.5rem;
  --s-12: 3rem;    --s-16: 4rem;    --s-20: 5rem;    --s-24: 6rem;
  --s-32: 8rem;

  /* Layout */
  --max-w: 1280px;
  --nav-h: 72px;

  /* Radius */
  --r-sm: 6px;   --r-md: 10px;
  --r-lg: 16px;  --r-xl: 22px;

  /* Transitions */
  --t:      0.2s  cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}


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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}


/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section {
  padding-block: clamp(var(--s-16), 8vw, var(--s-32));
}

.anchor-target {
  position: relative;
  top: calc(-1 * var(--nav-h));
}


/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--s-4);
}
.eyebrow--health  { color: var(--amber); }
.eyebrow--violet  { color: var(--violet); }

.mono {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.625rem 1.375rem;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  transition: all var(--t);
  white-space: nowrap;
}
.btn .lucide { width: 16px; height: 16px; flex-shrink: 0; }

.btn--primary {
  background: var(--teal);
  color: var(--ink);
  border-color: var(--teal);
}
.btn--primary:hover {
  background: transparent;
  color: var(--teal);
  box-shadow: 0 0 24px var(--teal-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn--lg { padding: 0.8125rem 1.75rem; font-size: var(--text-base); }
.btn--full { width: 100%; justify-content: center; }


/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 13, 18, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t);
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 40px rgba(0,0,0,0.5);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}

.header__brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-shrink: 0;
}

.header__monogram {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  background: var(--teal);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  transition: box-shadow var(--t);
}
.header__brand:hover .header__monogram {
  box-shadow: 0 0 16px var(--teal-glow);
}

.header__logo {
  height: 64px;
  width: auto;
  display: block;
  transition: filter var(--t);
}
.header__brand:hover .header__logo {
  filter: drop-shadow(0 0 8px rgba(0, 201, 177, 0.45));
}

.header__wordmark {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.header__name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
}
.header__tagline {
  font-family: var(--font-mono);
  font-size: 0.585rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  line-height: 1;
}

.nav { margin-left: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav__link {
  display: block;
  padding: var(--s-2) var(--s-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--r-sm);
  transition: color var(--t), background var(--t);
}
.nav__link:hover {
  color: var(--text);
  background: var(--surface-3);
}
.nav__link.is-active { color: var(--teal); }

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-left: var(--s-4);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  transition: background var(--t), border-color var(--t);
}
.nav-toggle:hover { background: var(--surface-3); border-color: var(--teal); }

.nav-toggle__bars {
  position: relative;
  width: 18px;
  height: 14px;
  display: grid;
  align-content: space-between;
}
.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform var(--t), opacity var(--t);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

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

.hero__mesh {
  position: absolute;
  inset: 0;
  animation: meshDrift 14s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0%   { background: radial-gradient(ellipse 80% 60% at 18% 42%, rgba(0,201,177,.15) 0%, transparent 58%), radial-gradient(ellipse 55% 75% at 82% 18%, rgba(74,158,255,.10) 0%, transparent 55%), var(--ink); }
  33%  { background: radial-gradient(ellipse 80% 60% at 28% 55%, rgba(0,201,177,.17) 0%, transparent 58%), radial-gradient(ellipse 55% 75% at 72% 12%, rgba(74,158,255,.11) 0%, transparent 55%), var(--ink); }
  66%  { background: radial-gradient(ellipse 80% 60% at 14% 32%, rgba(0,201,177,.13) 0%, transparent 58%), radial-gradient(ellipse 55% 75% at 88% 25%, rgba(74,158,255,.09) 0%, transparent 55%), var(--ink); }
  100% { background: radial-gradient(ellipse 80% 60% at 22% 48%, rgba(0,201,177,.16) 0%, transparent 58%), radial-gradient(ellipse 55% 75% at 78%  8%, rgba(74,158,255,.12) 0%, transparent 55%), var(--ink); }
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black, transparent);
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(var(--s-12), 6vw, var(--s-20));
  align-items: center;
  padding-block: clamp(var(--s-16), 10vw, var(--s-32));
}

.hero__copy {
  max-width: 660px;
  min-width: 0;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: var(--s-6);
}
.hero__headline em {
  font-style: normal;
  color: var(--teal);
}

.hero__sub {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: var(--s-10);
}

.hero__ctas {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
}

/* Hero terminal */
.hero__visual {
  animation: termFloat 7s ease-in-out infinite;
}
@keyframes termFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

.hero-terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(0,0,0,0.7),
    0 0 0 1px var(--border),
    inset 0 1px 0 rgba(255,255,255,0.04);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.hero-terminal__bar {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  background: var(--surface-3);
  padding: 10px var(--s-4);
  border-bottom: 1px solid var(--border);
}
.hero-terminal__dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.hero-terminal__dot:nth-child(1) { background: #ff5f56; }
.hero-terminal__dot:nth-child(2) { background: #ffbd2e; }
.hero-terminal__dot:nth-child(3) { background: #27c93f; }
.hero-terminal__title {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  margin-left: auto;
  letter-spacing: 0.06em;
}

.hero-terminal__body {
  padding: var(--s-5) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  line-height: 1.5;
}

.t-prompt { color: var(--teal); }
.t-cmd    { color: var(--text-secondary); }
.t-line   { color: var(--text-tertiary); }
.t-ok     { color: #27c93f; }
.t-running {
  color: var(--amber);
}
.t-cursor {
  display: inline-block;
  animation: cursorBlink 1.1s step-end infinite;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--s-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  color: var(--text-tertiary);
  z-index: 1;
  animation: scrollBob 2.8s ease-in-out infinite;
}
.hero__scroll-hint .lucide { width: 16px; height: 16px; }
@keyframes scrollBob {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 1;   transform: translateX(-50%) translateY(7px); }
}


/* ============================================================
   PROOF STRIP
   ============================================================ */
.proof {
  background: var(--surface);
  border-block: 1px solid var(--border);
  padding-block: var(--s-12);
}

.proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-8);
}

.proof__item {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  padding-right: var(--s-6);
  border-right: 1px solid var(--border);
}
.proof__item:last-child { border-right: none; padding-right: 0; }
.proof__item:nth-child(4) { border-right: none; padding-right: 0; }

.proof__icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  margin-top: 3px;
}
.proof__icon--health   { color: var(--amber); }
.proof__icon--ci       { color: var(--teal); }
.proof__icon--cloud    { color: var(--blue); }
.proof__icon--security { color: var(--teal); }
.proof__icon--web      { color: var(--violet); }

.proof__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.proof__label {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.proof__stat {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
}
.proof__stat--teal   { color: var(--teal); }
.proof__stat--amber  { color: var(--amber); }
.proof__stat--violet { color: var(--violet); }
.proof__stat--blue   { color: var(--blue); }
.proof__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: var(--s-1);
}


/* ============================================================
   INTRO
   ============================================================ */
.intro {
  padding-block: clamp(var(--s-16), 8vw, var(--s-32));
}
.intro__inner { max-width: 800px; }

.intro__label {
  display: block;
  margin-bottom: var(--s-4);
}

.intro__heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: var(--s-6);
}

.intro__body {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ============================================================
   SECTION HEADER (shared)
   ============================================================ */
.section__header {
  max-width: 720px;
  margin-bottom: clamp(var(--s-10), 4vw, var(--s-16));
}

.section__heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: var(--s-4);
}

.section__sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.65;
}


/* ============================================================
   SEO LANDING PAGES
   ============================================================ */
.breadcrumb {
  margin-bottom: var(--s-8);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  align-items: center;
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}
.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: var(--s-2);
  color: var(--text-tertiary);
}
.breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--t);
}
.breadcrumb a:hover { color: var(--teal); }

.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + var(--s-20));
  padding-bottom: clamp(var(--s-16), 8vw, var(--s-24));
  background:
    radial-gradient(ellipse 70% 65% at 20% 30%, rgba(var(--teal-rgb), .13), transparent 58%),
    radial-gradient(ellipse 45% 60% at 88% 12%, rgba(var(--blue-rgb), .10), transparent 55%),
    var(--ink);
  border-bottom: 1px solid var(--border);
}
.page-hero .container {
  max-width: 980px;
}
.page-hero h1 {
  max-width: 820px;
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: var(--s-6);
}
.page-hero p {
  max-width: 720px;
  font-size: var(--text-xl);
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: var(--s-8);
}

.page-section {
  padding-block: clamp(var(--s-16), 8vw, var(--s-24));
  background: var(--ink);
}
.page-section--surface {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6);
}

.seo-card,
.faq-item,
.authority-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-8);
}
.page-section--surface .seo-card,
.page-section--surface .faq-item,
.page-section--surface .authority-card {
  background: var(--surface-2);
}
.seo-card h2,
.authority-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.2;
  color: var(--text);
  margin-block: var(--s-3) var(--s-5);
}
.seo-card p,
.authority-card p {
  color: var(--text-secondary);
  line-height: 1.65;
}

.check-list {
  display: grid;
  gap: var(--s-3);
  color: var(--text-secondary);
}
.check-list li {
  position: relative;
  padding-left: var(--s-6);
  line-height: 1.55;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 14px var(--teal-glow);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5);
}
.faq-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.25;
  color: var(--text);
  margin-bottom: var(--s-3);
}
.faq-item p {
  color: var(--text-secondary);
  line-height: 1.65;
}

.page-cta {
  padding-block: var(--s-16);
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.page-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-8);
  align-items: center;
}
.page-cta h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--text);
  line-height: 1.15;
  margin-bottom: var(--s-3);
}
.page-cta p {
  max-width: 720px;
  color: var(--text-secondary);
}

.service-link-grid,
.authority-grid,
.case-study-grid,
.testimonial-grid,
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-5);
}
.service-link-card {
  display: block;
  min-height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.service-link-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.service-link-card span {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--teal);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.service-link-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: var(--s-3);
}
.service-link-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
  counter-reset: topic;
}
.topic-list li {
  counter-increment: topic;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-4);
  color: var(--text-secondary);
}
.topic-list li::before {
  content: counter(topic, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--teal);
  margin-bottom: var(--s-2);
}


/* ============================================================
   HEALTHCARE
   ============================================================ */
.section--healthcare {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.section--healthcare::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(232,168,124,.055) 0%, transparent 65%);
  pointer-events: none;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: var(--s-5);
  margin-bottom: var(--s-12);
}

.cap-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), transform var(--t-slow), box-shadow var(--t-slow);
  transition-delay: calc(var(--delay, 0) * 60ms);
}
.cap-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,168,124,.06) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--t);
  border-radius: inherit;
}
.cap-card:hover {
  border-color: var(--amber-border);
  transform: translateY(-3px);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.45),
    0 0 0 1px var(--amber-border),
    inset 0 1px 0 rgba(232,168,124,.10);
}
.cap-card:hover::after { opacity: 1; }

.cap-card__icon {
  width: 22px; height: 22px;
  color: var(--amber);
  margin-bottom: var(--s-4);
  position: relative;
  z-index: 1;
}
.cap-card__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--s-2);
  position: relative;
  z-index: 1;
}
.cap-card__body {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Compliance band */
.compliance-band {
  background: var(--surface-3);
  border: 1px solid var(--amber-border);
  border-radius: var(--r-lg);
  padding: var(--s-6) var(--s-8);
  position: relative;
  overflow: hidden;
}
.compliance-band::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--amber);
  border-radius: var(--r-sm) 0 0 var(--r-sm);
}

.compliance-band__inner {
  display: flex;
  align-items: flex-start;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.compliance-band__icon {
  width: 22px; height: 22px;
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 3px;
}
.compliance-band__content {
  flex: 1;
  min-width: 240px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}
.compliance-band__content strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: var(--s-1);
}
.compliance-band__tags {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  align-items: center;
  align-self: center;
}

.tag {
  display: inline-block;
  padding: 0.2em 0.65em;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid var(--amber-border);
  border-radius: var(--r-sm);
  letter-spacing: 0.06em;
}


/* ============================================================
   DEVOPS
   ============================================================ */
.section--devops { background: var(--ink); }
.section--services,
.section--authority,
.section--insights { background: var(--ink); }
.section--local,
.section--faq {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.authority-spacer {
  margin-top: var(--s-6);
}

.service-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.service-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), transform var(--t-slow), box-shadow var(--t-slow);
}
.service-panel::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--teal-rgb),.4), transparent);
  opacity: 0;
  transition: opacity var(--t);
}
.service-panel:hover {
  border-color: var(--teal-border);
  transform: translateY(-4px);
  box-shadow:
    0 16px 48px rgba(0,0,0,0.5),
    0 0 0 1px var(--teal-border),
    inset 0 1px 0 rgba(var(--teal-rgb),.08);
}
.service-panel:hover::after { opacity: 1; }

.service-panel__header {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.service-panel__icon {
  width: 26px; height: 26px;
  color: var(--teal);
  flex-shrink: 0;
}
.service-panel__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.service-panel__body {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--s-6);
}

.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.tool-badge {
  display: inline-block;
  padding: 0.25em 0.7em;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--teal);
  background: var(--teal-dim);
  border: 1px solid var(--teal-border);
  border-radius: var(--r-sm);
  letter-spacing: 0.04em;
}


/* Panel deliverable bullets (DevOps panels) */
.panel-bullets {
  list-style: none;
  margin-bottom: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.panel-bullets li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}
.panel-bullets li::before {
  content: '→';
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   SECURITY
   ============================================================ */
.section--security {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.section--security::after {
  content: '';
  position: absolute;
  bottom: -160px; left: -160px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(var(--teal-rgb),.05) 0%, transparent 65%);
  pointer-events: none;
}

/* Shift-left callout */
.shift-left-callout {
  background: var(--surface-2);
  border: 1px solid var(--teal-border);
  border-radius: var(--r-lg);
  padding: var(--s-5) var(--s-6);
  margin-bottom: var(--s-10);
  position: relative;
  overflow: hidden;
}
.shift-left-callout::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--teal);
  border-radius: var(--r-sm) 0 0 var(--r-sm);
}
.shift-left-callout__inner {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}
.shift-left-callout__inner strong {
  color: var(--text);
  font-weight: 600;
}
.shift-left-callout__icon {
  width: 20px; height: 20px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.tools-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-12);
}
.tool-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4em 0.95em;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: color var(--t), border-color var(--t), background var(--t), box-shadow var(--t);
  cursor: default;
}
.tool-chip--accent {
  color: var(--teal);
  border-color: var(--teal-border);
  background: var(--teal-dim);
}
.tool-chip:hover {
  color: var(--teal);
  border-color: var(--teal-border);
  background: var(--teal-dim);
  box-shadow: 0 0 12px rgba(var(--teal-rgb),.15);
}

.sec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--s-4);
}

.sec-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-5);
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  transition: border-color var(--t), background var(--t);
}
.sec-item:hover {
  border-color: var(--teal-border);
  background: var(--surface-3);
}
.sec-item__icon {
  width: 20px; height: 20px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}
.sec-item__title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: var(--s-1);
}
.sec-item__body {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.55;
}


/* ============================================================
   WEB DEVELOPMENT
   ============================================================ */
.section--webdev {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.section--webdev::before {
  content: '';
  position: absolute;
  top: -160px; left: -160px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(var(--violet-rgb),.055) 0%, transparent 65%);
  pointer-events: none;
}

.webdev-intro {
  margin-bottom: clamp(var(--s-10), 4vw, var(--s-16));
}
.webdev-intro__copy { max-width: 720px; }

.webdev-tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-6);
}
.tech-badge {
  display: inline-block;
  padding: 0.28em 0.75em;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  letter-spacing: 0.04em;
  transition: color var(--t), border-color var(--t), background var(--t);
}
.tech-badge--accent {
  color: var(--violet);
  background: var(--violet-dim);
  border-color: var(--violet-border);
}

.webdev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-5);
}

.webdev-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), transform var(--t-slow), box-shadow var(--t-slow);
  transition-delay: calc(var(--delay, 0) * 60ms);
}
.webdev-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--violet-rgb),.06) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--t);
  border-radius: inherit;
}
.webdev-card:hover {
  border-color: var(--violet-border);
  transform: translateY(-3px);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.45),
    0 0 0 1px var(--violet-border),
    inset 0 1px 0 rgba(var(--violet-rgb),.10);
}
.webdev-card:hover::after { opacity: 1; }

.webdev-card__icon {
  width: 22px; height: 22px;
  color: var(--violet);
  margin-bottom: var(--s-4);
  position: relative; z-index: 1;
}
.webdev-card__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--s-2);
  position: relative; z-index: 1;
}
.webdev-card__body {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative; z-index: 1;
}

/* ============================================================
   GENERAL IT SERVICES
   ============================================================ */
.section--it { background: var(--ink); }

.it-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}

.it-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  transition: border-color var(--t), transform var(--t-slow), box-shadow var(--t-slow);
}
.it-card:hover {
  border-color: var(--blue-border);
  transform: translateY(-3px);
  box-shadow:
    0 10px 36px rgba(0,0,0,0.45),
    0 0 0 1px var(--blue-border),
    inset 0 1px 0 rgba(var(--blue-rgb),.08);
}
.it-card__icon {
  width: 26px; height: 26px;
  color: var(--blue);
  margin-bottom: var(--s-5);
}
.it-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--s-3);
}
.it-card__body {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}


/* ============================================================
   PROCESS
   ============================================================ */
.section--process { background: var(--surface); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  counter-reset: step;
}

.process-step {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.process-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--teal-rgb),.3), transparent);
  opacity: 0;
  transition: opacity var(--t);
}
.process-step:hover {
  border-color: var(--teal-border);
  box-shadow: 0 6px 28px rgba(0,0,0,0.35);
}
.process-step:hover::before { opacity: 1; }

.process-step__num {
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--teal);
  display: block;
  margin-bottom: var(--s-5);
}
.process-step__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: var(--s-3);
}
.process-step__body {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}


/* ============================================================
   CONTACT
   ============================================================ */
.section--contact {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.section--contact::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(var(--teal-rgb),.065) 0%, transparent 65%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(var(--s-12), 6vw, var(--s-20));
  align-items: start;
}

.contact-info { padding-top: var(--s-4); }
.contact-info__body {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--s-8);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--teal);
  padding: var(--s-3) var(--s-4);
  background: var(--teal-dim);
  border: 1px solid var(--teal-border);
  border-radius: var(--r-md);
  transition: background var(--t), box-shadow var(--t);
}
.contact-email:hover {
  background: rgba(var(--teal-rgb), .16);
  box-shadow: 0 0 22px var(--teal-glow);
}
.contact-email .lucide { width: 16px; height: 16px; }

/* Form */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(var(--s-8), 4vw, var(--s-12));
}

.form-field { margin-bottom: var(--s-5); }

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--s-2);
}
.form-required { color: var(--teal); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.65rem var(--s-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text);
  transition: border-color var(--t), box-shadow var(--t);
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-tertiary); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(var(--teal-rgb), .14);
}

.select-wrap { position: relative; }
.select-icon {
  position: absolute;
  right: var(--s-4);
  top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--text-tertiary);
  pointer-events: none;
}
.form-select { padding-right: 2.5rem; }
.form-select option { background: var(--surface-2); color: var(--text); }

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

.form-status {
  font-size: var(--text-sm);
  color: var(--teal);
  min-height: 1.4em;
  margin-bottom: var(--s-4);
}
.form-status--error { color: #ff6a6a; }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-block: var(--s-8);
}

.footer__inner {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.footer__name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
}
.footer__logo {
  height: 48px;
  width: auto;
  display: block;
  opacity: 0.85;
  transition: opacity var(--t);
}
.footer__brand:hover .footer__logo {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(0, 201, 177, 0.45));
}

.footer__legal {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-left: auto;
}

.footer__top {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--t);
}
.footer__top:hover { color: var(--teal); }
.footer__top .lucide { width: 14px; height: 14px; }


/* ============================================================
   SCROLL REVEAL
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity  0.6s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .reveal.is-visible    { opacity: 1; transform: none; }
  .reveal--delay-1      { transition-delay: 0.10s; }
  .reveal--delay-2      { transition-delay: 0.20s; }
  .reveal--delay-3      { transition-delay: 0.30s; }
}


/* ============================================================
   RESPONSIVE — 1100px
   ============================================================ */
@media (max-width: 1100px) {
  .hero__layout   { grid-template-columns: minmax(0, 1fr); }
  .hero__visual   { display: none; }
  .service-panels { grid-template-columns: 1fr; }
  .it-cards       { grid-template-columns: repeat(2, 1fr); }
  .process-steps  { grid-template-columns: repeat(2, 1fr); }
  .proof__grid    { grid-template-columns: repeat(2, 1fr); }
  .proof__item    { border-right: none; padding-right: 0; border-bottom: 1px solid var(--border); padding-bottom: var(--s-6); }
  .proof__item:last-child,
  .proof__item:nth-child(3) { border-bottom: none; }
  .webdev-grid    { grid-template-columns: repeat(2, 1fr); }
  .service-link-grid,
  .authority-grid,
  .case-study-grid,
  .testimonial-grid,
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   RESPONSIVE — 900px
   ============================================================ */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .page-grid,
  .faq-list,
  .page-cta__inner,
  .topic-list { grid-template-columns: 1fr; }
  .page-cta__inner { align-items: start; }
}

/* Prevent body scroll when mobile nav is open (iOS-safe: apply to html not body) */
html.nav-open { overflow: hidden; }

/* ============================================================
   RESPONSIVE — 768px (mobile nav)
   ============================================================ */
@media (max-width: 768px) {
  .header__tagline  { display: none; }

  /* Mobile nav drawer */
  .nav {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100dvh - var(--nav-h));
    min-height: calc(100vh - var(--nav-h));
    margin-left: 0;
    background: var(--ink);
    border-top: 1px solid var(--border);
    padding: var(--s-6);
    transform: translateX(100%);
    transition: transform var(--t-slow);
    z-index: 99;
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }

  .nav__list { flex-direction: column; align-items: stretch; gap: var(--s-1); }
  .nav__link  { font-size: var(--text-xl); padding: var(--s-4); }

  .nav-toggle { display: flex; }

  .header__actions .btn--primary { display: none; }

  .capabilities-grid { grid-template-columns: 1fr; }
  .sec-grid           { grid-template-columns: 1fr; }
  .service-panels     { grid-template-columns: 1fr; }
  .it-cards           { grid-template-columns: 1fr; }
  .process-steps      { grid-template-columns: 1fr; }
  .webdev-grid        { grid-template-columns: 1fr; }
  .service-link-grid,
  .authority-grid,
  .case-study-grid,
  .testimonial-grid,
  .cert-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .hero {
    align-items: flex-start;
  }

  .hero__layout {
    padding-top: clamp(var(--s-16), 14vw, var(--s-20));
    padding-bottom: var(--s-24);
  }

  .hero__headline {
    font-size: clamp(2.45rem, 12vw, 3rem);
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
  }

  .hero__sub {
    font-size: var(--text-lg);
  }

  .hero__ctas     { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .page-hero {
    padding-top: calc(var(--nav-h) + var(--s-12));
  }
  .page-hero h1 {
    font-size: var(--text-3xl);
  }
  .page-hero .btn,
  .page-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .proof__grid { grid-template-columns: 1fr; }
  .proof__item { border-bottom: 1px solid var(--border); padding-bottom: var(--s-5); }
  .proof__item:last-child { border-bottom: none; }

  .compliance-band__inner { flex-direction: column; }

  .footer__inner      { flex-direction: column; align-items: flex-start; }
  .footer__legal      { margin-left: 0; }
}
