/* MoveShot · rediseño Home · Propuesta C (inmersiva cinematográfica)
   Tokens = Global Colors / Global Fonts del Kit de Elementor. */
:root {
  --bg: #0A0A0B;
  --bg-2: #121214;
  --text: #F5F5F4;
  --muted: #B4B4B0;
  --subtle: #7E7E79;
  --line: rgba(255, 255, 255, .14);
  --accent: #4C8DFF;
  --wa: #25D366;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --container: 1360px;
  --gutter: 40px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; color: var(--muted); }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--text); }
ol, ul { margin: 0; padding: 0; list-style: none; }
svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ms-wrap { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografía: títulos condensados, como créditos de película ---------- */
.ms-title {
  font: 800 clamp(44px, 6.4vw, 104px)/.9 var(--display); font-stretch: 68%; font-variation-settings: "wdth" 68;
  text-transform: uppercase; letter-spacing: -0.01em; text-wrap: balance;
}
.ms-title--xl { font-size: clamp(48px, 12vw, 200px); line-height: .84; }
.ms-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 600 12px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--text); }
.ms-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.ms-lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--text); }

/* ---------- Botones ---------- */
.ms-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ms-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px;
  border: 1px solid var(--text); border-radius: 2px; background: var(--text); color: var(--bg);
  font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s;
}
.ms-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.ms-btn--ghost { background: rgba(0, 0, 0, .15); color: var(--text); border-color: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ms-btn--ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.ms-btn--sm { height: 36px; padding: 0 16px; font-size: 12px; }
.ms-btn--lg { height: 56px; padding: 0 28px; }
.ms-btn .i { width: 16px; height: 16px; }
.ms-btn .i polygon { fill: currentColor; }

/* ---------- Header ---------- */
.ms-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .35s, border-color .35s; border-bottom: 1px solid transparent; }
.ms-header::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.55), transparent); pointer-events: none; transition: opacity .35s; }
.ms-header.is-scrolled, body.menu-open .ms-header { background: rgba(10, 10, 11, .78); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.ms-header.is-scrolled::before { opacity: 0; }
.ms-header__inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ms-logo { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--body); letter-spacing: .2em; }
.ms-logo img { width: 32px; }
.ms-logo b { font-weight: inherit; color: var(--accent); }
.ms-nav { display: flex; gap: 34px; }
.ms-nav a { font: 500 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.72); padding: 6px 0; transition: color .2s; }
.ms-nav a:hover, .ms-nav a[aria-current] { color: #fff; }
.ms-header__cta { display: flex; align-items: center; gap: 8px; }
.ms-burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: var(--text); cursor: pointer; }
.ms-burger .i:last-child { display: none; }
body.menu-open .ms-burger .i:first-child { display: none; }
body.menu-open .ms-burger .i:last-child { display: block; }
.ms-mobile-nav { display: none; }

/* ---------- Hero a pantalla completa ---------- */
.ms-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.ms-bgmedia { position: absolute; inset: 0; z-index: -2; }
.ms-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity 1.6s ease, transform 8s linear; }
.ms-slides img.is-on { opacity: 1; transform: scale(1); }
.ms-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.05) 35%, rgba(10,10,11,.92) 100%), linear-gradient(90deg, rgba(0,0,0,.35), transparent 60%); }
.ms-hero__inner { padding-top: 160px; padding-bottom: 96px; }
.ms-hero .ms-title--xl { max-width: 9ch; }
.ms-hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.3); }
.ms-hero__foot .ms-lead { max-width: 28ch; margin: 0; font-size: clamp(19px, 1.7vw, 24px); }
.ms-hero__foot .ms-actions { margin: 0; }
.ms-hero__hud { position: absolute; right: var(--gutter); top: 50%; display: flex; flex-direction: column; align-items: center; gap: 12px; font: 600 11px/1 var(--body); letter-spacing: .12em; color: rgba(255,255,255,.8); }
.ms-hero__bar { position: relative; width: 1px; height: 96px; background: rgba(255,255,255,.25); overflow: hidden; }
.ms-hero__bar b { position: absolute; inset: 0; background: #fff; transform-origin: top; animation: bar 5.2s linear infinite; }
@keyframes bar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.ms-scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 40px; height: 40px; display: grid; place-items: center; color: rgba(255,255,255,.8); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ---------- Manifiesto: las palabras se iluminan al hacer scroll ---------- */
.ms-manifesto { padding: 168px 0 152px; }
.ms-manifesto__text { max-width: 26ch; margin: 0; font: 500 clamp(30px, 3.8vw, 58px)/1.14 var(--body); letter-spacing: -0.03em; color: var(--text); }
.ms-manifesto__text--2 { margin: 64px 0 0 auto; max-width: 24ch; text-align: right; }
.js [data-words] .w { opacity: .18; transition: opacity .35s linear; }
.js [data-words] .w.on { opacity: 1; }

/* ---------- Split: imagen a sangre + texto ---------- */
.ms-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; background: var(--bg-2); }
.ms-split__media { position: relative; overflow: hidden; }
.ms-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); }
.ms-split__body { align-self: center; padding: 120px clamp(40px, 7vw, 120px); max-width: 720px; }
.ms-split__body .ms-title { margin-bottom: 36px; }
.ms-figure { display: flex; align-items: baseline; gap: 18px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.ms-figure strong { font: 800 clamp(64px, 7vw, 112px)/.8 var(--display); font-stretch: 68%; font-variation-settings: "wdth" 68; color: var(--accent); }
.ms-figure span { font: 600 12px/1.3 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Pantalla completa con imagen de fondo ---------- */
.ms-full { position: relative; min-height: 100svh; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; background: var(--bg) var(--img) center / cover no-repeat; }
.ms-full::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,11,.6), rgba(10,10,11,.25) 40%, rgba(10,10,11,.92)); }
.ms-full--left::before { background: linear-gradient(90deg, rgba(10,10,11,.94) 0%, rgba(10,10,11,.7) 42%, rgba(10,10,11,.15) 75%); }
.ms-full--left { align-items: center; }
.ms-full__inner { padding-top: 160px; padding-bottom: 96px; }
.ms-full__copy { max-width: 680px; }
.ms-full__copy .ms-title { margin-bottom: 32px; }
.ms-timeline { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 88px; border-top: 1px solid rgba(255,255,255,.35); }
.ms-timeline li { position: relative; padding: 24px 24px 0 0; font: 800 clamp(22px, 2.2vw, 34px)/1 var(--display); font-stretch: 68%; font-variation-settings: "wdth" 68; text-transform: uppercase; }
.ms-timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(76,141,255,.25); }
.ms-timeline span { display: block; margin-bottom: 12px; font: 600 11px/1 var(--body); letter-spacing: .2em; color: var(--muted); }
.ms-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.ms-tags li { padding: 8px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font: 500 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--text); background: rgba(0,0,0,.2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ms-full--center { align-items: center; text-align: center; }
.ms-full--center .ms-full__copy { max-width: 1100px; margin-inline: auto; }
.ms-full--center .ms-lead { max-width: 40ch; margin-inline: auto; }
.ms-full--center .ms-actions { justify-content: center; }
.ms-cta::before { background: radial-gradient(ellipse at center, rgba(10,10,11,.55), rgba(10,10,11,.9) 75%); }

/* ---------- Secciones sobre negro ---------- */
.ms-section { padding: 152px 0; }
.ms-section--flush { padding-bottom: 120px; }
.ms-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 96px; align-items: end; margin-bottom: 72px; }
.ms-head--solo { grid-template-columns: 1fr; }
.ms-head--solo .ms-title { max-width: 22ch; }
.ms-head .ms-title { max-width: 14ch; }
.ms-head > p, .ms-head > div + div { max-width: 540px; }

/* Paneles que se expanden */
.ms-panels { display: flex; gap: 6px; height: min(82svh, 780px); padding-inline: 6px; }
.ms-panel { position: relative; flex: 1; min-width: 0; overflow: hidden; isolation: isolate; cursor: pointer; transition: flex-grow .8s var(--ease); outline: none; }
.ms-panel.is-open { flex-grow: 2.2; }
.ms-panel img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: grayscale(.5) brightness(.75); }
.ms-panel.is-open img { filter: none; }
.ms-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.8)); }
.ms-panel__body { position: absolute; left: 36px; right: 36px; bottom: 36px; }
.ms-panel__n { display: block; margin-bottom: 14px; font: 600 11px/1 var(--body); letter-spacing: .2em; color: rgba(255,255,255,.75); }
.ms-panel__t { font: 800 clamp(34px, 4vw, 64px)/.9 var(--display); font-stretch: 68%; font-variation-settings: "wdth" 68; text-transform: uppercase; }
.ms-panel p { max-width: 38ch; margin-top: 16px; color: rgba(255,255,255,.85); opacity: 0; transform: translateY(12px); transition: opacity .5s .15s, transform .5s .15s var(--ease); }
.ms-panel.is-open p { opacity: 1; transform: none; }

/* Carrusel de originales */
.ms-reel__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); scrollbar-width: none; }
.ms-reel__track::-webkit-scrollbar { display: none; }
.ms-shot { position: relative; flex: 0 0 min(78vw, 1040px); aspect-ratio: 2.39 / 1; overflow: hidden; isolation: isolate; scroll-snap-align: start; }
.ms-shot img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ms-shot:hover img { transform: scale(1.04); }
.ms-shot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75)); }
.ms-shot__t { position: absolute; left: 32px; bottom: 26px; font: 800 clamp(34px, 4.6vw, 72px)/.9 var(--display); font-stretch: 68%; font-variation-settings: "wdth" 68; text-transform: uppercase; }
.ms-shot__tag { position: absolute; left: 32px; top: 26px; display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; }
.ms-shot__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #E5484D; }
.ms-reel__nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.ms-reel__nav button { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; transition: background-color .2s, color .2s; }
.ms-reel__nav button:hover { background: var(--text); color: var(--bg); }

/* Transparencia */
.ms-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ms-steps li { padding: 40px 36px 44px; background: var(--bg-2); }
.ms-steps span { display: block; margin-bottom: 56px; font: 800 64px/.8 var(--display); font-stretch: 68%; font-variation-settings: "wdth" 68; color: var(--accent); }
.ms-steps h3 { margin-bottom: 10px; font: 600 22px/1.2 var(--body); letter-spacing: -0.02em; }
.ms-note { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 56px; }
.ms-note p { max-width: 60ch; font-size: 14px; color: var(--subtle); margin: 0; }

/* Footer */
.ms-footer { padding: 96px 0 32px; border-top: 1px solid var(--line); }
.ms-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; }
.ms-footer__brand p { margin: 20px 0 22px; max-width: 34ch; font-size: 15px; }
.ms-footer h4 { margin-bottom: 18px; font: 600 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--subtle); }
.ms-footer nav { display: flex; flex-direction: column; gap: 12px; }
.ms-footer nav a { width: fit-content; font-size: 15px; color: var(--muted); transition: color .2s; }
.ms-footer nav a:hover { color: #fff; }
.ms-social { display: flex; gap: 8px; }
.ms-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); transition: color .2s, border-color .2s; }
.ms-social a:hover { color: #fff; border-color: rgba(255,255,255,.45); }
.ms-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--subtle); }

/* WhatsApp flotante */
.ms-wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #06270F; box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: transform .2s var(--ease); }
.ms-wa-float:hover { transform: scale(1.06); }
.ms-wa-float .i { width: 24px; height: 24px; }

/* Animación de entrada */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --gutter: 24px; }
  .ms-nav { display: none; }
  .ms-burger { display: inline-flex; }
  .ms-mobile-nav { position: fixed; inset: 76px 0 auto; display: grid; padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .ms-mobile-nav a:not(.ms-btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font: 800 30px/1 var(--display); font-stretch: 68%; font-variation-settings: "wdth" 68; text-transform: uppercase; }
  .ms-mobile-nav .ms-btn { margin-top: 20px; }
  body.menu-open .ms-mobile-nav { opacity: 1; visibility: visible; transform: none; }
  .ms-hero__foot { flex-direction: column; align-items: flex-start; }
  .ms-hero__hud { display: none; }
  .ms-split { grid-template-columns: 1fr; min-height: 0; }
  .ms-split__media { aspect-ratio: 4 / 3; }
  .ms-split__body { padding: 72px var(--gutter) 88px; max-width: none; }
  .ms-head { grid-template-columns: 1fr; }
  .ms-footer__grid { grid-template-columns: 1fr 1fr; }
  .ms-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --gutter: 18px; }
  .ms-header__cta > .ms-btn { display: none; }
  .ms-hero__inner { padding-bottom: 88px; }
  .ms-scroll { bottom: 20px; }
  .ms-manifesto { padding: 104px 0 96px; }
  .ms-manifesto__text--2 { margin-top: 40px; text-align: left; margin-left: 0; }
  .ms-full__inner { padding-top: 120px; padding-bottom: 72px; }
  .ms-title--xl { font-size: 12.6vw; }
  .ms-hero .ms-title--xl { max-width: none; }
  .ms-hero__foot .ms-actions { width: 100%; }
  .ms-full::before, .ms-full--left::before { background: linear-gradient(180deg, rgba(10,10,11,.45), rgba(10,10,11,.9) 42%, rgba(10,10,11,.96)); }
  .ms-full--left { align-items: flex-end; }
  .ms-timeline { grid-template-columns: 1fr; margin-top: 48px; border-top: 0; border-left: 1px solid rgba(255,255,255,.35); }
  .ms-timeline li { padding: 0 0 24px 24px; }
  .ms-timeline li::before { top: 4px; left: -5px; }
  .ms-section { padding: 96px 0; }
  .ms-head { margin-bottom: 44px; }
  .ms-panels { flex-direction: column; height: auto; }
  .ms-panel, .ms-panel.is-open { flex: none; height: 64svh; }
  .ms-panel img { filter: none; }
  .ms-panel p { opacity: 1; transform: none; }
  .ms-panel__body { left: 22px; right: 22px; bottom: 24px; }
  .ms-shot { flex-basis: 86vw; aspect-ratio: 4 / 3; }
  .ms-shot__t { left: 18px; bottom: 16px; }
  .ms-shot__tag { left: 18px; top: 18px; }
  .ms-steps { grid-template-columns: 1fr; }
  .ms-steps span { margin-bottom: 28px; }
  .ms-note { flex-direction: column; align-items: stretch; }
  .ms-actions { flex-direction: column; align-items: stretch; }
  .ms-footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .ms-wa-float { right: 16px; bottom: 76px; width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-words] .w { opacity: 1; }
}
