    :root {
      --neutral-white:    #FFFFFF;
      --neutral-lightest: #F2F2F2;
      --neutral-lighter:  #D9D9DA;
      --neutral-light:    #B4B3B6;
      --neutral:          #828186;
      --neutral-dark:     #504F55;
      --neutral-darker:   #1E1D25;
      --neutral-darkest:  #06040D;
      --gy:          #A6FF16;
      --gy-lighter:  #EDFFD0;
      --gy-lightest: #F6FFE7;
      --gy-dark:     #84CC11;
      --cb:          #7B56FF;
      --cb-light:    #A288FF;
      --ebony:       #020103;
      --color-bg:      var(--ebony);
      --color-surface: var(--neutral-darker);
      --color-accent:  var(--gy);
      --color-border:  rgba(255,255,255,0.08);
      --font-display: 'Bebas Neue', sans-serif;
      --font-body:    'Satoshi', sans-serif;
      --radius-sm: 6px; --radius-md: 12px;
      --radius-lg: 20px; --radius-pill: 100px;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-body);
      background: var(--color-bg);
      color: var(--neutral-white);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; display: block; }
    .section-pad { padding-block: clamp(5rem,10vw,9rem); }
    .navbar-links a.active { color: var(--neutral-white); }
    .accent { color: var(--gy); }
    .btn-secondary {
      display: inline-flex; align-items: center; gap: 0.5rem;
      font-size: 0.875rem; font-weight: 700; color: var(--neutral-white);
      border: 1px solid var(--color-border); border-radius: var(--radius-pill);
      padding: 0.9rem 2rem; cursor: pointer;
      transition: border-color 0.2s, color 0.2s, transform 0.2s;
    }
    .btn-secondary:hover {
      border-color: rgba(166,255,22,0.5); color: var(--gy); transform: translateY(-2px);
    }

    /* LOADER */
    #loader {
      position: fixed; inset: 0; background: var(--ebony); z-index: 9999;
      display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2rem;
    }
    .loader-brand {
      font-family: var(--font-display); font-size: clamp(3rem,8vw,6rem);
      color: var(--gy); letter-spacing: 0.05em;
    }
    .loader-bar-track {
      width: clamp(200px,30vw,320px); height: 2px;
      background: var(--neutral-darker); border-radius: 2px; overflow: hidden;
    }
    .loader-bar { height: 100%; background: var(--gy); border-radius: 2px; transform-origin: left; }

    /* NAVBAR */
    #navbar {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      padding: 0.6rem 0;
      transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, transform 0.35s cubic-bezier(0.4,0,0.2,1);
      border-bottom: 1px solid transparent;
    }
    #navbar.nav-hidden { transform: translateY(-110%); }
    #navbar.scrolled {
      background: rgba(2,1,3,0.94); backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--color-border);
    }
    .navbar-inner {
      max-width: 1200px; margin: 0 auto;
      padding: 0 clamp(1.25rem,4vw,2.5rem);
      display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    }
    .navbar-logo img { height: 50px; width: auto; }
    .navbar-links {
      display: flex; align-items: center; gap: 2.25rem; list-style: none;
    }
    .navbar-links a {
      font-size: 0.875rem; font-weight: 500; color: var(--neutral-light);
      transition: color 0.2s;
    }
    .navbar-links a:hover { color: var(--neutral-white); }
    .navbar-cta {
      background: var(--gy); color: var(--ebony); font-weight: 700;
      font-size: 0.875rem; padding: 0.65rem 1.4rem; border-radius: var(--radius-pill);
      white-space: nowrap; transition: transform 0.2s, box-shadow 0.2s;
    }
    .navbar-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(166,255,22,0.3); }
    .hamburger {
      display: none; flex-direction: column; gap: 5px;
      background: none; border: none; cursor: pointer; padding: 4px;
    }
    .hamburger span {
      display: block; width: 24px; height: 1.5px;
      background: var(--neutral-white); border-radius: 2px; transition: all 0.3s;
    }

    /* CONTAINER */
    .container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.25rem,4vw,2.5rem); }
    .section { padding-block: clamp(5rem,9vw,8rem); }

    /* ── HERO ── */
    #hero {
      height: 100vh; height: 100svh; display: flex; align-items: center;
      padding-top: 7rem; padding-bottom: 4rem;
      position: relative; overflow: hidden;
    }
    /* LiquidEther root */
    #le-root {
      position: absolute; inset: 0;
      pointer-events: none; z-index: 0;
    }
    /* Dark overlay so text stays readable over the fluid */
    .hero-overlay {
      position: absolute; inset: 0;
      background: radial-gradient(ellipse 90% 80% at 50% 50%,
        rgba(2,1,3,0.25) 0%, rgba(2,1,3,0.65) 100%);
      pointer-events: none; z-index: 0;
    }
    /* Grid background (kept as subtle texture on top of fluid) */
    .hero-grid-bg {
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(166,255,22,0.03) 1px, transparent 1px),
        linear-gradient(90deg,rgba(166,255,22,0.03) 1px, transparent 1px);
      background-size: 60px 60px;
      mask-image: radial-gradient(ellipse 80% 70% at 70% 50%, black 30%, transparent 80%);
      pointer-events: none;
      display: none; /* hidden: LiquidEther replaces this */
    }
.hero-inner { position: relative; z-index: 1; width: 100%; }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 0.5rem;
      border: 1px solid var(--color-border); border-radius: var(--radius-pill);
      padding: 0.4rem 1rem; font-size: 0.72rem; font-weight: 600;
      letter-spacing: 0.1em; text-transform: uppercase; color: var(--neutral-light);
      margin-bottom: 2rem;
    }
    .hero-badge .dot { color: var(--gy); }
    /* Hero logos — above H1 */
    .hero-logos {
      display: flex; align-items: center; gap: 1rem;
      margin-bottom: 2rem; flex-wrap: wrap;
      max-width: 100%; overflow: hidden;
    }
    .hero-logo-img {
      height: 28px; width: auto;
      opacity: 0.9; flex-shrink: 0;
    }
    @media (max-width: 768px) {
      .hero-logo-img { height: 20px; }
    }

    .hero-title {
      font-family: var(--font-display);
      font-size: clamp(3.5rem, 7vw, 8rem);
      line-height: 0.92; letter-spacing: 0.01em;
      margin-bottom: 1.75rem; max-width: 960px;
    }
    .hero-title .accent { color: var(--gy); }
    .hero-title .outline {
      color: var(--gy);
    }
    .hero-sub {
      font-size: clamp(0.95rem,1.2vw,1.05rem); color: var(--neutral-light);
      max-width: 520px; line-height: 1.7; margin-bottom: 2.5rem;
    }
    .hero-actions {
      display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 3.5rem;
    }
    .btn-primary {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: var(--gy); color: var(--ebony); font-weight: 700;
      font-size: 0.875rem; padding: 1rem 2rem; border-radius: var(--radius-pill);
      cursor: pointer; position: relative; will-change: transform;
    }
    .btn-ghost {
      display: inline-flex; align-items: center; gap: 0.4rem;
      font-size: 0.875rem; font-weight: 500; color: var(--neutral-light); transition: color 0.2s;
    }
    .btn-ghost:hover { color: var(--neutral-white); }
    .hero-trust { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
    .trust-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--neutral-dark); }
    .trust-badge {
      display: inline-flex; align-items: center; gap: 0.4rem;
      border: 1px solid var(--color-border); border-radius: var(--radius-pill);
      padding: 0.35rem 0.85rem; font-size: 0.72rem; font-weight: 600; color: var(--neutral-lighter);
    }
    .trust-sep { color: var(--neutral-darker); font-size: 0.6rem; }

    /* ── SECTION TRANSITION CLIPS ── */
    .section-clip-down {
      clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
      padding-bottom: calc(clamp(5rem,9vw,8rem) + 4rem);
    }
    .section-clip-up {
      clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
      padding-top: calc(clamp(5rem,9vw,8rem) + 4rem);
    }
    .section-clip-both {
      clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
      padding-block: calc(clamp(5rem,9vw,8rem) + 3rem);
    }

    /* SECTION LABEL */
    .section-label {
      display: flex; align-items: center; gap: 0.75rem;
      font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
      text-transform: uppercase; color: var(--gy); margin-bottom: 1.5rem;
    }
    .section-label::before {
      content: ''; display: block; width: 24px; height: 1.5px; background: var(--gy);
    }

    /* ── TRUST MARQUEE — now powered by curved-loop.css ── */
    #trust-marquee {
      /* purple background removed — section is transparent */
      overflow: hidden;
    }

    /* ── SERVICIOS ── */
    #servicios { border-top: 1px solid var(--color-border); }
    .servicios-head {
      display: flex; justify-content: space-between; align-items: flex-end;
      gap: 2rem; margin-bottom: 3.5rem; flex-wrap: wrap;
    }
    .servicios-titulo {
      font-family: var(--font-display); font-size: clamp(1.75rem,3.5vw,3rem);
      line-height: 1.05; max-width: 560px;
    }
    .servicios-meta { max-width: 340px; text-align: right; }
    .servicios-meta p { font-size: 0.875rem; color: var(--neutral-light); line-height: 1.6; margin-bottom: 1rem; }
    .link-arrow {
      display: inline-flex; align-items: center; gap: 0.4rem;
      font-size: 0.875rem; font-weight: 700; color: var(--neutral-lighter);
      transition: color 0.2s, gap 0.2s;
    }
    .link-arrow:hover { color: var(--gy); gap: 0.7rem; }
    .services-grid {
      display: grid; grid-template-columns: repeat(2,1fr); gap: 1px;
      border: 1px solid rgba(123,86,255,0.25); border-radius: var(--radius-lg); overflow: hidden;
    }
    .service-card {
      background: rgba(123,86,255,0.07); padding: 2.25rem;
      display: flex; flex-direction: column; gap: 1.25rem;
      position: relative; transition: background 0.3s;
    }
    .service-card:hover { background: rgba(123,86,255,0.14); }
    .service-card:nth-child(2) { border-left: 1px solid rgba(123,86,255,0.2); }
    .service-card:nth-child(3), .service-card:nth-child(4) { border-top: 1px solid rgba(123,86,255,0.2); }
    .service-card:nth-child(4) { border-left: 1px solid rgba(123,86,255,0.2); }
    .service-card--featured { background: var(--gy) !important; }
    .service-card--featured .service-num,
    .service-card--featured .service-name,
    .service-card--featured .service-desc,
    .service-card--featured .service-link { color: var(--ebony) !important; }
    .service-badge-top {
      position: absolute; top: 1.25rem; right: 1.25rem;
      background: var(--ebony); color: var(--gy);
      font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em;
      text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: var(--radius-pill);
    }
    .service-num { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; color: var(--cb-light); }
    .service-card--featured .service-num { color: rgba(2,1,3,0.45); }
    .service-icon-wrap {
      width: 48px; height: 48px; border-radius: var(--radius-sm);
      background: rgba(123,86,255,0.18);
      display: flex; align-items: center; justify-content: center;
    }
    .service-card--featured .service-icon-wrap { background: rgba(2,1,3,0.15); }
    .service-name { font-family: var(--font-display); font-size: 1.75rem; line-height: 1; }
    .service-desc { font-size: 0.875rem; color: var(--neutral-light); line-height: 1.6; flex: 1; }
    .service-card--featured .service-desc { color: rgba(2,1,3,0.65); }
    .service-link {
      display: inline-flex; align-items: center; gap: 0.4rem;
      font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--neutral-dark); transition: gap 0.2s, color 0.2s;
    }
    .service-card:not(.service-card--featured) .service-link:hover { color: var(--cb-light); gap: 0.7rem; }

    /* ── ABOUT ── */
    #about { background: var(--color-surface); position: relative; overflow: hidden; }
    .about-deco {
      position: absolute; right: -80px; top: -80px; width: 400px; height: 400px;
      border: 1px solid var(--color-border); border-radius: 50%; pointer-events: none;
    }
    .about-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
    }
    .about-titulo {
      font-family: var(--font-display); font-size: clamp(1.75rem,3.5vw,3rem);
      line-height: 1.05; margin-bottom: 1.5rem;
    }
    .about-titulo em { font-style: normal; color: var(--gy); }
    .about-link { margin-bottom: 3rem; display: block; }
    .metrics-list { display: flex; flex-direction: column; border-top: 1px solid var(--color-border); }
    .metric-row {
      display: flex; align-items: center; justify-content: space-between;
      padding: 1.5rem 0; border-bottom: 1px solid var(--color-border);
    }
    .metric-number {
      font-family: var(--font-display); font-size: clamp(2.5rem,5vw,4rem);
      color: var(--gy); line-height: 1;
    }
    .metric-label { font-size: 0.875rem; color: var(--neutral); text-align: right; }
    .about-texto {
      font-size: clamp(0.95rem,1.2vw,1.05rem); color: var(--neutral-light);
      line-height: 1.8; margin-bottom: 3rem;
    }
    .stack-label {
      font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--neutral-dark); margin-bottom: 1.25rem;
    }
    .stack-logos { display: flex; flex-wrap: wrap; gap: 0.5rem; }
    .stack-logo {
      border: 1px solid var(--color-border); border-radius: var(--radius-pill);
      padding: 0.35rem 0.85rem; font-size: 0.72rem; font-weight: 600; color: var(--neutral);
      transition: border-color 0.2s, color 0.2s; cursor: default;
    }
    .stack-logo:hover { border-color: rgba(166,255,22,0.3); color: var(--neutral-lighter); }
    .stack-logo a { color: inherit; }

    /* ── PARTNERS ── */
    #partners { background: var(--cb); padding-block: 4rem; }
    .partners-label {
      text-align: center; font-size: 0.72rem; font-weight: 700;
      letter-spacing: 0.15em; text-transform: uppercase;
      color: rgba(255,255,255,0.95); margin-bottom: 2rem;
    }
    .partners-track {
      display: flex; align-items: center; gap: 4rem; white-space: nowrap; will-change: transform;
    }
    .partners-item { display: inline-flex; align-items: center; gap: 4rem; flex-shrink: 0; }
    .partner-logo {
      font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.08em;
      color: rgba(255,255,255,0.65); transition: color 0.2s;
    }
    .partner-logo:hover { color: var(--gy); }
    .partner-logo a { color: inherit; }
    .partner-sep { color: rgba(255,255,255,0.2); font-size: 0.5rem; }

    /* ── QUOTE ── */
    #quote {
      padding-block: clamp(7rem,14vw,12rem); text-align: center;
      position: relative; overflow: hidden;
      /* Solid bg required: GSAP pins this section (position:fixed) —
         without a background it becomes transparent over other sections. */
      background: var(--color-bg);
    }
    .quote-glow {
      position: absolute; width: 700px; height: 700px;
      background: radial-gradient(circle, rgba(166,255,22,0.06) 0%, transparent 70%);
      top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none;
    }
    .quote-text {
      font-family: var(--font-display); font-size: clamp(2rem,5vw,4.5rem);
      line-height: 1.1; max-width: 900px; margin: 0 auto 1.5rem; position: relative; z-index: 1;
    }
    .quote-text .q-accent { color: var(--gy); }
    .quote-source {
      font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em;
      text-transform: uppercase; color: var(--neutral-dark); position: relative; z-index: 1;
    }

    /* ── CTA FINAL — fondo gris (var(--color-surface)) ── */
    #cta-final {
      background: var(--color-surface);
      padding-block: clamp(5rem,10vw,8rem); position: relative; overflow: hidden;
    }
    .cta-deco-symbol {
      position: absolute; width: 44vw; height: auto;
      top: 50%; right: -6%; transform: translateY(-50%);
      opacity: 0.06; pointer-events: none; user-select: none;
      filter: brightness(0) invert(1);
    }

    /* SCROLL PROGRESS BAR */
    #scroll-progress {
      position: fixed; top: 0; left: 0; height: 2px; width: 0%;
      background: var(--gy); z-index: 9999; pointer-events: none;
      transform-origin: left; will-change: width;
    }

    /* LINE SPLIT — hero title reveal */
    .line-wrap { display: block; overflow: hidden; line-height: inherit; }
    .line-inner { display: block; }
    .cta-inner { position: relative; z-index: 1; max-width: 900px; }
    .cta-titulo {
      font-family: var(--font-display);
      font-size: clamp(2.5rem,6vw,5.5rem); line-height: 0.95;
      color: var(--neutral-white); margin-bottom: 1.5rem;
    }
    .cta-texto {
      font-size: clamp(0.95rem,1.2vw,1.05rem);
      color: var(--neutral-light); line-height: 1.7; max-width: 560px; margin-bottom: 2.5rem;
    }
    .cta-final-btn {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: var(--gy); color: var(--ebony); font-weight: 700;
      font-size: 0.875rem; padding: 1.1rem 2.25rem; border-radius: var(--radius-pill);
      cursor: pointer; will-change: transform;
    }
    .metrics-bar {
      display: grid; grid-template-columns: repeat(3,1fr);
      border-top: 1px solid var(--color-border); margin-top: 4rem; padding-top: 3rem;
    }
    .metric-bar-item { padding-right: 2rem; border-right: 1px solid var(--color-border); }
    .metric-bar-item:last-child { border-right: none; padding-right: 0; padding-left: 2rem; }
    .metric-bar-item:nth-child(2) { padding: 0 2rem; }
    .metric-bar-num {
      font-family: var(--font-display); font-size: clamp(3rem,6vw,5rem);
      color: var(--gy); line-height: 1; margin-bottom: 0.25rem;
    }
    .metric-bar-label { font-size: 0.875rem; color: var(--neutral); }

    /* ── FOOTER ── */
    footer { background: var(--neutral-darkest); padding-top: 5rem; }
    .footer-top {
      display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
      gap: 3rem; padding-bottom: 4rem; border-bottom: 1px solid var(--color-border);
    }
    .footer-logo img { height: 75px; width: auto; margin-bottom: 1rem; }
    .footer-tagline { font-size: 0.875rem; color: var(--neutral); line-height: 1.6; }
    .footer-col-title {
      font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--neutral-dark); margin-bottom: 1.25rem;
    }
    .footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
    .footer-link { font-size: 0.875rem; color: var(--neutral); transition: color 0.2s, transform 0.2s; display: inline-block; }
    .footer-link:hover { color: var(--gy); transform: translateX(3px); }
    .footer-newsletter-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.75rem; }
    .footer-newsletter-sub { font-size: 0.72rem; color: var(--neutral); margin-bottom: 1rem; }
    .newsletter-form {
      display: flex; border: 1px solid var(--color-border);
      border-radius: var(--radius-pill); overflow: hidden;
    }
    .newsletter-input {
      flex: 1; background: transparent; border: none; outline: none;
      padding: 0.75rem 1.25rem; font-family: var(--font-body);
      font-size: 0.875rem; color: var(--neutral-white);
    }
    .newsletter-input::placeholder { color: var(--neutral-dark); }
    .newsletter-input.input-error { color: #ff6b6b; }
    .newsletter-input.input-error::placeholder { color: #ff6b6b; }
    .newsletter-btn {
      background: var(--gy); color: var(--ebony); border: none;
      font-family: var(--font-body); font-weight: 700; font-size: 0.72rem;
      padding: 0.75rem 1.25rem; cursor: pointer; white-space: nowrap;
      transition: background 0.25s ease, color 0.25s ease;
    }
    .newsletter-btn:hover { background: var(--gy-dark); }
    .substack-note { font-size: 0.68rem; color: var(--neutral-dark); margin-top: 0.5rem; }
    .footer-bottom {
      display: flex; align-items: center; justify-content: space-between;
      padding: 1.5rem 0; gap: 1rem; flex-wrap: wrap;
    }
    .footer-copy { font-size: 0.72rem; color: var(--neutral-dark); }
    .footer-copy a { color: var(--neutral); transition: color 0.2s; }
    .footer-copy a:hover { color: var(--gy); }
    .social-icons { display: flex; align-items: center; gap: 3px; }
    .social-icon {
      width: 36px; height: 36px; border: 1px solid var(--color-border);
      border-radius: var(--radius-sm); display: flex; align-items: center;
      justify-content: center; color: var(--neutral);
      transition: border-color 0.2s, color 0.2s; will-change: transform;
    }
    .social-icon:hover { border-color: var(--gy); color: var(--gy); }
    .social-icon svg { width: 20px; height: 20px; }

    /* RESPONSIVE */
    @media (max-width: 1024px) {
      .about-grid { grid-template-columns: 1fr; gap: 3rem; }
      .servicios-meta { text-align: left; }
      .servicios-head { flex-direction: column; align-items: flex-start; }
      .footer-top { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      #navbar { position: relative; }
      #navbar.scrolled { position: fixed; }
      .navbar-links {
        display: none; flex-direction: column; gap: 1.5rem;
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(2,1,3,0.98); padding: 2rem;
        border-bottom: 1px solid var(--color-border);
      }
      .navbar-links.is-open { display: flex; }
      .hamburger { display: flex; }
      .navbar-cta { display: none; }
      .navbar-logo img { height: 40px; }
      .footer-logo img { height: 50px; }
      /* ISSUE 2 — Hero fills mobile screen height */
      #hero { height: auto; min-height: 100vh; min-height: 100svh; padding-top: 5rem; padding-bottom: 2.5rem; }
      /* ISSUE 6 — Consistent hero title sizing on mobile */
      .hero-title { font-size: clamp(2.5rem, 9vw, 4rem); line-height: 0.92; width: 100%; }
      .dome-hero-title { font-size: clamp(2.5rem, 9vw, 4rem); width: 100%; }
      .page-hero-title { font-size: clamp(2.5rem, 9vw, 4rem) !important; width: 100%; }
      .hero-sub { font-size: 0.95rem; }
      .hero-actions { gap: 1rem; }
      .services-grid { grid-template-columns: 1fr; }
      .service-card:nth-child(n) { border: none; border-top: 1px solid var(--color-border); }
      .service-card:first-child { border-top: none; }
      .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
      .metrics-bar { grid-template-columns: 1fr; gap: 1.5rem; }
      .metric-bar-item { border-right: none; border-bottom: 1px solid var(--color-border); padding: 0 0 1.5rem; }
      .metric-bar-item:last-child { border-bottom: none; padding: 0; }
      .metric-bar-item:nth-child(2) { padding: 0 0 1.5rem; }
      .section-clip-down, .section-clip-up, .section-clip-both { clip-path: none; }

      /* ISSUE 3 — Portfolio hero CTA buttons stack on mobile */
      .dome-hero-cta {
        flex-direction: column;
        align-items: center;
        width: 100%;
      }
      .dome-hero-cta .btn-primary,
      .dome-hero-cta .btn-secondary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
      }

      /* ISSUE 5 — Orbital/pills animation: prevent clipping by next section */
      .page-hero { overflow: visible; }
      .page-hero-visual { overflow: visible; }
      .page-hero-badge-ring { overflow: visible; }
      #servicios-grid { position: relative; z-index: 1; }

      /* ISSUE 7 — Service detail tabs: 2x2 grid on mobile */
      .detail-tabs {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem !important;
        flex-wrap: unset !important;
      }
      .detail-tab {
        flex: unset !important;
      }
    }
    @media (min-width: 769px) and (max-width: 1024px) {
      .hero-title { font-size: clamp(3rem, 5vw, 5.5rem); }
      .navbar-logo img { height: 40px; }
      .footer-logo img { height: 60px; }
      .services-grid { grid-template-columns: 1fr; }
      .service-card:nth-child(n) { border: none; border-top: 1px solid var(--color-border); }
      .service-card:first-child { border-top: none; }
    }
    @media (max-width: 480px) {
      .hero-title { font-size: clamp(2.5rem, 9vw, 4rem); }
      .hero-sub { font-size: 0.9rem; margin-bottom: 1.75rem; }
      .hero-actions { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
      .btn-primary { width: 100%; justify-content: center; }
    }

    /* ── ACCESSIBILITY: Respect reduced-motion preference ── */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }
      .orbit-arm, .pill-anchor { animation: none !important; }
      #scroll-progress { display: none; }
    }

    /* ════════════════════════════════════════════════════════════════
       GLOBAL RESPONSIVE OPTIMISATION — worldwide breakpoints 2024
       (StatCounter top screen widths: 360–430px · 768px · 1024px · 1440px+)
       All rules below are ADDITIVE — desktop layout is untouched.
    ════════════════════════════════════════════════════════════════ */

    /* ── 1. SMALL PHONES (360–430px) ────────────────────────────────
       Refines the existing max-width:480px block for the most-used
       Android flagship and iPhone standard/Pro/Plus widths.
    ─────────────────────────────────────────────────────────────── */
    @media (max-width: 480px) {
      .container { padding: 0 1.25rem; }
      .hero-title { font-size: clamp(2.2rem, 10vw, 3.2rem); }
      .services-grid { grid-template-columns: 1fr; }
      .footer-top { grid-template-columns: 1fr; }
      .section { padding-block: clamp(3rem, 8vw, 5rem); }
    }

    /* ── 2. TABLET PORTRAIT (600–900px) ─────────────────────────────
       iPad mini / standard portrait, large Android phones landscape.
       Two-column layouts where content benefits from side-by-side.
    ─────────────────────────────────────────────────────────────── */
    @media (min-width: 600px) and (max-width: 900px) {
      .services-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-top { grid-template-columns: repeat(2, 1fr); }
      .about-grid { grid-template-columns: 1fr; }
      .hero-actions { flex-wrap: wrap; gap: 1rem; }
    }

    /* ── 3. IPAD LANDSCAPE / SMALL LAPTOP (769–1024px) ──────────────
       Supplements the existing 769px–1024px block with refined
       typography and container padding.
    ─────────────────────────────────────────────────────────────── */
    @media (min-width: 769px) and (max-width: 1024px) {
      .hero-title { font-size: clamp(3.5rem, 5.5vw, 6rem); }
      .container { padding: 0 2rem; }
      .services-grid { grid-template-columns: repeat(2, 1fr); }
    }

    /* ── 4. LARGE SCREENS (1440px+) ─────────────────────────────────
       Wider containers and larger display type for 1440p and 1080p
       desktop monitors where the default 1200px max-width feels narrow.
    ─────────────────────────────────────────────────────────────── */
    @media (min-width: 1440px) {
      .container { max-width: 1320px; }
      .hero-title { font-size: clamp(6rem, 6vw, 9rem); }
    }
