:root {
  --bg: #f6f2eb;
  --bg-soft: #efe7dc;
  --surface: #ffffff;
  --surface-soft: #fcfaf7;
  --ink: #231c18;
  --muted: #6d6259;
  --line: rgba(71, 56, 45, 0.12);
  --line-strong: rgba(71, 56, 45, 0.18);
  --gold: #b98755;
  --gold-strong: #996b3f;
  --gold-soft: #ecdcc8;
  --navy: #223647;
  --navy-strong: #182631;
  --danger: #b34747;
  --warning: #8e6a40;
  --success: #256b49;
  --shadow-xl: 0 28px 70px rgba(35, 25, 16, 0.14);
  --shadow-lg: 0 18px 44px rgba(35, 25, 16, 0.1);
  --shadow-md: 0 12px 28px rgba(35, 25, 16, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1420px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(236, 220, 200, 0.45), transparent 38%),
    linear-gradient(180deg, #fbf8f3 0%, #f3ece3 100%);
}

body.is-authenticated {
  background: linear-gradient(180deg, #faf7f2 0%, #f0e8de 100%);
}

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

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

iframe {
  border: 0;
}

.hidden,
[hidden] {
  display: none !important;
}

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

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

:where(a, button, input):focus-visible {
  outline: 3px solid rgba(185, 135, 85, 0.42);
  outline-offset: 3px;
}

.toast {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(24, 38, 49, 0.96);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 140;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.hero-shell {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #111;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(18, 17, 15, 0.68), rgba(34, 54, 71, 0.62)), url('../images/anzio-porto-tramonto-hq.jpg');
  background-size: cover;
  background-position: center 38%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 16px 0 70px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 36px rgba(8, 10, 12, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.brand-title {
  display: block;
  font-size: 1.12rem;
  font-weight: 800;
}

.brand-subtitle {
  display: block;
  margin-top: 2px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.84);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.lang-btn {
  min-width: 52px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
}

.top-cta {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 24px;
  align-items: stretch;
  padding-top: 26px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 3vw, 36px) 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.95rem;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 18px 0 16px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.hero-copy p {
  margin: 0;
  max-width: 58ch;
  font-size: 1.12rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.btn,
.nav-link,
.action-chip,
.launcher-card,
.mini-support-link,
.secondary-link {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.nav-link:hover,
.action-chip:hover,
.launcher-card:hover,
.mini-support-link:hover,
.secondary-link:hover {
  transform: translateY(-1px);
}

.btn {
  min-height: 56px;
  padding: 0 20px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 800;
}

.btn-inline {
  min-height: 50px;
}

.btn-small {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #d5ab7a);
  color: #fff;
  box-shadow: 0 18px 32px rgba(185, 135, 85, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.btn-surface {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.preview-card,
.surface-card,
.detail-card,
.suggestion-card,
.note-mini-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,243,236,0.96));
  border: 1px solid rgba(255,255,255,0.76);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.hero-preview {
  display: grid;
  gap: 16px;
  align-content: end;
}

.preview-card {
  padding: 22px;
  color: var(--ink);
}

.preview-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.preview-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.access-wrap {
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

.access-layout {
  display: grid;
  gap: 16px;
}

.access-card,
.session-card {
  padding: clamp(22px, 3vw, 30px);
}

.aura-guest-card {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 2.5vw, 28px);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(185, 135, 85, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 241, 233, 0.96));
  border: 1px solid rgba(185, 135, 85, 0.18);
  box-shadow: var(--shadow-lg);
}

.aura-guest-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.aura-guest-title {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 2.2vw, 2.15rem);
  color: var(--navy);
}

.aura-guest-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(34, 54, 71, 0.08);
  color: var(--navy);
  font-weight: 800;
  text-align: center;
}

.aura-guest-intro {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.aura-guest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
}

.aura-guest-code-panel,
.aura-benefit-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(71, 56, 45, 0.1);
}

.aura-guest-label,
.aura-benefit-label,
.aura-guest-fineprint-title {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.aura-guest-code {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--navy);
  word-break: break-word;
}

.aura-guest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.aura-guest-actions .btn {
  flex: 1 1 180px;
}

.aura-guest-actions .btn[disabled] {
  opacity: 0.55;
  box-shadow: none;
}

.aura-guest-benefits {
  display: grid;
  gap: 14px;
}

.aura-benefit-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.55;
}

.aura-benefit-card.is-highlight {
  background: linear-gradient(180deg, rgba(34, 54, 71, 0.96), rgba(24, 38, 49, 0.96));
  border-color: rgba(34, 54, 71, 0.3);
  box-shadow: 0 18px 32px rgba(24, 38, 49, 0.22);
}

.aura-benefit-card.is-highlight .aura-benefit-label,
.aura-benefit-card.is-highlight strong {
  color: #fff;
}

.aura-guest-fineprint {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(71, 56, 45, 0.08);
}

.aura-guest-fineprint-title {
  margin-bottom: 8px;
}

.aura-guest-fineprint ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.section-kicker,
.screen-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--gold-strong);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.08;
}

.muted-text {
  color: var(--muted);
  line-height: 1.65;
}

.auth-grid,
.auth-actions,
.inline-actions,
.quick-actions,
.compact-actions,
.secondary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 700;
}

.input-shell {
  position: relative;
}

.field-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.input-shell input {
  width: 100%;
  min-height: 58px;
  padding: 0 16px 0 46px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(255,255,255,0.98);
}

.auth-actions {
  margin-top: 18px;
}

.auth-status {
  min-height: 1.4em;
  margin-top: 12px;
  font-weight: 700;
}

.auth-status.success { color: var(--success); }
.auth-status.error { color: var(--danger); }
.auth-status.warning { color: var(--warning); }

.session-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.session-title {
  font-size: 1.28rem;
  font-weight: 800;
}

.stay-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill,
.phase-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
}

.pill {
  background: var(--gold-soft);
  color: #785837;
}

.pill.is-phase,
.phase-badge {
  background: rgba(34, 54, 71, 0.08);
  color: var(--navy);
}

.dashboard-shell {
  padding: 10px 0 110px;
}

.app-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: start;
}

.app-sidebar,
.app-aside {
  padding: 18px;
  position: sticky;
  top: 18px;
}

.sidebar-head {
  margin-bottom: 14px;
}

.side-title {
  font-size: 1.4rem;
}

.app-nav,
.bottom-nav {
  display: grid;
  gap: 10px;
}

.nav-link {
  min-height: 58px;
  width: 100%;
  padding: 0 16px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(35, 28, 24, 0.08);
  color: var(--muted);
  font-weight: 800;
  box-shadow: var(--shadow-md);
  text-align: left;
}

.nav-link i {
  width: 20px;
  text-align: center;
  color: var(--gold-strong);
}

.nav-link.active {
  background: linear-gradient(135deg, rgba(185, 135, 85, 0.16), rgba(255,255,255,0.98));
  border-color: rgba(185, 135, 85, 0.34);
  color: var(--ink);
}

.app-main {
  min-width: 0;
}

.screen-panel {
  padding: clamp(22px, 3vw, 30px);
  min-height: 640px;
}

.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.home-header-clean {
  margin-bottom: 22px;
}

.screen-hello {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.02;
}

.screen-subline {
  margin-top: 8px;
  color: var(--muted);
  font-size: 1rem;
}

.home-question,
.screen-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.home-core {
  display: grid;
  gap: 16px;
}

.home-intro,
.home-stay-hint {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 62ch;
}

.home-stay-hint {
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,238,229,0.94));
  border: 1px solid rgba(185, 135, 85, 0.18);
  color: var(--ink);
  font-weight: 700;
}

.launcher-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-grid-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.launcher-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.launcher-card {
  min-height: 128px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,238,229,0.94));
  border: 1px solid rgba(185, 135, 85, 0.18);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  text-align: left;
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--ink);
}

.launcher-emoji {
  font-size: 2rem;
  line-height: 1;
}

.suggestions-box {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

body.phase-aura-only .app-sidebar,
body.phase-aura-only .app-aside,
body.phase-aura-only .bottom-nav-wrap,
body.phase-aura-only #homePrimaryActions,
body.phase-aura-only .suggestions-box {
  display: none !important;
}

body.phase-aura-only .app-layout {
  grid-template-columns: minmax(0, 1fr);
}

body.phase-aura-only .home-core {
  gap: 12px;
}

body.phase-aura-only .aura-guest-card {
  gap: 16px;
  padding: clamp(22px, 3vw, 30px);
}

.suggestions-box h3 {
  font-size: 1.2rem;
}

.suggestions-list {
  display: grid;
  gap: 12px;
}

.suggestion-card {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.suggestion-copy strong {
  display: block;
  font-size: 1.04rem;
}

.suggestion-copy span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.mini-support-link,
.secondary-link,
.action-chip {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.95);
  font-weight: 700;
}

.action-chip.whatsapp,
.mini-support-link {
  background: #effaf3;
  border-color: rgba(37, 107, 73, 0.18);
  color: #175a3a;
}

.chooser-screen,
.detail-screen {
  display: block;
}

.detail-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.detail-card {
  padding: 20px;
  display: grid;
  gap: 16px;
}

.detail-card h3 {
  margin: 0;
  font-size: 1.4rem;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.info-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.info-list li::marker {
  color: var(--gold-strong);
}

.rules-essentials,
.rules-full,
.smart-lock-card {
  display: grid;
  gap: 14px;
}

.rules-essentials {
  gap: 10px;
}

.rule-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,241,233,0.94));
  border: 1px solid rgba(35, 28, 24, 0.08);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
}

.rule-symbol {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(185, 135, 85, 0.12);
}

.rules-toggle {
  justify-self: flex-start;
  margin-top: 2px;
}

.rules-full {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(35, 28, 24, 0.08);
}

.rules-full h4,
.smart-lock-card h4 {
  margin: 0;
  font-size: 1.05rem;
}

.smart-lock-card {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,251,245,0.98), rgba(244,236,226,0.96));
  border: 1px solid rgba(185, 135, 85, 0.22);
  box-shadow: var(--shadow-md);
}

.smart-lock-open {
  width: min(100%, 320px);
}

.smart-lock-modal {
  z-index: 150;
}

.smart-lock-modal .modal-backdrop {
  cursor: pointer;
}

.smart-lock-modal-card {
  width: min(calc(100% - 24px), 820px);
  margin-top: 4vh;
  padding: 18px;
}

.smart-lock-modal-body {
  margin-top: 14px;
}

.smart-lock-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(35, 28, 24, 0.08);
}

.smart-lock-figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.do-dont-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.do-dont-item {
  min-height: 96px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(35, 28, 24, 0.08);
  display: grid;
  align-content: center;
  gap: 8px;
  font-weight: 700;
  line-height: 1.4;
}

.do-dont-item strong {
  font-size: 1.4rem;
  line-height: 1;
}

.do-dont-item.is-ok {
  background: rgba(37, 107, 73, 0.08);
  color: #1c5d3d;
}

.do-dont-item.is-bad {
  background: rgba(179, 71, 71, 0.08);
  color: #7f3636;
}

.discover-card-stack,
.place-stack,
.link-stack,
.utility-stack {
  display: grid;
  gap: 14px;
}

.discover-place-card {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,241,233,0.96));
  border: 1px solid rgba(35, 28, 24, 0.08);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 12px;
}

.discover-place-card h4 {
  margin: 0;
  font-size: 1.08rem;
}

.discover-place-badge {
  justify-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(185, 135, 85, 0.14);
  color: var(--gold-strong);
  font-size: 0.85rem;
  font-weight: 800;
}

.discover-why {
  color: var(--muted) !important;
  line-height: 1.55;
}

.discover-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.discover-meta-item {
  padding: 12px 12px 10px;
  border-radius: 16px;
  background: rgba(34, 54, 71, 0.05);
  border: 1px solid rgba(34, 54, 71, 0.07);
  display: grid;
  gap: 4px;
}

.discover-meta-item span {
  color: var(--muted);
  font-size: 0.84rem;
}

.discover-meta-item strong {
  font-size: 0.96rem;
}

.discover-events-entry {
  margin-top: 2px;
}

.discover-event-detail-card {
  gap: 14px;
}

.discover-meta-single {
  grid-template-columns: 1fr;
}

.place-card,
.link-card,
.utility-card,
.wifi-box,
.note-mini-card {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,241,233,0.96));
  border: 1px solid rgba(35, 28, 24, 0.08);
  box-shadow: var(--shadow-md);
}

.place-head,
.wifi-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.place-head h4,
.link-card h4,
.utility-card h4,
.wifi-box h4,
.note-mini-card h4 {
  margin: 0;
  font-size: 1.05rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(34, 54, 71, 0.08);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
}

.wifi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wifi-label {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.wifi-value {
  display: block;
  font-size: 1.14rem;
  font-weight: 800;
  word-break: break-word;
}

.compact-stay {
  display: grid;
  gap: 10px;
}

.compact-stay strong {
  font-size: 1.08rem;
}

.compact-stay span:not(.pill) {
  color: var(--muted);
}

.compact-actions {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.bottom-nav-wrap {
  display: none;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: min(calc(100% - 16px), 920px);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(35, 28, 24, 0.08);
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(35, 25, 16, 0.18);
  backdrop-filter: blur(16px);
  z-index: 90;
}

.bottom-nav .nav-link {
  min-height: 66px;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border-radius: 18px;
  font-size: 0.84rem;
  text-align: center;
  box-shadow: none;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 130;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 21, 0.58);
}

.modal-card {
  position: relative;
  width: min(calc(100% - 24px), 560px);
  margin: 10vh auto 0;
  padding: 22px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.modal-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(34, 54, 71, 0.08);
  font-size: 1.3rem;
}

.modal-body {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.mobile-only {
  display: none;
}

@media (max-width: 1240px) {
  .app-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .app-aside {
    display: none;
  }
}

@media (max-width: 960px) {
  .hero-stage,
  .auth-grid,
  .home-grid-4,
  .launcher-grid,
  .wifi-grid,
  .preview-grid,
  .aura-guest-grid {
    grid-template-columns: 1fr;
  }

  .app-layout {
    grid-template-columns: 1fr;
  }

  .desktop-only {
    display: none !important;
  }

  .bottom-nav-wrap {
    display: block;
  }

  .bottom-nav {
    display: grid;
  }

  .mobile-only {
    display: inline-flex;
  }

  .screen-panel {
    min-height: auto;
  }

  .dashboard-shell {
    padding-bottom: 130px;
  }

  .screen-hello {
    max-width: 12ch;
  }

  .screen-header {
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .hero-inner {
    padding-top: 10px;
    padding-bottom: 54px;
  }

  .topbar {
    padding: 12px;
    border-radius: 18px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand-title {
    font-size: 1rem;
  }

  .brand-subtitle {
    font-size: 0.9rem;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .lang-btn,
  .top-cta {
    min-height: 44px;
  }

  .hero-copy h1 {
    max-width: 10ch;
  }

  .hero-copy p {
    font-size: 1.02rem;
    line-height: 1.62;
  }

  .preview-card,
  .access-card,
  .session-card,
  .screen-panel,
  .modal-card {
    border-radius: 24px;
  }

  .launcher-card {
    min-height: 112px;
    font-size: 1.1rem;
  }

  .auth-actions,
  .inline-actions,
  .detail-toolbar,
  .do-dont-grid,
  .discover-meta,
  .discover-meta-single,
  .aura-guest-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rule-row {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 13px 14px;
  }

  .rule-symbol {
    width: 38px;
    height: 38px;
  }

  .smart-lock-modal-card {
    width: min(calc(100% - 16px), 820px);
    margin-top: 3vh;
    padding: 16px;
  }

  .btn,
  .mini-support-link,
  .action-chip,
  .secondary-link {
    width: 100%;
  }

  .suggestion-card,
  .place-head,
  .screen-header,
  .session-top,
  .aura-guest-head {
    flex-direction: column;
    align-items: stretch;
  }

  .bottom-nav .nav-link {
    min-height: 62px;
    font-size: 0.8rem;
  }
}
