/* MoveShot · rediseño Home · Propuesta A (editorial de cine)
   Tokens = Global Colors / Global Fonts del Kit de Elementor. */
:root {
  --paper: #F4F1EA;
  --white: #FFFFFF;
  --ink: #121211;
  --ink-2: #2B2A27;
  --muted: #5E5A53;
  --subtle: #8B867C;
  --line: #D8D2C5;
  --line-soft: #E6E1D6;
  --accent: #1D5FD1;
  --rec: #E5484D;
  --wa: #25D366;
  --display: "Outfit", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --body: "Inter", system-ui, sans-serif;
  --container: 1320px;
  --gutter: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); 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; font-family: var(--display); font-weight: 600; color: var(--ink); }
ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
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); }
.ms-bg-paper { background: var(--paper); }
.ms-bg-white { background: var(--white); }
.ms-bg-ink { background: var(--ink); color: var(--paper); }

/* ---------- Tipografía ---------- */
.ms-display { font-size: clamp(54px, 10.4vw, 156px); line-height: .9; letter-spacing: -0.05em; text-wrap: balance; }
.ms-display em { font-size: 1.06em; letter-spacing: -0.025em; }
.ms-h2 { font-size: clamp(38px, 5.2vw, 76px); line-height: .98; letter-spacing: -0.04em; text-wrap: balance; }
.ms-h2 em { font-size: 1.05em; }
.ms-h3 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1; letter-spacing: -0.035em; }
.ms-lead { font: 400 clamp(19px, 1.55vw, 23px)/1.45 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.ms-kicker, .ms-meta, .ms-slug { font: 500 11.5px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.ms-kicker { color: var(--subtle); }

/* ---------- Botones ---------- */
.ms-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.ms-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px;
  border-radius: 999px; background: var(--ink); color: var(--paper); font: 500 15px/1 var(--body); white-space: nowrap;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.ms-btn:hover { background: var(--accent); }
.ms-btn:active { transform: translateY(1px); }
.ms-btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.ms-btn--lg { height: 58px; padding: 0 30px; font-size: 16px; }
.ms-btn .i { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.ms-btn:hover .i:last-child:not(:first-child) { transform: translateX(3px); }
.ms-link { font: 500 15px/1 var(--body); color: var(--ink); padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--ease); }
.ms-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Header ---------- */
.ms-header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.ms-header.is-scrolled, body.menu-open .ms-header { background: rgba(244, 241, 234, .86); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
.ms-header__inner { height: 72px; 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(--display); letter-spacing: .16em; }
.ms-logo img { width: 32px; height: auto; }
.ms-logo b { font-weight: inherit; color: var(--accent); }
.ms-nav { display: flex; gap: 32px; }
.ms-nav a { font: 500 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 6px 0; transition: color .2s; }
.ms-nav a:hover, .ms-nav a[aria-current] { color: var(--ink); }
.ms-nav a[aria-current] { box-shadow: inset 0 -1px 0 var(--ink); }
.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: 999px; background: transparent; color: var(--ink); 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 ---------- */
.ms-hero { padding: 132px 0 112px; }
.ms-meta { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 18px; margin-bottom: 36px; border-bottom: 1px solid var(--ink); color: var(--ink); }
.ms-hero .ms-display { max-width: 12ch; }
.ms-frame { position: relative; margin-top: 56px; aspect-ratio: 2.39 / 1; overflow: hidden; background: var(--ink); border-radius: 4px; isolation: isolate; }
.ms-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s linear; }
.ms-slides img.is-on { opacity: 1; transform: scale(1); }
.ms-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 22%, transparent 70%, rgba(0,0,0,.55)); pointer-events: none; }
.ms-frame__hud, .ms-frame__cap { position: absolute; left: 24px; right: 24px; z-index: 2; display: flex; justify-content: space-between; align-items: center; color: #fff; font: 500 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.ms-frame__hud { top: 22px; }
.ms-frame__cap { bottom: 22px; }
.ms-rec { display: inline-flex; align-items: center; gap: 8px; }
.ms-rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); animation: rec 1.6s linear infinite; }
@keyframes rec { 0%, 55% { opacity: 1; } 56%, 100% { opacity: .25; } }
.ms-tc { font-variant-numeric: tabular-nums; }
.ms-frame__cap a { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.6); }
.ms-frame__cap .i { width: 14px; height: 14px; }
.ms-cols3 { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 48px; margin-top: 48px; }
.ms-cols3 .ms-lead { font-size: clamp(22px, 2vw, 28px); max-width: 17ch; }

/* ---------- Secciones ---------- */
.ms-section { padding: 120px 0 136px; }
.ms-slug { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; padding-top: 16px; border-top: 1px solid currentColor; margin-bottom: 72px; color: var(--ink); }
.ms-slug span:first-child { color: var(--accent); }
.ms-slug span:nth-child(2) { text-align: center; }
.ms-slug span:last-child { text-align: right; color: var(--subtle); }
.ms-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px 96px; align-items: end; margin-bottom: 72px; }
.ms-head .ms-h2 { max-width: 12ch; }
.ms-head > div, .ms-head > p { max-width: 540px; }

/* Escala */
.ms-scale { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px 96px; align-items: end; }
.ms-scale__num strong { display: block; font: 600 clamp(140px, 22vw, 330px)/.8 var(--display); letter-spacing: -0.07em; color: var(--ink); margin-left: -0.04em; }
.ms-scale__num span { display: block; margin-top: 28px; font: 400 clamp(26px, 2.6vw, 38px)/1 var(--serif); font-style: italic; color: var(--muted); }
.ms-scale__text .ms-h2 { margin-bottom: 32px; max-width: 11ch; }
.ms-scale__text .ms-lead { margin-bottom: 1em; }

/* Tira de película */
.ms-film__strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 34px 14px; border-radius: 4px; background-color: var(--ink);
  background-image: linear-gradient(90deg, var(--paper) 0 12px, transparent 12px 28px), linear-gradient(90deg, var(--paper) 0 12px, transparent 12px 28px);
  background-size: 28px 9px, 28px 9px; background-repeat: repeat-x; background-position: 10px 12px, 10px calc(100% - 12px);
}
.ms-film__frame { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; background: #222; }
.ms-film__frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2) contrast(1.05); transition: transform .9s var(--ease), filter .6s; }
.ms-film__strip li:hover img { transform: scale(1.04); filter: none; }
.ms-film__labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; padding-inline: 14px; }
.ms-film__labels li { display: flex; align-items: baseline; gap: 12px; font: 600 20px/1.2 var(--display); letter-spacing: -0.02em; }
.ms-film__labels span { font: 400 22px/1 var(--serif); font-style: italic; color: var(--accent); }

/* Features (zigzag) */
.ms-feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line-soft); }
.ms-feature + .ms-feature { margin-top: 0; }
.ms-feature--rev { grid-template-columns: 1fr 1.35fr; }
.ms-feature--rev .ms-feature__img { order: 2; }
.ms-feature__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
.ms-feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ms-feature:hover .ms-feature__img img { transform: scale(1.03); }
.ms-feature__body { display: grid; gap: 18px; max-width: 420px; }
.ms-feature__body p { font-size: 17px; }

/* Originales (sala oscura) */
.ms-bg-ink .ms-slug { color: var(--paper); border-color: rgba(244, 241, 234, .35); }
.ms-bg-ink .ms-slug span:first-child { color: #7FA8F0; }
.ms-bg-ink .ms-slug span:last-child { color: #8F8B83; }
.ms-bg-ink h2, .ms-bg-ink .ms-lead { color: var(--paper); }
.ms-bg-ink p { color: #A9A49A; }
.ms-bill { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ms-bill a { position: relative; overflow: hidden; border-radius: 4px; isolation: isolate; color: #fff; }
.ms-bill img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ms-bill a:hover img { transform: scale(1.04); }
.ms-bill a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.72)); }
.ms-bill__main { grid-column: 1 / -1; aspect-ratio: 2.39 / 1; }
.ms-bill__item { aspect-ratio: 4 / 5; }
.ms-bill__title { position: absolute; left: 24px; bottom: 20px; z-index: 1; font: 400 clamp(28px, 2.6vw, 38px)/1 var(--serif); font-style: italic; letter-spacing: -0.01em; }
.ms-bill__main .ms-bill__title { font-size: clamp(44px, 6vw, 92px); left: 32px; bottom: 28px; }
.ms-bill__tag { position: absolute; left: 32px; top: 28px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; font: 500 11.5px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.ms-bill__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rec); animation: rec 1.6s linear infinite; }

/* Rental: índice */
.ms-rental { display: grid; grid-template-columns: 1fr 1.25fr; gap: 96px; align-items: start; }
.ms-rental__copy { position: sticky; top: 112px; }
.ms-rental__copy .ms-h2 { margin-bottom: 32px; max-width: 10ch; }
.ms-index { border-bottom: 1px solid var(--line); }
.ms-index a { position: relative; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px; padding: 22px 4px; border-top: 1px solid var(--line); }
.ms-index__n { font: 400 20px/1 var(--serif); font-style: italic; color: var(--subtle); }
.ms-index__t { font: 600 clamp(30px, 3.4vw, 50px)/1 var(--display); letter-spacing: -0.04em; transition: transform .45s var(--ease), color .3s; }
.ms-index .i { width: 22px; height: 22px; color: var(--subtle); transition: transform .45s var(--ease), color .3s; }
.ms-index img { position: absolute; right: 64px; top: 50%; z-index: 2; width: 200px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; pointer-events: none; opacity: 0; transform: translateY(-50%) rotate(-4deg) scale(.85); transition: opacity .3s, transform .45s var(--ease); box-shadow: 0 20px 40px -12px rgba(0,0,0,.35); }
.ms-index a:hover .ms-index__t { transform: translateX(14px); color: var(--accent); }
.ms-index a:hover .i { transform: rotate(-45deg); color: var(--ink); }
.ms-index a:hover img { opacity: 1; transform: translateY(-50%) rotate(-4deg) scale(1); }

/* Transparencia */
.ms-h2--wide { max-width: 16ch; margin-bottom: 72px; }
.ms-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.ms-steps li { padding-top: 22px; border-top: 1px solid var(--ink); }
.ms-steps__n { display: block; margin-bottom: 26px; font: 400 64px/.8 var(--serif); font-style: italic; color: var(--accent); }
.ms-steps p { font: 400 clamp(19px, 1.6vw, 23px)/1.4 var(--display); letter-spacing: -0.01em; color: var(--ink); max-width: 22ch; }
sup { font-size: .6em; color: var(--accent); margin-left: 2px; }
.ms-foot { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.ms-footnote { max-width: 62ch; font-size: 14px; color: var(--subtle); }
.ms-footnote sup { margin: 0 4px 0 0; }

/* Cierre */
.ms-cta { padding: 0 0 136px; overflow: hidden; }
.ms-marquee { border-block: 1px solid var(--ink); padding: 18px 0; margin-bottom: 112px; overflow: hidden; }
.ms-marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.ms-marquee span { display: inline-flex; align-items: center; padding-right: 40px; font: 400 clamp(26px, 2.6vw, 38px)/1 var(--serif); font-style: italic; white-space: nowrap; }
.ms-marquee span::after { content: "✦"; margin-left: 40px; font: 400 16px/1 var(--body); color: var(--accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
.ms-display--cta { font-size: clamp(52px, 9.2vw, 140px); max-width: 13ch; }
.ms-cta__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.ms-cta__row .ms-lead { max-width: 30ch; margin: 0; }
.ms-cta__row .ms-actions { margin: 0; }

/* Footer: créditos finales */
.ms-footer { background: var(--ink); color: var(--paper); padding: 96px 0 28px; overflow: hidden; }
.ms-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; }
.ms-footer__brand p { color: #A9A49A; font-size: 15px; margin-bottom: 22px; }
.ms-footer h4 { margin-bottom: 18px; font: 500 11.5px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #8F8B83; }
.ms-footer nav { display: flex; flex-direction: column; gap: 12px; }
.ms-footer nav a { width: fit-content; font-size: 15px; color: #D8D3C8; 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-radius: 999px; border: 1px solid rgba(244, 241, 234, .2); color: #D8D3C8; transition: border-color .2s, color .2s; }
.ms-social a:hover { color: #fff; border-color: rgba(244, 241, 234, .5); }
.ms-wordmark { margin: 88px 0 0; font: 600 clamp(60px, 16.4vw, 244px)/.8 var(--display); letter-spacing: -0.035em; color: var(--paper); text-align: center; white-space: nowrap; }
.ms-wordmark b { font-weight: inherit; color: #7FA8F0; }
.ms-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(244, 241, 234, .15); font-size: 13.5px; color: #8F8B83; }

/* 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,.2); 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 (Elementor: Motion Effects → Entrance) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 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: 72px 0 auto; display: grid; padding: 8px var(--gutter) 24px; background: var(--paper); 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: 600 26px/1 var(--display); letter-spacing: -0.03em; }
  .ms-mobile-nav .ms-btn { margin-top: 20px; }
  body.menu-open .ms-mobile-nav { opacity: 1; visibility: visible; transform: none; }
  .ms-cols3 { grid-template-columns: 1fr 1fr; }
  .ms-cols3 .ms-lead { grid-column: 1 / -1; max-width: none; }
  .ms-head, .ms-scale, .ms-rental { grid-template-columns: 1fr; gap: 32px; }
  .ms-rental { gap: 56px; }
  .ms-rental__copy { position: static; }
  .ms-feature, .ms-feature--rev { grid-template-columns: 1fr 1fr; gap: 40px; }
  .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-hide-m { display: none; }
  .ms-hero { padding: 104px 0 80px; }
  .ms-meta { margin-bottom: 24px; }
  .ms-frame { aspect-ratio: 4 / 5; margin-top: 36px; }
  .ms-frame__cap span { display: none; }
  .ms-cols3 { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .ms-section { padding: 72px 0 88px; }
  .ms-slug { grid-template-columns: auto 1fr; margin-bottom: 44px; }
  .ms-slug span:nth-child(2) { text-align: right; }
  .ms-slug span:last-child { display: none; }
  .ms-head { margin-bottom: 44px; }
  .ms-scale__num strong { font-size: 38vw; }
  .ms-film__strip { grid-template-columns: repeat(3, 72vw); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ms-film__strip li { scroll-snap-align: start; }
  .ms-film__labels { grid-template-columns: 1fr; gap: 10px; padding-inline: 0; }
  .ms-feature, .ms-feature--rev { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; }
  .ms-feature--rev .ms-feature__img { order: 0; }
  .ms-bill { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ms-bill__main { aspect-ratio: 4 / 3; }
  .ms-bill__item { aspect-ratio: 3 / 4; }
  .ms-bill__item:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .ms-bill__title { left: 16px; bottom: 14px; font-size: 26px; }
  .ms-bill__main .ms-bill__title { left: 18px; bottom: 18px; font-size: 44px; }
  .ms-bill__tag { left: 18px; top: 18px; }
  .ms-index a { grid-template-columns: 34px 1fr 64px; padding: 16px 0; }
  .ms-index img { position: static; width: 64px; opacity: 1; transform: none; box-shadow: none; grid-column: 3; grid-row: 1; }
  .ms-index .i { display: none; }
  .ms-index a:hover .ms-index__t { transform: none; }
  .ms-steps { grid-template-columns: 1fr; gap: 32px; }
  .ms-h2--wide { margin-bottom: 44px; }
  .ms-foot { flex-direction: column; align-items: stretch; margin-top: 48px; }
  .ms-marquee { margin-bottom: 72px; }
  .ms-cta { padding-bottom: 96px; }
  .ms-cta__row { flex-direction: column; align-items: stretch; }
  .ms-actions { flex-direction: column; align-items: stretch; }
  .ms-actions .ms-link { align-self: center; }
  .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; }
}
