/* Hero de la portada (scripts/portada.py). Prefijo pt- para no chocar con Elementor ni el tema. */
.pt {
  --pt-tinta: #241307;
  --pt-cafe: #3A1F0D;
  --pt-cacao: #643512;
  --pt-crema: #FFF6EA;
  --pt-crema-2: #F6E9D8;
  --pt-rojo: #D9363F;
  --pt-rojo-hover: #B92A33;
  font-family: "Raleway", system-ui, sans-serif;
  color: var(--pt-tinta);
}
.pt *, .pt *::before, .pt *::after { box-sizing: border-box; }
.pt p { margin: 0; }
.pt-envoltura { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.pt-fila { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Botones (con :visited: el tema hijo pinta a:visited de marrón) */
.pt-btn, .pt-btn:visited {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  font: 700 17px/1.2 "Raleway", system-ui, sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.pt-btn--rojo, .pt-btn--rojo:visited { background: var(--pt-rojo); color: #fff; }
.pt-btn--rojo:hover, .pt-btn--rojo:focus-visible { background: var(--pt-rojo-hover); color: #fff; }
.pt-btn--vidrio, .pt-btn--vidrio:visited { border-color: rgba(255, 246, 234, .9); color: var(--pt-crema); background: rgba(36, 19, 7, .2); }
.pt-btn--vidrio:hover, .pt-btn--vidrio:focus-visible { background: var(--pt-crema); color: var(--pt-tinta); }
.pt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.pt-chip--vidrio { background: rgba(36, 19, 7, .35); color: var(--pt-crema); border: 1px solid rgba(255, 246, 234, .35); backdrop-filter: blur(4px); }

/* Hero con video */
.pt-hero { position: relative; min-height: 720px; display: flex; align-items: flex-end; background: var(--pt-tinta) url("/replica/img/hero-poster.webp") center / cover no-repeat; overflow: hidden; }
.pt-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pt-hero__control { position: absolute; right: 20px; bottom: 20px; z-index: 3; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid rgba(255, 246, 234, .6); border-radius: 50%; background: rgba(36, 19, 7, .45); color: #FFF6EA; cursor: pointer; backdrop-filter: blur(4px); }
.pt-hero__control:hover, .pt-hero__control:focus { background: rgba(36, 19, 7, .7); color: #fff; }
@media (max-width: 767px) { .pt-hero__control { top: 128px; bottom: auto; right: 14px; width: 40px; height: 40px; } }
/* Velo solo detrás del texto (abajo a la izquierda): el resto del video se ve limpio */
.pt-hero__velo { position: absolute; inset: 0; background:
  radial-gradient(ellipse 55% 60% at 10% 88%, rgba(36, 19, 7, .62) 0%, rgba(36, 19, 7, .3) 50%, rgba(36, 19, 7, 0) 78%),
  linear-gradient(0deg, rgba(36, 19, 7, .3) 0%, rgba(36, 19, 7, 0) 26%); }
.pt-hero__gotas { position: absolute; top: -1px; left: 0; right: 0; height: 120px; z-index: 1; }
.pt-hero__gotas svg { display: block; width: 100%; height: 100%; }
.pt-hero__gotas path { fill: var(--pt-cafe); }
.pt-hero__contenido { position: relative; z-index: 2; width: 100%; padding-top: 180px; padding-bottom: 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.pt-hero h1 {
  margin: 0; max-width: 820px; font-family: inherit; color: var(--pt-crema);
  font-size: clamp(40px, 6vw, 88px); font-weight: 800; line-height: .98; letter-spacing: -0.025em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, .5);
}
.pt-hero__gancho { max-width: 640px; font-size: clamp(21px, 2vw, 27px); font-weight: 700; line-height: 1.3; color: #FFD9B0; text-shadow: 0 1px 14px rgba(0, 0, 0, .6); }
.pt-hero .pt-fila { margin-top: 8px; }

/* Barra de confianza */
.pt-confianza { background: var(--pt-cafe); color: var(--pt-crema); }
.pt-confianza__grilla { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 40px; padding-bottom: 44px; }
.pt-confianza__item { display: flex; gap: 14px; align-items: center; }
.pt-confianza__item > svg { box-sizing: content-box; padding: 11px; border-radius: 50%; background: rgba(255, 246, 234, .08); }
.pt-confianza__item svg { flex: none; }
.pt-confianza__item strong { display: block; font-size: 18px; font-weight: 800; line-height: 1.3; }
.pt-confianza__item div span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; color: #E9D7C1; }
/* Punto de estado dentro del mismo círculo que los íconos (44 px) */
.pt-punto { width: 12px; height: 12px; border-radius: 50%; background: #E9D7C1; flex: none; margin: 16px; box-shadow: 0 0 0 16px rgba(255, 246, 234, .08); }
[data-pt-hoy].is-abierto .pt-punto { background: #5BD18B; }
[data-pt-hoy].is-cerrado .pt-punto { background: #F28C28; }

/* El título del bloque siguiente era el H1 del vivo: ahora es H2 con el mismo aspecto */
h2.pt-ex-h1 { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-size: 61.875px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin: 22px 0; text-shadow: rgba(0, 0, 0, .12) 3px 3px 1px; }

@media (max-width: 980px) {
  .pt-confianza__grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .pt-envoltura { padding: 0 16px; }
  .pt-hero { min-height: 640px; }
  .pt-hero__velo { background: linear-gradient(0deg, rgba(36, 19, 7, .85) 0%, rgba(36, 19, 7, .55) 42%, rgba(36, 19, 7, 0) 70%); }
  .pt-hero__gotas { height: 60px; }
  .pt-hero__contenido { padding-top: 220px; padding-bottom: 32px; gap: 14px; }
  .pt-hero .pt-fila { width: 100%; flex-direction: column; }
  .pt-hero .pt-btn { width: 100%; }
  .pt-confianza__grilla { gap: 26px 14px; padding-top: 30px; padding-bottom: 34px; }
  .pt-confianza__item { gap: 10px; flex-direction: column; align-items: flex-start; }
  .pt-confianza__item > svg { padding: 9px; }
  .pt-punto { margin: 14px; box-shadow: 0 0 0 14px rgba(255, 246, 234, .08); }
  .pt-confianza__item strong { font-size: 15px; }
  .pt-confianza__item div span { font-size: 13px; }
  .pt-confianza__item svg { width: 22px; height: 22px; }
  h2.pt-ex-h1 { font-size: 49.5px; }
}

/* Zážitky (bajo el hero): dos de todo el año + una ranura de temporada. Sigue el estilo de las
   actividades (actividad.css, clase .pa) con un toque suelto: sello girado y foto que asoma. */
.pt-zazitky { padding: 84px 0 96px; }
.pt-zazitky__cabeza { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 48px; align-items: end; margin-bottom: 36px; }
.pt-zazitky__cabeza h2 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.pt-zazitky__cabeza p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--pa-suave); }
.pt-zazitky__cabeza .pa-resenas__google { grid-column: 2; }
.pt-zazitky__grilla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.pt-zaz { display: flex; flex-direction: column; border-radius: 26px; background: #fff; overflow: hidden; box-shadow: 0 1px 0 var(--pa-linea); transition: transform .25s, box-shadow .25s; }
.pt-zaz:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(58, 31, 13, .14); }
.pt-zaz.rp-fuera { display: none; }
.pt-zaz__foto { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.pt-zaz__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pt-zaz:hover .pt-zaz__foto img { transform: scale(1.04); }
.pt-zaz__sello { position: absolute; z-index: 1; top: 16px; left: 16px; padding: 6px 14px; border-radius: 999px; background: var(--pa-rojo); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; transform: rotate(-4deg); box-shadow: 0 6px 14px rgba(0, 0, 0, .2); }
.pt-zaz__cuerpo { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.pt-zaz h3 { margin: 0; font-size: 23px; font-weight: 800; line-height: 1.2; }
.pt-zaz h3 a, .pt-zaz h3 a:visited { color: var(--pa-tinta); text-decoration: none; }
.pt-zaz__cuerpo > p { margin: 0; font-size: 16px; line-height: 1.55; color: #4A3527; }
.pt-zaz__cuerpo > .pt-zaz__precio { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 700; color: var(--pa-cafe); }
.pt-zaz__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.pt-zaz__acciones .pa-btn { min-height: 48px; padding: 12px 22px; font-size: 16px; }
.pt-zaz__mas, .pt-zaz__mas:visited { font-size: 16px; font-weight: 700; color: var(--pa-cafe); text-decoration: none; }
.pt-zaz__mas:hover { text-decoration: underline; }

/* Final de la home: reseñas en carrusel (12), horario y preguntas */
.pt-final { padding-top: 88px; }
.pa-resenas--carrusel .pa-resenas__grilla { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; padding-bottom: 12px; scrollbar-width: thin; }
.pa-resenas--carrusel .pa-resena { flex: 0 0 calc((100% - 54px) / 3.25); scroll-snap-align: start; }

@media (max-width: 1024px) {
  .pt-zazitky__grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-zaz:nth-child(2) { transform: none; }
}
@media (max-width: 860px) {
  .pt-zazitky { padding: 56px 0 64px; }
  .pt-zazitky__cabeza { grid-template-columns: 1fr; margin-bottom: 24px; }
  .pt-zazitky__cabeza .pa-resenas__google { grid-column: auto; }
  .pt-zazitky__grilla { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; gap: 14px; margin: 0 -16px; padding: 0 16px 10px; }
  .pt-zaz { flex: 0 0 84%; scroll-snap-align: start; }
  .pt-zaz__cuerpo { padding: 18px 18px 20px; }
  .pt-final { padding-top: 56px; }
  .pa-resenas--carrusel .pa-resena { flex: 0 0 82%; }
}
@media (prefers-reduced-motion: reduce) {
  .pt-zaz, .pt-zaz__foto img { transition: none; }
}
