/*
Theme Name: Brunner En Frente
Theme URI: https://brunnerenfrente.com
Author: Brunner En Frente
Description: Tema a medida para el sitio del podcast Brunner En Frente. Landing page única con la identidad "expediente de investigación" (editorial + carpeta manila + tablero de corcho).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: brunner-en-frente
*/

/* ==========================================================================
   Brunner En Frente — hoja de estilos única
   Todas las variables de marca viven en :root. Cambiar la identidad visual
   del sitio implica editar solo esta sección.
   ========================================================================== */

:root {
  /* Tipografía */
  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-body: 'Work Sans', 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  /* Color — negro editorial + rojo "expediente" sobre papel claro */
  --color-ink: #141311;
  --color-ink-soft: #3a372f;
  --color-paper: #f6f3ec;
  --color-paper-alt: #edeade;
  --color-red: #b31f1f;
  --color-red-dark: #7a1414;
  --color-red-tint: #f1dbd6;
  --color-gray: #6f6b60;
  --color-line: #dcd7c8;
  --color-white: #ffffff;

  /* Acentos "expediente" — tablero de corcho y carpeta manila */
  --color-cork: #1c1712;
  --color-cork-soft: #2a221a;
  --color-manila: #ecdfc0;
  --color-manila-dark: #d9c99e;
  --color-manila-line: #c6b385;
  --color-manila-ink: #2b2416;
  --color-gold: #c1932f;
  --color-gold-dark: #8a6a1f;

  /* Ritmo */
  --container-w: 1180px;
  --radius: 2px;
  --shadow-card: 0 14px 30px -18px rgba(20, 19, 17, 0.45);
}

/* ---------- Reset base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

/* ---------- Accesibilidad ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-red);
  color: var(--color-white);
  padding: 0.75em 1.25em;
  z-index: 1000;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================================
   Sistema de contenedores — flex puro
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 56px 0;
}

.section--dark {
  background: var(--color-ink);
  color: var(--color-paper);
}

.section--alt {
  background: var(--color-paper-alt);
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.row--tight {
  gap: 20px;
}

.row--center {
  align-items: center;
}

.row--nowrap-desktop {
  flex-wrap: wrap;
}

.col {
  flex: 1 1 0;
  min-width: 0;
}

.col-2 { flex: 1 1 calc(50% - 20px); }
.col-3 { flex: 1 1 calc(33.333% - 27px); }
.col-4 { flex: 1 1 calc(25% - 30px); }

.col-fixed-40 { flex: 1 1 40%; }
.col-fixed-60 { flex: 1 1 60%; }

@media (max-width: 900px) {
  .col-2, .col-3, .col-4, .col-fixed-40, .col-fixed-60 {
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   Elementos comunes
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 14px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--color-red);
  border-radius: 999px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-red);
  flex: none;
}

.section--dark .eyebrow {
  color: #e08a8a;
  border-color: #e08a8a;
}

.section-heading {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  text-transform: uppercase;
  max-width: 16ch;
}

.section-lede {
  font-size: 1.1rem;
  color: var(--color-ink-soft);
  max-width: 60ch;
}

.section--dark .section-lede {
  color: #cfccc2;
}

.section-head {
  margin-bottom: 48px;
}

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 15px 30px;
  border: 2px solid var(--color-ink);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-red-dark);
  border-color: var(--color-red-dark);
}

.btn-dark {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-paper);
}

.btn-dark:hover {
  background: #000;
}

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.section--dark .btn-outline {
  border-color: var(--color-paper);
}

.btn-outline:hover {
  background: var(--color-ink);
  color: var(--color-paper);
}

.section--dark .btn-outline:hover {
  background: var(--color-paper);
  color: var(--color-ink);
}

.tag {
  display: inline-block;
  background: var(--color-ink);
  color: var(--color-paper);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius);
}

.tag--red {
  background: var(--color-red);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--color-paper);
  border-bottom: 3px solid var(--color-ink);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-ink);
}

.brand-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-ink);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.62rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  border: 2px solid var(--color-red);
  box-shadow: 0 0 0 3px var(--color-ink), 0 0 0 4px var(--color-manila-line);
  flex: none;
}

.brand-mark span {
  display: block;
  padding: 0 6px;
}

.brand-mark em {
  font-style: normal;
  color: var(--color-red);
  display: block;
}

.footer-brand .brand-mark {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px var(--color-ink), 0 0 0 4px rgba(246,243,236,0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1;
  text-transform: uppercase;
}

.brand-name em {
  font-style: normal;
  color: var(--color-red);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gray);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--color-ink);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-paper);
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-paper);
    border-bottom: 3px solid var(--color-ink);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-line);
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions .btn-primary {
    display: none;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background: var(--color-cork);
  color: var(--color-paper);
  position: relative;
  overflow: hidden;
  border-bottom: 6px solid var(--color-red);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(246,243,236,0.05) 1px, transparent 1px),
    repeating-linear-gradient(115deg, rgba(179,31,31,0.08) 0 2px, transparent 2px 34px),
    linear-gradient(180deg, rgba(28,23,18,0.4) 0%, rgba(28,23,18,0.88) 82%);
  background-size: 22px 22px, auto, auto;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 5%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-red);
  box-shadow: 0 0 0 3px rgba(179,31,31,0.22);
  pointer-events: none;
}

.hero .container {
  position: relative;
  padding-top: 96px;
  padding-bottom: 96px;
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}

.hero-copy {
  flex: 1 1 52%;
  min-width: 320px;
}

.hero-visual {
  flex: 1 1 38%;
  min-width: 280px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-red-tint);
  background: rgba(179, 31, 31, 0.18);
  border: 1px solid rgba(224, 138, 138, 0.5);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-red-tint);
  flex: none;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-red);
  display: block;
}

.hero-lede {
  font-size: 1.15rem;
  color: #d9d5c8;
  max-width: 52ch;
  margin-bottom: 34px;
}

.hero-lede strong {
  color: var(--color-paper);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.hero-meta-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hero-meta-item strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-white);
}

.hero-meta-item span {
  font-size: 0.82rem;
  color: #b7b3a6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Placeholder de foto / medio — reemplazable */
.media-placeholder {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(179,31,31,0.85), rgba(20,19,17,0.94)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px);
  display: flex;
  align-items: flex-end;
  border: 2px solid rgba(255,255,255,0.12);
}

.media-placeholder--light {
  background:
    linear-gradient(160deg, rgba(179,31,31,0.16), rgba(20,19,17,0.10)),
    repeating-linear-gradient(45deg, rgba(20,19,17,0.05) 0 2px, transparent 2px 14px);
  border: 2px dashed var(--color-line);
}

.media-placeholder-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 30%;
  opacity: 0.5;
}

.media-placeholder--light .media-placeholder-icon {
  opacity: 0.35;
}

.media-placeholder-label {
  position: relative;
  width: 100%;
  padding: 16px 18px;
  background: rgba(20,19,17,0.72);
  color: #f1efe8;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
}

.media-placeholder--light .media-placeholder-label {
  background: rgba(20,19,17,0.86);
}

.media-placeholder-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

/* Fotografía real con tratamiento a duotono rojo/negro */
.media-placeholder--photo {
  background: var(--color-ink);
}

.media-placeholder--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.media-placeholder--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(179,31,31,0.62), rgba(20,19,17,0.6));
  mix-blend-mode: multiply;
  z-index: 1;
}

.media-placeholder--photo .media-placeholder-tag,
.media-placeholder--photo .media-placeholder-label {
  position: relative;
  z-index: 2;
}

/* Instantáneas tipo carpeta de expediente — sin duotono, ancladas con un pin */
.snapshot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.snapshot {
  position: relative;
  flex: 1 1 210px;
  background: var(--color-white);
  padding: 10px 10px 34px;
  box-shadow: var(--shadow-card);
}

.snapshot:nth-child(1) { transform: rotate(-2.5deg); }
.snapshot:nth-child(2) { transform: rotate(2deg); }

.snapshot::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-red);
  box-shadow: 0 0 0 3px rgba(179,31,31,0.22);
  z-index: 2;
}

.snapshot img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
}

.snapshot-caption {
  position: absolute;
  bottom: 8px;
  left: 10px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-ink-soft);
}

/* ==========================================================================
   Franja de cifras / credenciales
   ========================================================================== */

.stat-strip {
  background: var(--color-paper-alt);
  border-bottom: 1px solid var(--color-line);
}

.stat-strip .row {
  padding: 34px 0;
  gap: 24px;
}

.stat {
  flex: 1 1 200px;
  text-align: center;
  padding: 0 12px;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-red);
}

.stat span {
  font-size: 0.82rem;
  color: var(--color-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Historia de Daniel
   ========================================================================== */

.story-row {
  align-items: flex-start;
}

.story-visual {
  flex: 1 1 36%;
  min-width: 280px;
  position: sticky;
  top: 110px;
}

.story-copy {
  flex: 1 1 56%;
  min-width: 320px;
}

.story-copy p {
  font-size: 1.05rem;
  color: var(--color-ink-soft);
}

.pull-quote {
  border-left: 4px solid var(--color-red);
  padding: 6px 0 6px 24px;
  margin: 32px 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  line-height: 1.3;
}

.co-host-card {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--color-manila);
  border: 1px solid var(--color-manila-line);
  border-radius: var(--radius);
  padding: 22px;
}

.co-host-avatar {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-red), var(--color-ink));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  border: 2px solid var(--color-ink);
}

.co-host-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.co-host-card h3 {
  font-size: 1.05rem;
  text-transform: none;
  color: var(--color-manila-ink);
  margin-bottom: 4px;
}

.co-host-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #55492f;
}

/* ==========================================================================
   Temas / notas relevantes
   ========================================================================== */

.topic-card {
  position: relative;
  background: var(--color-manila);
  border: 1px solid var(--color-manila-line);
  padding: 34px 26px 30px;
  height: 100%;
  box-shadow: var(--shadow-card);
}

.topic-card::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 22px;
  width: 46px;
  height: 16px;
  background: var(--color-manila-dark);
  border: 1px solid var(--color-manila-line);
  border-bottom: none;
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
}

.topic-card .topic-index {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-red);
  margin-bottom: 14px;
  display: block;
}

.topic-card h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--color-manila-ink);
  margin-bottom: 12px;
}

.topic-card p {
  color: #55492f;
  font-size: 0.96rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Episodios / capítulos
   ========================================================================== */

.episode-card {
  display: flex;
  flex-direction: column;
  background: var(--color-manila);
  border: 1px solid var(--color-manila-line);
  box-shadow: var(--shadow-card);
}

.episode-card .media-placeholder {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.episode-body {
  padding: 22px 24px 26px;
  border-top: 1px dashed var(--color-manila-line);
}

.episode-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-red-dark);
  margin-bottom: 8px;
}

.episode-card h3 {
  font-size: 1.15rem;
  text-transform: none;
  color: var(--color-manila-ink);
  margin-bottom: 10px;
}

.episode-card p {
  font-size: 0.92rem;
  color: #55492f;
  margin-bottom: 0;
}

.episodes-note {
  margin-top: 36px;
  text-align: center;
  color: var(--color-gray);
  font-size: 0.92rem;
}

/* ---------- Brunner en colaboración: apariciones de Daniel en otros podcasts ---------- */
.collab-block {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px dashed var(--color-line);
}

.collab-head {
  margin-bottom: 24px;
}

.collab-heading {
  font-size: 1.25rem;
  margin: 6px 0 0;
}

.collab-grid .press-card {
  flex: 0 1 360px;
}

/* ==========================================================================
   Último episodio — reproductores embebidos (YouTube + Spotify)
   ========================================================================== */

.latest-episode .section-head {
  margin-bottom: 40px;
}

.episode-embed-block {
  margin-bottom: 48px;
}

.episode-embed-block:last-child {
  margin-bottom: 0;
}

.episode-embed-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-paper);
  margin-bottom: 16px;
}

.episode-embed-label svg {
  flex: none;
  color: var(--color-red-tint);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 2px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-frame--placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.55);
}

.video-frame-play {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(179, 31, 31, 0.92);
  border: 2px solid rgba(246, 243, 236, 0.6);
  color: var(--color-white);
  transition: transform 0.15s ease, background 0.15s ease;
}

.video-frame--placeholder:hover .video-frame-play {
  transform: scale(1.06);
  background: var(--color-red);
}

.video-frame-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px 18px;
  background: rgba(20, 19, 17, 0.78);
  color: var(--color-paper);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.spotify-frame {
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
}

.spotify-frame iframe {
  display: block;
  width: 100%;
  height: 232px;
  border: 0;
}

.spotify-frame--placeholder {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  background: var(--color-cork-soft);
  height: 232px;
}

.spotify-frame--placeholder .video-frame-play {
  width: 56px;
  height: 56px;
  flex: none;
}

.spotify-frame-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-paper);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.spotify-frame-copy span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #b7b3a6;
}

/* ==========================================================================
   Confianza / prensa
   ========================================================================== */

.trust-strip {
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

/* ---------- Prensa: apariciones reales ---------- */
.press-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.press-card {
  flex: 1 1 260px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.press-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-ink);
}

.press-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.press-outlet {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px dashed var(--color-line);
}

.press-outlet .flag {
  font-size: 1.1rem;
  line-height: 1;
  flex: none;
}

.press-outlet strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.press-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--color-red);
  font-weight: 600;
  text-decoration: none;
}

.press-link:hover {
  text-decoration: underline;
}

.press-caption {
  padding: 10px 14px 16px;
  font-size: 0.86rem;
  color: var(--color-ink-soft);
  line-height: 1.45;
}

/* ---------- Plataformas ---------- */
.platform-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.platform-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b7b3a6;
  margin-right: 4px;
}

.platform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(246,243,236,0.28);
  color: var(--color-paper);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.platform-icon:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}

.platform-row--light .platform-icon {
  border-color: var(--color-line);
  color: var(--color-ink);
}

.platform-row--light .platform-label {
  color: var(--color-gray);
}

.trust-logo {
  flex: 0 1 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  border: 1px dashed var(--color-line);
  border-radius: var(--radius);
  color: var(--color-gray);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 14px;
}

/* ==========================================================================
   Patrocinadores
   ========================================================================== */

.sponsor-card {
  background: var(--color-ink);
  color: var(--color-paper);
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}

.sponsor-card-copy {
  flex: 1 1 420px;
}

.sponsor-card-copy h3 {
  text-transform: uppercase;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.sponsor-card-copy p {
  color: #cfccc2;
  margin-bottom: 0;
  max-width: 52ch;
}

.sponsor-tiers {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.sponsor-tier {
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-family: var(--font-mono);
  padding: 10px 16px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 999px;
}

/* ==========================================================================
   Participa
   ========================================================================== */

.participate {
  background: var(--color-red);
  color: var(--color-white);
  text-align: center;
}

.participate h2 {
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  max-width: 24ch;
  margin: 0 auto 18px;
}

.participate p {
  max-width: 58ch;
  margin: 0 auto 30px;
  color: #f7dede;
  font-size: 1.05rem;
}

.participate .btn-dark {
  background: var(--color-ink);
  border-color: var(--color-ink);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-ink);
  color: #cfccc2;
  padding: 64px 0 28px;
}

.footer-row {
  justify-content: space-between;
}

.footer-brand .brand-mark {
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 40ch;
  color: #a8a496;
  font-size: 0.92rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-paper);
  margin-bottom: 16px;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  text-decoration: none;
  color: #cfccc2;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--color-white);
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(246,243,236,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-paper);
}

.social-link:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(246,243,236,0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #8f8b7d;
}

.footer-bottom a {
  color: #8f8b7d;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--color-paper);
}

/* ==========================================================================
   Utilidades responsive
   ========================================================================== */

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .sponsor-card {
    padding: 28px;
  }

  .story-visual {
    position: static;
  }
}

@media (max-width: 1024px) {
  .stat {
    flex: 1 1 calc(50% - 12px);
    text-align: left;
  }

  .stat strong {
    font-size: 1.5rem;
  }
}
