/* Livumo – dance studio discovery
   ----------------------------------------------------------------------------
   Visual language follows the original Livumo landing page: Montserrat
   headings, Asap body copy, pink (#fa2964) accent, dark hero with overlay,
   white rounded cards on a soft lavender-grey background.                    */

:root {
  --accent: #fa2964;
  --accent-dark: #e01e55;
  --accent-soft: #ffe8ef;
  --ink: #121b22;
  --ink-2: #333c44;
  --muted: #6b7280;
  --line: #e7e9f2;
  --bg: #ffffff;
  --bg-soft: #f5f6ff;
  --footer: #121b22;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(18, 27, 34, 0.08);
  --shadow-hover: 0 14px 36px rgba(18, 27, 34, 0.14);
  --heading: "Montserrat", system-ui, sans-serif;
  --body: "Asap", system-ui, sans-serif;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5 {
  font-family: var(--heading);
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

/* --- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }

/* --- Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
  transition: background 0.25s, box-shadow 0.25s;
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { flex-shrink: 0; }
.logo img { height: 34px; width: auto; max-width: none; }
.logo .logo-light { display: none; }

/* Transparent header over the home hero until the page scrolls */
.is-home .site-header { position: fixed; left: 0; right: 0; }
.is-home .site-header:not(.scrolled) { background: transparent; box-shadow: none; }
.is-home .site-header:not(.scrolled) .logo .logo-light { display: block; }
.is-home .site-header:not(.scrolled) .logo .logo-dark { display: none; }
.is-home .site-header:not(.scrolled) .main-nav > ul > li > a { color: #fff; }
.is-home .site-header:not(.scrolled) .nav-toggle { color: #fff; border-color: rgba(255,255,255,.4); }

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav > ul > li > a {
  display: block;
  padding: 10px 14px;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  border-radius: 6px;
  transition: color 0.2s;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active { color: var(--accent) !important; }
.main-nav .nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 1199px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 85vw);
    background: #fff;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
    padding: 90px 24px 24px;
    z-index: 110;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; box-shadow: -10px 0 40px rgba(0,0,0,.15); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li > a { color: var(--ink) !important; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 15px; }
  .main-nav .nav-cta { display: block; margin-top: 20px; }
  .main-nav .nav-cta a { width: 100%; }
  .nav-close { position: absolute; top: 18px; right: 18px; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(18,27,34,.45);
    opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 105;
  }
  .nav-backdrop.open { opacity: 1; pointer-events: auto; }
}
@media (min-width: 1200px) {
  .nav-close, .nav-backdrop { display: none; }
}

/* --- Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  color: #fff;
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url("../images/hero.jpg") center / cover no-repeat;
  text-align: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 14px;
}
/* Rotating keyword: each word slides up and out while the next rises in,
   and the underline eases to the new word's width. */
.word-rotator {
  position: relative;
  display: inline-block;
  vertical-align: bottom;
  height: 1.3em;
  overflow: hidden;
  border-bottom: 3px solid #fff;
  transition: width 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}
.word-rotator .word {
  position: absolute;
  top: 0;
  left: 50%;
  line-height: 1.3em;
  white-space: nowrap;
  opacity: 0;
  filter: blur(8px);
  transform: translate(-50%, 70%);
  transition:
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s ease,
    filter 0.6s ease;
}
.word-rotator .word.is-in { opacity: 1; filter: blur(0); transform: translate(-50%, 0); }
.word-rotator .word.is-out { opacity: 0; filter: blur(8px); transform: translate(-50%, -70%); }
@media (prefers-reduced-motion: reduce) {
  .word-rotator, .word-rotator .word { transition: opacity 0.4s ease; filter: none; }
  .word-rotator .word, .word-rotator .word.is-in, .word-rotator .word.is-out { transform: translate(-50%, 0); }
}
.hero p.lead {
  font-size: 18px;
  opacity: 0.92;
  margin: 0 auto 36px;
  max-width: 640px;
}
.hero .container { position: relative; z-index: 1; }

/* Search tabs + panel (shared by hero and listing pages) */
.search-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.search-tabs button {
  border: 0;
  background: #fff;
  color: var(--ink);
  padding: 10px 22px;
  border-radius: 8px;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  transition: background .2s, color .2s;
}
.search-tabs button[aria-selected="true"] { background: var(--accent); color: #fff; }

.search-panel {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}
.field {
  position: relative;
  display: flex;
  align-items: center;
}
.field i {
  position: absolute;
  left: 14px;
  color: var(--muted);
  font-size: 14px;
  pointer-events: none;
}
.field input,
.field select {
  width: 100%;
  height: 50px;
  padding: 0 14px 0 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236b7280' stroke-width='1.6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.field input:focus,
.field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-panel .btn { height: 50px; padding: 0 28px; }

@media (max-width: 860px) {
  .search-panel { grid-template-columns: 1fr 1fr; }
  .search-panel .field:first-child { grid-column: 1 / -1; }
  .search-panel .btn { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .search-panel { grid-template-columns: 1fr; padding: 14px; }
  .search-tabs button { padding: 9px 14px; font-size: 13px; }
}

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 44px;
}
.hero-stats strong {
  display: block;
  font-family: var(--heading);
  font-size: 28px;
  color: #fff;
}
.hero-stats span { font-size: 14px; opacity: .85; }

/* --- Sections ---------------------------------------------------------------- */
.section { padding: 90px 0; }
.section.soft { background: var(--bg-soft); }
.section.tight-top { padding-top: 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.section-head .eyebrow {
  display: block;
  font-family: var(--heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
  margin: 0;
  padding-left: 16px;
  border-left: 4px solid var(--accent);
}
.section-head .see-all {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.section-head .see-all:hover { color: var(--accent); }

.section-title-center { text-align: center; margin-bottom: 50px; }
.section-title-center h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 800; }
.section-title-center h2 span { color: var(--accent); }
.section-title-center p { color: var(--muted); margin: 0; }

/* --- Cards ------------------------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}
.grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.card-media {
  position: relative;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.95);
  overflow: hidden;
}
.card-media .monogram {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 46px;
  letter-spacing: 1px;
  text-shadow: 0 4px 20px rgba(0,0,0,.18);
}
.card-media .media-icon {
  position: absolute;
  right: -10px;
  bottom: -18px;
  font-size: 110px;
  opacity: .15;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
}
.card-media .badge { position: absolute; top: 14px; left: 14px; }
.badge-accent { background: var(--accent); color: #fff; }
.badge-dark { background: rgba(18,27,34,.75); color: #fff; }
.badge-soft { background: var(--accent-soft); color: var(--accent-dark); }
.badge-green { background: #e6f7ee; color: #12804a; }
.badge-grey { background: #eef0f5; color: var(--ink-2); }
.card-media .badge-right { left: auto; right: 14px; }

.date-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.date-chip b { display: block; font-family: var(--heading); font-size: 20px; }
.date-chip small { font-size: 11px; text-transform: uppercase; font-weight: 700; color: var(--accent); }

.card-body { padding: 18px 20px 6px; flex: 1; }
.card-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.card-body h3 a:hover { color: var(--accent); }
.meta {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 6px;
}
.meta i { color: var(--accent); width: 14px; margin-top: 4px; font-size: 13px; text-align: center; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 8px; }
.tag {
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 20px;
  background: var(--bg-soft);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.rating { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.rating i { color: #ffb400; }
.rating small { color: var(--muted); font-weight: 400; }
.price { font-family: var(--heading); font-weight: 700; color: var(--ink); }
.price small { font-family: var(--body); font-weight: 400; color: var(--muted); }
.card-link { position: absolute; inset: 0; z-index: 1; }
.card a:not(.card-link), .card button { position: relative; z-index: 2; }

/* --- Style chips (browse by style) ----------------------------------------- */
.style-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
@media (max-width: 991px) { .style-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .style-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px) { .style-grid { grid-template-columns: repeat(2, 1fr); } }
.style-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 12px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.style-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.style-chip .ico {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 22px;
}
.style-chip strong { font-family: var(--heading); color: var(--ink); font-size: 15px; }
.style-chip span { font-size: 13px; color: var(--muted); }

/* --- How it works ------------------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.step { text-align: center; padding: 10px 20px; }
.step .ico {
  width: 86px; height: 86px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  color: var(--accent);
  font-size: 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.step .ico b {
  position: absolute;
  top: -4px; right: -4px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-family: var(--heading);
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 19px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* --- Cities ------------------------------------------------------------------ */
.city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 20px;
}
.city-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: #fff;
  transition: transform .25s;
}
.city-tile:hover { transform: scale(1.02); }
.city-tile.wide { grid-column: span 2; }
.city-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.55));
}
.city-tile div { position: relative; z-index: 1; }
.city-tile h4 { color: #fff; font-size: 22px; margin: 0; }
.city-tile span { font-size: 14px; opacity: .9; }
@media (max-width: 860px) {
  .city-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}
@media (max-width: 520px) {
  .city-grid { grid-template-columns: 1fr; }
  .city-tile.wide { grid-column: auto; }
}

/* --- CTA band ---------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent) 0%, #8731e8 100%);
  color: #fff;
  border-radius: 16px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.cta-band p { margin: 0; opacity: .92; max-width: 560px; }
@media (max-width: 520px) { .cta-band { padding: 32px 24px; } }

/* --- Page hero (inner pages) ------------------------------------------------- */
.page-hero {
  padding: 56px 0 46px;
  background: linear-gradient(rgba(18,27,34,.78), rgba(18,27,34,.78)), url("../images/hero.jpg") center 35% / cover no-repeat;
  color: #fff;
}
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 6px; }
.page-hero p { margin: 0; opacity: .88; max-width: 640px; }
.breadcrumb { font-size: 14px; margin-bottom: 12px; opacity: .85; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }

/* --- Listing layout ---------------------------------------------------------- */
.listing-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 34px;
  align-items: start;
}
.filters {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
  max-height: calc(100vh - var(--header-h) - 40px);
  overflow-y: auto;
}
.filters h3 { font-size: 17px; margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; }
.filters h3 button {
  border: 0; background: none; color: var(--accent); font-size: 13px; cursor: pointer; font-family: var(--body); font-weight: 600;
}
.filter-group { margin-bottom: 20px; }
.filter-group > label,
.filter-group > .group-label {
  display: block;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 8px;
}
.filter-group .field input,
.filter-group .field select { height: 44px; font-size: 14px; }
.checks { display: grid; gap: 6px; }
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink-2);
}
.check input {
  width: 18px; height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  margin: 0;
}
.range-row { display: flex; align-items: center; gap: 10px; }
.range-row input[type="range"] { flex: 1; accent-color: var(--accent); }
.range-row output { font-weight: 600; font-size: 14px; min-width: 56px; text-align: right; color: var(--ink); }

.near-me {
  width: 100%;
  margin-bottom: 20px;
}
.near-me.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.results-bar p { margin: 0; color: var(--muted); }
.results-bar p b { color: var(--ink); }
.results-bar .field select { height: 42px; font-size: 14px; min-width: 200px; }
.filters-toggle { display: none; }

.empty {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.empty i { font-size: 40px; color: var(--accent); margin-bottom: 14px; }
.empty h3 { font-size: 20px; }
.empty p { color: var(--muted); }

@media (max-width: 991px) {
  .listing-layout { grid-template-columns: 1fr; }
  .filters {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(340px, 90vw);
    max-height: none;
    border-radius: 0;
    z-index: 120;
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform .3s ease, visibility .3s;
    padding-top: 30px;
  }
  .filters.open { transform: translateX(0); visibility: visible; }
  .filters-toggle { display: inline-flex; }
}

/* --- Pagination -------------------------------------------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  list-style: none;
  padding: 0;
}
.pagination button {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
  transition: all .2s;
}
.pagination button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.pagination button[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination button:disabled { opacity: .4; cursor: default; }
.pagination .gap { align-self: center; color: var(--muted); padding: 0 4px; }

/* --- Detail page ------------------------------------------------------------- */
.detail-hero {
  padding: 50px 0 40px;
  color: #fff;
}
.detail-hero .container { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.detail-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 10px; }
.detail-hero .meta { color: rgba(255,255,255,.9); }
.detail-hero .meta i { color: #fff; }
.detail-hero .badge { margin-bottom: 14px; }
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 34px;
  align-items: start;
}
.panel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 26px;
}
.panel h2 { font-size: 20px; margin-bottom: 16px; }
.panel p { margin-top: 0; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.info-list li:last-child { border-bottom: 0; }
.info-list i { color: var(--accent); width: 18px; margin-top: 4px; text-align: center; }
.info-list span { color: var(--muted); display: block; font-size: 13px; }
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.feature-list li { display: flex; gap: 10px; align-items: center; }
.feature-list i { color: #18ba60; }
.sticky-side { position: sticky; top: calc(var(--header-h) + 20px); }
.map-frame {
  width: 100%;
  height: 240px;
  border: 0;
  border-radius: 8px;
  background: var(--bg-soft);
}
@media (max-width: 991px) {
  .detail-layout { grid-template-columns: 1fr; }
  .sticky-side { position: static; }
}

/* --- Footer ------------------------------------------------------------------ */
.site-footer {
  background: var(--footer);
  color: rgba(255,255,255,.72);
  padding: 70px 0 0;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--accent); }
.site-footer .logo img { height: 32px; margin-bottom: 18px; }
.newsletter { display: flex; gap: 8px; margin-top: 6px; }
.newsletter input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  padding: 0 14px;
  color: #fff;
  outline: none;
}
.newsletter input:focus { border-color: var(--accent); }
.newsletter .btn { height: 46px; padding: 0 18px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  color: #fff;
}
.socials a:hover { background: var(--accent); color: #fff; }
.footer-bottom {
  margin-top: 50px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- Utilities --------------------------------------------------------------- */
.go-up {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px; height: 44px;
  border-radius: 8px;
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  z-index: 90;
}
.go-up.show { opacity: 1; pointer-events: auto; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  z-index: 200;
  pointer-events: none;
  max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
}

/* --- Studio cards (real data: no photos, styles or prices) ------------------ */
.card-media.short { height: 120px; }
.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.meta a { color: var(--ink-2); word-break: break-word; }
.meta a:hover { color: var(--accent); }
.card-foot .more { font-family: var(--heading); font-weight: 600; font-size: 13px; color: var(--accent); white-space: nowrap; }
.claim { margin: 14px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.claim a { color: var(--accent); font-weight: 600; }

/* Province tiles on the home page */
.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.region-grid .ico b { font-family: var(--heading); font-size: 16px; letter-spacing: .5px; }

.head-links { display: flex; gap: 24px; flex-wrap: wrap; }

/* Hero search without the style field (studios tab) */
.search-panel.no-style { grid-template-columns: 1.4fr 1.2fr auto; }
@media (max-width: 860px) {
  .search-panel.no-style { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .search-panel.no-style { grid-template-columns: 1fr; }
}

/* --- Sign-up forms ------------------------------------------------------------ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-section { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.checks-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px 14px; }
.check { line-height: 1.4; }
.hint { font-size: 13px; color: var(--muted); font-weight: 400; margin: 6px 0 0; }
.field-area textarea {
  width: 100%;
  min-height: 130px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.5;
  resize: vertical;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field-area textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.was-validated .field input:invalid,
.was-validated .field select:invalid,
.was-validated .field-area textarea:invalid { border-color: #e11d48; }
.was-validated .check input:invalid { outline: 2px solid #e11d48; outline-offset: 2px; }
.signup-done { text-align: center; padding: 50px 28px; }
.signup-done > i { font-size: 48px; color: #18ba60; margin-bottom: 16px; }
.signup-done h2 { font-size: 24px; }

/* Keep the desktop nav on one line at narrower laptop widths */
.main-nav > ul > li > a { white-space: nowrap; }
/* Laptop widths: icon-only "List your studio" so longer FR/ES labels fit on one line */
@media (min-width: 1200px) and (max-width: 1399px) {
  .main-nav > ul > li > a { padding: 10px 10px; }
  .header-actions .btn { padding: 10px 13px; }
  .header-actions .btn .cta-label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
  }
  .header-actions .btn { gap: 0; }
  .site-header .container { gap: 16px; }
}

/* Loading state while studios are fetched from the database */
.loading-block {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 60px 20px;
  color: var(--muted);
  font-family: var(--heading);
  font-weight: 600;
}
.loading-block i { color: var(--accent); }

/* Placeholder listings (sample data awaiting real details) */
.tag-sample { background: #fff7e6; border-color: #f5d9a8; color: #8a5a00; }
.foot-tags { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.panel.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff7e6;
  color: #6b4700;
  border: 1px solid #f5d9a8;
  box-shadow: none;
  padding: 16px 20px;
}
.panel.notice i { color: #c47f00; margin-top: 4px; }

/* Language switcher (EN | FR | ES) */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.lang-switch button {
  border: 0;
  background: transparent;
  padding: 8px 10px;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .5px;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-switch button + button { border-left: 1px solid var(--line); }
.lang-switch button:hover { color: var(--accent); }
.lang-switch button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.is-home .site-header:not(.scrolled) .lang-switch { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); }
.is-home .site-header:not(.scrolled) .lang-switch button { color: rgba(255,255,255,.85); }
.is-home .site-header:not(.scrolled) .lang-switch button + button { border-left-color: rgba(255,255,255,.35); }
.is-home .site-header:not(.scrolled) .lang-switch button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.main-nav .lang-switch { width: 100%; }
.main-nav .lang-switch button { flex: 1; padding: 12px; font-size: 14px; color: var(--muted) !important; }
.main-nav .lang-switch button[aria-pressed="true"] { color: #fff !important; }
@media (max-width: 1199px) {
  .lang-desktop { display: none; }
}
/* The header gets a little more room than page content so FR/ES menus fit on one line. */
.site-header .container { max-width: 1340px; }

/* Mobile menu: keep the open drawer above its backdrop, and style its buttons as buttons */
.site-header.nav-is-open { z-index: 130; }
@media (max-width: 1199px) {
  .main-nav > ul > li.nav-cta { margin-top: 14px; }
  .main-nav > ul > li.nav-cta > a.btn {
    display: flex;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 8px;
    border-bottom: 1px solid transparent;
  }
  .main-nav > ul > li.nav-cta > a.btn-primary { color: #fff !important; }
  .main-nav > ul > li.nav-cta > a.btn-outline { color: var(--accent) !important; border: 1px solid var(--accent); }
}

/* --- Accounts: header link ---------------------------------------------------- */
.account-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  padding: 10px 6px;
  white-space: nowrap;
}
.account-link:hover { color: var(--accent); }
.account-link.signed-in i { color: var(--accent); }
.is-home .site-header:not(.scrolled) .account-link { color: #fff; }
.main-nav .nav-account { display: none; }
@media (max-width: 1199px) {
  .account-link { display: none; }
  .main-nav .nav-account { display: block; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .account-link .account-label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
  }
  .account-link { font-size: 17px; padding: 10px 4px; }
}

/* --- Login / sign-up ------------------------------------------------------------ */
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 360px);
  gap: 34px;
  justify-content: center;
  align-items: start;
}
@media (max-width: 860px) { .auth-layout { grid-template-columns: 1fr; } }
.auth-card { margin-bottom: 0; }
.auth-card h2 { font-size: 22px; }
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 22px;
}
.auth-tabs button {
  border: 0;
  background: transparent;
  padding: 11px;
  border-radius: 8px;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.auth-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(18,27,34,.08); }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-pick label { cursor: pointer; }
.role-pick input { position: absolute; opacity: 0; }
.role-pick span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.role-pick span i { font-size: 22px; color: var(--muted); }
.role-pick input:checked + span { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.role-pick input:checked + span i { color: var(--accent); }
.role-pick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.role-pick input:disabled + span { opacity: .45; cursor: not-allowed; }
.form-error { color: #be123c; background: #fff1f2; border: 1px solid #fecdd3; border-radius: 8px; padding: 10px 14px; font-size: 14px; }
.claim-target { display: flex; gap: 10px; align-items: center; font-family: var(--heading); font-weight: 700; color: var(--ink); }
.claim-target i { color: var(--accent); }
.btn.is-busy { opacity: .7; cursor: progress; }
.muted { color: var(--muted); }

/* --- Account dashboard ------------------------------------------------------------- */
.account-hero {
  padding: 40px 0;
  background: linear-gradient(120deg, var(--ink) 0%, #2b2140 100%);
  color: #fff;
}
.account-hero .container { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.account-hero .container > div:nth-child(2) { flex: 1; min-width: 200px; }
.account-hero h1 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin: 0 0 8px; }
.account-hero p { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.account-hero .muted { color: rgba(255,255,255,.75); }
.avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), #8731e8);
  font-family: var(--heading);
  font-weight: 800;
  font-size: 24px;
}
.account-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.account-tabs button {
  border: 0;
  background: none;
  padding: 12px 16px;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
}
.account-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 860px) { .account-grid { grid-template-columns: 1fr; } }
.info-list.plain li { padding: 10px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.stat { background: var(--bg-soft); border-radius: 10px; padding: 16px; }
.stat strong { display: block; font-family: var(--heading); font-size: 26px; color: var(--ink); }
.stat span { font-size: 13px; color: var(--muted); }
.stat small { display: block; font-size: 12px; color: #8a5a00; margin-top: 4px; }

.listings-bar { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.type-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.type-tabs button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink-2);
}
.type-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.listings-tools { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.listings-tools .field input { height: 42px; font-size: 14px; min-width: 220px; }
.table-wrap { overflow-x: auto; }
.listings-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.listings-table th {
  text-align: left;
  font-family: var(--heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.listings-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.listings-table td a { color: var(--ink); font-weight: 600; }
.listings-table td a:hover { color: var(--accent); }
.listings-table .actions { text-align: right; white-space: nowrap; }
.claim-msg { color: var(--ink-2); font-style: italic; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.empty-inline { text-align: center; padding: 30px 10px; color: var(--muted); }
.empty-inline i { font-size: 30px; color: var(--accent); margin-bottom: 8px; }
.pagination .gap { font-size: 14px; }

/* --- Instructors: "Teach on Livumo" ------------------------------------------------- */
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .benefit-grid { grid-template-columns: 1fr; } }
.benefit { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.benefit .ico {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); font-size: 22px; margin-bottom: 16px;
}
.benefit h3 { font-size: 18px; }
.benefit p { color: var(--muted); margin: 0; }
.faq { max-width: 820px; }
.faq details { margin-bottom: 14px; padding: 0; }
.faq summary {
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--heading);
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 24px 20px; color: var(--ink-2); }
.teach-band {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 44px;
}
.teach-band h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 800; }
.teach-band p { color: var(--ink-2); margin: 0; max-width: 560px; }
.teach-band .eyebrow { display: block; font-family: var(--heading); font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.teach-art {
  aspect-ratio: 1;
  max-width: 260px;
  width: 100%;
  justify-self: center;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, #8731e8 100%);
  color: #fff;
  font-size: 96px;
}
@media (max-width: 760px) {
  .teach-band { grid-template-columns: 1fr; padding: 30px 22px; }
  .teach-art { display: none; }
  .teach-band .feature-list { grid-template-columns: 1fr !important; }
}
