/* espectaculotoledo.eu - style.css?v=2 */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,400&display=swap');

:root {
  --rojo:      #8B1A1A;
  --rojo-osc:  #6B1010;
  --dorado:    #C9A84C;
  --dorado-cl: #F5D78E;
  --crema:     #FAF7F2;
  --marron-cl: #F0E8D8;
  --text:      #1C1008;
  --text-sec:  #4A3828;
  --borde:     #DDD0B8;
  --blanco:    #FFFFFF;
  --sombra:    rgba(139,26,26,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }

html { scroll-behavior: smooth; }
body {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--crema);
}

/* ─── TIPOGRAFÍA ─── */
h1,h2,h3,h4 {
  font-family: 'Cinzel', serif;
  color: var(--rojo);
  line-height: 1.25;
}
h1 { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 700; margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.3rem, 3.5vw, 1.9rem); font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: .8rem; color: var(--rojo-osc); }
p  { margin-bottom: 1rem; }
strong { font-weight: 600; }
a { color: var(--rojo); text-decoration: none; }
a:hover { color: var(--dorado); }

/* ─── CABECERA ─── */
.cab-principal {
  background: var(--rojo);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.cab-interior {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1.5rem; gap: 1rem;
}
.logo-espect {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--dorado-cl);
  white-space: nowrap;
}
.logo-espect .acento-logo { color: var(--blanco); }

.nav-hist { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.nav-hist a {
  font-family: 'Cinzel', serif;
  font-size: .8rem; font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: .06em; text-transform: uppercase;
  transition: color .2s;
}
.nav-hist a:hover { color: var(--dorado-cl); }

.btn-cta-cab {
  font-family: 'Cinzel', serif;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  background: var(--dorado); color: var(--rojo);
  padding: .5rem 1.1rem; border-radius: 3px;
  white-space: nowrap; transition: background .2s, color .2s;
}
.btn-cta-cab:hover { background: var(--dorado-cl); color: var(--rojo-osc); }

/* ─── HERO ─── */
.hero-toledo {
  position: relative; width: 100%;
  background: var(--rojo-osc);
  overflow: hidden;
}
.hero-toledo img {
  width: 100%; height: 520px;
  object-fit: cover; object-position: center;
  opacity: .65; display: block;
}
.hero-contenido {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: 2rem clamp(1.5rem, 8vw, 5rem);
  max-width: 700px;
}
.hero-contenido h1 { color: var(--dorado-cl); text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.hero-contenido p  { color: rgba(255,255,255,.92); font-size: 1.1rem; text-shadow: 0 1px 6px rgba(0,0,0,.5); }

.btn-cta-hero {
  display: inline-block; margin-top: .5rem;
  font-family: 'Cinzel', serif;
  font-size: .85rem; font-weight: 700; letter-spacing: .1em;
  background: var(--dorado); color: var(--rojo);
  padding: .75rem 1.8rem; border-radius: 3px;
  box-shadow: 0 3px 14px rgba(0,0,0,.3);
  transition: background .2s, transform .15s;
}
.btn-cta-hero:hover { background: var(--dorado-cl); transform: translateY(-2px); }

/* ─── CONTENEDOR PRINCIPAL ─── */
.contenedor { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ─── ARTÍCULO PRINCIPAL ─── */
.cuerpo-art { max-width: 780px; margin: 0 auto; padding: 3rem 1.5rem; }
.cuerpo-art h2 {
  margin-top: 2.5rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--dorado);
  display: inline-block;
}

/* ─── FOTO DE SECCIÓN ─── */
.foto-toledo {
  display: block; width: 100%; height: 280px;
  object-fit: cover; object-position: center;
  border-radius: 4px;
  margin: 1.2rem 0 1.5rem;
  box-shadow: 0 4px 18px var(--sombra);
}

/* ─── LISTAS ─── */
ul.lista-hist, ol.lista-hist {
  margin: .8rem 0 1rem 1.4rem;
}
ul.lista-hist li, ol.lista-hist li {
  margin-bottom: .5rem;
}
ul.lista-hist { list-style: none; padding-left: 0; }
ul.lista-hist li::before {
  content: '◆';
  color: var(--dorado);
  font-size: .65rem;
  margin-right: .6rem;
  vertical-align: middle;
}

/* ─── ZONA WIDGET ─── */
.zona-widget {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--marron-cl);
  border: 1px solid var(--borde);
  border-radius: 6px;
}

/* ─── TABLA ─── */
.tabla-env { overflow-x: auto; margin: 1rem 0 1.5rem; }
.tabla-hist {
  width: 100%; border-collapse: collapse;
  font-size: 1rem;
}
.tabla-hist th {
  background: var(--rojo);
  color: var(--dorado-cl);
  font-family: 'Cinzel', serif;
  font-size: .8rem; letter-spacing: .06em;
  padding: .65rem 1rem; text-align: left;
}
.tabla-hist td {
  padding: .6rem 1rem;
  border-bottom: 1px solid var(--borde);
  vertical-align: middle;
}
.tabla-hist tr:nth-child(even) td { background: var(--marron-cl); }
.tabla-hist tr:last-child td { border-bottom: none; }
.tabla-hist .precio-cel { font-weight: 600; color: var(--rojo); white-space: nowrap; }

/* Mobile tables */
@media (max-width: 600px) {
  .tabla-hist thead { display: none; }
  .tabla-hist td {
    display: block;
    text-align: right;
    padding: .5rem 1rem;
  }
  .tabla-hist td::before {
    content: attr(data-label);
    float: left;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    font-size: .78rem;
    color: var(--rojo);
  }
  .tabla-hist tr { display: block; border-bottom: 2px solid var(--borde); margin-bottom: .5rem; }
}

/* ─── TARJETA GYG ─── */
.tarjeta-gyg {
  border: 2px solid var(--dorado);
  border-radius: 8px;
  padding: 1.5rem 1.8rem;
  margin: 1.5rem 0;
  background: linear-gradient(135deg, var(--marron-cl) 0%, var(--crema) 100%);
  box-shadow: 0 3px 14px var(--sombra);
}
.tarjeta-gyg h3 { margin-bottom: 1rem; }
.tarjeta-gyg ul { list-style: none; padding: 0; margin: .8rem 0 1.2rem; }
.tarjeta-gyg ul li {
  padding: .3rem 0;
  padding-left: 1.4rem;
  position: relative;
}
.tarjeta-gyg ul li::before {
  content: '✓';
  color: var(--dorado);
  font-weight: 700;
  position: absolute; left: 0;
}

.btn-gyg {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em;
  background: var(--rojo); color: var(--dorado-cl);
  padding: .7rem 1.6rem; border-radius: 3px;
  transition: background .2s, transform .15s;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.btn-gyg:hover { background: var(--rojo-osc); transform: translateY(-2px); color: var(--dorado-cl); }

/* ─── FAQ ─── */
.faq-entrada {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 5px;
  margin-bottom: .9rem;
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.faq-entrada.abierta {
  border-color: var(--dorado);
  box-shadow: 0 3px 14px var(--sombra);
}
.faq-disparador {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.1rem 1.4rem;
  cursor: pointer; gap: 1.2rem;
}
.faq-disparador h2 {
  font-size: 1rem;
  color: var(--text);
  margin: 0;
  border: none;
  font-family: 'Crimson Pro', serif;
  font-weight: 600;
}
.faq-icono {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--borde);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--rojo);
  transition: transform .25s, background .2s;
  font-family: monospace;
  line-height: 1;
}
.faq-entrada.abierta .faq-icono {
  transform: rotate(45deg);
  background: var(--rojo);
  color: var(--blanco);
  border-color: var(--rojo);
}
.faq-respuesta {
  display: none;
  padding: 0 1.4rem 1.4rem;
  border-top: 1px solid var(--borde);
}
.faq-entrada.abierta .faq-respuesta { display: block; }
.faq-respuesta p { margin-top: 1rem; margin-bottom: 0; font-size: 1rem; }

/* ─── MIGA DE PAN ─── */
.miga-pan {
  font-size: .85rem; color: var(--text-sec);
  padding: .75rem 1.5rem;
  background: var(--marron-cl);
  border-bottom: 1px solid var(--borde);
}
.miga-pan a { color: var(--rojo); }
.miga-pan span { margin: 0 .4rem; color: var(--borde); }

/* ─── PÁGINA INTERNA ─── */
.pagina-int { max-width: 780px; margin: 0 auto; padding: 3rem 1.5rem; }
.pagina-int h1 { margin-bottom: 1.5rem; }
.pagina-int h2 { margin-top: 2rem; margin-bottom: .75rem; }

/* ─── PIE DE PÁGINA ─── */
.pie-principal {
  background: var(--rojo);
  color: rgba(255,255,255,.8);
  margin-top: 3rem;
  padding: 3rem 1.5rem 1.5rem;
}
.pie-interior {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
.pie-col h4 {
  font-family: 'Cinzel', serif;
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dorado-cl); margin-bottom: 1rem;
}
.pie-col p { font-size: .9rem; margin-bottom: .5rem; color: rgba(255,255,255,.75); }
.pie-col a { color: rgba(255,255,255,.75); font-size: .9rem; }
.pie-col a:hover { color: var(--dorado-cl); }
.pie-col ul { list-style: none; }
.pie-col ul li { margin-bottom: .4rem; }
.logo-pie {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--dorado-cl); margin-bottom: .75rem; display: block;
}
.pie-fondo {
  max-width: 1100px; margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: .82rem; color: rgba(255,255,255,.5);
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between;
  align-items: center;
}
.pie-fondo a { color: rgba(255,255,255,.5); }
.pie-fondo a:hover { color: var(--dorado-cl); }
.pie-aviso {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-top: 1rem; padding-top: .75rem;
  border-top: 1px solid rgba(255,255,255,.15);
  max-width: 1100px; margin-inline: auto;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .pie-interior { grid-template-columns: 1fr 1fr; }
  .nav-hist { gap: 1rem; }
  .hero-toledo img { height: 380px; }
  .hero-contenido { padding: 1.5rem; }
}
/* ─── HAMBURGER BUTTON ─── */
.btn-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
  position: relative;
  flex-shrink: 0;
}
.btn-hamburger .bar {
  display: block;
  position: absolute;
  left: 7px;
  width: 22px;
  height: 2px;
  background: var(--dorado-cl);
  border-radius: 2px;
  transition: top .2s .2s, transform .2s 0s, opacity .15s;
}
.btn-hamburger .bar:nth-child(1) { top: 10px; }
.btn-hamburger .bar:nth-child(2) { top: 17px; }
.btn-hamburger .bar:nth-child(3) { top: 24px; }

.btn-hamburger.abrir .bar { transition: top .2s 0s, transform .2s .2s, opacity .15s; }
.btn-hamburger.abrir .bar:nth-child(1) { top: 17px; transform: rotate(45deg); }
.btn-hamburger.abrir .bar:nth-child(2) { opacity: 0; }
.btn-hamburger.abrir .bar:nth-child(3) { top: 17px; transform: rotate(-45deg); }

/* ─── MOBILE NAV OVERLAY ─── */
.nav-movil {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  inset: 0;
  background: #1A0505F5;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: opacity .25s, visibility .25s;
}
.nav-movil.abrir {
  visibility: visible;
  opacity: 1;
}
.nav-movil a {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dorado-cl);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .85rem 2rem;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-movil a:first-of-type { border-top: 1px solid rgba(255,255,255,.08); }
.nav-movil a:hover { color: var(--blanco); background: rgba(255,255,255,.05); }
.nav-movil .cta-nav-mov {
  margin-top: 1.5rem;
  background: var(--dorado);
  color: var(--rojo) !important;
  border-bottom: none !important;
  border-top: none !important;
  border-radius: 3px;
  width: auto;
  padding: .8rem 2rem;
  font-weight: 700;
}
.nav-movil .cta-nav-mov:hover { background: var(--dorado-cl); color: var(--rojo-osc) !important; }
.nav-movil-cerrar {
  position: absolute;
  top: 1rem; right: 1.25rem;
  background: none;
  border: none;
  color: rgba(255,255,255,.6);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: .25rem .5rem;
}
.nav-movil-cerrar:hover { color: var(--dorado-cl); }

/* ─── MOBILE BREAKPOINTS ─── */
@media (max-width: 520px) {
  .pie-interior { grid-template-columns: 1fr; }
  .cab-interior { flex-wrap: nowrap; }
  .nav-hist { display: none; }
  .btn-cta-cab { display: none; }
  .btn-hamburger { display: block; }
  .hero-toledo img { height: 300px; }
}
