/* ============================================================
   Gimnasios para Mujeres — hoja de estilos compartida
   Paleta: "Magenta Energía"
   ============================================================ */

:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --text: #221B1D;
  --text-sec: #6B6467;
  --text-mute: #8A8391;
  --border: #E7E1E2;
  --accent: #C81E5C;
  --accent-dark: #9E1749;
  --accent-soft: #F7E3EB;
  --success: #2E9457;
  --danger: #B0433D;
  --star: #E8A33D;
  --footer-bg: #221B1D;
  --footer-text-mute: #8A8391;
  --footer-text: #C9C2C4;
  --radius-lg: 16px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --shadow-card: 0 1px 3px rgba(34,27,29,0.06);
  --shadow-card-hover: 0 16px 32px rgba(200,30,92,0.16), 0 4px 10px rgba(200,30,92,0.08);
  --shadow-pop: 0 2px 8px rgba(0,0,0,0.16);
  --max-width: 1240px;
  --font-display: 'Bricolage Grotesque', 'Manrope', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Work Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-search-drop {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-pop);
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}
.header-search-drop.open { max-height: 110px; }
.header-search-drop .wrap { padding: 18px 24px; }
.header-search-drop .search-bar { max-width: 480px; box-shadow: none; border: 1px solid var(--border); }
.header-search-drop .search-bar input { color: var(--text); }

.logo-icon {
  display: block;
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--text);
  white-space: nowrap;
}
.brand svg { color: var(--accent); flex-shrink: 0; }
.brand span.hl { color: var(--accent); }
.hero h1 .hl {
  color: var(--accent);
  text-shadow: 0 0 14px rgba(255,255,255,.95), 0 0 30px rgba(255,255,255,.85), 0 0 50px rgba(255,255,255,.55);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-sec);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-btn {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--text-sec);
  display: flex;
}

.btn {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  border-radius: 8px;
  padding: 10px 16px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.header-actions .btn-primary span.short { display: none; }
.btn-outline { background: #fff; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: #fff; color: var(--text-sec); border: 1px solid var(--border); cursor: pointer; font-family: inherit; }
.btn-ghost.copied { color: var(--success); border-color: var(--success); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text);
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    border-top: 1px solid var(--border);
  }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary span.long { display: none; }
  .header-actions .btn-primary span.short { display: inline; }
  .header-actions .btn-primary { padding: 10px 14px; font-size: 16px; line-height: 1; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: #221B1D;
}
.hero-bg-wrap { position: absolute; inset: 0; }
.hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-bg-slide.active { opacity: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* sombreado suave tinte magenta: fuerte solo detrás del texto (izquierda), la foto se ve nítida a la derecha */
  background: linear-gradient(100deg, rgba(74,10,38,0.72) 0%, rgba(120,17,62,0.42) 32%, rgba(158,23,73,0.12) 55%, rgba(158,23,73,0) 72%),
              linear-gradient(0deg, rgba(30,8,18,0.32) 0%, rgba(30,8,18,0) 45%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  padding-block: 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 760px;
}
.hero-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.14);
  padding: 6px 14px;
  border-radius: 100px;
}
.hero h1 {
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.15;
  text-wrap: balance;
}
.hero p.sub {
  font-size: 16px;
  color: rgba(255,255,255,0.88);
  max-width: 54ch;
  line-height: 1.55;
}

.search-bar {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 100px;
  padding: 6px 6px 6px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-pop);
}
.search-bar input {
  border: none;
  outline: none;
  flex: 1;
  min-width: 0;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: transparent;
}
.search-bar svg { flex-shrink: 0; color: var(--text-mute); }

/* ---------- SECTIONS ---------- */
.section { padding-block: 56px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: 26px; }
.section-head p { margin: 6px 0 0; color: var(--text-sec); font-size: 14.5px; }
.section-head .see-all { font-weight: 600; font-size: 13.5px; color: var(--accent); white-space: nowrap; }

.section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* city cards */
.city-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .city-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .city-grid { grid-template-columns: repeat(2, 1fr); } }

.city-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .2s ease, transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s ease;
}
.city-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.city-card svg { color: var(--accent); margin-bottom: 4px; }
.city-card .city-name { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 15.5px; }
.city-card .city-count { font-size: 12.5px; color: var(--text-sec); }

/* gym cards */
.gym-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .gym-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .gym-grid { grid-template-columns: 1fr; } }

.gym-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease;
}
.gym-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }

.gym-card .thumb {
  width: 100%;
  height: 200px;
  display: flex;
  gap: 2px;
  background: var(--accent-soft);
}
.gym-card .thumb img { flex: 1; min-width: 0; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.gym-card:hover .thumb img { transform: scale(1.05); }
.gym-card .thumb.placeholder {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--accent-dark);
}
.gym-card .thumb.placeholder span { font-weight: 600; font-size: 11.5px; }
.gym-card .thumb.placeholder img.logo-icon { flex: none; width: 20px; height: 28px; object-fit: contain; }

.gym-card .body { padding: 18px 20px; display: flex; flex-direction: column; gap: 9px; }
.gym-card .row-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.badge-city {
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
}
.rating svg { color: var(--star); width: 14px; height: 14px; flex-shrink: 0; }
.rating .count { color: var(--text-mute); font-weight: 400; }
.ficha-meta .rating { font-size: 14.5px; }
.ficha-meta .rating svg { width: 16px; height: 16px; }
.gym-card .name { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.25; letter-spacing: -0.005em; }
.gym-card .addr { font-size: 12.5px; color: var(--text-sec); }
.gym-card .status-row { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot.open { background: var(--success); }
.dot.closed { background: var(--danger); }
.status-open { color: var(--success); font-weight: 600; }
.status-closed { color: var(--danger); font-weight: 600; }
.dot.unknown { background: var(--text-mute); }
.status-unknown { color: var(--text-mute); font-weight: 600; }
.gym-card .view-link { font-weight: 600; font-size: 12.5px; color: var(--accent); margin-top: 2px; }

.gym-card .dist-row { display: flex; align-items: center; gap: 8px; }
.gym-card .dist-value { font-size: 12.5px; font-weight: 700; color: var(--accent-dark); background: var(--accent-soft); padding: 2px 8px; border-radius: 20px; }
.dist-pill { font-size: 10.5px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; padding: 2px 7px; border-radius: 20px; }
.dist-pill-near { background: var(--success); color: #fff; }
.dist-pill-far { background: var(--text-mute); color: #fff; }

/* pagina de resultados de busqueda */
.search-empty { padding: 40px 0; text-align: center; color: var(--text-sec); }

/* blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-grid.wide { max-width: none; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .blog-grid.wide { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid.wide { grid-template-columns: 1fr; } }

.blog-card {
  position: relative;
  display: block;
  height: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .32s cubic-bezier(.22,1,.36,1), box-shadow .32s ease;
}
.blog-card:hover,
.blog-card.peek-open {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(200,30,92,0.20), 0 6px 14px rgba(200,30,92,0.10);
}
.blog-card .thumb { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.blog-card:hover .thumb img,
.blog-card.peek-open .thumb img { transform: scale(1.08); }

.blog-card .body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
  box-shadow: 0 -10px 24px rgba(20,16,17,0.08);
  transition: box-shadow .32s ease;
}
.blog-card .name { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.3; }

.blog-card .excerpt-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .38s cubic-bezier(.22,1,.36,1);
}
.blog-card:hover .excerpt-wrap,
.blog-card.peek-open .excerpt-wrap { grid-template-rows: 1fr; }
.blog-card .excerpt-wrap .excerpt {
  overflow: hidden;
  min-height: 0;
  color: var(--text-sec);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

/* ---------- ARTICULO DE BLOG ---------- */
.blog-post { padding-block: 40px 64px; }
.blog-post .wrap { max-width: 740px; }
.blog-post .post-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.blog-post .post-meta .read-time { font-size: 13px; color: var(--text-sec); }
.blog-post h1 { font-size: 34px; line-height: 1.22; margin-bottom: 28px; }
.blog-post .post-hero { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 36px; }
.blog-post .post-body p { font-size: 15.5px; line-height: 1.75; color: var(--text); margin: 0 0 22px; }
.blog-post .post-body p strong { font-family: var(--font-display); font-weight: 700; }
.blog-post .post-body a { color: var(--accent); font-weight: 600; }
.blog-post .post-body h2 { font-size: 20px; margin: 40px 0 16px; }
.blog-post .post-body h2:first-child { margin-top: 0; }
.blog-post .post-body ul { margin: 0 0 22px; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.blog-post .post-body li { font-size: 15px; line-height: 1.65; color: var(--text); }
.blog-post .post-body .updated { font-size: 13px; color: var(--text-mute); margin-bottom: 8px; }
.blog-post .post-body .legal-note {
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--accent-dark);
  line-height: 1.6;
  margin: 8px 0 32px;
}
.blog-post .post-body figure.inline-photo { margin: 32px 0; }
.blog-post .post-body figure.inline-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}
.blog-post .post-body figure.inline-photo figcaption {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 8px;
  text-align: center;
}
@media (max-width: 600px) {
  .blog-post .post-body figure.inline-photo img { height: 220px; }
}
.blog-post .post-body .source {
  font-size: 12.5px;
  color: var(--text-mute);
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: -2px;
  line-height: 1.6;
}
.blog-post .verified-box { margin-top: 24px; }
@media (max-width: 600px) {
  .blog-post h1 { font-size: 26px; }
  .blog-post .post-hero { height: 220px; }
}

.blog-card .view-link { font-weight: 600; font-size: 12.5px; color: var(--accent); margin-top: 4px; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding-block: 56px 28px; }
.footer-top { display: flex; gap: 56px; flex-wrap: wrap; margin-bottom: 36px; }
.footer-brand { flex: 1.3; min-width: 220px; display: flex; flex-direction: column; gap: 12px; }
.footer-brand .brand-row { display: flex; align-items: center; gap: 8px; color: #fff; }
.footer-brand .brand-row svg { color: #fff; }
.footer-brand p { margin: 0; font-size: 12.5px; color: var(--footer-text-mute); line-height: 1.6; max-width: 34ch; }
.footer-col { flex: 1; min-width: 140px; }
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--footer-text-mute);
  margin-bottom: 12px;
}
.footer-col a { display: block; font-size: 13px; color: var(--footer-text); line-height: 1.9; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #3A3335;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11.5px;
  color: var(--footer-text-mute);
}
.footer-bottom .brandline { color: var(--footer-text); font-weight: 600; }

/* ---------- CIUDAD (listado) ---------- */
.page-head {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-block: 36px 30px;
}
.breadcrumb { font-size: 13px; color: var(--text-mute); margin-bottom: 12px; }
.breadcrumb .sep { margin: 0 6px; }
.breadcrumb .current { color: var(--accent); font-weight: 600; }
.page-head h1 { font-size: 30px; margin-bottom: 8px; }
.page-head .count { color: var(--text-sec); font-size: 14.5px; margin-bottom: 18px; }

.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pill-group { display: flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--border); border-radius: 100px; padding: 4px; }
.pill { font-weight: 600; font-size: 12.5px; padding: 7px 16px; border-radius: 100px; color: var(--text-sec); cursor: default; }
.pill.active { color: #fff; background: var(--accent); }
.sort-group { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-sec); }
/* ---------- FORMULARIO SUMAR GIMNASIO ---------- */
.submit-page { padding-block: 40px 64px; }
.submit-page .wrap { max-width: 640px; }
.submit-page .intro { margin-bottom: 32px; }
.submit-page .intro p { color: var(--text-sec); font-size: 14.5px; line-height: 1.65; margin: 10px 0 0; }
.submit-page .steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-top: 18px;
}
.submit-page .steps .step { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--accent-dark); }
.submit-page .steps .step b { font-family: var(--font-display); }

.submit-form { display: flex; flex-direction: column; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-weight: 600; font-size: 13px; color: var(--text); }
.form-field .hint { font-weight: 400; color: var(--text-mute); font-size: 12px; }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--border);
  outline: none;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 100px; font-family: inherit; }
.form-row { display: flex; gap: 14px; }
.form-row .form-field { flex: 1; min-width: 0; }
@media (max-width: 560px) { .form-row { flex-direction: column; } }
.hp-field { position: absolute; left: -9999px; }

.submit-form button[type="submit"] { width: 100%; justify-content: center; padding: 14px; font-size: 14.5px; margin-top: 4px; }
.submit-form .fine-print { font-size: 12px; color: var(--text-mute); line-height: 1.5; margin: 0; }

/* ---------- PLANES (dashboard de Sumar mi gimnasio) ---------- */
.plans-page { padding-block: 40px 64px; }
.plans-page .wrap { max-width: 900px; }
.plans-page .intro { text-align: center; max-width: 560px; margin: 0 auto 40px; }
.plans-page .intro p { color: var(--text-sec); font-size: 14.5px; line-height: 1.6; margin: 10px 0 0; }

.plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 680px) { .plans-grid { grid-template-columns: 1fr; } }

.plan-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.plan-card .plan-name { font-family: var(--font-display); font-size: 21px; font-weight: 800; }
.plan-card .promo-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 100px;
  width: fit-content;
}
.plan-card .plan-price { font-family: var(--font-display); font-size: 30px; font-weight: 800; line-height: 1; }
.plan-card .plan-price .per { font-family: 'Work Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--text-sec); margin-left: 4px; }
.plan-card .plan-price-note { font-size: 13px; color: rgba(255,255,255,0.65); margin: -10px 0 0; }
.plan-card .plan-price-promo { font-family: var(--font-display); font-size: 26px; font-weight: 800; line-height: 1.25; }
.plan-card .plan-price-promo .hl { color: var(--accent); }
.plan-card .plan-desc { font-size: 13.5px; color: var(--text-sec); line-height: 1.5; margin: 0; }
.plan-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.45; }
.plan-card li svg { flex-shrink: 0; margin-top: 2px; }
.plan-card li.yes svg { color: var(--success); }
.plan-card li.no { color: var(--text-mute); }
.plan-card li.no svg { color: var(--danger); }
.plan-card .btn { justify-content: center; }

.plan-card.featured { background: var(--footer-bg); border-color: transparent; color: #fff; }
.plan-card.featured .plan-name,
.plan-card.featured .plan-price { color: #fff; }
.plan-card.featured .plan-price .per { color: rgba(255,255,255,0.65); }
.plan-card.featured .plan-desc { color: rgba(255,255,255,0.75); }
.plan-card.featured li { color: rgba(255,255,255,0.92); }
.plan-card.featured li.no { color: rgba(255,255,255,0.4); }
.plan-card.featured li.no svg { color: rgba(255,255,255,0.4); }
.plan-card .ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-chosen-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 28px;
  font-size: 13.5px;
  color: var(--accent-dark);
}
.plan-chosen-banner b { font-family: var(--font-display); }
.plan-chosen-banner a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.sort-group select {
  border: 1px solid var(--border);
  outline: none;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
}

.results-footer { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.results-footer .showing { font-size: 13px; color: var(--text-sec); }
.pager { display: flex; align-items: center; gap: 6px; }
.pagebtn {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 13px; background: #F1EFEC; color: var(--text);
  cursor: pointer; user-select: none; transition: background .12s ease;
}
.pagebtn:hover:not(.active):not(.disabled) { background: var(--accent-soft); }
.pagebtn.active { background: var(--accent); color: #fff; cursor: default; }
.pagebtn.disabled { opacity: 0.35; pointer-events: none; cursor: default; }

/* ---------- FICHA DE GIMNASIO ---------- */
.breadcrumb-bar { background: var(--surface); padding: 22px 0 14px; }

/* ---- Galería estilo Airbnb (foto grande + grilla) ---- */
.gallery-wrap { position: relative; background: var(--surface); }
.gallery-grid {
  display: grid;
  gap: 4px;
  height: 420px;
  overflow: hidden;
  position: relative;
}
.gallery-grid a { display: block; position: relative; overflow: hidden; }
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: filter .15s ease, transform .3s ease;
}
.gallery-grid a:hover img { filter: brightness(0.90); }

.gallery-grid.count-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }

.gallery-grid.count-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }

.gallery-grid.count-3 { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-grid.count-3 .g-0 { grid-row: 1 / span 2; grid-column: 1; }
.gallery-grid.count-3 .g-1 { grid-row: 1; grid-column: 2; }
.gallery-grid.count-3 .g-2 { grid-row: 2; grid-column: 2; }

.gallery-grid.count-4 { grid-template-columns: 1.4fr 1fr; grid-template-rows: repeat(3, 1fr); }
.gallery-grid.count-4 .g-0 { grid-row: 1 / span 3; grid-column: 1; }
.gallery-grid.count-4 .g-1 { grid-row: 1; grid-column: 2; }
.gallery-grid.count-4 .g-2 { grid-row: 2; grid-column: 2; }
.gallery-grid.count-4 .g-3 { grid-row: 3; grid-column: 2; }

.gallery-grid.count-5 { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-grid.count-5 .g-0 { grid-row: 1 / span 2; grid-column: 1; }
.gallery-grid.count-5 .g-1 { grid-row: 1; grid-column: 2; }
.gallery-grid.count-5 .g-2 { grid-row: 1; grid-column: 3; }
.gallery-grid.count-5 .g-3 { grid-row: 2; grid-column: 2; }
.gallery-grid.count-5 .g-4 { grid-row: 2; grid-column: 3; }

.gallery-badge-verified {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  background: #fff; border-radius: 100px; padding: 7px 14px;
  display: flex; align-items: center; gap: 6px; box-shadow: var(--shadow-pop);
  font-weight: 600; font-size: 12.5px; color: var(--accent-dark);
  pointer-events: none;
}
.gallery-show-all {
  position: absolute; bottom: 16px; right: 16px; z-index: 2;
  background: #fff; border: 1px solid var(--text); border-radius: 9px;
  padding: 9px 15px; font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 13px;
  display: flex; align-items: center; gap: 8px; cursor: pointer; box-shadow: var(--shadow-pop);
}

@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: 1fr !important; grid-template-rows: 1fr !important; height: 300px; }
  .gallery-grid a:not(.g-0) { display: none; }
  .gallery-grid .g-0 { grid-row: 1; grid-column: 1; }
}

/* ---- Lightbox (visor de fotos a pantalla completa) ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20,16,17,0.96);
  display: none;
  flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox .lb-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; color: #fff; flex-shrink: 0;
}
.lightbox .lb-close {
  background: none; border: none; color: #fff; cursor: pointer;
  display: flex; align-items: center; gap: 8px; font-family: 'Work Sans', sans-serif; font-size: 14px; font-weight: 600;
}
.lightbox .lb-counter { font-family: 'Work Sans', sans-serif; font-size: 13.5px; color: rgba(255,255,255,0.85); }
.lightbox .lb-stage {
  flex: 1; display: flex; align-items: center; justify-content: center;
  position: relative; min-height: 0; padding: 0 70px;
}
.lightbox .lb-stage img {
  max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px;
}
.lightbox .lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: none; color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.lightbox .lb-arrow:hover { background: rgba(255,255,255,0.24); }

/* ---------- WIDGET "CONTANOS QUE BUSCAS" (descuento) ---------- */
.discount-cta { padding-block: 10px; }
.discount-cta-box {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.discount-cta-box:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.discount-cta.sticky-city {
  position: sticky;
  top: 73px;
  z-index: 40;
  background: var(--bg);
}
.discount-cta-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.discount-cta-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.discount-cta-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.discount-cta-text strong { font-family: var(--font-display); font-size: 15px; color: var(--text); line-height: 1.3; }
.discount-cta-text span { font-size: 13px; color: var(--text-sec); }
.discount-cta-toggle .chevron { flex-shrink: 0; width: 26px; height: 26px; stroke-width: 2.6; color: var(--accent-dark); transition: transform .2s ease; }
.discount-cta-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.discount-cta-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.discount-cta-panel.open { max-height: 640px; }
.discount-cta-panel-inner { padding: 4px 20px 22px; border-top: 1px solid var(--border); }
.discount-form { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; }
.discount-form .form-field .optional { font-weight: 400; color: var(--text-mute); }
.discount-form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  color: var(--success);
  font-weight: 600;
  font-size: 14px;
}
@media (max-width: 560px) {
  .discount-cta-toggle { align-items: flex-start; padding: 14px 16px; }
  .discount-cta-panel-inner { padding: 4px 16px 20px; }
  .discount-cta.sticky-city .discount-cta-toggle { align-items: center; padding: 12px 16px; }
  .discount-cta.sticky-city .discount-cta-toggle[aria-expanded="false"] .discount-cta-text span { display: none; }
  .discount-cta.sticky-city .discount-cta-toggle[aria-expanded="true"] { align-items: flex-start; padding: 14px 16px; }
}
.lightbox .lb-arrow.prev { left: 18px; }
.lightbox .lb-arrow.next { right: 18px; }
.lightbox .lb-thumbs {
  display: flex; gap: 8px; padding: 16px 22px 20px; overflow-x: auto; flex-shrink: 0;
}
.lightbox .lb-thumbs img {
  width: 74px; height: 54px; object-fit: cover; border-radius: 6px; cursor: pointer;
  opacity: 0.5; flex-shrink: 0;
}
.lightbox .lb-thumbs img.active { opacity: 1; outline: 2px solid #fff; outline-offset: 1px; }
@media (max-width: 600px) {
  .lightbox .lb-stage { padding: 0 44px; }
  .lightbox .lb-arrow { width: 36px; height: 36px; }
}

.ficha-head { background: var(--surface); padding: 30px 0 34px; }
.ficha-eyebrow { font-family:'Manrope',sans-serif; font-weight:800; font-size:12.5px; letter-spacing:0.08em; text-transform:uppercase; color: var(--accent-dark); margin-bottom: 8px; }
.ficha-head h1 { font-size: 32px; margin-bottom: 12px; }
.ficha-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-sec); margin-bottom: 18px; }
.ficha-meta .sep { color: var(--border); }
.ficha-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.ficha-layout { display: flex; gap: 32px; align-items: flex-start; padding-block: 40px 56px; }
.ficha-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.ficha-side { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 860px) {
  .ficha-layout { flex-direction: column; gap: 22px; }
  .ficha-side { width: 100%; }
  .ficha-main, .ficha-side { display: contents; }
  .card-ubicacion { order: 1; }
  .card-datos { order: 2; }
  .card-resenas { order: 3; }
  .ficha-side .verified-box { order: 4; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}
.card h2 { font-size: 17px; margin-bottom: 8px; }
.card h3 { font-size: 15px; margin-bottom: 14px; }
.card p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #4B4555; }

.review-quote {
  border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; margin-top: 14px;
  font-size: 13.5px; font-style: italic; color: var(--text);
}
.review-quote cite { display:block; margin-top:6px; font-style: normal; font-size: 12px; color: var(--text-mute); }

.review-carousel { position: relative; }
.review-carousel .review-quote { display: none; }
.review-carousel .review-quote.active { display: block; animation: reviewFade 0.5s ease; }
@keyframes reviewFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-bg-slide { transition: none; }
  .review-carousel .review-quote.active { animation: none; }
}

.map-embed { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

.placeholder-box {
  border: 1.5px dashed var(--border); border-radius: 10px; padding: 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--text-mute); line-height: 1.5;
}
.placeholder-box svg { flex-shrink: 0; }

.datarow { display: flex; align-items: center; gap: 11px; }
.datarow svg { color: var(--accent); flex-shrink: 0; }
.datarow span, .datarow a { font-size: 13px; color: #4B4555; }
.datarow a { color: var(--accent); }
.datarow + .datarow { margin-top: 14px; }

.verified-box { background: var(--accent-soft); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.verified-box .head { display: flex; align-items: center; gap: 8px; color: var(--accent-dark); font-family:'Manrope',sans-serif; font-weight: 800; font-size: 14px; }
.verified-box p { color: #7A3B54; font-size: 12.5px; line-height: 1.5; margin: 0; }
.verified-box a { font-weight: 600; font-size: 12.5px; color: var(--accent-dark); margin-top: 4px; }
