/* ==========================================================================
   Magnificent Productions Studio
   Sister brand to Soy Claudia Akel: same type, cinematic palette.
   Signature: the 2.39:1 letterbox — every production is framed like a film.
   ========================================================================== */
.studio {
  --velvet: #1F0B24;
  --velvet-2: #2C1232;
  --pearl: #F4EAF1;
  --smoke: #BFAABC;
  --champagne: #DCBD7B;
  --rose: #E79BDB;
  --rule: rgba(244, 234, 241, .16);
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;   /* el estudio conserva su propia voz */
  background: var(--velvet); color: var(--pearl);
}
.studio :focus-visible { outline-color: var(--champagne); }
.studio .site-header { color: var(--pearl); background: transparent; box-shadow: none; }
.studio .site-header.is-solid { background: rgba(31, 11, 36, .92); box-shadow: 0 1px 0 var(--rule); }
.studio .site-header .btn-primary { background: var(--champagne); color: var(--velvet); }
.studio .brand img { height: 45px; width: auto; }
@media (max-width: 960px) { .studio .brand img { height: 34px; } }
.studio .wordmark small { font-family: var(--sans); font-style: normal; font-size: .85rem; letter-spacing: .08em; margin-left: .5rem; color: var(--smoke); }
.studio .btn-primary { background: var(--champagne); color: var(--velvet); }
.studio .btn-primary:hover { background: #fff; }
.studio .btn-ghost:hover { background: var(--pearl); color: var(--velvet); border-color: var(--pearl); }
.studio .link { color: var(--champagne); }
.studio .lede { color: var(--smoke); }
.studio h1, .studio h2, .studio h3 { font-weight: 400; letter-spacing: -.01em; line-height: 1.08; }
.studio h2 { font-size: clamp(2.6rem, 1.9rem + 3.2vw, 4.8rem); }
.studio section { padding-block: clamp(4.5rem, 10vw, 8rem); }

/* Hero: la franja de cine */
.reel { min-height: 100svh; display: grid; grid-template-rows: 1fr auto 1fr; padding: 0; }
.reel .bar { display: flex; align-items: flex-end; }
.reel .bar.top { padding-top: 5.5rem; }
.reel .bar > .wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); }
.reel .kicker { margin: 0 0 1.4rem; color: var(--smoke); font-size: var(--step-0); max-width: none; }
.reel .frame { position: relative; aspect-ratio: 2.39 / 1; width: 100%; max-height: 62svh; overflow: hidden; background: #000; }
.reel .frame video, .reel .frame img { width: 100%; height: 100%; object-fit: cover; }
.reel .frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 120px rgba(0, 0, 0, .55); pointer-events: none; }
.reel .bar.bottom { align-items: flex-start; padding-block: 1.6rem 2.5rem; }
.reel h1 { font-size: clamp(3.4rem, 11vw, 10.5rem); line-height: .9; letter-spacing: -.035em; font-style: italic; }
.reel .sub { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; flex-wrap: wrap; margin-top: 1.2rem; }
.reel .sub p { margin: 0; font-size: var(--step-1); color: var(--smoke); max-width: 32ch; }
.reel .tagline { font-family: var(--serif); font-size: var(--step-2); color: var(--pearl); }

@media (prefers-reduced-motion: no-preference) {
  .js .reel .frame { clip-path: inset(50% 0 50% 0); }
  .js .reel h1, .js .reel .sub, .js .reel .kicker { opacity: 0; transform: translateY(12px); }
  .is-loaded .reel .frame { clip-path: inset(0 0 0 0); transition: clip-path 1.3s cubic-bezier(.7, 0, .2, 1) .1s; }
  .is-loaded .reel h1, .is-loaded .reel .sub, .is-loaded .reel .kicker { opacity: 1; transform: none; transition: opacity .9s ease 1.1s, transform .9s ease 1.1s; }
  .is-loaded .reel .sub { transition-delay: 1.3s; }
}
@media (max-width: 700px) {
  .reel { grid-template-rows: auto auto 1fr; }
  .reel .bar.top { min-height: 6rem; }
  .reel .frame { aspect-ratio: 16 / 10; }
}

/* Declaración */
.statement { border-top: 1px solid var(--rule); }
.statement .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.statement h2 { font-size: var(--step-4); max-width: 13ch; }
.statement p { color: var(--smoke); }
@media (max-width: 820px) { .statement .wrap { grid-template-columns: 1fr; } }

/* Producciones */
.productions-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
.production { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.production .screen { position: relative; aspect-ratio: 2.39 / 1; background: #000; overflow: hidden; }
.production .screen video { width: 100%; height: 100%; object-fit: cover; }
.production .screen .play {
  position: absolute; inset: 0; border: 0; cursor: pointer; background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 60%);
  display: grid; place-items: center; color: var(--velvet);
}
.production .screen .play span { width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--champagne); display: grid; place-items: center; transition: transform .3s; }
.production .screen .play:hover span { transform: scale(1.08); }
.production .screen .play svg { width: 1.6rem; height: 1.6rem; margin-left: 3px; }
.production.is-playing .play { display: none; }
.production .caption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--rule); padding-bottom: 1rem; }
.production h3 { font-size: var(--step-3); }
.production .cat { color: var(--smoke); }
.production:nth-child(even) .caption { flex-direction: row-reverse; }

/* Qué hacemos */
.offer { background: var(--velvet-2); }
.offer-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.offer ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.offer li { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.5rem; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.offer li strong { font-family: var(--serif); font-weight: 400; font-size: var(--step-1); }
.offer li span { color: var(--smoke); }
@media (max-width: 820px) { .offer-grid, .offer li { grid-template-columns: 1fr; } .offer li { gap: .3rem; } }

/* Aliados */
.partners { padding-block: 3.5rem !important; border-block: 1px solid var(--rule); }
.partners .wrap { display: flex; align-items: center; justify-content: center; gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap; }
.partners p { margin: 0; color: var(--smoke); }
.partners img { max-height: 64px; width: auto; filter: grayscale(1) brightness(1.8); opacity: .85; }
.partners img:hover { filter: none; opacity: 1; }

/* Contacto del estudio */
.studio .contact-grid h2 { margin-bottom: 1.2rem; }
.studio .form-card { background: var(--pearl); }
.studio .form-card .btn-primary { background: var(--velvet); color: var(--pearl); }
.studio .form-card .btn-primary:hover { background: #4A1F52; }
.studio .form-card :focus-visible { outline-color: var(--velvet); }
.studio .contact-list a:hover { color: var(--champagne); }
.studio .contact-list small { color: var(--smoke); }
.studio .socials a { border-color: var(--rule); }
.studio .site-footer { background: #170819; }
