
/* =============================================
   GRUPO LA PIPETA — HOME
   Versión: 1.0 | Junio 2026
   Creado por Omma Bazar
   ============================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --verde-oscuro: #474f26;
  --verde-claro: #999c80;
  --verde-agua: #d6d9bf;
  --verde-lima: #d6d94f;
  --negro: #1c1c1c;
  --blanco: #ffffff;
  --fondo-suave: #f7f6f2;
  --borde: #e8e8e4;

  /* Unidades */
  --pipeta-rojo: #B61E2E;
  --vita-magenta: #C21875;
  --ignis-naranja: #c73b1a;
  --valles-oro: #B8892A;
  --panart-teal: #2EB7B0;

  /* Footer */
  --footer-logo-image: url('../img/logo-grupo-claro.png');
  --footer-logo-width: 169px;
  --footer-logo-height: 120px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--negro);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.glp-site {
  max-width: 1400px;
  margin: 0 auto;
}

/* =============================================
   CABECERO (header.php) — igual en todas las páginas
   Barra mínima: hamburguesa + logo + botones. El menú completo
   vive en el panel de la hamburguesa (.glp-menu).
   Lo ÚNICO que cambia por marca es el color del botón sólido
   (ver COLORES DEL BOTÓN POR MARCA al final de este archivo).
   ============================================= */

:root {
  --nav-bg:             #d6d9bf;
  --nav-text:           #3a3f1c;
  --nav-active:         #474f26;
  --nav-dropdown-hover: #f7f6f2;
  --nav-button:         #474f26;   /* Home: verde corporativo */
  --nav-button-hover:   #2f3718;
}

.glp-hdr {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 40px;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(71,79,38,0.14);
}

.glp-hdr-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--nav-text);
  cursor: pointer;
}

.glp-hdr-logo { display: flex; align-items: center; text-decoration: none; }
.glp-hdr-logo img { height: 48px; width: auto; display: block; }

.glp-hdr-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.glp-btn-solid,
.glp-btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.glp-btn-solid { background: var(--nav-button); color: #fff; border: 1.5px solid var(--nav-button); }
.glp-btn-solid:hover { background: var(--nav-button-hover); border-color: var(--nav-button-hover); }

.glp-btn-line { background: transparent; color: var(--nav-text); border: 1.5px solid var(--nav-active); }
.glp-btn-line:hover { background: var(--nav-active); color: #fff; }

/* Panel del menú (se abre con la hamburguesa) */
.glp-menu {
  position: fixed;
  top: 72px;
  left: 40px;
  z-index: 1001;
  width: 300px;
  max-height: calc(100vh - 88px);
  overflow-y: auto;
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.16);
  padding: 10px;
}

.glp-menu[hidden] { display: none; }

.glp-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: #2b2b2b;
  text-decoration: none;
}

.glp-menu a:hover,
.glp-menu a.active { background: var(--nav-dropdown-hover); }
.glp-menu a.active { font-weight: 600; color: var(--nav-active); }

.glp-menu-cat {
  margin: 8px 14px 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6b6b6b;
}

.glp-menu-sep { height: 1px; background: var(--borde); margin: 6px 10px; }

.glp-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  min-width: 9px;
  border-radius: 50%;
}

@media (max-width: 900px) {
  .glp-hdr { padding: 10px 16px; }
  .glp-hdr-logo img { height: 42px; }
  .glp-hdr-extra { display: none; }
  .glp-menu { left: 12px; right: 12px; width: auto; top: 66px; max-height: calc(100vh - 80px); }
}

/* =============================================
   HERO
   ============================================= */

.glp-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a1a0f;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.glp-hero-bg {
  position: absolute;
  inset: 0;
  background: url('REEMPLAZAR-CON-URL-IMAGEN-HERO') center / cover no-repeat;
  opacity: 0.9;
}

.glp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10,10,5,0.90) 45%, rgba(10,10,5,0.15));
}

.glp-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 80px;
  max-width: 600px;
}

.glp-hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--blanco);
  line-height: 1.12;
  margin-bottom: 18px;
}

.glp-hero-content h1 em {
  color: var(--verde-lima);
  font-style: normal;
}

.glp-hero-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  line-height: 1.80;
  margin-bottom: 28px;
  max-width: 480px;
}

.glp-hero-btns {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--verde-lima);
  color: var(--negro);
  padding: 13px 26px;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
}

.btn-hero-primary:hover { opacity: 0.88; }
a.btn-hero-primary { text-decoration: none; }

.btn-hero-outline {
  background: transparent;
  color: var(--blanco);
  padding: 13px 26px;
  border: 1.5px solid rgba(255,255,255,0.65);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s;
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.9);
}

.glp-hero-tags {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.glp-hero-tags span {
  font-size: 13.5px;
  color: rgba(255,255,255,0.60);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.htag-icon {
  width: 16px;
  height: 16px;
  stroke: var(--verde-lima);
  fill: none;
  stroke-width: 1.7;
  flex-shrink: 0;
}


/* =============================================
   PILLS / PROPUESTA DE VALOR
   ============================================= */

.glp-pills {
  background: #faf9f6;
  padding: 40px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--borde);
}

.glp-pill {
  text-align: center;
  padding: 24px 20px;
  position: relative;
}

.glp-pill + .glp-pill::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: #ddd;
}

.pill-icon {
  width: 40px;
  height: 40px;
  stroke: var(--verde-oscuro);
  fill: none;
  stroke-width: 1.4;
  margin: 0 auto 14px;
  display: block;
  color: var(--verde-oscuro);
}

.glp-pill h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--negro);
  margin-bottom: 8px;
  line-height: 1.3;
}

.glp-pill p {
  font-size: 15px;
  color: #666;
  font-weight: 300;
  line-height: 1.65;
}

/* =============================================
   SECCIÓN GENÉRICA
   ============================================= */

.glp-section {
  padding: 64px 60px;
}

.glp-section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--negro);
  margin-bottom: 12px;
}

#unidades {
  scroll-margin-top: 90px;
}

/* Separador ornamental */
.glp-deco {
  text-align: center;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.glp-deco-line {
  height: 1px;
  width: 60px;
  background: #ccc;
}

.glp-deco-ornament {
  color: var(--verde-oscuro);
  font-size: 16px;
  line-height: 1;
}

/* =============================================
   TARJETAS DE UNIDADES
   ============================================= */

.glp-units-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.glp-units-row2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.glp-unit-card {
  border: 1px solid var(--borde);
  border-radius: 10px;
  overflow: hidden;
  background: var(--blanco);
  transition: box-shadow 0.2s, transform 0.2s;
}

.glp-unit-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.glp-unit-img {
  height: 180px;
  overflow: hidden;
}

.glp-unit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.glp-unit-card:hover .glp-unit-img img {
  transform: scale(1.04);
}

.glp-unit-body {
  padding: 18px;
}

.glp-unit-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.glp-unit-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 4px;
}

.glp-unit-name {
  font-size: 20px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  line-height: 1.1;
}

.glp-unit-logo {
  flex-shrink: 0;
  margin-top: 2px;
  max-width: 50%;
}

.glp-unit-desc {
  font-size: 16px;
  color: #555;
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 16px;
  margin-top: 10px;
}

/* Botones de unidad — outline por color de marca */
.btn-unit {
  background: transparent;
  padding: 8px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.15s, color 0.15s;
}

.btn-red   { color: var(--pipeta-rojo);   border: 1.5px solid var(--pipeta-rojo);   }
.btn-pink  { color: var(--vita-magenta);  border: 1.5px solid var(--vita-magenta);  }
.btn-orange{ color: var(--ignis-naranja); border: 1.5px solid var(--ignis-naranja); }
.btn-gold  { color: var(--valles-oro);    border: 1.5px solid var(--valles-oro);    }
.btn-teal  { color: var(--panart-teal);   border: 1.5px solid var(--panart-teal);   }

.btn-red:hover    { background: var(--pipeta-rojo);   color: #fff; }
.btn-pink:hover   { background: var(--vita-magenta);  color: #fff; }
.btn-orange:hover { background: var(--ignis-naranja); color: #fff; }
.btn-gold:hover   { background: var(--valles-oro);    color: #fff; }
.btn-teal:hover   { background: var(--panart-teal);   color: #fff; }

/* =============================================
   NOSOTROS / ABOUT
   ============================================= */

.glp-about {
  background: var(--fondo-suave);
  padding: 64px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.glp-about-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--verde-claro);
  margin-bottom: 10px;
}

.glp-about h3 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.glp-about p {
  font-size: 16px;
  color: #555;
  font-weight: 300;
  line-height: 1.90;
  margin-bottom: 24px;
}

.glp-about-values {
  display: flex;
  gap: 32px;
}

.ab-val {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ab-val-icon {
  width: 24px;
  height: 24px;
  stroke: var(--verde-oscuro);
  fill: none;
  stroke-width: 1.6;
}

.ab-val small {
  font-size: 12.5px;
  color: #666;
}

.glp-about-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  height: 320px;
}

.glp-about-imgs .img-tall {
  grid-row: span 2;
  border-radius: 8px;
  overflow: hidden;
}

.glp-about-imgs .img-sm {
  border-radius: 8px;
  overflow: hidden;
}

.glp-about-imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =============================================
   PASAPORTE
   ============================================= */

.glp-pp-wrap {
  padding: 56px 60px;
}

.glp-pasaporte {
  background: var(--verde-oscuro);
  padding: 32px 44px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  border-radius: 12px;
}

.pp-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(214,217,79,0.4);
  padding: 14px 18px;
  border-radius: 6px;
}

.pp-logo-s {
  font-size: 8.8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--verde-agua);
  font-weight: 400;
  text-align: center;
}

.pp-logo-m {
  font-family: 'Playfair Display', serif;
  font-size: 17.5px;
  color: var(--verde-lima);
  font-weight: 700;
  text-align: center;
}

.pp-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--blanco);
  line-height: 1.25;
  margin-bottom: 8px;
}

.pp-text h3 em {
  color: var(--verde-lima);
  font-style: normal;
}

.pp-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.60);
  font-weight: 300;
}

/* =============================================
   RESEÑAS
   ============================================= */

.glp-reviews {
  padding: 64px 60px;
}

.glp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rev-card {
  background: var(--blanco);
  border: 1.5px solid var(--verde-lima);
  border-radius: 10px;
  padding: 22px;
}

.rev-stars {
  color: var(--verde-lima);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.rev-text {
  font-size: 16px;
  color: #444;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 16px;
  font-style: italic;
}

.rev-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rev-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--verde-agua);
  flex-shrink: 0;
}

.rev-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rev-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--negro);
}

.rev-loc {
  font-size: 12.5px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

/* =============================================
   FOOTER CTA
   ============================================= */

.glp-fcta {
  background: var(--negro);
  padding: 44px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.glp-fcta h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--blanco);
  line-height: 1.2;
}

.glp-fcta h3 em {
  color: var(--verde-lima);
  font-style: normal;
}

.glp-fcta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-fcta-ghost {
  background: transparent;
  color: var(--blanco);
  padding: 12px 22px;
  border: 1.5px solid rgba(255,255,255,0.30);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s;
}

.btn-fcta-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
}

.btn-fcta-ghost svg {
  stroke: var(--blanco);
  fill: none;
  stroke-width: 1.7;
}


/* =============================================
   FOOTER CTA DROPDOWNS
   ============================================= */

.glp-fcta-dropdown-wrap {
  position: relative;
  display: inline-flex;
}

.glp-fcta-dropdown-wrap .btn-fcta-ghost {
  position: relative;
}

.glp-fcta-dropdown-wrap .btn-fcta-ghost::after {
  content: '⌄';
  font-size: 13.5px;
  line-height: 1;
  opacity: .75;
  margin-left: 2px;
}

.glp-fcta-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  padding: 8px 0;
  z-index: 30;
}

.glp-fcta-dropdown-wrap:hover .glp-fcta-dropdown,
.glp-fcta-dropdown-wrap.open .glp-fcta-dropdown {
  display: block;
}

.glp-fcta-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 15px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}

.glp-fcta-dropdown a:hover {
  background: var(--fondo-suave);
  color: var(--verde-oscuro);
}

@media (max-width: 900px) {
  .glp-fcta-btns {
    width: 100%;
    align-items: flex-start;
  }

  .glp-fcta-dropdown-wrap {
    width: min(300px, 100%);
  }

  .glp-fcta-dropdown-wrap .btn-fcta-ghost {
    width: 100%;
    justify-content: center;
  }

  .glp-fcta-dropdown {
    left: 0;
    right: auto;
    min-width: 100%;
    width: 100%;
  }
}


/* Footer logo controlado desde global */
.glp-footer-logo-area {
  padding: 52px 60px 44px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.glp-footer-logo-img {
  width: var(--footer-logo-width);
  height: var(--footer-logo-height);
  display: inline-block;
  background-image: var(--footer-logo-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

@media (max-width: 540px) {
  .glp-footer-logo-area {
    padding: 42px 20px 34px;
  }
}

/* =============================================
   FOOTER
   ============================================= */

.glp-footer {
  background: #111;
  padding: 48px 60px 24px;
}

.glp-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.glp-footer-brand-logo {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--blanco);
  line-height: 1.05;
  display: block;
}

.glp-footer-brand-tag {
  font-size: 8.8px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--verde-claro);
  margin-top: 4px;
  margin-bottom: 14px;
  display: block;
}

.glp-footer-brand p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.38);
  font-weight: 300;
  line-height: 1.75;
}

.glp-footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.38);
  margin-bottom: 16px;
}

.glp-footer-col ul {
  list-style: none;
}

.glp-footer-col li {
  margin-bottom: 10px;
}

.glp-footer-col a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.2s;
}

.glp-footer-col a:hover {
  color: rgba(255,255,255,0.9);
}

.glp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.glp-footer-bottom p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.22);
}

.glp-footer-bottom a {
  color: rgba(255,255,255,0.22);
  text-decoration: none;
  transition: color 0.2s;
}

.glp-footer-bottom a:hover {
  color: rgba(255,255,255,0.6);
}


/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 900px) {
  .glp-nav { padding: 12px 20px; }
  .glp-nav-links { display: none; }
  .glp-hero-content { padding: 48px 28px; }
  .glp-hero-content h1 { font-size: 28px; }
  .glp-pills { padding: 32px 20px; grid-template-columns: repeat(2, 1fr); }
  .glp-pill + .glp-pill::before { display: none; }
  .glp-section { padding: 56px 20px; }
  .glp-units-grid { grid-template-columns: repeat(2, 1fr); }
  .glp-units-row2 { grid-template-columns: 1fr; }
  .glp-about { padding: 56px 20px; grid-template-columns: 1fr; }
  .glp-about-imgs { height: 240px; }
  .glp-pp-wrap { padding: 40px 20px 56px; }
  .glp-pasaporte { grid-template-columns: 1fr; text-align: center; }
  .glp-reviews { padding: 56px 20px; }
  .glp-reviews-grid { grid-template-columns: 1fr; }
  .glp-fcta { padding: 40px 20px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
  .glp-hero-content h1 { font-size: 24px; }
  .glp-units-grid { grid-template-columns: 1fr; }
}


/* =============================================
   AJUSTES RESPONSIVE FINALES — INICIO COMPLETO
   ============================================= */

@media (max-width: 900px) {
  .glp-mobile-menu {
    top: 70px !important;
    right: 14px !important;
    width: min(258px, calc(100vw - 42px)) !important;
    max-height: calc(100dvh - 92px) !important;
    overflow-y: auto !important;
    padding: 7px !important;
    border-radius: 12px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .glp-mobile-menu::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .glp-mobile-menu a {
    font-size: 14.6px !important;
    line-height: 1.25 !important;
    padding: 9px 12px !important;
    gap: 8px !important;
    border-radius: 7px !important;
  }

  .glp-mobile-menu .cat {
    font-size: 9.4px !important;
    letter-spacing: 1.8px !important;
    padding: 7px 12px 1px !important;
  }

  .glp-mobile-menu .sep {
    margin: 5px 8px !important;
  }

  .glp-mobile-menu .glp-dropdown-dot {
    width: 7px !important;
    height: 7px !important;
    min-width: 7px !important;
  }

  .glp-unit-body {
    padding: 18px 20px 20px !important;
  }

  .glp-unit-top {
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 14px !important;
  }

  .glp-unit-logo {
    max-width: 46% !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin-top: 0 !important;
    margin-right: 4px !important;
  }

  .glp-unit-logo img {
    width: auto !important;
    height: auto !important;
    max-width: 132px !important;
    max-height: 58px !important;
    object-fit: contain !important;
  }

  .glp-unit-logo img[alt="IGNIS"] {
    max-width: 118px !important;
    max-height: 54px !important;
  }

  .glp-unit-logo img[alt="La Pipeta"] {
    max-width: 126px !important;
  }

  .glp-unit-logo img[alt="Hostal Los Valles"],
  .glp-unit-logo img[alt="Hostal Pañart"] {
    max-width: 128px !important;
    max-height: 64px !important;
  }

  .glp-pp-wrap {
    padding: 38px 24px 48px !important;
  }

  .glp-pp-wrap > div {
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    overflow: visible !important;
    border-radius: 14px !important;
  }

  .glp-pp-wrap > div > div:first-child {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(214,217,79,0.18) !important;
    padding: 24px 20px 20px !important;
  }

  .glp-pp-wrap > div > div:nth-child(2) {
    padding: 24px 22px 26px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 18px !important;
    text-align: center !important;
  }

  .glp-pp-wrap > div > div:nth-child(2) > div:first-child {
    width: 100% !important;
  }

  .glp-pp-wrap h3 {
    font-size: 24px !important;
    line-height: 1.18 !important;
    margin: 0 auto 10px !important;
    max-width: 280px !important;
  }

  .glp-pp-wrap p {
    font-size: 15px !important;
    line-height: 1.65 !important;
    max-width: 290px !important;
    margin: 0 auto !important;
  }

  .glp-pp-wrap > div > div:nth-child(2) > div:last-child {
    width: 100% !important;
  }

  .glp-pp-wrap .btn-hero-primary {
    width: 100% !important;
    max-width: 280px !important;
    justify-content: center !important;
    white-space: normal !important;
    padding: 13px 18px !important;
  }

  .glp-fcta {
    padding: 40px 24px !important;
    align-items: center !important;
    text-align: center !important;
  }

  .glp-fcta h3 {
    width: 100% !important;
    font-size: 27px !important;
    line-height: 1.2 !important;
  }

  .glp-fcta-btns {
    width: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .glp-fcta-dropdown-wrap {
    width: min(356px, 100%) !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .glp-fcta-dropdown-wrap .btn-fcta-ghost {
    width: 100% !important;
    justify-content: center !important;
  }

  .glp-fcta-dropdown {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 8px !important;
  }

  .glp-fcta-dropdown-wrap:hover .glp-fcta-dropdown {
    display: none !important;
  }

  .glp-fcta-dropdown-wrap.open .glp-fcta-dropdown {
    display: block !important;
  }

  footer > div:last-child {
    padding: 18px 24px 26px !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  footer > div:last-child p {
    width: 100% !important;
    text-align: center !important;
    line-height: 1.65 !important;
  }

  footer > div:last-child > div {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 14px 22px !important;
  }

  footer > div:last-child a {
    text-align: center !important;
  }
}

@media (max-width: 540px) {
  .glp-section-title {
    font-size: 20px !important;
    line-height: 1.25 !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .glp-deco {
    margin-bottom: 28px !important;
  }

  .glp-unit-card {
    max-width: 360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .glp-unit-img {
    height: 218px !important;
  }

  .glp-unit-desc {
    font-size: 17px !important;
    line-height: 1.6 !important;
  }
}



/* =============================================
   AJUSTE V7 — RESPONSIVE: CENTRADO Y DOS COLUMNAS
   ============================================= */
@media (max-width: 900px) {
  .glp-section {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .glp-units-grid,
  .glp-units-row2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    justify-items: stretch !important;
  }

  .glp-unit-card {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .glp-unit-img {
    height: 165px !important;
  }

  .glp-unit-body {
    padding: 16px 14px 18px !important;
  }

  .glp-unit-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
  }

  .glp-unit-logo {
    max-width: 58% !important;
    width: 58% !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin: 0 !important;
  }

  .glp-unit-logo img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 118px !important;
    max-height: 56px !important;
    object-fit: contain !important;
  }

  .glp-unit-logo img[alt="La Vita"] {
    max-width: 126px !important;
    max-height: 58px !important;
  }

  .glp-unit-logo img[alt="La Pipeta"] {
    max-width: 118px !important;
    max-height: 52px !important;
  }

  .glp-unit-logo img[alt="IGNIS"] {
    max-width: 112px !important;
    max-height: 52px !important;
  }

  .glp-unit-logo img[alt="Hostal Los Valles"],
  .glp-unit-logo img[alt="Hostal Pañart"] {
    max-width: 122px !important;
    max-height: 60px !important;
  }

  .glp-unit-label {
    font-size: 8.8px !important;
    letter-spacing: 1.8px !important;
  }

  .glp-unit-desc {
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin-top: 10px !important;
  }

  .btn-unit {
    font-size: 12.5px !important;
    padding: 7px 14px !important;
  }

  .glp-about {
    text-align: center !important;
  }

  .glp-about h3,
  .glp-about p,
  .glp-about-label {
    text-align: center !important;
  }

  .glp-about-values {
    justify-content: center !important;
    align-items: center !important;
    gap: 18px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    margin: 0 auto 28px !important;
  }

  .ab-val {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    text-align: center !important;
    align-items: center !important;
  }

  .ab-val-icon {
    margin: 0 auto !important;
    display: block !important;
  }

  .ab-val small {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
  }

  .glp-about-imgs {
    width: min(100%, 560px) !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    height: auto !important;
    justify-items: center !important;
    align-items: stretch !important;
  }

  .glp-about-imgs .img-tall,
  .glp-about-imgs .img-sm {
    width: 100% !important;
    height: auto !important;
    min-height: 148px !important;
    border-radius: 8px !important;
  }

  .glp-about-imgs .img-tall {
    grid-row: span 2 !important;
  }

  .glp-about-imgs img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

@media (max-width: 540px) {
  .glp-section {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .glp-units-grid,
  .glp-units-row2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .glp-unit-img {
    height: 135px !important;
  }

  .glp-unit-body {
    padding: 14px 12px 16px !important;
  }

  .glp-unit-top {
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .glp-unit-logo {
    width: 60% !important;
    max-width: 60% !important;
  }

  .glp-unit-logo img {
    max-width: 96px !important;
    max-height: 48px !important;
  }

  .glp-unit-logo img[alt="La Vita"] {
    max-width: 104px !important;
  }

  .glp-unit-logo img[alt="La Pipeta"] {
    max-width: 98px !important;
  }

  .glp-unit-logo img[alt="IGNIS"] {
    max-width: 94px !important;
  }

  .glp-unit-logo img[alt="Hostal Los Valles"],
  .glp-unit-logo img[alt="Hostal Pañart"] {
    max-width: 104px !important;
    max-height: 52px !important;
  }

  .glp-unit-label {
    font-size: 8.2px !important;
    letter-spacing: 1.5px !important;
  }

  .glp-unit-desc {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
  }

  .btn-unit {
    font-size: 12px !important;
    padding: 7px 12px !important;
  }

  .glp-about-values {
    gap: 8px !important;
  }

  .ab-val-icon {
    width: 25px !important;
    height: 25px !important;
  }

  .ab-val small {
    font-size: 12px !important;
  }

  .glp-about-imgs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .glp-about-imgs .img-tall,
  .glp-about-imgs .img-sm {
    min-height: 135px !important;
  }
}


/* =============================================
   CORRECCIÓN V8 — MÓVIL 1 COLUMNA / TABLETA HOSTALES 2 COLUMNAS
   ============================================= */

@media (min-width: 541px) and (max-width: 900px) {
  .glp-units-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    max-width: 620px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 24px !important;
  }

  .glp-units-row2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    max-width: 760px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .glp-unit-card {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .glp-unit-img {
    height: 210px !important;
  }

  .glp-unit-body {
    padding: 20px 22px 22px !important;
  }

  .glp-unit-top {
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin-bottom: 14px !important;
  }

  .glp-unit-logo {
    max-width: 48% !important;
    width: 48% !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin: 0 !important;
  }

  .glp-unit-logo img {
    width: auto !important;
    height: auto !important;
    max-width: 140px !important;
    max-height: 64px !important;
    object-fit: contain !important;
  }

  .glp-unit-logo img[alt="La Vita"] {
    max-width: 150px !important;
    max-height: 66px !important;
  }

  .glp-unit-logo img[alt="La Pipeta"] {
    max-width: 140px !important;
    max-height: 60px !important;
  }

  .glp-unit-logo img[alt="IGNIS"] {
    max-width: 132px !important;
    max-height: 58px !important;
  }

  .glp-unit-logo img[alt="Hostal Los Valles"],
  .glp-unit-logo img[alt="Hostal Pañart"] {
    max-width: 138px !important;
    max-height: 64px !important;
  }

  .glp-unit-label {
    font-size: 9.4px !important;
    letter-spacing: 2px !important;
  }

  .glp-unit-desc {
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin-top: 12px !important;
  }

  .btn-unit {
    font-size: 12.7px !important;
    padding: 8px 16px !important;
  }
}

@media (max-width: 540px) {
  .glp-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .glp-units-grid,
  .glp-units-row2 {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    max-width: 360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .glp-unit-card {
    width: 100% !important;
    max-width: 360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .glp-unit-img {
    height: 218px !important;
  }

  .glp-unit-body {
    padding: 22px 24px 24px !important;
  }

  .glp-unit-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin-bottom: 16px !important;
  }

  .glp-unit-logo {
    width: 50% !important;
    max-width: 50% !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin: 0 !important;
  }

  .glp-unit-logo img {
    width: auto !important;
    height: auto !important;
    max-width: 142px !important;
    max-height: 64px !important;
    object-fit: contain !important;
  }

  .glp-unit-logo img[alt="La Vita"] {
    max-width: 148px !important;
    max-height: 66px !important;
  }

  .glp-unit-logo img[alt="La Pipeta"] {
    max-width: 138px !important;
    max-height: 60px !important;
  }

  .glp-unit-logo img[alt="IGNIS"] {
    max-width: 132px !important;
    max-height: 58px !important;
  }

  .glp-unit-logo img[alt="Hostal Los Valles"],
  .glp-unit-logo img[alt="Hostal Pañart"] {
    max-width: 138px !important;
    max-height: 64px !important;
  }

  .glp-unit-label {
    font-size: 9.4px !important;
    letter-spacing: 2px !important;
  }

  .glp-unit-desc {
    font-size: 17px !important;
    line-height: 1.62 !important;
    margin-top: 12px !important;
  }

  .btn-unit {
    font-size: 13.5px !important;
    padding: 8px 18px !important;
  }
}



/* =============================================
   CORRECCIÓN V9 — MÓVIL REAL 1 COLUMNA / TABLETA CONSERVA HOSTALES 2 COLUMNAS
   ============================================= */

@media (min-width: 768px) and (max-width: 900px) {
  .glp-units-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    max-width: 620px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 24px !important;
  }

  .glp-units-row2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    max-width: 760px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 767px) {
  .glp-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .glp-units-grid,
  .glp-units-row2 {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
    max-width: 380px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .glp-units-grid {
    margin-bottom: 26px !important;
  }

  .glp-unit-card {
    width: 100% !important;
    max-width: 380px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .glp-unit-img {
    height: 218px !important;
  }

  .glp-unit-body {
    padding: 22px 24px 24px !important;
  }

  .glp-unit-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin-bottom: 16px !important;
  }

  .glp-unit-logo {
    width: 50% !important;
    max-width: 50% !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin: 0 !important;
  }

  .glp-unit-logo img {
    width: auto !important;
    height: auto !important;
    max-width: 142px !important;
    max-height: 64px !important;
    object-fit: contain !important;
  }

  .glp-unit-logo img[alt="La Vita"] {
    max-width: 148px !important;
    max-height: 66px !important;
  }

  .glp-unit-logo img[alt="La Pipeta"] {
    max-width: 138px !important;
    max-height: 60px !important;
  }

  .glp-unit-logo img[alt="IGNIS"] {
    max-width: 132px !important;
    max-height: 58px !important;
  }

  .glp-unit-logo img[alt="Hostal Los Valles"],
  .glp-unit-logo img[alt="Hostal Pañart"] {
    max-width: 138px !important;
    max-height: 64px !important;
  }

  .glp-unit-label {
    font-size: 9.4px !important;
    letter-spacing: 2px !important;
  }

  .glp-unit-desc {
    font-size: 17px !important;
    line-height: 1.62 !important;
    margin-top: 12px !important;
  }

  .btn-unit {
    font-size: 13.5px !important;
    padding: 8px 18px !important;
  }
}


/* =============================================
   CORRECCIÓN V10 — TABLETA: RESTAURANTES 2 COLUMNAS / MÓVIL SIN TOCAR
   ============================================= */
@media (min-width: 768px) and (max-width: 900px) {
  .glp-units-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
    max-width: 760px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 24px !important;
  }

  .glp-units-row2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
    max-width: 760px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .glp-unit-img {
    height: 210px !important;
  }
}


/* =============================================
   COLORES DEL BOTÓN DEL MENÚ POR MARCA
   Cada página pone <body class="marca-XXX"> (lo hace header.php
   a partir de la variable $marca). Para cambiar el color del botón
   "Nuestro grupo" de una marca, edite SOLO estas dos variables.
   NOTA: los colores "hover" de vita, ignis, valles y panart son
   provisionales (un tono más oscuro del color base); validar contra maqueta.
   ============================================= */
body.marca-grupo  { --nav-button: #474f26; --nav-button-hover: #2f3718; }
body.marca-pipeta { --nav-button: #B61E2E; --nav-button-hover: #7A111D; }
body.marca-vita   { --nav-button: #C21875; --nav-button-hover: #7d104c; }
body.marca-ignis  { --nav-button: #c73b1a; --nav-button-hover: #451203; }
body.marca-valles { --nav-button: #B8892A; --nav-button-hover: #76591b; }
body.marca-panart { --nav-button: #2EB7B0; --nav-button-hover: #16736f; }

/* banner de cookies */
.glp-cookies { position:fixed; left:16px; right:16px; bottom:16px; max-width:720px; margin:0 auto; background:#111; color:#eee; border-radius:10px; padding:16px 20px; z-index:3000; font:15px/1.55 'Poppins',sans-serif; box-shadow:0 8px 30px rgba(0,0,0,.35); display:none; }
.glp-cookies.on { display:block; }
.glp-cookies a { color:#d6d94f; }
.glp-cookies .bt { display:flex; gap:10px; margin-top:12px; flex-wrap:wrap; }
.glp-cookies button { font:600 14px 'Poppins',sans-serif; padding:9px 18px; border-radius:4px; border:1.5px solid #d6d94f; cursor:pointer; background:#d6d94f; color:#111; }
.glp-cookies button.no { background:transparent; color:#fff; border-color:rgba(255,255,255,.5); }


/* =============================================
   AJUSTES 1-nov: cabecera con respiro lateral y botones de igual tamaño
   ============================================= */
.glp-hdr { padding: 12px 60px; gap: 20px; }
.glp-hdr-actions { gap: 12px; }
.glp-btn-solid, .glp-btn-line { min-width: 132px; }
@media (max-width: 900px) {
  .glp-hdr { padding: 10px 16px; gap: 8px; }
  .glp-btn-solid, .glp-btn-line { min-width: 0; padding: 0 16px; }
}

/* Franja de contacto antes del footer (hostales y Home) — mismo look que el cierre de IGNIS */
.glp-cta { background:#111; color:#fff; text-align:center; padding:72px 60px; position:relative; overflow:hidden; font-family:'Poppins',sans-serif; }
.glp-cta::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse at 20% 50%, color-mix(in srgb, var(--nav-button) 30%, transparent) 0%, transparent 55%); }
.glp-cta .in { position:relative; max-width:760px; margin:0 auto; }
.glp-cta img.lg { height:64px; width:auto; margin:0 auto 20px; display:block; filter:brightness(0) invert(1); }
.glp-cta h2 { font-family:'Playfair Display',serif; font-size:clamp(1.8rem,3.5vw,2.6rem); margin-bottom:12px; line-height:1.2; }
.glp-cta p { color:rgba(255,255,255,.7); font-size:17px; line-height:1.6; margin-bottom:32px; }
.glp-cta .bt { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; align-items:center; }
.glp-cta a { text-decoration:none; }
.glp-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; }
.glp-cta .tel svg { width:18px; height:18px; stroke:currentColor; fill:none; }
.glp-cta .mail { color:rgba(255,255,255,.85); font-size:16px; text-decoration:underline; text-underline-offset:3px; }
.glp-cta .btn { background:var(--nav-button); color:#fff; border:1.5px solid var(--nav-button); padding:13px 26px; border-radius:4px; font-size:15px; font-weight:700; }
.glp-cta .btn:hover { background:var(--nav-button-hover); border-color:var(--nav-button-hover); }
@media (max-width:900px) { .glp-cta { padding:56px 20px; } }


/* =============================================
   HOME 1-nov: carrusel, tarjetas con fondo suave, Para llevar, cierre
   ============================================= */
.glp-hero-car { display:block; min-height:580px; }
.glp-slide { position:absolute; inset:0; display:flex; align-items:center; opacity:0; visibility:hidden; transition:opacity .7s ease, visibility .7s; }
.glp-slide.is-on { opacity:1; visibility:visible; z-index:1; }
.glp-slide-logo { height:60px; width:auto; display:block; margin-bottom:18px; filter:brightness(0) invert(1); }
.glp-slide .glp-hero-content h2 { font-size:38px; font-weight:700; color:#fff; line-height:1.15; margin-bottom:16px; }
.glp-slide a.btn-hero-primary, .glp-slide a.btn-hero-outline { text-decoration:none; }
.glp-car-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:5; width:44px; height:44px; border-radius:50%; border:1.5px solid rgba(255,255,255,.55); background:rgba(0,0,0,.25); color:#fff; font-size:26px; line-height:1; cursor:pointer; }
.glp-car-arrow:hover { background:rgba(255,255,255,.18); }
.glp-car-arrow.prev { right:auto; left:20px; }
.glp-car-arrow.next { right:20px; }
.glp-car-dots { position:absolute; left:0; right:0; bottom:20px; z-index:5; display:flex; justify-content:center; gap:10px; }
.glp-car-dots button { width:10px; height:10px; border-radius:50%; border:0; padding:0; background:rgba(255,255,255,.4); cursor:pointer; }
.glp-car-dots button.on { background:var(--verde-lima); width:26px; border-radius:6px; }
@media (max-width:900px) {
  .glp-hero-car { min-height:660px; }
  .glp-slide .glp-hero-content h2 { font-size:26px; }
  .glp-car-arrow { display:none; }
}

/* Tarjetas de unidades: fondo suave del color de cada marca */
.glp-unit-card.u-pipeta { background: color-mix(in srgb, var(--pipeta-rojo) 9%, #fff); }
.glp-unit-card.u-vita   { background: color-mix(in srgb, var(--vita-magenta) 9%, #fff); }
.glp-unit-card.u-ignis  { background: color-mix(in srgb, var(--ignis-naranja) 9%, #fff); }
.glp-unit-card.u-valles { background: color-mix(in srgb, var(--valles-oro) 11%, #fff); }
.glp-unit-card.u-panart { background: color-mix(in srgb, var(--panart-teal) 11%, #fff); }

/* Tarjeta Para llevar */
.glp-llevar { background:var(--verde-oscuro); border-radius:14px; display:grid; grid-template-columns:auto 1fr auto; gap:36px; align-items:center; padding:32px 44px; }
.glp-llevar-logos { display:flex; flex-direction:column; align-items:center; gap:10px; padding-right:36px; border-right:1px solid rgba(214,217,79,.25); }
.glp-llevar-logos img { height:46px; width:auto; filter:brightness(0) invert(1); }
.glp-llevar h3 { font-size:24px; font-weight:700; color:#fff; line-height:1.25; margin-bottom:8px; }
.glp-llevar h3 em { color:var(--verde-lima); font-style:normal; }
.glp-llevar p { font-size:15px; color:rgba(255,255,255,.7); font-weight:300; line-height:1.7; }
.glp-llevar a.btn-hero-primary { text-decoration:none; white-space:nowrap; }
@media (max-width:900px) {
  .glp-llevar { grid-template-columns:1fr; text-align:center; padding:28px 22px; gap:20px; justify-items:center; }
  .glp-llevar-logos { flex-direction:row; padding:0 0 18px; border-right:0; border-bottom:1px solid rgba(214,217,79,.25); }
}

/* Cierre de la Home */
.glp-cta-home h2 em { color:var(--verde-lima); font-style:normal; }
.glp-cta-logos { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:28px 36px; margin:0 0 34px; }
.glp-cta-logos img { height:52px; width:auto; max-width:150px; filter:brightness(0) invert(1); opacity:.85; transition:opacity .2s; }
.glp-cta-logos a:hover img { opacity:1; }
.glp-cta .btn-line { color:#fff; border:1.5px solid rgba(255,255,255,.4); padding:13px 26px; border-radius:4px; font-size:15px; font-weight:600; }
.glp-cta .btn-line:hover { border-color:#fff; }
.glp-cta-home { width:100vw; margin-left:calc(50% - 50vw); }

/* =============================================
   HOME — Carrusel de locales (estilo Big Mama)
   Tarjetas altas en una fila horizontal con desplazamiento
   ============================================= */
.glp-locales { position:relative; }
.glp-loc-track { display:flex; gap:20px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; padding:4px 2px 18px; scrollbar-width:thin; -webkit-overflow-scrolling:touch; }
.glp-loc { flex:0 0 340px; scroll-snap-align:start; display:flex; flex-direction:column; border:1px solid var(--borde); border-radius:12px; overflow:hidden; background:#fff; transition:box-shadow .2s, transform .2s; }
.glp-loc:hover { box-shadow:0 8px 24px rgba(0,0,0,.08); transform:translateY(-2px); }
.glp-loc.u-pipeta { background:color-mix(in srgb, var(--pipeta-rojo) 9%, #fff); }
.glp-loc.u-vita   { background:color-mix(in srgb, var(--vita-magenta) 9%, #fff); }
.glp-loc.u-ignis  { background:color-mix(in srgb, var(--ignis-naranja) 9%, #fff); }
.glp-loc.u-valles { background:color-mix(in srgb, var(--valles-oro) 11%, #fff); }
.glp-loc.u-panart { background:color-mix(in srgb, var(--panart-teal) 11%, #fff); }
.glp-loc-img { height:300px; overflow:hidden; }
.glp-loc-img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s; }
.glp-loc:hover .glp-loc-img img { transform:scale(1.04); }
.glp-loc-body { display:flex; flex-direction:column; flex:1; padding:20px 20px 22px; }
.glp-loc-top { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:6px; }
.glp-loc-logo { width:auto; max-width:50%; flex-shrink:0; }
.glp-loc-desc { font-size:16px; color:#555; font-weight:300; line-height:1.65; margin:8px 0 18px; }
.glp-loc-btns { display:flex; flex-wrap:wrap; gap:10px; margin-top:auto; }
.glp-loc-btns .btn-unit { text-decoration:none; }
.glp-loc-btns .glp-loc-solid.btn-red    { background:var(--pipeta-rojo);   color:#fff; }
.glp-loc-btns .glp-loc-solid.btn-pink   { background:var(--vita-magenta);  color:#fff; }
.glp-loc-btns .glp-loc-solid.btn-orange { background:var(--ignis-naranja); color:#fff; }
.glp-loc-btns .glp-loc-solid.btn-gold   { background:var(--valles-oro);    color:#fff; }
.glp-loc-btns .glp-loc-solid.btn-teal   { background:var(--panart-teal);   color:#fff; }
.glp-loc-btns .btn-unit:not(.glp-loc-solid):hover { color:#fff; }
.glp-loc-arrow { position:absolute; top:150px; z-index:5; width:44px; height:44px; border-radius:50%; border:1.5px solid rgba(0,0,0,.15); background:#fff; color:var(--verde-oscuro); font-size:26px; line-height:1; cursor:pointer; box-shadow:0 4px 14px rgba(0,0,0,.14); }
.glp-loc-arrow.prev { left:-14px; }
.glp-loc-arrow.next { right:-14px; }
.glp-loc-arrow:hover { background:var(--verde-oscuro); color:#fff; }
@media (max-width:900px) {
  .glp-loc { flex-basis:78vw; max-width:320px; }
  .glp-loc-img { height:240px; }
  .glp-loc-arrow { display:none; }
}

/* =============================================
   UNIFICACIÓN DE GEOMETRÍA (toda la web)
   1) Banner principal (hero) bajo la cabecera: mismo ancho (pantalla completa),
      misma altura mínima, mismo relleno y mismo borde izquierdo del texto.
   2) Banner oscuro previo al footer: mismo ancho, alto mínimo y relleno.
   Para cambiar los tamaños de toda la web basta tocar estas variables.
   ============================================= */
:root {
  --hero-alto: 720px;        /* altura mínima del banner principal (escritorio) */
  --hero-alto-movil: 560px;  /* altura mínima del banner principal (móvil) */
  --hero-borde: max(60px, calc(50vw - 640px)); /* margen izquierdo del texto */
  --cta-alto: 540px;         /* altura mínima del banner previo al footer (escritorio) */
  --cta-alto-movil: 580px;   /* idem en móvil */
}
body .glp-hero,
body .pg-rest .rt-hero,
body .pg-hostal .hero,
body .pg-grupos .hero {
  width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: 0;
  min-height: var(--hero-alto); box-sizing: border-box; overflow: hidden;
}
body .glp-hero,
body .pg-rest .rt-hero,
body .pg-hostal .hero { display:flex; align-items:center; padding:80px 60px 80px var(--hero-borde); }
body .glp-hero .glp-hero-content { padding:0; max-width:600px; margin:0; }
body .pg-rest .rt-hero-c { max-width:none; margin:0; }
body .pg-hostal .hero-content { max-width:600px; }
body .pg-grupos .hero { align-items:stretch; }
body .pg-grupos .hero-content { padding:80px 60px 80px var(--hero-borde); }
body .pg-grupos .hero-photo { min-height:var(--hero-alto); }

body .glp-cta,
body .pg-rest .rt-cta,
body .pg-grupos .cta-ignis {
  width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); box-sizing: border-box;
  min-height: var(--cta-alto); padding: 72px 60px;
  display: flex; align-items: center; justify-content: center;
}
body .glp-cta .in, body .pg-rest .rt-cta .in { width:100%; }
body .pg-grupos .cta-ignis-inner { width:100%; }

@media (max-width: 900px) {
  body .glp-hero, body .pg-rest .rt-hero, body .pg-hostal .hero { padding:64px 20px; min-height:var(--hero-alto-movil); }
  body .pg-grupos .hero { min-height:var(--hero-alto-movil); }
  body .pg-grupos .hero-content { padding:56px 20px 40px; }
  body .pg-grupos .hero-photo { min-height:220px; }
  body .glp-cta, body .pg-rest .rt-cta, body .pg-grupos .cta-ignis { min-height:var(--cta-alto-movil); padding:56px 20px; }
}

/* Tarjetas de reseñas: misma altura mínima en todas las páginas */
body .rev-card { min-height: 232px; box-sizing: border-box; }
@media (max-width:900px) { body .rev-card { min-height: 0; } }

/* =============================================
   COMPACTAR banner previo al footer y footer (escritorio y móvil)
   ============================================= */
:root { --cta-alto: 330px; --cta-alto-movil: 0px; }
body .glp-cta, body .pg-rest .rt-cta, body .pg-grupos .cta-ignis { padding: 44px 60px; }
body .glp-cta img.lg, body .pg-rest .rt-cta img.lg { height: 44px; margin-bottom: 12px; }
body .glp-cta h2, body .pg-rest .rt-cta h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin-bottom: 8px; }
body .glp-cta p, body .pg-rest .rt-cta p { font-size: 16px; margin-bottom: 18px; }
body .glp-cta .tel, body .pg-rest .rt-cta .tel { font-size: 18.5px; padding: 9px 22px; }
body .glp-cta-logos { gap: 14px 28px; margin: 0 0 20px; }
body .glp-cta-logos img { height: 34px; max-width: 110px; }
body .glp-cta .btn, body .glp-cta .btn-line { padding: 11px 22px; }
body .glp-cta-home p { margin-bottom: 16px; }
body .pg-grupos .cta-ignis { padding: 44px 60px; }

body .glp-footer-logo-area { padding: 28px 60px 22px; }
body .glp-footer-logo-img { height: 64px; width: min(240px, 70vw); }
body footer > div:last-child { padding-top: 12px !important; padding-bottom: 12px !important; }

@media (max-width: 900px) {
  body .glp-cta, body .pg-rest .rt-cta, body .pg-grupos .cta-ignis { padding: 36px 20px; min-height: 0; }
  body .glp-cta-logos { gap: 12px 22px; }
  body .glp-cta-logos img { height: 28px; max-width: 90px; }
  body .glp-footer-logo-area { padding: 24px 20px 18px; }
  body .glp-footer-logo-img { height: 54px; }
  body footer > div:last-child { padding-left: 20px !important; padding-right: 20px !important; justify-content: center !important; text-align: center; }
}

/* Banner de Menús para grupos (3 columnas): más compacto */
body .pg-grupos .cta-ignis-inner { gap: 36px; }
body .pg-grupos .cta-logo-block img { height: 52px; }
body .pg-grupos .cta-main h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 8px; }
body .pg-grupos .cta-main p { margin-bottom: 16px; font-size: 16px; }
body .pg-grupos .cta-divider { height: 100px; }
body .pg-grupos .cta-bullets { gap: 10px; }
@media (max-width: 900px) {
  body .pg-grupos .cta-ignis-inner { gap: 22px; }
  body .pg-grupos .cta-divider { display: none; }
  body .pg-grupos .cta-bullets { align-items: center; }
}

/* =============================================
   AJUSTE FINAL DE TAMAÑOS — la caja se adapta al contenido (sin altura mínima)
   ============================================= */
:root { --cta-alto: 0px; --cta-alto-movil: 0px; }
body .glp-cta, body .pg-rest .rt-cta, body .pg-grupos .cta-ignis { min-height: 0; padding: 30px 60px; }
body .glp-cta img.lg, body .pg-rest .rt-cta img.lg { height: 36px; margin-bottom: 8px; }
body .glp-cta h2, body .pg-rest .rt-cta h2 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); margin-bottom: 6px; }
body .glp-cta p, body .pg-rest .rt-cta p { font-size: 15px; margin-bottom: 12px; }
body .glp-cta .tel, body .pg-rest .rt-cta .tel { font-size: 17px; padding: 7px 18px; }
body .glp-cta .btn, body .glp-cta .btn-line, body .pg-rest .rt-cta .btn { padding: 9px 20px; font-size: 13.5px; }
body .glp-cta-home h2 br { display: none; }
body .glp-cta-logos { margin: 0 0 14px; gap: 10px 24px; }
body .glp-cta-logos img { height: 28px; max-width: 96px; }
body .pg-grupos .cta-ignis-inner { gap: 24px; }
body .pg-grupos .cta-logo-block img { height: 40px; }
body .pg-grupos .cta-main h2 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
body .pg-grupos .cta-main p { margin-bottom: 12px; }
body .pg-grupos .cta-divider { height: 70px; }
body .pg-grupos .cta-bullets { gap: 6px; }

body .glp-footer-logo-area { padding: 14px 60px 10px; }
body .glp-footer-logo-img { height: 44px; width: min(170px, 60vw); }
body footer > div:last-child { padding-top: 8px !important; padding-bottom: 8px !important; }

@media (max-width: 900px) {
  body .glp-cta, body .pg-rest .rt-cta, body .pg-grupos .cta-ignis { padding: 26px 20px; }
  body .glp-cta-logos img { height: 24px; max-width: 80px; }
  body .glp-footer-logo-area { padding: 12px 20px 8px; }
  body .glp-footer-logo-img { height: 40px; }
  body .glp-cta-home h2 br { display: inline; }
}

/* Tarjeta Para llevar de la Home: los dos logos con el mismo ancho visual */
body .glp-llevar-logos img { max-width: none; }
body .glp-llevar-logos img[src*="vita"] { height: 58px; width: auto; }
body .glp-llevar-logos img[src*="ignis"] { height: auto; width: 150px; }

/* =============================================
   FOOTER GENERAL (igual en todas las páginas) + BANNER PROPIO SEPARADO
   Footer: footer-grupo.php · Banner: .glp-cta (hostales), .rt-cta (restaurantes), .cta-ignis (grupos)
   ============================================= */
footer.glp-f2 { background:#111; color:#fff; font-family:'Poppins',sans-serif; }
.glp-f2-top { max-width:1400px; margin:0 auto; padding:60px 60px 40px; display:grid; grid-template-columns:260px 1fr; gap:56px; align-items:center; border-bottom:1px solid rgba(255,255,255,.08); }
.glp-f2-logo img { width:230px; max-width:100%; height:auto; display:block; filter:brightness(0) invert(1); }
.glp-f2-main h2 { font-family:'Playfair Display',serif; font-size:clamp(1.5rem,2.6vw,1.9rem); line-height:1.2; margin-bottom:6px; }
.glp-f2-main h2 em { font-style:normal; color:var(--verde-lima); }
.glp-f2-main p { font-size:16px; color:rgba(255,255,255,.65); margin-bottom:22px; }
.glp-f2-marcas { display:flex; flex-wrap:wrap; align-items:center; gap:18px 34px; margin-bottom:26px; }
.glp-f2-marcas img { height:46px; width:auto; max-width:none; filter:brightness(0) invert(1); opacity:.92; transition:opacity .2s; }
.glp-f2-marcas img.ig { height:34px; }
.glp-f2-marcas a:hover img { opacity:1; }
.glp-f2-bt { display:flex; flex-wrap:wrap; gap:12px; }
.glp-f2-bt a { text-decoration:none; padding:13px 26px; border-radius:4px; font-size:15px; font-weight:700; }
.glp-f2-bt .b1 { background:var(--verde-oscuro); border:1.5px solid var(--verde-claro); color:#fff; font-weight:700; }
.glp-f2-bt .b1:hover { background:var(--verde-claro); border-color:var(--verde-claro); color:#1c1c1c; }
.glp-f2-bt .b2 { background:var(--verde-lima); border:1.5px solid var(--verde-lima); color:#1c1c1c; font-weight:700; }
.glp-f2-bt .b2:hover { background:var(--verde-agua); border-color:var(--verde-agua); }
.glp-f2-info { max-width:1400px; margin:0 auto; padding:22px 60px; display:flex; flex-wrap:wrap; gap:16px 38px; font-size:14px; color:rgba(255,255,255,.55); border-bottom:1px solid rgba(255,255,255,.08); }
.glp-f2-info b { display:block; color:#fff; font-weight:600; margin-bottom:2px; }
.glp-f2-info a { color:inherit; text-decoration:none; }
.glp-f2-info a:hover { color:#fff; text-decoration:underline; }
.glp-f2-info .donde { margin-left:auto; }
.glp-f2-bot { max-width:1400px; margin:0 auto; padding:16px 60px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; font-size:12.5px; color:rgba(255,255,255,.3); }
.glp-f2-bot a { color:rgba(255,255,255,.45); text-decoration:none; }
.glp-f2-bot p a { text-decoration:underline; text-underline-offset:3px; }
.glp-f2-bot div a { margin-left:20px; color:rgba(255,255,255,.35); }
@media (max-width:900px) {
  .glp-f2-top { grid-template-columns:1fr; gap:26px; padding:44px 20px 32px; text-align:center; }
  .glp-f2-logo img { width:180px; margin:0 auto; }
  .glp-f2-marcas { justify-content:center; gap:16px 26px; }
  .glp-f2-marcas img { height:36px; } .glp-f2-marcas img.ig { height:27px; }
  .glp-f2-bt { justify-content:center; }
  .glp-f2-info { padding:20px; gap:14px 28px; } .glp-f2-info .donde { margin-left:0; width:100%; }
  .glp-f2-bot { padding:16px 20px; flex-direction:column; align-items:flex-start; } .glp-f2-bot div a { margin:0 16px 0 0; }
}

/* Banner propio de cada página: caja separada del footer */
body .glp-cta:not(.glp-cta-home), body .pg-rest .rt-cta, body .pg-grupos .cta-ignis, body .pg-hostal .glp-cta {
  width:auto; max-width:1280px; margin:48px auto 56px; border-radius:14px; padding:44px 40px; min-height:0;
}
body .glp-cta:not(.glp-cta-home) img.lg, body .pg-rest .rt-cta img.lg { height:52px; margin-bottom:12px; }
body .glp-cta:not(.glp-cta-home) h2, body .pg-rest .rt-cta h2 { font-size:clamp(1.5rem,3vw,2.1rem); margin-bottom:10px; }
body .glp-cta:not(.glp-cta-home) p, body .pg-rest .rt-cta p { font-size:16px; margin-bottom:22px; }
body .glp-cta:not(.glp-cta-home) .btn, body .pg-rest .rt-cta .btn { padding:13px 26px; font-size:15px; }
body .glp-cta:not(.glp-cta-home) .tel, body .pg-rest .rt-cta .tel { font-size:18.5px; padding:10px 24px; }
@media (max-width:900px) {
  body .glp-cta:not(.glp-cta-home), body .pg-rest .rt-cta, body .pg-grupos .cta-ignis, body .pg-hostal .glp-cta { margin:28px 16px 36px; padding:34px 20px; }
}

/* Logos de la franja Para llevar: La Vita (trazo fino) a la par de IGNIS (trazo grueso) */
body .glp-llevar-logos img[src*="vita"] { height:84px; width:auto; }
body .glp-llevar-logos img[src*="ignis"] { height:auto; width:150px; }

/* Barra de aviso de temporada (Nochevieja). La enciende/apaga header.php según la fecha. */
.glp-aviso { display:block; background:#c73b1a; color:#fff; text-align:center; font:500 15px/1.4 'Poppins',sans-serif; padding:9px 16px; text-decoration:none; }
.glp-aviso strong { font-weight:700; text-decoration:underline; text-underline-offset:3px; margin-left:6px; white-space:nowrap; }
.glp-aviso:hover { background:#451203; }

/* Móvil: evita que el logotipo del bloque "Para llevar" y el botón del cabecero se salgan de la pantalla. */
@media (max-width:540px) { .glp-llevar-logos { flex-wrap:wrap; justify-content:center; } body .glp-llevar-logos img { height:36px; } }

/* Alineación: en reseñas el autor queda siempre al fondo de la tarjeta (29-nov) */
.rev-card{display:flex;flex-direction:column}
.rev-card .rev-text{flex:1}

/* Botones del cabecero: tamaño fijo, no escalan con el resto del texto (29-nov) */
.glp-btn-solid, .glp-btn-line { font-size: 15px; }
@media (max-width: 540px) { .glp-btn-solid, .glp-btn-line { font-size: 14px; padding: 0 12px; } .glp-hdr-actions { gap: 8px; } }
/* Ajuste tipografico 29-nov: todos los tamaños de texto subidos ~12 % para que se lea bien en pantallas grandes y televisores. */
