/* hostal.css — Páginas de hostal (Los Valles y Pañart). Todo va dentro de .pg-hostal para no chocar con el Home. El color de acento sale de --nav-button (lo fija $marca en header.php). */
.pg-hostal .hero{position:relative;min-height:max(720px,78vh);display:flex;align-items:flex-end;padding:64px 60px;overflow:hidden;background:var(--oscuro)}
.pg-hostal .hero-bg{position:absolute;inset:0;background-size:cover;background-position:center}
.pg-hostal .hero-overlay{position:absolute;inset:0;background:linear-gradient(to right,rgba(0,0,0,.72) 45%,rgba(0,0,0,.15) 100%)}
.pg-hostal .hero-content{position:relative;z-index:1;max-width:560px}
.pg-hostal .hero-content h1{font-family:'Playfair Display',serif;font-size:clamp(30px,4.8vw,52px);color:#fff;line-height:1.15;margin-bottom:20px}
.pg-hostal .hero-content h1 span{color:var(--nav-button)}
.pg-hostal .hero-content p{font-size:17px;color:rgba(255,255,255,.85);line-height:1.7;margin-bottom:32px;font-weight:300;max-width:440px}
.pg-hostal .hero-btns{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:32px}
.pg-hostal .btn-hero-primary, .pg-hostal .btn-cta-reservar, .pg-hostal .btn-cruce{background:var(--nav-button);color:#fff;padding:13px 26px;border:none;border-radius:4px;font-family:'Poppins',sans-serif;font-size:15px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:8px;text-decoration:none;transition:background .2s}
.pg-hostal .btn-hero-primary:hover, .pg-hostal .btn-cta-reservar:hover, .pg-hostal .btn-cruce:hover{background:var(--nav-button-hover)}
.pg-hostal .btn-hero-outline{background:transparent;color:#fff;padding:13px 26px;border:1.5px solid rgba(255,255,255,.65);border-radius:4px;font-family:'Poppins',sans-serif;font-size:15px;font-weight:600;display:inline-flex;align-items:center;gap:8px;text-decoration:none;transition:border-color .2s}
.pg-hostal .btn-hero-outline:hover{border-color:#fff}
.pg-hostal .hero-badges{display:flex;gap:10px;flex-wrap:wrap}
.pg-hostal .hero-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);border-radius:20px;padding:6px 14px;font-size:13.5px;color:rgba(255,255,255,.92);backdrop-filter:blur(4px)}
.pg-hostal .features-strip{background:#fff;border-bottom:1px solid var(--borde);padding:36px 60px}
.pg-hostal .features-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.pg-hostal .feature-item{display:flex;align-items:flex-start;gap:14px}
.pg-hostal .feature-icon{width:40px;height:40px;flex-shrink:0;color:var(--nav-button)}
.pg-hostal .feature-item h4{font-size:16px;font-weight:600;color:var(--negro);margin-bottom:4px}
.pg-hostal .feature-item p{font-size:15px;color:#555;line-height:1.6;font-weight:300}
.pg-hostal .section-header{text-align:center;padding:64px 60px 0}
.pg-hostal .section-header h2, .pg-hostal .resenas-header h2{font-family:'Playfair Display',serif;font-size:clamp(24px,3.5vw,34px);color:var(--negro);margin-bottom:14px}
.pg-hostal .section-header h2 span{color:var(--nav-button)}
.pg-hostal .separator{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px 0 36px}
.pg-hostal .separator::before, .pg-hostal .separator::after{content:'';height:1px;width:60px;background:#ccc;display:block}
.pg-hostal .separator span{color:#474f26;font-size:16px}
.pg-hostal .experiencia{padding:0 60px 64px}
.pg-hostal .experiencia-grid, .pg-hostal .planes-grid, .pg-hostal .resenas-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.pg-hostal .exp-card, .pg-hostal .plan-card{border-radius:12px;overflow:hidden;position:relative;display:flex;align-items:flex-end;background:var(--oscuro)}
.pg-hostal .exp-card{min-height:280px}
.pg-hostal .plan-card{min-height:240px}
.pg-hostal .exp-card-bg, .pg-hostal .plan-card-bg{position:absolute;inset:0;background-size:cover;background-position:center;transition:transform .4s ease}
.pg-hostal .exp-card:hover .exp-card-bg, .pg-hostal .plan-card:hover .plan-card-bg{transform:scale(1.04)}
.pg-hostal .exp-card-overlay, .pg-hostal .plan-card-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.8) 40%,rgba(0,0,0,.05) 100%)}
.pg-hostal .exp-card-content, .pg-hostal .plan-card-content{position:relative;z-index:1;padding:22px;width:100%}
.pg-hostal .exp-card-icon, .pg-hostal .plan-card-icon{width:36px;height:36px;background:rgba(255,255,255,.12);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:10px;border:1px solid rgba(255,255,255,.28)}
.pg-hostal .exp-card-icon svg, .pg-hostal .plan-card-icon svg{width:18px;height:18px;stroke:var(--nav-button)}
.pg-hostal .exp-card-content h3{font-family:'Playfair Display',serif;font-size:22px;color:#fff;margin-bottom:8px}
.pg-hostal .exp-card-content p{font-size:16px;color:rgba(255,255,255,.85);line-height:1.65;font-weight:300}
.pg-hostal .plan-card-content h3{font-size:17.5px;font-weight:600;color:#fff;margin-bottom:6px}
.pg-hostal .plan-card-content p{font-size:15px;color:rgba(255,255,255,.85);line-height:1.6;font-weight:300;margin-bottom:10px}
.pg-hostal .plan-tag{display:inline-flex;align-items:center;font-size:13.5px;color:rgba(255,255,255,.8);background:rgba(0,0,0,.35);padding:4px 10px;border-radius:20px}
.pg-hostal .alojamiento{background:var(--fondo-suave);padding:0 60px 64px}
.pg-hostal .aloj-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.pg-hostal .aloj-grid.cols-4{grid-template-columns:repeat(4,1fr)}
.pg-hostal .aloj-card{background:#fff;border-radius:12px;overflow:hidden;border:1px solid var(--borde)}
.pg-hostal .aloj-card-img{width:100%;height:200px;object-fit:cover;display:block;background:var(--fondo-suave)}
.pg-hostal .aloj-card-body{padding:20px}
.pg-hostal .aloj-card-icon{width:32px;height:32px;background:rgba(0,0,0,.05);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:12px}
.pg-hostal .aloj-card-icon svg{width:16px;height:16px;stroke:var(--nav-button)}
.pg-hostal .aloj-card-body h3{font-family:'Playfair Display',serif;font-size:20px;color:var(--negro);margin-bottom:8px}
.pg-hostal .aloj-card-body p{font-size:16px;color:#555;line-height:1.65;font-weight:300;margin-bottom:16px}
.pg-hostal .btn-ver-opcion{color:var(--nav-button);font-size:15px;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:6px;transition:gap .2s}
.pg-hostal .btn-ver-opcion:hover{gap:10px}
.pg-hostal .planes{padding:0 60px 64px}
.pg-hostal .banner-cruce{margin:0 60px 64px;border-radius:14px;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;min-height:200px;background:var(--oscuro-banner)}
.pg-hostal .banner-cruce-left{padding:44px 48px;display:flex;flex-direction:column;justify-content:center;gap:14px}
.pg-hostal .banner-cruce-logo{height:52px;width:auto;display:block;filter:brightness(0) invert(1);align-self:flex-start}
.pg-hostal .banner-cruce-left h3{font-family:'Playfair Display',serif;font-size:24px;color:#fff;line-height:1.3}
.pg-hostal .banner-cruce-left h3 span{color:var(--color-cruce)}
.pg-hostal .banner-cruce-left p{font-size:16px;color:rgba(255,255,255,.75);line-height:1.7;font-weight:300;max-width:320px}
.pg-hostal .btn-cruce{align-self:flex-start;padding:11px 22px}
.pg-hostal .banner-cruce-right{background-size:cover;background-position:center;min-height:200px}
.pg-hostal .amenidades{padding:40px 60px;background:#fff;border-top:1px solid var(--borde);border-bottom:1px solid var(--borde)}
.pg-hostal .amenidades-grid{display:grid;grid-template-columns:repeat(3,1fr)}
.pg-hostal .amenidad-item{display:flex;align-items:center;gap:14px;padding:16px 24px}
.pg-hostal .amenidad-item:not(:last-child){border-right:1px solid var(--borde)}
.pg-hostal .amenidad-icon{width:38px;height:38px;flex-shrink:0;color:var(--nav-button)}
.pg-hostal .amenidad-item span{font-size:15px;color:#444;line-height:1.5}
.pg-hostal .amenidad-item strong{display:block;font-size:16px;font-weight:600;color:var(--negro)}
.pg-hostal .resenas{background:var(--fondo-suave);padding:64px 60px}
.pg-hostal .resenas-header{text-align:center}
.pg-hostal .resenas-sep{display:flex;align-items:center;justify-content:center;gap:12px;margin:14px 0 40px}
.pg-hostal .resenas-sep::before, .pg-hostal .resenas-sep::after{content:'';height:1px;width:60px;background:#ccc;display:block}
.pg-hostal .resenas-sep span{color:#474f26;font-size:16px}
.pg-hostal .cta-final{background:var(--oscuro);padding:48px 60px;display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.pg-hostal .cta-final-left h2{font-family:'Playfair Display',serif;font-size:clamp(22px,3vw,32px);color:#fff;line-height:1.25}
.pg-hostal .cta-final-left h2 span{color:var(--nav-button)}
.pg-hostal .cta-final-center{display:flex;align-items:center;gap:12px}
.pg-hostal .cta-final-center svg{width:22px;height:22px;stroke:var(--nav-button);fill:none;flex-shrink:0}
.pg-hostal .cta-final-center strong{display:block;font-size:24px;font-weight:700;color:#fff;letter-spacing:.5px}
.pg-hostal .cta-final-center small{font-size:13.5px;color:rgba(255,255,255,.6);font-weight:300}
.pg-hostal .btn-cta-reservar{flex-shrink:0}
@media (max-width:900px){
.pg-hostal .hero{padding:48px 20px;min-height:480px}
.pg-hostal .features-strip{padding:28px 20px}
.pg-hostal .features-grid{grid-template-columns:repeat(2,1fr);gap:20px}
.pg-hostal .section-header{padding:48px 20px 0}
.pg-hostal .experiencia, .pg-hostal .alojamiento, .pg-hostal .planes{padding-left:20px;padding-right:20px;padding-bottom:48px}
.pg-hostal .alojamiento .section-header, .pg-hostal .planes .section-header{padding-left:0;padding-right:0}
.pg-hostal .experiencia-grid, .pg-hostal .planes-grid, .pg-hostal .resenas-grid{grid-template-columns:1fr;gap:16px}
.pg-hostal .aloj-grid, .pg-hostal .aloj-grid.cols-4{grid-template-columns:repeat(2,1fr);gap:16px}
.pg-hostal .banner-cruce{margin:0 20px 48px;grid-template-columns:1fr}
.pg-hostal .banner-cruce-right{display:none}
.pg-hostal .banner-cruce-left{padding:32px 28px}
.pg-hostal .amenidades{padding:32px 20px}
.pg-hostal .amenidades-grid{grid-template-columns:1fr}
.pg-hostal .amenidad-item:not(:last-child){border-right:none;border-bottom:1px solid var(--borde)}
.pg-hostal .resenas{padding:48px 20px}
.pg-hostal .cta-final{padding:40px 20px;flex-direction:column;align-items:flex-start}
}
@media (max-width:540px){
.pg-hostal .features-grid, .pg-hostal .aloj-grid, .pg-hostal .aloj-grid.cols-4{grid-template-columns:1fr}
.pg-hostal .hero-btns{flex-direction:column}
.pg-hostal .hero-btns a{justify-content:center}
}

/* Colores propios de cada hostal (fondos oscuros del hero/CTA/banner). Para cambiar un color, tocar aquí. */
body.marca-valles .pg-hostal{--oscuro:#1a150a;--oscuro-banner:#1a1207;--color-cruce:#C21875}
body.marca-panart .pg-hostal{--oscuro:#062322;--oscuro-banner:#130c04;--color-cruce:#c73b1a}

/* ---- Motor de reservas Mr Plan ---- */
.pg-hostal .motor-reservas { padding: 56px 60px; background: #fff; text-align: center; }
.pg-hostal .motor-reservas h2 { font-family: 'Playfair Display', serif; font-size: 30px; margin-bottom: 8px; }
.pg-hostal .motor-reservas > p { color: #555; font-size: 16px; margin-bottom: 24px; }
.pg-hostal .mrplan-wrap { max-width: 1000px; margin: 0 auto; text-align: left; }
.pg-hostal .motor-contacto { margin-top: 20px; font-size: 15px; }
.pg-hostal .motor-contacto a { color: var(--nav-button); }
@media (max-width: 900px) { .pg-hostal .motor-reservas { padding: 40px 20px; } }


/* ---- AJUSTES 1-nov: hero a pantalla completa, franja de contacto a todo el ancho ---- */
.pg-hostal .hero, .pg-hostal .glp-cta { width:100vw; margin-left:calc(50% - 50vw); }
.pg-hostal .hero { padding-left:max(60px, calc(50vw - 640px)); padding-right:60px; }
@media (max-width:900px){ .pg-hostal .hero { padding-left:20px; padding-right:20px; } }

/* Habitaciones sin foto real todavía: el logo se muestra entero sobre un fondo suave de la marca */
.pg-hostal .aloj-card-img.aloj-ph{object-fit:contain;padding:18px;background:color-mix(in srgb,var(--nav-button) 10%,#fff)}

/* Las amenidades se reparten solas según cuántas haya (Los Valles y Pañart tienen distinto número) */
.pg-hostal .amenidades-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}

/* ---- Mr Plan: su widget flota (capa_izq). Solo se añade un "clearfix" para que el footer quede debajo; NO se toca el ancho ni el flotado del widget (27-nov, corregido 28-nov). ---- */
.pg-hostal .mrplan-wrap::after { content: ""; display: table; clear: both; }
.pg-hostal .motor-reservas { clear: both; }
.pg-hostal .glp-cta { clear: both; position: relative; }

/* Logo de Los Valles en la tarjeta oscura: el dibujo es más pequeño que el de Pañart, se iguala el tamaño visual (27-nov) */
body.marca-valles .glp-cta img.lg{height:64px}
.pg-hostal .motor-contacto{text-align:center;margin-top:24px}

/* Alineación: "Ver opción →" siempre al fondo de cada tarjeta de habitación (29-nov) */
.pg-hostal .aloj-card{display:flex;flex-direction:column}
.pg-hostal .aloj-card-body{flex:1;display:flex;flex-direction:column}
.pg-hostal .aloj-card-body .btn-ver-opcion{margin-top:auto;align-self:flex-start}
