/* =========================================================
       Tokens — white / near-black / cobalt
       ========================================================= */
    :root {
      --bg:           #FFFFFF;
      --bg-soft:      #F7F7F8;
      --bg-dark:      #0A0A0A;
      --ink:          #0A0A0A;
      --ink-2:        #1F1F1F;
      --ink-3:        #404040;
      --mute:         #595959;
      --rule:         #E5E5E5;
      --rule-2:       #EFEFEF;
      --accent:       #2C2EE8;
      --accent-h:     #1A1CC9;
      --accent-soft:  #EEF0FF;
      --whatsapp:     #25D366;

      --display: 'Syne', system-ui, -apple-system, sans-serif;
      --body:    'Inter Tight', system-ui, -apple-system, sans-serif;

      --max:    1440px;
      --gutter: clamp(20px, 4.5vw, 72px);
      --ease:   cubic-bezier(0.22, 1, 0.36, 1);
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: var(--body);
      font-size: 17px;
      font-weight: 400;
      line-height: 1.55;
      color: var(--ink);
      background: var(--bg);
      overflow-x: clip;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    img, svg { display: block; max-width: 100%; height: auto; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
    ::selection { background: var(--accent); color: #fff; }

    :focus { outline: none; }
    :focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 4px;
      border-radius: 2px;
    }

    .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;
    }

    .skip-link {
      position: absolute;
      top: -100px; left: 16px;
      background: var(--ink);
      color: #fff;
      padding: 12px 20px;
      font-weight: 500;
      z-index: 1000;
      transition: top 200ms var(--ease);
    }
    .skip-link:focus { top: 16px; }

    .container {
      width: 100%;
      max-width: var(--max);
      margin: 0 auto;
      padding-left: var(--gutter);
      padding-right: var(--gutter);
    }

    h1, h2, h3, h4 {
      font-family: var(--body);
      font-weight: 700;
      letter-spacing: -0.025em;
      color: var(--ink);
      margin: 0;
      line-height: 1.05;
    }
    p { margin: 0; }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: var(--body);
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--mute);
    }
    .eyebrow::before {
      content: "";
      width: 8px;
      height: 8px;
      background: var(--accent);
      border-radius: 50%;
    }

    .lead {
      font-family: var(--body);
      font-size: clamp(1.05rem, 1.3vw, 1.2rem);
      line-height: 1.55;
      color: var(--mute);
      max-width: 640px;
      font-weight: 400;
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 24px;
      font-family: var(--body);
      font-weight: 500;
      font-size: 0.95rem;
      letter-spacing: -0.005em;
      border-radius: 999px;
      transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
      transform: translate(var(--mag-x, 0), var(--mag-y, 0));
      will-change: transform;
      white-space: nowrap;
      cursor: pointer;
      border: 1px solid transparent;
    }
    .btn-primary { background: var(--ink); color: #fff; }
    .btn-primary:hover { background: var(--accent); }
    .btn-accent { background: var(--accent); color: #fff; }
    .btn-accent:hover { background: var(--accent-h); }
    .btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
    .btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
    .btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
    .btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
    .btn .arr {
      font-family: var(--body);
      transition: transform 220ms var(--ease);
    }
    .btn:hover .arr { transform: translateX(4px); }

    /* =========================================================
       Nav
       ========================================================= */
    .nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.78);
      backdrop-filter: blur(20px) saturate(1.4);
      -webkit-backdrop-filter: blur(20px) saturate(1.4);
      border-bottom: 1px solid transparent;
      transition: border-color 200ms var(--ease), background 200ms var(--ease);
    }
    .nav.scrolled {
      border-bottom-color: var(--rule);
      background: rgba(255, 255, 255, 0.94);
    }
    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 18px;
      padding-bottom: 18px;
    }
    .wordmark {
      display: inline-flex;
      align-items: center;
      line-height: 1;
      text-decoration: none;
    }
    .wordmark img {
      display: block;
      height: 30px;
      width: auto;
    }
    @media (max-width: 420px) {
      .wordmark img { height: 26px; }
    }
    .wordmark .word {
      display: inline-block;
    }
    .wordmark .x { color: var(--accent); }
    .wordmark .labs {
      font-family: var(--body);
      font-weight: 500;
      font-size: 0.72rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--mute);
      padding-left: 8px;
      border-left: 1px solid var(--rule);
      line-height: 1;
      padding-top: 2px;
      padding-bottom: 2px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 34px;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .nav-links a {
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--ink-2);
      padding: 8px 0;
      position: relative;
      transition: color 200ms var(--ease);
    }
    .nav-links a:hover { color: var(--accent); }

    .nav-cta { display: flex; align-items: center; gap: 12px; }
    .nav-cta .btn { padding: 10px 20px; font-size: 0.88rem; }

    .menu-toggle {
      display: none;
      width: 44px; height: 44px;
      align-items: center; justify-content: center;
    }
    .menu-toggle span,
    .menu-toggle span::before,
    .menu-toggle span::after {
      display: block;
      width: 22px; height: 2px;
      background: var(--ink);
      position: relative;
      transition: transform 240ms var(--ease), opacity 200ms var(--ease);
    }
    .menu-toggle span::before,
    .menu-toggle span::after {
      content: ""; position: absolute; left: 0;
    }
    .menu-toggle span::before { top: -7px; }
    .menu-toggle span::after  { top:  5px; }
    .menu-toggle[aria-expanded="true"] span { background: transparent; }
    .menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span::after  { transform: translateY(-5px) rotate(-45deg); }

    /* Mobile menu is hidden by default. Only shown inside the mobile breakpoint below. */
    .mobile-menu { display: none; }

    /* =========================================================
       HERO — rotating word
       ========================================================= */
    /* =========================================================
       HERO SLIDER — rotating messages, Team-Computers pattern
       ========================================================= */
    .hero-slider {
      position: relative;
      overflow: hidden;
      background: var(--bg);
    }
    .hero-slider::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(560px circle at var(--mx, 78%) var(--my, 32%),
          var(--accent-soft) 0%,
          transparent 55%);
      pointer-events: none;
      z-index: 0;
      transition: background 400ms var(--ease);
    }
    /* On touch devices without a cursor, keep a static soft glow (no JS updates coming) */
    @media (hover: none), (prefers-reduced-motion: reduce) {
      .hero-slider::before {
        background: radial-gradient(560px circle at 78% 32%,
          var(--accent-soft) 0%, transparent 55%);
      }
    }
    .hero-slider-inner {
      position: relative;
      z-index: 1;
      padding-top: clamp(120px, 14vh, 170px);
      padding-bottom: clamp(80px, 9vw, 120px);
      min-height: clamp(560px, 84vh, 800px);
      display: flex;
      align-items: center;
    }
    .hero-slides {
      position: relative;
      width: 100%;
    }
    .hero-slide {
      opacity: 0;
      visibility: hidden;
      transition: opacity 700ms var(--ease), visibility 0s linear 700ms;
      pointer-events: none;
    }
    .hero-slide.is-active {
      opacity: 1;
      visibility: visible;
      transition: opacity 700ms var(--ease);
      pointer-events: auto;
    }
    .hero-slide + .hero-slide {
      position: absolute;
      top: 0; left: 0;
      right: 0;
    }
    .hero-slide.is-active + .hero-slide,
    .hero-slide:not(.is-active):first-child {
      position: absolute;
    }
    /* Simpler: all slides absolute except the first when it's active */
    .hero-slides.multi > .hero-slide {
      position: absolute;
      top: 0; left: 0; right: 0;
    }
    .hero-slides.multi > .hero-slide.is-active {
      position: relative;
    }
    .hero-slide.is-active .hero-slide-eyebrow {
      animation: fade-up 700ms var(--ease) 100ms both;
    }
    .hero-slide.is-active .hero-slide-h1 {
      animation: fade-up 800ms var(--ease) 250ms both;
    }
    .hero-slide.is-active .hero-slide-sub {
      animation: fade-up 700ms var(--ease) 450ms both;
    }
    .hero-slide.is-active .hero-slide-ctas {
      animation: fade-up 700ms var(--ease) 600ms both;
    }
    .hero-slide-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      font-family: var(--body);
      font-size: 0.82rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 32px;
    }
    .hero-slide-eyebrow::before {
      content: "";
      width: 36px;
      height: 2px;
      background: var(--accent);
    }
    .hero-slide-h1 {
      font-family: var(--body);
      font-weight: 700;
      font-size: clamp(2.4rem, 5.8vw, 5rem);
      letter-spacing: -0.035em;
      line-height: 1.03;
      color: var(--ink);
      margin: 0 0 28px;
      max-width: 900px;
    }
    .hero-slide-h1 .accent { color: var(--accent); }
    .hero-slide-sub {
      font-family: var(--body);
      font-size: clamp(1.05rem, 1.4vw, 1.25rem);
      line-height: 1.55;
      color: var(--mute);
      max-width: 640px;
      margin-bottom: 44px;
      font-weight: 400;
    }
    .hero-slide-sub strong { color: var(--ink); font-weight: 600; }
    .hero-slide-ctas {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      align-items: center;
    }

    /* Slider controls */
    .hero-controls {
      position: absolute;
      bottom: clamp(40px, 6vh, 64px);
      left: var(--gutter);
      right: var(--gutter);
      z-index: 3;
      display: flex;
      align-items: center;
      gap: 28px;
      max-width: var(--max);
      margin-inline: auto;
      flex-wrap: wrap;
    }
    .hero-dots {
      display: flex;
      gap: 8px;
    }
    .hero-dot {
      width: 48px;
      height: 3px;
      background: rgba(10, 10, 10, 0.15);
      border: none;
      cursor: pointer;
      padding: 0;
      overflow: visible;
      position: relative;
      border-radius: 2px;
      transition: background 240ms var(--ease);
    }
    /* Invisible tap-slop — expands touchable area to ≈44px tall
       without changing the visual bar. Fixes small-target a11y on mobile. */
    .hero-dot::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: -20px;
      bottom: -20px;
    }
    .hero-dot:hover { background: rgba(10, 10, 10, 0.35); }
    .hero-dot:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 6px;
      border-radius: 2px;
    }
    .hero-dot.is-active::before {
      content: "";
      position: absolute;
      inset: 0;
      background: var(--accent);
      border-radius: 2px;
      transform-origin: left;
      animation: dot-progress 6500ms linear forwards;
    }
    @keyframes dot-progress {
      from { transform: scaleX(0); }
      to   { transform: scaleX(1); }
    }
    .hero-slide-counter {
      font-family: var(--body);
      font-size: 0.82rem;
      font-weight: 500;
      letter-spacing: 0.12em;
      color: var(--mute);
      text-transform: uppercase;
    }
    .hero-slide-counter .current {
      color: var(--ink);
      font-weight: 700;
    }
    .hero-slide-counter .divider {
      margin: 0 8px;
      opacity: 0.5;
    }

    /* =========================================================
       Tech stack marquee
       ========================================================= */
    .marquee-section {
      padding: clamp(48px, 6vw, 72px) 0;
      background: var(--bg-soft);
      border-top: 1px solid var(--rule);
      border-bottom: 1px solid var(--rule);
      overflow: hidden;
    }
    .marquee-label {
      text-align: center;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--mute);
      margin-bottom: 36px;
    }
    .marquee {
      position: relative;
      overflow: hidden;
      mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
      -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    }
    .marquee + .marquee { margin-top: 20px; }
    .marquee-track {
      display: flex;
      gap: 16px;
      width: max-content;
      animation: marquee-l 50s linear infinite;
    }
    .marquee-reverse .marquee-track {
      animation: marquee-r 60s linear infinite;
    }
    .marquee:hover .marquee-track { animation-play-state: paused; }
    @keyframes marquee-l {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }
    @keyframes marquee-r {
      from { transform: translateX(-50%); }
      to   { transform: translateX(0); }
    }
    .chip {
      display: inline-flex;
      align-items: center;
      padding: 12px 22px;
      background: #fff;
      border: 1px solid var(--rule);
      border-radius: 999px;
      font-family: var(--body);
      font-weight: 500;
      font-size: 0.95rem;
      color: var(--ink-2);
      white-space: nowrap;
      transition: border-color 220ms var(--ease), color 220ms var(--ease);
    }
    .chip:hover { border-color: var(--accent); color: var(--accent); }
    .chip-accent { background: var(--ink); color: #fff; border-color: var(--ink); }
    .chip-accent:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

    /* =========================================================
       Section base
       ========================================================= */
    section { padding: clamp(96px, 11vw, 144px) 0; }
    .section-head {
      max-width: 800px;
      margin-bottom: clamp(56px, 7vw, 88px);
    }
    .section-head .eyebrow { margin-bottom: 24px; }
    .section-head h2 {
      font-size: clamp(2.25rem, 4.5vw, 3.75rem);
      letter-spacing: -0.035em;
      line-height: 1.05;
      margin-bottom: 20px;
    }

    /* =========================================================
       Services — vertical list
       ========================================================= */
    .services { border-top: 1px solid var(--rule); }
    .service-list {
      list-style: none;
      margin: 0;
      padding: 0;
      border-top: 1px solid var(--rule);
    }
    .service-row {
      display: grid;
      grid-template-columns: 60px 1.3fr 1fr auto;
      gap: 32px;
      align-items: center;
      padding: clamp(28px, 3.5vw, 40px) 0;
      border-bottom: 1px solid var(--rule);
      transition: padding 240ms var(--ease);
      cursor: pointer;
      position: relative;
      color: var(--ink);
    }
    .service-row::before {
      content: "";
      position: absolute;
      inset: 0;
      background: var(--bg-soft);
      opacity: 0;
      transition: opacity 240ms var(--ease);
      z-index: 0;
      margin: 0 calc(-1 * var(--gutter));
    }
    .service-row:hover::before { opacity: 1; }
    .service-row > * { position: relative; z-index: 1; }
    .service-row:hover { padding-left: 16px; padding-right: 16px; }

    .service-num {
      font-family: var(--body);
      font-weight: 700;
      font-size: 0.88rem;
      color: var(--accent);
      letter-spacing: 0.04em;
    }
    .service-name {
      font-family: var(--body);
      font-weight: 700;
      font-size: clamp(1.4rem, 2.6vw, 2rem);
      letter-spacing: -0.025em;
      color: var(--ink);
      line-height: 1.1;
    }
    .service-desc {
      font-family: var(--body);
      font-size: 0.96rem;
      line-height: 1.5;
      color: var(--mute);
      max-width: 400px;
    }
    .service-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      justify-content: flex-end;
      max-width: 320px;
    }
    .service-tags span {
      font-family: var(--body);
      font-size: 0.74rem;
      font-weight: 500;
      letter-spacing: 0.02em;
      color: var(--ink-3);
      background: transparent;
      border: 1px solid var(--rule);
      padding: 4px 10px;
      border-radius: 999px;
      white-space: nowrap;
      transition: all 220ms var(--ease);
    }
    .service-row:hover .service-tags span {
      border-color: var(--accent);
      color: var(--accent);
    }
    .service-arrow {
      font-family: var(--body);
      font-weight: 600;
      font-size: 1.4rem;
      color: var(--ink);
      opacity: 0;
      transform: translateX(-12px);
      transition: all 240ms var(--ease);
    }
    .service-row:hover .service-arrow {
      opacity: 1;
      transform: translateX(0);
    }

    /* =========================================================
       Industries
       ========================================================= */
    .industries { background: var(--bg-soft); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
    .industries-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }
    .industry {
      background: #fff;
      padding: clamp(28px, 3vw, 36px);
      border: 1px solid var(--rule);
      border-radius: 16px;
      transition: all 240ms var(--ease);
      position: relative;
      overflow: hidden;
    }
    .industry:hover {
      border-color: var(--accent);
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(44, 46, 232, 0.08);
    }
    .industry-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px; height: 44px;
      background: var(--accent-soft);
      color: var(--accent);
      border-radius: 12px;
      margin-bottom: 20px;
      font-family: var(--body);
      font-weight: 700;
      font-size: 1.1rem;
      letter-spacing: -0.02em;
    }
    .industry h3 {
      font-family: var(--body);
      font-weight: 700;
      font-size: 1.2rem;
      letter-spacing: -0.02em;
      margin-bottom: 10px;
      color: var(--ink);
    }
    .industry p {
      font-family: var(--body);
      font-size: 0.9rem;
      color: var(--mute);
      line-height: 1.55;
    }

    /* Featured / also sub-headings inside Industries */
    .industries-featured-label,
    .industries-also-label {
      font-family: var(--body);
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--mute);
      margin-bottom: 20px;
    }
    .industries-also { margin-top: 64px; }
    .industries-chips {
      list-style: none;
      padding: 0;
      margin: 0 0 28px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    .industries-chips li {
      display: inline-flex;
      padding: 10px 18px;
      background: #fff;
      border: 1px solid var(--rule);
      border-radius: 999px;
      font-family: var(--body);
      font-size: 0.92rem;
      font-weight: 500;
      color: var(--ink-2);
      transition: all 220ms var(--ease);
    }
    .industries-chips li:hover {
      border-color: var(--accent);
      color: var(--accent);
      transform: translateY(-2px);
    }
    .industries-also-note {
      font-family: var(--body);
      font-size: 0.95rem;
      color: var(--mute);
      max-width: 600px;
    }
    .industries-also-note a {
      color: var(--accent);
      font-weight: 500;
      border-bottom: 1px solid currentColor;
      transition: opacity 200ms var(--ease);
    }
    .industries-also-note a:hover { opacity: 0.7; }

    /* =========================================================
       Process
       ========================================================= */
    .process { border-top: 1px solid var(--rule); }
    .process-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      border-top: 1px solid var(--ink);
    }
    .process-step {
      padding: 32px 28px 32px 0;
      position: relative;
    }
    .process-step + .process-step {
      padding-left: 28px;
      border-left: 1px solid var(--rule);
    }
    .process-step::before {
      content: "";
      position: absolute;
      top: -6px;
      left: 0;
      width: 11px; height: 11px;
      background: var(--accent);
      border-radius: 50%;
    }
    .process-step + .process-step::before { left: 28px; }
    .process-num {
      font-family: var(--body);
      font-weight: 600;
      font-size: 0.78rem;
      color: var(--mute);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 20px;
      display: block;
    }
    .process-step h3 {
      font-family: var(--body);
      font-weight: 700;
      font-size: 1.25rem;
      letter-spacing: -0.02em;
      margin-bottom: 10px;
      color: var(--ink);
    }
    .process-step p {
      font-family: var(--body);
      font-size: 0.92rem;
      color: var(--mute);
      line-height: 1.55;
    }

    /* =========================================================
       Trusted by — scrolling monochrome client logos
       ========================================================= */
    .clients {
      padding: clamp(40px, 6vw, 88px) 0;
      background: var(--bg-soft);
      border-top: 1px solid var(--rule);
      border-bottom: 1px solid var(--rule);
      overflow: hidden;
    }
    .clients-label {
      text-align: center;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--mute);
      margin-bottom: clamp(24px, 3vw, 40px);
    }
    .marquee-track-clients {
      display: flex;
      align-items: center;
      gap: clamp(48px, 7vw, 96px);
      width: max-content;
      animation: marquee-l 55s linear infinite;
      will-change: transform;
    }
    .marquee-track-clients:hover { animation-play-state: paused; }
    .client-logo {
      flex-shrink: 0;
      height: clamp(44px, 5.2vw, 60px);
      width: auto;
      object-fit: contain;
      opacity: 0.78;
      transition: opacity 240ms var(--ease), transform 240ms var(--ease);
    }
    .client-logo:hover {
      opacity: 1;
      transform: translateY(-2px);
    }

    /* =========================================================
       CTA band
       ========================================================= */
    .cta-band {
      background: var(--accent);
      color: #fff;
      padding: clamp(80px, 10vw, 128px) 0;
      position: relative;
      overflow: hidden;
    }
    .cta-band::before {
      content: "";
      position: absolute;
      top: -40%; left: -10%;
      width: 600px; height: 600px;
      background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
      pointer-events: none;
    }
    .cta-band-inner {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      gap: clamp(40px, 6vw, 80px);
      align-items: center;
    }
    .cta-band h2 {
      font-size: clamp(2.25rem, 4.5vw, 4rem);
      font-weight: 700;
      letter-spacing: -0.035em;
      line-height: 1.0;
      color: #fff;
      margin-bottom: 16px;
    }
    .cta-band p {
      font-size: clamp(1.05rem, 1.4vw, 1.25rem);
      color: rgba(255,255,255,0.85);
      max-width: 540px;
    }
    .cta-band-actions {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
    }
    .cta-band-actions .btn { padding: 16px 28px; font-size: 0.98rem; }

    /* =========================================================
       Contact
       ========================================================= */
    .contact { border-top: 1px solid var(--rule); }
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: clamp(40px, 6vw, 96px);
      align-items: start;
    }
    .contact-info .eyebrow { margin-bottom: 24px; }
    .contact-info h2 {
      font-size: clamp(2.25rem, 4vw, 3.5rem);
      letter-spacing: -0.035em;
      margin-bottom: 20px;
      line-height: 1.05;
    }
    .contact-info .lead { margin-bottom: 40px; }

    .contact-info h3 {
      font-family: var(--body);
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--mute);
      margin: 28px 0 8px;
    }
    .contact-info h3:first-of-type { margin-top: 0; }
    .contact-info p, .contact-info a {
      font-family: var(--body);
      font-size: 1.05rem;
      color: var(--ink);
      line-height: 1.5;
    }
    .contact-info a { transition: color 200ms var(--ease); }
    .contact-info a:hover { color: var(--accent); }

    .contact-channels {
      display: flex;
      gap: 10px;
      margin-top: 20px;
      flex-wrap: wrap;
    }
    .contact-channel {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 12px 18px;
      border: 1px solid var(--rule);
      background: #fff;
      border-radius: 999px;
      font-family: var(--body);
      font-size: 0.92rem;
      font-weight: 500;
      color: var(--ink);
      transition: all 220ms var(--ease);
    }
    .contact-channel svg { width: 18px; height: 18px; }
    .contact-channel:hover { transform: translateY(-1px); }
    .contact-channel.whatsapp svg { fill: var(--whatsapp); transition: fill 220ms var(--ease); }
    .contact-channel.whatsapp:hover {
      background: var(--whatsapp);
      color: #fff;
      border-color: var(--whatsapp);
    }
    .contact-channel.whatsapp:hover svg { fill: #fff; }

    .contact-next {
      margin-top: 44px;
      padding-top: 28px;
      border-top: 1px solid var(--rule);
    }
    .contact-next h4 {
      font-family: var(--body);
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--mute);
      margin-bottom: 16px;
    }
    .contact-next ol {
      padding-left: 0;
      list-style: none;
      counter-reset: steps;
      margin: 0;
    }
    .contact-next li {
      counter-increment: steps;
      padding: 12px 0 12px 36px;
      position: relative;
      font-family: var(--body);
      font-size: 0.95rem;
      color: var(--ink-2);
      border-bottom: 1px solid var(--rule-2);
    }
    .contact-next li:last-child { border-bottom: none; }
    .contact-next li::before {
      content: counter(steps, decimal-leading-zero);
      position: absolute;
      left: 0;
      top: 12px;
      font-family: var(--body);
      font-weight: 700;
      font-size: 0.85rem;
      color: var(--accent);
    }

    /* Form */
    .form-card {
      background: #fff;
      padding: clamp(28px, 3.5vw, 40px);
      border: 1px solid var(--rule);
      border-radius: 20px;
      box-shadow: 0 1px 2px rgba(0,0,0,0.02);
    }
    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 16px;
    }
    .form-field { margin-bottom: 16px; }
    .form-field:last-of-type { margin-bottom: 24px; }
    .form-field label {
      display: block;
      font-family: var(--body);
      font-size: 0.82rem;
      font-weight: 500;
      color: var(--ink-2);
      margin-bottom: 6px;
    }
    .form-field label .req { color: var(--accent); }
    .form-field input,
    .form-field select,
    .form-field textarea {
      width: 100%;
      padding: 13px 16px;
      border: 1px solid var(--rule);
      background: #fff;
      font-family: var(--body);
      /* Floor at 16px — anything smaller triggers iOS Safari zoom-in on focus */
      font-size: max(16px, 0.95rem);
      color: var(--ink);
      transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
      border-radius: 10px;
    }
    .form-field input:focus,
    .form-field select:focus,
    .form-field textarea:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 4px rgba(44, 46, 232, 0.12);
    }
    .form-field textarea {
      resize: vertical;
      min-height: 124px;
      font-family: var(--body);
    }
    .form-field input::placeholder,
    .form-field textarea::placeholder {
      color: #8A8A8A;
      opacity: 1;
    }
    .form-field select {
      appearance: none;
      -webkit-appearance: none;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%230A0A0A' d='M6 8L0 0h12z'/></svg>");
      background-repeat: no-repeat;
      background-position: right 16px center;
      padding-right: 40px;
    }
    .form-card button[type="submit"] {
      width: 100%;
      padding: 16px;
      font-weight: 500;
      justify-content: center;
    }
    .form-card button[type="submit"]:disabled {
      opacity: 0.6;
      cursor: wait;
    }

    .form-status {
      display: none;
      padding: 14px 18px;
      margin-top: 16px;
      font-family: var(--body);
      font-size: 0.92rem;
      border-radius: 10px;
    }
    .form-status.success {
      display: block;
      background: var(--accent-soft);
      color: var(--accent);
      border: 1px solid var(--accent);
    }
    .form-status.error {
      display: block;
      background: #FEF2F2;
      color: #B91C1C;
      border: 1px solid #FCA5A5;
    }

    /* =========================================================
       WhatsApp FAB
       ========================================================= */
    .wa-fab {
      position: fixed;
      bottom: 24px; right: 24px;
      width: 60px; height: 60px;
      background: var(--whatsapp);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35),
                  0 2px 8px rgba(0,0,0,0.12);
      z-index: 90;
      transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
      opacity: 0;
      transform: scale(0.5);
      animation: wa-in 600ms var(--ease) 1.2s forwards;
    }
    .wa-fab svg { width: 32px; height: 32px; fill: #fff; }
    .wa-fab:hover {
      transform: translateY(-3px);
      box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45),
                  0 4px 12px rgba(0,0,0,0.15);
    }
    .wa-fab::after {
      content: "";
      position: absolute;
      inset: -4px;
      border-radius: 50%;
      border: 2px solid var(--whatsapp);
      opacity: 0;
      animation: wa-ping 2.4s var(--ease) 2s infinite;
    }
    @keyframes wa-in {
      to { opacity: 1; transform: scale(1); }
    }
    @keyframes wa-ping {
      0%   { opacity: 0.6; transform: scale(1); }
      80%  { opacity: 0;   transform: scale(1.35); }
      100% { opacity: 0;   transform: scale(1.35); }
    }

    /* =========================================================
       Footer — dark
       ========================================================= */
    footer {
      background: var(--bg-dark);
      color: #9CA3AF;
      padding: 96px 0 32px;
    }
    .footer-top {
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 80px;
    }
    .footer-brand .wordmark {
      color: #fff;
      font-size: 1.7rem;
      margin-bottom: 20px;
    }
    .footer-brand .wordmark .labs {
      color: #9CA3AF;
      border-left-color: rgba(255,255,255,0.18);
    }
    .footer-brand p {
      font-family: var(--body);
      font-size: 0.95rem;
      color: #9CA3AF;
      line-height: 1.6;
      max-width: 360px;
    }
    .footer-col h4 {
      font-family: var(--body);
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #9CA3AF;
      margin-bottom: 20px;
    }
    .footer-col ul { list-style: none; padding: 0; margin: 0; }
    .footer-col li { margin-bottom: 12px; }
    .footer-col a {
      font-family: var(--body);
      color: #D1D5DB;
      font-size: 0.94rem;
      transition: color 200ms var(--ease);
    }
    .footer-col a:hover { color: #fff; }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 32px;
      border-top: 1px solid rgba(255,255,255,0.08);
      font-family: var(--body);
      font-size: 0.85rem;
      color: #9CA3AF;
      flex-wrap: wrap;
      gap: 16px;
    }
    .footer-bottom a { color: #9CA3AF; }
    .footer-bottom a:hover { color: #fff; }

    /* =========================================================
       Reveal animations
       ========================================================= */
    .reveal {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 700ms var(--ease), transform 700ms var(--ease);
      will-change: opacity, transform;
    }
    .reveal.in { opacity: 1; transform: none; }
    .reveal-stagger > * {
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 600ms var(--ease), transform 600ms var(--ease);
    }
    .reveal-stagger.in > * { opacity: 1; transform: none; }
    .reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
    .reveal-stagger.in > *:nth-child(2) { transition-delay: 80ms; }
    .reveal-stagger.in > *:nth-child(3) { transition-delay: 160ms; }
    .reveal-stagger.in > *:nth-child(4) { transition-delay: 240ms; }
    .reveal-stagger.in > *:nth-child(5) { transition-delay: 320ms; }
    .reveal-stagger.in > *:nth-child(6) { transition-delay: 400ms; }

    /* Hero entrance */
    .hero-headline      { animation: fade-up 800ms var(--ease) 100ms both; }
    .hero-sub           { animation: fade-up 700ms var(--ease) 300ms both; }
    .hero-ctas          { animation: fade-up 700ms var(--ease) 450ms both; }
    @keyframes fade-up {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: none; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
      .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
      .rotator-track { animation: none; }
      .wa-fab::after { animation: none; }
      .marquee-track,
      .marquee-track-clients { animation: none; }
    }

    /* =========================================================
       Responsive
       ========================================================= */
    @media (max-width: 1024px) {
      .industries-grid { grid-template-columns: repeat(2, 1fr); }
      .cta-band-inner { grid-template-columns: 1fr; gap: 32px; }
      .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
      .footer-brand { grid-column: 1 / -1; }
    }

    @media (max-width: 860px) {
      .hero-meta { display: none; }
      .service-row {
        grid-template-columns: 50px 1fr;
        gap: 16px;
      }
      .service-desc, .service-tags { grid-column: 2; }
      .service-tags { justify-content: flex-start; max-width: none; }
      .service-arrow { display: none; }
      .process-grid { grid-template-columns: 1fr 1fr; border-top: none; }
      .process-step { border-top: 1px solid var(--ink); padding-left: 0 !important; }
      .process-step + .process-step { border-left: none; }
      .process-step::before { left: 0 !important; }
      .contact-grid { grid-template-columns: 1fr; }
    }

    @media (max-width: 768px) {
      .nav-links, .nav-cta .btn { display: none; }
      .menu-toggle { display: inline-flex; }
      .mobile-menu {
        display: block;
        position: fixed;
        top: 66px; left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--rule);
        padding: 24px var(--gutter) 32px;
        transform: translateY(-110%);
        transition: transform 300ms var(--ease);
        z-index: 99;
      }
      .mobile-menu.open { transform: translateY(0); }
      .mobile-menu ul { list-style: none; padding: 0; margin: 0 0 20px; }
      .mobile-menu li { margin-bottom: 4px; }
      .mobile-menu ul a {
        display: block;
        padding: 14px 0;
        font-family: var(--body);
        font-size: 1.1rem;
        color: var(--ink);
        font-weight: 500;
        border-bottom: 1px solid var(--rule-2);
      }
      .mobile-menu .btn { width: 100%; justify-content: center; }
      .form-row { grid-template-columns: 1fr; gap: 0; }
      .industries-grid { grid-template-columns: 1fr; }
      .process-grid { grid-template-columns: 1fr; }
      .footer-top { grid-template-columns: 1fr; gap: 36px; }
      .footer-bottom { flex-direction: column; align-items: flex-start; }
      .wa-fab { bottom: 16px; right: 16px; width: 56px; height: 56px; }
      .wa-fab svg { width: 28px; height: 28px; }

      /* CTA band buttons — shrink so they fit side by side on mobile */
      .cta-band-actions { gap: 10px; }
      .cta-band-actions .btn {
        flex: 1 1 auto;
        padding: 14px 16px;
        font-size: 0.88rem;
        justify-content: center;
        min-width: 0;
      }
      .cta-band-actions .btn .arr { display: none; }
    }

    @media (max-width: 420px) {
      .hero-slide-ctas { flex-direction: column; align-items: stretch; width: 100%; }
      .hero-slide-ctas .btn { justify-content: center; }
      .cta-band-actions .btn { padding: 12px 12px; font-size: 0.82rem; }
    }
/* =========================================================
   ===== SERVICE PAGE TEMPLATES =====
   ========================================================= */

/* Service page hero */
.service-page main { padding-top: 0; }

.service-hero {
  padding: clamp(120px, 16vh, 180px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.service-hero-inner { position: relative; z-index: 1; }

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mute);
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.breadcrumb a {
  color: var(--mute);
  transition: color 200ms var(--ease);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--rule); }
.breadcrumb .current { color: var(--ink); }

.service-hero-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.service-num-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(120px, 14vw, 180px);
  height: clamp(120px, 14vw, 180px);
  background: var(--ink);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  letter-spacing: -0.04em;
  border-radius: 16px;
  position: relative;
}
.service-num-card .accent-dot {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
}

.service-hero h1 {
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 0 0 20px;
}
.service-hero h1 .accent { color: var(--accent); }
.service-hero .lead {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  max-width: 620px;
}

/* Two-column body layout */
.service-body {
  padding: clamp(72px, 9vw, 120px) 0;
}
.service-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

/* Left sidebar */
.service-sidebar {
  /* No longer sticky — appears once at top and scrolls away naturally */
}
.service-sidebar-label {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 20px;
}
.subservice-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  counter-reset: subs;
  border-top: 1px solid var(--rule);
}
.subservice-list li {
  counter-increment: subs;
  border-bottom: 1px solid var(--rule);
}
.subservice-list a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 14px 0;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 200ms var(--ease), padding 200ms var(--ease);
  position: relative;
}
.subservice-list a::before {
  content: counter(subs, decimal-leading-zero);
  font-family: var(--body);
  font-weight: 600;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding-top: 2px;
}
.subservice-list a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.subservice-list a.is-active {
  color: var(--accent);
}

.sidebar-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
}
.sidebar-cta h4 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  margin: 0 0 4px;
}
.sidebar-cta p {
  font-size: 0.88rem;
  color: #D1D5DB;
  margin: 0 0 12px;
  line-height: 1.5;
}
.sidebar-cta .btn {
  width: 100%;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  padding: 11px 18px;
  font-size: 0.88rem;
}
.sidebar-cta .btn:hover { background: var(--accent-h); }

/* Right content area */
.service-content > p.intro {
  font-family: var(--body);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 56px;
  max-width: 720px;
  font-weight: 400;
}
.service-content > p.intro strong {
  color: var(--ink);
  font-weight: 600;
}

.subservice {
  padding: 40px 0;
  border-top: 1px solid var(--rule);
}
.subservice:first-of-type { border-top: none; padding-top: 0; }
.subservice .num {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  display: block;
}
.subservice h3 {
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--ink);
}
.subservice p {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--mute);
  max-width: 680px;
  margin-bottom: 16px;
}
.subservice ul {
  margin: 12px 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.subservice ul li {
  font-family: var(--body);
  font-size: 0.92rem;
  color: var(--ink-2);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.subservice ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* Tech stack block */
.service-stack {
  margin-top: 64px;
  padding: 40px;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 16px;
}
.service-stack h3 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--ink);
}
.service-stack p {
  font-family: var(--body);
  font-size: 0.92rem;
  color: var(--mute);
  margin-bottom: 20px;
}
.service-stack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-stack-chips span {
  display: inline-flex;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--ink-2);
}
.service-stack-chips span.accent {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Why choose us block */
.service-why {
  margin-top: 64px;
}
.service-why h2 {
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: -0.025em;
  margin-bottom: 32px;
  color: var(--ink);
}
.service-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  transition: all 220ms var(--ease);
}
.why-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.why-card .num {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  display: block;
}
.why-card h4 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  color: var(--ink);
}
.why-card p {
  font-family: var(--body);
  font-size: 0.92rem;
  color: var(--mute);
  line-height: 1.55;
  margin: 0;
}

/* Other services strip at bottom */
.other-services {
  padding: clamp(64px, 8vw, 96px) 0;
  border-top: 1px solid var(--rule);
  background: var(--bg-soft);
}
.other-services h3 {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 24px;
}
.other-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.other-service-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  transition: all 220ms var(--ease);
  color: var(--ink);
}
.other-service-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.other-service-card .num {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.other-service-card .name {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  flex: 1;
}
.other-service-card .arr {
  color: var(--mute);
  transition: transform 220ms var(--ease), color 220ms var(--ease);
}
.other-service-card:hover .arr {
  color: var(--accent);
  transform: translateX(4px);
}

/* Service page responsive */
@media (max-width: 1024px) {
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { margin-bottom: 40px; }
  .service-why-grid { grid-template-columns: 1fr 1fr; }
  .other-services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .service-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-num-card { width: 100px; height: 100px; font-size: 2.8rem; }
  .subservice ul { grid-template-columns: 1fr; }
  .service-why-grid { grid-template-columns: 1fr; }
  .other-services-grid { grid-template-columns: 1fr; }
  .service-stack { padding: 28px; }
}

    /* =========================================================
       MOTION ADDITIONS
       Small touches: scroll progress, enhanced list hover.
       All respect prefers-reduced-motion.
       ========================================================= */

    /* Scroll progress bar — thin cobalt line at top */
    .scroll-progress {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      z-index: 200;
      pointer-events: none;
      background: transparent;
    }
    .scroll-progress::after {
      content: "";
      display: block;
      height: 100%;
      background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 60%, #6668FF 100%);
      transform-origin: left center;
      transform: scaleX(var(--progress, 0));
      will-change: transform;
    }
    @media (prefers-reduced-motion: reduce) {
      .scroll-progress { display: none; }
    }

    /* Enhanced service row hover — cobalt bar slides in from left, number scales */
    .service-row::after {
      content: "";
      position: absolute;
      left: -2px;
      top: 22%;
      bottom: 22%;
      width: 3px;
      background: var(--accent);
      transform: scaleY(0);
      transform-origin: center;
      transition: transform 340ms cubic-bezier(0.19, 1, 0.22, 1);
      z-index: 2;
      border-radius: 2px;
      pointer-events: none;
    }
    .service-row:hover::after {
      transform: scaleY(1);
    }
    .service-num {
      display: inline-block;
      transition: transform 300ms cubic-bezier(0.19, 1, 0.22, 1);
      transform-origin: left center;
    }
    .service-row:hover .service-num {
      transform: scale(1.18);
    }

    @media (prefers-reduced-motion: reduce) {
      .service-row::after { display: none; }
      .service-num { transition: none; }
      .service-row:hover .service-num { transform: none; }
    }

    /* =========================================================
       MOBILE MOTION — tap feedback + visibility improvements
       Runs on touch devices where hover-based motion can't work.
       All respect prefers-reduced-motion.
       ========================================================= */

    /* Thicker scroll progress on mobile so it's actually visible behind phone status bar */
    @media (max-width: 768px) {
      .scroll-progress { height: 3px; }
    }

    /* Tap feedback — buttons briefly scale down when pressed, felt more than seen */
    @media (hover: none) and (pointer: coarse) {
      .btn:active {
        transform: translate(var(--mag-x, 0), var(--mag-y, 0)) scale(0.96);
        transition: transform 120ms cubic-bezier(0.19, 1, 0.22, 1);
      }
      .service-row:active {
        background: var(--bg-soft);
      }
      .service-row:active .service-num {
        transform: scale(1.15);
      }
      /* Service list — the accent bar we added for desktop hover is worth showing on tap */
      .service-row:active::after {
        transform: scaleY(1);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .btn:active { transform: none; }
    }
