/* Expofilms — estilos de la landing (mobile-first). Valores de marca en tokens.css */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--ef-bone);
  color: var(--ef-black);
  font-family: var(--ef-font-body);
  font-size: var(--ef-text-body);
  line-height: var(--ef-leading-body);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ef-red); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ef-red); color: var(--ef-black); padding: 12px 16px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { max-width: var(--ef-container); margin: 0 auto; padding: 0 var(--ef-gutter); }
.section { padding: 64px 0; }
.section--dark { background: var(--ef-black); color: var(--ef-bone); }
.section--white { background: var(--ef-white); border-block: var(--ef-border); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack--lg { gap: 40px; }
@media (min-width: 768px) { .section { padding: var(--ef-section-y) 0; } }

/* ---------- Tipografía ---------- */
.h1, .h2 { font-family: var(--ef-font-display); font-weight: 900; text-wrap: balance; }
.h1 { font-size: var(--ef-text-hero); line-height: var(--ef-leading-display); letter-spacing: var(--ef-tracking-display); max-width: 1000px; }
.h2 { font-size: var(--ef-text-h2); line-height: var(--ef-leading-heading); letter-spacing: var(--ef-tracking-heading); }
.h3 { font-family: var(--ef-font-display); font-weight: 800; font-size: 22px; line-height: 1.1; }
.hl { color: var(--ef-red); }
.lead { font-size: 19px; line-height: 1.5; max-width: 620px; }
.section--dark .lead, .section--dark p { color: var(--ef-soft-dark); }
.muted { color: var(--ef-ink-2); }
@media (min-width: 768px) { .lead { font-size: var(--ef-text-lead); } .h3 { font-size: 26px; } }

/* Etiqueta con punto REC */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--ef-text-label); font-weight: 600;
  letter-spacing: var(--ef-tracking-label); text-transform: uppercase;
  color: var(--ef-ink-3);
}
.section--dark .eyebrow { color: var(--ef-mute-dark); }
.dot {
  width: var(--ef-dot-sm); height: var(--ef-dot-sm);
  border-radius: 50%; background: var(--ef-red); flex-shrink: 0;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 16px 24px;
  border-radius: var(--ef-radius); border: 1.5px solid transparent;
  font: 600 17px/1.2 var(--ef-font-body); text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ef-red); color: var(--ef-black); }
.btn--primary:hover { background: #CF2D0F; }
.btn--secondary { background: transparent; color: currentColor; border-color: currentColor; }
.btn--sm { padding: 10px 14px; font-size: 15px; white-space: nowrap; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .btn-row .btn { flex: 0 0 auto; } }

/* ---------- Cabecera ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ef-black); color: var(--ef-bone);
  border-bottom: 1px solid var(--ef-line-dark);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.header__logo img { height: 18px; width: auto; }
.header__nav { display: flex; align-items: center; gap: 24px; }
.header__link { display: none; color: var(--ef-soft-dark); text-decoration: none; font-size: 15px; padding: 12px 0; }
.header__link:hover { color: var(--ef-bone); }
@media (min-width: 768px) { .header__link { display: inline-block; } .header__logo img { height: 24px; } }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 64px; }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__creds {
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center;
  margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--ef-line-dark);
}
.hero__creds-label { width: 100%; font-size: var(--ef-text-label); letter-spacing: var(--ef-tracking-label); text-transform: uppercase; color: var(--ef-mute-dark); }
.hero__creds-item { font-family: var(--ef-font-display); font-weight: 800; font-size: 17px; color: var(--ef-bone); }
@media (min-width: 768px) {
  .hero { padding: 80px 0 var(--ef-section-y); }
  .hero__creds-label { width: auto; }
}
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.5fr 1fr; } }

/* ---------- Visor de cámara (esquinas) + marcador REC ---------- */
.viewfinder { position: relative; padding: 14px; }
.viewfinder::before, .viewfinder::after,
.viewfinder > .vf-b::before, .viewfinder > .vf-b::after {
  content: ""; position: absolute; width: 36px; height: 36px; border: 0 solid var(--ef-bone);
}
.viewfinder::before { top: 0; left: 0; border-top-width: 8px; border-left-width: 8px; }
.viewfinder::after { top: 0; right: 0; border-top-width: 8px; border-right-width: 8px; }
.viewfinder > .vf-b::before { bottom: 0; left: 0; border-bottom-width: 8px; border-left-width: 8px; }
.viewfinder > .vf-b::after { bottom: 0; right: 0; border-bottom-width: 8px; border-right-width: 8px; }
.viewfinder--light::before, .viewfinder--light::after,
.viewfinder--light > .vf-b::before, .viewfinder--light > .vf-b::after { border-color: var(--ef-black); }

.media-slot {
  position: relative; display: grid; place-items: center;
  background: #1C1C1C; color: var(--ef-mute-dark);
  border-radius: var(--ef-radius-sm); overflow: hidden;
  font-size: var(--ef-text-label); font-weight: 600; letter-spacing: var(--ef-tracking-label);
  text-transform: uppercase; text-align: center; padding: 16px;
}
.media-slot--light { background: var(--ef-placeholder); color: var(--ef-black); }
.media-slot video, .media-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ratio-9x16 { aspect-ratio: 9 / 16; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.rec {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: var(--ef-tracking-label); color: var(--ef-bone);
}
.media-slot--light .rec { color: var(--ef-black); }
.rec .dot { animation: rec-blink 1.4s steps(2, start) infinite; }
@keyframes rec-blink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .rec .dot { animation: none; } html { scroll-behavior: auto; } .btn { transition: none; } }

.hero__media { max-width: 360px; width: 100%; justify-self: center; }

/* ---------- Problema ---------- */
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } }
.card {
  background: var(--ef-white); border: var(--ef-border); border-radius: var(--ef-radius);
  padding: 20px 22px;
}
.card strong { display: block; font-weight: 600; font-size: 18px; }
.card span { display: block; margin-top: 4px; color: var(--ef-ink-2); }
.cards { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Pasos ---------- */
.steps { display: grid; gap: 32px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.step { border-top: 3px solid var(--ef-black); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.step:last-child { border-top-color: var(--ef-red); }
.step__num { font-family: var(--ef-font-display); font-weight: 900; font-size: 44px; line-height: 1; letter-spacing: var(--ef-tracking-heading); color: var(--ef-red); }
.extra { display: flex; gap: 10px; align-items: baseline; font-size: 17px; max-width: 760px; }
.extra .dot { transform: translateY(-2px); }

/* ---------- Reels ---------- */
.reels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .reels { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

/* ---------- Packs ---------- */
.section-head { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: flex-end; }
.packs { display: grid; gap: 28px; padding-top: 14px; }
@media (min-width: 960px) { .packs { grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; } }
.pack {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  background: var(--ef-white); border: var(--ef-border); border-radius: var(--ef-radius);
  padding: 32px 24px;
}
.pack__for { font-size: 15px; color: var(--ef-ink-3); margin-top: -10px; }
.pack__price { font-family: var(--ef-font-display); font-weight: 900; font-size: 48px; line-height: 1; letter-spacing: var(--ef-tracking-heading); }
.pack__price small { font-family: var(--ef-font-body); font-weight: 500; font-size: 16px; letter-spacing: 0; color: var(--ef-ink-3); }
.pack__list { list-style: none; margin: 0; padding: 18px 0 0; border-top: var(--ef-border); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pack__list li { display: flex; gap: 10px; align-items: baseline; }
.pack__list li::before { content: "●"; color: var(--ef-red); font-size: 11px; transform: translateY(-1px); }
.pack--featured { background: var(--ef-black); color: var(--ef-bone); border-color: var(--ef-black); }
.pack--featured .pack__for, .pack--featured .pack__price small { color: var(--ef-mute-dark); }
.pack--featured .pack__list { border-top-color: var(--ef-line-dark); color: var(--ef-soft-dark); }
.pack__badge {
  position: absolute; top: 0; left: 24px; transform: translateY(-50%);
  background: var(--ef-red); color: var(--ef-black);
  font-size: 13px; font-weight: 600; letter-spacing: var(--ef-tracking-label);
  padding: 6px 10px; border-radius: var(--ef-radius-sm);
}
.pack--featured .btn--secondary { color: var(--ef-bone); }
.note { font-size: 14px; color: var(--ef-ink-3); }

/* ---------- Quién ---------- */
.about { display: grid; gap: 40px; align-items: center; }
.about__photo { max-width: 440px; width: 100%; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1.2fr; gap: 64px; } }
.placeholder-tag {
  display: inline-block; font-family: var(--ef-font-body); font-weight: 600; font-size: 13px;
  letter-spacing: var(--ef-tracking-label); text-transform: uppercase;
  border: 1.5px dashed currentColor; padding: 6px 10px; border-radius: var(--ef-radius-sm);
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ef-line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--ef-line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 44px; padding: 20px 0; font-weight: 600; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--ef-font-display); font-weight: 900; font-size: 26px; line-height: 1; color: var(--ef-red); flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; max-width: 620px; color: var(--ef-ink-2); }

/* ---------- Contacto ---------- */
.contact { text-align: left; }
.contact .h2 { font-size: clamp(2.5rem, 7vw, 5rem); }

/* ---------- Pie ---------- */
.footer { background: var(--ef-black); color: var(--ef-mute-dark); border-top: 1px solid var(--ef-line-dark); padding: 40px 0; font-size: 15px; }
.footer__inner { display: flex; flex-direction: column; gap: 20px; }
.footer__logo img { height: 18px; width: auto; }
.footer__meta, .footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer a { color: var(--ef-soft-dark); text-decoration: none; }
.footer a:hover { color: var(--ef-bone); text-decoration: underline; }
@media (min-width: 900px) { .footer__inner { flex-direction: row; justify-content: space-between; align-items: center; } }
