/* ==========================================================================
   Only Private Club · maqueta v2
   La marca se cambia con --brand (y --brand-ink para el texto sobre la marca).
   Los colores de categoria son --cat-*.
   ========================================================================== */

:root {
  /* Marca */
  --brand: #2fa8e0;
  --brand-ink: #04131c;
  --brand-text: color-mix(in srgb, var(--brand) 62%, #fff);
  --brand-soft: color-mix(in srgb, var(--brand) 14%, transparent);
  --brand-line: color-mix(in srgb, var(--brand) 42%, transparent);

  /* Categorias */
  --cat-clubes: #3cba8f;
  --cat-nightlife: #e2608c;
  --cat-lounge: #9b8cf2;

  /* Superficies y texto */
  --bg: #0a0d12;
  --surface: #10141b;
  --surface-2: #161b24;
  --surface-3: #1d2330;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f6;
  --text-2: #c2c9d4;
  --muted: #8f99a9;
  --danger: #ff8f9a;

  --font-display: "Palatino Linotype", Palatino, "Book Antiqua", "Iowan Old Style", Georgia, serif;
  --font-body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --gutter: clamp(16px, 4vw, 40px);
  --container: 76rem;
  --header-h: 72px;

  color-scheme: dark;
}

/* Las pantallas grandes escalan todo un poco para no dejar la web pequeña en 2K/4K. */
@media (min-width: 1800px) { html { font-size: 17px; } }
@media (min-width: 2400px) { html { font-size: 19px; } }
@media (min-width: 3400px) { html { font-size: 24px; } }

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.15; letter-spacing: 0.005em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
h3, .h3 { font-size: 1.25rem; }
dl, dd { margin: 0; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container-narrow { width: min(48rem, 100% - 2 * var(--gutter)); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--brand); color: var(--brand-ink); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.muted { color: var(--muted); }

/* Colores de categoria y modalidad ------------------------------------------ */

[data-cat="clubes"] { --tone: var(--cat-clubes); }
[data-cat="nightlife"] { --tone: var(--cat-nightlife); }
[data-cat="lounge"] { --tone: var(--cat-lounge); }

.tag, .badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.tag {
  color: color-mix(in srgb, var(--tone) 55%, #fff);
  background: color-mix(in srgb, var(--tone) 18%, rgba(8, 10, 14, 0.75));
  border: 1px solid color-mix(in srgb, var(--tone) 45%, transparent);
}
.badge {
  color: var(--text);
  background: rgba(8, 10, 14, 0.72);
  border: 1px solid var(--line-strong);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot, var(--muted)); }
.badge[data-mod="operating"] { --dot: #4ad295; }
.badge[data-mod="ready"] { --dot: var(--brand); }
.badge[data-mod="custom"] { --dot: #e3b45c; }

/* Botones y enlaces --------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--brand) 85%, #fff); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand-line); background: var(--brand-soft); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 0.875rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand-text); font-weight: 600; text-decoration: none;
}
.text-link .icon { transition: transform 0.2s; }
.text-link:hover .icon { transform: translateX(3px); }

/* Cabecera ------------------------------------------------------------------ */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 13, 18, 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark {
  position: relative; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none;
  background: #1a1e25; box-shadow: 0 0 0 1px var(--brand-line);
}
/* El logo original es un circulo sobre fondo gris: se recorta centrado en el aro. */
.brand-mark img {
  position: absolute; top: 50%; left: 50%;
  width: auto; max-width: none; height: 106%;
  transform: translate(-50.8%, -50%);
}
.brand-name {
  font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
.brand-name span { color: var(--brand-text); }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: block; padding: 8px 12px; border-radius: 999px;
  color: var(--text-2); text-decoration: none; font-size: 0.92rem; white-space: nowrap;
}
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.site-nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.site-nav .nav-cta { margin-left: 8px; padding-inline: 18px; border: 1px solid var(--brand-line); color: var(--text); }
.site-nav .nav-cta[aria-current="page"], .site-nav .nav-cta:hover { background: var(--brand); color: var(--brand-ink); box-shadow: none; border-radius: 999px; }

.header-tools { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; }
.lang-switch button {
  min-width: 40px; min-height: 34px; padding: 4px 10px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--surface-3); color: var(--text); }
.lang-switch button:hover { color: var(--text); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; cursor: pointer; place-items: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1099px) {
  .header-inner { justify-content: space-between; }
  .header-tools { margin-left: auto; }
  .nav-toggle { display: grid; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -12px rgba(0, 0, 0, 0.7);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); padding-left: 14px; }
  .site-nav .nav-cta { margin: 16px 0 0; text-align: center; border-radius: 999px; padding: 12px; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 0.95rem; letter-spacing: 0.05em; }
  .brand-mark { width: 40px; height: 40px; }
  .header-inner { gap: 10px; }
  .header-tools { gap: 6px; }
  .lang-switch button { min-width: 34px; padding: 4px 6px; }
}

/* Secciones ----------------------------------------------------------------- */

.section { padding-block: clamp(56px, 7vw, 104px); }
.section-tight { padding-block: clamp(32px, 4vw, 56px); }
.section-flush { padding-top: 0; }
.section-alt { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); border-block: 1px solid var(--line); }

.section-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .lead { color: var(--text-2); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head-row .section-head { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--brand-text); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem); color: var(--text-2); max-width: 44rem; }

.page-head {
  padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 48px);
  background: radial-gradient(ellipse 70% 120% at 15% 0%, var(--brand-soft), transparent 60%);
}
.page-head .section-head { margin-bottom: 0; }
.page-message { min-height: 50vh; }
.page-message .hero-actions { margin-top: 28px; }

/* Inicio: hero -------------------------------------------------------------- */

.hero {
  padding-block: clamp(40px, 6vw, 88px) clamp(40px, 5vw, 64px);
  background:
    radial-gradient(ellipse 60% 80% at 85% 10%, var(--brand-soft), transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(255, 255, 255, 0.025), transparent 70%);
}
.hero-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 20px; justify-items: start; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-visual {
  position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden;
  aspect-ratio: 4 / 3; border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
.hero-visual .art { width: 100%; height: 100%; }
.hero-card {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--radius);
  background: rgba(10, 13, 18, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); text-decoration: none;
}
.hero-card:hover { border-color: var(--brand-line); }
.hero-card-label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-text); }
.hero-card-title { font-family: var(--font-display); font-size: 1.15rem; }
.hero-card-meta { font-size: 0.85rem; color: var(--muted); }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
  .hero-card { left: auto; max-width: 22rem; right: 20px; bottom: 20px; }
}

.quick-search {
  margin-top: clamp(32px, 5vw, 56px); padding: 20px clamp(16px, 2.5vw, 28px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; gap: 16px;
}
.quick-search-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text-2); }
.quick-search-title .icon { color: var(--brand-text); }
.quick-search-fields { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); align-items: end; }

/* Inicio: pilares, categorias, modalidades, pasos --------------------------- */

.keypoints { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.keypoint { display: flex; gap: 16px; align-items: flex-start; }
.keypoint > .icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; color: var(--brand-text); background: var(--brand-soft); border: 1px solid var(--brand-line); }
.keypoint h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.keypoint p { color: var(--muted); font-size: 0.95rem; }

.category-grid, .modality-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.category-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); border-top: 2px solid var(--tone);
  background-image: radial-gradient(ellipse 80% 60% at 100% 0%, color-mix(in srgb, var(--tone) 12%, transparent), transparent 70%);
}
.category-card p { color: var(--text-2); }
.category-card .text-link { margin-top: auto; color: color-mix(in srgb, var(--tone) 60%, #fff); }
.category-index { font-family: var(--font-display); font-size: 0.95rem; color: var(--muted); letter-spacing: 0.1em; }

.modality-card {
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.modality-card .badge { font-size: 0.85rem; padding: 6px 14px; }
.modality-card > p:first-of-type { color: var(--text-2); }
.modality-licence { display: flex; gap: 10px; font-size: 0.9rem; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.modality-licence .icon { margin-top: 2px; }
.modality-card .text-link { margin-top: auto; }

.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); counter-reset: step; }
.step { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.step h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; }
.step p { color: var(--muted); font-size: 0.95rem; }
.step-num {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--brand-line); color: var(--brand-text); font-family: var(--font-display); font-size: 1.05rem;
}
.steps-stacked { grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px; }
.step-compact { grid-template-columns: auto 1fr; column-gap: 16px; padding: 18px; }
.step-compact .step-num { grid-row: span 2; }

.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  padding: clamp(28px, 4vw, 48px); border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--brand-line);
  background: radial-gradient(ellipse 70% 140% at 100% 50%, var(--brand-soft), transparent 70%), var(--surface);
}
.cta-band > div:first-child { display: grid; gap: 10px; max-width: 38rem; }
.cta-band p { color: var(--text-2); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Tarjeta de local ---------------------------------------------------------- */

.card-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.venue-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s;
}
.venue-card:hover { border-color: color-mix(in srgb, var(--tone) 50%, transparent); transform: translateY(-3px); }
.venue-card:focus-within { border-color: var(--brand-line); }
.venue-media { position: relative; aspect-ratio: 16 / 10; }
.venue-media .art { width: 100%; height: 100%; }
.venue-media-tags { position: absolute; left: 14px; top: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.venue-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.venue-ref { font-size: 0.75rem; letter-spacing: 0.14em; color: var(--muted); font-weight: 600; }
.venue-title { font-size: 1.3rem; }
.venue-title a { text-decoration: none; }
.venue-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.venue-title a:focus-visible { outline: none; }
.venue-card:has(.venue-title a:focus-visible) { outline: 2px solid var(--brand); outline-offset: 3px; }
.venue-summary { color: var(--text-2); font-size: 0.95rem; }
.venue-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.9rem; color: var(--text-2); margin-top: 4px; }
.venue-facts li { display: inline-flex; align-items: center; gap: 6px; }
.venue-facts .icon { color: var(--muted); }
.venue-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; color: var(--brand-text); font-weight: 600; font-size: 0.92rem; }

/* Catalogo ------------------------------------------------------------------ */

.filters {
  display: grid; gap: 12px; align-items: end;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr));
  padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.field-inline { display: grid; gap: 6px; font-size: 0.82rem; color: var(--muted); font-weight: 600; letter-spacing: 0.02em; }
.field-inline-row { grid-auto-flow: column; align-items: center; gap: 10px; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 24px 0; }
.results-count { color: var(--text-2); font-weight: 600; }
.empty-state { padding: 48px 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); display: grid; gap: 12px; justify-items: center; }
.empty-state h2 { font-size: 1.5rem; }
.empty-state p { color: var(--muted); max-width: 32rem; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* Controles de formulario --------------------------------------------------- */

input, select, textarea {
  width: 100%; min-height: 46px; padding: 10px 14px;
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  color: var(--text); font-size: 1rem; font-weight: 400; letter-spacing: normal;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f99a9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
select option { background: var(--surface-2); color: var(--text); }
input::placeholder, textarea::placeholder { color: #6f7889; }
input:hover, select:hover, textarea:hover { border-color: rgba(255, 255, 255, 0.26); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
input[readonly] { color: var(--text-2); background: var(--surface); cursor: default; }
[aria-invalid="true"] { border-color: var(--danger); }
[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(255, 143, 154, 0.2); border-color: var(--danger); }

.form { display: grid; gap: 18px; }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form:not(.form-compact) .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field > label { font-size: 0.9rem; font-weight: 600; color: var(--text-2); }
.req { color: var(--brand-text); margin-left: 4px; }
.opt { color: var(--muted); font-weight: 400; font-size: 0.85rem; }
.field-error { color: var(--danger); font-size: 0.85rem; }
.field-check { grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; }
.field-check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--brand); cursor: pointer; }
.field-check label { font-size: 0.92rem; color: var(--text-2); font-weight: 400; cursor: pointer; }
.field-check label a { color: var(--brand-text); }
.field-check .field-error { grid-column: 2; }
.form-summary { padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(255, 143, 154, 0.08); border: 1px solid rgba(255, 143, 154, 0.35); color: var(--danger); font-size: 0.92rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-hint { font-size: 0.82rem; color: var(--muted); }
.form-compact .form-actions .btn { width: 100%; }

.form-success { display: grid; gap: 12px; justify-items: start; padding: 24px; border-radius: var(--radius); background: var(--brand-soft); border: 1px solid var(--brand-line); }
.form-success > .icon { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); stroke-width: 2.2; }
.form-success h3 { font-size: 1.4rem; }
.form-success p { color: var(--text-2); }

.panel { padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 16px; align-content: start; }
.panel > h2 { font-size: 1.5rem; }

/* Ficha de local ------------------------------------------------------------ */

.listing { padding-top: 24px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.breadcrumb a[aria-current="page"] { color: var(--text-2); }

.listing-head { display: grid; gap: 14px; margin: 24px 0 32px; max-width: 52rem; }
.listing-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.listing-tags .venue-ref { margin-left: 4px; }

.listing-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .listing-layout { grid-template-columns: minmax(0, 1fr) minmax(20rem, 24rem); align-items: start; }
  .listing-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.listing-main { display: grid; gap: 32px; min-width: 0; }
.listing-section { display: grid; gap: 16px; padding-top: 32px; border-top: 1px solid var(--line); }
.listing-section h2 { font-size: 1.6rem; }
.listing-section h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-top: 8px; }
.listing-section > p { color: var(--text-2); max-width: 46rem; }
.related-title { margin-bottom: 28px; }

.gallery { display: grid; gap: 12px; }
.gallery-main { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery-slide, .gallery-slide .art { width: 100%; height: 100%; }
.gallery-slide[hidden] { display: none; }
.gallery-sample, .gallery-counter {
  position: absolute; bottom: 14px; padding: 4px 10px; border-radius: 999px;
  background: rgba(8, 10, 14, 0.75); border: 1px solid var(--line); font-size: 0.78rem; color: var(--text-2);
}
.gallery-sample { left: 14px; }
.gallery-counter { right: 14px; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(8, 10, 14, 0.7); border: 1px solid var(--line-strong); color: var(--text); cursor: pointer;
}
.gallery-nav:hover { background: rgba(8, 10, 14, 0.92); border-color: var(--brand-line); }
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-thumb {
  display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--line); background: none; cursor: pointer; opacity: 0.6; transition: opacity 0.2s, border-color 0.2s;
}
.gallery-thumb .art { width: 100%; height: 100%; }
.gallery-thumb:hover { opacity: 0.9; }
.gallery-thumb[aria-pressed="true"] { opacity: 1; border-color: var(--brand); }

.facts { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { display: grid; gap: 4px; padding: 16px 18px; background: var(--surface); }
.fact dt { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.03em; }
.fact dd { font-size: 1.05rem; font-weight: 600; }

.note { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.9rem; }
.note .icon { margin-top: 2px; color: var(--brand-text); }
.note-boxed { padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }

.check-list { display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.check-list .icon { margin-top: 3px; color: var(--brand-text); stroke-width: 2; }

.spec-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); column-gap: 32px; }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-row dt { color: var(--muted); }
.spec-row dd { text-align: right; font-weight: 600; }
.spec-row dd.is-pending { color: #e3b45c; font-weight: 400; font-style: italic; }

.licence-box { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--dot, var(--brand)); }
.licence-box[data-mod="operating"] { --dot: #4ad295; }
.licence-box[data-mod="ready"] { --dot: var(--brand); }
.licence-box[data-mod="custom"] { --dot: #e3b45c; }
.licence-box > .icon { width: 28px; height: 28px; color: var(--dot); }
.licence-box > div { display: grid; gap: 6px; }
.licence-status { font-weight: 700; color: var(--text); }

/* Servicios ----------------------------------------------------------------- */

.services { display: grid; gap: 20px; }
.service {
  display: grid; gap: 20px 32px; padding: clamp(22px, 3vw, 36px);
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
@media (min-width: 900px) { .service { grid-template-columns: auto minmax(0, 1.6fr) minmax(14rem, 1fr); align-items: start; } }
.service-icon .icon { width: 52px; height: 52px; padding: 12px; border-radius: 50%; color: var(--brand-text); background: var(--brand-soft); border: 1px solid var(--brand-line); }
.service-body { display: grid; gap: 10px; }
.service-body h2 { font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.7rem); }
.service-body > p:last-child { color: var(--text-2); }
.service-points { display: grid; gap: 12px; padding-top: 4px; }
.service-points h3 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.services + .note { margin-top: 24px; }

/* Ofrecenos tu local y contacto -------------------------------------------- */

.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr); }
  .split-form-first { grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.6fr); }
}
.split-side { display: grid; gap: 18px; align-content: start; }
.split-side .note-boxed { margin-bottom: 12px; }
.contact-list { display: grid; gap: 16px; }
.contact-list dt { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; }
.contact-list dd { font-size: 1.05rem; }

/* Sobre nosotros ------------------------------------------------------------ */

.about-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.prose-block { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.prose-block > .icon { width: 32px; height: 32px; color: var(--brand-text); }
.prose-block p { color: var(--text-2); }
.values { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.value { padding-top: 20px; border-top: 1px solid var(--brand-line); display: grid; gap: 8px; }
.value p { color: var(--muted); }
.where { display: flex; gap: 20px; align-items: flex-start; }
.where > .icon { width: 32px; height: 32px; color: var(--brand-text); margin-top: 4px; }
.where > div { display: grid; gap: 10px; }
.where p { color: var(--text-2); }

/* Paginas legales ----------------------------------------------------------- */

.legal-banner {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 32px; padding: 16px 18px;
  border-radius: var(--radius-sm); background: rgba(227, 180, 92, 0.1); border: 1px solid rgba(227, 180, 92, 0.45);
  color: #f0cd8a; font-weight: 600;
}
.legal-banner .icon { margin-top: 2px; }
.prose { display: grid; gap: 28px; margin-bottom: 32px; }
.prose section { display: grid; gap: 10px; }
.prose h2 { font-size: 1.35rem; }
.prose p { color: var(--text-2); }

/* Pie ----------------------------------------------------------------------- */

.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding-top: clamp(40px, 5vw, 64px); margin-top: clamp(40px, 5vw, 64px); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.footer-brand { display: grid; gap: 14px; align-content: start; grid-column: 1 / -1; }
.footer-brand p { color: var(--muted); max-width: 22rem; font-size: 0.92rem; }
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); }
  .footer-brand { grid-column: auto; }
}
.footer-col h2 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 8px; font-size: 0.92rem; }
.footer-col a { color: var(--text-2); text-decoration: none; }
.footer-col a:hover { color: var(--text); text-decoration: underline; }
.footer-contact { color: var(--text-2); overflow-wrap: anywhere; }
.footer-muted { color: var(--muted); font-size: 0.82rem; font-style: italic; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: clamp(32px, 4vw, 48px); padding-block: 20px; border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--muted);
}
.demo-note { display: inline-flex; align-items: center; gap: 8px; }
.demo-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #e3b45c; }

/* Movimiento reducido ------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Movil: filtros y datos principales en dos columnas para no alargar la pantalla. */
@media (max-width: 639px) {
  .filters { grid-template-columns: 1fr 1fr; padding: 14px; }
  .filters [data-reset] { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 14px; }
  .fact dd { font-size: 0.98rem; }
}
