:root {
  --bg: #071016;
  --bg2: #0c181f;
  --panel: #101e28;
  --line: #243642;
  --text: #e9f1f5;
  --muted: #8aa0ad;
  --teal: #1fb5a8;
  --teal-dim: #147a72;
  --amber: #d4a35c;
  --danger: #e57373;
  --ok: #6bcf9b;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Syne", "Outfit", sans-serif;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100vh;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: .04;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top, main, .foot { position: relative; z-index: 1; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal);
  color: #041416;
  padding: 10px 16px;
  z-index: 10000;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 16, 22, .82);
  border-bottom: 1px solid rgba(36, 54, 66, .65);
}
.site-header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
}

.nav-desktop {
  display: flex;
  gap: 18px;
  margin-left: auto;
  align-items: center;
}
.nav-desktop a {
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav-desktop a:hover,
.nav-desktop a.is-active { color: var(--text); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  flex-shrink: 0;
}

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 12, .62);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 360px);
  height: 100%;
  z-index: 90;
  background: linear-gradient(180deg, #0d1a22 0%, #0a141b 100%);
  border-left: 1px solid var(--line);
  box-shadow: -18px 0 50px rgba(0,0,0,.35);
  transform: translateX(104%);
  transition: transform .32s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
  padding: 18px 18px 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.nav-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
}
.nav-drawer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
}
.nav-close {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-drawer-links a {
  display: block;
  padding: 14px 14px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}
.nav-drawer-links a:hover,
.nav-drawer-links a.is-active {
  background: rgba(31,181,168,.12);
  color: var(--teal);
}
.nav-drawer-langs {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.nav-drawer-langs .lang-switch { margin-left: 0; }
.nav-drawer-cta {
  margin-top: auto;
  padding-top: 22px;
  display: grid;
  gap: 10px;
}
.nav-drawer-cta .btn { width: 100%; }

body.nav-open { overflow: hidden; }

/* legacy alias */
.top { display: none; }
.nav { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  background: var(--teal);
  color: #041416;
  font-weight: 700;
  font-family: inherit;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { background: #27cfc0; transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn.is-active-cta {
  box-shadow: 0 0 0 2px rgba(31, 181, 168, .45);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,.04); }

/* Hero full-bleed con imagen */
.hero-bleed {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroKen 18s ease-in-out infinite alternate;
}
@keyframes heroKen {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,16,22,.92) 0%, rgba(7,16,22,.55) 48%, rgba(7,16,22,.35) 100%),
    linear-gradient(180deg, rgba(7,16,22,.25) 0%, rgba(7,16,22,.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 48px 24px 72px;
}
.hero-logo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  animation: logoIn .8s ease both;
}
@keyframes logoIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.hero-brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  line-height: .95;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  max-width: 12ch;
  text-shadow: 0 8px 40px rgba(0,0,0,.45);
}
.hero-bleed h1 {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 600;
  margin: 0 0 12px;
  max-width: 28ch;
  color: #d5e4ea;
}
.hero-bleed .lead {
  color: #b7c9d3;
  font-size: 1.05rem;
  max-width: 38ch;
  margin: 0 0 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Banner publicidad StreamLayers / overlays.streamingpro.cl */
.promo-partner {
  max-width: none;
  margin: 0;
  padding: 0;
}
.promo-partner-link {
  position: relative;
  display: block;
  min-height: min(42vh, 380px);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  border-block: 1px solid rgba(31, 181, 168, .28);
}
.promo-partner-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
  transition: transform .55s ease;
}
.promo-partner-link:hover .promo-partner-media {
  transform: scale(1.06);
}
.promo-partner-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 16, 22, .94) 0%, rgba(7, 16, 22, .78) 42%, rgba(7, 16, 22, .28) 72%, rgba(7, 16, 22, .45) 100%),
    linear-gradient(0deg, rgba(7, 16, 22, .55), transparent 40%);
}
.promo-partner-copy {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.promo-partner-eyebrow {
  margin: 0;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
}
.promo-partner-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  max-width: 18ch;
  line-height: 1.15;
}
.promo-partner-copy p {
  margin: 0;
  max-width: 42ch;
  color: #c5d5de;
  font-size: 1rem;
}
.promo-partner-link .btn {
  margin-top: 6px;
  pointer-events: none;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 24px;
}
.section h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 10px;
}
.section .sub {
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 48ch;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.plan {
  background: linear-gradient(165deg, #13232e, #0e1a22);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
  display: flex;
  flex-direction: column;
}
.plan:hover { border-color: #355566; transform: translateY(-3px); }
.plan.featured { border-color: rgba(31,181,168,.45); }
.plan-photo {
  height: 160px;
  background-size: cover;
  background-position: center;
}
.plan-body { padding: 24px 28px 28px; }
.plan .tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.plan h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  margin: 0 0 6px;
}
.plan .price {
  font-size: 2rem;
  font-weight: 800;
  margin: 12px 0;
}
.plan .price span { font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.plan li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(36,54,66,.7);
  color: #c5d5de;
  font-size: .95rem;
}
.plan li::before {
  content: "✓ ";
  color: var(--teal);
  font-weight: 700;
}

.section-shots .shot {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 48px;
}
.section-shots .shot-rev {
  grid-template-columns: 1fr 1.2fr;
}
.section-shots .shot-rev img { order: 2; }
.section-shots .shot-rev div { order: 1; }
.section-shots img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.section-shots h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  margin: 0 0 10px;
}
.section-shots p {
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 42ch;
}
.virtues {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 46ch;
}
.virtues li {
  position: relative;
  padding: 7px 0 7px 22px;
  color: #c5d5de;
  font-size: .92rem;
  border-bottom: 1px solid rgba(36,54,66,.55);
}
.virtues li:last-child { border-bottom: 0; }
.virtues li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(31,181,168,.18);
}
.virtues strong { color: var(--text); font-weight: 600; }
.page-banner {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-bottom: -20px;
}
.page-banner .hero-media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-banner .hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,16,22,.2), rgba(7,16,22,.92));
}
.page-banner .inner {
  position: relative; z-index: 2;
  max-width: var(--max); width: 100%; margin: 0 auto;
  padding: 40px 24px 28px;
}
.page-banner h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 8px;
}
.faq-list { max-width: 720px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  margin-bottom: 10px;
  padding: 4px 16px 8px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--display);
  padding: 12px 0;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "+ ";
  color: var(--teal);
  font-weight: 800;
}
.faq-item[open] summary::before { content: "– "; }
.faq-item p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .95rem;
}
.faq-item a { color: var(--teal); }
.page-banner p { margin: 0; color: #b7c9d3; max-width: 42ch; }

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feat {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
}
.feat h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-family: var(--display);
}
.feat p { margin: 0; color: var(--muted); font-size: .92rem; }

.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 28px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block;
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 6px;
}
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0a141b;
  color: var(--text);
  font: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(31,181,168,.35);
  border-color: var(--teal-dim);
}
.alert {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: .92rem;
}
.alert-ok { background: #123028; color: var(--ok); }
.alert-err { background: #2a1518; color: #ffb4b4; }
.alert-info { background: #122230; color: #9ec9e0; }

.bank-box {
  margin-top: 20px;
  padding: 18px;
  border-radius: 12px;
  background: #0a151c;
  border: 1px dashed #355466;
  font-size: .92rem;
}
.bank-box code {
  color: var(--amber);
  font-size: 1.05rem;
}

.foot {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 40px 24px 28px;
  background: var(--bg2);
}
.foot-grid {
  max-width: var(--max);
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
}
.foot strong { display: block; margin-bottom: 8px; font-family: var(--display); }
.foot p { margin: 0; color: var(--muted); font-size: .9rem; }
.foot a { color: var(--teal); }
.foot-copy {
  max-width: var(--max);
  margin: 0 auto;
  color: #5f7380;
  font-size: .8rem;
}

.lang-switch {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-left: 8px;
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
}
.lang-switch a:hover { color: var(--text); border-color: var(--line); }
.lang-switch a.is-active {
  color: #041416;
  background: var(--teal);
  border-color: var(--teal);
}

.intl-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 22px 24px;
}
.intl-box h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.25rem;
}
.intl-box p { margin: 0 0 14px; color: var(--muted); }
.intl-box .intl-note { font-size: .9rem; }
.intl-box--accent {
  border-color: rgba(31, 181, 168, .45);
  background: linear-gradient(145deg, #10262c 0%, #101e28 60%);
}
.buy-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.intl-cta .intl-box {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.req-intro {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 28px auto 0;
}
.req-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 22px 24px 8px;
}
.req-card--opt {
  border-color: rgba(31, 181, 168, .45);
  background: linear-gradient(160deg, #10262c 0%, #101e28 70%);
}
.req-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}
.req-tag--opt {
  color: #041416;
  background: var(--teal);
  border-color: var(--teal);
}
.req-card h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.45rem;
}
.req-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.45;
}
.req-list { margin: 0; }
.req-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.req-row dt {
  margin: 0;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--teal);
}
.req-row dd {
  margin: 0;
  color: var(--text);
  font-size: .95rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .nav-desktop,
  .hide-mobile { display: none !important; }
  .nav-burger { display: inline-flex; }
  .header-tools { margin-left: auto; }
  .brand-name { font-size: .95rem; max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .pricing, .features, .foot-grid, .form-grid, .buy-split, .req-grid { grid-template-columns: 1fr; }
  .req-row { grid-template-columns: 1fr; gap: 4px; }
  .hero-bleed { min-height: min(86vh, 720px); }
  .hero-content { padding: 28px 18px 40px; }
  .hero-content h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .hero-cta { flex-wrap: wrap; }
  .hero-cta .btn { width: 100%; }
  .section { padding-left: 18px; padding-right: 18px; }
  .section h2 { font-size: clamp(1.35rem, 5vw, 1.85rem); }
  .page-banner .inner { padding: 48px 18px 36px; }
  .page-banner h1 { font-size: clamp(1.55rem, 6vw, 2.2rem); }
  .form-card { padding: 20px 16px; margin-left: 0; margin-right: 0; }
  .promo-partner-link { min-height: 300px; }
  .promo-partner-copy { padding: 28px 18px; }
  .promo-partner-media { background-position: center center; }
  .promo-partner-shade {
    background: linear-gradient(180deg, rgba(7, 16, 22, .9) 8%, rgba(7, 16, 22, .72) 100%);
  }
  .section-shots .shot,
  .section-shots .shot-rev {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .section-shots .shot-rev img,
  .section-shots .shot-rev div { order: initial; }
  .foot { padding: 32px 18px 24px; }
  .intl-box { padding: 18px; }
  .lang-switch { margin-left: 0; }
}

@media (max-width: 480px) {
  .site-header-inner { padding: 10px 14px; }
  .plan-body { padding: 18px 16px; }
  .price { font-size: 1.55rem; }
  .faq-item summary { font-size: .98rem; }
}

@media (min-width: 981px) {
  .nav-burger,
  .nav-drawer,
  .nav-overlay { display: none !important; }
}
