/* ============================================================
   GVK GROUP - Estilos personalizados
   ★ FIX 4 (2026-04-26 21:30) — tiles más grandes, título visible
============================================================ */

body { font-family: 'Inter', system-ui, sans-serif; }
  .font-display { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }

  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }

  .hero-overlay {
    background: linear-gradient(135deg,
      rgba(11,30,45,0.92) 0%,
      rgba(11,30,45,0.75) 45%,
      rgba(26,122,138,0.55) 100%);
  }

  .bg-grid {
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
  }

  @keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  .marquee-track { animation: marquee 30s linear infinite; }
  .marquee-track:hover { animation-play-state: paused; }

  .text-grad-teal {
    background: linear-gradient(135deg, #22A0B4 0%, #5BCEE0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  html { scroll-padding-top: 80px; }
  section[id] { scroll-margin-top: 80px; }
  #showcase { scroll-margin-top: 0; }

  .hamburger-line { transition: all 0.3s ease; transform-origin: center; }
  .menu-open .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-open .hamburger-line:nth-child(2) { opacity: 0; }
  .menu-open .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .mobile-menu { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
  .mobile-menu.open { max-height: 600px; }

  .faq-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
  .faq-item.open .faq-content { max-height: 400px; padding-top: 0; padding-bottom: 1.25rem; }
  .faq-item.open .faq-icon { transform: rotate(45deg); }

  .skip-link {
    position: absolute; top: -100px; left: 1rem; z-index: 999;
    padding: 0.75rem 1.25rem;
    background: #0B1E2D; color: #fff;
    border-radius: 0.5rem; font-weight: 600;
    transition: top 0.2s ease;
  }
  .skip-link:focus { top: 1rem; outline: 3px solid #22A0B4; outline-offset: 2px; }

  a:focus-visible, button:focus-visible {
    outline: 3px solid #22A0B4;
    outline-offset: 3px;
    border-radius: 4px;
  }

  .scroll-progress {
    position: fixed; top: 0; left: 0;
    height: 3px; width: 0%;
    background: linear-gradient(90deg, #22A0B4, #FF6B35);
    z-index: 60;
    transition: width 0.1s linear;
  }

  .nav-link.active { color: #1A7A8A; position: relative; }
  .nav-link.active::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: -6px;
    height: 2px; background: #22A0B4; border-radius: 2px;
  }

  .back-to-top {
    opacity: 0; pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

  .sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }

  img { font-style: italic; background: #F0F4F8; }

  header img, .nav img, .logo img {
    background: transparent !important;
    mix-blend-mode: multiply;
  }

/* ============================================================
   ★ FASE 1 — ANIMACIONES GLOBALES
============================================================ */

  .reveal-left  { transform: translateX(-50px); }
  .reveal-left.visible  { transform: translateX(0); }
  .reveal-right { transform: translateX(50px); }
  .reveal-right.visible { transform: translateX(0); }
  .reveal-scale { transform: scale(0.92); opacity: 0; }
  .reveal-scale.visible { transform: scale(1); opacity: 1; }

  .reveal-stagger > * {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1),
                transform 0.85s cubic-bezier(0.16,1,0.3,1);
  }
  .reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
  .reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
  .reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
  .reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.25s; }
  .reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.35s; }
  .reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.45s; }
  .reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.55s; }
  .reveal-stagger.visible > *:nth-child(n+7) { transition-delay: 0.65s; }

  @keyframes glow-breathe {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%      { opacity: 0.85; transform: scale(1.08); }
  }
  .glow-breathe      { animation: glow-breathe 7s ease-in-out infinite; }
  .glow-breathe-slow { animation: glow-breathe 11s ease-in-out infinite; }

  @keyframes glow-breathe-centered {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50%      { opacity: 0.85; transform: translate(-50%, -50%) scale(1.08); }
  }
  .glow-breathe-centered { animation: glow-breathe-centered 7s ease-in-out infinite; }

  @keyframes float-soft {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
  }
  .float-soft   { animation: float-soft 8s ease-in-out infinite; }
  .float-medium { animation: float-soft 5s ease-in-out infinite; }

  .tilt-card {
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1),
                box-shadow 0.6s ease;
    transform-style: preserve-3d;
    will-change: transform;
  }
  .tilt-card:hover {
    transform: perspective(1200px) rotateX(2deg) rotateY(-3deg) translateY(-6px);
  }

  @keyframes marquee-reverse {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
  }
  .marquee-track-reverse { animation: marquee-reverse 35s linear infinite; }
  .marquee-track-reverse:hover { animation-play-state: paused; }
  .marquee-slow { animation-duration: 60s !important; }
  .marquee-fast { animation-duration: 18s !important; }

  .text-outline-white {
    -webkit-text-stroke: 1.5px rgba(255,255,255,0.4);
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
  .text-outline-teal {
    -webkit-text-stroke: 1.5px rgba(91,206,224,0.55);
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

  [data-counter] { transition: text-shadow 0.6s ease; }
  [data-counter].counter-done {
    text-shadow: 0 0 28px rgba(91, 206, 224, 0.45);
  }

  @keyframes shimmer-x {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }
  .shimmer-bar {
    background: linear-gradient(90deg,
      rgba(91,206,224,0)   0%,
      rgba(91,206,224,0.55) 50%,
      rgba(91,206,224,0)   100%);
    background-size: 200% 100%;
    animation: shimmer-x 3s linear infinite;
  }

/* ============================================================
   ★ FASE 2 — HERO CINEMATOGRÁFICO
============================================================ */

  .hero-parallax-img {
    transform: scale(1.15);
    will-change: transform;
  }

  @keyframes bg-grid-drift {
    0%   { background-position: 0 0; }
    100% { background-position: 60px 60px; }
  }
  .bg-grid-drift { animation: bg-grid-drift 30s linear infinite; }

  .hero-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(25deg);
    transform-origin: 50% 100%;
    transition: opacity 0.95s cubic-bezier(0.16,1,0.3,1),
                transform 0.95s cubic-bezier(0.16,1,0.3,1);
  }
  .hero-title.visible .word { opacity: 1; transform: translateY(0) rotateX(0); }
  .hero-title.visible .word:nth-child(1) { transition-delay: 0.05s; }
  .hero-title.visible .word:nth-child(2) { transition-delay: 0.20s; }
  .hero-title.visible .word:nth-child(3) { transition-delay: 0.35s; }
  .hero-title.visible .word:nth-child(4) { transition-delay: 0.50s; }
  .hero-title.visible .word:nth-child(5) { transition-delay: 0.65s; }

  .btn-magnetic { position: relative; overflow: hidden; isolation: isolate; }
  .btn-magnetic > svg {
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  }
  .btn-magnetic:hover > svg { transform: translateX(5px); }
  .btn-magnetic::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(120deg,
      transparent 0%,
      rgba(255,255,255,0.28) 50%,
      transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.8s cubic-bezier(0.16,1,0.3,1);
    pointer-events: none;
    z-index: -1;
  }
  .btn-magnetic:hover::before { transform: translateX(100%); }

  @keyframes route-flow {
    0%   { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -14; }
  }
  .route-line { animation: route-flow 1.2s linear infinite; }

  @keyframes route-travel {
    0%, 8%   { transform: translateX(0);    opacity: 0; }
    18%      { opacity: 1; }
    82%      { opacity: 1; }
    96%      { transform: translateX(78px); opacity: 1; }
    100%     { transform: translateX(82px); opacity: 0; }
  }
  .route-traveler {
    animation: route-travel 3.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    will-change: transform;
  }

/* ============================================================
   ★ FASE 3 — MAPA RUTAS CHINA → COLOMBIA
============================================================ */

  @keyframes globe-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  .route-map .globe-rotate {
    transform-box: fill-box;
    transform-origin: center;
    animation: globe-spin 80s linear infinite;
  }

  .route-map .route-primary {
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    filter: drop-shadow(0 0 8px rgba(91,206,224,0.4));
  }
  .route-map.visible .route-primary {
    animation: route-draw-primary 2.5s cubic-bezier(0.16,1,0.3,1) 0.4s forwards;
  }
  @keyframes route-draw-primary { to { stroke-dashoffset: 0; } }

  .route-map .route-secondary,
  .route-map .route-tertiary { opacity: 0; }
  .route-map.visible .route-secondary {
    animation:
      route-fade-in 0.9s ease 1.8s forwards,
      route-flow-map 2.5s linear 1.8s infinite;
  }
  .route-map.visible .route-tertiary {
    animation:
      route-fade-in 0.9s ease 2.2s forwards,
      route-flow-map 2.8s linear 2.2s infinite;
  }
  @keyframes route-fade-in { to { opacity: 0.6; } }
  @keyframes route-flow-map { to { stroke-dashoffset: -16; } }

  .route-map .pin {
    opacity: 0;
    transition: opacity 0.6s ease;
  }
  .route-map.visible .pin-origin      { transition-delay: 0.4s; opacity: 1; }
  .route-map.visible .pin-destination { transition-delay: 1.7s; opacity: 1; }
  .route-map.visible .pin-secondary   { transition-delay: 2.5s; opacity: 1; }

  @keyframes pin-pulse-ring {
    0%   { transform: scale(0.6); opacity: 0.7; }
    100% { transform: scale(2.2); opacity: 0; }
  }
  .route-map .pin-ring {
    transform-box: fill-box; transform-origin: center;
    animation: pin-pulse-ring 2.4s ease-out infinite;
  }
  .route-map .pin-ring-2 {
    transform-box: fill-box; transform-origin: center;
    animation: pin-pulse-ring 2.4s ease-out 1.2s infinite;
  }

  .route-map .label {
    opacity: 0;
    transition: opacity 0.8s ease;
  }
  .route-map.visible .label-origin      { transition-delay: 0.7s; opacity: 1; }
  .route-map.visible .label-destination { transition-delay: 2.0s; opacity: 1; }
  .route-map.visible .label-secondary   { transition-delay: 2.8s; opacity: 1; }
  .route-map.visible .label-distance    { transition-delay: 1.5s; opacity: 1; }

/* ============================================================
   ★ FASE 4 — SHOWCASE 3D — FIX 4
   Cambios respecto Fix 3:
   - Brand mark con z-index 200 (siempre VISIBLE encima de tiles)
   - Brand mark posicionado debajo del header (top:124 desktop)
   - Tiles 15% más grandes (300×500 en desktop)
   - Tiles centrados en top:55% (no 50%) → más aire para el título
   - min-height del showcase subido a 700px
============================================================ */

  .showcase::after {
    content: 'FIX4';
    position: absolute;
    bottom: 4px; right: 4px;
    font-size: 9px;
    color: rgba(91,206,224,0.25);
    z-index: 5;
    letter-spacing: 0.2em;
    pointer-events: none;
    font-family: monospace;
  }

  .showcase {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 700px;       /* ★ subido de 600 a 700 */
    background: #071624;
    color: #fff;
    overflow: hidden;
  }

  .showcase-bg-gradient {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(135deg, #071624 0%, #0B1E2D 50%, #0D2535 100%);
  }
  .showcase-bg-grid {
    position: absolute; inset: 0; z-index: 2;
    opacity: 0.05;
    pointer-events: none;
  }
  .showcase-glow {
    position: absolute;
    z-index: 2;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
  }
  .showcase-glow-1 {
    top: 50%; left: 25%;
    width: 700px; height: 700px;
    background: rgba(91,206,224,0.15);
  }
  .showcase-glow-2 {
    bottom: -160px; right: 15%;
    width: 500px; height: 500px;
    background: rgba(255,107,53,0.10);
  }

  /* ★ BRAND MARK: z-index ALTO + posición segura debajo del header */
  .showcase-top {
    position: absolute;
    top: 124px;              /* ★ era 100 — ahora seguro debajo del header h-28 */
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;            /* ★ era 50 — ahora SIEMPRE encima de los tiles */
    text-align: center;
    opacity: 0;
    animation: showcase-fade-down 1s cubic-bezier(0.16,1,0.3,1) 0.3s forwards;
    pointer-events: none;    /* deja pasar clicks a los tiles */
  }
  .showcase-brand {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 14px;          /* ★ era 16 — más sobrio */
    font-weight: 800;
    letter-spacing: 0.42em;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  }
  .showcase-tagline {
    font-size: 8px;            /* ★ era 9 */
    font-weight: 700;
    letter-spacing: 0.5em;
    color: rgba(91,206,224,0.95);
    margin-top: 5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  }
  @keyframes showcase-fade-down {
    0%   { opacity: 0; transform: translate(-50%, -20px); }
    100% { opacity: 1; transform: translate(-50%, 0); }
  }

  .coverflow-stage {
    position: absolute;
    inset: 0;
    z-index: 10;
    perspective: 1400px;
    perspective-origin: 50% 50%;
    transform-style: preserve-3d;
  }

  /* ★ TILES MÁS GRANDES (300×500 desktop) y bajados a top:55% */
  .coverflow-tile {
    position: absolute;
    left: 50%; top: 55%;     /* ★ era 50% — bajado para dar aire al título */
    width: 300px; height: 500px;   /* ★ era 260×440 — 15% más grandes */
    margin-left: -150px;     /* w/2 */
    margin-top: -250px;      /* h/2 */
    border-radius: 22px;
    overflow: hidden;
    cursor: pointer;
    background: #0B1E2D;
    border: none;
    padding: 0;
    transform-style: preserve-3d;
    transition: transform 0.95s cubic-bezier(0.16,1,0.3,1),
                opacity 0.7s cubic-bezier(0.16,1,0.3,1),
                box-shadow 0.95s ease;
    will-change: transform, opacity;
    opacity: 0;
    transform: translateY(60px) translateZ(-300px) scale(0.7);
  }

  .coverflow-tile:focus-visible {
    outline: 3px solid #5BCEE0;
    outline-offset: 4px;
  }

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

  .tile-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
      rgba(0,0,0,0) 50%,
      rgba(7,22,36,0.5) 100%);
    pointer-events: none;
  }

  .tile-corner-tag {
    position: absolute;
    bottom: 14px; left: 14px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.1);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.15);
  }

  /* POSICIONES — translaciones aumentadas para el tile más ancho */
  .coverflow-stage.ready .coverflow-tile[data-pos="0"] {
    transform: translateZ(80px) scale(1.06);
    z-index: 100;
    opacity: 1;
    box-shadow: 0 35px 80px rgba(0,0,0,0.65),
                0 0 0 1px rgba(91,206,224,0.4),
                0 0 60px rgba(91,206,224,0.22);
  }
  .coverflow-stage.ready .coverflow-tile[data-pos="-1"] {
    transform: translateX(-300px) translateZ(-50px) rotateY(38deg);
    z-index: 50;
    opacity: 0.65;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  }
  .coverflow-stage.ready .coverflow-tile[data-pos="1"] {
    transform: translateX(300px) translateZ(-50px) rotateY(-38deg);
    z-index: 50;
    opacity: 0.65;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  }
  .coverflow-stage.ready .coverflow-tile[data-pos="-2"] {
    transform: translateX(-540px) translateZ(-220px) rotateY(48deg);
    z-index: 25;
    opacity: 0.28;
  }
  .coverflow-stage.ready .coverflow-tile[data-pos="2"] {
    transform: translateX(540px) translateZ(-220px) rotateY(-48deg);
    z-index: 25;
    opacity: 0.28;
  }
  .coverflow-stage.ready .coverflow-tile[data-pos="-3"],
  .coverflow-stage.ready .coverflow-tile[data-pos="3"],
  .coverflow-stage.ready .coverflow-tile[data-pos="-4"],
  .coverflow-stage.ready .coverflow-tile[data-pos="4"],
  .coverflow-stage.ready .coverflow-tile[data-pos="-5"],
  .coverflow-stage.ready .coverflow-tile[data-pos="5"] {
    transform: translateZ(-400px) scale(0.6);
    opacity: 0;
    pointer-events: none;
  }

  /* DOTS lateral */
  .showcase-dots {
    position: absolute;
    right: 26px;
    top: 55%;                /* ★ alineado con tile center */
    transform: translateY(-50%);
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 14px;
    opacity: 0;
    animation: showcase-fade-down-dots 1s cubic-bezier(0.16,1,0.3,1) 1.3s forwards;
  }
  @keyframes showcase-fade-down-dots {
    0%   { opacity: 0; transform: translate(20px, -50%); }
    100% { opacity: 1; transform: translate(0, -50%); }
  }
  .showcase-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    border: none; padding: 0; cursor: pointer;
    transition: background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  }
  .showcase-dot:hover { background: rgba(91,206,224,0.6); }
  .showcase-dot.active {
    background: #5BCEE0;
    transform: scale(1.5);
    box-shadow: 0 0 14px rgba(91,206,224,0.7);
  }

  /* CAPTION */
  .showcase-caption {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    text-align: center;
    width: 90%;
    max-width: 520px;
    opacity: 0;
    animation: showcase-fade-up 1s cubic-bezier(0.16,1,0.3,1) 1.0s forwards;
  }
  @keyframes showcase-fade-up {
    0%   { opacity: 0; transform: translate(-50%, 20px); }
    100% { opacity: 1; transform: translate(-50%, 0); }
  }
  .caption-shimmer-line {
    width: 60px;
    height: 2px;
    margin: 0 auto 14px;
    background: linear-gradient(90deg,
      transparent 0%,
      rgba(91,206,224,0.9) 50%,
      transparent 100%);
    background-size: 200% 100%;
    animation: shimmer-x 3s linear infinite;
  }
  .caption-tag {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.32em;
    color: #5BCEE0;
    text-transform: uppercase;
    margin-bottom: 8px;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .caption-title {
    display: block;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .showcase-caption.swap .caption-tag,
  .showcase-caption.swap .caption-title {
    opacity: 0;
    transform: translateY(-6px);
  }

  .showcase-scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.55);
    font-size: 10px;
    letter-spacing: 0.32em;
    font-weight: 700;
    text-decoration: none;
    opacity: 0;
    animation:
      showcase-fade-up 1s cubic-bezier(0.16,1,0.3,1) 1.6s forwards,
      scroll-bob 2.4s ease-in-out 2.6s infinite;
  }
  .showcase-scroll:hover { color: rgba(91,206,224,0.95); }
  .showcase-scroll .scroll-label { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
  @keyframes scroll-bob {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 8px); }
  }

  /* ============== TABLET 1024 ============== */
  @media (max-width: 1024px) {
    .coverflow-stage.ready .coverflow-tile[data-pos="-1"] {
      transform: translateX(-260px) translateZ(-50px) rotateY(38deg);
    }
    .coverflow-stage.ready .coverflow-tile[data-pos="1"] {
      transform: translateX(260px) translateZ(-50px) rotateY(-38deg);
    }
    .coverflow-stage.ready .coverflow-tile[data-pos="-2"] {
      transform: translateX(-440px) translateZ(-220px) rotateY(48deg);
      opacity: 0.18;
    }
    .coverflow-stage.ready .coverflow-tile[data-pos="2"] {
      transform: translateX(440px) translateZ(-220px) rotateY(-48deg);
      opacity: 0.18;
    }
  }

  /* ============== MOBILE: <= 768px ============== */
  @media (max-width: 768px) {
    .showcase-top { top: 108px; }   /* ★ debajo del header h-24 = 96px */
    .showcase-brand { font-size: 12px; letter-spacing: 0.38em; }
    .showcase-tagline { font-size: 7px; }

    .coverflow-tile {
      width: 240px; height: 400px;     /* ★ era 220×380 */
      margin-left: -120px;             /* w/2 */
      margin-top: -200px;              /* h/2 */
      border-radius: 18px;
    }
    .coverflow-stage.ready .coverflow-tile[data-pos="0"] {
      transform: translateZ(60px) scale(1.04);
    }
    .coverflow-stage.ready .coverflow-tile[data-pos="-1"] {
      transform: translateX(-200px) translateZ(-50px) rotateY(40deg);
      opacity: 0.5;
    }
    .coverflow-stage.ready .coverflow-tile[data-pos="1"] {
      transform: translateX(200px) translateZ(-50px) rotateY(-40deg);
      opacity: 0.5;
    }
    .coverflow-stage.ready .coverflow-tile[data-pos="-2"],
    .coverflow-stage.ready .coverflow-tile[data-pos="2"] {
      opacity: 0;
      pointer-events: none;
    }

    .showcase-dots { right: 14px; gap: 11px; }
    .showcase-dot { width: 7px; height: 7px; }

    .showcase-caption { bottom: 78px; }
    .caption-tag { font-size: 9px; letter-spacing: 0.28em; }
    .caption-title { font-size: 19px; }

    .showcase-scroll { bottom: 18px; }
  }

  /* ============== Pantallas muy chicas <=380 ============== */
  @media (max-width: 380px) {
    .coverflow-tile {
      width: 215px; height: 360px;    /* ★ era 195×340 */
      margin-left: -107px;
      margin-top: -180px;
    }
    .coverflow-stage.ready .coverflow-tile[data-pos="-1"] {
      transform: translateX(-170px) translateZ(-50px) rotateY(42deg);
    }
    .coverflow-stage.ready .coverflow-tile[data-pos="1"] {
      transform: translateX(170px) translateZ(-50px) rotateY(-42deg);
    }
  }

/* ============================================================
   A11Y: prefers-reduced-motion
============================================================ */
  @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;
    }
    .reveal { opacity: 1; transform: none; }
    .reveal-stagger > * { opacity: 1; transform: none; }
    .marquee-track,
    .marquee-track-reverse,
    .glow-breathe,
    .glow-breathe-slow,
    .glow-breathe-centered,
    .float-soft,
    .float-medium,
    .shimmer-bar,
    .bg-grid-drift,
    .route-line,
    .route-traveler,
    .globe-rotate,
    .pin-ring,
    .pin-ring-2 { animation: none !important; }
    .tilt-card:hover { transform: translateY(-4px); }
    .hero-parallax-img { transform: scale(1.1) !important; }
    .hero-title .word {
      opacity: 1; transform: none;
      transition-delay: 0s !important;
    }
    .btn-magnetic > svg { transform: none !important; }
    .btn-magnetic::before { display: none; }
    .route-map .route-primary { stroke-dashoffset: 0 !important; }
    .route-map .route-secondary,
    .route-map .route-tertiary { opacity: 0.6 !important; }
    .route-map .pin,
    .route-map .label { opacity: 1 !important; }

    .coverflow-tile {
      transition-duration: 0.01ms !important;
    }
    .showcase-top,
    .showcase-caption,
    .showcase-dots,
    .showcase-scroll {
      animation: none !important;
      opacity: 1 !important;
    }
    .caption-shimmer-line { background: rgba(91,206,224,0.6); animation: none !important; }
  }
