/* Landing Mobil-home Paradís — Camping El Carlitos
   Debajo de la cabecera azul de la web (.ph-hero): vídeo automático,
   información y galería. Todo con prefijo .lp para no tocar el resto. */

.lp{
  --lp-sea:#002e64; --lp-sun:#ec7e28; --lp-sun-dark:#d86f1c;
  --lp-sand:#f3ece0; --lp-cream:#fbf8f2; --lp-ink:#23302f; --lp-ink-soft:#5c6968;
  --lp-ease:cubic-bezier(.32,.72,0,1);
  font-family:var(--font-body,"PT Sans",Arial,sans-serif);
  color:var(--lp-ink);
  background:var(--lp-cream);
}
.lp *{box-sizing:border-box}
.lp h2,.lp h3{font-family:var(--font-head,"PT Sans",Arial,sans-serif);text-wrap:balance;margin:0}
.lp p{text-wrap:pretty;margin:0}
.lp img{display:block;max-width:100%}

/* ---------- piezas comunes ---------- */
.lp-wrap{max-width:1200px;margin:0 auto;padding:0 48px}
.lp-section{padding:80px 0}
.lp-section--white{background:#fff}
.lp-eyebrow{font-size:14px;line-height:20px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--lp-sun-dark);margin-bottom:12px}
.lp-h2{font-size:48px;line-height:1;font-weight:700;color:var(--lp-sea);max-width:680px}
.lp-head{margin-bottom:40px}
.lp-lead{font-size:18px;line-height:28px;color:var(--lp-ink-soft);margin-top:16px;max-width:680px}

.lp-ico{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.lp-ico--lg{width:40px;height:40px;stroke-width:1.4}

.lp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:var(--font-body,"PT Sans",Arial,sans-serif);font-size:16px;line-height:24px;font-weight:700;
  padding:16px 32px;border-radius:999px;text-decoration:none;
  transition:transform .7s var(--lp-ease),background-color .7s var(--lp-ease),color .7s var(--lp-ease),box-shadow .7s var(--lp-ease)}
.lp-btn--sun{background:var(--lp-sun);color:var(--lp-ink);box-shadow:0 16px 32px -12px rgba(236,126,40,.6)}
.lp-btn--sun:hover{background:var(--lp-sea);color:#fff;transform:translateY(-4px);box-shadow:0 20px 36px -12px rgba(0,46,100,.55)}
.lp-btn:active{transform:scale(.98)}
.lp-btn--block{width:100%}
.lp-btn:focus-visible,.lp-shot:focus-visible,.lp-video__toggle:focus-visible{outline:3px solid var(--lp-sun);outline-offset:4px}

/* aparición suave al entrar en pantalla */
.lp-reveal{opacity:0;transform:translateY(48px);filter:blur(8px);
  transition:opacity .9s var(--lp-ease),transform .9s var(--lp-ease),filter .9s var(--lp-ease)}
.lp-reveal.is-in{opacity:1;transform:none;filter:none}

/* ---------- VÍDEO ---------- */
.lp-video{padding:48px 0 32px}
.lp-video__frame{position:relative;margin:0;border-radius:24px;overflow:hidden;background:var(--lp-sea);
  aspect-ratio:20/9;box-shadow:0 32px 64px -32px rgba(0,46,100,.55)}
.lp-video__media{display:block;width:100%;height:100%;object-fit:cover}
.lp-video__toggle{position:absolute;right:16px;bottom:16px;width:48px;height:48px;border-radius:50%;border:0;cursor:pointer;
  display:flex;align-items:center;justify-content:center;background:rgba(0,46,100,.72);color:#fff;
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  transition:background-color .7s var(--lp-ease),transform .7s var(--lp-ease)}
.lp-video__toggle:hover{background:var(--lp-sun);color:var(--lp-ink)}
.lp-video__toggle:active{transform:scale(.94)}
.lp-video__ico{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.lp-video__ico--play{fill:currentColor;stroke-width:1.6}
.lp-video__toggle .lp-video__ico--play,
.lp-video__toggle[aria-pressed="true"] .lp-video__ico--pause{display:none}
.lp-video__toggle[aria-pressed="true"] .lp-video__ico--play{display:block}

/* ---------- DATOS RÁPIDOS ---------- */
.lp-facts{padding:16px 48px 0}
.lp-facts__list{list-style:none;margin:0 auto;padding:0;max-width:1104px;display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.lp-facts__list li{background:#fff;border:1px solid rgba(0,46,100,.08);border-radius:24px;padding:24px;
  display:flex;flex-direction:column;align-items:flex-start;gap:4px;color:var(--lp-sea);box-shadow:0 16px 32px -24px rgba(0,46,100,.35)}
.lp-facts__list .lp-ico{color:var(--lp-sun);margin-bottom:8px;width:32px;height:32px}
.lp-facts__list strong{font-family:var(--font-head,"PT Sans",Arial,sans-serif);font-size:30px;line-height:36px;font-weight:700}
.lp-facts__list span{font-size:14px;line-height:20px;color:var(--lp-ink-soft)}
.lp-facts__list li:nth-child(2){transition-delay:.08s}
.lp-facts__list li:nth-child(3){transition-delay:.16s}
.lp-facts__list li:nth-child(4){transition-delay:.24s}
.lp-facts__list li:nth-child(5){transition-delay:.32s}

/* ---------- INFORMACIÓN ---------- */
.lp-info{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:48px;align-items:start}
.lp-rooms{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.lp-room{background:var(--lp-sand);border-radius:24px;padding:32px;color:var(--lp-sea)}
.lp-room .lp-ico{color:var(--lp-sun-dark);margin-bottom:16px}
.lp-room h3{font-size:24px;line-height:32px;font-weight:700}
.lp-room p{font-size:16px;line-height:24px;color:var(--lp-ink-soft);margin-top:8px}
.lp-room:nth-child(2){transition-delay:.08s}
.lp-room:nth-child(3){transition-delay:.16s}
.lp-room:nth-child(4){transition-delay:.24s}

.lp-card{position:sticky;top:160px;background:#fff;border:1px solid rgba(0,46,100,.08);border-radius:24px;padding:32px;
  box-shadow:0 24px 48px -32px rgba(0,46,100,.45)}
.lp-card h3{font-size:24px;line-height:32px;font-weight:700;color:var(--lp-sea);margin-bottom:8px}
.lp-equip{list-style:none;padding:0;margin:0 0 24px}
.lp-equip li{display:flex;align-items:center;gap:12px;font-size:16px;line-height:24px;color:var(--lp-ink);padding:12px 0;border-bottom:1px solid rgba(0,46,100,.08)}
.lp-equip li:last-child{border-bottom:0}
.lp-equip .lp-ico{color:var(--lp-sea)}
.lp-card__note{font-size:14px;line-height:20px;color:var(--lp-ink-soft);text-align:center;margin-top:16px}

/* ---------- GALERÍA ---------- */
/* 4 columnas: la foto grande ocupa 2x2, la vertical 1x2 y las panorámicas 2x1,
   así las 11 fotos llenan 5 filas sin huecos */
.lp-gallery{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:200px;gap:16px;grid-auto-flow:dense}
.lp-shot{position:relative;display:block;padding:0;border:0;border-radius:16px;overflow:hidden;cursor:zoom-in;background:var(--lp-sand)}
.lp-shot img{width:100%;height:100%;object-fit:cover;transition:transform .9s var(--lp-ease)}
.lp-shot:hover img{transform:scale(1.05)}
.lp-shot::after{content:"";position:absolute;inset:0;background:rgba(0,46,100,0);transition:background-color .7s var(--lp-ease)}
.lp-shot:hover::after{background:rgba(0,46,100,.12)}
.lp-shot--big{grid-column:span 2;grid-row:span 2}
.lp-shot--wide{grid-column:span 2}
.lp-shot--tall{grid-row:span 2}

/* ---------- TABLET ---------- */
@media (max-width:1024px){
  .lp-facts__list{grid-template-columns:repeat(3,1fr)}
  .lp-info{grid-template-columns:1fr}
  .lp-card{position:static}
  .lp-gallery{grid-auto-rows:160px}
}

/* ---------- MÓVIL ---------- */
@media (max-width:640px){
  .lp-wrap{padding:0 16px}
  .lp-section{padding:64px 0}
  .lp-h2{font-size:36px;line-height:40px}
  .lp-h2 br{display:none}
  .lp-head{margin-bottom:32px}
  .lp-video{padding:32px 0 24px}
  .lp-video__frame{aspect-ratio:3/2;border-radius:16px}
  .lp-video__toggle{width:40px;height:40px;right:auto;left:12px;bottom:12px}
  .lp-facts{padding:8px 16px 0}
  .lp-facts__list{grid-template-columns:repeat(2,1fr);gap:12px}
  .lp-facts__list li{padding:16px}
  .lp-facts__list li:last-child{grid-column:span 2}
  .lp-facts__list strong{font-size:24px;line-height:32px}
  .lp-rooms{grid-template-columns:1fr}
  .lp-room,.lp-card{padding:24px}
  .lp-gallery{grid-template-columns:repeat(2,1fr);grid-auto-rows:120px;gap:8px}
  .lp-shot{border-radius:12px}
}

/* enlace "saltar al contenido" para teclado: solo se ve al tabular */

/* ---------- MOVIMIENTO REDUCIDO ---------- */
@media (prefers-reduced-motion:reduce){
  .lp-reveal{opacity:1;transform:none;filter:none;transition:none}
  .lp-shot img,.lp-btn{transition:none}
}
