    /* ─── Font Face ─────────────────────────────────────────────── */
    @font-face {
      font-family: 'Bricolage Grotesque';
      src: url('/fonts/bricolage-grotesque-v9-latin-regular.woff2') format('woff2');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'Bricolage Grotesque';
      src: url('/fonts/bricolage-grotesque-v9-latin-700.woff2') format('woff2');
      font-weight: 700;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'Inter';
      src: url('/fonts/inter-v20-latin-regular.woff2') format('woff2');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'Inter';
      src: url('/fonts/inter-v20-latin-500.woff2') format('woff2');
      font-weight: 500;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'JetBrains Mono';
      src: url('/fonts/jetbrains-mono-v24-latin-regular.woff2') format('woff2');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }

    /* ─── CSS Variables ─────────────────────────────────────────── */
    :root {
      --bg-primary: #0D0D0D;
      --bg-secondary: #141414;
      --bg-card: #1A1714;
      --accent-1: #C8702A;
      --accent-2: #E8A44A;
      --text-primary: #F2EDE8;
      --text-secondary: #8A8178;
      --border: rgba(200,112,42,0.15);
      --border-hover: rgba(200,112,42,0.4);
    }

    /* ─── Light theme ───────────────────────────────────────────── */
    [data-theme="light"] {
      --bg-primary:    #F2EDE8;
      --bg-secondary:  #EAE4DE;
      --bg-card:       #E3DCD5;
      --accent-1:      #C8702A;
      --accent-2:      #B05820;
      --text-primary:  #0D0D0D;
      --text-secondary:#6B5E52;
      --border:        rgba(200,112,42,0.22);
      --border-hover:  rgba(200,112,42,0.5);
    }

    [data-theme="light"] .bg-gradient {
      background:
        radial-gradient(ellipse 110% 65% at 50% -5%,  rgba(200,112,42,0.14) 0%, rgba(160,80,20,0.06) 40%, transparent 70%),
        radial-gradient(ellipse 60%  45% at 85%  90%, rgba(200,112,42,0.05) 0%, transparent 55%),
        radial-gradient(ellipse 40%  30% at 10%  70%, rgba(200,112,42,0.03) 0%, transparent 50%),
        #F2EDE8;
    }

    [data-theme="light"] .grid-bg {
      background-image:
        linear-gradient(rgba(13,13,13,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13,13,13,0.07) 1px, transparent 1px);
    }

    [data-theme="light"] #navbar.scrolled {
      background: rgba(242,237,232,0.92);
    }

    [data-theme="light"] #mobile-menu {
      background-color: rgba(230,224,216,0.97);
      background-image:
        linear-gradient(rgba(13,13,13,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13,13,13,0.05) 1px, transparent 1px),
        radial-gradient(ellipse 120% 55% at 110% 0%, rgba(200,112,42,0.1) 0%, transparent 65%);
      box-shadow: -8px 0 48px rgba(0,0,0,0.1), inset -1px 0 0 rgba(200,112,42,0.14);
    }

    [data-theme="light"] #feature-1,
    [data-theme="light"] #testimonial,
    [data-theme="light"] #cta-finale { background: rgba(230,224,216,0.97); }

    [data-theme="light"] #footer {
      background-color: rgba(225,218,210,0.98);
      background-image:
        linear-gradient(rgba(13,13,13,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13,13,13,0.06) 1px, transparent 1px);
    }

    /* SVG logos: parentesi e A → scuri su sfondo chiaro, C rimane ambra */
    [data-theme="light"] .logo-mark text,
    [data-theme="light"] .footer-logo-mark text { fill: #0D0D0D; }
    [data-theme="light"] .logo-mark text[fill="#C8702A"],
    [data-theme="light"] .footer-logo-mark text[fill="#C8702A"] { fill: #C8702A; }

    /* Transizione fluida al cambio tema */
    .bg-gradient, .grid-bg, body,
    #feature-1, #testimonial, #cta-finale, #footer, #navbar,
    .service-card, .testimonial-card, .project-card, .terminal {
      transition: background 0.35s ease, background-color 0.35s ease,
                  color 0.2s ease, border-color 0.2s ease;
    }

    /* ─── Theme toggle button ───────────────────────────────────── */
    .theme-toggle {
      background: none;
      border: 1px solid var(--border-hover);
      border-radius: 6px;
      width: 36px;
      height: 36px;
      cursor: none;
      color: var(--text-secondary);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: color 0.2s, border-color 0.2s, background 0.2s;
    }
    .theme-toggle:hover {
      color: var(--text-primary);
      background: rgba(200,112,42,0.1);
      border-color: var(--accent-1);
    }
    .theme-toggle:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

    /* In dark mode: mostra sole (→ passa al chiaro); in light: mostra luna */
    .icon-moon { display: none; }
    [data-theme="light"] .icon-sun  { display: none; }
    [data-theme="light"] .icon-moon { display: block; }

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

    html { scroll-behavior: smooth; }

    body {
      background: transparent;
      color: var(--text-primary);
      font-family: 'Inter', sans-serif;
      font-size: 1rem;
      line-height: 1.7;
      overflow-x: hidden;
      cursor: none;
    }

    /* ─── Noise texture ─────────────────────────────────────────── */
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 9999;
      opacity: 0.035;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
      background-size: 256px 256px;
    }

    /* ─── Radial gradient background ───────────────────────────── */
    .bg-gradient {
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      background:
        radial-gradient(ellipse 110% 65% at 50% -5%,  rgba(200,112,42,0.18) 0%, rgba(160,80,20,0.08) 40%, transparent 70%),
        radial-gradient(ellipse 60%  45% at 85%  90%, rgba(200,112,42,0.07) 0%, transparent 55%),
        radial-gradient(ellipse 40%  30% at 10%  70%, rgba(200,112,42,0.04) 0%, transparent 50%),
        #0D0D0D;
    }

    /* ─── Grid blueprint background ────────────────────────────── */
    .grid-bg {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      background-image:
        linear-gradient(rgba(242,237,232,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242,237,232,0.04) 1px, transparent 1px);
      background-size: 40px 40px;
      -webkit-mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
      mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
    }

    /* ─── Radial grid fade (hero & footer) ──────────────────────── */
    .grid-radial {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      background-image:
        linear-gradient(rgba(242,237,232,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242,237,232,0.07) 1px, transparent 1px);
      background-size: 40px 40px;
      -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 50%, black 20%, transparent 70%);
      mask-image: radial-gradient(ellipse 75% 60% at 50% 50%, black 20%, transparent 70%);
    }
    [data-theme="light"] .grid-radial {
      background-image:
        linear-gradient(rgba(13,13,13,0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13,13,13,0.09) 1px, transparent 1px);
    }

    /* ─── Custom cursor ─────────────────────────────────────────── */
    #cursor {
      position: fixed;
      width: 8px;
      height: 8px;
      background: var(--accent-1);
      border-radius: 50%;
      pointer-events: none;
      z-index: 10000;
      transform: translate(-50%, -50%) scale(1);
      transform-origin: center;
      transition: transform 0.2s, background 0.2s, border 0.2s, opacity 0.2s;
      will-change: transform;
    }
    #cursor.expand {
      transform: translate(-50%, -50%) scale(3);
      background: transparent;
      border: 1.5px solid var(--accent-1);
    }

    @media (pointer: coarse) {
      #cursor { display: none; }
      body { cursor: auto; }
    }

    /* ─── Typography ────────────────────────────────────────────── */
    h1, h2, h3, h4 {
      font-family: 'Bricolage Grotesque', sans-serif;
      font-weight: 700;
      line-height: 1.1;
      color: var(--text-primary);
    }

    .hero-headline {
      font-size: clamp(2.8rem, 6vw, 5.5rem);
      letter-spacing: -0.02em;
    }

    .section-headline {
      font-size: clamp(1.8rem, 3vw, 2.8rem);
      letter-spacing: -0.01em;
    }

    .badge {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--accent-1);
      display: inline-block;
      margin-bottom: 1.25rem;
    }

    p {
      color: var(--text-secondary);
      max-width: 65ch;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    /* ─── Buttons ───────────────────────────────────────────────── */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-family: 'Inter', sans-serif;
      font-size: 0.95rem;
      font-weight: 500;
      border-radius: 6px;
      padding: 0.75rem 1.5rem;
      cursor: none;
      transition: transform 0.2s, box-shadow 0.2s;
      text-decoration: none;
      border: none;
      outline: none;
    }

    .btn:focus-visible {
      outline: 2px solid var(--accent-2);
      outline-offset: 3px;
    }

    .btn-primary {
      background: var(--accent-1);
      color: #0D0D0D;
      font-weight: 700;
    }

    .btn-primary:hover {
      transform: scale(1.02);
      box-shadow: 0 0 20px rgba(200,112,42,0.3);
    }

    .btn-outline {
      background: transparent;
      color: var(--text-primary);
      border: 1px solid var(--border-hover);
    }

    .btn-outline:hover {
      transform: scale(1.02);
      border-color: var(--accent-1);
      box-shadow: 0 0 20px rgba(200,112,42,0.15);
    }

    /* ─── Layout helpers ────────────────────────────────────────── */
    .container {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 2rem;
    }

    section { position: relative; z-index: 1; }

    /* ─── Scroll reveal ─────────────────────────────────────────── */
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }

    /* ─────────────────────────────────────────────────────────────
       NAVBAR
    ───────────────────────────────────────────────────────────── */
    #navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      padding: 1.25rem 0;
      transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
      border-bottom: 1px solid transparent;
    }

    #navbar.scrolled {
      background: rgba(13,13,13,0.85);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom-color: var(--border);
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .nav-logo {
      font-family: 'Bricolage Grotesque', sans-serif;
      font-weight: 700;
      font-size: 1.1rem;
      line-height: normal;
      color: var(--text-primary);
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .nav-logo .dot { color: var(--accent-1); margin-left: 0.35em; }
    .mob-br { display: none; }
    @media (max-width: 768px) {
      .mob-br { display: inline; }
      .nav-logo > span { position: relative; padding-right: 1em; }
      .nav-logo .dot { position: absolute; right: 0; top: 50%; transform: translateY(-50%); line-height: 1; }
    }

    .logo-mark {
      height: 42px;
      width: auto;
      flex-shrink: 0;
      transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    #navbar.scrolled .logo-mark {
      height: 28px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 2.5rem;
      list-style: none;
    }

    .nav-links a {
      font-size: 0.9rem;
      color: var(--text-secondary);
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--text-primary); }

    .nav-links a:focus-visible {
      outline: 2px solid var(--accent-2);
      outline-offset: 3px;
      border-radius: 2px;
    }

    .nav-right { display: flex; align-items: center; gap: 1.5rem; }

    /* hamburger */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: none;
      padding: 4px;
    }
    .hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--text-primary);
      transition: transform 0.3s, opacity 0.3s;
    }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* mobile panel */
    #mobile-menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: min(320px, 85vw);
      height: 100dvh;
      background:
        radial-gradient(ellipse 120% 55% at 110% 0%, rgba(200,112,42,0.13) 0%, transparent 65%),
        rgba(16,14,12,0.92);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      background-image:
        linear-gradient(rgba(242,237,232,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242,237,232,0.035) 1px, transparent 1px),
        radial-gradient(ellipse 120% 55% at 110% 0%, rgba(200,112,42,0.13) 0%, transparent 65%);
      background-size: 40px 40px, 40px 40px, 100% 100%;
      background-color: rgba(16,14,12,0.92);
      z-index: 999;
      padding: 0;
      display: flex;
      flex-direction: column;
      border-left: 1px solid rgba(200,112,42,0.25);
      box-shadow: -8px 0 48px rgba(0,0,0,0.5), inset -1px 0 0 rgba(200,112,42,0.08);
      transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      overflow-x: hidden;
      overflow-y: hidden;
    }
    #mobile-menu.open { right: 0; }

    .mobile-menu-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.4rem 1.75rem;
      border-bottom: 1px solid var(--border);
    }
    .mobile-menu-logo {
      font-family: 'Bricolage Grotesque', sans-serif;
      font-weight: 700;
      font-size: 0.95rem;
      color: var(--text-primary);
    }
    .mobile-menu-logo span { color: var(--accent-1); }

    .mobile-menu-body {
      flex: 1;
      padding: 2.5rem 1.75rem;
      display: flex;
      flex-direction: column;
      gap: 0;
      overflow-y: auto;
    }

    #mobile-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.65);
      backdrop-filter: blur(2px);
      -webkit-backdrop-filter: blur(2px);
      z-index: 998;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
    }
    #mobile-overlay.show { opacity: 1; pointer-events: all; }

    .mobile-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      counter-reset: nav-counter;
    }
    .mobile-links li {
      counter-increment: nav-counter;
      border-bottom: 1px solid var(--border);
    }
    .mobile-links li:first-child { border-top: 1px solid var(--border); }
    .mobile-links a {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1.1rem 0;
      font-family: 'Bricolage Grotesque', sans-serif;
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--text-primary);
      transition: color 0.2s, padding-left 0.2s;
    }
    .mobile-links a::before {
      content: counter(nav-counter, decimal-leading-zero);
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.7rem;
      font-weight: 400;
      color: var(--accent-1);
      opacity: 0.7;
      min-width: 1.8rem;
    }
    .mobile-links a:hover {
      color: var(--accent-2);
      padding-left: 0.4rem;
    }

    .mobile-menu-footer {
      padding: 1.75rem;
      border-top: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .mobile-menu-email {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem;
      color: var(--text-secondary);
      letter-spacing: 0.03em;
    }

    /* staggered entrance */
    #mobile-menu .mobile-links > li,
    #mobile-menu .mobile-menu-footer {
      opacity: 0;
      transform: translateX(16px);
      transition: opacity 0.3s ease, transform 0.3s ease;
    }
    #mobile-menu.open .mobile-links > li:nth-child(1) { opacity:1; transform:none; transition-delay: 0.12s; }
    #mobile-menu.open .mobile-links > li:nth-child(2) { opacity:1; transform:none; transition-delay: 0.18s; }
    #mobile-menu.open .mobile-links > li:nth-child(3) { opacity:1; transform:none; transition-delay: 0.24s; }
    #mobile-menu.open .mobile-links > li:nth-child(4) { opacity:1; transform:none; transition-delay: 0.30s; }
    #mobile-menu.open .mobile-menu-footer        { opacity:1; transform:none; transition-delay: 0.38s; }

    @media (max-width: 768px) {
      .nav-links, .nav-right .btn { display: none; }
      .hamburger { display: flex; }
    }

    /* ─────────────────────────────────────────────────────────────
       HERO
    ───────────────────────────────────────────────────────────── */
    #hero {
      min-height: 100dvh;
      display: flex;
      align-items: center;
      padding-top: 5rem;
      position: relative;
      overflow: hidden;
    }

    .hero-blob {
      position: absolute;
      bottom: -80px;
      right: -120px;
      width: 700px;
      height: 500px;
      background: radial-gradient(ellipse, rgba(200,112,42,0.12) 0%, transparent 70%);
      filter: blur(140px);
      pointer-events: none;
      z-index: 0;
    }

    .hero-content {
      position: relative;
      z-index: 1;
      padding: 6rem 0 5rem;
    }

    .hero-headline {
      margin-bottom: 1.5rem;
      max-width: 15ch;
    }

    .hero-sub {
      font-size: 1.125rem;
      line-height: 1.65;
      color: var(--text-secondary);
      max-width: 52ch;
      margin-bottom: 2.5rem;
    }

    .hero-ctas {
      display: flex;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .hero-note {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.8rem;
      color: var(--text-secondary);
      margin-top: 1.5rem;
    }

    /* ─────────────────────────────────────────────────────────────
       TICKER
    ───────────────────────────────────────────────────────────── */
    #ticker {
      padding: 3.5rem 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      overflow: hidden;
      position: relative;
      z-index: 1;
    }

    .ticker-label {
      text-align: center;
      margin-bottom: 1.5rem;
    }

    .ticker-track {
      display: flex;
      gap: 0;
      white-space: nowrap;
      -webkit-mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
      mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
    }

    .ticker-inner {
      display: inline-flex;
      gap: 0;
      animation: ticker-scroll 28s linear infinite;
      will-change: transform;
    }

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

    @keyframes ticker-scroll {
      from { transform: translateX(0); }
      to { transform: translateX(-50%); }
    }

    .ticker-item {
      font-size: 1.05rem;
      color: var(--text-secondary);
      padding: 0 0.5rem;
    }
    .ticker-sep { color: var(--accent-1); padding: 0 0.5rem; }

    /* ─────────────────────────────────────────────────────────────
       SERVICES
    ───────────────────────────────────────────────────────────── */
    #servizi {
      padding: 7rem 0;
      position: relative;
      z-index: 1;
    }

    .services-header {
      text-align: center;
      margin-bottom: 4rem;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem;
    }

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

    .service-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 2rem;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
      position: relative;
      overflow: hidden;
    }

    .service-card::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 12px;
      background: radial-gradient(ellipse at top left, rgba(200,112,42,0.04), transparent 60%);
      pointer-events: none;
    }

    .service-card:hover {
      transform: translateY(-4px);
      border-color: var(--border-hover);
      box-shadow: 0 12px 40px rgba(200,112,42,0.08);
    }

    .service-icon {
      width: 44px;
      height: 44px;
      margin-bottom: 1.25rem;
      color: var(--accent-1);
      transition: transform 0.25s ease;
    }

    .service-card:hover .service-icon {
      transform: scale(1.2);
    }

    .service-card h3 {
      font-size: 1.1rem;
      margin-bottom: 0.75rem;
    }

    .service-card p {
      font-size: 0.9rem;
      line-height: 1.65;
      max-width: none;
    }

    /* ─────────────────────────────────────────────────────────────
       FEATURE 1
    ───────────────────────────────────────────────────────────── */
    #feature-1 {
      background: rgba(20,20,20,0.96);
      padding: 7rem 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      overflow: hidden;
    }

    /* ─── Section blobs (JS-driven mouse parallax) ─────────────── */
    .section-blob {
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
      will-change: transform;
    }

    .feature-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: center;
    }

    @media (max-width: 860px) {
      .feature-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
      }
    }

    .feature-list {
      list-style: none;
      margin-top: 1.75rem;
      display: flex;
      flex-direction: column;
      gap: 0.9rem;
    }

    .feature-list li {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      font-size: 0.95rem;
      color: var(--text-secondary);
    }

    .check {
      color: var(--accent-1);
      flex-shrink: 0;
      margin-top: 2px;
      font-weight: 700;
    }

    /* Terminal */
    .terminal {
      background: var(--bg-primary);
      border: 1px solid var(--border-hover);
      border-radius: 10px;
      overflow: hidden;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.85rem;
    }

    .terminal-bar {
      background: rgba(200,112,42,0.08);
      border-bottom: 1px solid var(--border);
      padding: 0.75rem 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .terminal-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }
    .td1 { background: #FF5F57; }
    .td2 { background: #FFBD2E; }
    .td3 { background: #27C93F; }

    .terminal-body {
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      min-height: 180px;
    }

    .term-line {
      color: var(--text-secondary);
      opacity: 0;
      transition: opacity 0.3s;
    }
    .term-line.visible { opacity: 1; }
    .term-line .success { color: var(--accent-2); }

    .cursor-blink {
      display: inline-block;
      width: 8px;
      height: 1em;
      background: var(--accent-1);
      vertical-align: text-bottom;
      animation: blink 1s step-end infinite;
      opacity: 0;
    }
    .cursor-blink.visible { opacity: 1; }

    @keyframes blink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0; }
    }

    /* ─────────────────────────────────────────────────────────────
       FEATURE 2
    ───────────────────────────────────────────────────────────── */
    #feature-2 {
      padding: 7rem 0;
      background: var(--bg-primary);
      overflow: hidden;
    }


    .project-stack {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .project-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 1.25rem 1.5rem;
      transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
      cursor: default;
    }

    .project-card:hover {
      transform: translateX(4px);
      border-color: var(--border-hover);
      box-shadow: 0 4px 24px rgba(200,112,42,0.08);
    }

    .project-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--accent-1);
      margin-bottom: 0.35rem;
    }

    .project-card h4 {
      font-size: 1rem;
      margin-bottom: 0.4rem;
    }

    .project-card p {
      font-size: 0.83rem;
      line-height: 1.55;
      max-width: none;
    }

    /* ─────────────────────────────────────────────────────────────
       TESTIMONIALS
    ───────────────────────────────────────────────────────────── */
    #testimonial {
      padding: 7rem 0;
      background: rgba(20,20,20,0.96);
      border-top: 1px solid var(--border);
    }

    .testimonials-header { text-align: center; margin-bottom: 3.5rem; }

    .testimonials-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
    }

    @media (max-width: 700px) { .testimonials-grid { grid-template-columns: 1fr; } }

    .testimonial-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 2rem 2rem 1.75rem;
      position: relative;
      overflow: hidden;
      transition: border-color 0.2s, box-shadow 0.2s;
      backdrop-filter: blur(8px);
    }

    .testimonial-card:hover {
      border-color: var(--border-hover);
      box-shadow: 0 8px 32px rgba(200,112,42,0.08);
    }

    .testimonial-quote-bg {
      position: absolute;
      top: -0.5rem;
      left: 1rem;
      font-family: 'Bricolage Grotesque', sans-serif;
      font-size: 8rem;
      font-weight: 700;
      color: var(--accent-1);
      opacity: 0.06;
      line-height: 1;
      pointer-events: none;
      user-select: none;
    }

    .testimonial-text {
      font-size: 0.95rem;
      line-height: 1.7;
      color: var(--text-primary);
      margin-bottom: 1.5rem;
      position: relative;
      max-width: none;
    }

    .testimonial-author {
      display: flex;
      align-items: center;
      gap: 0.9rem;
    }

    .avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--accent-1);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Bricolage Grotesque', sans-serif;
      font-size: 0.8rem;
      font-weight: 700;
      color: #0D0D0D;
      flex-shrink: 0;
    }

    .author-name {
      font-weight: 500;
      font-size: 0.9rem;
      color: var(--text-primary);
      font-family: 'Inter', sans-serif;
    }

    .author-role {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem;
      color: var(--text-secondary);
    }

    /* ─────────────────────────────────────────────────────────────
       CTA FINALE
    ───────────────────────────────────────────────────────────── */
    #cta-finale {
      background: rgba(20,20,20,0.96);
      border-top: 1px solid var(--border);
      padding: 8rem 0;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    #cta-finale::before {
      content: '';
      position: absolute;
      top: -100px;
      left: 50%;
      transform: translateX(-50%);
      width: 600px;
      height: 300px;
      background: radial-gradient(ellipse, rgba(200,112,42,0.07) 0%, transparent 70%);
      filter: blur(80px);
      pointer-events: none;
    }

    .cta-headline {
      margin-bottom: 1rem;
    }

    .cta-sub {
      font-size: 1.05rem;
      margin: 0 auto 2.5rem;
      max-width: 46ch;
      text-align: center;
    }

    .cta-note {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.8rem;
      color: var(--text-secondary);
      margin-top: 1.25rem;
      text-align: center;
      margin-inline: auto;
    }

    /* ─────────────────────────────────────────────────────────────
       FOOTER
    ───────────────────────────────────────────────────────────── */
    #footer {
      background-color: rgba(13,13,13,0.98);
      background-image:
        linear-gradient(rgba(242,237,232,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242,237,232,0.04) 1px, transparent 1px);
      background-size: 40px 40px;
      border-top: 1px solid var(--border);
      padding: 5rem 0 0;
      position: relative;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
      gap: 3rem;
      padding-bottom: 4rem;
    }

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

    .footer-logo-mark {
      height: 48px;
      width: auto;
      display: block;
      margin-bottom: 1rem;
    }

    .footer-brand-name {
      font-family: 'Bricolage Grotesque', sans-serif;
      font-weight: 700;
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
    }

    .footer-tagline {
      font-size: 0.85rem;
      color: var(--text-secondary);
      max-width: none;
    }

    .footer-col-title {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--accent-1);
      margin-bottom: 1.25rem;
    }

    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.7rem;
    }

    .footer-links a {
      font-size: 0.9rem;
      color: var(--text-secondary);
      transition: color 0.2s;
    }
    .footer-links a:hover { color: var(--text-primary); }
    .footer-links a:focus-visible {
      outline: 2px solid var(--accent-2);
      border-radius: 2px;
      outline-offset: 2px;
    }

    .footer-email a {
      font-size: 0.9rem;
      color: var(--accent-2);
      transition: color 0.2s;
    }
    .footer-email a:hover { color: var(--accent-1); }

    .footer-bottom {
      border-top: 1px solid var(--border);
      padding: 1.5rem 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .footer-copy {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.75rem;
      color: var(--text-secondary);
      text-align: center;
    }

    /* ─────────────────────────────────────────────────────────────
       PIANI MANUTENZIONE TABLE
    ───────────────────────────────────────────────────────────── */
    .plans-table-wrap { overflow-x: auto; margin-top: 2.5rem; background: var(--bg-secondary); border-radius: 10px; padding: 0.25rem; border: 1px solid var(--border); }
    .plans-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.875rem;
    }
    .plans-table th {
      font-family: 'Bricolage Grotesque', sans-serif;
      font-weight: 700;
      font-size: 0.95rem;
      color: var(--text-primary);
      padding: 0.9rem 1.25rem;
      text-align: center;
      border-bottom: 2px solid var(--border);
    }
    .plans-table th:first-child { text-align: left; }
    .plans-table th.plan-highlight { color: var(--accent-1); }
    .plans-table td {
      padding: 0.75rem 1.25rem;
      color: var(--text-secondary);
      border-bottom: 1px solid var(--border);
      text-align: center;
      vertical-align: middle;
    }
    .plans-table td:first-child {
      text-align: left;
      color: var(--text-primary);
      font-weight: 500;
    }
    .plans-table tr:last-child td { border-bottom: none; }
    .plans-table .plan-check { color: var(--accent-1); font-size: 1rem; }
    .plans-table .plan-dash { color: var(--text-secondary); opacity: 0.35; }
    .plans-table td.plan-highlight-col { background: rgba(200,112,42,0.04); }
    @media (max-width: 600px) {
      .plans-table th, .plans-table td { padding: 0.6rem 0.75rem; font-size: 0.8rem; }
      .plans-table th:not(:first-child) { font-size: 0.75rem; }
    }

    /* ─────────────────────────────────────────────────────────────
       SPECIALIZZAZIONI CARDS (SEO page)
    ───────────────────────────────────────────────────────────── */
    .spec-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      margin-top: 2.5rem;
    }
    @media (max-width: 768px) {
      .spec-grid { grid-template-columns: 1fr; }
    }
    .spec-card {
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 2rem;
    }
    .spec-card h3 {
      font-family: 'Bricolage Grotesque', sans-serif;
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--text-primary);
      margin: 0.75rem 0 0.75rem;
    }
    .spec-card p {
      font-size: 0.9rem;
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 1.25rem;
    }
    .spec-card ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
    }
    .spec-card ul li {
      display: flex;
      gap: 0.5rem;
      font-size: 0.875rem;
      color: var(--text-secondary);
    }
    .spec-card ul li .check { color: var(--accent-1); flex-shrink: 0; }

    /* ─────────────────────────────────────────────────────────────
       PRIVACY POLICY PAGE
    ───────────────────────────────────────────────────────────── */
    .privacy-body h2 {
      font-family: 'Bricolage Grotesque', sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--accent-1);
      margin: 2.5rem 0 0.75rem;
    }
    .privacy-body p,
    .privacy-body li {
      font-size: 0.95rem;
      color: var(--text-secondary);
      line-height: 1.8;
    }
    .privacy-body ul {
      padding-left: 1.25rem;
      margin: 0.5rem 0 1rem;
    }
    .privacy-body li { margin-bottom: 0.4rem; }
    .privacy-body a { color: var(--accent-2); text-decoration: underline; }
    .privacy-body strong { color: var(--text-primary); font-weight: 500; }

    /* ─────────────────────────────────────────────────────────────
       Stagger delays for cards
    ───────────────────────────────────────────────────────────── */
    .stagger-1 { transition-delay: 0.0s; }
    .stagger-2 { transition-delay: 0.1s; }
    .stagger-3 { transition-delay: 0.2s; }
    .stagger-4 { transition-delay: 0.3s; }
    .stagger-5 { transition-delay: 0.4s; }
    .stagger-6 { transition-delay: 0.5s; }

    /* ─── Typewriter headings ───────────────────────────────────── */
    .tw-heading {
      opacity: 0;
      min-height: 1.1em; /* prevent layout jump before type starts */
    }
    .tw-heading.tw-active { opacity: 1; }

    .tw-cursor {
      display: inline;
      color: var(--accent-1);
      font-weight: 400;
      animation: tw-blink 0.65s step-end infinite;
      margin-left: 1px;
    }
    .tw-cursor.tw-done {
      opacity: 0;
      transition: opacity 0.5s;
      animation: none;
    }
    @keyframes tw-blink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0; }
    }

    /* ─── Tech SVG animated background ─────────────────────────── */
    .tech-section { position: relative; overflow: hidden; }
    .tech-section .container { position: relative; z-index: 1; }
    #feature-1 .container, #feature-2 .container, #footer .container { position: relative; z-index: 1; }

    .tech-svg-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
    }

    /* ─── Misc utils ────────────────────────────────────────────── */
    .accent { color: var(--accent-1); }
    .mt-1 { margin-top: 1rem; }
    .mt-sm { margin-top: 0.5rem; }

    /* ─────────────────────────────────────────────────────────────
       STACK & STRUMENTI
    ───────────────────────────────────────────────────────────── */
    #stack {
      padding: 7rem 0;
      background: var(--bg-secondary);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    [data-theme="light"] #stack { background: rgba(234,228,222,0.97); }

    .stack-header { text-align: center; margin-bottom: 4rem; }

    .stack-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2.5rem 3rem;
    }
    @media (max-width: 960px) { .stack-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 500px)  { .stack-grid { grid-template-columns: 1fr; } }

    .stack-cat-title {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--accent-1);
      margin-bottom: 1.25rem;
      padding-bottom: 0.75rem;
      border-bottom: 1px solid var(--border);
    }

    .stack-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }

    .stack-list li {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      font-size: 0.9rem;
      color: var(--text-secondary);
      transition: color 0.2s, transform 0.2s;
      cursor: default;
    }
    .stack-list li:hover { color: var(--text-primary); transform: translateX(3px); }

    .stack-icon {
      width: 16px; height: 16px;
      flex-shrink: 0;
      color: var(--accent-1);
      opacity: 0.75;
      transition: opacity 0.2s;
    }
    .stack-list li:hover .stack-icon { opacity: 1; }

    /* section spacing mobile */
    @media (max-width: 600px) {
      #servizi, #stack, #feature-1, #feature-2, #testimonial, #cta-finale { padding: 5rem 0; }
      .container { padding: 0 1.25rem; }
      .hero-content { padding: 3rem 1.4rem; }
      #footer { padding-top: 4rem; }
    }

    /* ─────────────────────────────────────────────────────────────
       NAV DROPDOWN (desktop)
    ───────────────────────────────────────────────────────────── */
    .nav-has-dropdown { position: relative; }

    .nav-dropdown-trigger {
      display: flex;
      align-items: center;
      gap: 0.3rem;
    }

    .nav-chevron {
      flex-shrink: 0;
      transition: transform 0.22s ease;
      color: var(--text-secondary);
    }

    .nav-has-dropdown:hover .nav-chevron,
    .nav-has-dropdown:focus-within .nav-chevron {
      transform: rotate(180deg);
      color: var(--text-primary);
    }

    .nav-dropdown {
      position: absolute;
      top: calc(100% + 0.85rem);
      left: 50%;
      transform: translateX(-50%);
      min-width: 210px;
      background: rgba(20,18,15,0.96);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid var(--border-hover);
      border-radius: 10px;
      padding: 0.5rem;
      list-style: none;
      opacity: 0;
      visibility: hidden;
      transform: translateX(-50%) translateY(6px);
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
      z-index: 200;
      box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    }
    [data-theme="light"] .nav-dropdown {
      background: rgba(242,237,232,0.97);
      box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    }

    /* small triangle pointer */
    .nav-dropdown::before {
      content: '';
      position: absolute;
      top: -5px;
      left: 50%;
      transform: translateX(-50%) rotate(45deg);
      width: 9px;
      height: 9px;
      background: rgba(20,18,15,0.96);
      border-top: 1px solid var(--border-hover);
      border-left: 1px solid var(--border-hover);
    }
    [data-theme="light"] .nav-dropdown::before { background: rgba(242,237,232,0.97); }

    .nav-has-dropdown:hover .nav-dropdown,
    .nav-has-dropdown:focus-within .nav-dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
    }

    .nav-dropdown li a {
      display: block;
      padding: 0.6rem 0.85rem;
      font-size: 0.855rem;
      color: var(--text-secondary);
      border-radius: 6px;
      transition: color 0.15s, background 0.15s;
      white-space: nowrap;
    }
    .nav-dropdown li a:hover {
      color: var(--text-primary);
      background: rgba(200,112,42,0.08);
    }
    .nav-dropdown li a:focus-visible {
      outline: 2px solid var(--accent-2);
      outline-offset: 2px;
    }

    /* ─────────────────────────────────────────────────────────────
       MOBILE SUBMENU
    ───────────────────────────────────────────────────────────── */
    /* undo the li border-bottom added by .mobile-links li */
    .mobile-links li.mobile-has-sub { border-bottom: none; }

    /* row: header div holds link + toggle button side by side */
    .mobile-sub-header {
      display: flex;
      align-items: center;
      border-bottom: 1px solid var(--border);
    }

    .mobile-sub-header .mobile-link-main {
      flex: 1;
      padding: 1.1rem 0;
      font-family: 'Bricolage Grotesque', sans-serif;
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--text-primary);
      transition: color 0.2s, padding-left 0.2s;
    }
    .mobile-sub-header .mobile-link-main:hover { color: var(--accent-2); padding-left: 0.4rem; }

    /* counter on mobile-link-main */
    .mobile-sub-header .mobile-link-main::before {
      content: '01';
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.7rem;
      font-weight: 400;
      color: var(--accent-1);
      opacity: 0.7;
      min-width: 1.8rem;
      margin-right: 1rem;
    }

    .mobile-sub-toggle {
      background: none;
      border: none;
      padding: 0.5rem;
      cursor: pointer;
      color: var(--accent-1);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.25s;
    }
    .mobile-sub-toggle.open { transform: rotate(180deg); }
    .mobile-sub-toggle svg { pointer-events: none; }

    .mobile-sub-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease, padding 0.25s ease;
    }
    .mobile-sub-links li { counter-increment: none; }
    .mobile-sub-links.open {
      max-height: 600px;
      padding: 0.5rem 0 0.75rem;
      border-top: 1px solid var(--border);
    }
    .mobile-sub-links li a {
      display: block;
      padding: 0.55rem 0 0.55rem 1rem;
      font-size: 0.95rem;
      color: var(--text-secondary);
      transition: color 0.2s, padding-left 0.2s;
    }
    .mobile-sub-links li a::before { content: none; }
    .mobile-sub-links li a:hover { color: var(--accent-1); padding-left: 1.4rem; }

    /* re-apply stagger to items 2,3,4 (Servizi becomes item 1) */
    #mobile-menu.open .mobile-links > li:nth-child(2) { transition-delay: 0.18s; }
    #mobile-menu.open .mobile-links > li:nth-child(3) { transition-delay: 0.24s; }
    #mobile-menu.open .mobile-links > li:nth-child(4) { transition-delay: 0.30s; }

    /* service-card link */
    .service-card-link {
      display: inline-block;
      margin-top: 1.1rem;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--accent-1);
      transition: letter-spacing 0.2s, color 0.2s;
    }
    .service-card-link:hover { letter-spacing: 0.18em; color: var(--accent-2); }

    /* ─────────────────────────────────────────────────────────────
       OTHER SERVICES PILLS
    ───────────────────────────────────────────────────────────── */
    .other-services-section {
      padding: 2.5rem 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .other-services-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem;
      font-weight: 400;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent-1);
      margin-bottom: 1rem;
    }
    .service-pills-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
    }
    .service-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.5rem 1rem;
      border: 1px solid var(--border);
      border-radius: 2rem;
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--text-secondary);
      text-decoration: none;
      transition: border-color 0.2s, color 0.2s, background 0.2s;
    }
    .service-pill:hover {
      border-color: var(--accent-1);
      color: var(--accent-1);
      background: rgba(200, 112, 42, 0.06);
    }
    .service-pill svg {
      width: 14px;
      height: 14px;
      flex-shrink: 0;
    }
    .pill-arrow {
      margin-left: 0.15rem;
      opacity: 0.45;
      font-size: 0.8rem;
      transition: opacity 0.2s, margin-left 0.2s;
    }
    .service-pill:hover .pill-arrow {
      opacity: 1;
      margin-left: 0.35rem;
    }

    /* ─────────────────────────────────────────────────────────────
       BREADCRUMB
    ───────────────────────────────────────────────────────────── */
    .breadcrumb {
      padding: 0.6rem 0;
      margin-bottom: 2rem;
    }
    .breadcrumb-list {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      list-style: none;
      flex-wrap: wrap;
    }
    .breadcrumb-item {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem;
      color: var(--text-secondary);
    }
    .breadcrumb-item a { color: var(--text-secondary); transition: color 0.2s; }
    .breadcrumb-item a:hover { color: var(--accent-1); }
    .breadcrumb-item.active { color: var(--accent-1); }
    .breadcrumb-sep { color: var(--border-hover); font-size: 0.65rem; }

    /* ─────────────────────────────────────────────────────────────
       SERVICE HERO
    ───────────────────────────────────────────────────────────── */
    #service-hero {
      min-height: 78vh;
      display: flex;
      align-items: center;
      padding-top: 5rem;
      position: relative;
      overflow: hidden;
    }

    .service-hero-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
      padding: 5rem 0 4rem;
      position: relative;
      z-index: 1;
    }
    @media (max-width: 860px) {
      .service-hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3.5rem 0 3rem;
      }
      .service-hero-visual { display: none; }
    }

    .service-hero-headline {
      font-size: clamp(2rem, 4.5vw, 3.8rem);
      letter-spacing: -0.02em;
      margin-bottom: 1.25rem;
    }

    .service-hero-sub {
      font-size: 1.1rem;
      line-height: 1.7;
      color: var(--text-secondary);
      max-width: 52ch;
      margin-bottom: 2rem;
    }

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

    .service-hero-icon-wrap {
      position: relative;
      width: 240px;
      height: 240px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .service-hero-icon-wrap::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 50%;
      background: radial-gradient(ellipse, rgba(200,112,42,0.15) 0%, transparent 70%);
      filter: blur(40px);
    }

    .service-hero-icon-wrap svg {
      width: 120px;
      height: 120px;
      color: var(--accent-1);
      opacity: 0.85;
      position: relative;
      z-index: 1;
    }

    /* ─────────────────────────────────────────────────────────────
       SERVICE SECTIONS (shared spacing)
    ───────────────────────────────────────────────────────────── */
    .service-section {
      padding: 6rem 0;
      position: relative;
      z-index: 1;
    }

    .service-section-alt {
      padding: 6rem 0;
      background: rgba(20,20,20,0.96);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      position: relative;
      z-index: 1;
    }
    [data-theme="light"] .service-section-alt { background: rgba(230,224,216,0.97); }

    .service-section-header {
      margin-bottom: 3.5rem;
    }

    /* ─────────────────────────────────────────────────────────────
       PROCESS STEPS
    ───────────────────────────────────────────────────────────── */
    .process-list {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
      counter-reset: process-counter;
      list-style: none;
      padding: 0;
      margin: 0;
    }
    @media (max-width: 960px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 500px)  { .process-list { grid-template-columns: 1fr; } }

    .process-item {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 1.75rem;
      counter-increment: process-counter;
      position: relative;
      transition: border-color 0.25s, box-shadow 0.25s;
    }
    .process-item:hover {
      border-color: var(--border-hover);
      box-shadow: 0 8px 32px rgba(200,112,42,0.07);
    }
    .process-item::before {
      content: counter(process-counter, decimal-leading-zero);
      display: block;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.7rem;
      color: var(--accent-1);
      letter-spacing: 0.08em;
      margin-bottom: 1rem;
    }
    .process-item h3 {
      font-size: 1rem;
      margin-bottom: 0.6rem;
    }
    .process-item p {
      font-size: 0.875rem;
      line-height: 1.65;
      max-width: none;
    }

    /* ─────────────────────────────────────────────────────────────
       SERVICE INCLUDES
    ───────────────────────────────────────────────────────────── */
    .includes-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }
    @media (max-width: 760px) { .includes-grid { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 480px) { .includes-grid { grid-template-columns: 1fr; } }

    .include-item {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      padding: 1.25rem;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 10px;
      font-size: 0.9rem;
      color: var(--text-secondary);
      transition: border-color 0.2s;
    }
    .include-item:hover { border-color: var(--border-hover); }
    .include-check {
      color: var(--accent-1);
      font-weight: 700;
      flex-shrink: 0;
      margin-top: 1px;
    }

    /* ─────────────────────────────────────────────────────────────
       SERVICE TOOLS (mini grid)
    ───────────────────────────────────────────────────────────── */
    .tools-mini-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    .tool-pill {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.55rem 1rem;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 100px;
      font-size: 0.85rem;
      color: var(--text-secondary);
      transition: border-color 0.2s, color 0.2s;
    }
    .tool-pill:hover { border-color: var(--border-hover); color: var(--text-primary); }
    .tool-pill svg { width: 14px; height: 14px; color: var(--accent-1); flex-shrink: 0; }

    /* ─────────────────────────────────────────────────────────────
       FAQ
    ───────────────────────────────────────────────────────────── */
    .faq-list {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      max-width: 800px;
    }

    .faq-item {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
      transition: border-color 0.2s;
    }
    .faq-item:hover { border-color: var(--border-hover); }
    .faq-item[open] { border-color: var(--border-hover); }

    .faq-question {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 1.25rem 1.5rem;
      cursor: pointer;
      font-family: 'Bricolage Grotesque', sans-serif;
      font-weight: 700;
      font-size: 0.95rem;
      color: var(--text-primary);
      list-style: none;
      user-select: none;
    }
    .faq-question::-webkit-details-marker { display: none; }
    .faq-question::after {
      content: '+';
      font-family: 'Inter', sans-serif;
      font-weight: 400;
      font-size: 1.4rem;
      color: var(--accent-1);
      flex-shrink: 0;
      transition: transform 0.25s;
    }
    .faq-item[open] .faq-question::after {
      transform: rotate(45deg);
    }

    .faq-answer {
      padding: 0 1.5rem 1.25rem;
      font-size: 0.9rem;
      line-height: 1.7;
      color: var(--text-secondary);
      max-width: none;
    }

    /* ─────────────────────────────────────────────────────────────
       CONTACT FORM
    ───────────────────────────────────────────────────────────── */
    #service-contact {
      padding: 7rem 0;
      background: rgba(20,20,20,0.96);
      border-top: 1px solid var(--border);
      position: relative;
      overflow: hidden;
      z-index: 1;
    }
    #service-contact::before {
      content: '';
      position: absolute;
      top: -80px;
      left: 50%;
      transform: translateX(-50%);
      width: 500px;
      height: 250px;
      background: radial-gradient(ellipse, rgba(200,112,42,0.06) 0%, transparent 70%);
      filter: blur(60px);
      pointer-events: none;
    }
    [data-theme="light"] #service-contact { background: rgba(230,224,216,0.97); }

    .contact-form-wrap {
      max-width: 680px;
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      margin-bottom: 1rem;
    }
    @media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }
    .form-group.full { grid-column: 1 / -1; }

    .form-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--accent-1);
    }

    .form-input,
    .form-select,
    .form-textarea {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 0.75rem 1rem;
      font-family: 'Inter', sans-serif;
      font-size: 0.9rem;
      color: var(--text-primary);
      width: 100%;
      transition: border-color 0.2s, box-shadow 0.2s;
      outline: none;
    }
    .form-input::placeholder,
    .form-textarea::placeholder { color: var(--text-secondary); opacity: 0.6; }
    .form-select:required:invalid { color: var(--text-secondary); opacity: 0.6; }
    .form-select option { color: var(--text-primary); opacity: 1; }
    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
      border-color: var(--accent-1);
      box-shadow: 0 0 0 3px rgba(200,112,42,0.12);
    }
    .form-select {
      appearance: none;
      -webkit-appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A8178' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 0.9rem center;
      padding-right: 2.5rem;
      cursor: pointer;
    }
    .form-textarea {
      resize: vertical;
      min-height: 130px;
    }

    .form-opt-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.62rem;
      color: var(--text-secondary);
      margin-left: 0.3rem;
      text-transform: lowercase;
      letter-spacing: 0;
    }

    .form-turnstile {
      margin: 1rem 0;
    }

    .form-privacy-check {
      margin: 1rem 0 0;
    }
    .privacy-check-label {
      display: flex;
      gap: 0.75rem;
      align-items: flex-start;
      cursor: pointer;
    }
    .privacy-check-label input[type="checkbox"] {
      appearance: none;
      -webkit-appearance: none;
      width: 18px;
      height: 18px;
      min-width: 18px;
      border: 1px solid var(--border);
      border-radius: 4px;
      background: var(--bg-card);
      margin-top: 2px;
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s;
    }
    .privacy-check-label input[type="checkbox"]:checked {
      background: var(--accent-1);
      border-color: var(--accent-1);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: center;
    }
    .privacy-check-label input[type="checkbox"]:focus-visible {
      outline: 2px solid var(--accent-1);
      outline-offset: 2px;
    }
    .privacy-check-text {
      font-size: 0.7rem;
      color: var(--text-secondary);
      opacity: 0.7;
      line-height: 1.6;
    }
    .privacy-check-text a {
      color: var(--accent-2);
      text-decoration: underline;
    }
    .privacy-check-text em {
      font-style: normal;
      opacity: 0.75;
    }

    .form-submit-row {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      flex-wrap: wrap;
      margin-top: 1.25rem;
    }

    .form-privacy {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.68rem;
      color: var(--text-secondary);
      max-width: none;
    }

    #form-message {
      display: none;
      padding: 1rem 1.25rem;
      border-radius: 8px;
      font-size: 0.9rem;
      margin-top: 1rem;
    }
    #form-message.success {
      background: rgba(39,201,63,0.08);
      border: 1px solid rgba(39,201,63,0.25);
      color: #27C93F;
      display: block;
    }
    #form-message.error {
      background: rgba(200,112,42,0.08);
      border: 1px solid rgba(200,112,42,0.3);
      color: var(--accent-2);
      display: block;
    }

    @media (max-width: 600px) {
      #service-hero, .service-section, .service-section-alt, #service-contact { padding: 4.5rem 0; }
      .process-list { gap: 1rem; }
    }
