:root{
  /* Palette (снята с твоих картинок: тёплый беж/дерево + красный акцент) */
  --bg: #f6f1e6;           /* общий фон */
  --bg2:#efe6d6;           /* подложки/градиенты */
  --panel:#ffffff;         /* карточки */
  --panel2:#fbf6ec;        /* вторичный слой */
  --stroke: rgba(80, 45, 20, .12);
  --stroke2: rgba(80, 45, 20, .18);

  --text:#1c1712;
  --muted: rgba(28, 23, 18, .62);

  --accent:#d02010;        /* красный из лого */
  --accent2:#ff4a2a;       /* подсветка/градиент */
  --green:#1f9d63;
  --warn:#b07a2a;

  --r: 16px;
  --r2: 22px;
  --shadow: 0 14px 44px rgba(35, 22, 10, .12);
  --shadow2: 0 10px 26px rgba(35, 22, 10, .10);

  --container: 860px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 480px at 20% -10%, rgba(208,32,16,.10), transparent 55%),
    radial-gradient(900px 520px at 95% 0%, rgba(31,157,99,.08), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bg-glow{
  position: fixed;
  inset:-35vh -35vw auto -35vw;
  height: 65vh;
  background:
    radial-gradient(closest-side, rgba(208,32,16,.14), transparent 70%),
    radial-gradient(closest-side, rgba(31,157,99,.10), transparent 70%);
  filter: blur(24px);
  pointer-events:none;
  z-index:0;
}

.container{
  position:relative;
  z-index:1;
  padding: 14px 14px 98px;
  max-width: var(--container);
  margin: 0 auto;
}

.safe-area{height: max(18px, env(safe-area-inset-bottom));}

a{color:inherit}
.muted{color:var(--muted); font-size:13px; line-height:1.45}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace}

.card{
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border: 1px solid var(--stroke);
  border-radius: var(--r2);
  box-shadow: var(--shadow);
  padding: 16px;
}

.mt8{margin-top:8px}
.mt12{margin-top:12px}
.mt16{margin-top:16px}

/* ===== Topbar ===== */
.topbar{
  position: sticky;
  top:0;
  z-index:10;
  padding: 12px 14px 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background: rgba(246, 241, 230, .72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(80,45,20,.10);
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand__dot{
  width:10px;height:10px;border-radius:50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(208,32,16,.10);
}
.brand__name{
  font-weight: 900;
  letter-spacing: .2px;
}
.brand__sub{
  margin-top:4px;
  font-size:12px;
  color: var(--muted);
}

.brand__logo{
  width:22px;height:22px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(35,22,10,.10);
}

/* ===== Chips ===== */
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.55);
  font-size: 12px;
  color: rgba(28,23,18,.80);
}
.chip__dot{width:7px;height:7px;border-radius:50%;background: rgba(28,23,18,.30)}
.chip--ghost{background: rgba(255,255,255,.38)}
.chip--accent{
  background: rgba(208,32,16,.10);
  border-color: rgba(208,32,16,.22);
  color: var(--text);
}
.chip--ok{
  background: rgba(31,157,99,.10);
  border-color: rgba(31,157,99,.22);
}
.chip--warn{
  background: rgba(176,122,42,.10);
  border-color: rgba(176,122,42,.20);
}

/* ===== Bottom nav ===== */
.nav{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  z-index: 20;
  width: min(760px, calc(100% - 22px));
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(80,45,20,.12);
  border-radius: 24px;
  box-shadow: var(--shadow);
  display:flex;
  justify-content: space-around;
  padding: 10px 10px;
  backdrop-filter: blur(10px);
}
.nav__item{
  text-decoration:none;
  color: rgba(28,23,18,.65);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 4px;
  padding: 7px 12px;
  border-radius: 16px;
  min-width: 88px;
}
.nav__icon{font-size:18px;line-height:1}
.nav__label{font-size:12px}
.nav__item--active{
  color: var(--text);
  background: rgba(208,32,16,.10);
  border: 1px solid rgba(208,32,16,.20);
}

/* ===== Hero ===== */
.hero__card{
  border-radius: 28px;
  padding: 18px 16px;
  background:
    radial-gradient(1100px 340px at 10% -10%, rgba(208,32,16,.16), transparent 60%),
    radial-gradient(900px 320px at 92% 0%, rgba(31,157,99,.10), transparent 55%),
    linear-gradient(180deg, var(--panel), var(--panel2));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}
.hero__kicker{
  font-weight: 800;
  letter-spacing: .5px;
  color: rgba(28,23,18,.74);
  font-size: 12px;
  text-transform: uppercase;
}
.hero__title{
  margin: 10px 0 8px;
  font-size: 34px;
  line-height: 1.03;
  letter-spacing: -0.6px;
}
.hero__sub{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* ===== Sections ===== */
.section{margin-top: 14px}
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px
}
.section__title{font-size:16px;font-weight:900}
.section__meta{font-size:12px;color:var(--muted);margin-top:4px}

/* ===== Grid ===== */
.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 760px){
  .grid{grid-template-columns: 1fr 1fr;}
}

/* ===== Table cards ===== */
.table-card{padding: 16px}
.table-card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px
}
.table-card__badge{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 900;
}
.dot{width:10px;height:10px;border-radius:50%}
.dot--green{background: var(--green); box-shadow: 0 0 0 6px rgba(31,157,99,.10)}
.dot--red{background: var(--accent); box-shadow: 0 0 0 6px rgba(208,32,16,.10)}

.table-card__img{
  height: 162px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  overflow:hidden;
  position:relative;
  background:
    linear-gradient(135deg, rgba(192,160,112,.55), rgba(112,80,48,.30));
}

.table-card__img-inner{
  position:absolute; inset:0;
  /* “дерево/стена” в духе изометрии */
  background:
    radial-gradient(220px 160px at 70% 20%, rgba(255,255,255,.40), transparent 60%),
    radial-gradient(220px 180px at 20% 60%, rgba(208,176,144,.60), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0));
}

/* Если положишь картинку помещения в /static/room.png — будет вообще топ */
.table-card__img-inner.has-room{
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,0)),
    url("/static/room.png");
  background-size: cover;
  background-position: center;
}

.table-card__img-overlay{
  position:absolute; inset:0;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  padding: 12px;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.35));
}

.table-card__price{
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  text-shadow: 0 8px 20px rgba(0,0,0,.28);
}
.table-card__price span{
  font-weight: 700;
  font-size: 12px;
  color: rgba(255,255,255,.82);
}

.table-card__actions{margin-top: 12px}
.table-card__hint{
  margin-top:10px;
  color: rgba(28,23,18,.55);
  font-size:12px;
  line-height:1.35;
}

/* ===== Buttons ===== */
.btn{
  appearance:none;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 12px 14px;
  font-weight: 900;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  transition: transform .08s ease, box-shadow .12s ease, filter .12s ease;
}
.btn--full{width:100%}

.btn--primary{
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 12px 26px rgba(208,32,16,.18);
}
.btn--primary:hover{filter: brightness(1.02)}
.btn:active{transform: translateY(1px)}

/* ===== Session blocks (оставил совместимо, если используешь) ===== */
.session-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px
}
.session-title{font-size:22px;font-weight:900}
.session-sub{margin-top:4px;color:var(--muted);font-size:12px}

.pill{
  display:inline-flex;align-items:center;gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.50);
  color: rgba(28,23,18,.70);
  font-size: 12px;
}
.pill__dot{width:8px;height:8px;border-radius:50%;background: rgba(28,23,18,.30)}
.pill--on{
  color: var(--text);
  background: rgba(31,157,99,.10);
  border-color: rgba(31,157,99,.22);
}
.pill--on .pill__dot{background: var(--green); box-shadow: 0 0 0 6px rgba(31,157,99,.10)}