/* Video de portada y ejemplos reales. Conserva la identidad y los textos. */
.hero.hero-film { padding: 0 0 64px; overflow: hidden; background: var(--crema); }
.hero-film-stage { position: relative; isolation: isolate; width: 100%; background: #f5ddda; }
.hero-film-player { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-inline: auto; overflow: hidden; }
.hero-film-player video, .hero-film-poster { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-film-poster { position: absolute; inset: 0; z-index: -1; }
.hero-film-poster img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-film-player video { opacity: 0; transition: opacity 250ms ease; }
.hero-film-player.is-ready video { opacity: 1; }
.hero-social { position: absolute; right: 22px; bottom: 18px; z-index: 2; display: flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid #a54b5530; border-radius: 40px; background: #fcf6eea6; backdrop-filter: blur(8px); }
.hero-social a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--coral-dark); border-radius: 50%; text-decoration: none; transition: color .2s, background-color .2s, translate .25s var(--ease-soft); }
.hero-social .social-icon-wrap { width: auto; height: auto; border: 0; border-radius: 0; background: none; }
.hero-social .social-icon { width: 18px; height: 18px; }
.hero-social .social-label { display: none; }
.hero-social a:hover { background: #fcf6eebf; color: #753540; translate: 0 -2px; }
.hero-social a:focus-visible, .design-close:focus-visible { outline: 2px solid var(--coral-dark); outline-offset: 3px; }
/* El encabezado se superpone al video; solo las opciones reciben un fondo tenue. */
.site-header { position: fixed; inset: 0 0 auto; width: 100%; background: transparent; pointer-events: none; }
.site-header .topbar, .site-header.is-scrolled .topbar { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; }
.site-header .brand, .site-header .mobile-menu-toggle, .site-header .main-nav { pointer-events: auto; }
.site-header .main-nav { pointer-events: none; }
.site-header .nav-link, .site-header .nav-group summary { padding-inline: 14px; border: 1px solid #a54b553b; border-radius: 100px; background: #fcf6eea6; color: #713641; }
.site-header .nav-link::after { left: 14px; right: 14px; }
.site-header .nav-primary { gap: 10px; }
.site-header .nav-accesses summary { padding-inline: 16px; }
.site-header .nav-dropdown { background: #fcf6eee6; backdrop-filter: blur(12px); }
.site-header .mobile-menu-toggle { background: #fcf6eea6; color: #713641; border-color: #a54b5559; }
.hero-film .hero-copy { max-width: 1000px; margin-inline: auto; padding-top: 52px; text-align: center; animation: none; }
.hero-film .hero-copy h1 { font-size: clamp(36px, 3.9vw, 54px); line-height: 1.18; }
.hero-film .hero-copy h1 br { display: initial; }
.hero-film .hero-copy h1 em::before { content: ' '; }
.hero-film .hero-copy > p:not(.eyebrow):not(.hero-signoff) { max-width: 650px; margin-inline: auto; }
.hero-film .hero-actions { justify-content: center; }
.hero-film .hero-signoff { justify-content: center; }
.examples-grid.has-phone-previews { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; max-width: 680px; gap: 70px; }
.example-card.phone-preview-card { overflow: visible; }
.phone-preview-card .example-cover { display: block; min-height: 0; aspect-ratio: 2160 / 4608; max-width: 280px; margin-inline: auto; padding: 0; border: 0; outline: 0; border-radius: 0; background: transparent !important; box-shadow: none; overflow: visible; }
.phone-preview-card .example-cover::before, .phone-preview-card .example-cover::after { display: none; }
.phone-preview-card .example-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.phone-preview-card .example-button { max-width: 280px; margin: 18px auto 0; border: 1px solid #c9757b55; border-radius: 40px; background: transparent; color: var(--coral-dark); font-size: 12px; }
.phone-preview-card .example-button:hover { background: #fcf6eed9; }
.examples-grid.has-phone-previews > .example-card:not(.phone-preview-card) { display: none; }
.design-dialog { width: min(680px, calc(100% - 32px)); padding: 30px 24px 24px; border: 1px solid #c9757b40; border-radius: 18px; background: var(--crema); }
.design-dialog h2 { margin: 6px 32px 18px; font-size: 25px; text-align: center; }
.design-dialog-image { display: block; width: auto; max-width: 100%; height: min(62vh, 740px); object-fit: contain; margin-inline: auto; }
.design-dialog p { margin: 15px 0 0; text-align: center; font-size: 12px; line-height: 1.7; }
.design-close { position: absolute; right: 10px; top: 6px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--coral-dark); font-size: 30px; }
@media (max-width: 767px) {
  .hero.hero-film { padding-bottom: 42px; border-radius: 0 0 24px 24px; }
  .hero-film-player { width: 100%; aspect-ratio: 9 / 16; }
  .hero-social { right: 12px; bottom: 12px; }
  .hero-film .hero-copy { padding-top: 35px; }
  .hero-film .hero-copy h1 { font-size: clamp(31px, 8vw, 43px); line-height: 1.23; }
  .hero-film .hero-copy h1 br { display: inline; }
  .hero-film .hero-copy > p:not(.eyebrow):not(.hero-signoff) { line-height: 1.85; }
  .examples-grid.has-phone-previews { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; width: 100%; max-width: 580px; }
  .phone-preview-card .example-button { min-height: 48px; margin-top: 12px; padding: 12px 8px; font-size: 11px; }
  .examples-grid.has-phone-previews > .example-card:not(.phone-preview-card) { grid-column: 1 / -1; width: min(100%, 340px); margin-inline: auto; }
  .design-dialog { padding: 28px 15px 20px; }
  .design-dialog h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .hero-film-player video { transition: none; } }
@media (max-width: 900px) {
  .site-header .main-nav { background: #fcf6eed9; backdrop-filter: blur(14px); pointer-events: auto; }
  .site-header .nav-primary { display: block; }
  .site-header .nav-link, .site-header .nav-group summary { border: 0; border-radius: 9px; background: transparent; padding-inline: 12px; }
  .site-header .nav-dropdown { background: #fcf6ee80; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-social a { transition: none; translate: none; } }
@media print { .hero-film-player video, .hero-social { display: none; } .hero-film-poster { position: static; } .site-header { position: static; } }
