/* IUS Universidad | Blade Runner | Actualización con logotipo oficial
   Mobile first y sin dependencias externas. */
:root {
  --navy: #15213a;
  --deep: #10192b;
  --ink: #23314c;
  --gold: #d2b077;
  --pale: #f5f6f8;
  --shadow: 0 18px 55px rgba(10,23,42,.10);
}
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; font-size: 16px; line-height: 1.55; }
:focus-visible { outline: 3px solid #cfac73; outline-offset: 3px; }
.container { width: min(1220px, calc(100% - 56px)); }
.site-header, .site-header .header-inner {
  min-height: 100px;
  height: auto;
}
.site-header {
  background: #111a2d;
  border-bottom: 1px solid rgba(225,196,144,.25);
}
.site-header .header-inner { padding-block: 12px; }
.brand { min-height: 0; flex: 0 1 auto; }
.brand-logo { width: clamp(234px, 26vw, 321px); max-width: 100%; max-height: none; height: auto; object-fit: contain; }
.site-header .header-spot { color: #efeadf; font-size: 13px; }
.site-header .nav-pill,
.site-header .nav-link { background: transparent; color: #f6f2e9; border-color: rgba(227,208,174,.39); font-size: 13px; }
.site-header .nav-pill:hover,
.site-header .nav-link:hover { background: rgba(255,255,255,.09); }
.site-footer { background: #111a2d; border-top: 1px solid #28354b; }
.site-footer p, .site-footer a { color: #f0e9dc; font-size: 12px; line-height: 1.7; }
.site-footer a:hover { text-decoration: underline; }

/* Portada: atmósfera cinematográfica + formulario claro y acogedor. */
.cinema-hero { background: linear-gradient(90deg,#10192b 0%,#10192b 49%,#f5f6f8 49%,#f5f6f8 100%); }
.cinema-grid { gap: clamp(34px,5vw,76px); grid-template-columns: minmax(0,1fr) minmax(0,1.08fr); }
.cinema-info { padding-top: 50px; }
.mobile-movie-title { display: none; }
.cinema-tag { font-size: 11px; letter-spacing: .11em; margin-bottom: 22px; }
.movie-poster { border-radius: 11px; box-shadow: 0 22px 60px rgba(0,0,0,.2); }
.poster-title { font-size: clamp(48px,4vw,68px); }
.cinema-info h1 { font-size: clamp(39px,3.9vw,52px); margin-top: 32px; }
.cinema-description { font-size: 16px; line-height: 1.7; color: #e0e4ed; }
.event-details { margin-top: 26px; gap: 17px; }
.event-detail>div>span { color: #d9bc88; font-size: 11px; }
.event-detail strong { color: white; font-size: 15px; line-height: 1.4; }
.directions-link { color: #f2d7a7; font-size: 14px; margin-top: 20px; min-height: 42px; align-items: center; }
.form-column { padding-top: 38px; }
.booking-card { border: 1px solid #e2e7ef; border-top: 5px solid #d6b378; padding: 38px; border-radius: 16px; box-shadow: var(--shadow); }
.form-kicker { color: #80603c; letter-spacing: .09em; font-size: 12px; }
.form-header { margin-bottom: 26px; }
.form-header h2 { font-size: clamp(30px,2.75vw,38px); line-height: 1.13; letter-spacing: -.035em; margin: 10px 0 10px; }
.form-header p { color: #536379; font-size: 15px; line-height: 1.65; }
.form-section-title { font-size: 15px; letter-spacing: 0; gap: 12px; }
.form-section-title span { font-size: 12px; min-width: 31px; min-height: 31px; display: inline-grid; place-items: center; border-radius: 8px; padding: 4px; }
.booking-card .fields { gap: 18px; margin-top: 16px; }
.booking-card .field label, .field label { color: #263751; font-size: 15px; font-weight: 700; line-height: 1.45; }
.booking-card input:not([type=radio]):not([type=checkbox]),
.booking-card select, .booking-card textarea,
.field input, .field select, .field textarea,
.filter-bar input,.filter-bar select,.manage-form select,.manage-form textarea {
  min-height: 51px; padding: 12px 14px; background-color: #fff; color: #1b2a42;
  border: 1px solid #b8c4d3; border-radius: 10px; font-size: 16px; line-height: 1.35;
}
.booking-card input::placeholder, .booking-card textarea::placeholder { color: #66778a; }
.booking-card input:focus, .booking-card select:focus, .booking-card textarea:focus {
  border-color: #9c7845; outline: 3px solid rgba(199,155,91,.2); outline-offset: 0;
  box-shadow: none;
}
.booking-card textarea { min-height: 90px; }
.transport-field { margin-top: 20px; }
.transport-field legend { color: #263751; font-size: 16px; font-weight: 750; line-height: 1.45; }
.car-help { font-size: 14px; line-height: 1.65; color: #516176; margin: 9px 0 14px; }
.transport-options { gap: 12px; }
.transport-copy { min-height: 94px; padding: 14px; border: 1.5px solid #c4cdd8; border-radius: 11px; background: #fff; justify-content: center; }
.transport-icon { font-size: 24px; }
.transport-copy strong { font-size: 14px; line-height: 1.35; }
.transport-choice input:checked+.transport-copy { border-color: #99713c; color: #43311b; background: #fff7e9; box-shadow: 0 0 0 1px #99713c inset; }
.car-note { color: #55667a; font-size: 12px; line-height: 1.5; }
.fixed-info { padding: 15px; background: #f5f7fa; border-color: #dbe2e9; border-radius: 10px; }
.fixed-info strong { font-size: 14px; }
.fixed-info p { font-size: 13px; color: #55677c; }
.privacy-section { margin-top: 20px; padding: 16px 0 0; background: none; border: 0; border-top: 1px solid #e0e5ec; }
.checkbox-line { font-size: 14px; color: #34465e; align-items: flex-start; line-height: 1.55; }
.checkbox-line input { width: 21px; height: 21px; margin-top: 1px; }
.booking-card .submit-btn, .submit-btn {
  min-height: 57px; font-size: 16px; font-weight: 750; border-radius: 11px;
  background: #1a3659; padding: 15px 19px; white-space: normal;
}
.booking-card .submit-btn:hover, .submit-btn:hover { background: #244a78; }
.form-disclaimer { font-size: 13px; color: #526276; line-height: 1.55; }
.under-form { color: #516278; font-size: 14px; }
.alert { font-size: 15px; border-radius: 10px; }

/* La constancia también muestra el logotipo blanco sobre fondo oscuro. */
.receipt-zone { padding: 60px 0 85px; }
.receipt-wrap h1 { font-size: clamp(32px,4.2vw,47px); }
.receipt-intro { font-size: 16px; }
.receipt-card { overflow: hidden; border-radius: 13px; padding: 0 30px 30px; }
.receipt-top { background: #121c30; margin-inline: -30px; padding: 20px 30px; border-bottom: 0; }
.receipt-logo { display: block; width: clamp(170px,31vw,255px); height: auto; }
.receipt-label { font-size: 12px; }
.receipt-folio { font-size: clamp(22px,3.2vw,33px); overflow-wrap: anywhere; }
.receipt-data span { font-size: 12px; }
.receipt-data strong { font-size: 15px; }
.receipt-address { font-size: 13px; }

/* Legibilidad también en administración e instalador. */
.login-card,.install-card { border-radius: 14px; }
.login-card .field label,.install-card .field label { font-size: 14px; }
.login-card .muted,.install-card .muted { font-size: 14px; }
.dashboard-top h1 { font-size: clamp(30px,4vw,45px); }
.dashboard-top p:last-child { font-size: 15px; }
.stat-card { border-radius: 11px; }
.stat-card span { font-size: 12px; }
.stat-card small { font-size: 13px; }
.filter-bar input,.filter-bar select { font-size: 15px; }
.visits-table th { font-size: 11px; }
.visits-table td { font-size: 13px; }

@media (max-width: 1050px) {
  .cinema-grid { gap: 30px; }
  .booking-card { padding: 29px; }
}
@media (max-width: 820px) {
  .container { width: calc(100% - 40px); }
  .site-header .header-inner { min-height: 89px; }
  .brand-logo { width: 269px; }
  .cinema-hero { background: #f5f6f8; }
  .cinema-hero:before { display: none; }
  .cinema-grid { grid-template-columns: 1fr; gap: 0; }
  .cinema-info {
    max-width: none;
    background: #10192b;
    padding: 32px 0 38px;
    position: relative;
    z-index: 0;
  }
  .cinema-info::before {
    content: ""; position: absolute; z-index: -1;
    background: linear-gradient(130deg,#121d33,#0c1424);
    inset: 0 -20px;
  }
  .movie-poster { max-width: 540px; height: 220px; }
  .poster-title { font-size: 57px; }
  .cinema-info h1 { font-size: 38px; }
  .form-column { padding: 24px 0 42px; }
  .booking-card { max-width: 690px; margin: 0 auto; }
  .event-details { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .site-header .header-inner { min-height: 76px; padding-block: 9px; }
  .site-header--public .header-actions { display: none; }
  .site-header--admin .header-actions { gap: 5px; }
  .site-header--admin .header-actions .nav-link { display: none; }
  .brand-logo { width: min(257px,76vw); }
  .site-header--admin .brand-logo { width: min(218px,60vw); }
  .site-header--admin .nav-pill { font-size: 12px; padding: 9px 10px; }
  .cinema-info { padding: 23px 0 27px; }
  .cinema-info::before { inset-inline: -16px; }
  .cinema-tag { font-size: 11px; margin: 0 0 12px; letter-spacing: .055em; }
  .mobile-movie-title {
    display: block; margin: 0 0 8px; color: #f5e5c7;
    font: 700 clamp(29px,8vw,39px)/1.04 Georgia,"Times New Roman",serif;
    letter-spacing: -.025em;
  }
  .mobile-movie-title span { color: #dfa570; }
  .movie-poster { display: none; }
  .cinema-info h1 { font-size: clamp(24px,7vw,31px); margin: 0 0 11px; line-height: 1.18; }
  .cinema-info h1 em { display: inline; }
  .cinema-description { font-size: 15px; line-height: 1.55; margin-bottom: 14px; }
  .event-details { grid-template-columns: 1fr; margin-top: 13px; padding-top: 15px; gap: 11px; }
  .event-detail { gap: 12px; }
  .detail-icon { width: 36px; height: 36px; font-size: 19px; border-radius: 9px; }
  .event-detail>div>span { font-size: 10px; margin-bottom: 1px; }
  .event-detail strong { font-size: 13px; }
  .directions-link { margin-top: 9px; min-height: 34px; font-size: 13px; }
  .form-column { padding-top: 16px; padding-bottom: 30px; }
  .booking-card { padding: 24px 19px 23px; border-radius: 14px; }
  .form-header { margin-bottom: 23px; }
  .form-header h2 { font-size: 30px; }
  .form-header p { font-size: 15px; }
  .booking-card .fields { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .booking-card .field-full { grid-column: 1; }
  .booking-card .field label { font-size: 15px; }
  .booking-card input:not([type=radio]):not([type=checkbox]),
  .booking-card select,.booking-card textarea { font-size: 16px; min-height: 53px; }
  .transport-options { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .transport-copy { min-height: 60px; padding: 12px 15px; flex-direction: row; align-items: center; justify-content: flex-start; }
  .transport-copy strong { font-size: 15px; }
  .transport-icon { font-size: 24px; }
  .car-help { font-size: 14px; }
  .car-note { font-size: 12px; }
  .fixed-info { margin-top: 18px; }
  .booking-card .submit-btn { margin-top: 16px; min-height: 58px; font-size: 16px; }
  .form-disclaimer { font-size: 12px; }
  .under-form { font-size: 14px; }
  .footer-inner { display: block; padding-block: 20px; }
  .footer-links { flex-wrap: wrap; margin-top: 12px; }
  .footer-links a,.site-footer p { font-size: 12px; }
  .receipt-zone { padding: 30px 0 60px; }
  .receipt-card { padding: 0 18px 22px; }
  .receipt-top { padding: 17px 18px; margin-inline: -18px; flex-wrap: wrap; }
  .receipt-logo { width: min(230px,73vw); }
  .receipt-data { grid-template-columns: 1fr; gap: 14px; }
  .receipt-event { flex-direction: column; align-items: flex-start; }
  .receipt-folio { font-size: 23px; }
  .receipt-actions { flex-direction: column; gap: 10px; }
  .receipt-actions .btn { width: 100%; }
  .login-card,.install-card { padding: 25px 19px; }
  .dashboard-top h1 { font-size: 30px; }
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stat-card { padding: 17px 12px; }
  .stat-card strong { font-size: 28px; }
  .filter-bar { padding-inline: 15px; }
  .filter-select,.filter-search { width: 100%; min-width: 0; }
}
@media (max-width: 355px) {
  .brand-logo { width: 222px; }
  .booking-card { padding-inline: 15px; }
  .cinema-info h1 { font-size: 24px; }
  .transport-copy strong { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .receipt-top { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .receipt-top img { max-width: 240px; }
}
