/* restaurante.css — plantilla de restaurantes (La Pipeta, La Vita, IGNIS).
   Todo cuelga de .pg-rest. El color sale de la marca: --nav-button / --nav-button-hover (main.css). */
.pg-rest { --ac: var(--nav-button); --ac-h: var(--nav-button-hover); font-family:'Poppins',sans-serif; color:var(--negro); }
.pg-rest img { max-width:100%; display:block; }
.pg-rest a { text-decoration:none; }
.pg-rest .rt-in { max-width:1280px; margin:0 auto; }
.pg-rest .rt-sec { padding:64px 60px; }
.pg-rest .rt-sec.alt { background:var(--fondo-suave); }
.pg-rest .rt-h2 { font-family:'Playfair Display',serif; font-size:clamp(26px,3.6vw,38px); text-align:center; line-height:1.2; }
.pg-rest .rt-h2 em { font-style:italic; color:var(--ac); }
.pg-rest .rt-line { width:48px; height:3px; background:var(--ac); margin:14px auto 40px; border-radius:2px; }
.pg-rest .rt-sub { text-align:center; max-width:620px; margin:-24px auto 40px; font-size:17px; line-height:1.7; color:#444; }
/* botones */
.pg-rest .rt-btn { display:inline-flex; align-items:center; gap:8px; padding:13px 26px; border-radius:4px; font-size:15px; font-weight:700; border:1.5px solid var(--ac); background:var(--ac); color:#fff; transition:background .2s, border-color .2s; }
.pg-rest .rt-btn:hover { background:var(--ac-h); border-color:var(--ac-h); }
.pg-rest .rt-btn.line { background:transparent; color:#fff; border-color:rgba(255,255,255,.65); font-weight:600; }
.pg-rest .rt-btn.line:hover { background:rgba(255,255,255,.12); border-color:#fff; }
.pg-rest .rt-btn.line-ac { background:transparent; color:var(--ac); }
.pg-rest .rt-btn.line-ac:hover { background:var(--ac); color:#fff; }
.pg-rest .rt-btn.blanco { background:#fff; color:var(--ac); border-color:#fff; }
.pg-rest .rt-btn svg { width:15px; height:15px; }
/* hero */
.pg-rest .rt-hero { position:relative; min-height:max(720px,78vh); display:flex; align-items:center; background:#161616 center/cover no-repeat; padding:80px 60px; overflow:hidden; }
.pg-rest .rt-hero::before { content:''; position:absolute; inset:0; background:linear-gradient(to right, rgba(0,0,0,.78) 42%, rgba(0,0,0,.2) 100%); }
.pg-rest .rt-hero-c { position:relative; z-index:1; max-width:1280px; width:100%; margin:0 auto; }
.pg-rest .rt-eyebrow { display:inline-flex; align-items:center; gap:10px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.3); color:#fff; font-size:12.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; padding:6px 16px; border-radius:50px; margin-bottom:26px; }
.pg-rest .rt-eyebrow img { height:34px; width:auto; }
.pg-rest .rt-hero h1 { font-family:'Playfair Display',serif; font-size:clamp(1.85rem,5vw,3.8rem); line-height:1.12; color:#fff; max-width:640px; overflow-wrap:break-word; margin-bottom:22px; }
.pg-rest .rt-hero h1 em, .pg-rest .rt-hero h1 span { font-style:italic; color:var(--ac); filter:brightness(1.35); }
.pg-rest .rt-hero p.d { font-size:17.5px; font-weight:300; line-height:1.7; color:rgba(255,255,255,.8); max-width:500px; margin-bottom:36px; }
.pg-rest .rt-btns { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:40px; }
.pg-rest .rt-badges { display:flex; gap:10px; flex-wrap:wrap; }
.pg-rest .rt-badge { display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25); color:#fff; font-size:14px; padding:8px 16px; border-radius:50px; }
.pg-rest .rt-badge svg { width:15px; height:15px; }
/* pills */
.pg-rest .rt-pills { border-bottom:1px solid var(--borde); padding:40px 60px; }
.pg-rest .rt-pills .rt-in { display:grid; grid-template-columns:repeat(4,1fr); gap:28px; }
.pg-rest .rt-pill { display:flex; gap:14px; align-items:flex-start; }
.pg-rest .rt-pill .ic { width:44px; height:44px; flex-shrink:0; border-radius:12px; background:color-mix(in srgb, var(--ac) 10%, #fff); color:var(--ac); display:flex; align-items:center; justify-content:center; }
.pg-rest .rt-pill .ic svg { width:22px; height:22px; }
.pg-rest .rt-pill h3 { font-size:16px; font-weight:600; margin-bottom:3px; }
.pg-rest .rt-pill p { font-size:14px; color:#555; line-height:1.55; }
/* tarjetas con foto (experiencia / carta) */
.pg-rest .rt-grid { display:grid; gap:20px; }
.pg-rest .rt-grid.c3 { grid-template-columns:repeat(3,1fr); }
.pg-rest .rt-grid.c4 { grid-template-columns:repeat(4,1fr); }
.pg-rest .rt-foto { position:relative; border-radius:14px; overflow:hidden; aspect-ratio:4/3; background:#222; display:block; color:#fff; }
.pg-rest .rt-foto img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.pg-rest .rt-foto:hover img { transform:scale(1.05); }
.pg-rest .rt-foto .ov { position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 60%); display:flex; flex-direction:column; justify-content:flex-end; padding:22px; }
.pg-rest .rt-foto .ci { width:38px; height:38px; border-radius:50%; background:var(--ac); display:flex; align-items:center; justify-content:center; margin-bottom:10px; }
.pg-rest .rt-foto .ci svg { width:18px; height:18px; }
.pg-rest .rt-foto h3 { font-size:20px; font-weight:700; margin-bottom:5px; }
.pg-rest .rt-foto p { font-size:15px; color:rgba(255,255,255,.82); line-height:1.5; }
.pg-rest .rt-foto .mas { margin-top:10px; font-size:14px; font-weight:600; }
.pg-rest .rt-carta { border-radius:14px; overflow:hidden; background:#fff; box-shadow:0 2px 16px rgba(0,0,0,.08); transition:transform .2s, box-shadow .2s; display:block; color:inherit; }
.pg-rest .rt-carta:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(0,0,0,.14); }
.pg-rest .rt-carta img { width:100%; aspect-ratio:4/3; object-fit:cover; }
.pg-rest .rt-carta .b { padding:16px; }
.pg-rest .rt-carta .h { display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.pg-rest .rt-carta .h .ic { width:32px; height:32px; border-radius:50%; background:color-mix(in srgb, var(--ac) 12%, #fff); color:var(--ac); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.pg-rest .rt-carta .h svg { width:16px; height:16px; }
.pg-rest .rt-carta h3 { font-size:17px; font-weight:700; }
.pg-rest .rt-carta p { font-size:14px; color:#555; line-height:1.5; margin-bottom:10px; }
.pg-rest .rt-carta .mas { font-size:13.5px; font-weight:600; color:var(--ac); }
/* menús (La Pipeta) */
.pg-rest .rt-menu { background:#fff; border:1px solid var(--borde); border-radius:16px; padding:30px 26px; display:flex; flex-direction:column; gap:12px; }
.pg-rest .rt-menu h3 { font-size:18.5px; font-weight:700; display:flex; align-items:center; gap:12px; }
.pg-rest .rt-menu h3 .ic { width:46px; height:46px; border-radius:12px; background:color-mix(in srgb, var(--ac) 10%, #fff); color:var(--ac); display:flex; align-items:center; justify-content:center; }
.pg-rest .rt-menu h3 svg { width:24px; height:24px; }
.pg-rest .rt-menu .tag { align-self:flex-start; font-size:12.5px; font-weight:600; color:var(--ac); background:color-mix(in srgb, var(--ac) 10%, #fff); padding:4px 10px; border-radius:50px; }
.pg-rest .rt-menu p { font-size:15px; color:#444; line-height:1.6; flex:1; }
.pg-rest .rt-menu a { align-self:flex-start; }
/* banda (take away / menú grupos) */
.pg-rest .rt-banda { background:var(--ac); color:#fff; }
.pg-rest .rt-banda .rt-in { display:grid; grid-template-columns:1fr 1fr; align-items:stretch; }
.pg-rest .rt-banda .t { padding:54px 48px 54px 0; display:flex; flex-direction:column; gap:14px; justify-content:center; }
.pg-rest .rt-banda h2 { font-family:'Playfair Display',serif; font-size:clamp(28px,3.5vw,40px); line-height:1.15; }
.pg-rest .rt-banda p { font-size:17px; font-weight:300; color:rgba(255,255,255,.88); max-width:420px; line-height:1.6; }
.pg-rest .rt-banda ul { list-style:none; display:flex; flex-direction:column; gap:6px; font-size:16px; }
.pg-rest .rt-banda ul li::before { content:'✓ '; font-weight:700; }
.pg-rest .rt-banda .acc { display:flex; flex-wrap:wrap; gap:14px; align-items:center; margin-top:4px; }
.pg-rest .rt-banda .tel { color:#fff; font-weight:600; display:inline-flex; align-items:center; gap:8px; }
.pg-rest .rt-banda .tel svg { width:16px; height:16px; }
.pg-rest .rt-banda .im { background:#222 center/cover no-repeat; min-height:260px; position:relative; }
.pg-rest .rt-banda .im img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.pg-rest .rt-banda .precio { position:absolute; right:20px; bottom:20px; background:#fff; color:var(--ac); border-radius:12px; padding:14px 20px; text-align:center; line-height:1.2; }
.pg-rest .rt-banda .precio b { display:block; font-size:34px; }
.pg-rest .rt-banda .precio small { display:block; font-size:12.5px; color:#555; }
/* pasaporte */
.pg-rest .rt-pas { padding:56px 60px; background:var(--fondo-suave); }
.pg-rest .rt-pas-box { max-width:1000px; margin:0 auto; background:#474f26; color:#fff; border-radius:14px; display:grid; grid-template-columns:150px 1fr auto; gap:36px; align-items:center; padding:28px 40px; overflow:hidden; }
.pg-rest .rt-pas-box img { width:110px; margin:0 auto; border-radius:14px; }
.pg-rest .rt-pas-box h3 { font-size:24px; margin-bottom:6px; }
.pg-rest .rt-pas-box p { font-size:15px; color:rgba(255,255,255,.7); line-height:1.6; }
.pg-rest .rt-pas-box .rt-btn { background:#d6d94f; border-color:#d6d94f; color:var(--negro); white-space:nowrap; }
/* reseñas */
.pg-rest .resenas { background:var(--fondo-suave); padding:64px 60px; }
.pg-rest .resenas-header { text-align:center; }
.pg-rest .resenas-header h2 { font-family:'Playfair Display',serif; font-size:clamp(26px,3.6vw,38px); }
.pg-rest .resenas-sep { display:flex; align-items:center; justify-content:center; gap:12px; margin:14px 0 36px; }
.pg-rest .resenas-sep::before, .pg-rest .resenas-sep::after { content:''; height:1px; width:60px; background:#ccc; }
.pg-rest .resenas-sep span { color:var(--ac); font-size:16px; }
.pg-rest .resenas-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; max-width:1280px; margin:0 auto; }
.pg-rest .rev-card { background:#fff; border:1.5px solid var(--verde-lima); border-radius:10px; padding:22px; }
.pg-rest .rev-stars { color:var(--ac); font-size:16px; letter-spacing:2px; margin-bottom:12px; }
.pg-rest .rev-text { font-size:16px; color:#444; font-weight:300; line-height:1.75; font-style:italic; }
.pg-rest .rev-name { font-size:15px; font-weight:600; }
.pg-rest .rev-loc { font-size:12.5px; color:#999; display:flex; align-items:center; gap:4px; margin-top:2px; }
/* CTA final */
.pg-rest .rt-cta { background:#111; color:#fff; text-align:center; padding:72px 60px; position:relative; overflow:hidden; }
.pg-rest .rt-cta::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse at 20% 50%, color-mix(in srgb, var(--ac) 30%, transparent) 0%, transparent 55%); }
.pg-rest .rt-cta .in { position:relative; max-width:720px; margin:0 auto; }
.pg-rest .rt-cta img.lg { height:64px; width:auto; margin:0 auto 20px; filter:brightness(0) invert(1); }
.pg-rest .rt-cta h2 { font-family:'Playfair Display',serif; font-size:clamp(1.8rem,3.5vw,2.6rem); margin-bottom:12px; }
.pg-rest .rt-cta p { color:rgba(255,255,255,.7); font-size:17px; line-height:1.6; margin-bottom:32px; }
.pg-rest .rt-cta .bt { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; align-items:center; }
.pg-rest .rt-cta .tel { color:#fff; font-size:22px; font-weight:700; border:2px solid rgba(255,255,255,.3); border-radius:50px; padding:12px 28px; display:inline-flex; gap:10px; align-items:center; }
.pg-rest .rt-cta .tel svg { width:18px; height:18px; }
@media (max-width:1000px) { .pg-rest .rt-grid.c4 { grid-template-columns:repeat(2,1fr); } }
@media (max-width:900px) {
  .pg-rest .rt-sec, .pg-rest .rt-pas, .pg-rest .resenas, .pg-rest .rt-cta, .pg-rest .rt-pills { padding-left:20px; padding-right:20px; }
  .pg-rest .rt-sec, .pg-rest .resenas { padding-top:48px; padding-bottom:48px; }
  .pg-rest .rt-hero { padding:64px 20px; min-height:auto; }
  .pg-rest .rt-pills .rt-in { grid-template-columns:repeat(2,1fr); }
  .pg-rest .rt-grid.c3, .pg-rest .resenas-grid { grid-template-columns:1fr; }
  .pg-rest .rt-banda .rt-in { grid-template-columns:1fr; }
  .pg-rest .rt-banda .t { padding:40px 20px; }
  .pg-rest .rt-pas-box { grid-template-columns:1fr; text-align:center; padding:28px 20px; gap:20px; }
}
@media (max-width:540px) { .pg-rest .rt-grid.c4, .pg-rest .rt-pills .rt-in { grid-template-columns:1fr; } .pg-rest .rt-btns { flex-direction:column; align-items:flex-start; } }


/* ---- AJUSTES 1-nov ---- */
/* Logo del eyebrow (IGNIS): blanco, sin burbuja */
.pg-rest .rt-eyebrow.sin-burbuja { background:none; border:0; padding:0; margin-bottom:18px; }
.pg-rest .rt-eyebrow.sin-burbuja img { height:64px; filter:brightness(0) invert(1); }
.pg-rest .rt-eyebrow.sin-burbuja img[src*="logo-vita"] { height:88px; }
/* Bandas (Take away / Para llevar / Menú grupos): contenidas en la columna, con esquinas redondeadas */
.pg-rest .rt-banda { background:none; padding:56px 60px; }
.pg-rest .rt-banda .rt-in { background:var(--ac); border-radius:16px; overflow:hidden; }
.pg-rest .rt-banda .t { padding:48px; }
@media (max-width:900px) {
  .pg-rest .rt-banda { padding:32px 20px; }
  .pg-rest .rt-banda .t { padding:32px 24px; }
}

/* Cuando una página tiene dos bandas seguidas (p. ej. IGNIS: Menús para grupos + Para llevar),
   la de Menús para grupos va en oscuro (Para llevar, que vende, va primero y en el color de la marca). */
.pg-rest .rt-banda.rt-banda-oscura .rt-in { background:#1c1c1c; }
.pg-rest .rt-banda.rt-banda-oscura h2 { color:var(--verde-lima); }

/* Tarjetas de carta: etiqueta sobre la foto + enlace subrayado (opción B) */
.pg-rest .rt-carta .im { display:block; position:relative; line-height:0; }
.pg-rest .rt-carta .chip { position:absolute; right:12px; bottom:12px; background:#fff; color:var(--ac); font-size:12.5px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; padding:7px 12px; border-radius:20px; box-shadow:0 2px 8px rgba(0,0,0,.2); line-height:1; }
.pg-rest .rt-carta .mas { display:inline-block; font-size:15px; font-weight:700; color:var(--ac); border-bottom:2px solid var(--ac); padding-bottom:1px; }
/* Teléfono de la franja Para llevar: se ve como botón */
.pg-rest .rt-banda .tel { background:#fff; color:#1c1c1c; padding:12px 22px; border-radius:4px; font-weight:700; }
.pg-rest .rt-banda .tel svg { stroke:var(--ac); }

/* Pop-up "La Pipeta cerrada" (inc/aviso-cerrado.php) */
.glp-pop { position:fixed; inset:0; z-index:2500; background:rgba(17,17,17,.62); display:flex; align-items:center; justify-content:center; padding:20px; }
.glp-pop[hidden] { display:none; }
.glp-pop-box { position:relative; background:#fff; border-radius:14px; max-width:460px; width:100%; padding:36px 32px 30px; text-align:center; box-shadow:0 20px 60px rgba(0,0,0,.35); border-top:6px solid #B61E2E; font-family:'Poppins',sans-serif; }
.glp-pop-logo { height:56px; width:auto; display:block; margin:0 auto 16px; }
.glp-pop-box h2 { font-family:'Playfair Display',serif; font-size:1.6rem; line-height:1.2; color:#1c1c1c; margin-bottom:12px; }
.glp-pop-box p { font-size:16.5px; line-height:1.65; color:#555; font-weight:300; margin-bottom:22px; }
.glp-pop-btns { display:flex; flex-direction:column; gap:10px; }
.glp-pop-main { display:block; background:#c73b1a; color:#fff; padding:13px 22px; border-radius:4px; font-size:16px; font-weight:700; text-decoration:none; }
.glp-pop-main:hover { background:#451203; }
.glp-pop-sec { background:transparent; color:#1c1c1c; border:1.5px solid #1c1c1c; padding:12px 22px; border-radius:4px; font:600 15px 'Poppins',sans-serif; cursor:pointer; }
.glp-pop-sec:hover { background:#1c1c1c; color:#fff; }
.glp-pop-x { position:absolute; top:10px; right:12px; width:36px; height:36px; border:0; background:transparent; font-size:28px; line-height:1; color:#777; cursor:pointer; border-radius:50%; }
.glp-pop-x:hover { background:#f1f1ee; color:#1c1c1c; }
@media (max-width:540px) { .glp-pop-box { padding:30px 20px 24px; } .glp-pop-box h2 { font-size:1.4rem; } }

/* Alineación: el enlace "Ver ... →" queda siempre al fondo de cada tarjeta de carta (29-nov) */
.pg-rest .rt-carta{display:flex;flex-direction:column}
.pg-rest .rt-carta .b{flex:1;display:flex;flex-direction:column}
.pg-rest .rt-carta .mas{margin-top:auto;align-self:flex-start}
.pg-rest .rt-carta p{margin-bottom:14px}
