/* ===== Hero con arte de marca (flyer) ===== */
.hero-slide.is-static { animation: none; opacity: 1; }
.hero-slide.is-static img {
  position: absolute; right: 2%; top: 50%;
  width: min(56%, 860px); height: auto; max-width: none;
  transform: translateY(-44%); animation: none;
  -webkit-mask-image: radial-gradient(ellipse 52% 56% at 50% 50%, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 52% 56% at 50% 50%, #000 45%, transparent 100%);
}
@media (max-width: 820px) {
  .hero-slide.is-static img { width: 130%; height: auto; right: -15%; top: 4.5rem; transform: none; }
  .hero { padding-top: clamp(19rem, 78vw, 22rem); }
}

/* ===== Servicios: lista completa ===== */
.chip-list { display: flex; flex-wrap: wrap; gap: 0.7rem; list-style: none; padding: 0; margin: 0; }
.chip-list li {
  font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.6rem 1.1rem; border: 1px solid var(--concrete-dark); border-radius: 999px; background: var(--white);
}

/* ===== Galería: antes y después ===== */
.ba { position: relative; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 4 / 3; user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after-wrap { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--white); transform: translateX(-50%); pointer-events: none; }
.ba-handle::after { content: '\2194'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-label { position: absolute; top: 0.8rem; padding: 0.3rem 0.7rem; background: rgba(13,13,15,0.75); color: var(--white); font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 4px; pointer-events: none; }
.ba-label.before { left: 0.8rem; }
.ba-label.after { right: 0.8rem; }
.ba-cap { margin-top: 0.6rem; font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.gallery-page .gallery-grid { grid-auto-rows: 260px; }
.gallery-page .gallery-item .gallery-cap { opacity: 1; transform: none; }
.gallery-page .gallery-item::after { opacity: 1; }
@media (max-width: 720px) {
  .gallery-page .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-page .gallery-item.span-2 { grid-column: auto; }
  .gallery-page .gallery-item.span-2-row { grid-row: auto; }
}

/* ===== Páginas legales ===== */
.legal-content { max-width: 70ch; }
.legal-content p { color: var(--text-muted); font-size: 1rem; line-height: 1.75; margin-bottom: 1.2rem; }
.legal-content h2 { font-size: 1.4rem; font-weight: 700; margin: 2.4rem 0 1rem; color: var(--text); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul { margin: 0 0 1.2rem; padding-left: 1.3rem; color: var(--text-muted); }
.legal-content li { margin-bottom: 0.5rem; line-height: 1.6; }
.legal-content a { color: var(--red); text-decoration: underline; }
.legal-content strong { color: var(--text); }
.legal-updated { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 2.4rem; }
.legal-content .btn-dark { margin-top: 0.5rem; }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--red); transform: translateY(-2px); }

/* ===== Aviso de cookies ===== */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 998;
  background: var(--black); padding: 1.1rem 1.6rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2rem;
  transform: translateY(110%); transition: transform 0.4s ease; box-shadow: 0 -10px 28px rgba(0,0,0,0.3);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: 0.86rem; line-height: 1.55; color: rgba(244,245,246,0.85); max-width: 62ch; }
.cookie-banner a { color: var(--red-light); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 0.7rem; flex-shrink: 0; }
@media (max-width: 640px) { .cookie-banner { flex-direction: column; text-align: center; padding: 1.2rem; } }

/* ===== Mapa de Google tras consentimiento ===== */
.map-consent-wrap { position: relative; }
.map-consent-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.7rem; text-align: center; padding: 1.2rem; background: var(--concrete); border-radius: var(--radius-md);
}
.map-consent-overlay svg { width: 28px; height: 28px; color: var(--steel); }
.map-consent-overlay p { margin: 0; font-size: 0.85rem; color: var(--text-muted); max-width: 30ch; }
.map-consent-wrap.is-loaded .map-consent-overlay { display: none; }
.map-consent-wrap .zone-map { width: 100%; }

/* ===== Rejillas con estilo en línea: adaptarlas a pantallas pequeñas ===== */
@media (max-width: 1000px) {
  [style*="grid-template-columns:repeat(4,1fr)"], [style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
  [style*="grid-template-columns:repeat(4,1fr)"], [style*="grid-template-columns:repeat(3,1fr)"], [style*="grid-template-columns:repeat(2,1fr)"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .gallery-grid .gallery-item { grid-column: 1 / -1 !important; grid-row: auto !important; }
}

/* ===== Tipografía más fina ===== */
body { font-weight: 400; }
.lede, .section-head p { font-weight: 300; }
.btn, .filter-tab, .chip-list li { font-weight: 600; letter-spacing: 0.06em; }
.main-nav a, .brand-word { font-weight: 600; }
strong { font-weight: 600; }
.zone-links a, .review-who strong { font-weight: 600; }
