/* =============================================
   termasbucarest.eu — estilo-v1.css
   Fuentes: Lora + Nunito Sans
   Paleta: rojo español #c60b1e + oro #f1bf00 + crema
   Anti-Footprint: nombres de clase nuevos
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Nunito+Sans:wght@300;400;600;700&display=swap');

:root {
  --rojo:    #c60b1e;
  --rojo-os: #a0091a;
  --oro:     #f1bf00;
  --oro-cl:  #f7d340;
  --crema:   #fdf8f0;
  --crema-2: #f4eddd;
  --brd:     #e2d4b8;
  --txp:     #1a0a05;
  --txs:     #4a2015;
  --blanco:  #ffffff;
  --somb:    rgba(198,11,30,.10);
  --rad:     4px;
}

*, *::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: 'Nunito Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--txp);
  background: var(--crema);
}

a { color: var(--rojo); text-decoration: none; }
a:hover { color: var(--rojo-os); text-decoration: underline; }

/* ========================
   BARRA DE NAVEGACIÓN
   ======================== */
.barra-cabecera {
  background: var(--rojo);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,.28);
}
.fila-nav {
  max-width: 1100px; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center;
  justify-content: space-between;
  height: 62px;
}
.logo-web {
  font-family: 'Lora', serif;
  font-size: 1.45rem; font-weight: 700;
  color: var(--crema); letter-spacing: .03em;
  text-decoration: none;
}
.logo-web .parte-oro { color: var(--oro-cl); }
.logo-web:hover { color: var(--crema); text-decoration: none; }

.nav-principal { display: flex; align-items: center; gap: 1.6rem; }
.nav-principal a {
  font-size: .83rem; font-weight: 600;
  color: rgba(255,255,255,.82);
  letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; transition: color .2s;
}
.nav-principal a:hover { color: var(--oro-cl); text-decoration: none; }

.btn-comprar {
  background: var(--oro) !important;
  color: var(--rojo-os) !important;
  padding: .42rem 1.15rem !important;
  border-radius: var(--rad) !important;
  font-weight: 700 !important; font-size: .79rem !important;
  letter-spacing: .09em !important;
  transition: background .2s !important;
}
.btn-comprar:hover { background: var(--oro-cl) !important; text-decoration: none !important; }

.btn-hamburguesa {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px; padding: 4px;
}
.btn-hamburguesa span {
  display: block; width: 24px; height: 2px;
  background: var(--crema); border-radius: 2px; transition: all .25s;
}

/* ========================
   BANNER PRINCIPAL
   ======================== */
.portada-hero {
  position: relative; width: 100%;
  height: 68vh; min-height: 400px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.portada-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
}
.overlay-portada {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(160,9,26,.92) 0%, rgba(160,9,26,.20) 55%, transparent 100%);
}
.contenido-portada {
  position: relative; z-index: 2;
  width: 100%; max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 2.8rem;
}
.contenido-portada h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2.2rem, 5.5vw, 3.9rem);
  font-weight: 700; color: #FFFFFF;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0,0,0,.48);
  margin-bottom: .5rem;
}
.contenido-portada .tagline {
  font-size: 1rem; color: rgba(255,255,255,.88);
  max-width: 560px; margin-bottom: 1.6rem;
  font-weight: 400;
}

/* ========================
   BOTONES
   ======================== */
.btn-accion {
  display: inline-block;
  background: var(--rojo); color: #FFFFFF !important;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700; font-size: .88rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .9rem 2.1rem; border-radius: var(--rad);
  transition: background .2s, transform .15s;
  text-decoration: none !important;
  box-shadow: 0 3px 14px rgba(198,11,30,.30);
}
.btn-accion:hover {
  background: var(--rojo-os); transform: translateY(-1px);
  color: #FFFFFF !important; text-decoration: none !important;
}
/* CTA en hero blanco sobre rojo oscuro */
.portada-hero .btn-accion {
  background: var(--oro); color: var(--rojo-os) !important;
  box-shadow: 0 3px 14px rgba(241,191,0,.40);
}
.portada-hero .btn-accion:hover { background: var(--oro-cl); color: var(--rojo-os) !important; }

/* ========================
   CONTENEDOR DE PÁGINA
   ======================== */
.envoltorio-pagina { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ========================
   BLOQUES DE ARTÍCULO
   ======================== */
.bloque-articulo {
  padding: 3.2rem 0;
  border-bottom: 1px solid var(--brd);
}
.bloque-articulo:last-child { border-bottom: none; }

.bloque-articulo h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 600; color: var(--rojo);
  margin-bottom: 1.2rem; padding-bottom: .5rem;
  border-bottom: 2px solid var(--oro);
  display: inline-block;
}
.bloque-articulo h3 {
  font-family: 'Lora', serif;
  font-size: 1.3rem; color: var(--rojo);
  margin: 1.5rem 0 .7rem;
}
.bloque-articulo p { margin-bottom: 1rem; color: var(--txs); }
.bloque-articulo p:last-child { margin-bottom: 0; }
.bloque-articulo strong { color: var(--txp); font-weight: 700; }

.imagen-bloque {
  width: 100%; height: 270px;
  object-fit: cover; object-position: center;
  border-radius: var(--rad); margin: 1.4rem 0;
  box-shadow: 0 4px 18px var(--somb);
}

.contenedor-widget { margin: 1.5rem 0; padding: .5rem 0; }

/* ========================
   LISTAS
   ======================== */
.lista-flecha {
  list-style: none; margin: 1rem 0 1.2rem; padding: 0;
}
.lista-flecha li {
  padding: .35rem 0 .35rem 1.8rem;
  position: relative; color: var(--txs);
}
.lista-flecha li::before {
  content: '›'; position: absolute; left: 0;
  color: var(--rojo); font-weight: 700; font-size: 1.2rem; line-height: 1.55;
}

.lista-ordenada {
  list-style: none; counter-reset: lo;
  margin: 1rem 0 1.2rem; padding: 0;
}
.lista-ordenada li {
  counter-increment: lo;
  padding: .45rem 0 .45rem 2.6rem;
  position: relative; color: var(--txs);
}
.lista-ordenada li::before {
  content: counter(lo);
  position: absolute; left: 0;
  background: var(--rojo); color: #FFFFFF;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700; top: .55rem;
}

/* ========================
   TABLAS
   ======================== */
.contenedor-tabla { overflow-x: auto; margin: 1rem 0 1.2rem; }
.tabla-precios {
  width: 100%; border-collapse: collapse; font-size: .94rem;
}
.tabla-precios th {
  background: var(--rojo); color: #FFFFFF;
  padding: .75rem 1rem; text-align: left;
  font-weight: 700; font-size: .82rem;
  letter-spacing: .05em; text-transform: uppercase;
}
.tabla-precios td {
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--brd);
  color: var(--txs); vertical-align: top;
}
.tabla-precios tr:last-child td { border-bottom: none; }
.tabla-precios tr:nth-child(even) td { background: var(--crema-2); }
.tabla-precios .td-precio { font-weight: 700; color: var(--rojo); white-space: nowrap; }

@media (max-width: 600px) {
  .tabla-precios thead { display: none; }
  .tabla-precios tr {
    display: block; background: var(--crema-2);
    border: 1px solid var(--brd); border-radius: var(--rad);
    margin-bottom: .65rem; padding: .75rem;
  }
  .tabla-precios td { display: block; border: none; padding: .2rem 0; }
  .tabla-precios td::before {
    content: attr(data-label) ': ';
    font-weight: 700; color: var(--txp);
    font-size: .78rem; text-transform: uppercase; letter-spacing: .04em;
  }
}

/* ========================
   TARJETA DE SOCIO
   ======================== */
.tarjeta-socio {
  background: var(--crema-2);
  border: 1px solid var(--brd);
  border-left: 4px solid var(--oro);
  border-radius: var(--rad);
  padding: 1.5rem 1.8rem; margin: 1.5rem 0;
}
.tarjeta-socio h3 { margin-top: 0; font-family: 'Lora', serif; font-size: 1.25rem; color: var(--rojo); }
.tarjeta-socio ul { list-style: none; padding: 0; margin: .75rem 0; }
.tarjeta-socio ul li { padding: .3rem 0 .3rem 1.6rem; position: relative; color: var(--txs); font-size: .95rem; }
.tarjeta-socio ul li::before { content: '✓'; position: absolute; left: 0; color: var(--rojo); font-weight: 700; }

/* ========================
   CAJA DE HORARIOS
   ======================== */
.recuadro-datos {
  background: #FFFFFF; border: 1px solid var(--brd);
  border-radius: var(--rad); padding: 1.4rem; margin: 1rem 0;
  box-shadow: 0 2px 8px var(--somb);
}
.recuadro-datos h4 {
  font-family: 'Lora', serif; color: var(--rojo);
  font-size: 1rem; margin-bottom: .7rem;
  text-transform: uppercase; letter-spacing: .07em;
}
.recuadro-datos dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; }
.recuadro-datos dt { font-weight: 700; color: var(--txp); font-size: .9rem; }
.recuadro-datos dd { color: var(--txs); font-size: .9rem; }

/* ========================
   PREGUNTAS FRECUENTES
   ======================== */
.acordeon-faq { margin: 1.5rem 0; }

.item-faq {
  background: #FFFFFF;
  border: 1px solid var(--brd);
  border-radius: 6px;
  margin-bottom: .9rem;
  overflow: hidden;
  transition: box-shadow .2s;
}
.item-faq:hover { box-shadow: 0 3px 12px var(--somb); }
.item-faq.desplegado { box-shadow: 0 3px 14px rgba(198,11,30,.14); border-color: var(--oro); }

.encabezado-faq {
  display: flex; justify-content: space-between;
  align-items: flex-start;
  padding: 1.1rem 1.4rem;
  cursor: pointer; user-select: none; gap: 1.2rem;
  transition: background .2s;
}
.encabezado-faq:hover { background: var(--crema-2); }
.item-faq.desplegado .encabezado-faq { background: var(--crema-2); }

h2.titulo-faq {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem; font-weight: 700;
  color: var(--txp); margin: 0;
  border: none !important; padding: 0 !important;
  display: inline !important; line-height: 1.55;
}

.icono-faq {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--crema-2);
  border: 1.5px solid var(--brd);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 300;
  color: var(--rojo); line-height: 1;
  transition: transform .25s, background .2s;
  margin-top: .1rem;
}
.item-faq.desplegado .icono-faq {
  transform: rotate(45deg);
  background: var(--rojo); color: #FFFFFF;
  border-color: var(--rojo);
}

.cuerpo-faq {
  display: none;
  padding: 0 1.4rem 1.4rem 1.4rem;
  border-top: 1px solid var(--brd);
}
.item-faq.desplegado .cuerpo-faq { display: block; }
.cuerpo-faq p {
  margin: 1rem 0 0;
  color: var(--txs);
  font-size: .97rem; line-height: 1.78;
}

/* ========================
   HERO ENTRADAS (página /entradas/)
   ======================== */
.cabecera-entradas {
  background: linear-gradient(135deg, var(--rojo) 0%, var(--rojo-os) 100%);
  padding: 3rem 0 2.5rem;
}
.cabecera-entradas h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  color: #FFFFFF; margin-bottom: .75rem;
}
.cabecera-entradas p { color: rgba(255,255,255,.84); }
.cabecera-entradas .btn-accion {
  margin-top: 1.2rem;
  background: var(--oro); color: var(--rojo-os) !important;
  box-shadow: 0 3px 14px rgba(241,191,0,.35);
}
.cabecera-entradas .btn-accion:hover { background: var(--oro-cl); }

/* ========================
   HERO SUBPÁGINAS
   ======================== */
.cabecera-subpagina {
  background: var(--crema-2);
  padding: 2.5rem 0 2rem;
  border-bottom: 3px solid var(--oro);
}
.cabecera-subpagina h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
  color: var(--rojo); margin-bottom: .7rem;
}
.cabecera-subpagina p { color: var(--txs); max-width: 660px; }

/* Migas de pan */
.ruta-pagina {
  font-size: .82rem; color: var(--txs); padding: .8rem 0;
}
.ruta-pagina a { color: var(--rojo); }
.ruta-pagina a:hover { color: var(--rojo-os); }
.ruta-pagina span { margin: 0 .45rem; color: var(--brd); }

/* ========================
   PIE DE PÁGINA
   ======================== */
.footer-sitio {
  background: var(--rojo-os); color: rgba(255,255,255,.75);
  padding: 3rem 0 2rem; margin-top: 4rem;
}
.columnas-footer {
  max-width: 1100px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem;
}
.logo-footer {
  font-family: 'Lora', serif; font-size: 1.3rem;
  color: var(--oro-cl); margin-bottom: .75rem;
}
.footer-sitio p { font-size: .88rem; line-height: 1.6; margin-bottom: .5rem; }
.footer-sitio h4 {
  color: #FFFFFF; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .09em; margin-bottom: .75rem;
}
.footer-sitio ul { list-style: none; }
.footer-sitio ul li { margin-bottom: .4rem; }
.footer-sitio ul a { color: rgba(255,255,255,.55); font-size: .88rem; transition: color .2s; }
.footer-sitio ul a:hover { color: var(--oro-cl); text-decoration: none; }
.barra-footer {
  max-width: 1100px; margin: 1.8rem auto 0;
  padding: 1.4rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem; font-size: .8rem;
}
.aviso-afiliacion { font-size: .78rem; color: rgba(255,255,255,.4); font-style: italic; }

/* ========================
   PÁGINAS LEGALES
   ======================== */
.contenido-legal { padding: 3rem 0; }
.contenido-legal h2 { font-family:'Lora',serif; font-size:1.55rem; color:var(--rojo); margin:2rem 0 .75rem; padding-bottom:.4rem; border-bottom:1px solid var(--brd); }
.contenido-legal h3 { font-size:1.1rem; font-weight:700; color:var(--rojo-os); margin:1.5rem 0 .5rem; }
.contenido-legal p { color:var(--txs); margin-bottom:1rem; }
.contenido-legal ul { list-style:disc; padding-left:1.5rem; margin-bottom:1rem; }
.contenido-legal ul li { color:var(--txs); margin-bottom:.35rem; }

/* ========================
   RESPONSIVO
   ======================== */
@media (max-width: 768px) {
  .nav-principal { display: none; flex-direction: column; gap: 0; }
  .nav-principal.abierto {
    display: flex; position: absolute; top: 62px; left: 0; right: 0;
    background: var(--rojo); padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 6px 16px rgba(0,0,0,.3); z-index: 99;
  }
  .nav-principal.abierto a { padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .95rem; color: rgba(255,255,255,.88); }
  .nav-principal.abierto .btn-comprar { margin-top: .5rem; display: inline-block; background: var(--oro) !important; color: var(--rojo-os) !important; }
  .btn-hamburguesa { display: flex; }
  .barra-cabecera { position: relative; }
  .columnas-footer { grid-template-columns: 1fr; gap: 1.4rem; }
  .portada-hero { height: 55vw; min-height: 280px; }
  .bloque-articulo { padding: 2.2rem 0; }
  .imagen-bloque { height: 190px; }
}
@media (max-width: 480px) {
  .fila-nav { padding: 0 1rem; }
  .envoltorio-pagina { padding: 0 1rem; }
  .contenido-portada { padding: 0 1rem 1.5rem; }
}
