/* La Mesa del Empresario — v1 */
:root {
  --carbon: #20201E;
  --crema: #F7F3EA;
  --gold-dark: #8A642B;
  --gold-light: #D9AD61;
  --gray: #5E5A52;
  --white: #FFFFFF;
  --line: #E6DFD2;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--crema);
  color: var(--carbon);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ===== NAV ===== */
.nav {
  background: var(--crema);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--carbon);
  line-height: 1.1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: var(--carbon);
  font-weight: 600;
  font-size: 15px;
}
.nav-links a:hover { color: var(--gold-dark); }
.nav-cta {
  background: var(--gold-dark);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
}
.nav-cta:hover { background: #73541f; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--carbon);
  margin: 5px 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background .15s ease, transform .05s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--gold-dark); color: var(--white); }
.btn-primary:hover { background: #73541f; }
.btn-ghost {
  background: transparent;
  color: var(--carbon);
  border: 2px solid var(--carbon);
}
.btn-ghost:hover { background: rgba(32,32,30,.06); }
.btn-gold-ghost {
  background: transparent;
  color: var(--gold-dark);
  border: 2px solid var(--gold-dark);
}
.btn-gold-ghost:hover { background: rgba(138,100,43,.08); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1ebc58; }

/* ===== HERO ===== */
.hero {
  padding: 72px 0 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.12;
  margin-bottom: 18px;
}
.hero .sub {
  font-size: 19px;
  color: var(--gray);
  max-width: 520px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { text-align: center; }
.hero-art img {
  width: 100%;
  max-width: 360px;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(32,32,30,.18);
}

/* ===== SECTIONS ===== */
.section { padding: 60px 0; }
.section-alt { background: var(--carbon); color: var(--crema); }
.section-head { max-width: 640px; margin-bottom: 38px; }
.section-head h2 {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-head p { color: var(--gray); font-size: 18px; }
.section-alt .section-head p { color: #c9c2b4; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ===== CARDS (necesidades) ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  transition: transform .15s ease, box-shadow .15s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(32,32,30,.10);
}
.card h3 {
  font-family: var(--serif);
  font-size: 21px;
  margin-bottom: 8px;
}
.card p { color: var(--gray); font-size: 15.5px; margin-bottom: 16px; flex: 1; }
.card-link { font-weight: 600; font-size: 15px; }

/* ===== EPISODIO DESTACADO ===== */
.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.featured h2 {
  font-family: var(--serif);
  font-size: 32px;
  margin-bottom: 14px;
}
.featured p { color: var(--gray); font-size: 17px; margin-bottom: 22px; }
.featured-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #2a2926, #4a453c);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 20px;
  text-align: center;
  padding: 20px;
}

/* ===== DUPLA / NOSOTROS ===== */
.dupla-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}
.person-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.person h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 6px;
}
.person .role {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.person p { color: var(--gray); font-size: 16px; }

/* ===== RUTAS (empieza) ===== */
.ruta {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.ruta:last-child { border-bottom: none; }
.ruta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.ruta h2 {
  font-family: var(--serif);
  font-size: 28px;
  margin-bottom: 12px;
}
.ruta h2 .num {
  color: var(--gold-dark);
  margin-right: 8px;
}
.ruta .body { color: var(--gray); font-size: 17px; }
.paso {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.paso-label {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 8px;
}
.paso .q { font-size: 17px; font-weight: 600; margin-bottom: 12px; }
.paso .next { color: var(--gray); font-size: 15px; }

/* ===== EPISODIOS LIST ===== */
.episodio {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.episodio:last-child { border-bottom: none; }
.episodio-thumb {
  aspect-ratio: 16/9;
  border-radius: 12px;
  background: linear-gradient(135deg, #2a2926, #4a453c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 15px;
  text-align: center;
  padding: 12px;
}
.episodio h3 { font-family: var(--serif); font-size: 23px; margin-bottom: 8px; }
.episodio p { color: var(--gray); margin-bottom: 14px; }

/* ===== TRANSPARENCIA ===== */
.nota {
  background: var(--white);
  border-left: 4px solid var(--gold-light);
  border-radius: 0 12px 12px 0;
  padding: 22px 26px;
  margin: 24px 0;
}
.nota p { color: var(--gray); font-size: 16px; }

/* ===== CTA FINAL ===== */
.final-cta { text-align: center; padding: 70px 0; }
.final-cta h2 {
  font-family: var(--serif);
  font-size: 34px;
  margin-bottom: 14px;
}
.final-cta p { color: var(--gray); font-size: 18px; max-width: 560px; margin: 0 auto 26px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--carbon);
  color: var(--crema);
  padding: 54px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 34px;
}
.footer .brand-name { color: var(--crema); }
.footer-tag { color: #b5ad9f; font-size: 15px; margin-top: 12px; max-width: 300px; }
.footer h4 {
  font-family: var(--serif);
  font-size: 17px;
  margin-bottom: 14px;
  color: var(--crema);
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 9px; }
.footer ul a { color: #b5ad9f; font-size: 15px; }
.footer ul a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid #3a3934;
  padding-top: 22px;
  color: #8d8779;
  font-size: 13.5px;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--crema);
    flex-direction: column;
    padding: 20px 22px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .hero-grid, .featured, .person-grid, .ruta-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 36px; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 260px; }
  .cards { grid-template-columns: 1fr; }
  .episodio { grid-template-columns: 1fr; }
  .episodio-thumb { max-width: 320px; }
  .section-head h2, .final-cta h2 { font-size: 28px; }
}

/* ===== BOTÓN YOUTUBE ===== */
.btn-youtube { background: #FF0000 !important; color: #fff !important; box-shadow: 0 6px 18px rgba(255,0,0,.35); }
.btn-youtube:hover { background: #cc0000 !important; box-shadow: 0 8px 24px rgba(255,0,0,.45); }

/* ===== EPISODIO DESTACADO (acciones) ===== */
.featured-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.section-alt .eyebrow { color: var(--gold-light); }

/* ===== RECURSOS ===== */
#recursos { scroll-margin-top: 80px; }
.resources { display: grid; grid-template-columns: 1fr; gap: 22px; }
.resource-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.resource-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 12px;
}
.resource-title {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 10px;
}
.resource-text { color: var(--gray); font-size: 16px; margin-bottom: 20px; }
.resource-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 30px rgba(32,32,30,.12);
  margin-bottom: 14px;
}
.resource-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.resource-link { font-weight: 600; font-size: 15px; }

/* ===== NEWSLETTER ===== */
.newsletter-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.newsletter-inner h2 {
  font-family: var(--serif);
  font-size: 32px;
  margin-bottom: 12px;
}
.newsletter-inner p { color: #c9c2b4; font-size: 17px; margin-bottom: 24px; }
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto 16px;
}
.newsletter-input {
  flex: 1;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--carbon);
  background: #fff;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 14px 20px;
  outline: none;
}
.newsletter-input:disabled { background: #3a3934; color: #8d8779; cursor: not-allowed; }
.soon-badge {
  display: inline-block;
  font-size: 13.5px;
  color: var(--gold-light);
  background: rgba(217,173,97,.12);
  border: 1px solid rgba(217,173,97,.3);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 600;
}

/* ===== RECURSOS/NEWSLETTER RESPONSIVE ===== */
@media (max-width: 860px) {
  .resource-card { padding: 22px; }
  .resource-title { font-size: 21px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-input { width: 100%; text-align: center; }
}

/* ===== EPISODIO DESTACADO (video embebido) ===== */
.featured-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.featured-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.featured-link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 15px; color: var(--gold-light); }
.featured-link:hover { color: #fff; }

/* ===== EPISODIOS (miniaturas reales) ===== */
.episodio-thumb { position: relative; overflow: hidden; }
.episodio-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== ESCÚCHANOS (plataformas) ===== */
.listen-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.listen-inner h2 { font-family: var(--serif); font-size: 28px; margin-bottom: 22px; }
.listen-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn-spotify { background: #1DB954; color: #fff; }
.btn-spotify:hover { background: #169c46; }
