:root {
  --bg: #f7f3ee;
  --bg-alt: #f0e7dd;
  --card-bg: #ffffff;
  --text-main: #222222;
  --text-muted: #666666;
  --accent: #c3703a;       /* terracota suave */
  --accent-soft: #f4c7a3;
  --border-soft: rgba(0,0,0,0.08);
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #fefaf6, #f5eee6 40%, #f1ebe3 70%, #eaddcd 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* Layout base */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  padding: 4rem 0;
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
}

.section-header h1,
.section-header h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50; /* un poco más alto que antes */
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(247,243,238,0.96), rgba(247,243,238,0.9));
  border-bottom: 1px solid rgba(0,0,0,0.04);
  overflow: visible; /* IMPORTANTE para que el sello pueda "salirse" */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Dejá esto en tu <style> o en styles.css */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(247,243,238,0.96), rgba(247,243,238,0.9));
  border-bottom: 1px solid rgba(0,0,0,0.04);
  overflow: visible; /* para que el sello pueda sobresalir */
}

.logo-mark-img {
  width: 48px;          /* tamaño del sello: podés subir/bajar este valor */
  height: auto;
  display: block;
  position: relative;
  transform: translateY(4px);  /* lo “cuelga” un poquito hacia abajo del header */
  z-index: 50;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.45)); /* sombra bonita */
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text {
  display: block;
}

.logo-text-name {
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.logo-text-book {
  font-weight: 400;
  font-size: 0.65rem;
  color: #666;
  font-style: italic;
}

.logo-mark {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  /* Degradado tipo cera rojiza */
  background: radial-gradient(circle at 30% 20%, #ffdfc4 0, #f5a077 35%, #a23126 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  box-shadow:
    0 10px 25px rgba(0,0,0,0.28),
    0 0 0 4px rgba(255,255,255,0.6); /* borde claro alrededor */
  transform: translateY(8px); /* lo hace "colgar" un poquito sobre el hero */
  z-index: 60; /* por encima del resto */
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffdfc4 0, #f5a077 35%, #8e2c22 100%);
  opacity: 0.9;
  z-index: -1;
}

/* ligera deformación para que no sea un círculo perfecto */
.logo-mark::before {
  transform: rotate(-4deg) scale(1.06);
  filter: blur(0.4px);
}

.logo-mark::after {
  inset: -10px -8px -4px -12px;
  transform: rotate(3deg) scale(1.02);
  opacity: 0.8;
  filter: blur(0.6px);
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #444;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  text-decoration: none;
  font-size: 0.9rem;
  color: #555;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-link:hover {
  background: rgba(0,0,0,0.04);
  color: #222;
}

.nav-link-active {
  background: rgba(195, 112, 58, 0.08);
  color: var(--accent);
}

/* Hero */

.hero {
  padding: 4.5rem 0 4rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 3.1vw, 3rem);
  line-height: 1.1;
  margin: 0 0 0.75rem 0;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 30rem;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #f28b50);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.btn-outline {
  background: rgba(255,255,255,0.8);
  border-color: rgba(0,0,0,0.1);
  color: #444;
}

.btn-outline:hover {
  background: #fff;
  border-color: rgba(0,0,0,0.18);
}

/* Hero media */

.hero-media {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-cover {
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius-lg);
  padding: 0.65rem;
  box-shadow: var(--shadow-soft);
}

.hero-cover img {
  display: block;
  width: 100%;
  border-radius: calc(var(--radius-lg) - 4px);
}

.hero-meta-card {
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  border: 1px solid var(--border-soft);
}

.hero-meta-title {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.hero-meta-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Feature cards */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.1);
  border: 1px solid var(--border-soft);
}

.feature-card h3 {
  font-family: "Playfair Display", serif;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* Chapters grid */

.chapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.chapter-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: 0 14px 32px rgba(15,23,42,0.12);
  border: 1px solid var(--border-soft);
}

.chapter-card h3 {
  font-family: "Playfair Display", serif;
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.chapter-card p {
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.chapter-link {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
}

/* Poem index */

.chapter-section {
  margin-bottom: 3rem;
}

.chapter-section h2 {
  font-family: "Playfair Display", serif;
  margin-bottom: 0.8rem;
}

.poem-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border-soft);
}

.poem-list li {
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.poem-list li:last-child {
  border-bottom: none;
}

.poem-list a {
  display: block;
  padding: 0.6rem 0.9rem;
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
}

.poem-list a:hover {
  background: rgba(195, 112, 58, 0.04);
  color: var(--accent);
}

/* Poem page layout */

.poem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 2.5rem;
}

.poem-header {
  margin-bottom: 1rem;
}

.poem-number {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.poem-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin: 0.2rem 0 0.8rem 0;
}

.poem-body {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: 0 10px 26px rgba(15,23,42,0.08);
  border: 1px solid var(--border-soft);
  line-height: 1.7;
  white-space: pre-line;
}

.poem-meta {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.audio-box {
  margin-top: 1.6rem;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--border-soft);
}

.audio-box h2 {
  font-family: "Playfair Display", serif;
  margin-top: 0;
}

.audio-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

audio {
  width: 100%;
  margin-top: 0.4rem;
}

/* =========================
   ✅ NUEVO — Video vertical (formato Instagram 9:16)
   Uso:
   <section class="poem-video-box">
     <div class="video-frame"><video ...></video></div>
   </section>
   ========================= */

.poem-video-box{
  margin-top: 1.2rem;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--border-soft);
}

.poem-video-box h2{
  font-family: "Playfair Display", serif;
  margin: 0 0 0.8rem 0;
}

/* Marco 9:16 (tipo Reels) */
.video-frame{
  width: 100%;
  max-width: 420px;              /* parecido a “recuadro Instagram” */
  margin: 0.2rem auto 0 auto;    /* centrado */
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 14px 34px rgba(0,0,0,0.18);
  aspect-ratio: 9 / 16;          /* clave */
}

/* El video llena el marco */
.video-frame video{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;             /* full-bleed estilo IG */
  background: #000;
}

.video-note{
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
  text-align: center;
}

/* En pantallas grandes podés permitir un poco más de ancho */
@media (min-width: 980px){
  .video-frame{
    max-width: 460px;
  }
}

/* Poem aside */

.poem-aside {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.poem-image-card {
  margin: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 0.7rem;
  box-shadow: var(--shadow-soft);
}

.poem-image-card img {
  width: 100%;
  display: block;
  border-radius: calc(var(--radius-lg) - 4px);
}

.poem-image-card figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.poem-qr-hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.9);
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(0,0,0,0.12);
}

/* Author layout */

.author-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: center;
}

.author-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.author-bio h1 {
  font-family: "Playfair Display", serif;
  margin-top: 0;
  margin-bottom: 1rem;
}

.author-bio p {
  line-height: 1.7;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(0,0,0,0.05);
  background: rgba(247,243,238,0.96);
  padding: 1.4rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-title {
  font-weight: 600;
  margin: 0 0 0.2rem 0;
}

.footer-text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 0.9rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: #555;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsivo */

@media (max-width: 880px) {
  .hero-grid,
  .poem-layout,
  .author-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3rem 0;
  }

  .hero {
    padding-top: 3rem;
  }

  .poem-body {
    padding: 1.1rem;
  }

  .chapters-grid,
  .feature-grid {
    gap: 1rem;
  }
}
.poem-highlight {
  background-color: rgba(195, 112, 58, 0.22);
  border-radius: 6px;
}

.poem-highlight a {
  display: block;
  padding: 8px 12px;
  color: #0; /* texto claro */
  font-weight: 500;
  text-decoration: none;
}

.poem-highlight a:hover {
  background-color: rgba(255, 203, 187, 0.65);
}

.site-nav {
  display: flex;
  gap: 16px;
}

.nav-link {
  text-decoration: none;
  color: #444;
  font-weight: 500;
}

.nav-link:hover {
  color: #2f5d50;
}

.nav-link-active {
  color: #2f5d50;              /* verde oscuro pastel */
  font-weight: 600;
  cursor: default;
  pointer-events: none;        /* seguridad extra */
}

/**********************Para globo de Glosario***************/
/* ===== Glosario: palabra con tooltip ===== */
.gloss {
  position: relative;
  display: inline-block;
  cursor: help;
  border-bottom: 1px dotted currentColor;
  text-underline-offset: 3px;
  padding: 0 1px;
}

/* Enfocado por teclado */
.gloss:focus {
  outline: 2px solid rgba(0,0,0,0.25);
  outline-offset: 2px;
  border-bottom-style: solid;
}

/* El globo */
.gloss::after {
  content: attr(data-gloss);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%);
  min-width: 220px;
  max-width: min(360px, 80vw);

  background: rgba(20, 20, 20, 0.96);
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.25;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 9999;
  white-space: normal;
}

/* La flechita */
.gloss::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(20,20,20,0.96) transparent transparent transparent;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 9999;
}

/* Mostrar al hover (desktop) */
.gloss:hover::after,
.gloss:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Mostrar al foco (teclado) */
.gloss:focus::after,
.gloss:focus::before {
  opacity: 1;
  visibility: visible;
}

/* Mostrar cuando se activa por click (mobile) */
.gloss.is-open::after,
.gloss.is-open::before {
  opacity: 1;
  visibility: visible;
}

/* Preferencia: si el usuario reduce animaciones */
@media (prefers-reduced-motion: no-preference) {
  .gloss::after, .gloss::before {
    transition: opacity 140ms ease, transform 140ms ease;
  }
  .gloss:hover::after,
  .gloss:focus::after,
  .gloss.is-open::after {
    transform: translateX(-50%) translateY(-2px);
  }
}

/* =========================
   POEMAS — Ajuste de verso en móvil (no cortar musicalidad)
   Uso: <div class="poem-body poem-body-fit">...</div>
   ========================= */

.poem-body-fit{
  /* Base desktop/tablet: queda como venías */
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Teléfonos: achica suavemente según ancho real */
@media (max-width: 600px){
  .poem-body-fit{
    font-size: clamp(0.72rem, 3.2vw, 0.98rem);
    line-height: 1.55;
  }
}

/* Teléfonos angostos (320–360px): un poco más */
@media (max-width: 380px){
  .poem-body-fit{
    font-size: clamp(0.68rem, 3.5vw, 0.92rem);
    line-height: 1.50;
  }
}

/* =========================
   POEMA — Acciones, compartir y navegación
   ========================= */

.poem-breadcrumb{
  font-family: Inter, system-ui, Arial, sans-serif;
  font-size: 0.92rem;
  opacity: 0.85;
  margin: 0 0 12px 0;
}
.poem-breadcrumb a{ text-decoration: none; }
.poem-breadcrumb a:hover{ text-decoration: underline; }

.poem-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  font-family: Inter, system-ui, Arial, sans-serif;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.12);
}

.btn-primary{
  background: rgba(0,0,0,0.92);
  color: #fff;
  border-color: rgba(0,0,0,0.92);
}

.btn-secondary{
  background: rgba(255,255,255,0.92);
  color: rgba(0,0,0,0.92);
}

.btn-ghost{
  background: transparent;
  color: rgba(0,0,0,0.92);
}

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

.poem-share{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  font-family: Inter, system-ui, Arial, sans-serif;
  font-size: 0.92rem;
}

.poem-share-label{
  opacity: 0.8;
  font-weight: 600;
}

.share-link{
  text-decoration: none;
  border-bottom: 1px dotted rgba(0,0,0,0.35);
}
.share-link:hover{
  border-bottom-style: solid;
}

.poem-stanza{
  margin: 0 0 16px 0;
}

/* Navegación anterior/siguiente */
.poem-nav{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.10);
}
.poem-nav-link{
  text-decoration: none;
  font-family: Inter, system-ui, Arial, sans-serif;
  font-weight: 600;
}
.poem-nav-link:hover{
  text-decoration: underline;
}

/* Móvil: que no se aplaste */
@media (max-width: 600px){
  .poem-nav{
    flex-direction: column;
    align-items: flex-start;
  }
}

.page-header .lead{
  font-size: 1.05rem;
  opacity: 0.85;
  margin-top: 8px;
}

.card{
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
}

.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.list-clean{
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.list-clean li{ margin: 6px 0; }

.cta-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.quotes blockquote{
  margin: 10px 0;
  padding: 10px 12px;
  border-left: 3px solid rgba(0,0,0,0.25);
  background: rgba(0,0,0,0.04);
  border-radius: 10px;
}

.muted{
  opacity: 0.75;
  font-size: 0.95rem;
}

@media (max-width: 800px){
  .grid-2{ grid-template-columns: 1fr; }
}

/* =========================
   NAV — Dropdown "Más" (limpio y sin conflictos)
   ========================= */

.nav-dropdown{
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Botón "Más" con estilo igual a .nav-link */
.nav-dropdown-toggle{
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  line-height: 1;
}

.nav-dropdown-toggle:hover{
  background: rgba(0,0,0,0.04);
  color: #222;
}

/* Menú desplegable: oculto por defecto */
.nav-dropdown-menu{
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 210px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.98);
  box-shadow: 0 14px 34px rgba(0,0,0,0.14);
  z-index: 9999;
}

/* Items */
.nav-dropdown-item{
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  white-space: nowrap;
}

.nav-dropdown-item:hover{
  background: rgba(0,0,0,0.05);
  color: #222;
}

/* Touch/click: abrir con clase (JS) */
.nav-dropdown.is-open .nav-dropdown-menu{
  display: block;
}

.nav-dropdown:focus-within .nav-dropdown-menu{
  display: block;
}

/* Mobile: el dropdown cae dentro del flujo (no flotante) */
@media (max-width: 880px){
  .nav-dropdown{
    width: 100%;
    display: block;
  }
  .nav-dropdown-menu{
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }
}

.site-header.menu-grid-mobile .nav-toggle{
  display: none !important;
}

@media (max-width: 880px){
  .site-header.menu-grid-mobile .nav-toggle{
    display: none !important;
  }

  .site-header.menu-grid-mobile,
  .site-header.menu-grid-mobile .header-inner,
  .site-header.menu-grid-mobile .site-nav{
    overflow: visible;
  }

  .site-header.menu-grid-mobile .site-nav{
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    justify-content: stretch;
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding-top: 10px;
  }

  .site-header.menu-grid-mobile .site-nav > a,
  .site-header.menu-grid-mobile .site-nav > span,
  .site-header.menu-grid-mobile .site-nav > .nav-dropdown{
    width: 100%;
  }

  .site-header.menu-grid-mobile .nav-link,
  .site-header.menu-grid-mobile .nav-dropdown-toggle,
  .site-header.menu-grid-mobile .nav-link-active{
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(195,112,58,0.32);
    background: rgba(195,112,58,0.20);
    color: #2a1b16;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-header.menu-grid-mobile .nav-link-active{
    background: rgba(255, 203, 187, 0.75);
    border-color: rgba(195,112,58,0.40);
  }

  .site-header.menu-grid-mobile .nav-dropdown.is-open .nav-dropdown-toggle{
    background: rgba(255, 203, 187, 0.75);
  }

  .site-header.menu-grid-mobile .nav-dropdown{
    position: relative;
  }

  .site-header.menu-grid-mobile .nav-dropdown-menu{
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    right: 0 !important;
    width: auto;
    z-index: 10000;
  }
}

/* Overlay de PLAY sobre poster */
.video-frame.has-overlay{
  position: relative;
}

.video-play-overlay{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none; /* no bloquea clicks del video */
}

.video-play-overlay img{
  width: clamp(56px, 18%, 92px);
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.55));
}

/* Ocultar overlay cuando el video está reproduciéndose o en pausa con controles */
.video-frame.has-overlay video[poster] + .video-play-overlay{
  /* por defecto visible */
}

.video-frame.has-overlay video:playing + .video-play-overlay{
  display: none;
}

/* Fallback: si :playing no está soportado, lo ocultamos al iniciar interacción */
.video-frame.has-overlay video:focus + .video-play-overlay,
.video-frame.has-overlay video:active + .video-play-overlay{
  display: none;
}
