/* Prueba «recursos»: la portada de Ismael con los recursos estéticos de la biblioteca aplicados. Hereda maf.css. */
.pr { --bg: #0b0603; --ink: #F6E9CC; --ink-2: #BEA882; --ink-3: #8E7E60; --acc: #D6AE5A; --acc-hi: #F6E6BC; --hair: rgba(214, 174, 90, .16); }
.pr .pagina { position: relative; z-index: 2; }
.pr .wrap { max-width: 1120px; }

/* ---------- 1 · Héroe: la foto manda ---------- */
.pr-hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--bg); isolation: isolate; }
.pr-hero-foto { position: absolute; inset: 0; z-index: 0; }
.pr-hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 14%; filter: grayscale(1) contrast(1.12) brightness(.82); transform-origin: 70% 30%; animation: pr-respira 26s ease-in-out infinite alternate; }
.pr-hero-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, var(--bg) 0%, rgba(11, 6, 3, .92) 30%, rgba(11, 6, 3, .35) 58%, rgba(11, 6, 3, 0) 78%), linear-gradient(to top, var(--bg) 0%, rgba(11, 6, 3, .75) 14%, rgba(11, 6, 3, .25) 40%, rgba(11, 6, 3, 0) 62%), radial-gradient(60% 50% at 78% 22%, rgba(214, 174, 90, .16), transparent 70%); }
.pr-hero-cuerpo { position: relative; z-index: 2; width: 100%; max-width: 1120px; margin: 0 auto; padding: 120px 22px clamp(56px, 9vh, 96px); }
.pr-hero-txt { max-width: 560px; }
.pr-rotulo { margin: 0 0 18px; font-family: var(--cinzel); font-weight: 600; font-size: 11px; letter-spacing: .38em; text-transform: uppercase; color: var(--acc); }
.pr-h1 { margin: 0; font-family: var(--cinzel); font-weight: 600; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: .005em; max-width: 14ch; text-wrap: balance; }
.pr-h1 span { display: block; }
.pr-h1 span:nth-child(odd) { color: var(--ink); }
.pr-h1 span:nth-child(even) { color: var(--acc); }
.pr-sub { margin: 22px 0 0; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.4; color: var(--ink-2); max-width: 44ch; }
.pr-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 30px; }
.pr .pr-btn, .fenix .pr-btn { display: inline-flex; align-items: center; justify-content: center; padding: 17px 34px; border-radius: 999px; text-decoration: none; background: linear-gradient(177deg, #FBF0D2 4%, #F3DFA6 26%, #D6AE5A 55%, #A9762C 82%, #7C5520 100%); color: #1a1105; font-family: var(--cinzel); font-weight: 600; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 14px 34px -14px rgba(230, 180, 90, .55), inset 0 1px 0 rgba(255, 255, 255, .5); transition: transform .5s var(--e), box-shadow .5s var(--e); }
.pr-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -16px rgba(230, 180, 90, .7), inset 0 1px 0 rgba(255, 255, 255, .5); }
.pr .pr-enlace, .fenix .pr-enlace { color: var(--ink); text-decoration: none; font-family: var(--serif); font-style: italic; font-size: 1.12rem; border-bottom: 0; }
.pr-enlace::after { content: " →"; color: var(--acc); }
.pr-datos { list-style: none; margin: clamp(32px, 6vh, 56px) 0 0; padding: 0; display: flex; max-width: 560px; }
.pr-datos li { flex: 1; padding: 12px 18px 0 0; border-top: 1px solid var(--hair); }
.pr-datos li + li { padding-left: 18px; border-left: 1px solid var(--hair); }
.pr-datos b { display: block; font-family: var(--cinzel); font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--ink); }
.pr-datos span { font-size: .9rem; color: var(--ink-3); }
.pr-firma { position: absolute; right: clamp(22px, 4vw, 56px); bottom: clamp(26px, 5vh, 48px); z-index: 2; font-family: "Great Vibes", "Snell Roundhand", cursive; font-size: clamp(1.7rem, 3.2vw, 2.6rem); color: var(--acc-hi); line-height: 1; opacity: .9; }

/* ---------- 2 · La cifra que golpea ---------- */
.pr-cifra { padding: clamp(80px, 12vh, 140px) 0; text-align: center; }
.pr-cifra-num { font-family: var(--cinzel); font-weight: 600; font-size: clamp(96px, 22vw, 240px); line-height: .85; letter-spacing: -.02em; color: var(--acc); text-shadow: 0 0 80px rgba(214, 174, 90, .25); font-variant-numeric: tabular-nums; }
.pr-cifra-num.pum { animation: pr-pum .7s cubic-bezier(.22, 1, .36, 1); }
.pr-cifra-que { margin: 10px 0 0; font-family: var(--cinzel); font-size: clamp(1rem, 2vw, 1.3rem); letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.pr-cifra p.pr-texto { margin: 26px auto 0; max-width: 46ch; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.45; color: var(--ink-2); }
.pr-cifra p.pr-texto b { color: var(--ink); font-weight: 500; }

/* ---------- 3 · Cortina antes / después (sus fotos) ---------- */
.pr-cortina-sec { padding: 0 0 clamp(80px, 12vh, 140px); }
.pr-cortina-sec h2 { text-align: center; font-size: clamp(1.7rem, 3.8vw, 2.6rem); margin-bottom: 10px; }
.pr-cortina-sec .pr-script { display: block; text-align: center; font-family: "Great Vibes", "Snell Roundhand", cursive; font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--acc-hi); line-height: 1.1; margin-bottom: clamp(26px, 5vh, 44px); }
.pr-cortina { position: relative; width: min(100%, 440px); margin: 0 auto; aspect-ratio: 344 / 788; overflow: hidden; border-radius: 10px; cursor: ew-resize; touch-action: pan-y; user-select: none; border: 1px solid var(--hair); box-shadow: 0 40px 80px -40px rgba(230, 180, 90, .35); background: #0e0805; }
.pr-cortina img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; pointer-events: none; }
.pr-cortina .b { clip-path: inset(0 0 0 var(--x, 50%)); }
.pr-cortina .r { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: var(--acc-hi); box-shadow: 0 0 22px rgba(246, 230, 188, .8); pointer-events: none; }
.pr-cortina .a { position: absolute; top: 50%; left: var(--x, 50%); transform: translate(-50%, -50%); width: 54px; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(177deg, #FBF0D2, #D6AE5A 60%, #A9762C); color: #1a1105; display: grid; place-items: center; font-family: var(--cinzel); font-weight: 600; font-size: 16px; pointer-events: none; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8); }
.pr-cortina .tg { position: absolute; top: 14px; font-family: var(--cinzel); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; pointer-events: none; }
.pr-cortina .tg-a { left: 14px; background: rgba(11, 6, 3, .8); color: var(--ink-2); }
.pr-cortina .tg-b { right: 14px; top: auto; bottom: 14px; background: var(--acc); color: #1a1105; }
.pr-cortina-pie { text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--ink-2); margin: 22px auto 0; max-width: 50ch; }
.pr-cortina-pie b { color: var(--ink); font-weight: 500; font-style: normal; }

/* ---------- 4 · Los dos caminos: comparación ---------- */
.pr-compara { padding: clamp(80px, 12vh, 140px) 0; border-top: 1px solid var(--hair); }
.pr-compara h2 { text-align: center; font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
.pr-compara .pr-intro { text-align: center; margin: 14px auto 0; max-width: 52ch; color: var(--ink-2); font-size: 1.1rem; }
.pr-tabla { width: min(100%, 900px); margin: clamp(32px, 5vh, 52px) auto 0; border-collapse: collapse; font-family: var(--serif); font-size: 1.05rem; }
.pr-tabla th, .pr-tabla td { padding: 16px 14px; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; color: var(--ink); }
.pr-tabla th { font-family: var(--cinzel); font-weight: 600; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--acc); border-bottom: 1px solid var(--acc); }
.pr-tabla th:first-child, .pr-tabla td:first-child { color: var(--ink-2); width: 34%; }
.pr-tabla td.lead { background: rgba(214, 174, 90, .06); }
.pr-tabla th.lead { background: rgba(214, 174, 90, .1); }
.pr-tabla svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 8px; }
.pr-tabla .pr-precio { font-family: var(--cinzel); font-weight: 600; font-size: 1.6rem; color: var(--acc-hi); }
.pr-tabla .pr-precio small { display: block; font-family: var(--serif); font-size: .9rem; color: var(--ink-3); font-weight: 400; margin-top: 4px; }
.pr-tabla .btn-cel { padding-top: 22px; }

/* ---------- 5 · Reserva y confianza (Booking & Trust) ---------- */
.pr-reserva { padding: clamp(80px, 12vh, 140px) 0; border-top: 1px solid var(--hair); }
.pr-reserva-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.pr-reserva h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
.pr-reserva .pr-sub { margin-top: 16px; }
.pr-confianza { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.pr-confianza li { padding: 14px 0 0; border-top: 1px solid var(--hair); font-family: var(--serif); font-size: 1.08rem; line-height: 1.45; color: var(--ink); }
.pr-confianza li b { font-family: var(--cinzel); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--acc); display: block; margin-bottom: 6px; font-weight: 600; }
.pr-movil { justify-self: center; width: min(100%, 340px); aspect-ratio: 9 / 18.5; border-radius: 42px; border: 1px solid rgba(246, 230, 188, .28); background: #120a06; box-shadow: 0 50px 100px -40px rgba(230, 180, 90, .4), inset 0 0 0 8px #050301; padding: 22px 16px; position: relative; overflow: hidden; }
.pr-movil::before { content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 999px; background: #050301; }
.pr-movil-dentro { position: absolute; inset: 44px 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.pr-movil-dentro .pr-rotulo { margin: 0; font-size: 9px; }
.pr-movil-dentro h3 { margin: 0; font-size: 1.1rem; line-height: 1.2; text-transform: none; letter-spacing: 0; }
.pr-dias { display: flex; gap: 6px; }
.pr-dias span { flex: 1; text-align: center; padding: 8px 0; border-radius: 10px; border: 1px solid var(--hair); font-family: var(--cinzel); font-size: 10px; color: var(--ink-2); }
.pr-dias span b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.pr-dias span.on { border-color: var(--acc); background: rgba(214, 174, 90, .12); color: var(--acc-hi); }
.pr-horas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pr-horas a { text-align: center; padding: 9px 0; border-radius: 10px; border: 1px solid var(--hair); font-family: var(--serif); font-size: 15px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--hair); transition: border-color .3s, background .3s; }
.pr-horas a:hover { border-color: var(--acc); background: rgba(214, 174, 90, .12); }
.pr-movil-dentro .pr-btn { margin-top: auto; padding: 14px 18px; font-size: 11px; letter-spacing: .18em; }
.pr-movil-pie { margin: 0; font-size: .74rem; color: var(--ink-3); text-align: center; }

/* ---------- 6 · Cierre ---------- */
.pr-cierre { position: relative; padding: clamp(80px, 14vh, 160px) 0; text-align: center; overflow: hidden; }
.pr-cierre::before { content: ""; position: absolute; inset: 0; background: url("../img/ismael/fenix-arte-recorte.jpg") center 30% / cover no-repeat; opacity: .28; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 65%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 65%, transparent); }
.pr-cierre .wrap { position: relative; }
.pr-cierre .pr-script { font-family: "Great Vibes", "Snell Roundhand", cursive; font-size: clamp(2.2rem, 6vw, 3.6rem); color: var(--acc-hi); line-height: 1.1; }
.pr-cierre .pr-acciones { justify-content: center; }

@keyframes pr-respira { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes pr-pum { 0% { transform: scale(1); } 26% { transform: scale(1.09); } 100% { transform: scale(1); } }

@media (max-width: 860px) {
  .pr-hero { grid-template-rows: 58svh auto; align-items: start; }
  .pr-hero-foto { position: relative; height: 58svh; }
  .pr-hero-foto img { object-position: 50% 12%; }
  .pr-hero-foto::after { background: linear-gradient(to top, var(--bg) 0%, rgba(11, 6, 3, .85) 12%, rgba(11, 6, 3, .3) 38%, transparent 70%); }
  .pr-hero-cuerpo { padding: 0 22px 36px; margin-top: -40px; }
  .pr-h1 { font-size: clamp(32px, 9vw, 44px); }
  .pr-datos { max-width: none; }
  .pr-firma { display: none; }
  .pr-reserva-grid { grid-template-columns: 1fr; }
  .pr-tabla { display: block; }
  .pr-tabla thead { display: none; }
  .pr-tabla tbody, .pr-tabla tr, .pr-tabla td { display: block; width: auto; }
  .pr-tabla tr { padding: 10px 0; border-bottom: 1px solid var(--hair); }
  .pr-tabla td { border: 0; padding: 6px 0; }
  .pr-tabla td:first-child { font-family: var(--cinzel); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--acc); }
  .pr-tabla td.lead { background: none; }
  .pr-tabla td[data-c]::before { content: attr(data-c) " · "; color: var(--ink-3); font-family: var(--cinzel); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
  .pr-acciones a.pr-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .pr-hero-foto img, .pr-cifra-num.pum { animation: none; } }

/* Mezcla en «Desde dentro» */
.dd-entrevista-grid { margin-top: clamp(40px, 7vh, 72px); align-items: center; }
.dd-entrevista-grid .dd-acciones { justify-content: flex-start; margin-top: 0; }
.dd-entrevista-grid .dd-nota { margin-top: 18px; }
.pr .dd-pregunta h3 { color: var(--ink); }
