
/* ═══ RESET & BASE ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ntl-dark: #294E99;
  --ntl-light: #5489CF;
  --ntl-deeper: #19326E;
  --ntl-accent: #5489CF;

  --bg: #0a0a0a;
  --bg-alt: #141416;
  --bg-card: #1a1a1e;
  --bg-hover: #22222a;
  --text: #f2f2f5;
  --text-soft: #b8bcc4;
  --text-mute: #7a7f8a;
  --border: #26262c;
  --border-strong: #38383f;

  --f-title: 'Montserrat', -apple-system, sans-serif;
  --f-body: 'Open Sans', -apple-system, sans-serif;

  --shadow-lg: 0 20px 60px rgba(0,0,0,0.6);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--f-title); font-weight: 700; letter-spacing: -0.02em; }
a { color: var(--ntl-light); text-decoration: none; }
a:hover { color: var(--text); }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ═══ HEADER ═══ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.logo { height: 36px; width: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--f-title); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; color: var(--text); }
.brand-sub { font-size: 11px; color: var(--text-mute); letter-spacing: 0.05em; text-transform: uppercase; }
.nav { display: flex; gap: 32px; }
.nav a { color: var(--text-soft); font-weight: 500; font-size: 14px; letter-spacing: 0.02em; transition: color 0.2s; }
.nav a:hover { color: var(--ntl-light); }

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: #0a0a0a;
  opacity: 0.35;
}
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, var(--ntl-deeper) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, var(--ntl-dark) 0%, transparent 55%);
  opacity: 0.85;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.85) 60%, var(--bg) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1400px; margin: 0 auto;
  padding: 120px 32px 100px;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--f-title); font-weight: 600;
  font-size: 13px; letter-spacing: 0.24em;
  color: var(--ntl-light);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(48px, 8vw, 108px);
  line-height: 1;
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -0.04em;
}
.hero-title .accent { color: var(--ntl-light); }
.hero-lead {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--text-soft);
  max-width: 720px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex; gap: 48px; flex-wrap: wrap;
  margin-bottom: 44px;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--f-title); font-weight: 800; font-size: 40px; color: var(--text); line-height: 1; }
.stat-label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute); margin-top: 8px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 4px;
  font-family: var(--f-title);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  text-align: center;
}
.btn-primary { background: var(--ntl-dark); color: white; }
.btn-primary:hover { background: var(--ntl-light); color: white; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(84,137,207,0.35); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--ntl-light); color: var(--ntl-light); }
.btn-big { padding: 20px 56px; font-size: 15px; }

/* ═══ SECCIONES ═══ */
section { padding: 100px 0; }
.section-head { text-align: center; margin-bottom: 64px; }
.eyebrow {
  font-family: var(--f-title); font-weight: 600;
  font-size: 12px; letter-spacing: 0.24em;
  color: var(--ntl-light);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-bottom: 20px;
}
.section-lead {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 auto;
}
.section-lead strong { color: var(--text); }

/* ═══ DERECHOS ═══ */
.derechos { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.derechos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.derecho-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.derecho-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--ntl-dark);
}
.derecho-card:hover { border-color: var(--ntl-light); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.derecho-icon { font-size: 48px; margin-bottom: 20px; opacity: 0.9; }
.derecho-tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--ntl-deeper);
  color: var(--ntl-light);
  border-radius: 4px;
  font-family: var(--f-title);
  font-weight: 600; font-size: 11px;
  letter-spacing: 0.16em;
  margin-bottom: 20px;
}
.derecho-card h3 { font-size: 28px; margin-bottom: 20px; }
.derecho-card ul { list-style: none; padding: 0; margin-bottom: 32px; }
.derecho-card li {
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  position: relative;
  font-size: 15px;
}
.derecho-card li::before {
  content: "▸";
  position: absolute; left: 4px;
  color: var(--ntl-light);
  font-weight: bold;
}
.derecho-card li:last-child { border-bottom: none; }
.derecho-cta {
  display: inline-block;
  color: var(--ntl-light);
  font-family: var(--f-title);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 12px 0;
  border-bottom: 2px solid var(--ntl-light);
  transition: all 0.2s;
}
.derecho-cta:hover { color: var(--text); border-color: var(--text); padding-left: 8px; }

/* ═══ CATÁLOGO ═══ */
.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: 1fr; }
}

.filters {
  position: sticky; top: 90px;
  align-self: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.filter-block { margin-bottom: 24px; }
.filter-block:last-child { margin-bottom: 0; }
.filter-label {
  display: block;
  font-family: var(--f-title);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 12px;
}
.input, .input-mini {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--f-body);
  font-size: 14px;
  transition: border-color 0.2s;
}
.input-mini { width: auto; padding: 8px 12px; font-size: 13px; }
.input:focus { outline: none; border-color: var(--ntl-light); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips.scroll { max-height: 160px; overflow-y: auto; padding-right: 4px; }
.chips.scroll::-webkit-scrollbar { width: 4px; }
.chips.scroll::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }
.chip {
  padding: 6px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--ntl-light); color: var(--text); }
.chip.active { background: var(--ntl-dark); border-color: var(--ntl-dark); color: white; }
.range { width: 100%; }
.range-val { font-family: var(--f-title); font-weight: 600; color: var(--ntl-light); font-size: 13px; margin-top: 6px; }
.btn-reset {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-soft);
  font-family: var(--f-body);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 16px;
}
.btn-reset:hover { border-color: var(--ntl-light); color: var(--text); }

.grid-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.results-count {
  font-family: var(--f-title);
  font-weight: 600;
  color: var(--text-soft);
}
.sort { display: flex; align-items: center; gap: 10px; }
.sort label { color: var(--text-mute); font-size: 13px; letter-spacing: 0.04em; }

.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}
@media (max-width: 600px) {
  .poster-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
}
.poster-card {
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.poster-card:hover { transform: translateY(-4px); }
.poster-thumb {
  aspect-ratio: 2/3;
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
  position: relative;
}
.poster-card:hover .poster-thumb { border-color: var(--ntl-light); box-shadow: var(--shadow-md); }
.poster-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.poster-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--ntl-deeper) 100%);
  color: var(--ntl-light);
  font-family: var(--f-title);
  font-weight: 700;
  text-align: center;
  padding: 20px;
  font-size: 13px;
  line-height: 1.3;
}
.poster-badges {
  position: absolute; top: 8px; left: 8px; right: 8px;
  display: flex; justify-content: space-between; gap: 6px;
  pointer-events: none;
}
.badge {
  padding: 3px 7px;
  background: rgba(10,10,10,0.9);
  color: var(--ntl-light);
  border-radius: 3px;
  font-family: var(--f-title);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
}
.badge.tv { background: var(--ntl-dark); color: white; }
.poster-meta {
  padding: 12px 4px 0;
}
.poster-title {
  font-family: var(--f-title);
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.poster-info {
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.06em;
}

#load-more-wrap { text-align: center; margin-top: 40px; }
#load-more-wrap.hidden { display: none; }

/* ═══ MODAL ═══ */
.modal {
  position: fixed; inset: 0;
  z-index: 200;
  display: none;
}
.modal.open { display: block; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
}
.modal-content {
  position: relative;
  max-width: 960px;
  margin: 40px auto;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: rgba(10,10,10,0.7);
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 3;
  transition: all 0.2s;
}
.modal-close:hover { background: var(--ntl-dark); border-color: var(--ntl-dark); }

.film-hero {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 32px;
  background: linear-gradient(135deg, var(--ntl-deeper) 0%, var(--bg-card) 100%);
}
@media (max-width: 600px) { .film-hero { grid-template-columns: 1fr; padding: 24px; } }

.film-poster {
  aspect-ratio: 2/3;
  background: var(--bg-alt);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.film-poster img { width: 100%; height: 100%; object-fit: cover; }

.film-details h3 { font-size: 32px; margin-bottom: 8px; line-height: 1.1; }
.film-meta {
  color: var(--text-mute);
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.film-meta span { margin-right: 16px; }
.film-badges { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.film-badge {
  padding: 5px 12px;
  background: var(--ntl-dark);
  color: white;
  border-radius: 4px;
  font-family: var(--f-title);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.film-badge.imdb { background: #f5c518; color: #111; }
.film-badge.status { background: var(--ntl-deeper); color: var(--ntl-light); }
.film-synopsis {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
}

.film-body { padding: 32px; }
.film-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 600px) { .film-body-grid { grid-template-columns: 1fr; } }
.film-field h5 {
  font-family: var(--f-title);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.film-field p { color: var(--text); font-size: 15px; }

.film-cta {
  padding: 24px 32px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.film-cta-txt { color: var(--text-soft); font-size: 14px; }

.seasons-list {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-top: 20px;
}
.seasons-list h5 {
  font-family: var(--f-title);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 12px;
}
.seasons-list ul { list-style: none; padding: 0; }
.seasons-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between;
  font-size: 14px;
}
.seasons-list li:last-child { border-bottom: none; }

/* ═══ FORM COTIZAR ═══ */
.cotizar { background: var(--bg-alt); border-top: 1px solid var(--border); }
.quote-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.quote-form label {
  display: block;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}
.quote-form label > input,
.quote-form label > select,
.quote-form label > textarea {
  margin-top: 8px;
}
.form-actions { margin-top: 32px; text-align: center; }
.form-note { color: var(--text-mute); font-size: 13px; margin-top: 20px; }
.form-note a { color: var(--ntl-light); }

/* ═══ FOOTER ═══ */
.site-footer { background: #050505; border-top: 1px solid var(--border); padding: 60px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.logo-footer { height: 40px; margin-bottom: 16px; }
.site-footer p { color: var(--text-mute); font-size: 13px; margin-bottom: 8px; }
.site-footer h4 {
  font-family: var(--f-title);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-bottom p { font-size: 11px; color: var(--text-mute); }

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 0%, var(--bg-hover) 50%, var(--bg-card) 100%);
  background-size: 200% 100%;
  animation: shine 1.5s infinite;
}
@keyframes shine { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
