/* Espansino.best · arena 60 · teja 30 · turquesa 10 */
:root {
  --arena: #f7f2ea;
  --arena-2: #efe5d6;
  --arena-3: #fffaf2;
  --linea: #e3d3bd;
  --teja: #9e3b1e;
  --teja-c: #c2552e;
  --teja-o: #6e2612;
  --teja-n: #451709;
  --tinta: #2b140c;
  --tinta-2: #5e4136;
  --turq: #12c8ae;
  --turq-o: #0b8f7c;
  --turq-t: #d3f5ef;
  --slab: "Rockwell", "Rockwell Nova", "Roboto Slab", "Zilla Slab", "Bookman Old Style", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ancho: 1180px;
  --radio: 20px;
  --sombra: 0 1px 0 rgba(110, 38, 18, .06), 0 14px 34px -18px rgba(110, 38, 18, .38);
  --azulejo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23f7f2ea' stroke-width='1.3' opacity='.16'%3E%3Cpath d='M0 0h23.5A23.5 23.5 0 0 1 0 23.5zM56 0v23.5A23.5 23.5 0 0 1 32.5 0zM56 56H32.5A23.5 23.5 0 0 1 56 32.5zM0 56V32.5A23.5 23.5 0 0 1 23.5 56z'/%3E%3Cpath d='M28 17.5l3.2 7.3 7.3 3.2-7.3 3.2L28 38.5l-3.2-7.3-7.3-3.2 7.3-3.2zM20.6 20.6h14.8v14.8H20.6z'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--arena);
  color: var(--tinta);
  font: 400 17px/1.68 var(--sans);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teja); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--teja-o); text-decoration-color: var(--turq); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--slab); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; color: var(--teja-n); }
.marco { width: min(100% - 32px, var(--ancho)); margin-inline: auto; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.atajo { position: absolute; left: 12px; top: -60px; z-index: 90; background: var(--tinta); color: var(--arena); padding: 10px 16px; border-radius: 10px; }
.atajo:focus-visible { top: 10px; }

/* ---------- CTA: a slot-reel label that rolls + a turquoise wave ---------- */
.boton {
  --b-alto: 1.3em;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2ee0c4 0%, var(--turq) 55%, #10b89f 100%);
  color: var(--tinta);
  font: 800 16px/1.3 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--turq-o), 0 10px 22px -10px rgba(11, 143, 124, .9);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.boton:hover { color: var(--tinta); filter: saturate(1.08) brightness(1.03); transform: translateY(-1px); box-shadow: 0 5px 0 var(--turq-o), 0 14px 26px -10px rgba(11, 143, 124, .95); }
.boton:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--turq-o), 0 6px 14px -8px rgba(11, 143, 124, .9); }
.boton__rodillo { display: block; height: var(--b-alto); overflow: hidden; }
.boton__rodillo > span { display: block; height: var(--b-alto); line-height: var(--b-alto); white-space: nowrap; transition: transform .38s cubic-bezier(.6, -0.28, .35, 1.4); }
.boton:hover .boton__rodillo > span, .boton:focus-visible .boton__rodillo > span { transform: translateY(-100%); }
.boton__flecha { flex: none; transition: transform .25s ease; }
.boton:hover .boton__flecha { transform: translateX(4px); }
.boton--latido::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  border: 2px solid var(--turq);
  opacity: 0;
  animation: ola 2.9s ease-out infinite;
}
.boton--latido .boton__rodillo > span { animation: rodar 4.6s cubic-bezier(.6, -0.28, .35, 1.4) infinite; }
.boton--latido:hover .boton__rodillo > span { animation: none; }
@keyframes ola {
  0% { opacity: .85; transform: scale(1); }
  70% { opacity: 0; transform: scale(1.12, 1.45); }
  100% { opacity: 0; transform: scale(1.12, 1.45); }
}
@keyframes rodar {
  0%, 74% { transform: translateY(0); }
  84%, 100% { transform: translateY(-100%); }
}
.boton--mini { padding: 9px 16px 10px; font-size: 14.5px; box-shadow: 0 3px 0 var(--turq-o); }
.boton--ancho { width: 100%; }

/* ---------- header ---------- */
.techo {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 234, .94);
  backdrop-filter: saturate(1.2) blur(8px);
  box-shadow: inset 0 -3px 0 var(--teja);
}
.techo__fila { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.techo__marca img { width: 196px; height: auto; }
.techo__menu { display: none; }
.techo__cta { display: none; margin-left: auto; }
.edad {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--arena-2);
  border: 2px solid var(--teja);
  color: var(--teja-n);
  font: 800 12.5px/1 var(--sans);
}
.cajon { position: static; }
.cajon > summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  list-style: none;
  padding: 9px 14px;
  border-radius: 12px;
  background: var(--teja);
  color: var(--arena-3);
  font: 700 15px/1 var(--sans);
  cursor: pointer;
}
.cajon > summary::-webkit-details-marker { display: none; }
.cajon__rayas, .cajon__rayas::before, .cajon__rayas::after { display: block; width: 17px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform .2s; }
.cajon__rayas::before, .cajon__rayas::after { content: ""; position: absolute; left: 0; }
.cajon__rayas::before { top: -5.5px; }
.cajon__rayas::after { top: 5.5px; }
.cajon[open] .cajon__rayas { background: transparent; }
.cajon[open] .cajon__rayas::before { transform: translateY(5.5px) rotate(45deg); }
.cajon[open] .cajon__rayas::after { transform: translateY(-5.5px) rotate(-45deg); }
.cajon__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: grid;
  gap: 9px;
  max-height: calc(100vh - 70px);
  overflow: auto;
  padding: 16px max(16px, calc((100vw - var(--ancho)) / 2)) 22px;
  background: var(--teja-n) var(--azulejo);
  box-shadow: 0 24px 40px -20px rgba(43, 20, 12, .7);
}
.cajon__etiqueta { color: #e9b9a4; font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 6px 4px 10px; }
.cajon__panel a:not(.boton) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--arena);
  color: var(--tinta);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 3px 0 rgba(43, 20, 12, .5);
  transition: background .15s, transform .15s;
}
.cajon__panel a:not(.boton)::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px; border-top: 2.5px solid var(--teja); border-right: 2.5px solid var(--teja); rotate: 45deg; }
.cajon__panel a:not(.boton):hover { background: var(--arena-3); }
.cajon__panel a:not(.boton):active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(43, 20, 12, .5); }
.cajon__panel a[aria-current="page"] { color: var(--teja); box-shadow: inset 6px 0 0 var(--turq), 0 3px 0 rgba(43, 20, 12, .5); }
.cajon__cta { margin-top: 14px; }
@media (min-width: 1240px) {
  .techo__menu { display: flex; flex: 1; justify-content: space-evenly; align-items: center; gap: 14px; margin: 0; }
  .techo__menu a { color: var(--tinta); text-decoration: none; font: 650 15px/1 var(--sans); padding: 8px 2px; border-bottom: 2px solid transparent; white-space: nowrap; }
  .techo__menu a:hover { color: var(--teja); border-bottom-color: var(--turq); }
  .techo__menu a[aria-current="page"] { color: var(--teja); border-bottom-color: var(--teja); }
  .techo__cta { display: inline-flex; margin-left: 0; }
  .edad { margin-left: 0; }
  .cajon { display: none; }
}
@media (max-width: 400px) {
  .techo__marca img { width: min(176px, calc(100vw - 150px)); }
  .techo__fila { gap: 10px; }
}

/* ---------- hero: the terracotta arch ---------- */
.arco {
  position: relative;
  background: radial-gradient(120% 90% at 85% 0%, var(--teja-c) 0%, var(--teja) 46%, var(--teja-o) 100%);
  color: var(--arena);
  padding: 22px 0 30px;
  margin-bottom: 18px;
}
.arco::before { content: ""; position: absolute; inset: 0; background: var(--azulejo) 0 -28px; pointer-events: none; }
.arco::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 14px;
  background: radial-gradient(circle at 50% 0, var(--teja-o) 13px, transparent 13.6px) 0 0 / 30px 14px repeat-x;
}
.arco__marco { position: relative; display: grid; gap: 24px; align-items: end; }
.arco__texto { min-width: 0; }
.migas ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 13.5px; color: #f0cdbd; }
.migas li + li::before { content: "›"; margin-right: 6px; opacity: .7; }
.migas a { color: var(--arena); text-decoration: none; }
.migas a:hover { color: var(--turq); }
.arco__titulo { margin: 0 0 12px; color: var(--arena-3); font-size: clamp(29px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; }
.arco__sello {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  vertical-align: .2em;
  padding: 5px 12px 6px 9px;
  border-radius: 999px;
  background: rgba(18, 200, 174, .16);
  border: 1.5px solid rgba(18, 200, 174, .65);
  color: #c8fbf2;
  font: 700 .36em/1 var(--sans);
  letter-spacing: .01em;
  white-space: nowrap;
}
.arco__bandera { width: 1.45em; height: auto; border-radius: 3px; }
.arco__entrada { max-width: 680px; }
.arco__lead { margin: 0; font-size: clamp(16.5px, 1.6vw, 19px); line-height: 1.55; color: #fbe9df; }
.arco__entrada.es-corto .arco__lead { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.arco__mas {
  margin-top: 8px;
  padding: 3px 12px 4px;
  border: 1.5px solid rgba(247, 242, 234, .45);
  border-radius: 999px;
  background: transparent;
  color: #f3d7ca;
  font-size: 13.5px;
  font-weight: 650;
}
.arco__mas:hover { border-color: var(--turq); color: var(--arena); }
.arco__pie { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 14px; }
.arco__fecha { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #f6dccf; }
.arco__punto { width: 9px; height: 9px; border-radius: 50%; background: var(--turq); box-shadow: 0 0 0 0 rgba(18, 200, 174, .7); animation: punto 2.4s ease-out infinite; }
@keyframes punto { 0% { box-shadow: 0 0 0 0 rgba(18, 200, 174, .65); } 80%, 100% { box-shadow: 0 0 0 9px rgba(18, 200, 174, 0); } }
.arco__corto { display: inline; }
.arco__largo { display: none; }
.arco__ventana { display: none; }
@media (min-width: 761px) {
  .arco { padding: 34px 0 44px; }
  .arco__corto { display: none; }
  .arco__largo { display: inline; }
}
@media (min-width: 980px) {
  .arco--grande .arco__marco { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
  .arco--grande .arco__ventana { display: block; align-self: end; margin-bottom: -44px; }
  .arco--grande .arco__ventana img { width: 300px; filter: drop-shadow(0 18px 26px rgba(43, 20, 12, .45)); }
  .arco--grande { padding-bottom: 44px; }
}
.arco--sobrio .arco__titulo, .arco--noticia .arco__titulo { font-size: clamp(28px, 4vw, 46px); }

/* ---------- casino list ---------- */
.vitrina { padding: 22px 0 34px; }
.vitrina__cab { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.vitrina__cab h2 { margin: 0; font-size: clamp(23px, 2.6vw, 30px); }
.vitrina__aviso { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--tinta-2); }
.vitrina__aviso span { display: inline-grid; place-items: center; min-width: 30px; height: 22px; border-radius: 6px; background: var(--teja); color: var(--arena-3); font-weight: 800; font-size: 12px; }
.vitrina__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
.vitrina__pie { margin: 16px 0 0; font-size: 13px; color: var(--tinta-2); text-align: center; }

.puesto {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--arena-3);
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}
.puesto--uno { border: 2px solid var(--turq); box-shadow: 0 0 0 5px rgba(18, 200, 174, .14), var(--sombra); }
.puesto__escudo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  padding: 14px 54px;
  border-radius: calc(var(--radio) - 1px) calc(var(--radio) - 1px) 0 0;
  background: radial-gradient(90% 120% at 50% 0%, #4a1b0c 0%, var(--tinta) 80%), var(--tinta);
  overflow: hidden;
}
.puesto__escudo::before { content: ""; position: absolute; inset: 0; background: var(--azulejo); opacity: .45; }
.puesto__n {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 8px 8px;
  background: var(--arena);
  color: var(--teja-n);
  font: 700 17px/1 var(--slab);
}
.puesto--uno .puesto__n { background: var(--turq); color: var(--tinta); }
.puesto__logo { position: relative; z-index: 1; display: block; line-height: 0; }
.puesto__logo img { width: 200px; height: 80px; max-width: 100%; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); transition: transform .25s ease; }
.puesto__logo:hover img { transform: scale(1.04) rotate(-1deg); }
.puesto__cuerpo { display: grid; grid-template-columns: 1fr; min-width: 0; }
.puesto__info { padding: 16px 16px 6px; min-width: 0; }
.puesto__cab { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.puesto__nombre { margin: 0; font-size: 24px; color: var(--teja-n); }
.puesto__cab small { color: var(--tinta-2); font-size: 13px; }
.puesto__nuevo { align-self: center; padding: 3px 8px; border-radius: 6px; background: var(--turq); color: var(--tinta); font: 800 11px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.puesto__nota { display: flex; align-items: center; gap: 10px; margin: 10px 0 10px; }
.puesto__cifra {
  display: grid;
  place-items: center;
  width: 52px;
  height: 46px;
  border-radius: 26px 26px 8px 8px;
  background: var(--teja);
  color: var(--arena-3);
  font: 700 19px/1 var(--slab);
}
.puesto--uno .puesto__cifra { background: linear-gradient(180deg, var(--teja-c), var(--teja)); box-shadow: inset 0 -3px 0 var(--turq); }
.puesto__veredicto { display: grid; line-height: 1.2; }
.puesto__veredicto small { color: var(--tinta-2); font-size: 12.5px; }
.puesto__veredicto b { font-size: 15.5px; color: var(--teja-n); }
.puesto__pros { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 15px; line-height: 1.45; }
.puesto__pros > li { display: flex; gap: 8px; align-items: flex-start; }
.puesto__pros ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.puesto__pros ul li { display: flex; gap: 8px; align-items: flex-start; }
.puesto__ok { flex: none; margin-top: 2px; color: var(--turq-o); }
.puesto__dato { color: var(--tinta-2); }
.puesto__dato .puesto__ok { color: var(--teja); }
.puesto__resto { display: block !important; }
.puesto__resto[hidden] { display: none !important; }
.puesto__mas { display: inline-flex; align-items: center; gap: 5px; padding: 2px 0; border: 0; background: none; color: var(--teja); font-size: 14px; font-weight: 700; }
.puesto__mas svg { transition: transform .2s; }
.puesto__mas[aria-expanded="true"] svg { transform: rotate(180deg); }
.puesto__datos { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 12px 0 0; font-size: 14px; color: var(--tinta-2); }
.puesto__sep { width: 4px; height: 4px; border-radius: 50%; background: var(--linea); }
.dato { position: static; display: inline-flex; align-items: center; gap: 6px; }
.dato > svg { color: var(--teja); }
.dato__btn { padding: 0; border: 0; background: none; color: var(--tinta); font-size: 14px; text-decoration: underline dotted 1.5px; text-underline-offset: 3px; text-decoration-color: var(--teja-c); }
.dato__btn:hover, .dato__btn[aria-expanded="true"] { color: var(--teja); text-decoration-style: solid; }
.puesto__juegos { position: relative; display: flex; align-items: center; gap: 8px; margin: 12px 0 8px; }
.juegos { display: flex; gap: 6px; overflow: hidden; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
.juego { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: var(--arena-2); color: var(--tinta-2); font-size: 12.5px; white-space: nowrap; }
.juego svg { color: var(--teja); }
.juegos__n { flex: none; display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 50%; border: 1.5px solid var(--teja); background: var(--arena-3); color: var(--teja); font-weight: 800; font-size: 13px; }
.juegos__n:hover, .juegos__n[aria-expanded="true"] { background: var(--teja); color: var(--arena-3); }
.puesto__accion { display: grid; gap: 10px; align-content: center; padding: 8px 16px 18px; }
.puesto__bono {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--arena-2);
  border: 1.5px dashed rgba(158, 59, 30, .45);
  text-align: center;
}
.puesto__etiqueta { font: 800 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teja); }
.puesto__oferta { display: grid; gap: 2px; color: var(--tinta); text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.3; }
.puesto__oferta b { font: 700 20px/1.15 var(--slab); color: var(--teja-n); }
.puesto__oferta:hover b { color: var(--teja); }
.puesto__acepta { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; color: var(--tinta-2); }
.puesto__acepta svg:first-child { color: var(--turq-o); }
.bandera { width: 22px; height: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(43, 20, 12, .12); }

/* popovers */
.globo {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 30;
  width: min(330px, calc(100vw - 48px));
  padding: 12px 14px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--linea);
  box-shadow: 0 22px 44px -18px rgba(43, 20, 12, .55);
  color: var(--tinta);
  font-size: 14px;
  line-height: 1.5;
}
.globo[hidden] { display: none; }
.globo--dcha { left: auto; right: 0; }
.globo--arriba { top: auto; bottom: calc(100% + 8px); }
.globo__cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font: 700 15px/1.2 var(--slab); color: var(--teja-n); }
.globo__x { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--arena-2); color: var(--teja-n); }
.globo__x:hover { background: var(--teja); color: var(--arena-3); }
.globo p { margin: 10px 0 0; color: var(--tinta-2); }
.globo__lic { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 !important; color: var(--tinta) !important; }
.globo__lic b { font-size: 16px; }
.globo__lic small { color: var(--tinta-2); }
.globo__ok { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: var(--turq-t); color: #075c50; font-weight: 700; font-size: 12.5px; }
.pagos, .estudios, .modos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.pago { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 9px; border-radius: 9px; background: var(--arena); border: 1px solid var(--linea); font-size: 12.5px; font-weight: 700; }
.pago img { height: 18px; width: auto; }
.pago--cripto img { height: 20px; }
.pago--texto img { height: 16px; }
.estudio { display: inline-grid; place-items: center; height: 40px; padding: 0 10px; border-radius: 9px; background: var(--arena); border: 1px solid var(--linea); }
.estudio img { max-height: 22px; max-width: 98px; width: auto; }
.modos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.modos li { display: flex; align-items: center; gap: 7px; font-size: 13.5px; }
.modos li.hay svg { color: var(--turq-o); }
.modos li.sin { color: #a8968b; text-decoration: line-through; text-decoration-color: rgba(168, 150, 139, .6); }

@media (min-width: 761px) {
  .puesto { grid-template-columns: 200px 1fr; }
  .puesto__escudo { flex-direction: column; min-height: 100%; padding: 46px 10px 18px; border-radius: calc(var(--radio) - 1px) 0 0 calc(var(--radio) - 1px); }
  .puesto__logo img { width: 180px; height: 72px; }
  .puesto__info { padding: 18px 20px 14px; }
  .puesto__accion { padding: 18px 20px 18px; }
}
@media (min-width: 1040px) {
  .puesto__cuerpo { grid-template-columns: minmax(0, 1fr) 270px; }
  .puesto__accion { border-left: 1px dashed var(--linea); }
}

/* ---------- reading zone ---------- */
.lectura { padding: 18px 0 40px; }
.lectura__rejilla { display: grid; gap: 22px; }
@media (min-width: 1040px) {
  .lectura__rejilla { grid-template-columns: 250px minmax(0, 740px); gap: 54px; justify-content: center; }
  .lectura__rejilla--sola { grid-template-columns: minmax(0, 760px); }
  .indice { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; }
}
.indice { border-radius: 16px; background: var(--arena-3); border: 1px solid var(--linea); padding: 12px 16px; }
.indice summary { cursor: pointer; font: 700 16px/1.2 var(--slab); color: var(--teja-n); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.indice summary::-webkit-details-marker { display: none; }
.indice summary::after { content: "+"; font: 700 20px/1 var(--sans); color: var(--teja); transition: transform .2s; }
.indice[open] summary::after { transform: rotate(45deg); }
.indice ol { margin: 10px 0 2px; padding: 0; list-style: none; counter-reset: ind; display: grid; gap: 2px; }
.indice li { counter-increment: ind; }
.indice a { display: grid; grid-template-columns: 26px 1fr; gap: 4px; padding: 6px 6px; border-radius: 9px; color: var(--tinta); text-decoration: none; font-size: 14.5px; line-height: 1.35; }
.indice a::before { content: counter(ind, decimal-leading-zero); color: var(--teja-c); font: 700 12px/1.8 var(--sans); }
.indice a:hover, .indice a.es-activo { background: var(--arena-2); color: var(--teja-n); }

.texto { min-width: 0; }
.texto > :first-child { margin-top: 0; }
.texto p, .texto ul, .texto ol { margin: 0 0 1.05em; }
.texto ul, .texto ol { padding-left: 1.3em; }
.texto li { margin: .28em 0; }
.texto li::marker { color: var(--teja); }
.texto h2 { position: relative; margin: 1.9em 0 .6em; padding-top: 18px; font-size: clamp(25px, 2.6vw, 31px); }
.texto h2::before { content: ""; position: absolute; top: 0; left: 0; width: 54px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--teja) 0 60%, var(--turq) 60% 100%); }
.texto h3 { margin: 1.4em 0 .45em; font-size: 20.5px; color: var(--teja-o); }
.texto strong { color: var(--teja-n); }
.texto a { font-weight: 600; }

.resumen { margin: 0 0 1.5em; padding: 18px 20px 6px; border-radius: 22px 22px 14px 14px; background: var(--arena-3); border: 1px solid var(--linea); border-top: 5px solid var(--teja); }
.resumen__titulo { margin: 0 0 .5em !important; font: 800 12.5px/1.2 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--teja); }
.resumen ul { padding-left: 0; list-style: none; }
.resumen li { position: relative; padding-left: 24px; }
.resumen li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; background: var(--turq); clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%); }
.pasos { display: grid; gap: 12px; margin: 0 0 1.5em; counter-reset: none; }
.paso { position: relative; padding: 14px 16px 6px 64px; border-radius: 16px; background: var(--arena-3); border: 1px solid var(--linea); }
.paso__n { position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50% 50% 9px 9px; background: var(--teja); color: var(--arena-3); font: 700 17px/1 var(--slab); }
.paso h3 { margin: 4px 0 .3em; font-size: 18px; color: var(--teja-n); }
.claves { display: grid; gap: 12px; margin: 0 0 1.5em; }
@media (min-width: 620px) { .claves { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.clave { padding: 16px 18px 4px; border-radius: 18px; background: var(--arena-3); border: 1px solid var(--linea); box-shadow: inset 0 3px 0 var(--turq); }
.clave h3 { margin: 0 0 .35em; font-size: 17.5px; color: var(--teja-n); }
.clave p { font-size: 15.5px; }
.cifras { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 1.5em; }
.cifra { margin: 0 !important; padding: 16px 14px; border-radius: 18px; background: var(--teja); color: #fbe9df; font-size: 14.5px; line-height: 1.4; background-image: var(--azulejo); }
.cifra strong { display: block; margin-bottom: 4px; color: var(--arena-3); font: 700 28px/1.05 var(--slab); }
.balanza { display: grid; gap: 12px; margin: 0 0 1.5em; }
@media (min-width: 620px) { .balanza { grid-template-columns: 1fr 1fr; } }
.balanza__pro, .balanza__contra { padding: 14px 18px 4px; border-radius: 18px; border: 1px solid var(--linea); background: var(--arena-3); }
.balanza__pro { border-top: 5px solid var(--turq); }
.balanza__contra { border-top: 5px solid var(--teja); }
.balanza h3 { margin: 0 0 .4em; font-size: 17px; }
.balanza ul { padding-left: 1.1em; font-size: 15.5px; }
.apunte { margin: 0 0 1.5em; padding: 14px 18px 2px 52px; position: relative; border-radius: 16px; background: var(--turq-t); border: 1px solid #a7e8dc; }
.apunte::before { content: "i"; position: absolute; left: 16px; top: 14px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--turq-o); color: #fff; font: 800 14px/1 Georgia, serif; }
.apunte--aviso { background: #f8e3d8; border-color: #ecc1ab; }
.apunte--aviso::before { content: "!"; background: var(--teja); font-family: var(--sans); }
.dudas { display: grid; gap: 10px; margin: 0 0 1.5em; }
.dudas details { border-radius: 16px; background: var(--arena-3); border: 1px solid var(--linea); overflow: hidden; }
.dudas details[open] { border-color: rgba(158, 59, 30, .4); box-shadow: inset 4px 0 0 var(--teja); }
.dudas summary { position: relative; padding: 15px 52px 15px 18px; cursor: pointer; list-style: none; font: 700 16.5px/1.35 var(--slab); color: var(--teja-n); }
.dudas summary::-webkit-details-marker { display: none; }
.dudas summary::after { content: ""; position: absolute; right: 16px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--arena-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v10M7 12h10' stroke='%239e3b1e' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .25s; }
.dudas details[open] summary::after { transform: rotate(135deg); }
.dudas__r { padding: 0 18px 4px; font-size: 16px; }

.foto { margin: 1.6em 0 1.8em; }
.foto img { width: 100%; border-radius: 26px 26px 10px 10px; box-shadow: 0 18px 34px -22px rgba(43, 20, 12, .6); }
.foto figcaption { margin-top: 9px; padding-left: 12px; border-left: 3px solid var(--turq); font-size: 14px; line-height: 1.45; color: var(--tinta-2); }
.foto__credito { display: block; margin-top: 2px; font-size: 12.5px; color: #8b7064; }
.pag-post .texto > .foto:first-child { margin-top: 0; }

/* ---------- guide tiles ---------- */
.zona__titulo { margin: 0 0 16px; font-size: clamp(24px, 2.6vw, 30px); }
.zona__cab { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.zona__cab .zona__titulo { margin: 0; }
.zona__enlace { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.mosaico { padding: 30px 0 40px; background: linear-gradient(180deg, transparent, var(--arena-2) 40%, var(--arena-2)); }
.mosaico__rejilla { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.mosaico__pieza {
  position: relative;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 18px 18px 46px;
  border-radius: 90px 90px 16px 16px / 46px 46px 16px 16px;
  background: var(--arena-3);
  border: 1px solid var(--linea);
  color: var(--tinta);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.mosaico__pieza:hover { color: var(--tinta); transform: translateY(-3px); border-color: var(--turq); box-shadow: var(--sombra); }
.mosaico__num { font: 700 13px/1 var(--slab); color: var(--teja-c); }
.mosaico__tag { justify-self: start; padding: 3px 8px; border-radius: 6px; background: var(--arena-2); color: var(--teja); font: 800 11px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.mosaico__pieza strong { font: 700 19px/1.2 var(--slab); color: var(--teja-n); }
.mosaico__txt { font-size: 14.5px; line-height: 1.45; color: var(--tinta-2); }
.mosaico__flecha { position: absolute; left: 18px; bottom: 16px; color: var(--teja); transition: transform .2s; }
.mosaico__pieza:hover .mosaico__flecha { transform: translateX(5px); color: var(--turq-o); }

/* ---------- news ---------- */
.cartelera { padding: 34px 0 44px; }
.cartelera__rejilla { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.noticia { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden; background: var(--arena-3); border: 1px solid var(--linea); transition: transform .2s, box-shadow .2s; }
.noticia:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.noticia__img { display: block; aspect-ratio: 3 / 2; background: var(--arena-2); overflow: hidden; }
.noticia__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.noticia:hover .noticia__img img { transform: scale(1.04); }
.noticia__cuerpo { padding: 14px 18px 18px; }
.noticia__meta { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 13px; color: var(--tinta-2); }
.noticia__tag { padding: 3px 8px; border-radius: 6px; background: var(--teja); color: var(--arena-3); font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.noticia__titulo { margin: 0 0 6px; font-size: 19px; line-height: 1.25; }
.noticia__titulo a { color: var(--teja-n); text-decoration: none; }
.noticia__titulo a::after { content: ""; position: absolute; inset: 0; }
.noticia__titulo a:hover { color: var(--teja); }
.noticia__resumen { margin: 0; font-size: 15px; line-height: 1.5; color: var(--tinta-2); }

/* ---------- help band + footer ---------- */
.ayuda { position: relative; padding: 30px 0; background: var(--teja-o); color: #fbe9df; background-image: var(--azulejo); }
.ayuda__fila { display: grid; gap: 16px; align-items: center; }
@media (min-width: 820px) { .ayuda__fila { grid-template-columns: 1fr auto; gap: 40px; } }
.ayuda h2 { margin: 0 0 6px; color: var(--arena-3); font-size: clamp(21px, 2.4vw, 26px); }
.ayuda p { margin: 0; max-width: 720px; font-size: 15.5px; }
.ayuda__enlace { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; border: 2px solid var(--arena); color: var(--arena); text-decoration: none; font-weight: 700; white-space: nowrap; }
.ayuda__enlace:hover { background: var(--arena); color: var(--teja-o); }
.suelo { background: var(--teja-n); color: #e8c9bb; font-size: 15px; }
.suelo::before { content: ""; display: block; height: 10px; background: repeating-linear-gradient(90deg, var(--turq) 0 22px, var(--teja-c) 22px 44px, var(--arena) 44px 66px); opacity: .9; }
.suelo__rejilla { display: grid; gap: 28px; padding: 40px 0 24px; }
@media (min-width: 760px) { .suelo__rejilla { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.suelo__marca img { width: 196px; }
.suelo__marca p { margin: 14px 0 0; line-height: 1.6; }
.suelo__chapas { display: flex; flex-wrap: wrap; gap: 6px; }
.suelo__chapas span { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(232, 201, 187, .35); font-size: 12.5px; }
.suelo__chapas .suelo__edad { background: var(--turq); border-color: var(--turq); color: var(--tinta); font-weight: 800; }
.suelo__titulo { margin: 0 0 10px; color: var(--arena-3); font: 700 16px/1.2 var(--slab); }
.suelo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.suelo a { color: #f3dccf; text-decoration: none; }
.suelo a:hover { color: var(--turq); }
.suelo__base { display: grid; gap: 6px; padding: 18px 0 30px; border-top: 1px solid rgba(232, 201, 187, .2); font-size: 13px; color: #cfa999; }
.suelo__base p { margin: 0; }

/* ---------- promo bar + back to top ---------- */
.franja {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 250, 242, .97);
  border-top: 3px solid var(--teja);
  box-shadow: 0 -16px 34px -18px rgba(43, 20, 12, .55);
  transform: translateY(110%);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.franja.es-visible { transform: none; }
.franja__fila { position: relative; display: flex; align-items: center; gap: 12px; width: min(100% - 24px, 860px); margin-inline: auto; padding-right: 36px; }
.franja__logo { flex: none; display: grid; place-items: center; width: 86px; height: 50px; border-radius: 26px 26px 10px 10px; background: var(--tinta); }
.franja__logo img { width: 80px; height: 32px; object-fit: contain; }
.franja__nombre { flex: 1; min-width: 0; font: 700 20px/1.15 var(--slab); color: var(--teja-n); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.franja__cta { flex: none; }
.franja__x { position: absolute; right: 0; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--arena-2); color: var(--teja-n); }
.franja__x:hover { background: var(--teja); color: var(--arena-3); }
@media (max-width: 420px) {
  .franja__logo { width: 64px; height: 42px; }
  .franja__logo img { width: 60px; height: 24px; }
  .franja__nombre { font-size: 17px; }
  .franja__cta { padding: 11px 15px 12px; font-size: 15px; }
}
.subir { position: fixed; right: 16px; bottom: 18px; z-index: 55; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50% 50% 12px 12px; background: var(--teja); color: var(--arena-3); box-shadow: 0 10px 22px -10px rgba(43, 20, 12, .7); transition: bottom .35s, opacity .25s; }
.subir:hover { background: var(--teja-o); }
.subir[hidden] { display: none; }
body.con-franja .subir { bottom: 96px; }

/* ---------- 404 ---------- */
.perdido { max-width: 720px; text-align: center; padding: 10px 0 20px; }
.perdido__num { margin: 0; font: 700 clamp(80px, 16vw, 150px)/1 var(--slab); color: transparent; -webkit-text-stroke: 3px var(--teja); background: linear-gradient(180deg, transparent 55%, rgba(18, 200, 174, .35) 55%); -webkit-background-clip: text; background-clip: text; }
.perdido__lista { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.perdido__lista a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--arena-3); border: 1px solid var(--linea); text-decoration: none; font-weight: 600; }
.perdido__lista a:hover { border-color: var(--turq); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
