
    :root {
      --bg: oklch(98.2% .006 286); --surface: oklch(100% 0 0); --fg: oklch(20.2% .064 264);
      --muted: oklch(32.4% .055 264); --border: oklch(90.7% .016 267); --accent: oklch(45.5% .266 294);
      --brand-purple: oklch(58.5% .275 296); --soft-violet: oklch(94.3% .031 296); --focus: oklch(51.1% .230 277);
      --success: oklch(45% .13 153); --danger: oklch(49% .2 27);
      --font-display: "Manrope", "Trebuchet MS", sans-serif; --font-body: "Inter", "Segoe UI", sans-serif;
      --font-mono: "IBM Plex Mono", "Cascadia Mono", monospace;
      --shadow-soft: 0 12px 40px oklch(20.2% .064 264 / .10); --shadow-raised: 0 20px 60px oklch(20.2% .064 264 / .14);
      --r-sm: 10px; --r-md: 18px; --r-lg: 28px; --max: 1200px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--fg); font: 400 16px/1.625 var(--font-body); }
    img { display: block; max-width: 100%; }
    button, input, textarea, select, a { touch-action: manipulation; -webkit-tap-highlight-color: oklch(45.5% .266 294 / .12); }
    a { color: inherit; }
    :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
    .skip { position: fixed; z-index: 100; left: 16px; top: -80px; padding: 12px 16px; background: var(--fg); color: var(--surface); border-radius: var(--r-sm); }
    .skip:focus { top: 16px; }
    .container { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
    .section { position: relative; padding: 112px 0; scroll-margin-top: 88px; }
    .eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .09em; line-height: 1.5; text-transform: uppercase; }
    h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
    h1 { max-width: 11ch; font-size: clamp(58px, 5vw, 72px); line-height: 1.055; letter-spacing: -.03em; }
    h2 { font-size: clamp(38px, 3.35vw, 48px); line-height: 1.125; letter-spacing: -.02em; }
    h3 { font-size: 23px; line-height: 1.3; letter-spacing: -.01em; }
    p { text-wrap: pretty; }
    .section-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; margin-bottom: 56px; align-items: end; }
    .section-heading > p { max-width: 58ch; margin: 0; color: var(--muted); font-size: 18px; }
    .button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--r-sm); font: 600 14px/1 var(--font-body); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease; }
    .button:active { transform: translateY(2px); }
    .button-primary { background: var(--accent); color: var(--surface); box-shadow: 0 8px 24px oklch(45.5% .266 294 / .22); }
    .button-primary:hover { background: oklch(39.5% .24 294); box-shadow: 0 10px 30px oklch(45.5% .266 294 / .30); }
    .button-secondary { border-color: var(--fg); background: transparent; color: var(--fg); }
    .button-secondary:hover { background: var(--fg); color: var(--surface); }
    .button-light { border-color: oklch(100% 0 0 / .42); background: var(--surface); color: var(--fg); }
    .button-light:hover { background: oklch(92% .015 286); border-color: var(--surface); }
    .text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
    .text-link:hover { text-decoration-thickness: 2px; }

    .site-header { position: sticky; top: 0; z-index: 50; background: oklch(98.2% .006 286 / .9); border-bottom: 1px solid var(--border); backdrop-filter: blur(18px); }
    .nav { min-height: 82px; display: flex; align-items: center; gap: 28px; }
    .brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; }
    .brand img { width: 42px; height: 42px; object-fit: contain; }
    .brand-word { font: 600 21px/1 var(--font-display); letter-spacing: -.02em; }
    .brand-word small { display: block; margin-top: 4px; color: var(--muted); font: 500 9px/1 var(--font-body); letter-spacing: .13em; text-transform: uppercase; }
    .nav-links { display: flex; align-items: center; gap: 24px; }
    .nav-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: 14px; font-weight: 550; text-decoration: none; }
    .nav-links a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 7px; }
    .nav-contact { min-height: 44px; padding: 0 16px; border: 1px solid var(--fg); border-radius: var(--r-sm); color: var(--fg) !important; }
    .nav-contact:hover { background: var(--fg); color: var(--surface) !important; text-decoration: none !important; }

    .hero { min-height: 760px; display: grid; align-items: center; padding: 86px 0 96px; border-bottom: 1px solid var(--border); background: var(--surface); }
    .hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
    .hero-lead { max-width: 55ch; margin: 28px 0 34px; color: var(--muted); font-size: 20px; line-height: 1.5; }
    .hero-actions { display: flex; align-items: center; gap: 20px; }
    .hero-note { margin: 28px 0 0; color: var(--muted); font-size: 13px; }
    .hero-system { position: relative; min-height: 520px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg); }
    .hero-system::before, .hero-system::after { content: ""; position: absolute; background: var(--border); }
    .hero-system::before { width: 1px; height: 100%; left: 50%; }
    .hero-system::after { width: 100%; height: 1px; top: 50%; }
    .hero-icon { position: relative; z-index: 2; width: 172px; height: 172px; padding: 20px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-raised); }
    .hero-icon img { width: 100%; height: 100%; object-fit: contain; }
    .orbit { position: absolute; z-index: 3; min-height: 38px; display: inline-flex; align-items: center; padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 550; box-shadow: var(--shadow-soft); }
    .orbit-a { top: 48px; left: 48px; } .orbit-b { top: 52px; right: 38px; } .orbit-c { bottom: 52px; left: 42px; } .orbit-d { bottom: 48px; right: 42px; } .orbit-e { top: 50%; right: 22px; transform: translateY(-50%); }
    .system-caption { position: absolute; left: 24px; bottom: 20px; z-index: 3; color: var(--muted); font: 11px/1.5 var(--font-mono); letter-spacing: .02em; }

    .problem { background: var(--fg); color: var(--surface); }
    .problem .eyebrow { color: oklch(78% .13 296); }
    .problem-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 96px; align-items: start; }
    .problem h2 { max-width: 12ch; }
    .problem-list { border-top: 1px solid oklch(100% 0 0 / .18); }
    .problem-item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid oklch(100% 0 0 / .18); }
    .problem-item span { color: oklch(76% .04 270); font: 12px/1.7 var(--font-mono); }
    .problem-item p { margin: 0; color: oklch(89% .018 270); font-size: 18px; }

    .services { background: var(--bg); }
    .service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
    .service-card { grid-column: span 2; min-height: 300px; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
    .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 3; min-height: 268px; }
    .service-card:hover { transform: translateY(-4px); border-color: oklch(72% .04 267); box-shadow: var(--shadow-soft); }
    .service-number { margin-bottom: auto; color: var(--muted); font: 12px/1 var(--font-mono); }
    .service-card p { margin: 12px 0 0; color: var(--muted); }
    .service-card svg { width: 28px; height: 28px; margin-bottom: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

    .work { background: var(--surface); }
    .work-list { display: grid; gap: 24px; }
    .work-card { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 360px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg); }
    .work-visual { position: relative; min-height: 360px; display: grid; place-items: center; padding: 48px; background: var(--soft-violet); }
    .work-visual.dark { background: var(--fg); color: var(--surface); }
    .commerce-window { width: 78%; padding: 16px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-raised); transform: rotate(-2deg); }
    .commerce-top { height: 10px; width: 42%; margin-bottom: 16px; border-radius: 8px; background: var(--border); }
    .commerce-products { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
    .commerce-products span { aspect-ratio: .8; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--border); }
    .bodyrose-visual { padding: 0; overflow: hidden; background: #111; }
    .bodyrose-visual img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: center top; }
    .ops-map { width: 82%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .ops-map div { min-height: 88px; padding: 16px; border: 1px solid oklch(100% 0 0 / .2); border-radius: var(--r-sm); color: oklch(90% .02 270); font: 12px/1.5 var(--font-mono); }
    .ops-map div:first-child { grid-column: 1 / -1; }
    .work-copy { padding: 48px; align-self: center; }
    .work-label { color: var(--muted); font: 11px/1.5 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
    .work-copy h3 { margin-top: 18px; font-size: 34px; }
    .work-copy > p { max-width: 52ch; margin: 18px 0 26px; color: var(--muted); }
    .tags { display: flex; flex-wrap: wrap; gap: 8px; }
    .tag { min-height: 32px; display: inline-flex; align-items: center; padding: 5px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 12px; }
    .status-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }

    .why-process { background: var(--bg); }
    .split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
    .why-list { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--border); }
    .why-item { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border); }
    .why-item span { color: var(--muted); font: 12px var(--font-mono); }
    .why-item strong { display: block; margin-bottom: 5px; font-family: var(--font-display); }
    .why-item p { margin: 0; color: var(--muted); font-size: 14px; }
    .process-list { margin-top: 40px; padding-left: 32px; border-left: 1px solid var(--border); }
    .process-step { position: relative; padding: 0 0 28px 28px; }
    .process-step:last-child { padding-bottom: 0; }
    .process-step::before { content: ""; position: absolute; left: -37px; top: 3px; width: 9px; height: 9px; border: 3px solid var(--surface); border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 1px var(--fg); }
    .process-step small { color: var(--muted); font: 11px/1 var(--font-mono); }
    .process-step h3 { margin-top: 7px; font-size: 19px; }
    .process-step p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }

    .products { overflow: hidden; padding-block: 88px; background: var(--fg); color: var(--surface); }
    .product-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 64px; align-items: center; }
    .product-mark { position: relative; min-height: 300px; display: grid; place-items: center; border: 1px solid oklch(100% 0 0 / .16); border-radius: var(--r-lg); }
    .product-mark img { width: 140px; height: 140px; object-fit: contain; filter: drop-shadow(0 18px 36px oklch(0% 0 0 / .24)); }
    .product-mark::after { content: "HUG APPWORKS PRODUCT"; position: absolute; left: 22px; bottom: 20px; color: oklch(78% .03 270); font: 10px/1 var(--font-mono); letter-spacing: .12em; }
    .products .eyebrow { color: oklch(78% .13 296); }
    .products h2 { max-width: 18ch; font-size: clamp(34px, 2.8vw, 40px); }
    .product-copy h3 { margin-top: 8px; font-size: 26px; }
    .product-copy > p:not(.eyebrow) { max-width: 58ch; margin: 18px 0 22px; color: oklch(88% .02 270); font-size: 16px; }
    .product-status { display: inline-flex; min-height: 34px; align-items: center; gap: 9px; padding: 5px 11px; border: 1px solid oklch(100% 0 0 / .25); border-radius: 999px; color: oklch(90% .02 270); font-size: 12px; }
    .product-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: oklch(78% .13 296); }

    .help { background: var(--soft-violet); }
    .help-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 96px; align-items: center; }
    .help h2 { max-width: 12ch; }
    .help-copy > p { max-width: 55ch; margin: 24px 0 30px; color: var(--muted); font-size: 18px; }
    .decision-list { display: grid; gap: 10px; padding: 24px; border: 1px solid oklch(82% .04 290); border-radius: var(--r-md); background: oklch(100% 0 0 / .72); }
    .decision { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); color: var(--muted); font-size: 14px; }
    .decision span { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--fg); font: 10px var(--font-mono); }

    .final-cta { padding: 104px 0; background: var(--surface); }
    .cta-box { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: end; padding: 64px; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
    .cta-box h2 { max-width: 14ch; }
    .cta-box p { max-width: 52ch; margin: 20px 0 0; color: var(--muted); }
    .cta-action { justify-self: end; }

    .contact { background: var(--bg); }
    .contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 96px; }
    .contact-copy > p { max-width: 42ch; margin: 24px 0 30px; color: var(--muted); }
    .email-list { display: grid; gap: 10px; }
    .email-list a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; text-underline-offset: 5px; overflow-wrap: anywhere; }
    .contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 32px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
    label { min-width: 0; display: grid; gap: 8px; color: var(--fg); font-size: 13px; font-weight: 600; }
    label.full { grid-column: 1 / -1; }
    input, select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); color: var(--fg); font: 400 15px/1.5 var(--font-body); }
    textarea { min-height: 128px; resize: vertical; }
    input:hover, select:hover, textarea:hover { border-color: var(--muted); }
    label:focus-within { color: var(--accent); }
    .form-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; }
    .form-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
    .form-status { margin: 0; color: var(--muted); font-size: 13px; }

    .footer { padding: 64px 0 28px; background: var(--fg); color: var(--surface); }
    .footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 64px; padding-bottom: 56px; }
    .footer-brand { display: flex; align-items: center; gap: 12px; }
    .footer-brand img { width: 48px; height: 48px; object-fit: contain; }
    .footer-brand strong { font: 600 22px/1 var(--font-display); }
    .footer p { max-width: 40ch; color: oklch(84% .025 270); }
    .footer h3 { margin-bottom: 16px; color: oklch(74% .04 270); font: 600 11px/1 var(--font-body); letter-spacing: .09em; text-transform: uppercase; }
    .footer-links { display: grid; gap: 8px; }
    .footer-links a { min-height: 36px; display: inline-flex; align-items: center; color: oklch(90% .018 270); font-size: 14px; text-decoration: none; }
    .footer-links a:hover { color: var(--surface); text-decoration: underline; text-underline-offset: 5px; }
    .footer-bottom { display: flex; justify-content: space-between; gap: 32px; padding-top: 24px; border-top: 1px solid oklch(100% 0 0 / .14); color: oklch(72% .03 270); font-size: 12px; }

    .menu-button { display: none; width: 48px; height: 48px; place-items: center; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); color: var(--fg); cursor: pointer; }
    .menu-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
    .mobile-menu { display: none; }
    @media (max-width: 820px) {
      .nav-links { display: none; }
      .menu-button { display: grid; }
      .mobile-menu { width: min(100% - 48px, 720px); margin: 0 auto; padding: 0 0 16px; }
      .mobile-menu.is-open { display: grid; }
      .mobile-menu a { min-height: 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 15px; font-weight: 550; text-decoration: none; }
      .mobile-menu a:hover { color: var(--fg); }
    }
    @media (max-width: 520px) {
      .mobile-menu { width: calc(100% - 32px); }
      .hero { padding-top: 58px; }
      .hero-system { min-height: 300px; }
      .orbit { font-size: 10px; min-height: 32px; padding: 5px 9px; }
      .orbit-a { top: 18px; left: 16px; }
      .orbit-b { top: 20px; right: 14px; }
      .orbit-c { bottom: 18px; left: 18px; }
      .orbit-d { right: 14px; bottom: 18px; }
      .hero-icon { width: 112px; height: 112px; padding: 14px; }
      .problem-item { grid-template-columns: 34px 1fr; gap: 10px; }
      .product-mark { min-height: 180px; }
      .product-mark img { width: 104px; height: 104px; }
      .products { padding-block: 64px; }
    }


    /* === HUG AppWorks V1.1 · Living Interface === */
    :root { --motion-fast:180ms; --motion-base:420ms; --motion-slow:700ms; --ease-out:cubic-bezier(.2,.7,.2,1); }

    .site-header { transition: background-color var(--motion-fast) var(--ease-out), box-shadow var(--motion-fast) var(--ease-out), border-color var(--motion-fast) var(--ease-out); }
    .site-header.is-scrolled { background:oklch(98.2% .006 286 / .97); border-bottom-color:oklch(86% .02 267); box-shadow:0 10px 32px oklch(20.2% .064 264 / .08); }
    .site-header.is-scrolled .nav { min-height:68px; }
    .nav { transition:min-height var(--motion-fast) var(--ease-out); }

    .living-hero { isolation:isolate; }
    .living-hero::after { content:""; position:absolute; width:360px; height:360px; border-radius:50%; background:radial-gradient(circle, oklch(70% .18 296 / .16) 0%, oklch(70% .18 296 / 0) 68%); filter:blur(10px); z-index:0; pointer-events:none; animation:hugPulse 8s ease-in-out infinite; }
    .living-hero .hero-icon { animation:hugBreathe 6s ease-in-out infinite; }
    .living-hero .orbit { will-change:transform; animation:hugFloat 5.8s ease-in-out infinite; }
    .living-hero .orbit-b { animation-delay:-1.4s; }
    .living-hero .orbit-c { animation-delay:-2.8s; }
    .living-hero .orbit-d { animation-delay:-4.2s; }
    .living-hero .orbit-e { animation-delay:-1.9s; }

    @keyframes hugFloat { 0%,100%{translate:0 0} 50%{translate:0 -7px} }
    @keyframes hugBreathe { 0%,100%{transform:scale(1);box-shadow:var(--shadow-raised)} 50%{transform:scale(1.025);box-shadow:0 24px 72px oklch(45.5% .266 294 / .18)} }
    @keyframes hugPulse { 0%,100%{transform:scale(.96);opacity:.64} 50%{transform:scale(1.06);opacity:1} }

    .reveal-section,.reveal-card,.reveal-step { opacity:0; transform:translateY(18px); transition:opacity var(--motion-slow) var(--ease-out),transform var(--motion-slow) var(--ease-out); }
    .reveal-section.is-visible,.reveal-card.is-visible,.reveal-step.is-visible { opacity:1; transform:translateY(0); }
    .reveal-card:nth-child(2){transition-delay:70ms}.reveal-card:nth-child(3){transition-delay:140ms}.reveal-card:nth-child(4){transition-delay:210ms}.reveal-card:nth-child(5){transition-delay:280ms}

    .service-card { position:relative; overflow:hidden; }
    .service-card::after { content:""; position:absolute; left:0; bottom:0; width:0; height:3px; background:linear-gradient(90deg,var(--accent),var(--brand-purple)); transition:width var(--motion-base) var(--ease-out); }
    .service-card:hover::after { width:100%; }
    .service-card svg { transition:transform var(--motion-fast) var(--ease-out),color var(--motion-fast) var(--ease-out); }
    .service-card:hover svg { transform:translateY(-3px) scale(1.04); color:var(--accent); }

    .work-card { transition:transform var(--motion-base) var(--ease-out),box-shadow var(--motion-base) var(--ease-out),border-color var(--motion-base) var(--ease-out); }
    .work-card:hover { transform:translateY(-4px); border-color:oklch(82% .04 290); box-shadow:var(--shadow-raised); }
    .work-visual img { transition:transform 900ms var(--ease-out); }
    .work-card:hover .work-visual img { transform:scale(1.025); }

    .button-primary { position:relative; overflow:hidden; }
    .button-primary::after { content:""; position:absolute; inset:-1px; border-radius:inherit; background:radial-gradient(circle at 50% 50%,oklch(88% .08 296 / .35),transparent 60%); opacity:0; transition:opacity var(--motion-fast) var(--ease-out); pointer-events:none; }
    .button-primary:hover::after { opacity:1; }

    .process-list { position:relative; }
    .process-progress { position:absolute; left:-1px; top:0; width:2px; height:var(--process-progress,0%); max-height:100%; background:linear-gradient(var(--accent),var(--brand-purple)); border-radius:999px; transition:height 120ms linear; }

    .contact-form input,.contact-form select,.contact-form textarea { transition:border-color var(--motion-fast) var(--ease-out),box-shadow var(--motion-fast) var(--ease-out); }
    .contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus { border-color:var(--accent); box-shadow:0 0 0 4px oklch(45.5% .266 294 / .08); }

    .hero-system,.work-visual,.product-mark,.decision-list,.cta-box {
      background-image:linear-gradient(oklch(45.5% .266 294 / .025) 1px,transparent 1px),linear-gradient(90deg,oklch(45.5% .266 294 / .025) 1px,transparent 1px);
      background-size:28px 28px;
    }

    @media (max-width:520px) {
      .living-hero::after { width:250px; height:250px; }
      .site-header.is-scrolled .nav { min-height:64px; }
      .reveal-section,.reveal-card,.reveal-step { transform:translateY(12px); }
    }

    @media (prefers-reduced-motion:reduce) {
      .living-hero::after,.living-hero .hero-icon,.living-hero .orbit { animation:none !important; }
      .reveal-section,.reveal-card,.reveal-step { opacity:1 !important; transform:none !important; transition:none !important; }
      .site-header,.nav,.service-card,.service-card svg,.work-card,.work-visual img,.button-primary::after,.contact-form input,.contact-form select,.contact-form textarea { transition:none !important; }
    }


    /* === HUG AppWorks V1.2 · Modern Pulse === */

    body {
      background:
        radial-gradient(circle at 15% 8%, oklch(94% .055 296 / .62), transparent 24rem),
        radial-gradient(circle at 88% 14%, oklch(92% .05 250 / .55), transparent 26rem),
        var(--bg);
    }

    /* Floating glass navigation */
    .site-header {
      border-bottom: 0;
      background: transparent;
      padding-top: 14px;
      pointer-events: none;
    }
    .site-header .nav,
    .site-header .mobile-menu {
      pointer-events: auto;
    }
    .site-header .nav {
      padding-inline: 22px;
      border: 1px solid oklch(90% .025 270 / .85);
      border-radius: 18px;
      background: oklch(100% 0 0 / .82);
      box-shadow: 0 12px 36px oklch(20.2% .064 264 / .08);
      backdrop-filter: blur(22px) saturate(140%);
    }
    .site-header.is-scrolled {
      background: transparent;
      border-bottom-color: transparent;
      box-shadow: none;
    }
    .site-header.is-scrolled .nav {
      min-height: 64px;
      background: oklch(100% 0 0 / .92);
      box-shadow: 0 18px 44px oklch(20.2% .064 264 / .13);
    }

    /* Hero becomes visibly more contemporary */
    .hero {
      position: relative;
      overflow: hidden;
      padding-top: 108px;
      background:
        radial-gradient(circle at 74% 42%, oklch(78% .13 296 / .20), transparent 26rem),
        linear-gradient(135deg, oklch(100% 0 0) 0%, oklch(97.5% .014 286) 52%, oklch(95.5% .028 296) 100%);
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background-image:
        linear-gradient(oklch(45.5% .266 294 / .035) 1px, transparent 1px),
        linear-gradient(90deg, oklch(45.5% .266 294 / .035) 1px, transparent 1px);
      background-size: 42px 42px;
      mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 76%);
    }
    .hero-grid { position: relative; z-index: 1; }

    .hero-status {
      width: fit-content;
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 22px;
      padding: 8px 12px;
      border: 1px solid oklch(84% .04 290);
      border-radius: 999px;
      background: oklch(100% 0 0 / .68);
      color: var(--muted);
      font: 600 10px/1 var(--font-mono);
      letter-spacing: .08em;
      box-shadow: 0 8px 24px oklch(20.2% .064 264 / .06);
      backdrop-filter: blur(12px);
    }
    .signal-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--brand-purple);
      box-shadow: 0 0 0 5px oklch(58.5% .275 296 / .10);
    }
    .status-sep { opacity: .35; }

    .hero h1 {
      background: linear-gradient(125deg, var(--fg) 0%, var(--fg) 62%, var(--accent) 100%);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
    }

    /* Dark, glowing tech canvas on the right */
    .hero-system {
      border-color: oklch(42% .08 270);
      background:
        radial-gradient(circle at 50% 45%, oklch(58.5% .275 296 / .30), transparent 34%),
        linear-gradient(145deg, #071127 0%, #0C1732 50%, #111B3E 100%);
      box-shadow:
        0 34px 90px oklch(20.2% .064 264 / .22),
        inset 0 0 0 1px oklch(100% 0 0 / .035);
    }
    .hero-system::before, .hero-system::after {
      background: oklch(100% 0 0 / .10);
    }
    .hero-system .orbit {
      border-color: oklch(100% 0 0 / .16);
      background: oklch(100% 0 0 / .10);
      color: oklch(96% .01 270);
      box-shadow: 0 10px 26px oklch(0% 0 0 / .18);
      backdrop-filter: blur(14px);
    }
    .hero-system .hero-icon {
      border-color: oklch(100% 0 0 / .18);
      background: oklch(100% 0 0 / .94);
      box-shadow:
        0 0 0 14px oklch(58.5% .275 296 / .08),
        0 26px 60px oklch(0% 0 0 / .32);
    }
    .hero-system .system-caption {
      color: oklch(80% .04 280);
    }

    /* Capability ribbon: obvious motion and visual change */
    
    
    
    
      to { transform: translateX(-50%); }
    }

    /* Stronger problem section */
    .problem {
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(circle at 86% 10%, oklch(58.5% .275 296 / .28), transparent 24rem),
        linear-gradient(145deg, #071127, #0B1734 62%, #141A40);
    }
    .problem::after {
      content: "01";
      position: absolute;
      right: 5%;
      bottom: -52px;
      color: oklch(100% 0 0 / .035);
      font: 700 260px/1 var(--font-display);
      letter-spacing: -.06em;
      pointer-events: none;
    }

    /* Bento-like service cards */
    .services {
      background:
        radial-gradient(circle at 8% 15%, oklch(94% .045 296), transparent 22rem),
        var(--bg);
    }
    .service-card {
      border-color: oklch(88% .028 275);
      box-shadow: 0 10px 32px oklch(20.2% .064 264 / .055);
    }
    .service-card:nth-child(1) {
      background: linear-gradient(145deg, #FFFFFF, #F4F0FF);
    }
    .service-card:nth-child(2) {
      background: linear-gradient(145deg, #FFFFFF, #EEF4FF);
    }
    .service-card:nth-child(3) {
      background: linear-gradient(145deg, #FFFFFF, #F8F3FF);
    }
    .service-card:nth-child(4) {
      background: linear-gradient(145deg, #FBFBFF, #EEF0FA);
    }
    .service-card:nth-child(5) {
      background:
        radial-gradient(circle at 88% 18%, oklch(58.5% .275 296 / .14), transparent 10rem),
        linear-gradient(145deg, #FFFFFF, #F3EEFF);
    }
    .service-number {
      position: relative;
      z-index: 2;
      width: fit-content;
      padding: 6px 9px;
      border-radius: 999px;
      background: var(--fg);
      color: white;
    }
    .service-card h3 {
      font-size: 28px;
    }

    /* More editorial project presentation */
    .work {
      background:
        linear-gradient(180deg, #FFFFFF 0%, #FAFAFE 100%);
    }
    .work-card {
      border-color: oklch(86% .03 280);
      box-shadow: 0 20px 58px oklch(20.2% .064 264 / .08);
    }
    .work-card:nth-child(2) {
      transform: translateX(34px);
    }
    .work-card:nth-child(2):hover {
      transform: translateX(34px) translateY(-4px);
    }

    /* Why/process as modern glass panels */
    .why-process {
      background:
        radial-gradient(circle at 78% 20%, oklch(93% .055 296), transparent 24rem),
        #F7F8FC;
    }
    .why-process .split > div {
      padding: 42px;
      border: 1px solid oklch(88% .025 275);
      border-radius: 28px;
      background: oklch(100% 0 0 / .72);
      box-shadow: 0 18px 48px oklch(20.2% .064 264 / .065);
      backdrop-filter: blur(14px);
    }

    /* Product section has a visible gradient instead of flat navy */
    .products {
      background:
        radial-gradient(circle at 20% 50%, oklch(65% .20 296 / .28), transparent 23rem),
        linear-gradient(115deg, #071127 0%, #131642 50%, #3A126C 100%);
    }
    .product-mark {
      border-color: oklch(100% 0 0 / .22);
      background: oklch(100% 0 0 / .055);
      box-shadow: inset 0 0 0 1px oklch(100% 0 0 / .035);
      backdrop-filter: blur(10px);
    }

    /* CTA becomes a visual destination */
    .cta-box {
      position: relative;
      overflow: hidden;
      border-color: oklch(84% .05 292);
      background:
        radial-gradient(circle at 92% 12%, oklch(58.5% .275 296 / .20), transparent 20rem),
        linear-gradient(145deg, #FFFFFF, #F7F3FF);
      box-shadow: 0 26px 72px oklch(20.2% .064 264 / .12);
    }
    .cta-box::after {
      content: "";
      position: absolute;
      right: -90px;
      bottom: -120px;
      width: 280px;
      height: 280px;
      border: 1px solid oklch(58.5% .275 296 / .22);
      border-radius: 50%;
      box-shadow:
        0 0 0 34px oklch(58.5% .275 296 / .05),
        0 0 0 68px oklch(58.5% .275 296 / .03);
      pointer-events: none;
    }

    @media (max-width: 820px) {
      .site-header { padding-top: 8px; }
      .site-header .nav { border-radius: 14px; padding-inline: 16px; }
      .work-card:nth-child(2),
      .work-card:nth-child(2):hover { transform: none; }
      .why-process .split > div { padding: 28px; }
      
    }

    @media (max-width: 520px) {
      .hero { padding-top: 86px; }
      .hero-status { font-size: 9px; }
      .hero-system { min-height: 320px; }
      .service-card h3 { font-size: 24px; }
      .why-process .split > div { padding: 24px 20px; border-radius: 22px; }
    }

    @media (prefers-reduced-motion: reduce) {
      
    }


    /* === HUG AppWorks V1.3 · Premium Interface === */

    /* Stable capabilities dock: no marquee, no vibration */
    .capability-dock {
      position: relative;
      z-index: 3;
      border-top: 1px solid oklch(100% 0 0 / .10);
      border-bottom: 1px solid oklch(100% 0 0 / .10);
      background:
        radial-gradient(circle at 20% 50%, oklch(58.5% .275 296 / .16), transparent 20rem),
        linear-gradient(90deg, #071127 0%, #0C1732 45%, #17143B 100%);
      color: white;
    }
    .capability-dock-inner {
      min-height: 74px;
      display: flex;
      align-items: center;
      gap: 28px;
    }
    .dock-label {
      flex: 0 0 auto;
      color: oklch(78% .13 296);
      font: 600 10px/1 var(--font-mono);
      letter-spacing: .14em;
    }
    .dock-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      min-width: 0;
    }
    .dock-chips span {
      min-height: 34px;
      display: inline-flex;
      align-items: center;
      padding: 7px 12px;
      border: 1px solid oklch(100% 0 0 / .15);
      border-radius: 999px;
      background: oklch(100% 0 0 / .055);
      color: oklch(95% .015 270);
      font-size: 12px;
      font-weight: 550;
      backdrop-filter: blur(10px);
      transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
    }
    .dock-chips span:hover {
      transform: translateY(-2px);
      border-color: oklch(78% .13 296 / .55);
      background: oklch(100% 0 0 / .09);
    }

    /* More premium page rhythm */
    .section { padding-block: 124px; }
    .section-heading { margin-bottom: 64px; }

    /* Hero refinement */
    .hero {
      min-height: 820px;
      background:
        radial-gradient(circle at 80% 18%, oklch(76% .14 296 / .20), transparent 24rem),
        radial-gradient(circle at 12% 82%, oklch(90% .07 260 / .62), transparent 28rem),
        linear-gradient(135deg, #FFFFFF 0%, #FBFAFF 46%, #F3F0FF 100%);
    }
    .hero::after {
      content: "";
      position: absolute;
      width: 520px;
      height: 520px;
      right: -210px;
      top: 90px;
      border-radius: 50%;
      border: 1px solid oklch(58.5% .275 296 / .10);
      box-shadow:
        0 0 0 42px oklch(58.5% .275 296 / .025),
        0 0 0 84px oklch(58.5% .275 296 / .015);
      pointer-events: none;
    }
    .hero-lead { font-size: 21px; }
    .hero-actions .button-primary {
      min-height: 54px;
      padding-inline: 26px;
    }

    /* System visual more polished and less game-like */
    .hero-system {
      border-radius: 32px;
      background:
        radial-gradient(circle at 50% 46%, oklch(58.5% .275 296 / .30), transparent 30%),
        radial-gradient(circle at 18% 18%, oklch(72% .12 260 / .15), transparent 26%),
        linear-gradient(145deg, #071127 0%, #0B1630 56%, #18143A 100%);
    }
    .hero-system::before,
    .hero-system::after {
      background: oklch(100% 0 0 / .075);
    }
    .hero-system .orbit {
      border-color: oklch(100% 0 0 / .15);
      background: oklch(100% 0 0 / .07);
      box-shadow: 0 14px 34px oklch(0% 0 0 / .18);
    }
    .living-hero .orbit {
      animation-duration: 7.8s;
    }
    @keyframes hugFloat {
      0%,100% { translate:0 0; }
      50% { translate:0 -4px; }
    }
    .living-hero .hero-icon {
      animation-duration: 7.4s;
    }

    /* Eyebrow ornaments */
    .section .eyebrow,
    .final-cta .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
    }
    .section .eyebrow::before,
    .final-cta .eyebrow::before {
      content: "";
      width: 18px;
      height: 1px;
      background: currentColor;
      opacity: .55;
    }

    /* Problem section: cleaner large editorial composition */
    .problem {
      background:
        radial-gradient(circle at 82% 12%, oklch(58.5% .275 296 / .22), transparent 23rem),
        linear-gradient(145deg, #061026 0%, #0A1633 64%, #151941 100%);
    }
    .problem-grid {
      position: relative;
      z-index: 1;
    }
    .problem-item {
      transition: padding-left .22s ease, background-color .22s ease;
    }
    .problem-item:hover {
      padding-left: 10px;
      background: oklch(100% 0 0 / .025);
    }

    /* Services: more obvious premium bento hierarchy */
    .services {
      background:
        radial-gradient(circle at 7% 14%, oklch(94% .05 296), transparent 22rem),
        radial-gradient(circle at 92% 84%, oklch(94% .04 255), transparent 26rem),
        #F9FAFD;
    }
    .service-grid {
      gap: 20px;
    }
    .service-card {
      min-height: 320px;
      border-radius: 24px;
      box-shadow: 0 16px 46px oklch(20.2% .064 264 / .065);
    }
    .service-card:nth-child(4),
    .service-card:nth-child(5) {
      min-height: 290px;
    }
    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 24px 70px oklch(20.2% .064 264 / .12);
    }
    .service-card h3 { font-size: 29px; }
    .service-card p { max-width: 34ch; }

    /* Client work: framed like real case studies */
    .work {
      background:
        linear-gradient(180deg, #FFFFFF 0%, #F8F9FD 100%);
    }
    .work-list { gap: 34px; }
    .work-card {
      min-height: 390px;
      border-radius: 30px;
      box-shadow: 0 22px 64px oklch(20.2% .064 264 / .095);
    }
    .work-copy { padding: 56px; }
    .work-copy h3 { font-size: 38px; }
    .work-label {
      width: fit-content;
      padding: 7px 10px;
      border: 1px solid var(--border);
      border-radius: 999px;
      background: var(--surface);
    }

    /* Why/process cards no longer flat */
    .why-process {
      background:
        radial-gradient(circle at 78% 18%, oklch(94% .055 296), transparent 24rem),
        linear-gradient(180deg, #F7F8FC, #F2F4FA);
    }
    .why-process .split > div {
      position: relative;
      overflow: hidden;
      min-height: 560px;
      padding: 48px;
      border-radius: 30px;
      background: oklch(100% 0 0 / .76);
      box-shadow: 0 24px 74px oklch(20.2% .064 264 / .09);
    }
    .why-process .split > div::after {
      content: "";
      position: absolute;
      width: 220px;
      height: 220px;
      right: -110px;
      bottom: -110px;
      border-radius: 50%;
      border: 1px solid oklch(58.5% .275 296 / .10);
      box-shadow: 0 0 0 30px oklch(58.5% .275 296 / .025);
    }

    /* Products: stronger premium glow, but still secondary */
    .products {
      background:
        radial-gradient(circle at 18% 50%, oklch(65% .20 296 / .26), transparent 22rem),
        radial-gradient(circle at 82% 18%, oklch(70% .12 252 / .16), transparent 20rem),
        linear-gradient(115deg, #061026 0%, #111641 55%, #34115F 100%);
    }
    .product-mark {
      border-radius: 30px;
      background:
        radial-gradient(circle at 50% 50%, oklch(100% 0 0 / .11), transparent 58%),
        oklch(100% 0 0 / .035);
    }

    /* Guidance becomes a distinct consultation panel */
    .help {
      background:
        radial-gradient(circle at 88% 18%, oklch(58.5% .275 296 / .14), transparent 20rem),
        linear-gradient(145deg, #F2ECFF 0%, #F8F7FC 55%, #EEF3FF 100%);
    }
    .decision-list {
      border-radius: 24px;
      box-shadow: 0 20px 60px oklch(20.2% .064 264 / .08);
    }
    .decision {
      transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    }
    .decision:hover {
      transform: translateX(4px);
      border-color: oklch(75% .07 292);
      box-shadow: 0 8px 24px oklch(20.2% .064 264 / .06);
    }

    /* Stronger CTA */
    .final-cta {
      padding-block: 124px;
      background:
        radial-gradient(circle at 10% 90%, oklch(92% .055 296), transparent 22rem),
        #FFFFFF;
    }
    .cta-box {
      border-radius: 32px;
      padding: 72px;
      background:
        radial-gradient(circle at 92% 12%, oklch(58.5% .275 296 / .23), transparent 21rem),
        linear-gradient(145deg, #FFFFFF 0%, #FAF7FF 100%);
      box-shadow: 0 30px 88px oklch(20.2% .064 264 / .13);
    }

    /* Contact panel */
    .contact {
      background:
        linear-gradient(180deg, #F8F9FD 0%, #F4F6FA 100%);
    }
    .contact-form {
      border-radius: 26px;
      box-shadow: 0 18px 58px oklch(20.2% .064 264 / .075);
    }

    /* Footer with subtle gradient */
    .footer {
      background:
        radial-gradient(circle at 84% 10%, oklch(58.5% .275 296 / .18), transparent 22rem),
        linear-gradient(145deg, #061026, #0B1734 65%, #17153A);
    }

    @media (max-width: 820px) {
      .capability-dock-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding-block: 18px;
      }
      .dock-chips { gap: 8px; }
      .hero { min-height: auto; padding-top: 94px; }
      .why-process .split > div { min-height: auto; padding: 30px; }
      .work-copy { padding: 34px; }
      .work-copy h3 { font-size: 32px; }
      .cta-box { padding: 38px; }
    }

    @media (max-width: 520px) {
      .site-header .nav {
        width: calc(100% - 24px);
      }
      .hero {
        padding-top: 84px;
      }
      .hero::after {
        width: 320px;
        height: 320px;
        right: -180px;
      }
      .capability-dock-inner {
        width: calc(100% - 32px);
      }
      .dock-chips span {
        font-size: 11px;
        min-height: 32px;
      }
      .section { padding-block: 84px; }
      .service-card { min-height: 220px; }
      .work-card { min-height: auto; }
      .work-copy { padding: 28px 24px 32px; }
      .why-process .split > div { padding: 26px 22px; border-radius: 24px; }
      .cta-box { padding: 30px 24px; border-radius: 26px; }
    }

    @media (prefers-reduced-motion: reduce) {
      .living-hero .orbit,
      .living-hero .hero-icon {
        animation: none !important;
      }
    }


    /* === HUG AppWorks V1.4 · Dock Fix + Hover Squares === */

    /* Fix definitivo: la barra de capacidades queda completamente estática */
    .capability-dock,
    .capability-dock *,
    .dock-chips span {
      animation: none !important;
      transform: none !important;
    }
    .capability-dock {
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(circle at 18% 50%, oklch(58.5% .275 296 / .14), transparent 18rem),
        linear-gradient(90deg, #071127 0%, #0C1732 45%, #17143B 100%);
      box-shadow: inset 0 1px 0 oklch(100% 0 0 / .05), inset 0 -1px 0 oklch(100% 0 0 / .05);
    }
    .capability-dock::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(oklch(100% 0 0 / .03) 1px, transparent 1px),
        linear-gradient(90deg, oklch(100% 0 0 / .03) 1px, transparent 1px);
      background-size: 28px 28px;
      pointer-events: none;
    }
    .capability-dock-inner {
      position: relative;
      z-index: 1;
      min-height: 78px;
      align-items: center;
    }
    .dock-label {
      color: oklch(82% .12 296);
      text-shadow: 0 0 18px oklch(58.5% .275 296 / .16);
    }
    .dock-chips span {
      transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease !important;
      box-shadow: none;
    }
    .dock-chips span:hover {
      border-color: oklch(82% .12 296 / .50);
      background: oklch(100% 0 0 / .12);
      box-shadow: 0 10px 24px oklch(0% 0 0 / .16);
    }

    /* Cuatro cuadros internos del panel derecho */
    .hero-system {
      isolation: isolate;
    }
    .hero-grid-mini {
      position: absolute;
      inset: 50% auto auto 50%;
      width: 248px;
      height: 248px;
      translate: -50% -50%;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      z-index: 1;
      pointer-events: none;
    }
    .mini-cell {
      border-radius: 24px;
      border: 1px solid oklch(100% 0 0 / .12);
      background:
        linear-gradient(145deg, oklch(100% 0 0 / .06), oklch(100% 0 0 / .02));
      box-shadow:
        inset 0 1px 0 oklch(100% 0 0 / .06),
        0 14px 34px oklch(0% 0 0 / .16);
      backdrop-filter: blur(8px);
      opacity: .72;
      transition:
        transform .32s cubic-bezier(.2,.7,.2,1),
        border-color .25s ease,
        background-color .25s ease,
        box-shadow .25s ease,
        opacity .25s ease;
    }
    .mini-cell::after {
      content: "";
      position: absolute;
      inset: 10px;
      border-radius: 18px;
      border: 1px solid oklch(100% 0 0 / .06);
      opacity: .65;
    }
    .mini-cell-a { transform: translate(-10px, -10px); }
    .mini-cell-b { transform: translate(10px, -10px); }
    .mini-cell-c { transform: translate(-10px, 10px); }
    .mini-cell-d { transform: translate(10px, 10px); }

    .hero-system:hover .mini-cell,
    .hero-system:focus-within .mini-cell {
      opacity: 1;
      border-color: oklch(78% .13 296 / .52);
      background:
        radial-gradient(circle at 30% 30%, oklch(78% .13 296 / .14), transparent 60%),
        linear-gradient(145deg, oklch(100% 0 0 / .12), oklch(100% 0 0 / .04));
      box-shadow:
        0 0 0 1px oklch(78% .13 296 / .10),
        0 22px 44px oklch(0% 0 0 / .22),
        0 0 24px oklch(58.5% .275 296 / .16);
    }
    .hero-system:hover .mini-cell-a,
    .hero-system:focus-within .mini-cell-a {
      transform: translate(-18px, -18px) scale(1.04);
    }
    .hero-system:hover .mini-cell-b,
    .hero-system:focus-within .mini-cell-b {
      transform: translate(18px, -18px) scale(1.04);
      transition-delay: .04s;
    }
    .hero-system:hover .mini-cell-c,
    .hero-system:focus-within .mini-cell-c {
      transform: translate(-18px, 18px) scale(1.04);
      transition-delay: .08s;
    }
    .hero-system:hover .mini-cell-d,
    .hero-system:focus-within .mini-cell-d {
      transform: translate(18px, 18px) scale(1.04);
      transition-delay: .12s;
    }

    .hero-system:hover .hero-icon,
    .hero-system:focus-within .hero-icon {
      box-shadow:
        0 0 0 18px oklch(58.5% .275 296 / .10),
        0 32px 68px oklch(0% 0 0 / .34);
      transform: scale(1.02);
      transition: transform .28s ease, box-shadow .28s ease;
    }

    @media (max-width: 820px) {
      .hero-grid-mini {
        width: 200px;
        height: 200px;
        gap: 10px;
      }
      .mini-cell { border-radius: 20px; }
      .mini-cell::after { inset: 8px; border-radius: 14px; }
    }

    @media (max-width: 520px) {
      .capability-dock-inner {
        min-height: auto;
      }
      .hero-grid-mini {
        width: 148px;
        height: 148px;
        gap: 8px;
      }
      .mini-cell { border-radius: 16px; }
      .mini-cell::after { inset: 7px; border-radius: 10px; }
      .mini-cell-a { transform: translate(-6px, -6px); }
      .mini-cell-b { transform: translate(6px, -6px); }
      .mini-cell-c { transform: translate(-6px, 6px); }
      .mini-cell-d { transform: translate(6px, 6px); }

      .hero-system:hover .mini-cell-a,
      .hero-system:focus-within .mini-cell-a { transform: translate(-10px, -10px) scale(1.03); }
      .hero-system:hover .mini-cell-b,
      .hero-system:focus-within .mini-cell-b { transform: translate(10px, -10px) scale(1.03); }
      .hero-system:hover .mini-cell-c,
      .hero-system:focus-within .mini-cell-c { transform: translate(-10px, 10px) scale(1.03); }
      .hero-system:hover .mini-cell-d,
      .hero-system:focus-within .mini-cell-d { transform: translate(10px, 10px) scale(1.03); }
    }

    @media (prefers-reduced-motion: reduce) {
      .mini-cell,
      .hero-icon,
      .dock-chips span {
        transition: none !important;
      }
      .hero-system:hover .mini-cell,
      .hero-system:focus-within .mini-cell {
        transform: none !important;
      }
      .hero-system:hover .hero-icon,
      .hero-system:focus-within .hero-icon {
        transform: none !important;
      }
    }


    /* === HUG AppWorks V1.5 · Showcase === */

    .hero-system {
      min-height: 560px;
      overflow: hidden;
    }
    .hero-grid-mini {
      width: 84%;
      height: 84%;
      max-width: 420px;
      max-height: 420px;
      gap: 18px;
      z-index: 1;
    }
    .mini-cell {
      position: relative;
      border-radius: 28px;
      opacity: .88;
      border: 1px solid oklch(100% 0 0 / .14);
      background:
        radial-gradient(circle at 35% 30%, oklch(78% .13 296 / .12), transparent 58%),
        linear-gradient(145deg, oklch(100% 0 0 / .09), oklch(100% 0 0 / .03));
      box-shadow:
        inset 0 1px 0 oklch(100% 0 0 / .08),
        0 16px 38px oklch(0% 0 0 / .18);
      transition:
        transform .34s cubic-bezier(.2,.7,.2,1),
        border-color .26s ease,
        box-shadow .26s ease,
        opacity .26s ease,
        background .26s ease;
    }
    .mini-cell::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background:
        linear-gradient(135deg, transparent 0%, oklch(100% 0 0 / .03) 48%, transparent 100%);
      opacity: .65;
      pointer-events: none;
    }
    .mini-cell::after {
      inset: 14px;
      border-radius: 22px;
    }
    .mini-cell-a { transform: translate(-14px, -14px); }
    .mini-cell-b { transform: translate(14px, -14px); }
    .mini-cell-c { transform: translate(-14px, 14px); }
    .mini-cell-d { transform: translate(14px, 14px); }

    .hero-system:hover .mini-cell,
    .hero-system:focus-within .mini-cell {
      opacity: 1;
      border-color: oklch(82% .12 296 / .52);
      box-shadow:
        0 0 0 1px oklch(82% .12 296 / .10),
        0 24px 52px oklch(0% 0 0 / .25),
        0 0 26px oklch(58.5% .275 296 / .18);
    }
    .hero-system:hover .mini-cell-a,
    .hero-system:focus-within .mini-cell-a { transform: translate(-22px, -22px) scale(1.03); }
    .hero-system:hover .mini-cell-b,
    .hero-system:focus-within .mini-cell-b { transform: translate(22px, -22px) scale(1.03); transition-delay: .04s; }
    .hero-system:hover .mini-cell-c,
    .hero-system:focus-within .mini-cell-c { transform: translate(-22px, 22px) scale(1.03); transition-delay: .08s; }
    .hero-system:hover .mini-cell-d,
    .hero-system:focus-within .mini-cell-d { transform: translate(22px, 22px) scale(1.03); transition-delay: .12s; }

    .hero-icon {
      z-index: 2;
      width: 188px;
      height: 188px;
      border-radius: 30px;
      background: oklch(100% 0 0 / .96);
    }

    .hero-copy,
    .hero-grid > div:first-child {
      position: relative;
    }
    .hero-grid > div:first-child::after {
      content: "";
      position: absolute;
      width: 130px;
      height: 130px;
      right: -10px;
      top: -12px;
      border-radius: 50%;
      background: radial-gradient(circle, oklch(58.5% .275 296 / .14), transparent 65%);
      filter: blur(8px);
      pointer-events: none;
      z-index: 0;
    }
    .hero-grid > div:first-child > * {
      position: relative;
      z-index: 1;
    }

    .hero-metrics {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      margin-top: 24px;
      max-width: 680px;
    }
    .metric-card {
      min-height: 88px;
      display: grid;
      align-content: center;
      gap: 6px;
      padding: 16px 18px;
      border: 1px solid oklch(87% .03 285);
      border-radius: 20px;
      background:
        linear-gradient(145deg, oklch(100% 0 0 / .88), oklch(97% .01 285 / .92));
      box-shadow: 0 14px 34px oklch(20.2% .064 264 / .06);
    }
    .metric-card strong {
      font: 600 18px/1.1 var(--font-display);
      color: var(--fg);
      letter-spacing: -.02em;
    }
    .metric-card span {
      font-size: 13px;
      color: var(--muted);
    }

    .section-heading {
      position: relative;
    }
    .section-spark {
      position: absolute;
      right: 0;
      top: 0;
      width: fit-content;
      padding: 7px 11px;
      border: 1px solid oklch(86% .03 285);
      border-radius: 999px;
      background: oklch(100% 0 0 / .74);
      color: var(--muted);
      font: 600 10px/1 var(--font-mono);
      letter-spacing: .12em;
      box-shadow: 0 10px 26px oklch(20.2% .064 264 / .05);
    }

    .service-card {
      position: relative;
      overflow: hidden;
    }
    .service-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 90% 12%, oklch(58.5% .275 296 / .12), transparent 26%),
        linear-gradient(135deg, transparent 55%, oklch(100% 0 0 / .06) 100%);
      pointer-events: none;
    }
    .service-card > * { position: relative; z-index: 1; }
    .service-card h3 { margin-bottom: 10px; }

    .work-card {
      overflow: hidden;
    }
    .work-visual {
      border-bottom: 1px solid oklch(87% .03 285);
      background:
        radial-gradient(circle at 50% 10%, oklch(58.5% .275 296 / .07), transparent 36%),
        linear-gradient(180deg, #FFFFFF, #F5F7FC);
    }
    .work-copy {
      position: relative;
    }
    .work-copy::after {
      content: "";
      position: absolute;
      right: 32px;
      bottom: 30px;
      width: 46px;
      height: 46px;
      border-radius: 50%;
      border: 1px solid oklch(86% .03 285);
      background: oklch(100% 0 0 / .86);
      box-shadow: 0 10px 28px oklch(20.2% .064 264 / .08);
    }

    .cta-box {
      background:
        radial-gradient(circle at 92% 12%, oklch(58.5% .275 296 / .25), transparent 21rem),
        radial-gradient(circle at 10% 90%, oklch(70% .12 252 / .10), transparent 20rem),
        linear-gradient(145deg, #FFFFFF 0%, #F9F5FF 100%);
    }
    .contact-shell {
      border-radius: 30px;
      overflow: hidden;
    }
    .contact-form {
      position: relative;
      background:
        radial-gradient(circle at 88% 12%, oklch(58.5% .275 296 / .08), transparent 16rem),
        #FFFFFF;
    }

    .footer .container::before {
      content: "";
      display: block;
      width: 100%;
      height: 1px;
      margin-bottom: 24px;
      background: linear-gradient(90deg, transparent, oklch(100% 0 0 / .18), transparent);
    }

    @media (max-width: 980px) {
      .hero-metrics {
        grid-template-columns: 1fr;
        max-width: 460px;
      }
      .section-spark {
        position: static;
        margin-top: 14px;
        display: inline-flex;
      }
    }

    @media (max-width: 820px) {
      .hero-system {
        min-height: 440px;
      }
      .hero-grid-mini {
        width: 82%;
        height: 82%;
        max-width: 300px;
        max-height: 300px;
        gap: 12px;
      }
      .hero-icon {
        width: 150px;
        height: 150px;
      }
      .hero-metrics {
        margin-top: 18px;
      }
    }

    @media (max-width: 520px) {
      .hero-system {
        min-height: 370px;
      }
      .hero-grid-mini {
        width: 82%;
        height: 82%;
        max-width: 210px;
        max-height: 210px;
        gap: 10px;
      }
      .mini-cell {
        border-radius: 18px;
      }
      .mini-cell::after {
        inset: 9px;
        border-radius: 12px;
      }
      .mini-cell-a { transform: translate(-8px, -8px); }
      .mini-cell-b { transform: translate(8px, -8px); }
      .mini-cell-c { transform: translate(-8px, 8px); }
      .mini-cell-d { transform: translate(8px, 8px); }
      .hero-system:hover .mini-cell-a,
      .hero-system:focus-within .mini-cell-a { transform: translate(-12px, -12px) scale(1.02); }
      .hero-system:hover .mini-cell-b,
      .hero-system:focus-within .mini-cell-b { transform: translate(12px, -12px) scale(1.02); }
      .hero-system:hover .mini-cell-c,
      .hero-system:focus-within .mini-cell-c { transform: translate(-12px, 12px) scale(1.02); }
      .hero-system:hover .mini-cell-d,
      .hero-system:focus-within .mini-cell-d { transform: translate(12px, 12px) scale(1.02); }
    }

    @media (prefers-reduced-motion: reduce) {
      .metric-card,
      .service-card,
      .work-card,
      .mini-cell {
        transition: none !important;
      }
    }


    /* === HUG AppWorks V1.6 · Hero Focus === */

    /* Barra superior completamente estable */
    .site-header,
    .site-header.is-scrolled {
      padding-top: 0 !important;
      background: transparent !important;
      border-bottom: 0 !important;
      box-shadow: none !important;
    }
    .site-header .nav,
    .site-header.is-scrolled .nav {
      min-height: 72px !important;
      transition: none !important;
      transform: none !important;
      background: rgba(255,255,255,.96) !important;
      border: 1px solid oklch(88% .02 280 / .95) !important;
      border-radius: 18px !important;
      box-shadow: 0 12px 28px oklch(20.2% .064 264 / .09) !important;
      backdrop-filter: none !important;
    }

    /* Hero simplificado: sin 3 recuadros inferiores */
    .hero-metrics { display: none !important; }

    /* Barra con movimiento suave hacia la izquierda */
    .capability-marquee {
      position: relative;
      overflow: hidden;
      border-top: 1px solid oklch(100% 0 0 / .10);
      border-bottom: 1px solid oklch(100% 0 0 / .10);
      background:
        radial-gradient(circle at 16% 50%, oklch(58.5% .275 296 / .16), transparent 20rem),
        linear-gradient(90deg, #071127 0%, #0C1732 45%, #17143B 100%);
      color: white;
    }
    .capability-marquee-track {
      display: flex;
      width: max-content;
      will-change: transform;
      backface-visibility: hidden;
      animation: hugMarqueeLeft 32s linear infinite;
    }
    .capability-marquee-row {
      display: flex;
      align-items: center;
      gap: 20px;
      min-height: 60px;
      padding-inline: 18px;
      white-space: nowrap;
      font: 600 12px/1 var(--font-mono);
      letter-spacing: .11em;
    }
    .capability-marquee-row b {
      color: oklch(78% .13 296);
      font-size: 11px;
      font-weight: 700;
    }
    .marquee-fade {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 72px;
      z-index: 2;
      pointer-events: none;
    }
    .marquee-fade-left {
      left: 0;
      background: linear-gradient(90deg, #08122E 0%, rgba(8,18,46,0) 100%);
    }
    .marquee-fade-right {
      right: 0;
      background: linear-gradient(270deg, #11163A 0%, rgba(17,22,58,0) 100%);
    }
    @keyframes hugMarqueeLeft {
      from { transform: translate3d(0,0,0); }
      to { transform: translate3d(-50%,0,0); }
    }

    /* Hero visual: 4 recuadros casi al borde */
    .hero-system {
      min-height: 560px;
      overflow: hidden;
    }
    .hero-grid-mini {
      width: 92%;
      height: 92%;
      max-width: 470px;
      max-height: 470px;
      gap: 14px;
      z-index: 1;
      pointer-events: auto !important;
    }
    .mini-cell {
      position: relative;
      border-radius: 28px;
      border: 1px solid oklch(100% 0 0 / .16);
      background:
        radial-gradient(circle at 32% 26%, oklch(78% .13 296 / .11), transparent 58%),
        linear-gradient(145deg, oklch(100% 0 0 / .10), oklch(100% 0 0 / .03));
      box-shadow:
        inset 0 1px 0 oklch(100% 0 0 / .08),
        0 18px 42px oklch(0% 0 0 / .18);
      opacity: .92;
      transition:
        transform .30s cubic-bezier(.2,.7,.2,1),
        border-color .24s ease,
        box-shadow .24s ease,
        background .24s ease,
        opacity .24s ease;
    }
    .mini-cell::after {
      content: "";
      position: absolute;
      inset: 14px;
      border-radius: 22px;
      border: 1px solid oklch(100% 0 0 / .06);
      opacity: .62;
    }
    .mini-cell-a { transform: translate(-6px, -6px); }
    .mini-cell-b { transform: translate(6px, -6px); }
    .mini-cell-c { transform: translate(-6px, 6px); }
    .mini-cell-d { transform: translate(6px, 6px); }

    /* Importante: cada cuadro se anima por separado */
    .hero-system:hover .mini-cell {
      transform: none;
    }
    .mini-cell:hover,
    .mini-cell:focus-visible {
      opacity: 1;
      border-color: oklch(82% .12 296 / .56);
      background:
        radial-gradient(circle at 28% 24%, oklch(82% .12 296 / .18), transparent 58%),
        linear-gradient(145deg, oklch(100% 0 0 / .16), oklch(100% 0 0 / .05));
      box-shadow:
        0 0 0 1px oklch(82% .12 296 / .12),
        0 24px 52px oklch(0% 0 0 / .28),
        0 0 28px oklch(58.5% .275 296 / .18);
      z-index: 3;
    }
    .mini-cell-a:hover,
    .mini-cell-a:focus-visible { transform: translate(-18px, -18px) scale(1.03); }
    .mini-cell-b:hover,
    .mini-cell-b:focus-visible { transform: translate(18px, -18px) scale(1.03); }
    .mini-cell-c:hover,
    .mini-cell-c:focus-visible { transform: translate(-18px, 18px) scale(1.03); }
    .mini-cell-d:hover,
    .mini-cell-d:focus-visible { transform: translate(18px, 18px) scale(1.03); }

    .hero-icon {
      z-index: 2;
      transition: box-shadow .24s ease, transform .24s ease;
    }
    .mini-cell:hover ~ .hero-icon,
    .mini-cell:focus-visible ~ .hero-icon {
      box-shadow:
        0 0 0 18px oklch(58.5% .275 296 / .10),
        0 30px 66px oklch(0% 0 0 / .32);
      transform: scale(1.01);
    }

    .orbit-e { display: none !important; }

    @media (max-width: 820px) {
      .hero-grid-mini {
        width: 88%;
        height: 88%;
        max-width: 330px;
        max-height: 330px;
        gap: 10px;
      }
      .mini-cell { border-radius: 20px; }
      .mini-cell::after { inset: 9px; border-radius: 14px; }
    }

    @media (max-width: 520px) {
      .site-header .nav,
      .site-header.is-scrolled .nav {
        width: calc(100% - 24px);
        min-height: 66px !important;
        border-radius: 14px !important;
      }
      .capability-marquee-row {
        min-height: 52px;
        gap: 16px;
        font-size: 10px;
      }
      .marquee-fade { width: 36px; }
      .hero-grid-mini {
        width: 86%;
        height: 86%;
        max-width: 240px;
        max-height: 240px;
        gap: 8px;
      }
      .mini-cell { border-radius: 16px; }
      .mini-cell::after { inset: 8px; border-radius: 10px; }
      .mini-cell-a:hover,
      .mini-cell-a:focus-visible { transform: translate(-10px, -10px) scale(1.02); }
      .mini-cell-b:hover,
      .mini-cell-b:focus-visible { transform: translate(10px, -10px) scale(1.02); }
      .mini-cell-c:hover,
      .mini-cell-c:focus-visible { transform: translate(-10px, 10px) scale(1.02); }
      .mini-cell-d:hover,
      .mini-cell-d:focus-visible { transform: translate(10px, 10px) scale(1.02); }
    }

    @media (prefers-reduced-motion: reduce) {
      .capability-marquee-track {
        animation: none !important;
      }
      .mini-cell,
      .hero-icon {
        transition: none !important;
      }
      .mini-cell:hover,
      .mini-cell:focus-visible {
        transform: none !important;
      }
    }


    /* === HUG AppWorks V1.7 · Hero Refined === */

    .hero-visual-stack {
      min-width: 0;
      display: grid;
      gap: 16px;
      align-items: start;
    }

    /* Caption moved OUTSIDE the main frame */
    .system-caption {
      display: none !important;
    }
    .system-caption-outside {
      min-height: 42px;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 9px;
      padding-inline: 4px;
      color: var(--muted);
      font: 600 10px/1.2 var(--font-mono);
      letter-spacing: .08em;
      white-space: nowrap;
    }
    .system-caption-outside b {
      color: var(--accent);
      font-weight: 700;
    }
    .caption-line {
      width: 34px;
      height: 1px;
      margin-right: 3px;
      background: linear-gradient(90deg, transparent, var(--accent));
      opacity: .7;
    }

    /* Four inner panels use almost the complete large frame */
    .hero-system {
      min-height: 580px;
    }
    .hero-grid-mini {
      width: calc(100% - 26px) !important;
      height: calc(100% - 26px) !important;
      max-width: none !important;
      max-height: none !important;
      inset: 13px !important;
      translate: 0 0 !important;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-rows: repeat(2, minmax(0, 1fr));
      gap: 10px;
      pointer-events: auto !important;
    }

    .mini-cell {
      position: relative;
      min-width: 0;
      min-height: 0;
      border-radius: 26px;
      overflow: hidden;
      cursor: pointer;
      opacity: .94;
      transform: none !important;
      border: 1px solid oklch(100% 0 0 / .13);
      background:
        radial-gradient(circle at 26% 20%, oklch(78% .13 296 / .10), transparent 52%),
        linear-gradient(145deg, oklch(100% 0 0 / .08), oklch(100% 0 0 / .025));
      box-shadow:
        inset 0 1px 0 oklch(100% 0 0 / .06),
        inset 0 -1px 0 oklch(0% 0 0 / .10),
        0 14px 30px oklch(0% 0 0 / .13);
      transition:
        transform .34s cubic-bezier(.2,.75,.2,1),
        border-color .26s ease,
        box-shadow .26s ease,
        background .26s ease,
        opacity .26s ease;
      will-change: transform;
    }

    /* soft internal circuitry / shine */
    .mini-cell::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background:
        linear-gradient(90deg, transparent 49.7%, oklch(100% 0 0 / .035) 50%, transparent 50.3%),
        linear-gradient(transparent 49.7%, oklch(100% 0 0 / .035) 50%, transparent 50.3%),
        radial-gradient(circle at 72% 72%, oklch(58.5% .275 296 / .10), transparent 34%);
      opacity: .75;
      pointer-events: none;
    }
    .mini-cell::after {
      content: "";
      position: absolute;
      left: 8%;
      right: 8%;
      top: -25%;
      height: 24%;
      border-radius: 50%;
      background: linear-gradient(180deg, transparent, oklch(100% 0 0 / .12), transparent);
      filter: blur(6px);
      opacity: 0;
      pointer-events: none;
    }

    /* Only the hovered square moves */
    .hero-system:hover .mini-cell {
      transform: none !important;
    }

    .mini-cell:hover {
      z-index: 4;
      opacity: 1;
      border-color: oklch(82% .12 296 / .62);
      background:
        radial-gradient(circle at 28% 22%, oklch(82% .13 296 / .18), transparent 52%),
        linear-gradient(145deg, oklch(100% 0 0 / .15), oklch(100% 0 0 / .045));
      box-shadow:
        0 0 0 1px oklch(82% .12 296 / .10),
        0 28px 58px oklch(0% 0 0 / .28),
        0 0 38px oklch(58.5% .275 296 / .22);
      animation: squareHoverPulse 1.7s ease-in-out infinite;
    }

    .mini-cell:hover::after {
      opacity: 1;
      animation: squareScanner 1.65s ease-in-out infinite;
    }

    .mini-cell-a:hover { transform: translate3d(-7px,-7px,0) scale(1.025) rotateX(1deg) rotateY(-1deg) !important; }
    .mini-cell-b:hover { transform: translate3d(7px,-7px,0) scale(1.025) rotateX(1deg) rotateY(1deg) !important; }
    .mini-cell-c:hover { transform: translate3d(-7px,7px,0) scale(1.025) rotateX(-1deg) rotateY(-1deg) !important; }
    .mini-cell-d:hover { transform: translate3d(7px,7px,0) scale(1.025) rotateX(-1deg) rotateY(1deg) !important; }

    @keyframes squareHoverPulse {
      0%,100% {
        filter: brightness(1);
      }
      50% {
        filter: brightness(1.12);
      }
    }
    @keyframes squareScanner {
      0% {
        top: -28%;
        opacity: 0;
      }
      18% {
        opacity: .9;
      }
      82% {
        opacity: .72;
      }
      100% {
        top: 108%;
        opacity: 0;
      }
    }

    /* Center icon stays clearly above the four panels */
    .hero-icon {
      z-index: 8 !important;
      width: 178px;
      height: 178px;
      transition:
        transform .26s ease,
        box-shadow .26s ease;
    }
    .hero-system:has(.mini-cell:hover) .hero-icon {
      transform: scale(1.035);
      box-shadow:
        0 0 0 18px oklch(58.5% .275 296 / .11),
        0 34px 70px oklch(0% 0 0 / .34),
        0 0 36px oklch(58.5% .275 296 / .20);
    }

    /* Orbits stay outside the moving panels */
    .hero-system .orbit {
      z-index: 10;
    }

    @media (max-width: 820px) {
      .hero-system {
        min-height: 460px;
      }
      .hero-grid-mini {
        width: calc(100% - 22px) !important;
        height: calc(100% - 22px) !important;
        inset: 11px !important;
        gap: 8px;
      }
      .mini-cell {
        border-radius: 20px;
      }
      .hero-icon {
        width: 144px;
        height: 144px;
      }
      .system-caption-outside {
        justify-content: center;
        font-size: 9px;
      }
    }

    @media (max-width: 520px) {
      .hero-system {
        min-height: 390px;
      }
      .hero-grid-mini {
        width: calc(100% - 18px) !important;
        height: calc(100% - 18px) !important;
        inset: 9px !important;
        gap: 7px;
      }
      .mini-cell {
        border-radius: 16px;
      }
      .hero-icon {
        width: 122px;
        height: 122px;
      }
      .system-caption-outside {
        white-space: normal;
        flex-wrap: wrap;
        row-gap: 5px;
      }
      .caption-line {
        display: none;
      }

      /* On touch devices there is no permanent animation */
      .mini-cell:hover {
        animation: none;
      }
      .mini-cell:hover::after {
        animation: none;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .mini-cell:hover,
      .mini-cell:hover::after {
        animation: none !important;
      }
      .mini-cell:hover {
        transform: none !important;
      }
      .hero-system:has(.mini-cell:hover) .hero-icon {
        transform: none !important;
      }
    }


    /* === HUG AppWorks V1.8 · Hero Polish === */

    /* Zoom un poco más claro por cada recuadro */
    .mini-cell {
      transform-origin: center center;
    }
    .mini-cell-a:hover { transform: translate3d(-8px,-8px,0) scale(1.04) rotateX(1deg) rotateY(-1deg) !important; }
    .mini-cell-b:hover { transform: translate3d(8px,-8px,0) scale(1.04) rotateX(1deg) rotateY(1deg) !important; }
    .mini-cell-c:hover { transform: translate3d(-8px,8px,0) scale(1.04) rotateX(-1deg) rotateY(-1deg) !important; }
    .mini-cell-d:hover { transform: translate3d(8px,8px,0) scale(1.04) rotateX(-1deg) rotateY(1deg) !important; }

    /* Animación del cuadro/logo central */
    .hero-icon {
      overflow: hidden;
      position: relative;
      transition:
        transform .32s cubic-bezier(.2,.75,.2,1),
        box-shadow .32s ease,
        background-color .32s ease;
      animation: heroIconIdle 5.8s ease-in-out infinite;
    }
    .hero-icon::before {
      content: "";
      position: absolute;
      inset: -30%;
      background: linear-gradient(135deg, transparent 0%, oklch(100% 0 0 / .28) 46%, transparent 54%);
      transform: translateX(-120%) rotate(18deg);
      opacity: 0;
      pointer-events: none;
    }

    /* Al entrar al marco grande */
    .hero-system:hover .hero-icon,
    .hero-system:focus-within .hero-icon {
      transform: scale(1.045) translateY(-2px);
      box-shadow:
        0 0 0 18px oklch(58.5% .275 296 / .11),
        0 36px 72px oklch(0% 0 0 / .35),
        0 0 42px oklch(58.5% .275 296 / .22);
      animation: heroIconActive 1.8s ease-in-out infinite;
    }
    .hero-system:hover .hero-icon::before,
    .hero-system:focus-within .hero-icon::before {
      opacity: 1;
      animation: heroIconShine 1.45s ease-in-out infinite;
    }

    /* Hover directo sobre el cuadro del logo */
    .hero-icon:hover {
      transform: scale(1.065) translateY(-3px);
      box-shadow:
        0 0 0 22px oklch(58.5% .275 296 / .13),
        0 40px 80px oklch(0% 0 0 / .38),
        0 0 56px oklch(58.5% .275 296 / .26);
    }
    .hero-icon:hover::before {
      opacity: 1;
      animation: heroIconShine 1.2s ease-in-out infinite;
    }
    .hero-icon img {
      position: relative;
      z-index: 1;
      transition: transform .28s ease;
    }
    .hero-system:hover .hero-icon img,
    .hero-icon:hover img {
      transform: scale(1.035);
    }

    @keyframes heroIconIdle {
      0%, 100% { transform: translateY(0) scale(1); }
      50% { transform: translateY(-2px) scale(1.01); }
    }
    @keyframes heroIconActive {
      0%, 100% { transform: scale(1.045) translateY(-2px); }
      50% { transform: scale(1.06) translateY(-4px); }
    }
    @keyframes heroIconShine {
      0% { transform: translateX(-130%) rotate(18deg); }
      100% { transform: translateX(130%) rotate(18deg); }
    }

    @media (max-width: 520px) {
      .mini-cell-a:hover { transform: translate3d(-10px,-10px,0) scale(1.03) !important; }
      .mini-cell-b:hover { transform: translate3d(10px,-10px,0) scale(1.03) !important; }
      .mini-cell-c:hover { transform: translate3d(-10px,10px,0) scale(1.03) !important; }
      .mini-cell-d:hover { transform: translate3d(10px,10px,0) scale(1.03) !important; }
    }

    @media (prefers-reduced-motion: reduce) {
      .hero-icon,
      .hero-icon::before,
      .hero-icon img {
        animation: none !important;
        transition: none !important;
      }
      .hero-system:hover .hero-icon,
      .hero-icon:hover,
      .mini-cell:hover {
        transform: none !important;
      }
    }


    /* === HUG AppWorks V1.9 · Idle Frame + Orbit Button Polish === */

    /* Marco grande con animación cuando no está siendo tocado */
    .hero-system {
      position: relative;
      animation: heroFrameIdle 8s ease-in-out infinite;
    }
    .hero-system::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
      background:
        radial-gradient(circle at 20% 18%, oklch(78% .13 296 / .08), transparent 24%),
        radial-gradient(circle at 82% 80%, oklch(70% .10 250 / .08), transparent 26%);
      opacity: .8;
      animation: heroFrameGlow 9s ease-in-out infinite;
    }
    @keyframes heroFrameIdle {
      0%, 100% { transform: translateY(0) scale(1); }
      50% { transform: translateY(-4px) scale(1.006); }
    }
    @keyframes heroFrameGlow {
      0%, 100% { opacity: .68; filter: blur(0px); }
      50% { opacity: 1; filter: blur(2px); }
    }

    .hero-system:hover,
    .hero-system:focus-within {
      animation-play-state: paused;
    }
    .hero-system:hover::after,
    .hero-system:focus-within::after {
      animation-play-state: paused;
    }

    /* Reordenar las burbujas de palabras y hacerlas más tipo botón */
    .hero-system .orbit {
      min-height: 42px;
      padding: 10px 16px;
      border-radius: 999px;
      border: 1px solid oklch(100% 0 0 / .18);
      background: oklch(100% 0 0 / .10);
      color: oklch(98% .008 270);
      font-weight: 600;
      letter-spacing: .01em;
      box-shadow: 0 12px 28px oklch(0% 0 0 / .18);
      backdrop-filter: blur(16px);
      transition:
        transform .22s ease,
        background-color .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
      z-index: 11;
    }
    .hero-system .orbit:hover {
      transform: translateY(-2px);
      background: oklch(100% 0 0 / .14);
      border-color: oklch(82% .12 296 / .36);
      box-shadow: 0 18px 34px oklch(0% 0 0 / .22), 0 0 22px oklch(58.5% .275 296 / .12);
    }

    /* Nuevo orden visual */
    .orbit-a { top: 12%; left: 16%; }     /* Websites */
    .orbit-b { top: 12%; right: 14%; }    /* E-commerce */
    .orbit-c { bottom: 12%; left: 15%; }  /* Apps */
    .orbit-d { bottom: 12%; right: 13%; }