/* ============================================================
   BaileMap — Directorio de academias de baile en España
   Diseño: vibrante, moderno, gradientes púrpura/magenta/rosa
   ============================================================ */

:root {
  --purple-900: #2a0a4a;
  --purple-700: #4c1d95;
  --purple-600: #6d28d9;
  --purple-500: #7c3aed;
  --magenta-500: #d946ef;
  --pink-500: #ec4899;
  --pink-400: #f472b6;
  --rose-500: #f43f5e;
  --accent: linear-gradient(135deg, #7c3aed 0%, #d946ef 50%, #ec4899 100%);
  --accent-hover: linear-gradient(135deg, #6d28d9 0%, #c026d3 50%, #db2777 100%);
  --bg: #faf7ff;
  --bg-soft: #f6f1ff;
  --surface: #ffffff;
  --border: #ece4f7;
  --text: #241a33;
  --text-muted: #6b5f7e;
  --text-soft: #9689ad;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 40px -12px rgba(76, 29, 149, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(76, 29, 149, 0.28);
  --font-head: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--purple-600); text-decoration: none; }
a:hover { color: var(--magenta-500); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, .font-head {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

.grad-text {
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section { padding: 56px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head p { color: var(--text-muted); margin-top: 10px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-600);
  background: linear-gradient(120deg, #ede9fe, #fce7f3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: -0.03em;
}
.brand:hover { color: var(--text); }
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent);
  box-shadow: 0 6px 18px -6px rgba(217, 70, 239, 0.6);
  flex-shrink: 0;
}
.brand-logo img { border-radius: 4px; }
.brand .reg { font-size: 0.95rem; font-weight: 400; color: var(--text-soft); letter-spacing: 0; }
.main-nav ul { display: flex; gap: 28px; align-items: center; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  opacity: 0.85;
}
.main-nav a:hover { opacity: 1; color: var(--purple-600); }

/* Dropdown "Tipos" */
.main-nav .has-sub { position: relative; }
.main-nav .drop-btn { display: inline-flex; align-items: center; gap: 5px; }
.main-nav .drop-caret { transition: transform .2s; }
.main-nav .has-sub:hover .drop-caret, .main-nav .has-sub.open .drop-caret { transform: rotate(180deg); }
.main-nav .submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  min-width: 250px;
  display: grid;
  gap: 2px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 60;
}
.main-nav .submenu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0; right: 0;
  height: 14px;
}
.main-nav .has-sub:hover .submenu,
.main-nav .has-sub:focus-within .submenu {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(4px);
}
.main-nav .submenu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  white-space: nowrap;
  font-size: .89rem;
  opacity: 1;
}
.main-nav .submenu a:hover { background: var(--bg-soft); color: var(--purple-700); }
.main-nav .sub-count {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  color: var(--purple-600);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 2px 9px;
  min-width: 26px;
  text-align: center;
}
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  opacity: 1 !important;
  box-shadow: 0 8px 22px -8px rgba(217, 70, 239, 0.7);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(217, 70, 239, 0.8);
  background: var(--accent-hover);
}
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span {
  display: block; width: 24px; height: 2.5px; margin: 5px 0;
  background: var(--text); border-radius: 2px; transition: 0.25s;
}

/* ============ HERO (HOME) ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 110px;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(236, 72, 153, 0.16), transparent 60%),
    radial-gradient(900px 500px at 10% 20%, rgba(124, 58, 237, 0.18), transparent 55%),
    linear-gradient(180deg, #fdf3ff 0%, #f6efff 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { margin: 18px 0 22px; }
.hero .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--purple-700);
  box-shadow: var(--shadow);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose-500); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .5; transform: scale(1.35);} }

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

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 28px -10px rgba(217, 70, 239, 0.7); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); color:#fff; }
.btn-ghost { background: #fff; color: var(--purple-700); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--purple-500); transform: translateY(-2px); box-shadow: var(--shadow); }

.hero-visual { position: relative; }
.hero-visual .blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; z-index: 0;
}
.hero-visual .blob-1 { width: 260px; height: 260px; background: #d946ef; top: -30px; right: 20px; }
.hero-visual .blob-2 { width: 200px; height: 200px; background: #7c3aed; bottom: -20px; left: -10px; }
.hero-card {
  position: relative; z-index: 1;
  background: #fff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.6);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}
.hero-card:hover { transform: rotate(0deg); }
.hero-card .hc-top {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px;
}
.hero-spinner {
  width: 46px; height: 46px;
  background: var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(217,70,239,.6);
  animation: spin 10s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.mini-stats { display: flex; gap: 14px; }
.mini-stat { background: var(--bg-soft); border-radius: 14px; padding: 10px 16px; text-align: center; }
.mini-stat strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--purple-700); }
.mini-stat span { font-size: 0.72rem; color: var(--text-muted); }
.hero-card .fake-search {
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex; gap: 10px; align-items: center;
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-bottom: 20px;
}
.hero-card .fake-item {
  display: flex; gap: 12px; align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 10px;
}
.hero-card .fake-item .fc { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); flex-shrink: 0; }
.hero-card .fake-item:nth-child(3) .fc { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.hero-card .fake-item:nth-child(4) .fc { background: linear-gradient(135deg, #10b981, #06b6d4); }
.hero-card .fake-item .fl { flex: 1; height: 12px; border-radius: 6px; background: var(--bg-soft); }
.hero-card .fake-item .fs { width: 56%; height: 9px; border-radius: 6px; background: var(--bg-soft); }

.hero-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat .num {
  font-family: var(--font-head); font-weight: 800; font-size: 1.9rem;
  background: var(--accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-stat .lbl { color: var(--text-muted); font-size: 0.9rem; }

/* ============ SEARCH ============ */
.search-wrap {
  margin-top: -52px;
  position: relative;
  z-index: 5;
}
.search-box {
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  padding: 10px 10px 10px 24px;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.8);
}
.search-box input {
  flex: 1;
  border: none; outline: none;
  font-size: 1rem;
  font-family: var(--font-body);
  background: transparent;
  color: var(--text);
}
.search-box input::placeholder { color: var(--text-soft); }
.search-box button {
  background: var(--accent);
  border: none; color: #fff;
  border-radius: 999px;
  padding: 13px 26px;
  font-family: var(--font-head);
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.search-box button:hover { background: var(--accent-hover); }

/* ============ PROVINCE GRID ============ */
.prov-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.prov-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 92px;
}
.prov-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .22s;
}
.prov-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.prov-card:hover::after { opacity: 1; }
.prov-card .pc-icon {
  width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0;
  background: var(--bg-soft);
  display: grid; place-items: center;
  color: var(--purple-600);
}
.prov-card h3 { font-size: 1.05rem; font-weight: 700; }
.prov-card h3 a { color: var(--text); }
.prov-card h3 a:hover { color: var(--purple-600); }
.prov-card .pc-meta { color: var(--text-muted); font-size: 0.85rem; margin-top: 2px; }
.prov-card .pc-arrow {
  margin-left: auto; color: var(--text-soft); transition: transform .2s, color .2s;
}
.prov-card:hover .pc-arrow { transform: translateX(4px); color: var(--purple-600); }

/* ============ TYPE CARDS (por tipo) ============ */
.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.type-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  position: relative;
  overflow: hidden;
}
.type-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .22s;
}
.type-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.type-card:hover::after { opacity: 1; }
.type-card .tc-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  margin-bottom: 10px;
  box-shadow: 0 10px 24px -8px rgba(217,70,239,.55);
  transition: transform .22s;
}
.type-card:hover .tc-icon { transform: scale(1.06) rotate(-4deg); }
.type-card h3 { font-size: 1.02rem; font-weight: 700; color: var(--text); }
.type-card .tc-meta { color: var(--text-muted); font-size: .85rem; }
.type-card .tc-arrow {
  margin-top: 8px;
  color: var(--text-soft);
  transition: transform .2s, color .2s;
}
.type-card:hover .tc-arrow { transform: translateX(4px); color: var(--purple-600); }

/* ============ BUSINESS CARDS ============ */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.biz-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s, box-shadow .22s;
  display: flex;
  flex-direction: column;
}
.biz-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.biz-card .bc-img {
  height: 185px;
  background: linear-gradient(135deg, #ede9fe, #fce7f3);
  position: relative;
  overflow: hidden;
}
.biz-card .bc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.biz-card:hover .bc-img img { transform: scale(1.05); }
.biz-card .bc-img .bc-img-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--purple-400);
}
.biz-card .bc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.biz-card .bc-cat {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-600);
  margin-bottom: 8px;
  display: inline-block;
  align-self: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 11px;
  transition: background .2s, border-color .2s, color .2s;
}
.biz-card .bc-cat:hover {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
}
.biz-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.biz-card h3 a { color: var(--text); }
.biz-card h3 a:hover { color: var(--purple-600); }
.biz-card .bc-addr {
  color: var(--text-muted); font-size: 0.9rem;
  display: flex; gap: 8px; align-items: flex-start; margin-bottom: 12px;
}
.biz-card .bc-addr svg { flex-shrink: 0; margin-top: 3px; }
.biz-rating {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.88rem; margin-bottom: 14px;
}
.stars { color: #f59e0b; letter-spacing: 1px; font-size: 0.95rem; }
.biz-rating .count { color: var(--text-muted); }
.biz-card .bc-links { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.link-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-soft);
  color: var(--purple-700);
  font-family: var(--font-head);
  font-size: 0.84rem; font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background .2s, transform .2s;
}
.link-chip:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

/* ============ PAGER ============ */
.pager { display: flex; justify-content: center; gap: 12px; margin-top: 44px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: #fff; border: 1px solid var(--border);
  font-family: var(--font-head); font-weight: 600; color: var(--purple-700);
}
.pager a:hover { background: var(--accent); color: #fff; border-color: transparent; }
.pager .cur { background: var(--accent); color: #fff; border-color: transparent; }

/* ============ BREADCRUMBS ============ */
.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 0.86rem; color: var(--text-soft);
  padding: 20px 0 0;
  list-style: none;
}
.breadcrumbs a { color: var(--text-soft); }
.breadcrumbs a:hover { color: var(--purple-600); }
.breadcrumbs .sep { opacity: 0.5; }
.breadcrumbs .cur { color: var(--text); font-weight: 500; }

/* ============ PAGE HERO (interior) ============ */
.page-hero {
  position: relative;
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(236, 72, 153, 0.15), transparent 60%),
    radial-gradient(700px 400px at 10% 10%, rgba(124, 58, 237, 0.15), transparent 55%),
    linear-gradient(180deg, #fdf3ff, #f6efff);
  padding: 34px 0 56px;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 10px 0 12px; }
.page-hero .lead { color: var(--text-muted); max-width: 640px; font-size: 1.05rem; }
.page-hero .meta-line { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; color: var(--text-muted); font-size: .92rem; }
.page-hero .meta-line span { display: inline-flex; align-items: center; gap: 7px; }

/* ============ CITY LIST ============ */
.city-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.city-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: transform .2s, box-shadow .2s;
}
.city-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.city-card .cc-name { font-family: var(--font-head); font-weight: 600; color: var(--text); }
.city-card .cc-count { font-size: 0.82rem; color: var(--text-muted); }
.city-card .cc-arrow { color: var(--text-soft); }

/* ============ ALPHA INDEX ============ */
.alpha-index { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 30px; }
.alpha-index a {
  min-width: 34px; height: 34px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--purple-700);
}
.alpha-index a:hover { background: var(--accent); color: #fff; }

/* ============ FEATURES ============ */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px;
  transition: transform .22s, box-shadow .22s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .f-icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--accent);
  display: grid; place-items: center; color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px -8px rgba(217,70,239,.6);
}
.feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: .92rem; }

/* ============ BUSINESS DETAIL PAGE ============ */
.biz-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: start; }
.biz-main .biz-gallery {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 28px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #ede9fe, #fce7f3);
  position: relative;
}
.biz-gallery img { width: 100%; height: 100%; object-fit: cover; }
.biz-gallery .g-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--purple-400); }
.biz-main h2 { margin: 30px 0 14px; font-size: 1.5rem; }
.biz-main p.desc { color: var(--text-muted); }
.reseñas-list { display: grid; gap: 16px; }
.reseña {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  border-left: 4px solid var(--rose-500);
}
.reseña .r-head { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin-bottom: 8px; }
.reseña .r-name { font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.reseña .r-text { color: var(--text-muted); font-size: .94rem; }
.reseña .r-text::before { content: '\201C'; color: var(--rose-500); font-size: 1.4rem; }
.reseña .r-text::after { content: '\201D'; color: var(--rose-500); font-size: 1.4rem; }

.sidebar { position: sticky; top: 90px; }
.info-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.info-card h3 { font-size: 1.05rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.info-row {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text-muted); font-size: .93rem;
}
.info-row:last-child { border-bottom: none; }
.info-row svg { flex-shrink: 0; margin-top: 2px; color: var(--purple-600); }
.info-row a { color: var(--purple-700); font-weight: 500; }
.big-rating {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0;
}
.big-rating .score {
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem;
  background: var(--accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.big-rating .score-sub { color: var(--text-muted); }
.hours-table { font-size: .9rem; }
.hours-table .hrow { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--border); gap: 12px; }
.hours-table .hrow:last-child { border: none; }
.hours-table .day { color: var(--text-muted); text-transform: capitalize; }
.hours-table .closed { color: var(--rose-500); font-weight: 600; }
.amenities-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.amenity-tag {
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .8rem;
  color: var(--purple-700);
  font-weight: 500;
}
.action-buttons { display: grid; gap: 12px; }
.action-buttons .btn { justify-content: center; }
.cta-card {
  background: var(--accent);
  border-radius: var(--radius);
  padding: 26px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-card h3 { color: #fff; margin-bottom: 8px; }
.cta-card p { font-size: .92rem; opacity: .92; margin-bottom: 18px; }
.cta-card .btn-light { background: #fff; color: var(--purple-700); }
.cta-card .btn-light:hover { background: #fdf2ff; transform: translateY(-2px); color: var(--purple-700); }

.nearby-list { display: grid; gap: 10px; }
.nearby-item {
  display: flex; gap: 12px; align-items: center;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: transform .2s, background .2s;
}
.nearby-item:hover { transform: translateX(3px); background: #ede5fb; }
.nearby-item .n-icon { color: var(--purple-600); flex-shrink: 0; }
.nearby-item .n-name { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--text); }
.nearby-item .n-meta { font-size: .8rem; color: var(--text-muted); }

/* ============ PAGE BANNER / CTA ============ */
.cta-banner {
  background: var(--accent);
  border-radius: 28px;
  padding: 44px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.cta-banner::before { width: 220px; height: 220px; top: -80px; left: -60px; }
.cta-banner::after { width: 300px; height: 300px; bottom: -130px; right: -90px; }
.cta-banner h1, .cta-banner h2 { color: #fff; margin-bottom: 10px; position: relative; z-index: 1; }
.cta-banner h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.cta-banner p { opacity: .94; margin-bottom: 24px; position: relative; z-index: 1; }
.cta-banner .btn-light { background: #fff; color: var(--purple-700); position: relative; z-index: 1; }
.cta-banner .btn-light:hover { background: #fdf2ff; transform: translateY(-2px); color: var(--purple-700); }

/* ============ FOOTER ============ */
.site-footer {
  background: linear-gradient(180deg, #1c0a33, #2a0a4a);
  color: #cdbfe8;
  margin-top: 80px;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-brand { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; color: #fff; display: flex; gap: 10px; align-items: center; }
.footer-brand .brand-logo { width: 36px; height: 36px; border-radius: 10px; }
.footer-col h4 {
  font-family: var(--font-head); color: #fff; font-size: .95rem;
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: #cdbfe8; font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--pink-400); }
.footer-about { font-size: .92rem; margin: 14px 0 18px; color: #b3a3cf; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .85rem; color: #a492c6;
}

/* ============ BADGE ============ */
.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.badge-purple { background: #ede9fe; color: var(--purple-700); }
.badge-pink { background: #fce7f3; color: #be185d; }
.badge-green { background: #d1fae5; color: #047857; }
.badge-amber { background: #fef3c7; color: #b45309; }

/* ============ LEADERBOARD / TOP LIST ============ */
.rank-list { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.rank-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 16px;
  transition: transform .2s, box-shadow .2s;
}
.rank-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.rank-item .r-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  color: var(--purple-300); min-width: 34px;
}
.rank-item .r-name { flex: 1; font-family: var(--font-head); font-weight: 600; color: var(--text); }
.rank-item .r-name a { color: var(--text); }
.rank-item .r-name a:hover { color: var(--purple-600); }
.rank-item .r-city { color: var(--text-muted); font-size: .85rem; }
.rank-item .r-stars { color: #f59e0b; }

/* ============ ALTA / FORM ============ */
.form-wrap {
  max-width: 760px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600; font-size: .9rem;
  margin-bottom: 7px;
  color: var(--text);
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--purple-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(124,58,237,.12);
}
.form-note { font-size: .84rem; color: var(--text-muted); margin-top: 6px; }
.form-msg {
  display: none;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 22px;
  font-size: .94rem;
  font-weight: 500;
}
.form-msg.ok { display: block; background: #d1fae5; color: #065f46; }
.form-msg.err { display: block; background: #fee2e2; color: #991b1b; }

/* ============ MISC ============ */
.note-box {
  background: var(--bg-soft);
  border: 1px dashed var(--purple-300);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: .9rem;
  color: var(--text-muted);
  margin: 20px 0;
}
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 28px; } .mt-4 { margin-top: 40px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 28px; }
.small { font-size: .85rem; }
.muted { color: var(--text-muted); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .biz-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .main-nav {
    position: fixed; top: 70px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 16px 22px;
    display: none;
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 14px; }
  .burger { display: block; }
  .nav-cta { text-align: center; }
  .main-nav .has-sub { position: static; }
  .main-nav .submenu {
    position: static;
    transform: none;
    visibility: visible;
    opacity: 1;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    padding: 2px 0 2px 14px;
    margin-left: 4px;
    min-width: 0;
    display: none;
  }
  .main-nav .has-sub:hover .submenu,
  .main-nav .has-sub:focus-within .submenu {
    transform: none;
  }
  .main-nav .has-sub.open .submenu { display: grid; }
  .main-nav .submenu a { white-space: normal; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 90px; }
  .search-box { border-radius: 24px; flex-direction: column; padding: 16px; }
  .search-box button { width: 100%; }
  .cta-banner { padding: 32px 22px; }
  .header-inner { height: 64px; }
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--purple-500), var(--pink-500));
  border-radius: 8px;
}

::selection { background: var(--rose-500); color: #fff; }