
  /* ========================================================================
    STYLES.CSS — Optimized Structure (v2.3)
    Reestructurado para claridad, mantenibilidad y performance.
    Todas las reglas originales se conservan.
  ======================================================================= */

  :root {
    --color-bg: #0e141c;
    --color-bg-secondary: #361559;
    --color-text: #F0F0F0;
    --color-sparks: #FF7F00;
    --color-resolves: #00BFFF;
    --color-move: #E0008A;
    --color-accent: var(--color-move);
    --font-heading: 'Figtree', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 80px;
    --duration-xfast: 0.2s;
    --duration-fast: 0.3s;
    --duration-normal: 0.5s;
    --duration-slow: 1.2s;
    --space-section-sm: 6vh;
  --space-section-md: 10vh;
  --space-section-lg: 14vh;   /* separación suave */
    --layout-max: 1600px;
    --layout-gutter: 110px;
    --container-pad: 48px; /* aligns with navbar padding */
    --move-header-offset: 64px; /* probá 32 / 48 / 64 */

  }

  /* ==========================================================================
    RESET Y BASE GLOBAL
    ========================================================================== */

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: auto !important;
    cursor: none;
  }

  body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    overflow-x: hidden;
    transition: background-color var(--duration-normal) ease-in-out;
  }

  body.modal-open {
    overflow: hidden;
    padding-right: var(--scrollbar-width);
    touch-action: none;
  }

  /* Progressive enhancement:
     - Default: content visible even if JS fails
     - With JS (html.js): we can fade in after preloader and animate reveals
  */
  #main-content {
    visibility: visible;
    opacity: 1;
    transition: opacity var(--duration-normal), visibility var(--duration-normal);
  }

  html.js #main-content {
    visibility: hidden;
    opacity: 0;
  }

  html.js body.loaded #main-content {
    visibility: visible;
    opacity: 1;
  }

  section {
    padding: var(--space-section-lg) 5%;
  }

  /* ==========================================================================
    TIPOGRAFÍA Y TEXTOS
    ========================================================================== */

  .section-title {
    font-family: var(--font-heading);
    /* Ligeramente más grande y con más rango para adaptarse a pantallas */
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    text-align: center;
    margin-bottom: 80px;
    font-weight: 800;
    /* Aseguramos el máximo peso */
    letter-spacing: -0.02em;
    /* Un kerning más apretado para un look más "bold" */
    line-height: 1.1;
    text-wrap: balance;
    /* Evita líneas con una sola palabra, mejora la composición */
  }

  p {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  }

  /* ==========================================================================
    UI ELEMENTS (Preloader, Cursor, Navbar, Botones)
    ========================================================================== */

  /* --- Grain Overlay --- */
  .grain-overlay {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: -1;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdYbF3MfqEKmjM+I2EfhA94iG3L7uKrR+GdWD73ydlIB+6hgref1QTlmgmbM3/LeX5GI1Ux1RWpgxpLuZ2+I+IjzZ8wqE4nilvQdkUdfhzI5QDWy+kw5Wgg2pGpeEVeCCA7b85BO3F9DzxB3cdqvBzWcmzbyMiqhzuYqtHRVG2y4x+KOlnyqla8AoWWpuBoYRxzXrfKuILl6SfiWCbjxoZJUaCBj1CjH7GIaDbc9kqBY3W/Rgjda1iqQcOJu2WW+76pZC9QG7M00dffe9hNnseupFL53r8F7YHSwJWUKP2q+k7RdsxyOB11n0xtOvnW4irMMFNV4H0uqwS5ExsmP9AxbDTc9JwgneAT5vTiUSm1E7BSflSt3bfa1tv8Di3R8n3Af7MNWzs49hmauE2wP+ttrq+AsWpFG2awvsuOqbipWHgtuvuaAE+A1Z/7gC9hesnr+7wqCwG8c5yAg3AL1fm8T9AZtp/bbJGwl1pNrE7RuOX7PeMRUERVaPpEs+yqeoSmuOlokqw49pgomjLeh7icHNlG19yjs6XXOMedYm5xH2YxpV2tc0Ro2jJfxC50ApuxGob7lMsxfTbeUv07TyYxpeLucEH1gNd4IKH2LAg5TdVhlCafZvpskfncCfx8pOhJzd76bJWeYFnFciwcYfubRc12Ip/ppIhA1/mSZ/RxjFDrJC5xifFjJpY2Xl5zXdguFqYyTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5kJggg==');
    animation: grain 8s steps(10) infinite;
    opacity: 0.05;
  }

  @keyframes grain {

    0%,
    100% {
      transform: translate(0, 0);
    }

    10% {
      transform: translate(-5%, -10%);
    }

    20% {
      transform: translate(-15%, 5%);
    }

    30% {
      transform: translate(7%, -25%);
    }

    40% {
      transform: translate(-5%, 25%);
    }

    50% {
      transform: translate(-15%, 10%);
    }

    60% {
      transform: translate(15%, 0%);
    }

    70% {
      transform: translate(0%, 15%);
    }

    80% {
      transform: translate(3%, 35%);
    }

    90% {
      transform: translate(-10%, 10%);
    }
  }

  .preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    z-index: 5000;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .preloader-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    display: flex;
    gap: 1rem;
  }

  .preloader-text span {
    opacity: 0;
  }

  .cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background-color: var(--color-accent);
    border-radius: 50%;
    top: 0;
    left: 0;
    pointer-events: none;
    /* AJUSTE BUG: Z-index mucho más alto para que siempre esté visible */
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1), height 0.4s cubic-bezier(0.23, 1, 0.32, 1), background-color 0.4s, transform 0.1s linear;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .cursor.hover {
    width: 50px;
    height: 50px;
    background-color: rgba(224, 0, 138, 0.5);
  }

  .cursor.card-view {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .cursor-text {
    opacity: 0;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: opacity 0.3s ease-out, transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform: scale(0.8);
  }

  .cursor.card-view .cursor-text {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.1s;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color var(--duration-normal) ease, backdrop-filter var(--duration-normal) ease;
  }

  .navbar.scrolled {
    background-color: rgba(28, 40, 51, 0.8);
    backdrop-filter: blur(10px);
  }

  .navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--container-pad);
    height: var(--nav-height);
  }

  .logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    text-decoration: none;
    color: var(--color-text);
  }

  .nav-desktop a {
    color: var(--color-text);
    text-decoration: none;
    margin-left: 32px;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    transition: color var(--duration-fast);
  }

  .nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-normal) cubic-bezier(0.23, 1, 0.32, 1);
  }

  .nav-desktop a.active::after {
    transform: scaleX(1);
  }

  /* Regla para subrayado */

  .nav-desktop a.active {
    color: var(--color-accent);
  }

  .nav-hamburger {
    position: relative;
    width: 25px;
    height: 21px;
    transition: transform var(--duration-fast);
    background: none;
    border: none;
    z-index: 1001;
    display: none;
  }

  .nav-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-text);
    position: absolute;
    left: 0;
    transition: transform var(--duration-fast), opacity var(--duration-fast);
  }

  .nav-hamburger span:nth-child(1) {
    top: 0;
  }

  .nav-hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-hamburger span:nth-child(3) {
    bottom: 0;
  }

  .nav-hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  .nav-hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
  }

  .nav-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform var(--duration-normal) cubic-bezier(0.23, 1, 0.32, 1);
  }

  .nav-mobile-overlay.active {
    transform: translateX(0);
  }

  .nav-mobile-links {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .nav-mobile-links a {
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 36px;
  }

  .btn {
    display: inline-block;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  }

  .btn.primary {
    background: #fff;
    color: #1C1C1C;
    border: none;
  }

  .btn.primary:hover {
    background: #e0e0e0;
    color: #000;
  }

  .btn.ghost {
    opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  }
  .back-to-top.visible{
    opacity: 1;
    pointer-events: auto;
  }
  .btn.ghost:hover {
    background: #fff;
    color: #1C1C1C;
  }

  .btn.link {
    background: transparent;
    color: #fff;
    border: none;
    border-bottom: 2px solid transparent;
  }

  .btn.link:hover {
    border-color: currentColor;
  }

  .btn-pill {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background-color: var(--color-move);
    color: white;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    font-size: 1rem;
  }

  .btn-pill:hover {
    background-color: #fff;
    color: var(--color-bg);
    transform: translateY(-2px);
  }

  a:focus-visible,
  button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
    border-radius: 4px;
    transition: outline-offset 0.2s, outline-color 0.3s;
  }

  /* Progressive enhancement for reveals:
     - Default: visible (so the portfolio never appears blank)
     - With JS (html.js): start hidden and let GSAP/ScrollTrigger reveal them
  */
  .reveal {
    opacity: 1;
    transform: none;
  }

  html.js .reveal {
    opacity: 0;
    transform: translateY(40px);
    will-change: transform, opacity;
  }

  /* ==========================================================================
    PAGE SECTIONS (Hero, Move, See More, Resolves, Contact, Footer)
    ========================================================================== */

  /* --- Hero --- */
  .hero {
    height: 100vh;
    position: relative;
    padding-bottom: 10vh;               /* un poco más de aire debajo del hero */
    margin-bottom: clamp(8vh, 10vh, 12vh);


  }

  .hero-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .hero-text-container {
    z-index: 2;
    text-align: center;
    position: relative;
    visibility: hidden;
    padding: 10vh 0;
  }

  .hero-line {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.15;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 85vw;
    margin: 0 auto;
    letter-spacing: -0.01em;
  }

  .hero-line .word {
    display: inline-block;
    margin-right: 0.2em;
    overflow: hidden;
    vertical-align: top;
  }

  .hero-line .word>span {
    display: block;
    transform: translateY(110%);
  }

  .hero-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
  }

  .hero-video-container {
    width: 100%;
    height: 100%;
    scale: 1.1;
  }

  .hero-video-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
  }

  .hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoomOut 10s ease-out forwards;
  }

  @keyframes heroZoomOut {
    from { transform: scale(1.05); }
    to { transform: scale(1); }
  }

  .scroll-indicator {
    position: absolute;
    bottom: 10vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2500; /* por encima de overlays */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
  }

  .scroll-indicator {
    bottom: 12vh;
    left: 50%;
    transform: translateX(-50%);
  }

  /* === Scroll Indicator CTA (See My Work) === */
  .scroll-indicator .btn-pill {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-move);
    border: none;
    cursor: pointer;
    animation: pulseArrow 2.5s infinite ease-in-out;
  }

  .scroll-indicator .btn-pill::before {
    content: "";
    width: 14px;
    height: 14px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg);
  }

  @keyframes pulseArrow {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
  }


  .scroll-indicator .btn-pill:hover {
    background: white;
    transform: translateY(-4px);
  }

  .scroll-indicator .btn-pill:hover::before {
    border-color: var(--color-move);
    transform: rotate(-45deg) translateY(2px);
  }

  .scroll-indicator svg {
    stroke: var(--color-move);
    animation: stretch-bounce 2.5s infinite ease-in-out;
    opacity: 0.9;
    transition: opacity 0.4s ease;
  }

  @keyframes stretch-bounce {

    0%,
    100% {
      transform: translateY(0) scaleY(1);
      transform-origin: bottom;
    }

    20% {
      transform: translateY(0) scaleY(1.1);
      transform-origin: bottom;
    }

    40% {
      transform: translateY(-15px) scaleY(0.9);
      transform-origin: top;
    }

    60% {
      transform: translateY(-5px) scaleY(1.05);
      transform-origin: bottom;
    }

    80% {
      transform: translateY(0) scaleY(1);
      transform-origin: bottom;
    }
  }

  .color-sparks {
    color: var(--color-sparks);
  }

  .color-resolves {
    color: var(--color-resolves);
  }

  .color-move {
    color: var(--color-move);
  }

  /* =========================================================
    MOVE SECTION — OPTION A (Header fijo + carrusel detrás)
    ========================================================= */

  /* ----- Bridge: ticker antes del Move ----- */
  .move-intro-bridge {
    position: relative;
    height: 80vh;
    padding-top: 14vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 6vh;                    /* espacio entre hero y ticker */
    margin-bottom: 8vh;                 /* espacio entre ticker y move */
    z-index: 150;
    padding-bottom: clamp(6vh, 8vh, 10vh);

  }
  

  .ticker {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 20;
    pointer-events: none;
  }

  .ticker-line {
    display: block;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(6rem, 14vw, 14rem);
    line-height: 1;
    color: var(--color-text);
    opacity: 0;
    transform: translateY(40px); /* posición inicial vertical */
    line-height: 0.9;
  }

  /* === Ticker Sequence (Ready → Steady → Go) === */
  .ticker-seq {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 25;
    pointer-events: none;
  }

  .ticker-seq .t-line {
    display: block;
    font-family: var(--font-heading);
    white-space: nowrap;
    font-size: clamp(6rem, 18vw, 16rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(40px); /* posición inicial vertical */
    will-change: opacity, transform;
    font-weight: 900;
    line-height: 0.9;
  }

  /* ----- Move Section Base ----- */
  .move-section {
    position: relative;
    z-index: 200;
    padding: 10vh 0 14vh;  /* un poco más de aire arriba y abajo */
    margin: 0;
    overflow: hidden;
    background: var(--color-bg);
    padding-top: 9vh;                   /* baja ligeramente el header de move */
    padding-bottom: clamp(8vh, 10vh, 12vh);
    margin-bottom: 0;
    scroll-margin-bottom: 8vh;


  }

  /* ----- Header fijo (editorial) ----- */
  .move-header {
    z-index: 200;
    position: absolute;
    top: 84%;
    left: 0;
    transform: translateY(-50%);
    margin-left: var(--layout-gutter);
    max-width: 520px;
    text-align: left;
    filter: drop-shadow(0px 30px 85px rgba(0, 0, 0, 0.35));
    pointer-events: none;
  }

  .move-eyebrow {
    display: block;
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.32em;
    color: rgba(255,255,255,0.45);
    margin-bottom: 1rem;
  }

  .move-title {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.01em;
    font-size: clamp(48px, 6vw, 96px);
    color: var(--color-move);
    line-height: 1;
    margin: 0;
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    transition: opacity 0.9s ease-out, transform 1.1s cubic-bezier(0.23,1,0.32,1);
  }

  .move-title.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .move-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    margin-top: 1rem;
    margin-bottom: 1rem;
    max-width: 420px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.9s ease-out, transform 1s cubic-bezier(0.23,1,0.32,1);
  }

  .move-subtitle.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .move-header::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -15%;
    width: clamp(200px, 30vw, 420px);
    height: clamp(200px, 30vw, 420px);
    /* Glow suave */
    background: radial-gradient(circle,
      rgba(224, 0, 138, 0.14),
      rgba(224, 0, 138, 0.05) 55%,
      transparent 85%
    );
    filter: blur(120px);
    z-index: -1;
  }

  /* ----- Contenedor del carrusel ----- */
  .move-container {
    width: 100vw;
    max-width: 100%;
    height: 72vh;
    margin: 0 auto;
    position: relative;          /* ⚠️ OJO: NO sticky acá */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding: 0;
    background: var(--color-bg);
  }

  /* Track horizontal */
.move-track{
  display: flex;
  align-items: center;
  gap: clamp(56px, 6vw, 120px); /* separación clara entre cards */
  padding-left: calc(var(--layout-gutter) + 420px);
    padding-right: clamp(40px, 8vw, 140px);
  will-change: transform;
}

.move-track::after{
  content: "";
  flex: 0 0 clamp(40px, 12vw, 240px);
}

  /* Cards */
  .move-card {
    flex: 0 0 auto;
    width: min(72vw, 900px);
    aspect-ratio: 16/9;
    max-height: 78vh;
    background: #222;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    opacity: 0.88;

    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.6s ease-out,
                box-shadow 0.7s cubic-bezier(0.22, 1, 0.36, 1);

    transform: perspective(1400px) rotateX(0deg) rotateY(0deg) scale(0.985);

    box-shadow: 0 18px 45px rgba(0,0,0,0.32);

  }
  .move-card::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius: inherit;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset;
    pointer-events:none;
  }
  .move-card:hover {
    transform: perspective(1400px) rotateX(1deg) rotateY(-1.4deg) scale(1.01);
    box-shadow: 0 32px 85px rgba(0,0,0,0.55);
    opacity: 1;
  }


  .move-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s ease;
  }

  .move-card:hover .card-overlay {
    transform: translateY(0);
    opacity: 1;
  }

  /* ----- Progress bar fija ----- */
  .progress-bar-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    z-index: 30;
    pointer-events: none;
  }

  /* ----- CTA flotante ----- */
  .see-more-floating {
    position: absolute;
  right: clamp(32px, 5vw, 64px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;

  width: 56px;
  height: 56px;
  border-radius: 50%;

  background: var(--color-move);
  color: #0e1116;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;
  line-height: 1;

  cursor: pointer;
  }

  .see-more-floating.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .see-more-floating:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 0 0 6px rgba(224, 0, 138, 0.15);
  }

  @media (max-width: 768px) {
    .see-more-floating {
      position: static;
      margin: 32px auto 0;
      transform: none;
    }
  }
  /* ==========================================================
    BREAK PARALLAX SECTION – FASE 5 (layout refinado)
    ========================================================== */
  .break-parallax {
    position: relative;
    /* Necesario para el z-index */
    z-index: 10;
    /* Asegura que esté por encima de otros elementos de la galería */
    display: flex;
    align-items: center;
    justify-content: center;

    /* --- LA CORRECCIÓN CLAVE --- */
    overflow: visible;
    /* 1. PERMITIMOS que las imágenes se salgan del contenedor */

    min-height: 150vh;
    /* Podemos reducir la altura, ya que el espacio lo dará el margen */
    width: 100%;

    /* 2. CREAMOS un espacio vacío debajo para que las imágenes "desbordadas" no se pisen con el siguiente contenido */
    margin: 12vh 0 50vh;

    border-radius: 0;
    padding: 0;
    /* Ya no necesitamos el padding que era un parche anterior */
  }

  .break-parallax .parallax-card {
    position: absolute;
    width: clamp(200px, 25vw, 350px);
    aspect-ratio: 1/1;
    will-change: transform;
    z-index: 10;
  }

  .break-parallax .parallax-card img,
  .break-parallax .parallax-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .break-parallax-text {
    position: relative;
    z-index: 5;
    /* Z-index BAJO para estar por detrás de las imágenes */
    max-width: 700px;
    text-align: center;
    padding: 3rem;
    border-radius: 1rem;
    background: rgba(10, 16, 22, 0.6);
    /* Fondo sólido para legibilidad */
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .break-parallax-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .break-parallax-text p {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.6;
    opacity: 0.9;
  }

  /* Tema oscuro / claro */
  .break-parallax.dark {
    background: #101418;
  }

  .break-parallax.light {
    background: #f8f8f8;
    color: #111;
  }

  .break-parallax.light .break-parallax-text {
    background: rgba(255, 255, 255, 0.75);
    color: #111;
    backdrop-filter: blur(12px);
  }

  @media (max-width: 900px) {
    .break-parallax {
      min-height: 70vh;
    }

    .break-parallax .break-parallax-text {
      max-width: 90%;
      padding: 1.5rem;
    }

    .break-parallax .break-parallax-text h2 {
      font-size: clamp(1.6rem, 6vw, 2.6rem);
    }

    .break-parallax .break-parallax-text p {
      font-size: clamp(0.9rem, 3vw, 1.1rem);
    }
  }

  .progress-bar-container {
    position: fixed;
    /* AJUSTE: Vuelve a la parte inferior */
    bottom: 0;
    top: auto;
    left: 0;
    width: 100%;
    /* AJUSTE: Altura original */
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 1001;
    opacity: 0;
    /* JS controlará la visibilidad */
    transition: opacity 0.4s ease-in-out;
    pointer-events: none;
  }

  .progress-bar-container.visible {
    opacity: 1;
  }

  .progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-move), #ff5ac8);
    box-shadow: 0 0 8px rgba(224, 0, 138, 0.5);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                background-color 0.5s ease-in-out;
  }

 

  /* --- Resolves Section --- */
  
  
  
  
  .resolves-section {
    position: relative;
    z-index: 3;
    /* Fondo con leve glow Resolves/Move para darle carácter editorial */
    background:
      radial-gradient(circle at 0% 0%, rgba(0, 191, 255, 0.18), transparent 55%),
      radial-gradient(circle at 100% 100%, rgba(224, 0, 138, 0.12), transparent 60%),
      var(--color-bg);
      padding-top: clamp(10vh, 12vh, 14vh);
    padding-bottom: var(--space-section-lg);
    scroll-margin-top: calc(var(--nav-height) + 24px);
  }

  .resolves-content {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
    column-gap: clamp(56px, 6vw, 120px);
    row-gap: 56px;
    align-items: start;
    max-width: 1600px;
    margin: 0 auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
  }

  .resolves-image img{
    width: 100%;
    height: auto;
    display: block;
  
    /* base editorial */
    border-radius: 10px;
  
    /* micro imperfección */
    clip-path: polygon(
      0% 0%,
      100% 0%,
      100% 92%,
      94% 100%,
      0% 100%
    );
  }
  .resolves-image{
    align-self: start;
    max-width: 460px;
    width: 100%;
    opacity: 0.95;
    margin-top: 10px;
  }
  .resolves-text {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 0;
  }

  /* Heading principal dentro de Resolves */
  .resolves-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3.1vw, 2.7rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    max-width: 20ch;
    text-wrap: balance;
    margin-bottom: 0.5rem;
  }

  .resolves-text p {
    font-size: clamp(0.95rem, 1vw, 1.1rem);
    line-height: 1.8;
    margin: 0;
    max-width: 48ch;
    opacity: 0.9;
    font-weight: 400;
    text-wrap: pretty;
  }

  /* Primer párrafo como “statement” editorial un poco más marcado */
  .resolves-text p:first-of-type {
    opacity: 1;
  }

  /* === Resolves — Pill Grid Editorial === */
  .resolves-pill-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px;
    margin-top: 28px;
  }

  .resolves-pill {
    padding-top: 8px;
  }

  .resolves-pill h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 0.5rem;
  }

  .resolves-pill p {
    font-size: 0.92rem;
    line-height: 1.7;
    opacity: 0.88;
    margin: 0;
  }

  @media (max-width: 768px) {
    .resolves-content {
      grid-template-columns: 1fr;
      text-align: center;
      row-gap: 32px;
      padding-left: var(--container-pad);
      padding-right: var(--container-pad);
    }

    .resolves-image {
      display: flex;
      justify-content: center;
      max-width: 420px;
    }

    .resolves-section h2 {
      margin-left: auto;
      margin-right: auto;
    }

    .resolves-text p {
      margin-left: auto;
      margin-right: auto;
    }

    .resolves-pill-grid {
      grid-template-columns: 1fr;
      row-gap: 20px;
    }
  }
/* ===== Resolves: Color Notes (Sparks / Resolves / Move) ===== */
.note{
  font-weight: 600;
  position: relative;
  display: inline;
  padding: 0 .14em;
  border-radius: .42em;
  white-space: nowrap;
  text-decoration: none;
}





/* Pillar colors */
.note-sparks{  color: var(--color-sparks); }
.note-resolves{color: var(--color-resolves); }
.note-move{    color: var(--color-move); }


/* Mobile: slightly quieter */
@media (max-width: 640px){
  .note::before{ height: .52em; }
  .note::after{ opacity: .45; }
}

  /* ===== Contact ===== */
.contact-section{
  background: #0E0E12; /* dark clean */
  padding: clamp(5rem, 10vw, 8rem) 1.5rem;
}

.contact-inner{
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  padding-left: var(--layout-gutter);
padding-right: var(--layout-gutter);
}

.contact-eyebrow{
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}

.contact-section h2{
  position: relative;
  display: inline-block;
  line-height: 1.05;
}

.contact-section h2::after{
  content:"";
  position:absolute;
  left: 0;
  bottom: -0.22em;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.22);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 700ms cubic-bezier(0.23,1,0.32,1);
}

/* cuando entra en viewport, el JS agrega .is-in */
.contact-section.is-in h2::after{
  transform: scaleX(1);
}

/* Mobile: un poco más fino */
@media (max-width: 640px){
  .contact-section h2::after{ height: 1px; }
}

.contact-copy{
  max-width: 42ch;
  margin: 0 auto 2.5rem;
  opacity: 0.8;
}

.contact-actions{
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Buttons */
.btn-primary{
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  background: var(--color-move);
  color: #fff;
  font-weight: 600;
}

.btn-secondary{
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  opacity: 0.85;
}


  /* ===== Footer ===== */
  .site-footer{
    padding: 2.5rem 1.5rem 3rem;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  
  .footer-inner{
    max-width: 1200px;
    margin: 0 auto;
    display:flex;
    justify-content: space-between;
    align-items:center;
    gap: 1.25rem;
    font-size: 0.85rem;
    opacity: .6;
    padding-left: var(--layout-gutter);
padding-right: var(--layout-gutter);
  }

.footer-copy{
  white-space: nowrap;
}

.footer-links a{
  text-decoration:none;
  color: inherit;
  opacity: .85;
}


.footer-links a{
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-links a:hover{ opacity: 1; }

@media (max-width: 640px){
  .footer-inner{ flex-direction: column; text-align:center; gap: .75rem; }
}

/* Mobile */
@media (max-width: 640px){
  .footer-inner{
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

.back-to-top{
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 999;
  margin: 0 !important;
}
/* Botones: hover + focus visible */
.btn-primary, .btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  text-decoration:none;
  line-height:1;
  transition: transform .18s ease, opacity .18s ease, border-color .18s ease, filter .18s ease;
}

.btn-primary:hover{ transform: translateY(-1px); filter: saturate(1.05); }
.btn-secondary:hover{ transform: translateY(-1px); opacity: 1; border-color: rgba(255,255,255,.35); }

.btn-primary:focus-visible, .btn-secondary:focus-visible{
  outline: 2px solid rgba(255,255,255,.55);
  outline-offset: 3px;
}

  /* ==========================================================================
    MODAL Y GALERÍAS
    ========================================================================== */

  .modal-page {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: rgba(10, 16, 22, 0.96);
    backdrop-filter: blur(8px);
    color: var(--color-text);
    /* Modal spacing system */
    --modal-space-xs: 24px;
    --modal-space-md: 56px;
    --modal-space-lg: 110px;
  }

  .modal-scroll-wrapper {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-hero {
    position: relative;
    width: 100%;
    height: clamp(52vh, 64vh, 72vh);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8vh;
    background: #101418;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
  }

  .modal-hero-media {
    width: 100%;
    height: 100%;
  }

  .modal-hero img,
  .modal-hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .modal-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
  }

  /* --- MODAL HEADER --- */
  .modal-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
    /* 💨 separa el título de los detalles */
    margin: 0 auto;
    max-width: 1600px;
    padding: clamp(2.5rem, 4vw, 3.5rem) var(--container-pad) var(--modal-space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .modal-header+.modal-gallery-container {
    margin-top: var(--modal-space-lg);
  }

  .modal-header .title-container h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.2vw, 4.4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    text-wrap: balance;
    color: var(--color-accent);
  }

  .client-role {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-family: var(--font-body);
    font-size: clamp(0.92rem, 1vw, 1.02rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
  }

  /* --- MODAL DETAILS --- */

  .details-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--modal-space-md) var(--modal-space-lg);
    width: 100%;
    margin-top: 1rem;
  }

  .detail-item {
    flex: 1 1 30%;
    min-width: 280px;
    max-width: 380px;
  }

  .detail-item h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    color: var(--color-accent);
  }

  .detail-item p {
    font-family: var(--font-body);
    font-size: clamp(0.92rem, 0.95vw, 1.06rem);
    line-height: 1.8;
    letter-spacing: 0.005em;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.85);
    text-wrap: balance;
    line-height: 1.75;
    max-width: 60ch;
  }

  .modal-reveal {
    opacity: 0;
    transform: translateY(40px);
  }

  /* --- MODAL GALLERY --- */
  .modal-gallery-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    /* Permite que los elementos se ajusten */
    gap: 2rem;
    padding: var(--modal-space-lg) var(--container-pad) 8vh;
  }

  .modal-content-wrapper {
    width: 100%;
  }

  /* =============================
     MODAL — Section rhythm system
     (B) comp + spacing consistency
     ============================= */
  .modal-section{
    width: 100%;
    margin-top: var(--modal-space-lg);
  }

  .modal-section--md{ margin-top: var(--modal-space-md); }
  .modal-section--xs{ margin-top: var(--modal-space-xs); }

  .modal-kicker{
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.55;
    margin-bottom: 0.9rem;
  }

  .modal-section-title{
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 1rem;
    text-wrap: balance;
  }

  .modal-lede{
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.1vw, 1.15rem);
    line-height: 1.75;
    opacity: 0.88;
    max-width: 64ch;
  }

  .modal-divider{
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin-top: var(--modal-space-lg);
  }

  @media (max-width: 600px){
    .modal-section{ margin-top: 72px; }
    .modal-divider{ margin-top: 72px; }
  }

  .gallery-heading {
    width: 100%;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    letter-spacing: -0.02em;
    text-align: center;
    color: var(--color-text);
    margin-top: var(--modal-space-lg);
  }

  /* Layouts de galería */
  .gallery-item {
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    box-shadow: 0 14px 38px rgba(0,0,0,0.22);
  }

  /* Full-width assets */
.gallery-item.full-width {
  margin-top: 10vh;
  margin-bottom: 4vh;
}

  .gallery-item.half-width {
    width: calc(50% - 1rem);
  }

  .gallery-item.third-width {
    width: calc(33.333% - 1.34rem);
  }

  .gallery-item.fourth-width {
    width: calc(25% - 1.5rem);
  }

  .gallery-item img,
  .gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.02) contrast(1.02);
  }

  .sticky-section-wrapper {
    display: flex;
    align-items: flex-start;
    gap: clamp(24px, 3vw, 56px);
    width: 100%;
    position: relative;
    margin-top: var(--modal-space-lg);
  }

  .sticky-column {
    position: -webkit-sticky;
    position: sticky;
    top: 10vh;
    flex: 0 0 35%;
    max-width: 35%;
    padding-right: 2rem;
  }

  .sticky-column h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 1.2rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
  }

  .scroll-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  /* --- MODAL UI (BOTONES, ETC.) --- */
  .nav-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4100;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(28, 40, 51, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
  }

  .nav-arrow.prev {
    left: 40px;
  }

  .nav-arrow.next {
    right: 40px;
  }

  .nav-arrow:hover {
    color: white;
    background: var(--color-accent);
    transform: translateY(-25%) scale(1.08);
  }

  .modal-close-btn {
    position: fixed;
    top: 36px;
    right: var(--container-pad);
    width: 48px;
    height: 48px;
    background: rgba(28, 40, 51, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4100;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .modal-close-btn:hover {
    transform: scale(1.1) rotate(90deg);
    background: var(--color-move);
  }

  /* --- MODAL RESPONSIVE --- */
  @media (max-width: 900px) {

    .gallery-item.half-width,
    .gallery-item.third-width,
    .gallery-item.fourth-width {
      width: calc(50% - 1rem);
    }

    .sticky-section-wrapper {
      flex-direction: column;
    }

    .sticky-column {
      position: static;
      max-width: 100%;
      padding-right: 0;
      margin-bottom: 2rem;
    }
  }

  @media (max-width: 600px) {
    .nav-arrow.prev {
      left: 20px;
    }

    .nav-arrow.next {
      right: 20px;
    }

    .modal-close-btn {
      top: 20px;
      right: 24px;
    }

    .gallery-item.half-width,
    .gallery-item.third-width,
    .gallery-item.fourth-width {
      width: 100%;
    }
  }

  /* --- ASPECT RATIOS DE GALERÍA --- */
  .gallery-item.aspect-1-1 {
    aspect-ratio: 1 / 1;
  }

  .gallery-item.aspect-4-3 {
    aspect-ratio: 4 / 3;
  }

  .gallery-item.aspect-16-9 {
    aspect-ratio: 16 / 9;
  }

  .gallery-item.aspect-9-16 {
    aspect-ratio: 9 / 16;
  }

  .gallery-item.aspect-4-3 img,
  .gallery-item.aspect-4-3 video {
    object-fit: contain;
    /* Contener para no cortar los bordes */
  }

  /* --- Scrollbar custom --- */
  .modal-scroll-wrapper::-webkit-scrollbar {
    width: 8px;
  }

  .modal-scroll-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
  }


  /* ==========================================================================
    RESPONSIVE MEDIA QUERIES
    ========================================================================== */

  @media (max-width: 900px) {
    .sticky-column {
      position: static;
      margin-bottom: 5vh;
    }
  }

  @media (max-width: 768px) {
    section {
      padding: 12vh 5%;
    }

    .navbar-container {
      padding: 0 24px;
    }

    .nav-desktop {
      display: none;
    }

    .nav-hamburger,
    .nav-mobile-overlay {
      display: flex;
    }

    .move-track {
      padding: 0 5vw;
    }

    .move-card {
      flex: 0 0 90vw;
    }

    .see-more-floating {
      bottom: 5.5rem;
      left: 50%;
      right: auto;
      transform: translateX(-50%);
    }

    .resolves-content {
      grid-template-columns: 1fr;
      text-align: center;
    }

    .resolves-image {
      margin: 0 auto 40px;
    }

    .contact-buttons {
      flex-direction: column;
      align-items: center;
    }
  }

  @media (max-width: 375px) {
    section {
      padding-left: 5vw;
      padding-right: 5vw;
    }
  }

  @media (pointer: coarse) {
    .cursor {
      display: none;
    }

    html {
      cursor: auto;
    }
  }

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

    *,
    *::before,
    *::after {
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
      scroll-behavior: auto !important;
    }
  }

  /* ==========================================================================
    ACCESIBILIDAD Y OVERRIDES FINALES (fade overlay)
    ========================================================================== */

  /* --- Fade Overlay desactivado permanentemente --- */
  #fade-overlay {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: fixed !important;
    inset: 0 !important;
    background: none !important;
    transition: none !important;
    z-index: -1 !important;
    backdrop-filter: none !important;
  }

  #pin-spacer-absorber {
    margin-top: 0; /* ya no necesitamos este truco */
  }

  #move::after {
    content: "";
    display: block;
    height: 0; /* sin espacio artificial debajo de move */
  }

  .move-pin-ghost {
    height: 0 !important;
    min-height: 0 !important;
  }





/* --- SEE MORE — Refinado Tipográfico (B, depurado) --- */

/* Sección alineada al sistema de spacing global */
.see-more-section {
  position: relative;
  z-index: 3;
  background-color: var(--color-bg);
  padding: var(--space-section-lg) 5% var(--space-section-lg);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.6s ease;
}

.see-more-section.is-visible{
  opacity: 1;
  pointer-events: auto;
  max-height: 5000px; /* suficientemente grande para el contenido */
}

/* Título ligeramente más sobrio que el héroe, pero protagonista */
.see-more-section .section-title {
  font-size: clamp(2.4rem, 4.6vw, 3.4rem);
  margin-bottom: 24px;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

/* Subtítulo integrado al bloque, centrado y con aire cómodo */
.see-more-section .section-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  max-width: 560px;
  opacity: 0.8;
  line-height: 1.7;
  margin: 10px auto 52px;
  text-align: center;
}

.see-more-grid {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--layout-gutter) 80px;
    display: flex;
  justify-content: center;
  gap: 32px;
}
.see-more-grid-column {
  display: flex;
  flex-direction: column;
  gap: 80px; /* más separación vertical real entre cards */
}

.see-more-grid::before {
  content: "";
  position: absolute;
  inset: -10% 0 -5% 0;
  max-width: 1040px;
  margin: 0 auto;
  left: 0;
  right: 0;
  background:
    radial-gradient(circle at 50% 0%,
      rgba(255, 255, 255, 0.08),
      transparent 60%);
  opacity: 0.16;
  pointer-events: none;
  z-index: -1;
}
/* Card base: mantenemos el tamaño y reforzamos el look editorial */
.see-more-grid .grid-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  transform: translate3d(0, 0, 0); /* asegura que no quede ningún translateY viejo */
  padding: 1.4rem 1.5rem 1.6rem;
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 0%,
      rgba(255, 255, 255, 0.06),
      rgba(10, 16, 22, 0.9) 55%,
      rgba(5, 8, 12, 1) 100%);
  background-blend-mode: screen;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition:
    transform 0.32s cubic-bezier(0.23, 1, 0.32, 1),
    background 0.25s ease-out,
    border-color 0.25s ease-out,
    box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}


/* Imagen 16:9 estable y con micro-movimiento al hover */


.see-more-grid .grid-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  border-radius: 14px;
  transform-origin: center center;
  filter: brightness(0.98);
  transition:
    transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    filter 0.3s ease-out;
}
/* Accent cards sin imagen: bloque editorial de color */
.see-more-grid .grid-card-media.accent-block {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.see-more-grid .grid-card-media.accent-block .accent-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(224, 0, 138, 0.78),
    rgba(0, 0, 0, 0.25)
  );
  backdrop-filter: blur(6px);
  opacity: 0.9;
}
/* Media/content wrapper for updated JS structure */
.see-more-grid .grid-card-media {
  margin-bottom: 0.85rem;
}

.see-more-grid .grid-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

/* Variantes de aspecto para See More (se usan como clases extra en cada card) */
.see-more-grid .grid-card.aspect-1x1 img {
  aspect-ratio: 1 / 1;
}

.see-more-grid .grid-card.aspect-9x16 img {
  aspect-ratio: 9 / 16;
}
/* Tipografía editorial dentro de cada card */
.see-more-grid .grid-card-category {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.25rem;
}

.see-more-grid .grid-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0.15rem 0 0.3rem;
}

.see-more-grid .grid-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.78;
  margin: 0;
}

.see-more-grid .grid-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(18, 26, 36, 0.96);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
}

.see-more-grid .grid-card:hover img {
  transform: scale(1.055);
  filter: brightness(1.08);
}

/* Punto focal: variantes hero / accent en MORE WORK */
.see-more-grid .grid-card.see-more-card--hero,
.see-more-grid .grid-card.see-more-card--accent {
  margin-top: 0; /* las focales no siguen el wave de nth-child */
  margin-bottom: 10px; /* aire extra para que no se pegue con la siguiente card */
}

/* Hero: más peso, glow Move */
.see-more-grid .grid-card.see-more-card--hero {
  border-color: rgba(224, 0, 138, 0.85);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(224, 0, 138, 0.35);
  transform-origin: center center;
  background:
    radial-gradient(circle at 10% 0%,
      rgba(224, 0, 138, 0.18),
      rgba(10, 16, 22, 0.96) 55%,
      rgba(5, 8, 12, 1) 100%);
  background-blend-mode: screen;
}

/* Accent: toque Sparks */
.see-more-grid .grid-card.see-more-card--accent {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  background-blend-mode: screen;
}

/* Hover refinado para las focales: un poco más de movimiento */
.see-more-grid .grid-card.see-more-card--hero:hover {
  transform: translateY(-9px);
  box-shadow:
    0 32px 85px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.see-more-grid .grid-card.see-more-card--accent:hover {
  transform: translateY(-8px);
  box-shadow:
    0 28px 75px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Responsive grid */
@media (max-width: 1200px) {
  .see-more-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 840px;
  }
}

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

/* =========================================
   SEE MORE – columnas y separación vertical
   ========================================= */

.see-more-grid-columns {
  display: flex;
  justify-content: center;
  gap: 32px;
}


.see-more-grid .grid-card {
  margin-bottom: 0;
}

/* Back to Work alineado debajo de la grilla centrada */
.back-to-work {
  margin-top: 40px;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-work::before {
  content: "←";
  font-size: 1rem;
  opacity: 0.85;
}

.back-to-work:hover {
  opacity: 1;
  transform: translateY(-3px);
}
  /* ==========================================================
    SPACING SYSTEM — RITMO VERTICAL ENTRE SECCIONES
    v1 — Ajuste editorial y coherente
    ========================================================== */

  /* -----------------------------------------
    MOVE SECTION
  ----------------------------------------- */
  .move-section {
    padding-top: var(--space-section-lg);
    padding-bottom: var(--space-section-lg);
  }

  /* Header dentro de Move: ligeramente más bajo */
  .move-header {
    top: 84%;
    pointer-events: none;
  }


  /* -----------------------------------------
    RESOLVES SECTION
  ----------------------------------------- */
  .resolves-section {
    padding-top: var(--space-section-lg);
    padding-bottom: var(--space-section-lg);
  }


/* ==========================================================
   GLOBAL ALIGNMENT SYSTEM — eje del logo
   ========================================================== */

   :root{
    --container-max: 1600px;
    --container-pad: 48px; /* igual que .navbar-container */
  }
  
  .section-inner{
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
  }
  
  @media (max-width: 768px){
    :root{ --container-pad: 24px; }
  }
  
  /* ==========================================================
     RESOLVES — más aire + mismo eje que logo
     ========================================================== */
  
  .resolves-section{
    padding-left: 0;
    padding-right: 0;
  }
  
  .resolves-content{
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-pad) !important;
    padding-right: var(--container-pad) !important;
  
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    column-gap: clamp(56px, 6vw, 120px);
    row-gap: 48px;
    align-items: start; /* clave: deja de “apretar” verticalmente */
  }
  
  .resolves-text{
    padding-top: 0 !important;
    gap: 22px;
  }
  
  .resolves-section h2{
    max-width: 18ch; /* menos comprimido */
    margin-bottom: 0.25rem;
  }
  
  .resolves-text p{
    max-width: 56ch;
  }
  
  .resolves-image{
    max-width: 460px;
    justify-self: end;
    margin-top: 6px;
  }
  
  @media (max-width: 980px){
    .resolves-content{
      grid-template-columns: 1fr;
      text-align: left;
    }
    .resolves-image{
      justify-self: start;
      max-width: 420px;
    }
    .resolves-section h2,
    .resolves-text p{
      margin-left: 0;
      margin-right: 0;
    }
  }
  
  /* ==========================================================
     CONTACT + FOOTER — mismo eje del logo
     ========================================================== */
  
  .contact-section{ padding-left: 0; padding-right: 0; }
  .contact-inner{
    max-width: var(--container-max);
    padding-left: var(--container-pad) !important;
    padding-right: var(--container-pad) !important;
    text-align: center; /* si querés lo paso a left después */
  }
  
  .site-footer{ padding-left: 0; padding-right: 0; }
  .footer-inner{
    max-width: var(--container-max);
    padding-left: var(--container-pad) !important;
    padding-right: var(--container-pad) !important;
  }

  /* ==========================================================
   CONTACT — layout editorial en 2 columnas
   ========================================================== */

.contact-inner{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  column-gap: clamp(48px, 6vw, 120px);
  align-items: center;
  text-align: left;
}

.contact-copy{
  margin-left: 0;
  margin-right: 0;
  max-width: 52ch;
}

.contact-actions{
  justify-content: flex-start;
  margin-top: 0;
  gap: 16px;
}

/* CTA principal más presente */
.contact-actions .btn-primary{
  font-size: 1.05rem;
  padding: 1rem 1.6rem;
}

/* Mobile: vuelve a una columna */
@media (max-width: 768px){
  .contact-inner{
    grid-template-columns: 1fr;
    row-gap: 32px;
    text-align: center;
  }

  .contact-actions{
    justify-content: center;
  }
}

/* ==========================================================
   CONTACT — C) background editorial (glow limpio)
   ========================================================== */

   .contact-section{
    position: relative;
    background:
      radial-gradient(circle at 20% 20%, rgba(224, 0, 138, 0.12), transparent 55%),
      radial-gradient(circle at 80% 70%, rgba(0, 191, 255, 0.08), transparent 60%),
      linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0) 40%),
      #0E0E12;
  }
  
  /* Un borde superior ultra-sutil para separar del bloque anterior */
  .contact-section::before{
    content:"";
    position:absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: rgba(255,255,255,0.06);
  }


  /* =============================
   RESOLVES — subtle color notes
   ============================= */
.resolves-section h2 .kw{
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}
.resolves-section h2 .kw::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.38em;
  opacity: 0.16;
  border-radius: 999px;
  transform: translateZ(0);
}
.resolves-section h2 .kw--sparks{ color: var(--color-sparks); }
.resolves-section h2 .kw--sparks::after{ background: var(--color-sparks); }
.resolves-section h2 .kw--resolves{ color: var(--color-resolves); }
.resolves-section h2 .kw--resolves::after{ background: var(--color-resolves); }
.resolves-section h2 .kw--move{ color: var(--color-move); }
.resolves-section h2 .kw--move::after{ background: var(--color-move); }

/* =============================
   CONTACT — CTA hover feedback
   ============================= */
#contact .contact-actions a,
#contact .contact-actions button{
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
#contact .contact-actions a:hover,
#contact .contact-actions button:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
  border-color: var(--color-accent);
}
#contact .contact-actions a:active,
#contact .contact-actions button:active{
  transform: translateY(0px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}


/* ============================
   CASE MODAL — Layout actual (B) / Polish
   Mantiene: Hero arriba + header con 3 columnas
   ============================ */

   .modal-hero{
    height: clamp(46vh, 58vh, 68vh); /* un poco más compacto */
    margin-bottom: 6vh;
  }
  
  /* Header: que respire pero no se “caiga” demasiado */
  .modal-header{
    padding-top: clamp(2.2rem, 3.2vw, 3rem);
    padding-bottom: clamp(2.2rem, 3.2vw, 3.2rem);
    gap: 2.2rem; /* antes estaba muy suelto */
  }
  
  /* Título más “editorial” y menos pesado */
  .modal-header .title-container h2{
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 0.98;
    margin-bottom: 0.35rem;
  }
  
  /* Client / role: más fino y alineado */
  .client-role{
    gap: 1rem;
    opacity: 0.72;
    margin-bottom: 0.75rem;
  }
  
  /* 3 columnas: bien marcadas y con baseline coherente */
  .details-container{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(36px, 4.5vw, 72px);
    margin-top: clamp(24px, 4vh, 40px);
  }
  
  .detail-item{
    min-width: 240px;
    max-width: 360px;
  }
  
  /* Labels (CHALLENGE / SOLUTION / IMPACT) más pro */
  .detail-item h3{
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: var(--color-move);
    position: relative;
  }
  
  .detail-item h3::after{
    content:"";
    display:block;
    width: 18px;
    height: 2px;
    margin-top: 6px;
    background: var(--color-move);
    opacity: 0.85;
  }
  /* Texto: más compacto (menos “bloque corporate”) */
  .detail-item p{
    font-size: clamp(0.95rem, 1vw, 1.05rem);
    line-height: 1.65;
    opacity: 0.82;
    max-width: 42ch;
  }
  
  /* Separador: más sutil */
  .modal-header{
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  
  /* Responsive: que las 3 columnas caigan lindo */
  @media (max-width: 900px){
    .details-container{
      gap: 1.8rem;
    }
    .detail-item{
      min-width: 0;
      max-width: 100%;
    }
  }

  /* ============================
   CASE MODAL — Gallery alignment / rhythm
   (mantiene layout, solo pule)
   ============================ */

/* El contenedor general de la galería: mismo eje, mismo padding */
.modal-gallery-container{
  max-width: 1600px;
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  padding-top: clamp(4rem, 7vw, 6.5rem); /* más “entry” */
  gap: clamp(18px, 2vw, 28px);
}

/* Primer bloque: que “caiga” más cerca del header */
.modal-header + .modal-gallery-container{
  margin-top: 0; /* evita saltos raros */
}

/* Cards/media: bordes y sombra más consistentes */
.gallery-item{
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.015);
  box-shadow: 0 18px 55px rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.06);
}

/* Media: un toque más cinematográfico */
.gallery-item img,
.gallery-item video{
  filter: saturate(1.03) contrast(1.03);
  transform: translateZ(0);
}

/* Full width: que no quede “flat” */
.gallery-item.full-width{
  border-radius: 16px;
}

/* 2 columnas: separa mejor */
.gallery-item.half-width{
  width: calc(50% - 0.9rem);
}

/* Mobile: respira y no se aplasta */
@media (max-width: 600px){
  .modal-gallery-container{
    padding-top: 3.5rem;
    gap: 16px;
  }
  .gallery-item.half-width{
    width: 100%;
  }
}

/* ============================
   CASE MODAL — Gallery alignment / rhythm
   (mantiene layout, solo pule)
   ============================ */

/* El contenedor general de la galería: mismo eje, mismo padding */
.modal-gallery-container{
  max-width: 1600px;
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  padding-top: clamp(4rem, 7vw, 6.5rem); /* más “entry” */
  gap: clamp(18px, 2vw, 28px);
}

/* Primer bloque: que “caiga” más cerca del header */
.modal-header + .modal-gallery-container{
  margin-top: 0; /* evita saltos raros */
}

/* Cards/media: bordes y sombra más consistentes */
.gallery-item{
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.015);
  box-shadow: 0 18px 55px rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.06);
}

/* Media: un toque más cinematográfico */
.gallery-item img,
.gallery-item video{
  filter: saturate(1.03) contrast(1.03);
  transform: translateZ(0);
}

/* Full width: que no quede “flat” */
.gallery-item.full-width{
  border-radius: 16px;
}

/* 2 columnas: separa mejor */
.gallery-item.half-width{
  width: calc(50% - 0.9rem);
}

/* Mobile: respira y no se aplasta */
@media (max-width: 600px){
  .modal-gallery-container{
    padding-top: 3.5rem;
    gap: 16px;
  }
  .gallery-item.half-width{
    width: 100%;
  }
}

/* ============================
   CASE MODAL — A) Header polish
   Mantiene layout actual
   ============================ */

/* Header: un poco más “tight” y editorial */
.modal-header{
  gap: clamp(1.8rem, 2.6vw, 2.4rem);
  padding-top: clamp(2.2rem, 3.2vw, 3.1rem);
  padding-bottom: clamp(2.2rem, 3.2vw, 3.3rem);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Título: más pro (menos “bloque”, mejor composición) */
.modal-header .title-container h2{
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 0.35rem;
  text-wrap: balance;
}

/* Client / Role: convertirlo en metadata más fina */
.client-role{
  gap: 0.9rem 1.2rem;
  opacity: 0.72;
  margin-bottom: 0.5rem;
  font-size: clamp(0.9rem, 0.95vw, 1rem);
}

/* Separadores sutiles entre items (sin tocar HTML) */
.client-role > *{
  position: relative;
  padding-right: 1.1rem;
}

.client-role > *:not(:last-child)::after{
  content: "•";
  position: absolute;
  right: 0.35rem;
  top: 0;
  opacity: 0.35;
}

/* Acento magenta ultra sutil debajo del título (no compite) */
.modal-header .title-container{
  position: relative;
}

.modal-header .title-container::after{
  content:"";
  display:block;
  width: clamp(42px, 6vw, 72px);
  height: 3px;
  margin-top: 12px;
  background: var(--color-move);
  opacity: 0.55;
  border-radius: 999px;
}

/* Mobile: que no se rompa el balance */
@media (max-width: 600px){
  .modal-header .title-container::after{
    height: 2px;
    margin-top: 10px;
  }
  .client-role > *{
    padding-right: 0.9rem;
  }
  .client-role > *:not(:last-child)::after{
    right: 0.25rem;
  }
}

/* ============================
   CASE MODAL — Hero polish (cinematic)
   ============================ */

/* Hero un poco más “frame” y menos alto */
.modal-hero{
  height: clamp(44vh, 56vh, 66vh);
  background: #0B0F14;
}

/* Gradiente: más controlado y premium */
.modal-hero::after{
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0) 38%,
      rgba(0,0,0,0.45) 72%,
      rgba(0,0,0,0.78) 100%
    );
  opacity: 1;
}

/* Media: look consistente (sin “lavarse”) */
.modal-hero img,
.modal-hero video{
  filter: saturate(1.02) contrast(1.03) brightness(0.98);
  transform: translateZ(0);
}

/* Borde inferior más sutil (menos “corte duro”) */
.modal-hero{
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Transición visual hacia el header */
.modal-header{
  margin-top: -2vh; /* une hero + header sin cambiar layout */
  padding-top: calc(clamp(2.2rem, 3.2vw, 3.1rem) + 2vh);
}

/* Mobile: evita que quede apretado */
@media (max-width: 600px){
  .modal-header{
    margin-top: -1vh;
    padding-top: calc(2.2rem + 1vh);
  }
}

/* ============================
   CASE MODAL — C) Impact closure
   ============================ */

/* Impact: tercera columna con más peso */
.detail-item:last-child{
  position: relative;
  padding-top: 0.4rem;
}

/* Título Impact: un poco más presente */
.detail-item:last-child h3{
  color: var(--color-move);
}

/* Línea magenta un poco más larga */
.detail-item:last-child h3::after{
  width: 26px;
  opacity: 1;
}

/* Texto Impact: más contraste y aire */
.detail-item:last-child p{
  font-size: clamp(1rem, 1.05vw, 1.1rem);
  line-height: 1.75;
  opacity: 0.95;
}

/* Glow sutil detrás del Impact (casi imperceptible) */
.detail-item:last-child::before{
  content:"";
  position:absolute;
  inset: -12% -8% -8% -8%;
  background:
    radial-gradient(
      circle at top left,
      rgba(224, 0, 138, 0.14),
      transparent 60%
    );
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}

/* Separación clara antes de galería (sensación de cierre) */
.modal-header + .modal-gallery-container{
  padding-top: clamp(5rem, 8vw, 7rem);
}

/* ============================
   MODAL — Minimal captions
   ============================ */
   .gallery-figure{
    margin: 0;
  }
  
  .gallery-caption{
    margin-top: 10px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    line-height: 1.5;
    opacity: 0.6;
    letter-spacing: 0.01em;
    max-width: 70ch;
  }

  /* ============================
   MODAL — Header typography polish
   ============================ */
.modal-header{
  gap: 2.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.modal-header .title-container h2{
  max-width: 18ch;
}

.client-role{
  opacity: 0.75;
  gap: 1rem;
}

.detail-item h3{
  opacity: 0.95;
}

.detail-item p{
  opacity: 0.85;
}

/* ============================
   MODAL — B-2 refinement (scale control)
   ============================ */

/* Primer item: sigue siendo protagonista, pero más contenido */
.modal-gallery-container .gallery-item:first-child{
  max-width: 1400px;        /* antes era virtualmente full */
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* Si es full-width, que no se sienta banner */
.modal-gallery-container .gallery-item:first-child.full-width{
  border-radius: 16px;
  box-shadow:
    0 22px 65px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.06);
}

/* Media un poco menos “punchy” */
.modal-gallery-container .gallery-item:first-child img,
.modal-gallery-container .gallery-item:first-child video{
  filter: saturate(1.03) contrast(1.03);
}

/* ==========================================================
   FIX REAL — Modal gallery media MUST FIT (no crop)
   Targets: .modal-page (tu modal real)
   ========================================================== */

/* 1) En el modal: NUNCA recortar assets de la galería */
.modal-page .modal-gallery-container .gallery-item img,
.modal-page .modal-gallery-container .gallery-item video{
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #0B0F14;
}

/* 2) El hero del caso sigue cinematic (cover) */
.modal-page .modal-hero img,
.modal-page .modal-hero video{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* 3) Verticales 9:16: no los fuerces a “third-width” en tablet,
      dales un ancho propio y centrado */
.modal-page .modal-gallery-container .gallery-item.aspect-9-16{
  width: min(520px, 92vw) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 4) Si están en scroll-column (sticky layout), asegura que no se achiquen raro */
.modal-page .sticky-section-wrapper .scroll-column .gallery-item.aspect-9-16{
  align-self: center;
}

/* =========================================
   HERO CTA — Fix arrow (no más "tick")
   ========================================= */

   .scroll-indicator .btn-pill{
    position: relative;
    overflow: hidden;
  }
  
  /* Chevron */
  .scroll-indicator .btn-pill::before{
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%) rotate(45deg);
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
  }
  
  /* Stem (línea vertical) */
  .scroll-indicator .btn-pill::after{
    content: "";
    position: absolute;
    width: 2px;
    height: 14px;
    left: 50%;
    top: 34%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 2px;
    opacity: 0.95;
  }
  
  /* Hover coherente */
  .scroll-indicator .btn-pill:hover::before{
    border-right-color: var(--color-move);
    border-bottom-color: var(--color-move);
    transform: translate(-50%, -50%) rotate(45deg) translateY(1px);
  }
  
  .scroll-indicator .btn-pill:hover::after{
    background: var(--color-move);
  }

  /* =========================================
   MOVE — Tooltip scroll horizontal
   ========================================= */

.move-tooltip {
  position: absolute;
  top: 50%;
  right: clamp(24px, 4vw, 64px);
  transform: translateY(-50%);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  z-index: 5;
}

.move-tooltip::after {
  content: "→";
  display: inline-block;
  margin-left: 6px;
  animation: moveArrow 1.6s ease-in-out infinite;
}

@keyframes moveArrow {
  0%   { transform: translateX(0); opacity: 0.6; }
  50%  { transform: translateX(6px); opacity: 1; }
  100% { transform: translateX(0); opacity: 0.6; }
}

/* =========================================
   MOVE — Tooltip scroll horizontal
   ========================================= */

.move-tooltip {
  position: absolute;
  top: 50%;
  right: clamp(24px, 4vw, 64px);
  transform: translateY(-50%);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #fff;
  opacity: 1;
  pointer-events: none;
  white-space: nowrap;
  z-index: 5;
}

.move-tooltip::after {
  content: "→";
  display: inline-block;
  margin-left: 6px;
  animation: moveArrow 1.6s ease-in-out infinite;
}

@keyframes moveArrow {
  0%   { transform: translateX(0); opacity: 0.6; }
  50%  { transform: translateX(6px); opacity: 1; }
  100% { transform: translateX(0); opacity: 0.6; }
}

/* ==========================================================
   SEE MORE – CTA FLOTANTE (USANDO EL EXISTENTE)
   ========================================================== */

   .see-more-floating {
    position: fixed;
  
    /* margen derecho opuesto al contenido */
    right: clamp(40px, 6vw, 72px);
    top: 72%;
    transform: translateY(-50%);
  
    width: 56px;
    height: 56px;
    border-radius: 999px;
  
    background: var(--color-move);
    color: #fff;
  
    display: inline-flex;
    align-items: center;
    justify-content: center;
  
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
  
    z-index: 9999;
  
    /* IMPORTANTE: oculto por defecto (GSAP lo muestra/cierra) */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  }
  
  .see-more-floating:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 0 0 6px rgba(224, 0, 138, 0.18);
    filter: brightness(1.05);
  }
  
  @media (max-width: 768px) {
    .see-more-floating {
      top: auto;
      bottom: 24px;
      right: 20px;
      transform: none;
      width: 54px;
      height: 54px;
    }
  
    .see-more-floating:hover {
      transform: scale(1.06);
    }
  }
  
  .see-more-floating:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 0 0 6px rgba(224, 0, 138, 0.18);
    filter: brightness(1.05);
  }
  
  /* ---------- Mobile ---------- */
  @media (max-width: 768px) {
    .see-more-floating {
      top: auto;
      bottom: 24px;
      right: 20px;
      transform: none;
  
      width: 54px;
      height: 54px;
    }
  
    .see-more-floating:hover {
      transform: scale(1.06);
    }
  }

  /* ==========================================================
   TICKER PRE-RESOLVE — FULL BLEED
   ========================================================== */

.ticker-section {
  
  min-height: 42vh;
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;

  /* full bleed real */
  width: 100vw;
  margin-left: calc(50% - 50vw);


  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0;
  padding-top: 6vh;
}

.ticker {
  width: 100%;
  overflow: hidden;
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  margin: 0 auto;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-loop 26s linear infinite;
}

.ticker-track span {
  white-space: nowrap;
  padding-right: 96px;

  font-size: clamp(18px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  opacity: 0.28;
  color: currentColor;
}

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

/* ==========================================================
   CONTACT — SOCIAL ICONS
   ========================================================== */

   .contact-socials {
    display: flex;
    gap: 24px;
    margin-top: 24px;
  opacity: 0.7;
  }
  
  .contact-socials a {
    width: 18px;
  height: 18px;
    color: currentColor;
    opacity: 0.55;
  
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  
  .contact-socials a:hover {
    opacity: 1;
    transform: translateY(-2px);
  }

  /* ==========================================================
   FOOTER FADE — Cinematic closure
   ========================================================== */
body::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40vh;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(28, 40, 51, 0) 0%,
    rgba(20, 25, 35, 0.85) 65%,
    rgba(10, 10, 15, 1) 100%
  );
  z-index: -1;
}

/* ==========================================================
   GLOBAL DARKENING — Final cinematic background
   ========================================================== */

   body {
    background-color: #0E0E12;
  }
  
  /* Fade cinematográfico al final del sitio */
  body::after {
    content: "";
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    pointer-events: none;
  
    background: linear-gradient(
      to bottom,
      rgba(28, 40, 51, 0) 0%,
      rgba(20, 25, 35, 0.85) 65%,
      rgba(10, 10, 15, 1) 100%
    );
  
    z-index: -1;
  }
  
  /* ==========================================================
     CONTACT — cierre más profundo
     ========================================================== */
  
  #contact {
    background: linear-gradient(
      to bottom,
      #16181c 0%,
      #0e0f12 100%
    );
  }


  /* === HOTFIX: sacar el vacío entre Move y Ticker === */
.ticker-section{
  min-height: 18vh !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transition: opacity 220ms ease, filter 220ms ease, transform 220ms ease;
  will-change: opacity, filter, transform;
}

/* si querés que el ticker quede más “cerrado” */
.ticker-track span{
  opacity: 0.22;
}
.ticker-section.is-dimming {
  opacity: 0.06;
  filter: blur(0.8px);
  transform: translateY(2px);
  pointer-events: none;
}


/* SEE MORE — hidden no ocupa espacio */
.see-more-section.hidden {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.see-more-section.is-visible {
  padding: var(--space-section-lg) 5vw var(--space-section-lg);
  max-height: none;
  opacity: 1;
  pointer-events: auto;
}

/* =========================================
   Micro-DA: Ticker como textura + Resolve H1
   ========================================= */

/* =========================
   TICKER – ajuste final
   ========================= */

   .ticker-section {
    min-height: auto !important;
    height: 14vh;
    padding: 0 !important;
    margin: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    letter-spacing: 0.02em;

  }
  
  .ticker {
    width: 100vw;
    overflow: hidden;
  }
  
  .ticker-track {
    white-space: nowrap;
    will-change: transform;
  }

  .ticker-track span {
    font-weight: 400;
  }

/* Mobile: un pelín más de aire para legibilidad */
@media (max-width: 768px) {
  .resolves-section h1,
  #resolves h1,
  section#resolves h1 {
    line-height: 1.08;
    letter-spacing: -0.015em;
  }
}

/* =========================================
   FIX: eje real centrado (como la navbar)
   Pegalo AL FINAL del styles.css
   ========================================= */

   :root{
    --axis-max: 1600px;
    --axis-pad: var(--container-pad);
  
    /* eje = centro del container + padding */
    --axis-inset: max(
      var(--axis-pad),
      calc((100vw - var(--axis-max)) / 2 + var(--axis-pad))
    );
  }
  
  /* Mobile: el eje baja a 24px */
  @media (max-width: 768px){
    :root{ --axis-pad: 24px; }
  }
  
  /* MOVE header: ahora sí alineado al logo */
  .move-header{
    left: 0 !important;
    margin-left: var(--axis-inset) !important;
  }
  
  /* MOVE track: arranca desde el mismo eje + el clearance del header */
  .move-track{
    padding-left: calc(var(--axis-inset) + 420px) !important;
  }
  
  /* See More grid: mismo eje real */
  .see-more-grid{
    padding-left: var(--axis-inset) !important;
    padding-right: var(--axis-inset) !important;
  }
  
  /* Resolves/Contact/Footer ya están con max-width,
     pero si algo se corre, esto los clava al eje */
  .resolves-content,
  .contact-inner,
  .footer-inner{
    padding-left: var(--axis-inset) !important;
    padding-right: var(--axis-inset) !important;
  }

/* =========================
   FIX — header demasiado abajo + clipping
   (pegalo al final del CSS)
   ========================= */

/* 1) Evitar que el contenedor recorte el header */
.move-section,
.move-reveal-wrapper{
  overflow: visible !important;
}

/* 2) Subir el header (está cayendo muy abajo) */
.move-header{
  transform: translateY(clamp(-75px, -4.2vh, -28px));
}

/* 3) Si el header está dentro de un wrapper con altura fija, esto lo estabiliza */
.move-header{
  padding-bottom: clamp(10px, 1.4vw, 18px);
}

/* iOS/WebKit: reduce heavy 3D/fx in MOVE cards (prevents occasional blank media) */
@media (hover: none) and (pointer: coarse) {
  .move-card{
    transform: none !important;
    filter: none !important;
  }
  .move-card img,
  .move-card video{
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
}

/* =========================
   MOVE — FIX DEFINITIVO (no clipping / posición estable)
   ========================= */

/* que nada recorte el header */
.move-section,
.move-reveal-wrapper{
  overflow: visible !important;
}

/* restituye el centrado real (no pises el -50%) */


/* anti-clip tipográfico */
.move-title{
  line-height: 1.06 !important;
  padding-bottom: 0.12em !important;
  overflow: visible !important;
}

.move-header{ transform: translateY(calc(-50% + 24px)) !important; }


/* =========================
   MOVE — Mobile/iOS hardening
   ========================= */

/* iOS: evita 100vh “mentiroso” y reflows */
@supports (-webkit-touch-callout: none){
  .move-container { height: 68svh; } /* o 70svh si querés más grande */
}

/* Mobile: el header NO debe depender de top:84% + translateY raro */
@media (max-width: 768px){
  .move-header{
    top: auto !important;
    bottom: 10vh !important;          /* <- acá queda “más abajo” estable */
    transform: none !important;
    max-width: 86vw;
    pointer-events: none;
  }

  .move-track{
    padding-left: var(--axis-inset) !important; /* sin clearance del header */
    padding-right: var(--axis-inset) !important;
  }

  .move-card{
    width: 86vw;
  }
}

/* Evita recortes accidentales */
.move-section,
.move-container,
.move-reveal-wrapper{
  overflow: visible;
}