/* Thera Bee — puerta exclusiva de campaña (/offer/, /es/oferta/). Mobile first (~390 px).
   Se apoya en styles.css del sitio (colores, tipografía, .btn, formulario .offer-dialog). */

/* Header fijo con «Reservar» siempre visible */
.lp-header { position: sticky; top: 0; z-index: 60; background: var(--white); border-bottom: 3px solid var(--yellow); }
.lp-header .lp-bar { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .4rem 0; }
.lp-header .lp-logo { display: block; height: 36px; width: auto; }
.lp-header .lp-actions { display: flex; align-items: center; gap: .35rem; }
.lp-header .lang-switch a { min-width: 34px; min-height: 40px; padding: 0 .2rem; font-size: .95rem; }
.lp-header .btn { min-height: 42px; padding: .35rem .8rem; font-size: 1rem; }
.lp-header .lp-call { background: var(--white); }
.lp-header .lp-call:hover { background: var(--black); color: var(--yellow); }

/* Hero: variante general + variantes por keyword (utm_term). Solo se ve una. */
.lp-hero {
  color: var(--white); padding: 1.6rem 0 1.9rem; text-align: center;
  background: linear-gradient(rgba(17,17,17,.70), rgba(17,17,17,.80)), url("assets/lp/hero-stretch-800.jpg") center 40% / cover no-repeat, var(--black);
}
html[data-kw="sauna"] .lp-hero { background-image: linear-gradient(rgba(17,17,17,.70), rgba(17,17,17,.80)), url("assets/lp/hero-sauna-800.jpg"); }
html[data-kw="massage"] .lp-hero { background-image: linear-gradient(rgba(17,17,17,.70), rgba(17,17,17,.80)), url("assets/lp/hero-massage-800.jpg"); }
.lp-v { display: none; }
html:not([data-kw]) .lp-v-general, html[data-kw="stretching"] .lp-v-stretching,
html[data-kw="sauna"] .lp-v-sauna, html[data-kw="massage"] .lp-v-massage { display: block; }
.lp-slogan { margin: 0 0 .6rem; font-weight: 700; font-size: .95rem; color: var(--yellow); }
.lp-kicker { display: inline-block; margin: 0 0 .7rem; background: var(--yellow); color: var(--black); font-weight: 900; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; padding: .3rem .75rem; border-radius: 999px; }
.lp-hero h1 { margin: 0 auto .6rem; font-size: clamp(1.9rem, 8.6vw, 3.2rem); font-weight: 900; line-height: 1.08; max-width: 20ch; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.lp-hero h1 .lp-y { color: var(--yellow); white-space: nowrap; }
.lp-sub { margin: 0 auto 1.1rem; font-size: 1.1rem; font-weight: 600; max-width: 34ch; text-shadow: 0 1px 3px rgba(0,0,0,.85); }
.lp-ctas { display: grid; gap: .6rem; max-width: 420px; margin: 0 auto; }
.lp-ctas .btn { width: 100%; min-height: 54px; font-size: 1.15rem; }
.lp-hero .btn { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.lp-hero .btn.lp-alt { background: var(--white); border-color: var(--white); }
.lp-hero .btn:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.lp-offer-line { margin: .9rem 0 0; font-weight: 700; }
.lp-offer-line a { color: var(--yellow); }
.lp-chips { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.lp-chips li { border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: .25rem .7rem; font-weight: 700; font-size: .9rem; }

/* Lista de servicios: los 4 siempre visibles y reservables; el de la keyword va primero */
.lp-services { padding: 1.6rem 0 1.4rem; }
.lp-services h2 { font-size: 1.6rem; margin: 0 0 .9rem; }
.lp-svc { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .8rem; }
.lp-item { display: grid; grid-template-columns: 88px 1fr; gap: .2rem .85rem; align-items: start; background: var(--white); border: 2px solid var(--black); border-left: 8px solid var(--yellow); border-radius: 12px; padding: .75rem .8rem .85rem; }
.lp-item img { grid-row: span 2; width: 88px; height: 88px; object-fit: cover; border-radius: 8px; display: block; }
.lp-item h3 { margin: 0; font-size: 1.15rem; line-height: 1.2; }
.lp-meta { margin: .15rem 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; }
.lp-meta .lp-price { font-size: 1.45rem; font-weight: 900; }
.lp-meta .lp-dur { font-weight: 700; }
.lp-item .lp-desc { grid-column: 1 / -1; margin: .45rem 0 0; font-size: 1rem; line-height: 1.45; }
.lp-item .lp-acts { grid-column: 1 / -1; display: grid; gap: .45rem; margin-top: .6rem; }
.lp-item .lp-acts .btn { width: 100%; min-height: 48px; }
.lp-item .lp-acts .text-link { justify-content: center; min-height: 40px; }
.lp-flag { display: inline-block; background: var(--black); color: var(--yellow); font-weight: 900; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 999px; margin-bottom: .25rem; }
.lp-svc-first { order: 1; } .lp-svc-stretching { order: 2; } .lp-svc-massage { order: 3; } .lp-svc-sauna { order: 4; }
html[data-kw="stretching"] .lp-svc-stretching, html[data-kw="sauna"] .lp-svc-sauna, html[data-kw="massage"] .lp-svc-massage { order: 0; border-left-color: var(--black); box-shadow: 0 0 0 3px var(--yellow); }
.lp-callalt { margin: 1rem 0 0; text-align: center; font-weight: 700; }
.lp-callalt a { white-space: nowrap; }

/* Código BEE: pasos + formulario incrustado */
.lp-claim { background: var(--yellow); border-top: 4px solid var(--black); border-bottom: 4px solid var(--black); padding: 1.8rem 0; scroll-margin-top: 64px; }
.lp-claim h2 { font-size: 1.6rem; line-height: 1.15; margin: 0 0 .8rem; }
.lp-claim h2::after { background: var(--black); }
.lp-claim-grid { display: grid; gap: 1.4rem; }
.lp-steps strong { display: inline; color: var(--yellow); }
.lp-steps strong.lp-step-t { display: block; }
.lp-terms { font-weight: 700; margin: .8rem 0 0; }
.offer-inline .offer-dialog { max-width: none; max-height: none; overflow: visible; margin: 0; animation: none; border: 3px solid var(--black); border-top: 10px solid var(--black); border-radius: 16px; padding: 1.1rem 1rem 1.1rem; box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.offer-inline .offer-dialog h2 { margin-right: 0; }
.offer-inline .offer-dialog h2:focus { outline: none; }

/* Cierre de reserva */
.lp-final { background: var(--black); color: var(--white); padding: 1.8rem 0; text-align: center; scroll-margin-top: 64px; }
.lp-final h2 { color: var(--white); font-size: 1.6rem; margin: 0 0 .5rem; }
.lp-final h2::after { margin-inline: auto; }
.lp-final p { margin: 0 auto 1rem; max-width: 46ch; }
.lp-final .btn { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.lp-final .btn.lp-alt { background: var(--white); border-color: var(--white); }

/* Footer: contacto completo + cierre legal del anunciante */
.lp-foot { background: var(--gray); padding: 1.6rem 0 1.4rem; font-size: 1rem; }
.lp-foot-grid { display: grid; gap: 1.1rem; }
.lp-foot h2 { font-size: 1.2rem; margin: 0 0 .4rem; }
.lp-foot h2::after { display: none; }
.lp-foot p { margin: 0 0 .35rem; }
.lp-foot .hours { font-size: 1rem; max-width: 340px; }
.lp-foot .hours th, .lp-foot .hours td { padding: .3rem .25rem; }
.lp-legal { background: var(--black); color: #e9e9e9; padding: 1rem 0 1.2rem; font-size: .9rem; }
.lp-legal p { margin: 0 0 .3rem; }
.lp-legal a { color: var(--yellow); }

@media (min-width: 720px) {
  .lp-hero { padding: 3rem 0 3.2rem; }
  .lp-ctas { grid-template-columns: 1fr 1fr; max-width: 560px; }
  .lp-svc { display: grid; grid-template-columns: 1fr 1fr; }
  .lp-foot-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .lp-hero { background-image: linear-gradient(rgba(17,17,17,.68), rgba(17,17,17,.78)), url("assets/lp/hero-stretch-1400.jpg"); }
  html[data-kw="sauna"] .lp-hero { background-image: linear-gradient(rgba(17,17,17,.68), rgba(17,17,17,.78)), url("assets/lp/hero-sauna-1200.jpg"); }
  html[data-kw="massage"] .lp-hero { background-image: linear-gradient(rgba(17,17,17,.68), rgba(17,17,17,.78)), url("assets/lp/hero-massage-1200.jpg"); }
  .lp-claim-grid { grid-template-columns: 1fr minmax(0, 460px); gap: 3rem; align-items: start; }
  .lp-claim { padding: 3rem 0; }
}
@media (min-width: 1100px) { .lp-svc { grid-template-columns: repeat(4, 1fr); } .lp-item { grid-template-columns: 1fr; } .lp-item img { grid-row: auto; width: 100%; height: 140px; } }

/* ===== Variantes por intención (/offer/sauna/, /es/oferta/terapia/, …): solo clases nuevas, no tocan /offer/ ===== */
/* Héroe compacto: en móvil el botón principal queda sobre el pliegue */
.lp-hero.lp-hero-i { padding: 1rem 0 1.2rem; }
.lp-hero.lp-i-sauna { background-image: linear-gradient(rgba(17,17,17,.62), rgba(17,17,17,.80)), url("assets/lp/hero-i-sauna-800.jpg"); }
.lp-hero.lp-i-stretching { background-image: linear-gradient(rgba(17,17,17,.66), rgba(17,17,17,.82)), url("assets/lp/hero-i-stretching-800.jpg"); }
.lp-hero.lp-i-recovery { background-image: linear-gradient(rgba(17,17,17,.66), rgba(17,17,17,.82)), url("assets/lp/hero-i-recovery-800.jpg"); }
.lp-hero.lp-i-terapia { background-image: linear-gradient(rgba(17,17,17,.66), rgba(17,17,17,.82)), url("assets/lp/hero-i-terapia-800.jpg"); }
.lp-hero-i .lp-slogan { margin-bottom: .45rem; font-size: .88rem; }
.lp-hero-i .lp-kicker { margin-bottom: .5rem; }
.lp-hero-i h1 { font-size: clamp(1.75rem, 7.6vw, 3rem); margin-bottom: .45rem; }
.lp-hero-i .lp-sub { font-size: 1.02rem; margin-bottom: .6rem; }
.lp-anchor { margin: 0 auto .8rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .1rem .55rem; }
.lp-anchor-svc { font-weight: 700; width: 100%; font-size: .95rem; }
.lp-anchor-p { font-size: 2rem; font-weight: 900; color: var(--yellow); line-height: 1; }
.lp-anchor-d { font-weight: 800; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; padding: .1rem .55rem; }
.lp-hero-i .lp-ctas .btn { min-height: 52px; }

/* Franja de confianza */
.lp-trust { background: var(--black); color: var(--white); border-bottom: 4px solid var(--yellow); }
.lp-trust ul { list-style: none; margin: 0; padding: .65rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .8rem; }
.lp-trust li { font-weight: 800; font-size: .95rem; padding-left: 1.1rem; position: relative; }
.lp-trust li::before { content: ""; position: absolute; left: 0; top: .45em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--yellow); }

/* Beneficios, cómo funciona, FAQ */
.lp-benefits, .lp-how, .lp-faq { padding: 1.6rem 0 1.2rem; }
.lp-benefits h2, .lp-how h2, .lp-faq h2 { font-size: 1.6rem; margin: 0 0 .9rem; }
.lp-ben { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.lp-ben li { border: 2px solid var(--black); border-top: 8px solid var(--yellow); border-radius: 12px; padding: .8rem .9rem; background: var(--white); }
.lp-ben h3 { margin: 0 0 .3rem; font-size: 1.2rem; }
.lp-ben p { margin: 0; line-height: 1.45; }
.lp-how { background: var(--gray); }
.lp-how .lp-steps strong { color: inherit; }
.lp-faq-list { display: grid; gap: .55rem; }
.lp-faq details { border: 2px solid var(--black); border-radius: 12px; background: var(--white); }
.lp-faq summary { cursor: pointer; font-weight: 800; font-size: 1.08rem; padding: .8rem 2.4rem .8rem .9rem; min-height: 48px; list-style: none; position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: .9rem; top: .55rem; font-size: 1.4rem; font-weight: 900; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq details p { margin: 0; padding: 0 .9rem .9rem; line-height: 1.5; }

/* Reclamo BEE secundario (intenciones de servicio): mismo formulario, menos protagonismo */
.lp-claim.lp-claim-sec { background: var(--white); border-top: 4px solid var(--yellow); border-bottom: 4px solid var(--yellow); }

/* Otros servicios en formato compacto, en el orden de la intención (sin reordenar por CSS) */
.lp-svc-compact .lp-item { order: 0; grid-template-columns: 64px 1fr; padding: .6rem .7rem .7rem; }
.lp-svc-compact .lp-item img { width: 64px; height: 64px; }
.lp-svc-compact .lp-desc { display: none; }
.lp-svc-compact .lp-item .lp-acts { margin-top: .45rem; }

@media (min-width: 720px) {
  .lp-hero.lp-hero-i { padding: 2.4rem 0 2.6rem; }
  .lp-trust ul { grid-template-columns: repeat(4, auto); justify-content: center; }
  .lp-ben { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .lp-hero.lp-i-sauna { background-image: linear-gradient(rgba(17,17,17,.60), rgba(17,17,17,.78)), url("assets/lp/hero-i-sauna-1200.jpg"); }
  .lp-hero.lp-i-stretching { background-image: linear-gradient(rgba(17,17,17,.64), rgba(17,17,17,.80)), url("assets/lp/hero-i-stretching-1200.jpg"); }
  .lp-hero.lp-i-recovery { background-image: linear-gradient(rgba(17,17,17,.64), rgba(17,17,17,.80)), url("assets/lp/hero-i-recovery-1200.jpg"); }
  .lp-hero.lp-i-terapia { background-image: linear-gradient(rgba(17,17,17,.64), rgba(17,17,17,.80)), url("assets/lp/hero-i-terapia-1200.jpg"); }
  .lp-faq-list { max-width: 820px; }
}
@media (min-width: 1100px) { .lp-svc-compact { grid-template-columns: repeat(3, 1fr); } .lp-svc-compact .lp-item img { width: 100%; height: 120px; } }
