/* ============================================================
   ICA Studio — estilos específicos
   ============================================================ */
:root {
  --studio:      #E9F056;
  --studio-dark: #B2BA12;
  --studio-ink:  #1a1a00;
}

/* NAV */
.ica-nav .nav-links a.active { color: var(--studio) !important; opacity: 1 !important; }
.ica-nav .nav-links a:hover  { color: var(--studio) !important; opacity: 1 !important; }

/* HERO */
.studio-hero {
  position: relative;
  padding: 80px 32px 64px;
  min-height: 88vh;
  background:
    radial-gradient(60% 80% at 80% 20%, rgba(233,240,86,0.16), transparent 60%),
    radial-gradient(80% 60% at 10% 110%, rgba(178,186,18,0.18), transparent 55%),
    #070707;
  overflow: hidden;
}
.studio-hero-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 50%;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,1) 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,1) 100%);
  pointer-events: none;
  z-index: 0;
}
.studio-hero .container { position: relative; max-width: 1280px; margin: 0 auto; z-index: 1; }
.studio-hero .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.studio-hero h1 { font-family: 'Altone', sans-serif; font-style: italic; font-weight: 700; font-size: clamp(3.5rem, 10vw, 9rem); line-height: 0.92; text-transform: uppercase; letter-spacing: -0.03em; margin: 16px 0 0; text-wrap: balance; }
.studio-hero h1 .lime { color: var(--studio); font-family: var(--font-display); font-style: normal; }
.studio-hero h1 .stroke { color: transparent; -webkit-text-stroke: 2px var(--studio); font-style: italic; font-family: 'Altone', sans-serif; }
.studio-hero .lead { font-size: 17px; color: var(--fg-2); margin: 24px 0 32px; max-width: 520px; line-height: 1.55; }
.studio-hero .stats { display: none; }
.studio-hero .stat-item .stat-label { font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 4px; }
.studio-hero .stat-item .stat-num { font-family: var(--font-display); font-weight: 900; font-size: 36px; color: var(--studio); line-height: 1; }

/* REEL FRAME */
.reel-frame { aspect-ratio: 9/16; max-height: 580px; border-radius: 22px; background: radial-gradient(60% 80% at 50% 30%, var(--studio), transparent 60%), radial-gradient(70% 50% at 80% 90%, var(--studio-dark), transparent 70%), linear-gradient(180deg, #1a1a00, #0a0a00); position: relative; overflow: hidden; margin-left: auto; }
.reel-frame .corner { position: absolute; width: 22px; height: 22px; border: 3px solid var(--studio); }
.reel-frame .tl { top:16px; left:16px; border-right:0; border-bottom:0; }
.reel-frame .tr { top:16px; right:16px; border-left:0; border-bottom:0; }
.reel-frame .bl { bottom:16px; left:16px; border-right:0; border-top:0; }
.reel-frame .br { bottom:16px; right:16px; border-left:0; border-top:0; }
.reel-frame .rf-rec { position: absolute; top: 22px; right: 22px; width: 12px; height: 12px; border-radius: 999px; background: #FF0066; animation: rec 1.4s infinite; }
.reel-frame .rf-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.reel-frame .rf-play-btn { width: 88px; height: 88px; border-radius: 999px; background: var(--studio); color: var(--studio-ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 12px rgba(233,240,86,0.18), 0 0 60px rgba(233,240,86,0.5); cursor: pointer; transition: transform 200ms ease; }
.reel-frame .rf-play-btn:hover { transform: scale(1.08); }
.reel-frame .rf-caption { position: absolute; bottom: 60px; left: 32px; color: var(--studio); font-family: 'Altone', sans-serif; font-style: italic; font-weight: 700; font-size: 28px; line-height: 1; text-transform: uppercase; }
.reel-frame .rf-meta { position: absolute; bottom: 36px; left: 32px; color: rgba(233,240,86,0.65); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; }

/* TICKER */
.ticker-bar { background: var(--studio); color: var(--studio-ink); padding: 16px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; gap: 48px; white-space: nowrap; animation: ticker 28s linear infinite; font-family: var(--font-poster); font-weight: 700; font-size: 22px; text-transform: uppercase; }
@keyframes ticker { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* REEL SECTION */
.studio-reel { padding: 96px 32px; }
.studio-reel .container { max-width: 1280px; margin: 0 auto; }
.studio-reel h2 { font-family: 'Altone', sans-serif; font-style: italic; font-weight: 700; font-size: clamp(2.5rem, 6vw, 5rem); margin: 8px 0 0; text-transform: uppercase; letter-spacing: -0.025em; line-height: 0.95; }
.studio-reel h2 .stroke { color: transparent; -webkit-text-stroke: 1.5px var(--studio); }
.reel-group-label { display: flex; align-items: center; gap: 10px; margin-top: 48px; margin-bottom: 14px; font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(233,240,86,0.55); }
.reel-group-label::after { content: ""; flex: 1; height: 1px; background: rgba(233,240,86,0.18); }
.reel-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* STUDIO CARDS */
.studio-card { background: #131403; border: 1px solid rgba(233,240,86,0.18); border-radius: 22px; overflow: hidden; cursor: pointer; transition: transform 200ms ease, border-color 140ms ease; }
.studio-card:hover { transform: translateY(-4px); border-color: var(--studio); }
.studio-card .thumb { aspect-ratio: 9/14; position: relative; background: #1a1a00; overflow: hidden; }
.studio-card .thumb .glow-layer,
.studio-card .thumb .glow-layer-2 { position: absolute; inset: -30%; width: 160%; height: 160%; pointer-events: none; z-index: 0; will-change: transform; border-radius: 50%; }
.studio-card .thumb .glow-layer { background: radial-gradient(40% 35% at 50% 50%, var(--studio), transparent 60%); opacity: 0.25; transition: opacity 300ms ease; }
.studio-card .thumb .glow-layer-2 { background: radial-gradient(35% 30% at 50% 50%, #FF0066, transparent 60%); opacity: 0.25; transition: opacity 300ms ease, background 600ms ease; }
.studio-card:hover .thumb .glow-layer  { opacity: 0.38; }
.studio-card:hover .thumb .glow-layer-2 { opacity: 0.4; }
.studio-card:nth-child(1) .glow-layer  { animation: floatA 12s ease-in-out infinite alternate; }
.studio-card:nth-child(2) .glow-layer  { animation: floatB 15s ease-in-out infinite alternate; }
.studio-card:nth-child(3) .glow-layer  { animation: floatC 10s ease-in-out infinite alternate; }
.studio-card:nth-child(4) .glow-layer  { animation: floatD 13s ease-in-out infinite alternate; }
.studio-card:nth-child(5) .glow-layer  { animation: floatE 11s ease-in-out infinite alternate; }
.studio-card:nth-child(6) .glow-layer  { animation: floatF 14s ease-in-out infinite alternate; }
.studio-card:nth-child(1) .glow-layer-2 { animation: floatB 14s ease-in-out infinite alternate-reverse; }
.studio-card:nth-child(2) .glow-layer-2 { animation: floatC 11s ease-in-out infinite alternate-reverse; }
.studio-card:nth-child(3) .glow-layer-2 { animation: floatA 16s ease-in-out infinite alternate-reverse; }
.studio-card:nth-child(4) .glow-layer-2 { animation: floatE 12s ease-in-out infinite alternate-reverse; }
.studio-card:nth-child(5) .glow-layer-2 { animation: floatD 10s ease-in-out infinite alternate-reverse; }
.studio-card:nth-child(6) .glow-layer-2 { animation: floatF 13s ease-in-out infinite alternate-reverse; }
@keyframes floatA { 0% { transform: translate(-18%, -12%) scale(1); } 25% { transform: translate(14%, -20%) scale(1.04); } 50% { transform: translate(20%, 14%) scale(0.97); } 75% { transform: translate(-10%, 20%) scale(1.03); } 100% { transform: translate(-18%, -8%) scale(1.01); } }
@keyframes floatB { 0% { transform: translate(16%, 10%) scale(1.02); } 25% { transform: translate(-14%, 18%) scale(0.96); } 50% { transform: translate(-20%, -10%) scale(1.05); } 75% { transform: translate(12%, -18%) scale(0.98); } 100% { transform: translate(18%, 8%) scale(1.02); } }
@keyframes floatC { 0% { transform: translate(-10%, -20%) scale(0.97); } 25% { transform: translate(20%, -8%) scale(1.04); } 50% { transform: translate(12%, 20%) scale(0.96); } 75% { transform: translate(-20%, 10%) scale(1.03); } 100% { transform: translate(-8%, -16%) scale(1.01); } }
@keyframes floatD { 0% { transform: translate(10%, -16%) scale(1.03); } 25% { transform: translate(-20%, -4%) scale(0.96); } 50% { transform: translate(-14%, 20%) scale(1.04); } 75% { transform: translate(18%, 12%) scale(0.97); } 100% { transform: translate(8%, -14%) scale(1.02); } }
@keyframes floatE { 0% { transform: translate(-16%, 8%) scale(1.04); } 25% { transform: translate(10%, 20%) scale(0.96); } 50% { transform: translate(20%, -8%) scale(1.05); } 75% { transform: translate(-8%, -20%) scale(0.97); } 100% { transform: translate(-18%, 6%) scale(1.02); } }
@keyframes floatF { 0% { transform: translate(14%, -10%) scale(0.96); } 25% { transform: translate(-18%, -16%) scale(1.05); } 50% { transform: translate(-8%, 20%) scale(0.97); } 75% { transform: translate(20%, 8%) scale(1.04); } 100% { transform: translate(12%, -14%) scale(0.98); } }
.studio-card.horizontal .thumb { aspect-ratio: 16/9; }
.studio-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.studio-card .thumb .s-rec { position: absolute; top: 14px; right: 14px; width: 9px; height: 9px; border-radius: 999px; background: var(--studio); }
.studio-card .thumb .s-play { position: absolute; left: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 999px; background: var(--studio); color: var(--studio-ink); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 140ms ease; }
.studio-card:hover .thumb .s-play { opacity: 1; }
.studio-card .thumb .ph-title-studio { display: none; }
.studio-card .meta { padding: 16px 18px; }
.studio-card h3 { font-family: 'Altone', sans-serif; font-weight: 700; font-size: 16px; margin: 0; color: var(--fg-1); }
.studio-card .sub { font-size: 11px; color: var(--fg-3); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 4px; }

/* BOTÓN VER TODO */
.studio-reel-foot { margin-top: 48px; display: flex; justify-content: center; }
.btn-ver-todo { background: transparent; color: var(--studio); border: 1px solid rgba(233,240,86,0.4); font-family: var(--font-sans); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding: 18px 32px; border-radius: 999px; display: inline-flex; align-items: center; gap: 14px; transition: all 200ms ease; text-decoration: none; }
.btn-ver-todo:hover { background: var(--studio); color: var(--studio-ink); border-color: var(--studio); transform: translateY(-2px); }
.btn-ver-todo .count { font-family: var(--font-mono); font-size: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(233,240,86,0.15); color: var(--studio); letter-spacing: 0.1em; white-space: nowrap; }
.btn-ver-todo:hover .count { background: rgba(26,26,0,0.18); color: var(--studio-ink); }

/* CTA STRIPE */
.cta-stripe { background: linear-gradient(135deg, var(--studio) 0%, var(--studio-dark) 100%); border-radius: 32px; padding: 64px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin: 0 32px 0; color: var(--studio-ink); }
.cta-stripe h2 { font-family: 'Altone', sans-serif; font-style: italic; font-weight: 700; font-size: clamp(2rem, 5vw, 3.5rem); margin: 0; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.95; color: #070707 !important; }
.cta-stripe .eyebrow-cta { font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(0,0,0,0.75); margin-bottom: 12px; }
.cta-stripe .btn-dark { background: var(--studio-ink); color: var(--studio); font-family: var(--font-sans); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; padding: 14px 24px; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; transition: filter 140ms ease; }
.cta-stripe .btn-dark:hover { filter: brightness(1.15); }
.cta-stripe .btn-outline-dark { background: transparent; color: var(--studio-ink); border: 1px solid rgba(26,26,0,0.3); font-family: var(--font-sans); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; padding: 14px 24px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; transition: border-color 140ms ease; }
.cta-stripe .btn-outline-dark:hover { border-color: var(--studio-ink); }

/* MODAL VERTICAL */
.video-modal-v { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 320ms ease; }
.video-modal-v.open { opacity: 1; pointer-events: auto; }
.vmv-scrim { position: absolute; inset: 0; background: rgba(7,7,7,0.88); backdrop-filter: blur(16px); }
.vmv-stage { position: relative; z-index: 1; width: min(820px, 92vw); padding-top: 48px; }
.vmv-close { position: absolute; top: 0; right: 0; display: flex; align-items: center; gap: 8px; background: rgba(7,7,7,0.6); border: 1px solid var(--hairline); border-radius: 999px; color: var(--fg-2); font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; padding: 8px 16px; transition: color 140ms ease, border-color 140ms ease; }
.vmv-close:hover { color: var(--fg-1); border-color: var(--hairline-strong); }
.vmv-panel { background: var(--bg-1); border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: auto 1fr; box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px var(--hairline); }
.vmv-thumb { position: relative; width: 280px; aspect-ratio: 9/16; background: #0a0a0a; flex-shrink: 0; }
.vmv-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.vmv-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; border-radius: 999px; background: rgba(7,7,7,0.55); backdrop-filter: blur(12px); border: 1px solid rgba(253,252,248,0.25); display: flex; align-items: center; justify-content: center; color: var(--fg-1); transform: translate(-50%,-50%); box-shadow: 0 0 0 12px rgba(233,240,86,0.08), 0 0 60px rgba(233,240,86,0.2); cursor: pointer; transition: transform 200ms ease, background 140ms ease; }
.vmv-play:hover { transform: translate(-50%,-50%) scale(1.08); background: var(--studio); color: var(--studio-ink); border-color: var(--studio); }
.vmv-body { display: flex; flex-direction: column; padding: 28px 28px 24px; background: var(--bg-2); }
.vmv-eyebrow { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px; }
.vmv-division { color: var(--studio); }
.vmv-year { color: var(--fg-3); font-family: var(--font-mono); }
.vmv-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.25rem, 3vw, 1.75rem); line-height: 1; text-transform: uppercase; letter-spacing: -0.02em; margin: 0; }
.vmv-summary { margin: 8px 0 0; font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 14px; line-height: 1.5; color: var(--fg-2); }

/* CLIENTES */
.studio-client { height: 64px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900; font-size: 16px; color: rgba(233,240,86,0.35); text-transform: uppercase; border: 1px solid var(--hairline); border-radius: 14px; transition: color 140ms ease, border-color 140ms ease; cursor: default; }
.studio-client:hover { color: var(--studio); border-color: rgba(233,240,86,0.4); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .studio-hero .grid { grid-template-columns: 1fr; }
  .studio-hero h1 { font-size: clamp(3rem, 12vw, 5rem); word-break: break-word; overflow-wrap: break-word; }
  /* Imagen del hero a todo el ancho, centrada y sin fade lateral */
  .studio-hero-bg {
    left: 0;
    mask-image: none;
    -webkit-mask-image: none;
    background-position: center center;
  }
  /* En móvil ocultamos el rótulo del reel destacado (se solapa con el play) */
  /* En móvil el hero es solo texto (sin el placeholder de vídeo) */
  .reel-frame { display: none; }
  .reel-grid-3 { grid-template-columns: 1fr 1fr; }
  .cta-stripe { margin: 0 20px; padding: 40px 28px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .studio-hero { padding: 60px 20px 48px; min-height: auto; }
  .studio-hero h1 { font-size: clamp(2.2rem, 11vw, 3.5rem); word-break: break-word; overflow-wrap: break-word; }
  .studio-reel { padding: 64px 20px; }
  .reel-grid-3 { grid-template-columns: 1fr; }
  .cta-stripe { margin: 0 16px; border-radius: 22px; }
  .vmv-panel { grid-template-columns: 1fr; }
  .vmv-thumb { width: 100%; aspect-ratio: 9/16; max-height: 320px; }
  /* "Han confiado" como carrusel horizontal deslizable, cada nombre en una línea */
  .studio-clients-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    gap: 12px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .studio-clients-grid::-webkit-scrollbar { display: none; }
  .studio-client {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0 22px;
    scroll-snap-align: start;
  }
}

/* Asegurar que el menú móvil (drawer) ocupe toda la altura en studio */
.ica-drawer { top: 0 !important; bottom: 0 !important; height: 100% !important; height: 100dvh !important; }
.ica-drawer-scrim { top: 0 !important; bottom: 0 !important; height: 100% !important; height: 100dvh !important; }