: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; }

.top {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.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 {
  display: flex;
  gap: 18px;
  margin-left: auto;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
}
.nav a:hover, .nav a.is-active { color: var(--text); }

.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-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;
}

@media (max-width: 860px) {
  .nav { display: none; }
  .pricing, .features, .foot-grid, .form-grid { grid-template-columns: 1fr; }
  .hero-bleed { min-height: 78vh; }
  .promo-partner-link { min-height: 320px; }
  .promo-partner-media { background-position: center center; }
  .promo-partner-shade {
    background: linear-gradient(180deg, rgba(7, 16, 22, .88) 10%, rgba(7, 16, 22, .72) 100%);
  }
  .section-shots .shot,
  .section-shots .shot-rev {
    grid-template-columns: 1fr;
  }
  .section-shots .shot-rev img,
  .section-shots .shot-rev div { order: initial; }
}
