:root {
  --bg: #f4f1e9;
  --surface: #fffdf8;
  --surface-2: #ebe7dc;
  --surface-3: #dfe8e2;
  --ink: #16201d;
  --muted: #6d746f;
  --line: rgba(20, 35, 31, .13);
  --green-950: #082824;
  --green-900: #0b352f;
  --green-800: #12483e;
  --green-700: #1b5f50;
  --green-600: #267762;
  --green-100: #dcebe4;
  --gold: #b08a42;
  --gold-soft: #efe4cb;
  --blue: #154e70;
  --danger: #9c3e39;
  --success: #287653;
  --warning: #a56c24;
  --shadow-sm: 0 8px 24px rgba(18, 28, 25, .07);
  --shadow-md: 0 18px 52px rgba(18, 28, 25, .14);
  --shadow-lg: 0 34px 90px rgba(4, 20, 17, .24);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --sidebar: 248px;
  --topbar: 90px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, [role="button"] { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.is-hidden { display: none !important; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(13, 53, 47, .22); border: 3px solid transparent; background-clip: padding-box; border-radius: 999px; }
::-webkit-scrollbar-track { background: transparent; }

:is([data-icon],[data-icon-rendered]) { display: inline-flex; align-items: center; justify-content: center; }
:is([data-icon],[data-icon-rendered]) svg { width: 1.15em; height: 1.15em; stroke-width: 1.8; }

.eyebrow {
  color: var(--green-700);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.btn {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: transparent;
  cursor: pointer;
  font-weight: 750;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), opacity .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--green-900); color: #fff; box-shadow: 0 9px 24px rgba(11, 53, 47, .23); }
.btn--primary:hover { background: var(--green-800); box-shadow: 0 13px 30px rgba(11, 53, 47, .29); }
.btn--secondary { background: var(--surface); color: var(--green-900); border-color: var(--line); }
.btn--ghost { background: rgba(255,255,255,.12); color: inherit; border-color: rgba(255,255,255,.25); }
.btn--gold { background: var(--gold); color: white; }
.btn--danger { background: var(--danger); color: white; }
.btn--soft { background: var(--green-100); color: var(--green-900); }
.btn--full { width: 100%; }
.btn--xl { min-height: 56px; font-size: 15px; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 12px; }
.btn--square { width: 44px; padding: 0; }

.icon-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,253,248,.72);
  cursor: pointer;
  transition: .2s var(--ease);
  position: relative;
}
.icon-btn:hover { background: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.icon-btn.has-badge .notification-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d76748;
  border: 2px solid var(--surface);
  right: 7px;
  top: 7px;
}

.input-shell {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255,255,255,.82);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input-shell:focus-within { border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(27,95,80,.12); background: white; }
.input-shell--large { min-height: 58px; border-radius: 18px; }
.input-shell input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; }
.input-icon { color: var(--green-700); font-size: 20px; }
.form-field { display: grid; gap: 8px; }
.form-field label { font-size: 12px; font-weight: 800; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 13px 14px;
  outline: none;
  color: var(--ink);
  transition: .2s;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(27,95,80,.11); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.form-grid .span-2 { grid-column: 1/-1; }
.form-hint { color: var(--muted); font-size: 12px; line-height: 1.5; }

/* Login */
.login-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(430px, .75fr);
  background: var(--green-950);
}
.login-photo {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(4,25,21,.05), rgba(4,25,21,.52)),
    linear-gradient(180deg, rgba(4,25,21,.05), rgba(4,25,21,.45)),
    url("assets/img/club-aerial.jpg") center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.login-photo::after {
  content: "TODO EL CAMPESTRE · EN UNA SOLA APP";
  position: absolute;
  left: 44px;
  bottom: 44px;
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}
.login-panel {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px clamp(36px, 5vw, 82px) 30px;
}
.login-panel__inner { width: 100%; max-width: 470px; margin: auto; }
.brand-logo--login { width: min(320px, 80%); margin-bottom: 48px; }
.login-panel h1 { margin: 12px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6vw, 74px); letter-spacing: -.045em; line-height: .98; font-weight: 500; color: var(--green-950); }
.login-lead { font-size: 17px; line-height: 1.6; color: #4f5c57; max-width: 430px; margin: 0 0 34px; }
.login-form { display: grid; gap: 13px; }
.login-form > label { font-size: 12px; font-weight: 800; letter-spacing: .02em; color: #4c5854; }
.demo-access { border: 0; background: none; cursor: pointer; color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; padding: 5px; }
.login-trust { display: flex; align-items: center; gap: 10px; color: #68716e; font-size: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.login-trust :is([data-icon],[data-icon-rendered]) { font-size: 19px; color: var(--green-700); }
.login-footer { margin-top: auto; color: #888d8a; font-size: 10px; text-align: center; padding-top: 30px; }
.login-panel.is-shaking { animation: shake .4s; }
@keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-8px)} 75%{transform:translateX(8px)} }

/* Shell */
.app-shell { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar) 1fr; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: var(--green-950);
  color: rgba(255,255,255,.78);
  padding: 24px 16px 18px;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.sidebar-brand { display: flex; align-items: center; justify-content: center; min-height: 78px; padding: 8px 10px 24px; border-bottom: 1px solid rgba(255,255,255,.11); }
.sidebar-brand img { width: 190px; filter: brightness(0) invert(1); opacity: .96; }
.sidebar-nav { display: grid; gap: 4px; margin-top: 20px; overflow-y: auto; padding-right: 2px; }
.nav-item {
  border: 0;
  background: transparent;
  color: inherit;
  width: 100%;
  min-height: 46px;
  border-radius: 13px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: .2s var(--ease);
}
.nav-item :is([data-icon],[data-icon-rendered]) { font-size: 20px; color: rgba(255,255,255,.64); }
.nav-item:hover { background: rgba(255,255,255,.08); color: white; }
.nav-item.is-active { background: white; color: var(--green-950); box-shadow: 0 12px 28px rgba(0,0,0,.17); }
.nav-item.is-active :is([data-icon],[data-icon-rendered]) { color: var(--green-700); }
.sidebar-bottom { margin-top: auto; display: grid; gap: 10px; }
.concierge-mini, .member-mini {
  border: 0;
  width: 100%;
  border-radius: 16px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.concierge-mini { background: rgba(255,255,255,.08); padding: 11px; }
.member-mini { background: transparent; padding: 8px; }
.concierge-mini strong, .member-mini strong { display: block; font-size: 11px; }
.concierge-mini small, .member-mini small { display: block; color: rgba(255,255,255,.55); font-size: 9px; margin-top: 2px; }
.member-mini > span:nth-child(2), .concierge-mini > span:nth-child(2) { flex: 1; }
.concierge-orb {
  width: 36px;
  height: 36px;
  border-radius: 13px;
  background: radial-gradient(circle at 30% 20%, #fff 0 5%, #d8c38d 20%, #2e7663 62%, #0a2d28 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 7px 18px rgba(0,0,0,.19);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex: 0 0 auto;
}
.app-main { grid-column: 2; min-width: 0; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--topbar);
  padding: 0 clamp(24px, 3.2vw, 54px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(244,241,233,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(20,35,31,.07);
}
.topbar-title h2 { margin: 4px 0 0; font-size: 26px; letter-spacing: -.025em; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.profile-button {
  height: 48px;
  padding: 0 12px 0 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,253,248,.72);
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}
.profile-button__copy { text-align: left; min-width: 110px; }
.profile-button__copy strong, .profile-button__copy small { display: block; }
.profile-button__copy strong { font-size: 11px; }
.profile-button__copy small { color: var(--muted); font-size: 9px; margin-top: 2px; }
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--green-700), var(--green-950));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.avatar--small { width: 34px; height: 34px; font-size: 10px; }
.page-stage { padding: 24px clamp(22px, 3.2vw, 54px) 80px; min-height: calc(100vh - var(--topbar)); }
.page { display: none; animation: pageIn .36s var(--ease); }
.page.is-active { display: block; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: 8px 0 24px; }
.page-heading h1 { margin: 4px 0 0; font-size: clamp(30px, 3vw, 44px); line-height: 1.05; letter-spacing: -.045em; }
.page-heading p { margin: 8px 0 0; color: var(--muted); max-width: 650px; line-height: 1.55; }

/* Generic layout */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-pad { padding: 22px; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.card-title h3 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.card-title a, .text-link { color: var(--green-700); border: 0; background: none; cursor: pointer; font-weight: 800; font-size: 12px; text-decoration: none; }
.section-block { margin-top: 30px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: 24px; letter-spacing: -.035em; }
.section-head p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.divider { height: 1px; background: var(--line); }
.badge {
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface-2);
  color: #4e5b56;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.badge--green { background: var(--green-100); color: var(--green-800); }
.badge--gold { background: var(--gold-soft); color: #805f26; }
.badge--dark { background: var(--green-950); color: white; }
.badge--danger { background: #f3dddb; color: var(--danger); }
.muted { color: var(--muted); }
.money { font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.empty-state { padding: 42px 20px; text-align: center; color: var(--muted); }
.empty-state :is([data-icon],[data-icon-rendered]) { font-size: 38px; color: var(--green-600); margin-bottom: 12px; }

/* Home */
.hero {
  min-height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: url("assets/img/club-aerial.jpg") center 45%/cover no-repeat;
  box-shadow: var(--shadow-md);
  color: white;
  display: flex;
  align-items: end;
  padding: clamp(28px,4vw,52px);
}
.hero::before { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(4,28,24,.88) 0%, rgba(4,28,24,.58) 45%, rgba(4,28,24,.06) 78%), linear-gradient(0deg, rgba(4,28,24,.5), transparent 55%); }
.hero-content { position: relative; z-index: 1; max-width: 580px; }
.hero .eyebrow { color: #e4d3a5; }
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; margin: 9px 0 14px; font-size: clamp(44px, 5.1vw, 74px); line-height: .98; letter-spacing: -.045em; }
.hero p { margin: 0 0 24px; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.55; max-width: 500px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-weather {
  position: absolute;
  right: 24px;
  top: 24px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(4,28,24,.36);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.hero-weather strong { font-size: 20px; }
.quick-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.quick-action {
  min-height: 112px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  cursor: pointer;
  transition: .25s var(--ease);
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.quick-action:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(27,95,80,.25); }
.quick-action__icon { width: 38px; height: 38px; border-radius: 13px; background: var(--green-100); color: var(--green-800); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.quick-action:nth-child(2) .quick-action__icon, .quick-action:nth-child(5) .quick-action__icon { background: var(--gold-soft); color: #876326; }
.quick-action strong { font-size: 12px; }
.home-columns { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(310px,.65fr); gap: 18px; margin-top: 30px; }
.timeline { display: grid; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 58px 18px 1fr auto; gap: 10px; align-items: start; padding: 14px 0; }
.timeline-item + .timeline-item { border-top: 1px solid var(--line); }
.timeline-time { font-size: 12px; font-weight: 850; color: var(--green-800); }
.timeline-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); margin-top: 3px; box-shadow: 0 0 0 4px var(--gold-soft); }
.timeline-copy strong, .timeline-copy small { display: block; }
.timeline-copy strong { font-size: 13px; }
.timeline-copy small { color: var(--muted); font-size: 11px; margin-top: 4px; }
.balance-card { background: linear-gradient(145deg, var(--green-950), #174c40); color: white; overflow: hidden; position: relative; }
.balance-card::after { content:""; position:absolute; width:200px; height:200px; border-radius:50%; border:45px solid rgba(255,255,255,.05); right:-70px; top:-90px; }
.balance-card .card-title { position: relative; z-index:1; }
.balance-amount { font-size: 38px; font-weight: 500; letter-spacing: -.045em; margin: 24px 0 5px; position: relative; z-index: 1; }
.balance-card p { color: rgba(255,255,255,.62); font-size: 11px; margin:0 0 20px; position:relative; z-index:1; }
.balance-meta { display:flex; justify-content:space-between; color:rgba(255,255,255,.62); font-size:10px; position:relative; z-index:1; margin-top:16px; }
.feature-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.feature-card { min-height:220px; border-radius:22px; overflow:hidden; position:relative; color:white; display:flex; align-items:end; padding:20px; box-shadow:var(--shadow-sm); cursor:pointer; }
.feature-card::before { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(3,20,17,.82),rgba(3,20,17,.02) 75%); }
.feature-card > * { position:relative; z-index:1; }
.feature-card h3 { margin:6px 0 4px; font-size:21px; letter-spacing:-.03em; }
.feature-card p { margin:0; color:rgba(255,255,255,.72); font-size:11px; line-height:1.45; }
.feature-card--class { background:url("assets/img/spinning.webp") center 23%/cover; }
.feature-card--food { background:url("assets/img/hole-in-one.png") 28% center/cover; }
.feature-card--golf { background:url("assets/img/club-aerial.jpg") 20% center/cover; }

/* Filters and date strip */
.filter-bar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:18px; }
.search-field { flex:1; min-width:220px; max-width:420px; }
.search-field .input-shell { background:var(--surface); }
.chip {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  transition: .2s;
}
.chip:hover, .chip.is-active { color:white; background:var(--green-900); border-color:var(--green-900); }
.date-strip { display:flex; gap:8px; overflow-x:auto; padding:4px 2px 12px; margin-bottom:10px; }
.date-pill { min-width:64px; height:75px; border:1px solid var(--line); border-radius:18px; background:var(--surface); display:grid; place-items:center; align-content:center; gap:3px; cursor:pointer; transition:.2s; }
.date-pill span { font-size:9px; font-weight:800; color:var(--muted); text-transform:uppercase; }
.date-pill strong { font-size:19px; }
.date-pill small { font-size:8px; color:var(--green-700); font-weight:800; }
.date-pill.is-active { background:var(--green-950); color:white; border-color:var(--green-950); box-shadow:var(--shadow-sm); }
.date-pill.is-active span, .date-pill.is-active small { color:rgba(255,255,255,.67); }

/* Classes */
.class-list { display:grid; gap:12px; }
.class-card {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:20px;
  padding:16px;
  display:grid;
  grid-template-columns:92px minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  transition:.22s var(--ease);
}
.class-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-sm); border-color:rgba(27,95,80,.25); }
.class-time { border-right:1px solid var(--line); padding-right:16px; }
.class-time strong, .class-time small { display:block; }
.class-time strong { font-size:18px; letter-spacing:-.03em; }
.class-time small { color:var(--muted); font-size:10px; margin-top:3px; }
.class-main { min-width:0; }
.class-main h3 { margin:0 0 6px; font-size:17px; letter-spacing:-.025em; }
.class-meta { display:flex; gap:13px; flex-wrap:wrap; color:var(--muted); font-size:10px; }
.class-meta span { display:inline-flex; align-items:center; gap:4px; }
.class-capacity { min-width:128px; display:grid; gap:8px; justify-items:end; }
.capacity-line { width:118px; height:5px; border-radius:999px; background:var(--surface-2); overflow:hidden; }
.capacity-line span { display:block; height:100%; border-radius:999px; background:var(--green-600); }
.capacity-copy { color:var(--muted); font-size:9px; }
.class-card.is-booked { border-color:rgba(40,118,83,.35); background:linear-gradient(90deg,#fffdf8,var(--green-100)); }
.class-card.is-full .capacity-line span { background:var(--danger); }

/* Facilities */
.facility-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.facility-card { min-height:260px; border-radius:24px; overflow:hidden; position:relative; color:white; padding:20px; display:flex; flex-direction:column; justify-content:space-between; background:#183b34; cursor:pointer; box-shadow:var(--shadow-sm); transition:.25s var(--ease); isolation:isolate; }
.facility-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.facility-card::before { content:""; position:absolute; inset:0; z-index:-2; background:var(--facility-image, linear-gradient(145deg,#2c6758,#092d28)) center/cover no-repeat; transition:transform .45s var(--ease); }
.facility-card:hover::before { transform:scale(1.04); }
.facility-card::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,rgba(4,24,20,.06),rgba(4,24,20,.87)); }
.facility-card__top { display:flex; justify-content:space-between; }
.facility-icon { width:42px; height:42px; border-radius:14px; background:rgba(255,255,255,.17); backdrop-filter:blur(12px); display:flex; align-items:center; justify-content:center; font-size:21px; }
.facility-card h3 { margin:0 0 5px; font-size:25px; letter-spacing:-.04em; }
.facility-card p { margin:0 0 14px; font-size:11px; color:rgba(255,255,255,.7); line-height:1.45; }
.facility-meta { display:flex; gap:8px; flex-wrap:wrap; }
.facility-meta .badge { background:rgba(255,255,255,.15); color:white; backdrop-filter:blur(8px); }
.upcoming-reservations { display:grid; gap:10px; }
.reservation-row { display:grid; grid-template-columns:52px 1fr auto; align-items:center; gap:12px; padding:13px; border-radius:16px; background:var(--surface); border:1px solid var(--line); }
.reservation-date { width:48px; height:48px; border-radius:14px; background:var(--green-100); color:var(--green-900); display:grid; place-items:center; align-content:center; }
.reservation-date span { font-size:8px; font-weight:800; text-transform:uppercase; }
.reservation-date strong { font-size:18px; line-height:1; }
.reservation-row h4 { margin:0 0 3px; font-size:13px; }
.reservation-row p { margin:0; color:var(--muted); font-size:10px; }

/* Dining */
.restaurant-tabs { display:flex; gap:10px; overflow-x:auto; padding-bottom:10px; }
.restaurant-tab { min-width:190px; min-height:86px; border-radius:18px; border:1px solid var(--line); background:var(--surface); padding:13px; display:flex; align-items:center; gap:12px; cursor:pointer; text-align:left; transition:.2s; }
.restaurant-tab:hover, .restaurant-tab.is-active { border-color:var(--green-700); box-shadow:var(--shadow-sm); }
.restaurant-tab.is-active { background:var(--green-950); color:white; }
.restaurant-tab__img { width:58px; height:58px; object-fit:cover; border-radius:14px; background:white; }
.restaurant-tab strong, .restaurant-tab small { display:block; }
.restaurant-tab strong { font-size:12px; }
.restaurant-tab small { color:var(--muted); font-size:9px; margin-top:4px; }
.restaurant-tab.is-active small { color:rgba(255,255,255,.58); }
.menu-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.menu-card { background:var(--surface); border:1px solid var(--line); border-radius:22px; overflow:hidden; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; }
.menu-card__image { aspect-ratio: 16/10; object-fit:cover; width:100%; }
.menu-card__body { padding:16px; display:flex; flex-direction:column; gap:9px; flex:1; }
.menu-card__body h3 { margin:0; font-size:16px; letter-spacing:-.025em; }
.menu-card__body p { margin:0; color:var(--muted); font-size:10px; line-height:1.45; flex:1; }
.menu-card__foot { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.menu-card__price { font-weight:850; font-size:15px; }
.cart-float { position:fixed; right:30px; bottom:28px; z-index:24; border:0; border-radius:999px; background:var(--green-950); color:white; min-height:56px; padding:0 20px; display:flex; align-items:center; gap:12px; cursor:pointer; box-shadow:var(--shadow-lg); }
.cart-float__count { width:26px; height:26px; border-radius:50%; background:var(--gold); display:grid; place-items:center; font-size:10px; font-weight:800; }
.cart-float strong, .cart-float small { display:block; text-align:left; }
.cart-float strong { font-size:12px; }
.cart-float small { color:rgba(255,255,255,.58); font-size:9px; }

/* Store */
.store-hero { min-height:260px; border-radius:26px; background:linear-gradient(90deg,rgba(5,29,25,.9),rgba(5,29,25,.28)),url("assets/img/club-aerial.jpg") center/cover; color:white; padding:32px; display:flex; align-items:end; box-shadow:var(--shadow-md); }
.store-hero h1 { margin:6px 0 8px; font-size:42px; letter-spacing:-.045em; }
.store-hero p { margin:0; color:rgba(255,255,255,.72); max-width:520px; }
.product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.product-card { background:var(--surface); border:1px solid var(--line); border-radius:20px; overflow:hidden; box-shadow:var(--shadow-sm); }
.product-visual { aspect-ratio:1; background:linear-gradient(145deg,#e7e3d8,#f8f6ef); display:grid; place-items:center; position:relative; overflow:hidden; }
.product-visual__emoji { font-size:72px; filter:drop-shadow(0 14px 12px rgba(0,0,0,.12)); transform:rotate(-7deg); }
.product-card__body { padding:15px; }
.product-card__body h3 { margin:0 0 5px; font-size:14px; }
.product-card__body p { margin:0 0 13px; color:var(--muted); font-size:10px; line-height:1.4; }
.product-card__foot { display:flex; align-items:center; justify-content:space-between; gap:8px; }

/* Instructors */
.demo-note { padding:13px 16px; border-radius:14px; background:var(--gold-soft); color:#755826; font-size:11px; display:flex; gap:9px; align-items:flex-start; margin-bottom:18px; }
.instructor-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.instructor-card { background:var(--surface); border:1px solid var(--line); border-radius:24px; overflow:hidden; box-shadow:var(--shadow-sm); }
.instructor-cover { height:160px; background:var(--instructor-gradient); position:relative; }
.instructor-cover::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 70% 25%,rgba(255,255,255,.28),transparent 25%),linear-gradient(0deg,rgba(3,23,19,.42),transparent); }
.instructor-avatar { width:96px; height:96px; border-radius:50%; position:absolute; left:20px; bottom:-42px; border:5px solid var(--surface); background:rgba(255,255,255,.24); backdrop-filter:blur(8px); display:grid; place-items:center; font-size:27px; font-weight:800; color:white; box-shadow:var(--shadow-sm); }
.instructor-body { padding:54px 20px 20px; }
.instructor-body h3 { margin:0 0 5px; font-size:20px; letter-spacing:-.035em; }
.instructor-specialty { color:var(--muted); font-size:11px; }
.rating-line { display:flex; align-items:center; gap:8px; margin:14px 0; }
.rating-line strong { font-size:22px; }
.stars { color:#c39337; letter-spacing:2px; font-size:14px; }
.rating-line small { color:var(--muted); }
.instructor-tags { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:16px; }
.review-quote { border-top:1px solid var(--line); padding-top:13px; color:#58615e; font-size:10px; line-height:1.5; min-height:58px; }

/* Feedback */
.feedback-layout { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(320px,.7fr); gap:18px; }
.feedback-form { padding:24px; }
.type-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:9px; }
.type-option { min-height:78px; border:1px solid var(--line); border-radius:16px; background:white; cursor:pointer; display:grid; place-items:center; align-content:center; gap:7px; color:var(--muted); font-size:9px; font-weight:800; text-align:center; }
.type-option :is([data-icon],[data-icon-rendered]) { font-size:22px; color:var(--green-700); }
.type-option.is-active { background:var(--green-950); color:white; border-color:var(--green-950); }
.type-option.is-active :is([data-icon],[data-icon-rendered]) { color:var(--gold-soft); }
.photo-drop { border:1.5px dashed rgba(27,95,80,.38); border-radius:18px; min-height:150px; background:rgba(220,235,228,.34); display:grid; place-items:center; text-align:center; padding:18px; cursor:pointer; overflow:hidden; position:relative; }
.photo-drop input { position:absolute; inset:0; opacity:0; cursor:pointer; }
.photo-drop :is([data-icon],[data-icon-rendered]) { font-size:31px; color:var(--green-700); }
.photo-drop strong { display:block; font-size:12px; margin-top:8px; }
.photo-drop small { color:var(--muted); font-size:10px; }
.photo-preview { width:100%; max-height:230px; object-fit:cover; border-radius:14px; }
.feedback-side { display:grid; gap:18px; align-content:start; }
.stat-row { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.stat-box { padding:14px; border-radius:15px; background:var(--surface-2); text-align:center; }
.stat-box strong, .stat-box small { display:block; }
.stat-box strong { font-size:19px; }
.stat-box small { color:var(--muted); font-size:8px; margin-top:3px; }
.ticket-list { display:grid; gap:9px; }
.ticket-item { padding:12px; border:1px solid var(--line); border-radius:14px; display:grid; grid-template-columns:1fr auto; gap:8px; }
.ticket-item strong { display:block; font-size:11px; }
.ticket-item small { color:var(--muted); font-size:9px; }

/* Account */
.account-hero { background:linear-gradient(145deg,var(--green-950),#1c5a4b); color:white; border-radius:27px; padding:26px; display:grid; grid-template-columns:1fr auto; gap:24px; align-items:center; overflow:hidden; position:relative; box-shadow:var(--shadow-md); }
.account-hero::after { content:""; position:absolute; width:310px; height:310px; border:65px solid rgba(255,255,255,.045); border-radius:50%; right:-100px; top:-150px; }
.account-person { display:flex; gap:16px; align-items:center; position:relative; z-index:1; }
.account-person .avatar { width:64px; height:64px; font-size:18px; background:rgba(255,255,255,.14); }
.account-person h1 { margin:0 0 4px; font-size:30px; letter-spacing:-.04em; }
.account-person p { margin:0; color:rgba(255,255,255,.62); font-size:11px; }
.member-pass { width:104px; height:104px; background:white; border-radius:18px; padding:9px; position:relative; z-index:1; }
#memberQr { width:86px; height:86px; display:block; }
.account-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(310px,.65fr); gap:18px; margin-top:18px; }
.invoice-total { display:flex; justify-content:space-between; align-items:end; gap:20px; padding:18px 0; border-bottom:1px solid var(--line); }
.invoice-total span { color:var(--muted); font-size:11px; }
.invoice-total strong { font-size:34px; letter-spacing:-.045em; }
.transaction-list { display:grid; gap:0; }
.transaction { display:grid; grid-template-columns:38px 1fr auto; gap:11px; align-items:center; padding:13px 0; border-bottom:1px solid var(--line); }
.transaction:last-child { border-bottom:0; }
.transaction-icon { width:36px; height:36px; border-radius:12px; background:var(--surface-2); color:var(--green-700); display:grid; place-items:center; }
.transaction strong, .transaction small { display:block; }
.transaction strong { font-size:11px; }
.transaction small { font-size:9px; color:var(--muted); margin-top:3px; }
.transaction-amount { font-size:11px; font-weight:800; }
.family-list { display:grid; gap:10px; }
.family-member { display:flex; align-items:center; gap:11px; padding:11px; border:1px solid var(--line); border-radius:15px; }
.family-member span:nth-child(2) { flex:1; }
.family-member strong, .family-member small { display:block; }
.family-member strong { font-size:11px; }
.family-member small { font-size:9px; color:var(--muted); }
.toggle-row { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:13px 0; border-bottom:1px solid var(--line); }
.toggle-row:last-child { border-bottom:0; }
.toggle-row strong, .toggle-row small { display:block; }
.toggle-row strong { font-size:11px; }
.toggle-row small { color:var(--muted); font-size:9px; margin-top:3px; }
.switch { width:44px; height:25px; border:0; border-radius:999px; background:#c8ccc9; padding:3px; cursor:pointer; transition:.2s; }
.switch::after { content:""; display:block; width:19px; height:19px; border-radius:50%; background:white; box-shadow:0 2px 7px rgba(0,0,0,.2); transition:.2s; }
.switch.is-on { background:var(--green-600); }
.switch.is-on::after { transform:translateX(19px); }

/* Modal */
.modal-layer { position:fixed; inset:0; z-index:100; background:rgba(3,20,17,.58); backdrop-filter:blur(7px); display:grid; place-items:center; padding:18px; opacity:0; pointer-events:none; transition:.25s; }
.modal-layer.is-open { opacity:1; pointer-events:auto; }
.modal { width:min(720px,100%); max-height:min(90vh,920px); overflow:auto; background:var(--surface); border-radius:28px; box-shadow:var(--shadow-lg); transform:translateY(18px) scale(.98); transition:.28s var(--ease); }
.modal-layer.is-open .modal { transform:none; }
.modal--large { width:min(920px,100%); }
.modal--compact { width:min(520px,100%); }
.modal-head { padding:22px 24px 18px; display:flex; justify-content:space-between; align-items:flex-start; gap:18px; border-bottom:1px solid var(--line); position:sticky; top:0; background:rgba(255,253,248,.94); backdrop-filter:blur(15px); z-index:2; }
.modal-head h2 { margin:4px 0 0; font-size:25px; letter-spacing:-.04em; }
.modal-body { padding:22px 24px 24px; }
.modal-foot { padding:16px 24px 22px; border-top:1px solid var(--line); display:flex; justify-content:flex-end; gap:10px; position:sticky; bottom:0; background:rgba(255,253,248,.96); backdrop-filter:blur(15px); }
.modal-hero { min-height:260px; background:var(--modal-image) center/cover; border-radius:20px; position:relative; overflow:hidden; color:white; padding:22px; display:flex; align-items:end; margin-bottom:18px; }
.modal-hero::before { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(3,20,17,.9),transparent 80%); }
.modal-hero > div { position:relative; z-index:1; }
.modal-hero h2 { margin:5px 0 4px; font-size:34px; letter-spacing:-.045em; }
.modal-hero p { margin:0; color:rgba(255,255,255,.7); }
.detail-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:14px 0; }
.detail-box { background:var(--surface-2); border-radius:14px; padding:13px; }
.detail-box small, .detail-box strong { display:block; }
.detail-box small { color:var(--muted); font-size:8px; text-transform:uppercase; font-weight:800; letter-spacing:.08em; }
.detail-box strong { font-size:11px; margin-top:4px; }
.stepper { display:flex; gap:8px; margin-bottom:18px; }
.stepper span { height:5px; border-radius:999px; flex:1; background:var(--surface-2); }
.stepper span.is-active { background:var(--green-700); }
.slot-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.time-slot { min-height:42px; border:1px solid var(--line); border-radius:12px; background:white; cursor:pointer; font-size:11px; font-weight:800; }
.time-slot:hover, .time-slot.is-selected { background:var(--green-950); color:white; border-color:var(--green-950); }
.time-slot.is-disabled { opacity:.35; text-decoration:line-through; cursor:not-allowed; }
.counter { display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:999px; overflow:hidden; background:white; }
.counter button { width:38px; height:38px; border:0; background:transparent; cursor:pointer; font-size:19px; }
.counter strong { min-width:35px; text-align:center; font-size:12px; }
.player-list { display:grid; gap:10px; margin-top:12px; }
.player-row { display:grid; grid-template-columns:34px 1fr auto; gap:10px; align-items:center; padding:10px; border:1px solid var(--line); border-radius:14px; background:white; }
.player-number { width:31px; height:31px; border-radius:10px; background:var(--green-100); color:var(--green-900); display:grid; place-items:center; font-size:10px; font-weight:800; }
.player-row input { border:0; outline:0; background:transparent; min-width:0; }
.bike-stage { display:grid; gap:13px; }
.instructor-stage { height:38px; border-radius:9px; background:linear-gradient(90deg,var(--green-950),var(--green-700)); color:white; display:grid; place-items:center; font-size:9px; letter-spacing:.13em; font-weight:800; }
.bike-map { display:grid; grid-template-columns:repeat(10,1fr); gap:7px; padding:14px; border-radius:18px; background:var(--surface-2); }
.bike-seat { aspect-ratio:1; border:0; border-radius:8px; background:white; color:var(--green-800); cursor:pointer; font-size:8px; font-weight:800; display:grid; place-items:center; position:relative; }
.bike-seat::after { content:""; width:45%; height:18%; border-radius:999px; background:currentColor; position:absolute; bottom:16%; opacity:.45; }
.bike-seat.is-occupied { background:#d3d6d3; color:#989e9a; cursor:not-allowed; }
.bike-seat.is-selected { background:var(--green-800); color:white; box-shadow:0 0 0 3px rgba(27,95,80,.2); }
.confirmation { text-align:center; padding:14px 0; }
.confirmation-icon { width:74px; height:74px; border-radius:50%; background:var(--green-100); color:var(--success); display:grid; place-items:center; font-size:36px; margin:0 auto 17px; }
.confirmation h2 { margin:0 0 7px; font-size:31px; letter-spacing:-.04em; }
.confirmation p { color:var(--muted); margin:0 auto 20px; max-width:470px; line-height:1.5; }
.confirmation-card { border:1px solid var(--line); border-radius:18px; padding:16px; text-align:left; background:white; margin:0 auto 18px; max-width:500px; }
.calendar-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:9px; }
.star-picker { display:flex; gap:8px; justify-content:center; margin:18px 0; }
.star-picker button { border:0; background:none; font-size:35px; color:#cbc4b3; cursor:pointer; padding:2px; transition:.15s; }
.star-picker button.is-active { color:#c39337; transform:scale(1.08); }

/* Drawers */
.drawer, .concierge-panel {
  position:fixed;
  right:0;
  top:0;
  bottom:0;
  z-index:80;
  width:min(420px,94vw);
  background:var(--surface);
  box-shadow:var(--shadow-lg);
  transform:translateX(105%);
  transition:.32s var(--ease);
  display:flex;
  flex-direction:column;
}
.drawer--wide { width:min(520px,96vw); }
.drawer.is-open, .concierge-panel.is-open { transform:none; }
.drawer-backdrop { position:fixed; inset:0; z-index:70; background:rgba(3,20,17,.45); backdrop-filter:blur(4px); opacity:0; pointer-events:none; transition:.25s; }
.drawer-backdrop.is-open { opacity:1; pointer-events:auto; }
.drawer-head { min-height:80px; padding:16px 18px; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:14px; }
.drawer-head__title { display:flex; align-items:center; gap:12px; }
.drawer-head__title strong, .drawer-head__title small { display:block; }
.drawer-head__title strong { font-size:13px; }
.drawer-head__title small { color:var(--muted); font-size:9px; margin-top:3px; }
.drawer-body { padding:18px; overflow:auto; flex:1; }
.drawer-foot { padding:15px 18px; border-top:1px solid var(--line); background:var(--surface); }
.concierge-fab { position:fixed; right:24px; bottom:24px; z-index:40; min-height:50px; border:0; border-radius:999px; background:var(--green-950); color:white; box-shadow:var(--shadow-lg); padding:0 18px 0 13px; display:flex; align-items:center; gap:8px; cursor:pointer; }
.concierge-fab :is([data-icon],[data-icon-rendered]) { width:30px; height:30px; border-radius:50%; background:linear-gradient(145deg,#dfc991,#2a715f); }
.concierge-fab__label { font-size:11px; font-weight:800; }
.chat-log { flex:1; overflow:auto; padding:18px; display:flex; flex-direction:column; gap:12px; background:linear-gradient(180deg,var(--bg),var(--surface)); }
.chat-message { max-width:82%; padding:11px 13px; border-radius:17px; font-size:11px; line-height:1.5; }
.chat-message--assistant { align-self:flex-start; background:white; border:1px solid var(--line); border-bottom-left-radius:5px; }
.chat-message--user { align-self:flex-end; background:var(--green-900); color:white; border-bottom-right-radius:5px; }
.chat-message button { margin-top:8px; }
.chat-suggestions { padding:10px 14px; display:flex; gap:7px; overflow-x:auto; border-top:1px solid var(--line); }
.chat-suggestions button { white-space:nowrap; min-height:32px; border-radius:999px; border:1px solid var(--line); background:white; padding:0 11px; font-size:9px; font-weight:800; cursor:pointer; }
.chat-composer { margin:0; padding:12px 14px calc(12px + env(safe-area-inset-bottom)); display:flex; gap:8px; border-top:1px solid var(--line); }
.chat-composer input { flex:1; border:1px solid var(--line); border-radius:999px; padding:0 15px; outline:0; min-width:0; }
.chat-composer button { width:42px; height:42px; border-radius:50%; border:0; background:var(--green-950); color:white; cursor:pointer; }
.notification-list { display:grid; gap:10px; }
.notification { padding:13px; border-radius:15px; background:var(--surface-2); display:grid; grid-template-columns:36px 1fr; gap:10px; }
.notification__icon { width:34px; height:34px; border-radius:11px; background:white; color:var(--green-700); display:grid; place-items:center; }
.notification strong, .notification small { display:block; }
.notification strong { font-size:11px; }
.notification small { font-size:9px; color:var(--muted); margin-top:4px; line-height:1.4; }
.cart-items { display:grid; gap:11px; }
.cart-item { display:grid; grid-template-columns:58px 1fr auto; gap:10px; align-items:center; padding:10px; border:1px solid var(--line); border-radius:15px; }
.cart-item img { width:56px; height:56px; border-radius:12px; object-fit:cover; }
.cart-item strong, .cart-item small { display:block; }
.cart-item strong { font-size:11px; }
.cart-item small { color:var(--muted); font-size:9px; margin-top:3px; }
.cart-qty { display:flex; align-items:center; gap:6px; }
.cart-qty button { width:26px; height:26px; border-radius:50%; border:1px solid var(--line); background:white; cursor:pointer; }
.cart-summary { display:grid; gap:8px; margin-top:18px; padding-top:14px; border-top:1px solid var(--line); }
.cart-summary div { display:flex; justify-content:space-between; font-size:11px; }
.cart-summary div:last-child { font-size:15px; font-weight:800; margin-top:5px; }
.more-menu { display:grid; gap:7px; }
.more-menu button { min-height:52px; border:1px solid var(--line); border-radius:15px; background:white; display:flex; align-items:center; gap:12px; padding:0 14px; cursor:pointer; text-align:left; }
.more-menu button :is([data-icon],[data-icon-rendered]) { color:var(--green-700); font-size:19px; }
.more-menu button span:nth-child(2) { flex:1; font-size:11px; font-weight:800; }

/* Toast */
.toast-stack { position:fixed; z-index:150; right:22px; top:22px; display:grid; gap:9px; pointer-events:none; }
.toast { min-width:280px; max-width:380px; background:var(--green-950); color:white; border-radius:15px; padding:13px 14px; box-shadow:var(--shadow-lg); display:grid; grid-template-columns:28px 1fr; gap:9px; align-items:start; animation:toastIn .3s var(--ease); }
.toast--error { background:#692b28; }
.toast strong, .toast small { display:block; }
.toast strong { font-size:11px; }
.toast small { color:rgba(255,255,255,.68); font-size:9px; margin-top:3px; line-height:1.35; }
@keyframes toastIn { from{opacity:0;transform:translateY(-8px) scale(.96)} to{opacity:1;transform:none} }

.mobile-nav { display:none; }

/* Presentation / demo details */
.prototype-label { position:fixed; left:calc(var(--sidebar) + 20px); bottom:14px; z-index:10; font-size:8px; letter-spacing:.1em; font-weight:800; color:rgba(22,32,29,.38); text-transform:uppercase; pointer-events:none; }
.source-note { font-size:9px; color:var(--muted); line-height:1.5; padding:10px 12px; background:var(--surface-2); border-radius:11px; }

@media (max-width: 1180px) {
  :root { --sidebar: 214px; }
  .quick-grid { grid-template-columns: repeat(3,1fr); }
  .facility-grid, .menu-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .instructor-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  :root { --topbar: 70px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .login-screen { grid-template-columns:1fr; min-height:100svh; }
  .login-photo { min-height:32svh; }
  .login-photo::after { left:22px; bottom:18px; font-size:9px; }
  .login-panel { min-height:68svh; padding:28px 22px 20px; border-radius:26px 26px 0 0; margin-top:-24px; position:relative; z-index:2; }
  .brand-logo--login { width:210px; margin:0 auto 25px; }
  .login-panel h1 { font-size:48px; }
  .login-lead { font-size:14px; }
  .login-footer { display:none; }
  .app-shell { display:block; }
  .sidebar { display:none; }
  .app-main { grid-column:auto; }
  .topbar { padding:0 17px; }
  .topbar-title h2 { font-size:20px; }
  .profile-button__copy, .profile-button > :is([data-icon],[data-icon-rendered]) { display:none; }
  .profile-button { width:44px; height:44px; padding:4px; }
  .topbar-actions .icon-btn:first-child { display:none; }
  .page-stage { padding:16px 15px 24px; }
  .mobile-nav { position:fixed; display:grid; grid-template-columns:1fr 1fr 74px 1fr 1fr; left:0; right:0; bottom:0; min-height:70px; padding:6px 8px calc(6px + env(safe-area-inset-bottom)); background:rgba(255,253,248,.94); backdrop-filter:blur(18px); border-top:1px solid var(--line); z-index:50; }
  .mobile-nav__item { border:0; background:transparent; display:grid; place-items:center; align-content:center; gap:3px; color:var(--muted); font-size:8px; font-weight:800; cursor:pointer; }
  .mobile-nav__item :is([data-icon],[data-icon-rendered]) { font-size:21px; }
  .mobile-nav__item.is-active { color:var(--green-800); }
  .mobile-nav__center { width:58px; height:58px; border-radius:50%; border:5px solid var(--bg); background:var(--green-950); color:white; display:grid; place-items:center; font-size:26px; justify-self:center; align-self:start; transform:translateY(-20px); box-shadow:var(--shadow-md); cursor:pointer; }
  .concierge-fab { bottom:calc(86px + env(safe-area-inset-bottom)); right:15px; width:48px; padding:0; justify-content:center; }
  .concierge-fab__label { display:none; }
  .hero { min-height:390px; padding:25px 21px; background-position:55% center; }
  .hero::before { background:linear-gradient(0deg,rgba(4,28,24,.92),rgba(4,28,24,.08) 80%); }
  .hero h1 { font-size:47px; }
  .hero-weather { top:15px; right:15px; }
  .quick-grid { grid-template-columns:repeat(3,1fr); gap:9px; }
  .quick-action { min-height:100px; padding:12px; }
  .home-columns, .feedback-layout, .account-grid { grid-template-columns:1fr; }
  .feature-strip { grid-template-columns:1fr; }
  .feature-card { min-height:230px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns:1fr; }
  .page-heading { display:block; margin-top:2px; }
  .page-heading h1 { font-size:34px; }
  .page-heading .btn { margin-top:14px; }
  .class-card { grid-template-columns:70px 1fr; gap:12px; }
  .class-time { padding-right:10px; }
  .class-capacity { grid-column:1/-1; display:flex; align-items:center; justify-content:flex-end; min-width:0; }
  .facility-grid, .menu-grid, .product-grid, .instructor-grid { grid-template-columns:1fr; }
  .facility-card { min-height:250px; }
  .restaurant-tab { min-width:170px; }
  .feedback-form { padding:18px; }
  .type-grid { grid-template-columns:repeat(3,1fr); }
  .account-hero { grid-template-columns:1fr auto; padding:19px; }
  .account-person h1 { font-size:23px; }
  .member-pass { width:78px; height:78px; padding:7px; }
  #memberQr { width:64px; height:64px; }
  .form-grid { grid-template-columns:1fr; }
  .form-grid .span-2 { grid-column:auto; }
  .slot-grid { grid-template-columns:repeat(3,1fr); }
  .bike-map { gap:4px; padding:10px; }
  .bike-seat { border-radius:5px; font-size:7px; }
  .detail-grid { grid-template-columns:1fr; }
  .modal-layer { padding:0; align-items:end; }
  .modal { width:100%; border-radius:25px 25px 0 0; max-height:92svh; }
  .modal-head { padding:18px; }
  .modal-body { padding:18px; }
  .modal-foot { padding:13px 18px calc(17px + env(safe-area-inset-bottom)); }
  .cart-float { right:14px; bottom:calc(84px + env(safe-area-inset-bottom)); }
  .toast-stack { top:12px; left:12px; right:12px; }
  .toast { min-width:0; max-width:none; }
}

@media (display-mode: standalone) and (max-width: 900px) {
  :root { --standalone-safe-top: max(env(safe-area-inset-top), 22px); --topbar: calc(70px + var(--standalone-safe-top)); }
  .topbar { height:var(--topbar); padding:var(--standalone-safe-top) 17px 0; }
}

@media (max-width: 520px) {
  .topbar-title .eyebrow { font-size:8px; }
  .topbar-title h2 { font-size:18px; }
  .topbar-actions { gap:6px; }
  .icon-btn, .profile-button { width:40px; height:40px; }
  .quick-grid { grid-template-columns:repeat(2,1fr); }
  .hero { min-height:420px; }
  .hero h1 { font-size:42px; }
  .hero-actions .btn { flex:1; }
  .class-card { padding:13px; }
  .class-main h3 { font-size:15px; }
  .slot-grid { grid-template-columns:repeat(2,1fr); }
  .bike-map { grid-template-columns:repeat(10,1fr); gap:3px; padding:7px; }
  .bike-seat { font-size:6px; border-radius:4px; }
  .calendar-actions { display:grid; }
  .calendar-actions .btn { width:100%; }
  .type-grid { grid-template-columns:repeat(2,1fr); }
  .account-person .avatar { width:52px; height:52px; }
}

@media print {
  .sidebar, .topbar, .mobile-nav, .concierge-fab, .cart-float { display:none !important; }
  .app-shell { display:block; }
  .app-main { display:block; }
  .page-stage { padding:0; }
  .page { display:block !important; break-after:page; }
  .card, .hero { box-shadow:none; }
}

/* Complementos del prototipo interactivo */
body.no-scroll { overflow: hidden; }
.source-note { display:flex; align-items:flex-start; gap:8px; }
.source-note > [data-icon-rendered] { color:var(--green-700); font-size:15px; flex:0 0 auto; margin-top:1px; }
.section-block--small { margin-top:14px; }
.section-head--tight { margin-top:22px; margin-bottom:12px; align-items:center; }
.section-head--tight h3 { margin:0; font-size:17px; }
.section-head--tight p { margin:4px 0 0; color:var(--muted); font-size:10px; }
.demo-note { display:flex; align-items:flex-start; gap:9px; padding:13px 15px; border:1px solid rgba(176,138,66,.34); border-radius:15px; background:var(--gold-soft); color:#6e5427; font-size:11px; line-height:1.5; }
.demo-note [data-icon-rendered] { font-size:18px; flex:0 0 auto; }
.compact-copy { font-size:11px; line-height:1.55; }

.store-hero { min-height:190px; margin-bottom:16px; border-radius:25px; padding:25px; background:linear-gradient(135deg,var(--green-950),var(--green-700)); color:white; display:flex; align-items:center; justify-content:space-between; overflow:hidden; position:relative; box-shadow:var(--shadow-sm); }
.store-hero::after { content:""; position:absolute; width:250px; height:250px; border:55px solid rgba(255,255,255,.055); border-radius:50%; right:-75px; top:-100px; }
.store-hero > * { position:relative; z-index:1; }
.store-hero .eyebrow { color:#dfc991; }
.store-hero h2 { font-size:34px; margin:8px 0 4px; letter-spacing:-.045em; }
.store-hero p { margin:0; color:rgba(255,255,255,.65); }
.store-hero__mark { font-size:82px; filter:drop-shadow(0 18px 20px rgba(0,0,0,.2)); transform:rotate(-8deg); }
.store-tabs { margin:0 0 18px; }
.product-tag { position:absolute; left:12px; top:12px; }

.instructor-stage-line { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:12px; }
.instructor-body p { color:var(--muted); font-size:10px; line-height:1.55; }
.rating-line { display:flex; align-items:center; gap:7px; margin:10px 0 13px; font-size:11px; font-weight:800; }
.rating-line .stars { color:#c39337; letter-spacing:1px; }
.rating-line small { color:var(--muted); font-weight:500; }
.review-quote { margin:0 0 16px; padding:11px 13px; border-left:3px solid var(--gold); border-radius:0 11px 11px 0; background:var(--surface-2); color:#55615d; font-size:10px; line-height:1.5; }

.feedback-consent { margin:14px 0; color:var(--muted); font-size:10px; }
.feedback-consent label, .anonymous-check { display:flex; align-items:flex-start; gap:8px; line-height:1.45; }
.feedback-consent input, .anonymous-check input { accent-color:var(--green-700); }

.account-eyebrow { color:#ddc990; }
.paid-state { margin-top:14px; padding:13px; border-radius:14px; background:var(--green-100); color:var(--success); display:flex; align-items:center; gap:9px; font-size:11px; font-weight:800; }
.amount-credit { color:var(--success); }

.source-intro { font-size:11px; line-height:1.6; margin-top:0; }
.schedule-source-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.schedule-source-grid figure { margin:0; padding:10px; border:1px solid var(--line); border-radius:16px; background:white; }
.schedule-source-grid img { width:100%; aspect-ratio:3/4; object-fit:contain; border-radius:10px; background:#eceae3; }
.schedule-source-grid figcaption { padding:9px 3px 2px; font-size:10px; font-weight:800; color:var(--green-900); }

.class-detail-lead { display:flex; align-items:center; gap:11px; padding:14px; border-radius:16px; background:var(--surface-2); }
.class-detail-lead strong, .class-detail-lead small { display:block; }
.class-detail-lead strong { font-size:12px; }
.class-detail-lead small { color:var(--muted); font-size:9px; margin-top:3px; }
.facility-icon--dark { color:white; background:var(--green-800); }
.detail-callout, .booking-rule { margin-top:17px; padding:13px 14px; border-radius:14px; display:flex; align-items:flex-start; gap:8px; background:var(--green-100); color:var(--green-900); font-size:10px; line-height:1.5; }
.booking-rule { background:var(--gold-soft); color:#765a27; }
.fixed-party { min-height:48px; padding:0 14px; border:1px solid var(--line); border-radius:14px; background:white; display:flex; align-items:center; gap:9px; font-size:11px; }
.fixed-party strong { font-size:18px; }
.bike-legend { display:flex; justify-content:center; flex-wrap:wrap; gap:12px; color:var(--muted); font-size:8px; }
.bike-legend span { display:flex; align-items:center; gap:5px; }
.bike-legend i { width:11px; height:11px; border-radius:3px; display:inline-block; }
.legend-free { background:white; border:1px solid var(--line); }
.legend-selected { background:var(--green-800); }
.legend-occupied { background:#d3d6d3; }
.player-summary { display:flex; align-items:center; gap:7px; margin-top:10px; color:var(--muted); font-size:10px; }
.reservation-people { margin-top:14px; box-shadow:none; }
.cancel-icon { background:#f3dddb; color:var(--danger); }
.waitlist-icon { background:var(--gold-soft); color:var(--warning); }

.rating-profile { text-align:center; }
.rating-profile h3 { margin:12px 0 4px; font-size:22px; }
.rating-profile p { margin:0; color:var(--muted); font-size:11px; }
.rating-avatar { position:static; margin:0 auto; border-color:white; }
.rating-label { text-align:center; font-size:12px; font-weight:800; color:var(--green-800); margin:-8px 0 18px; }
.anonymous-check { margin:14px 0; color:var(--muted); font-size:10px; }

.balance-payment { text-align:center; padding:14px 0 24px; }
.balance-payment span, .balance-payment strong, .balance-payment small { display:block; }
.balance-payment span { color:var(--muted); font-size:10px; }
.balance-payment strong { font-size:44px; letter-spacing:-.05em; margin:4px 0; }
.balance-payment small { color:var(--warning); font-size:9px; }
.payment-option { min-height:60px; border:1px solid var(--line); border-radius:15px; padding:10px 12px; display:flex; align-items:center; gap:10px; cursor:pointer; background:white; }
.payment-option + .payment-option { margin-top:8px; }
.payment-option.is-selected, .payment-option:has(input:checked) { border-color:var(--green-700); background:var(--green-100); }
.payment-option input { width:auto; accent-color:var(--green-700); }
.payment-option [data-icon-rendered] { color:var(--green-700); font-size:20px; }
.payment-option span { flex:1; }
.payment-option strong, .payment-option small { display:block; }
.payment-option strong { font-size:11px; }
.payment-option small { color:var(--muted); font-size:9px; margin-top:3px; }
.statement-brand { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-bottom:17px; border-bottom:1px solid var(--line); }
.statement-brand img { width:180px; }
.statement-brand strong, .statement-brand small { display:block; text-align:right; }
.statement-brand strong { font-size:12px; }
.statement-brand small { font-size:9px; color:var(--muted); margin-top:3px; }

.contact-options { display:grid; gap:10px; }
.contact-option { min-height:66px; border:1px solid var(--line); border-radius:16px; background:white; padding:11px 14px; display:flex; align-items:center; gap:12px; cursor:pointer; text-align:left; }
.contact-option > [data-icon-rendered] { width:38px; height:38px; border-radius:12px; background:var(--green-100); color:var(--green-800); display:grid; place-items:center; font-size:19px; }
.contact-option span { flex:1; }
.contact-option strong, .contact-option small { display:block; }
.contact-option strong { font-size:11px; }
.contact-option small { color:var(--muted); font-size:9px; margin-top:3px; }

.global-search-results { display:grid; gap:7px; margin-top:14px; max-height:52vh; overflow:auto; }
.search-result { min-height:58px; border:1px solid var(--line); border-radius:15px; background:white; padding:9px 12px; display:grid; grid-template-columns:38px 1fr auto; align-items:center; gap:10px; cursor:pointer; text-align:left; }
.search-result:hover { border-color:var(--green-700); background:var(--green-100); }
.search-result__icon { width:36px; height:36px; border-radius:11px; background:var(--surface-2); color:var(--green-700); display:grid; place-items:center; font-size:18px; }
.search-result strong, .search-result small { display:block; }
.search-result strong { font-size:11px; }
.search-result small { color:var(--muted); font-size:9px; margin-top:3px; }

.cart-emoji { width:56px; height:56px; border-radius:12px; display:grid; place-items:center; background:var(--surface-2); font-size:27px; }
.cart-float { position:fixed; right:22px; bottom:22px; z-index:55; min-height:50px; border:0; border-radius:999px; padding:0 8px 0 17px; background:var(--green-950); color:white; box-shadow:var(--shadow-md); display:flex; align-items:center; gap:8px; cursor:pointer; font-size:11px; font-weight:800; }
.cart-float__count { width:34px; height:34px; border-radius:50%; background:var(--gold); display:grid; place-items:center; }

@media (max-width:900px) {
  .schedule-source-grid { grid-template-columns:1fr; }
  .store-hero { min-height:165px; }
  .store-hero__mark { font-size:58px; }
  .instructor-stage-line { display:block; }
  .instructor-stage-line .badge { margin-top:8px; }
  .statement-brand { align-items:flex-start; }
  .statement-brand img { width:130px; }
}

@media (max-width:520px) {
  .store-hero h2 { font-size:27px; }
  .store-hero__mark { font-size:46px; }
  .schedule-source-grid figure { padding:6px; }
  .statement-brand { display:block; }
  .statement-brand strong, .statement-brand small { text-align:left; margin-top:10px; }
}

/* Eventos y experiencias */
.event-feature {
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: end;
  padding: 30px;
  color: white;
  background:
    linear-gradient(90deg, rgba(4,31,27,.94) 0%, rgba(4,31,27,.72) 46%, rgba(4,31,27,.08) 78%),
    var(--event-image) center/cover no-repeat;
  box-shadow: var(--shadow-md);
}
.event-feature::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(0,0,0,.28),transparent 56%);
  pointer-events:none;
}
.event-feature__content { position:relative; z-index:1; max-width:620px; }
.event-feature h2 { margin:13px 0 9px; font-size:42px; letter-spacing:-.045em; line-height:1.02; }
.event-feature p { margin:0; max-width:560px; color:rgba(255,255,255,.76); line-height:1.55; font-size:12px; }
.event-feature__facts { display:flex; flex-wrap:wrap; gap:10px 18px; margin:19px 0; color:rgba(255,255,255,.82); font-size:10px; font-weight:700; }
.event-feature__facts span { display:flex; align-items:center; gap:6px; }
.event-feature__facts [data-icon-rendered] { color:#e0c47f; font-size:16px; }
.event-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.event-card { border:1px solid var(--line); border-radius:22px; overflow:hidden; background:white; box-shadow:var(--shadow-xs); transition:.25s var(--ease); }
.event-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); }
.event-card__visual { min-height:168px; padding:15px; display:flex; align-items:flex-start; justify-content:space-between; background:linear-gradient(0deg,rgba(5,31,27,.25),rgba(5,31,27,.03)),var(--event-image) center/cover no-repeat; }
.event-card__date { width:54px; height:62px; border-radius:15px; background:rgba(255,255,255,.94); display:grid; place-items:center; align-content:center; box-shadow:0 10px 30px rgba(0,0,0,.18); color:var(--green-950); }
.event-card__date span { font-size:8px; letter-spacing:.12em; font-weight:900; color:var(--gold-700); }
.event-card__date strong { font-size:24px; line-height:1; margin-top:2px; }
.event-card__body { padding:17px; }
.event-card__status { display:flex; justify-content:space-between; gap:8px; margin-bottom:8px; color:var(--green-700); font-size:8px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.event-card__status small { color:var(--muted); font-weight:600; letter-spacing:0; text-transform:none; }
.event-card h3 { margin:0 0 7px; font-size:18px; letter-spacing:-.025em; }
.event-card p { min-height:46px; margin:0; color:var(--muted); font-size:10px; line-height:1.5; }
.event-card__meta { display:grid; gap:6px; margin:14px 0; color:#58645f; font-size:9px; }
.event-card__meta span { display:flex; align-items:center; gap:6px; }
.event-card__meta [data-icon-rendered] { color:var(--green-700); font-size:14px; }
.event-registration-list { display:grid; gap:9px; }
.event-registration { min-height:66px; display:grid; grid-template-columns:42px 1fr auto; align-items:center; gap:11px; padding:9px 0; border-bottom:1px solid var(--line); }
.event-registration:last-child { border-bottom:0; }
.event-registration__icon { width:40px; height:40px; border-radius:13px; background:var(--green-100); color:var(--green-800); display:grid; place-items:center; font-size:19px; }
.event-registration strong,.event-registration small { display:block; }
.event-registration strong { font-size:11px; }
.event-registration small { margin-top:4px; color:var(--muted); font-size:9px; }
.event-detail-hero { min-height:220px; border-radius:20px; padding:17px; display:flex; align-items:flex-start; justify-content:flex-end; background:linear-gradient(0deg,rgba(4,31,27,.25),rgba(4,31,27,.02)),var(--event-image) center/cover no-repeat; margin-bottom:18px; }
.event-detail-copy { color:var(--muted); font-size:11px; line-height:1.6; margin:18px 0 12px; }
.event-detail-list { display:flex; flex-wrap:wrap; gap:8px; }
.event-detail-list span { display:flex; align-items:center; gap:6px; padding:8px 10px; border-radius:999px; background:var(--surface-2); color:var(--green-900); font-size:9px; font-weight:750; }
.event-detail-list [data-icon-rendered] { color:var(--success); font-size:14px; }

@media (max-width:1180px) {
  .event-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:900px) {
  .event-feature { min-height:390px; padding:23px 20px; background:linear-gradient(0deg,rgba(4,31,27,.96) 0%,rgba(4,31,27,.45) 65%,rgba(4,31,27,.08) 100%),var(--event-image) center/cover no-repeat; }
  .event-feature h2 { font-size:38px; }
  .event-grid { grid-template-columns:1fr; }
}
@media (max-width:520px) {
  .event-feature { min-height:420px; }
  .event-feature h2 { font-size:34px; }
  .event-feature__facts { display:grid; }
  .event-registration { grid-template-columns:38px 1fr; }
  .event-registration .btn { grid-column:1/-1; width:100%; }
  .event-detail-hero { min-height:170px; }
}
