/*
Theme Name: El Club del Clásico
Author: La Factoría del Hombre de Azúcar
Description: Sitio editorial del programa de televisión El Club del Clásico.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: el-club-del-clasico
*/

    :root {
      --ink: #11100e;
      --ink-soft: #1a1815;
      --paper: #f1ede2;
      --paper-deep: #e6decd;
      --gold: #b6914a;
      --gold-bright: #d0ad67;
      --muted: #787066;
      --line: rgba(182, 145, 74, .42);
      --serif: Georgia, "Times New Roman", serif;
      --sans: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
      --max: 1240px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      font-family: var(--sans);
      font-size: 1rem;
      line-height: 1.55;
      overflow-x: hidden;
    }
    img { display: block; width: 100%; }
    a { color: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    ::selection { background: var(--gold); color: var(--ink); }

    .skip-link {
      position: fixed; top: 10px; left: 10px; z-index: 100;
      transform: translateY(-150%); padding: .7rem 1rem;
      background: var(--paper); color: var(--ink); border: 1px solid var(--gold);
    }
    .skip-link:focus { transform: translateY(0); }

    .site-header {
      position: fixed; inset: 0 0 auto 0; z-index: 30;
      height: 76px; color: #fff;
      background: linear-gradient(to bottom, rgba(17,16,14,.9), rgba(17,16,14,.25), transparent);
      transition: background .3s ease, border-color .3s ease;
    }
    .site-header.scrolled {
      background: rgba(17,16,14,.96);
      border-bottom: 1px solid rgba(182,145,74,.35);
      backdrop-filter: blur(10px);
    }
    .nav {
      width: min(calc(100% - 40px), var(--max)); height: 100%; margin: 0 auto;
      display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    }
    .brand {
      display: flex; align-items: center; gap: .8rem; text-decoration: none;
      text-transform: uppercase; letter-spacing: .08em; font-weight: 700; line-height: 1;
    }
    .wheel {
      width: 34px; height: 34px; border: 2px solid var(--gold); border-radius: 50%;
      position: relative; flex: none;
    }
    .wheel::before, .wheel::after {
      content: ""; position: absolute; background: var(--gold); left: 50%; top: 50%;
      width: 2px; height: 27px; transform-origin: center;
    }
    .wheel::before { transform: translate(-50%,-50%) rotate(0deg); }
    .wheel::after { transform: translate(-50%,-50%) rotate(60deg); }
    .wheel span {
      position: absolute; inset: 8px; border: 2px solid var(--gold); border-radius: 50%;
      background: var(--ink);
    }
    .brand-copy small { display: block; color: var(--gold-bright); font-size: .66rem; margin-top: .3rem; letter-spacing: .13em; }
    .nav-links { display: flex; align-items: center; gap: 1.5rem; }
    .nav-links a {
      font-size: .8rem; text-decoration: none; text-transform: uppercase; letter-spacing: .1em;
      border-bottom: 1px solid transparent; padding: .5rem 0;
    }
    .nav-links a:hover, .nav-links a:focus-visible { color: var(--gold-bright); border-color: currentColor; }
    .nav-cta { border: 1px solid var(--gold) !important; padding: .58rem .9rem !important; }
    .menu-btn { display: none; background: transparent; color: #fff; border: 0; font: inherit; font-size: 1.25rem; }

    .hero {
      min-height: 100svh; position: relative; display: grid; align-items: end; color: white;
      background: #151311 url("assets/hero-clasico.jpg") center 44% / cover no-repeat;
    }
    .hero::before {
      content: ""; position: absolute; inset: 0;
      background:
        linear-gradient(90deg, rgba(12,11,9,.94) 0%, rgba(12,11,9,.63) 42%, rgba(12,11,9,.05) 72%),
        linear-gradient(0deg, rgba(12,11,9,.94) 0%, transparent 50%, rgba(12,11,9,.2) 100%);
    }
    .hero::after {
      content: ""; position: absolute; inset: 24px; border: 1px solid rgba(182,145,74,.52); pointer-events: none;
    }
    .hero-inner {
      width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 160px 0 72px;
      position: relative; z-index: 1;
    }
    .eyebrow {
      display: flex; align-items: center; gap: .8rem; margin: 0 0 1.4rem;
      color: var(--gold-bright); font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    }
    .eyebrow::before { content: ""; width: 42px; height: 1px; background: currentColor; }
    h1, h2, h3, p { margin-top: 0; }
    h1 {
      max-width: 790px; margin-bottom: 1.4rem; font-family: var(--serif); font-weight: 400;
      font-size: clamp(4rem, 9.4vw, 8.6rem); line-height: .82; letter-spacing: -.065em; text-transform: uppercase;
    }
    .hero-lede {
      max-width: 660px; font-size: clamp(1.08rem, 2vw, 1.42rem); color: rgba(255,255,255,.82); line-height: 1.5;
    }
    .hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 2.2rem 0 4rem; }
    .btn {
      display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .85rem 1.2rem;
      text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .78rem;
      border: 1px solid var(--gold); transition: background .2s, color .2s, transform .2s;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn-primary { background: var(--gold); color: var(--ink); }
    .btn-primary:hover { background: var(--gold-bright); }
    .btn-ghost { color: white; background: rgba(17,16,14,.25); }
    .btn-ghost:hover { background: rgba(255,255,255,.1); }
    .hero-meta {
      max-width: 700px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line);
    }
    .hero-meta div { padding: 1rem 1rem 0 0; }
    .hero-meta strong { display: block; color: var(--gold-bright); font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
    .hero-meta span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.62); }

    section { position: relative; }
    .section-inner { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 110px 0; }
    .section-label {
      margin-bottom: .9rem; color: var(--gold); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
    }
    .display {
      font-family: var(--serif); font-size: clamp(2.55rem, 6vw, 5.9rem); line-height: .92; font-weight: 400;
      letter-spacing: -.045em; text-transform: uppercase;
    }
    .intro { background: var(--paper); }
    .intro-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(3rem, 8vw, 8rem); align-items: end; }
    .intro-copy > p { max-width: 620px; font-size: 1.15rem; color: #464039; }
    .principles { border-top: 1px solid var(--line); }
    .principle { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
    .principle span { font-family: var(--serif); color: var(--gold); font-size: 1.5rem; }
    .principle strong { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .86rem; }
    .principle p { margin: .2rem 0 0; color: var(--muted); font-size: .95rem; }

    .chapters { background: var(--ink); color: white; overflow: hidden; }
    .chapters::before {
      content: "04"; position: absolute; right: -1vw; top: -7vw; font-family: var(--serif);
      font-size: clamp(14rem, 30vw, 30rem); line-height: 1; color: rgba(182,145,74,.045);
    }
    .chapters-head { display: grid; grid-template-columns: 1fr .7fr; gap: 4rem; align-items: end; margin-bottom: 4rem; }
    .chapters-head p { color: rgba(255,255,255,.64); max-width: 470px; margin-bottom: .4rem; }
    .chapter-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
    .chapter-card {
      min-height: 500px; position: relative; overflow: hidden; isolation: isolate; border: 1px solid rgba(182,145,74,.3);
      display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem;
    }
    .chapter-card:nth-child(1), .chapter-card:nth-child(4) { grid-column: span 7; }
    .chapter-card:nth-child(2), .chapter-card:nth-child(3) { grid-column: span 5; }
    .chapter-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease; }
    .chapter-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,11,9,.97), rgba(12,11,9,.08) 75%); }
    .chapter-card:hover img { transform: scale(1.035); }
    .chapter-card .number { color: var(--gold-bright); letter-spacing: .15em; font-size: .75rem; }
    .chapter-card h3 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.7rem); line-height: .95; font-weight: 400; text-transform: uppercase; margin: .65rem 0; }
    .chapter-card p { max-width: 620px; margin-bottom: 0; color: rgba(255,255,255,.76); }

    .format { background: var(--paper); }
    .format-top { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
    .format-title { position: sticky; top: 112px; }
    .format-title .big-stat { font-family: var(--serif); font-size: clamp(8rem, 18vw, 14rem); line-height: .72; color: var(--gold); letter-spacing: -.08em; }
    .format-title p { max-width: 420px; margin-top: 2rem; color: var(--muted); }
    .timeline { border-top: 1px solid var(--line); }
    .slot { display: grid; grid-template-columns: 125px 1fr; gap: 1.5rem; padding: 1.45rem 0; border-bottom: 1px solid var(--line); }
    .slot time { color: var(--gold); font-weight: 800; letter-spacing: .08em; }
    .slot strong { display: block; font-family: var(--serif); font-size: 1.45rem; text-transform: uppercase; font-weight: 400; }
    .slot p { margin: .25rem 0 0; color: var(--muted); }

    .sound { background: var(--paper-deep); }
    .sound-grid { display: grid; grid-template-columns: 1fr .72fr; gap: clamp(3rem, 8vw, 8rem); align-items: stretch; }
    .sound-copy { padding: 2rem 0; }
    .sound-copy > p { max-width: 650px; font-size: 1.1rem; color: #514a41; }
    .voices { margin-top: 2.3rem; border-top: 1px solid var(--line); }
    .voice { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
    .voice b { color: var(--gold); }
    .voice span { color: var(--muted); }
    .sound-image { min-height: 650px; position: relative; }
    .sound-image img { height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.05); }
    .sound-image::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(241,237,226,.45); }

    .production { background: var(--ink); color: white; }
    .production-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
    .production-image { position: relative; }
    .production-image img { aspect-ratio: 1.05; object-fit: cover; }
    .production-image::before { content: ""; position: absolute; inset: -16px 16px 16px -16px; border: 1px solid var(--gold); z-index: 0; }
    .production-image img { position: relative; z-index: 1; }
    .production-copy > p { color: rgba(255,255,255,.66); max-width: 570px; }
    .tech-list { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2rem; border-top: 1px solid rgba(182,145,74,.35); }
    .tech-item { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid rgba(182,145,74,.35); }
    .tech-item:nth-child(even) { padding-left: 1rem; border-left: 1px solid rgba(182,145,74,.35); }
    .tech-item strong { color: var(--gold-bright); display: block; text-transform: uppercase; letter-spacing: .09em; font-size: .78rem; }
    .tech-item span { color: rgba(255,255,255,.74); }

    .day { background: var(--paper); }
    .day-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(3rem, 8vw, 8rem); }
    .day-aside p { color: var(--muted); }
    .schedule { position: relative; padding-left: 2rem; }
    .schedule::before { content: ""; position: absolute; left: 5px; top: .8rem; bottom: .8rem; width: 1px; background: var(--gold); }
    .moment { display: grid; grid-template-columns: 78px 1fr; gap: 1rem; position: relative; padding: .72rem 0; }
    .moment::before { content: ""; position: absolute; left: -2rem; top: 1.1rem; width: 11px; height: 11px; background: var(--paper); border: 2px solid var(--gold); border-radius: 50%; }
    .moment time { color: var(--gold); font-weight: 800; }
    .moment span { text-transform: uppercase; letter-spacing: .07em; font-size: .9rem; }
    .safety { margin-top: 1.6rem; padding: 1.2rem; border: 1px solid var(--gold); color: #554d43; }

    .offer {
      color: white; background: #11100e url("assets/interior-clasico.jpg") center / cover no-repeat; text-align: center;
    }
    .offer::before { content: ""; position: absolute; inset: 0; background: rgba(17,16,14,.87); }
    .offer .section-inner { position: relative; z-index: 1; padding-block: 125px; }
    .offer .display { max-width: 920px; margin-inline: auto; }
    .price { margin: 2rem 0 .3rem; color: var(--gold-bright); font-family: var(--serif); font-size: clamp(3.5rem, 9vw, 7.5rem); line-height: 1; }
    .vat { text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.64); }
    .rights { max-width: 820px; margin: 2.5rem auto 0; color: rgba(255,255,255,.72); }
    .offer-actions { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }

    footer { background: #090806; color: rgba(255,255,255,.75); }
    .footer-inner { width: min(calc(100% - 40px), var(--max)); margin: auto; padding: 64px 0 34px; }
    .footer-top { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: end; border-bottom: 1px solid rgba(182,145,74,.3); padding-bottom: 2rem; }
    .footer-title { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 5rem); color: white; line-height: .9; text-transform: uppercase; }
    .footer-contact { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: flex-end; }
    .footer-contact a { color: var(--gold-bright); text-decoration: none; border-bottom: 1px solid currentColor; }
    .footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding-top: 1.3rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }

    [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
    [data-reveal].visible { opacity: 1; transform: none; }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation: none !important; transition: none !important; }
      [data-reveal] { opacity: 1; transform: none; }
    }
    @media (max-width: 900px) {
      .menu-btn { display: block; }
      .nav-links {
        position: fixed; top: 76px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch;
        gap: 0; padding: 1.3rem 24px 1.8rem; background: rgba(17,16,14,.98); border-bottom: 1px solid var(--gold);
      }
      .nav-links.open { display: flex; }
      .nav-links a { padding: .9rem 0; }
      .nav-cta { margin-top: .5rem; text-align: center; }
      .intro-grid, .chapters-head, .format-top, .sound-grid, .production-grid, .day-grid { grid-template-columns: 1fr; }
      .format-title { position: static; }
      .chapter-card:nth-child(n) { grid-column: span 6; min-height: 430px; }
      .sound-image { min-height: 520px; }
    }
    @media (max-width: 620px) {
      .site-header { height: 68px; }
      .nav { width: min(calc(100% - 28px), var(--max)); }
      .brand-copy { font-size: .83rem; }
      .brand-copy small { display: none; }
      .hero::after { inset: 12px; }
      .hero-inner { width: min(calc(100% - 36px), var(--max)); padding-bottom: 42px; }
      h1 { font-size: clamp(3.25rem, 18vw, 5.6rem); }
      .hero-lede { max-width: 92%; }
      .hero-meta { grid-template-columns: 1fr; }
      .hero-meta div { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(182,145,74,.25); }
      .hero-meta div:first-child { border-top: 0; }
      .hero-meta strong { font-size: 1.5rem; }
      .section-inner { width: min(calc(100% - 32px), var(--max)); padding: 78px 0; }
      .chapter-card:nth-child(n) { grid-column: 1 / -1; min-height: 460px; padding: 1.4rem; }
      .slot { grid-template-columns: 1fr; gap: .25rem; }
      .tech-list { grid-template-columns: 1fr; }
      .tech-item:nth-child(even) { padding-left: 0; border-left: 0; }
      .sound-image { min-height: 470px; }
      .footer-top, .footer-bottom { grid-template-columns: 1fr; display: grid; }
      .footer-contact { justify-content: flex-start; }
    }
    .chapter-more{display:inline-block;margin-top:.7rem;color:var(--gold-bright);text-underline-offset:.25rem;font-size:.88rem;letter-spacing:.04em}
    .chapter-more:hover{text-decoration:underline}
  

.detail-hero{position:relative;min-height:610px;padding:160px max(5vw,22px) 72px;color:#fff;background:#111;display:flex;align-items:end;overflow:hidden}
.detail-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.45) saturate(.8)}
.detail-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.56),transparent),linear-gradient(0deg,rgba(0,0,0,.54),transparent 55%)}
.detail-hero-content{position:relative;z-index:1;width:min(100%,1240px);margin:0 auto}
.detail-hero h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(3.6rem,8vw,8rem);line-height:.96;letter-spacing:-.055em;max-width:900px;margin:.4rem 0 1.3rem}
.detail-hero p{max-width:690px;font-size:clamp(1.1rem,1.9vw,1.4rem)}
.detail-main{max-width:1240px;padding:90px 24px 100px;margin:auto}.breadcrumbs{font-size:.82rem;color:#7b663f;margin-bottom:4rem}.breadcrumbs a{text-underline-offset:3px}
.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.45fr);gap:min(9vw,110px)}
.detail-copy h2{font-family:Georgia,serif;font-size:clamp(2.2rem,4vw,4.3rem);line-height:1.1;letter-spacing:-.035em;font-weight:400;margin:0 0 1.4rem}.detail-copy h3{font-size:1.5rem;text-transform:uppercase;letter-spacing:.04em;margin:3rem 0 .7rem}.detail-copy p{font-size:1.12rem;max-width:740px;line-height:1.7}.detail-copy ul{padding-left:1.4rem;font-size:1.05rem;line-height:1.8}.detail-aside{border-top:2px solid var(--gold);padding-top:1.5rem;align-self:start}.detail-aside h2{font-size:1.1rem;text-transform:uppercase;letter-spacing:.12em}.detail-aside a{display:block;padding:1rem 0;border-top:1px solid var(--line);text-decoration:none}.detail-aside a:hover,.detail-next a:hover{color:var(--gold)}.detail-next{border-top:1px solid var(--line);padding-top:2rem;margin-top:5rem;display:flex;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}.detail-next a{font-size:1.05rem;text-decoration:underline;text-underline-offset:5px}.detail-figure{margin:3rem 0}.detail-figure img{aspect-ratio:16/9;object-fit:cover}.detail-figure figcaption{font-size:.82rem;color:#756e62;padding:.7rem 0}
@media(max-width:760px){.detail-hero{min-height:510px;padding-top:120px}.detail-grid{grid-template-columns:1fr}.detail-main{padding:55px 20px 70px}.detail-aside{margin-top:2rem}.detail-hero h1{font-size:clamp(3.2rem,13vw,5rem)}}
