/* ==========================================================================
   D47Studios Productions — Hoja de estilos
   ========================================================================== */

/* 1. Tipografía
   -------------------------------------------------------------------------- */
@font-face { font-family: "Jost"; font-weight: 200; font-display: swap; src: url("../fonts/jost-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 300; font-display: swap; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }

/* 2. Variables
   -------------------------------------------------------------------------- */
:root {
  --bg: #0B0B0C;
  --surface: #121212;
  --ink: #EEEBE5;
  --soft: #C9C5BE;
  --muted: #A6A29B;
  --dim: #7A7670;
  --line: #2B2A28;
  --line-strong: #3A3936;
  --border-btn: #4A4844;
  --red: #E5322D;
  --red-text: #F0473D;
  --red-hover: #C9221E;
  --white: #FFFFFF;

  --font: "Jost", sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --header-offset: 76px;
}

/* 3. Base
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red-text); }

.accent { color: var(--red); }

/* 4. Layout
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--header-offset);
}
section:focus { outline: none; }
.section > .container { padding-top: 112px; padding-bottom: 112px; }

.section-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 32px;
  align-items: end;
}

.section-title {
  margin-top: 14px;
  font-weight: 200;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
}

/* 5. Tipografía de apoyo
   -------------------------------------------------------------------------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.eyebrow--accent { color: var(--red-text); font-weight: 500; }
.eyebrow--sm { font-size: 11px; }

.num {
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--red-text);
  font-weight: 500;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--soft);
  font-weight: 300;
}

.note {
  margin-top: 18px;
  max-width: 820px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.subhead { margin-top: 88px; }
.subhead--sm { margin-top: 72px; }

/* 6. Botones
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
}
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-hover); color: var(--white); }
.btn--outline { border: 1px solid var(--border-btn); color: var(--ink); }
.btn--outline:hover { border-color: var(--red-text); color: var(--red-text); }

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* 7. Listas con filas
   -------------------------------------------------------------------------- */
.list li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 400;
  color: var(--soft);
  line-height: 1.4;
}
.list .is-muted,
.list--muted li { color: var(--muted); }
.list--spaced { margin-top: 14px; }

.list--split li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.list__value { color: var(--ink); }

/* 8. Encabezado
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 12, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-nav__links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav__link {
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--soft);
}

.logo { height: 40px; }
.logo--sm { height: 30px; }

/* 9. Portada
   -------------------------------------------------------------------------- */
.hero .container { padding-top: 96px; padding-bottom: 72px; }

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 64px;
  align-items: center;
}

.hero__eyebrow { margin-bottom: 28px; }

.hero__title {
  font-weight: 200;
  font-size: clamp(56px, 9vw, 104px);
  line-height: 1;
  letter-spacing: .005em;
}

.hero__rule,
.rule {
  width: 80px;
  height: 2px;
  margin: 40px 0 24px;
  background: var(--red);
}

.hero__lead { max-width: 460px; }

/* Monitor de cámara (gráfico decorativo) */
.monitor {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 520px;
  justify-self: center;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.monitor > * { position: absolute; }

.monitor__line { background: var(--line); }
.monitor__line--v1, .monitor__line--v2 { top: 0; bottom: 0; width: 1px; }
.monitor__line--h1, .monitor__line--h2 { left: 0; right: 0; height: 1px; }
.monitor__line--v1 { left: 33.33%; }
.monitor__line--v2 { left: 66.66%; }
.monitor__line--h1 { top: 33.33%; }
.monitor__line--h2 { top: 66.66%; }

.monitor__corner { width: 26px; height: 26px; border: 0 solid var(--ink); }
.monitor__corner--tl { top: 16px; left: 16px; border-top-width: 2px; border-left-width: 2px; }
.monitor__corner--tr { top: 16px; right: 16px; border-top-width: 2px; border-right-width: 2px; }
.monitor__corner--bl { bottom: 16px; left: 16px; border-bottom-width: 2px; border-left-width: 2px; }
.monitor__corner--br { bottom: 16px; right: 16px; border-bottom-width: 2px; border-right-width: 2px; }

.monitor__focus {
  left: 50%;
  top: 50%;
  width: 130px;
  height: 130px;
  margin: -65px 0 0 -65px;
  border: 1px solid var(--red);
}

.monitor__cross { left: 50%; top: 50%; background: var(--ink); }
.monitor__cross--h { width: 28px; height: 2px; margin: -1px 0 0 -14px; }
.monitor__cross--v { width: 2px; height: 28px; margin: -14px 0 0 -1px; }

.monitor__osd { font-size: 11px; letter-spacing: .24em; color: var(--soft); }
.monitor__osd--tl { top: 52px; left: 52px; display: flex; align-items: center; gap: 8px; }
.monitor__osd--tr { top: 52px; right: 52px; }
.monitor__osd--br { bottom: 52px; right: 52px; }

.rec-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.meters {
  bottom: 52px;
  left: 52px;
  height: 90px;
  display: flex;
  gap: 5px;
  align-items: flex-end;
}
.meters span { width: 6px; background: var(--soft); }
.meters span:nth-child(1) { height: 34%; }
.meters span:nth-child(2) { height: 52%; }
.meters span:nth-child(3) { height: 71%; }
.meters span:nth-child(4) { height: 88%; background: var(--red); }
.meters span:nth-child(5) { height: 60%; }
.meters span:nth-child(6) { height: 42%; }

/* Índice de servicios */
.index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 24px;
  margin-top: 96px;
}
.index__item {
  display: block;
  border-top: 1px solid var(--line-strong);
  padding-top: 16px;
}
.index__name { margin: 10px 0 4px; font-size: 20px; font-weight: 400; }
.index__price { font-size: 16px; color: var(--soft); font-weight: 300; }

/* 10. Podcast
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats__item { padding: 20px 0; }
.stats__value { margin-top: 8px; font-weight: 200; font-size: 48px; line-height: 1; }
.stats__label { margin-top: 10px; }

.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 40px;
  margin-top: 64px;
}
.packages--two {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px;
}

.package__flag { height: 16px; }
.package__name {
  margin-top: 10px;
  font-size: 15px;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 500;
}
.package__desc {
  margin-top: 10px;
  min-height: 48px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}
.package__price { margin-top: 22px; font-weight: 200; font-size: 60px; line-height: 1; }
.package__price-prefix { font-size: 32px; }
.package__unit { margin: 10px 0 22px; }

.aside { margin-top: 48px; font-size: 17px; color: var(--soft); font-weight: 300; }
.aside strong { color: var(--ink); font-weight: 500; }

/* Pasos */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 32px;
  margin-top: 64px;
}
.steps--tight { margin-top: 20px; }
.step { border-top: 1px solid var(--line); padding-top: 18px; }
.step__num { font-weight: 200; font-size: 34px; line-height: 1; color: var(--red); }
.step__title {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}
.step__text { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--muted); }

/* 11. Podcast en tu boda
   -------------------------------------------------------------------------- */
.feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 64px;
}
.feature__badge { margin-top: 22px; }
.badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--red);
  border-radius: 999px;
  color: var(--red-text);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 500;
}
.feature__title {
  margin-top: 22px;
  font-weight: 200;
  font-size: clamp(52px, 7vw, 88px);
  line-height: .98;
}
.feature__price { margin-top: 40px; font-weight: 200; font-size: 64px; line-height: 1; }
.feature__unit { margin-top: 10px; }
.feature__body { padding-top: 8px; }
.feature__note { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.feature__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  column-gap: 28px;
  margin-top: 28px;
}

.quote {
  margin-top: 88px;
  font-weight: 200;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
}

/* 12. Programas y eventos
   -------------------------------------------------------------------------- */
.table-wrap { margin-top: 56px; overflow-x: auto; }

.rates { width: 100%; min-width: 560px; border-collapse: collapse; }
.rates th { padding: 0 0 12px; text-align: left; }
.rates td {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--soft);
}
.rates .is-right { text-align: right; }
.rates td.rates__name { font-size: 17px; color: var(--ink); }
.rates td.rates__price { font-weight: 200; font-size: 36px; color: var(--ink); }
.rates tr.is-extra td { color: var(--muted); border-bottom: 1px solid var(--line); }

.bar {
  display: inline-block;
  height: 3px;
  margin-right: 14px;
  vertical-align: middle;
  background: var(--red);
}
.bar--2h { width: 40px; }
.bar--4h { width: 80px; }
.bar--6h { width: 120px; }
.bar--1h { width: 20px; background: var(--dim); }

/* Comparativa de servicios */
.options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 32px;
  margin-top: 20px;
}
.option { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.option__title { font-weight: 300; font-size: 26px; }
.option__text { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--soft); }
.option__link { display: inline-block; margin-top: 14px; }
.option__label { margin-top: 14px; }

/* 13. Música en vivo
   -------------------------------------------------------------------------- */
.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px;
  margin-top: 72px;
}
.columns + .note { margin-top: 22px; }

/* Proyectos a la medida */
.custom {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 96px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.custom__main { flex: 999 1 520px; min-width: 0; }
.custom__title { margin-top: 12px; font-weight: 300; font-size: 30px; }
.custom__tags { margin-top: 14px; line-height: 2; }
.custom__tags .sep { color: var(--red-text); }
.custom__cta { flex: 1 1 220px; }
.custom__quote { font-weight: 300; font-size: 26px; }
.custom__link { display: inline-block; margin-top: 12px; }

/* 14. Condiciones
   -------------------------------------------------------------------------- */
.section-head__action { margin-top: 22px; }

.terms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 48px;
  margin-top: 64px;
}
.terms__note { margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--muted); }

.terms-general {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  column-gap: 48px;
  margin-top: 14px;
}

/* 15. Contacto
   -------------------------------------------------------------------------- */
.contact > .container { padding-top: 128px; padding-bottom: 112px; }

.contact__title {
  margin-top: 20px;
  font-weight: 200;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1.04;
}
.contact__lead { margin-top: 32px; max-width: 520px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 32px;
  margin-top: 80px;
}
.contact-item { border-top: 1px solid var(--red); padding-top: 16px; }
.contact-item__value { margin-top: 12px; font-size: 22px; font-weight: 300; }
.contact-item__note { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* 16. Pie de página
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
}
.site-footer__text { color: var(--dim); }

/* 17. Botón flotante de WhatsApp
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}
.wa-float svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 18. Páginas de error (403 y 404)
   -------------------------------------------------------------------------- */
.page-error {
  display: flex;
  flex-direction: column;
}

.error {
  flex: 1;
  display: flex;
  align-items: center;
}
.error > .container {
  width: 100%;
  box-sizing: border-box;
  padding-top: 96px;
  padding-bottom: 96px;
}

.error__code {
  margin-top: 20px;
  font-weight: 200;
  font-size: clamp(120px, 22vw, 240px);
  line-height: .9;
  letter-spacing: -.01em;
}

.error__title {
  font-weight: 200;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
}

.error__text { margin-top: 20px; max-width: 520px; }
.error__countdown { margin-top: 28px; }

/* 19. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  .site-nav__links { display: none; }
}
