/* Базовые переменные и сброс */
:root{
  --bg:#ffffff;
  --text:#222;
  --accent:#FF9800;
  --muted:#6b7280;
  --container:1100px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:var(--text);
  background:var(--bg);
  line-height:1.45;
}
.container{max-width:var(--container);margin:0 auto;padding:0 1rem}

.top-header {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}
.top-header-image {
  position: absolute;
  top: -70%;
  left: -10%;
  width: 125%;
  min-width: 1024px;
  transform: skew(-20deg,-10deg);
  filter: blur(5px);
}
.top-menu {
  background-color: rgba(253, 253, 253, 0.19);
  backdrop-filter: blur(4px);
  box-shadow: rgba(51, 51, 51, 0.133) 0px 4px 4px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 64px;
}
.flex-space {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}
.logo {
  text-decoration:none;
  font-weight:700;
  color: var(--accent);
  display: flex;
}
.logo-main {
  font-size: 36px;
}

.slider {
  width: 100%;
  position: absolute;
  top: 64px;
  left: 0;
  padding: 8px 0;
}

.broni-list {
  display: flex;
  flex-direction: column;
}

.background-text {
  width: fit-content;
  background-color: rgba(253, 253, 253, 0.19);
  backdrop-filter: blur(4px);
  box-sizing: border-box;
  font-size: 32px;
  padding: 8px 32px;
  margin-left: -32px;
}

.tongue {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 32px;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  background-color: #f8fbff;
}

.net {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.net .image_cel {
  overflow: hidden;
  max-width: 100%;
  height: 256px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.text_cel {
  display: flex;
  align-items: center;
  padding: 0 33%;
  font-weight: 600;
}

/* Header */
.site-header{border-bottom:1px solid #eee;background:#fff}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:1rem 0}
.nav-list{list-style:none;margin:0;padding:0;display:flex;gap:1rem}
.nav-list a{text-decoration:none;color:var(--muted)}
.nav-toggle{display:none;background:none;border:0;font-size:1.25rem}

/* Hero */
.hero{
  padding:4rem 0;
  background:linear-gradient(180deg,#f8fbff 0%, #fff 100%)
}
.hero-title{font-size:clamp(1.5rem,3.5vw,2.75rem);margin:0 0 .5rem}
.hero-sub{color:var(--muted);margin:0 0 1.25rem}
.btn{display:inline-block;padding:.6rem 1rem;border-radius:6px;text-decoration:none;cursor:pointer;}
.btn-primary{background:var(--accent);color:#fff}
.btn-secondary{background:#f1f5f9;color:var(--text);margin-left:.5rem}
.disabled{background-color: #999;}

/* Features */
.features{padding:3rem 0}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1rem}
.card{padding:1.25rem;border:1px solid #eee;border-radius:8px;background:#fff}
.card h3{margin-top:0}

/* About */
.about{padding:2rem 0;border-top:1px solid #f1f5f9}

/* CTA */
.cta{padding:3rem 0;text-align:center;background:#f9fafb}
.contact-form{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center;margin-top:1rem}
.contact-form input{padding:.6rem .75rem;border:1px solid #e6e9ee;border-radius:6px}
.contact-form button{padding:.6rem 1rem;border-radius:6px}

/* Footer */
.site-footer{padding:1.25rem 0;border-top:1px solid #eee;text-align:center;color:var(--muted)}

/* Responsive */
@media (max-width:900px){
  .grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .nav-list{display:none}
  .nav-toggle{display:block}
  .grid{grid-template-columns:1fr}
  .header-inner{gap:.5rem}
  .hero{padding:2.5rem 0}
  .contact-form{flex-direction:column;align-items:stretch}
  .background-text{font-size:26px;}
  .net-right{grid-template-columns: 1fr 2fr;}
  .net-left{grid-template-columns: 2fr 1fr;}
  .text_cel{padding: 0 32px;}
}

/* Floorplan demo */
.floor-wrap{display:flex;gap:1.5rem;align-items:flex-start;flex-wrap:wrap;margin-top:1rem}
.floorplan{display:flex;flex-direction:column;gap:.75rem;background:#fff;padding:1rem;border:1px solid #eee;border-radius:8px}
.table-row{display:flex;gap:.75rem}
.table{width:64px;height:48px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:600;color:#fff}
.table-free{background:#16a34a}
.table-occupied{background:#dc2626}
.table-soon{background:#f59e0b}
.legend{display:flex;flex-direction:column;gap:.5rem;color:var(--muted)}
.legend-dot{display:inline-block;width:12px;height:12px;border-radius:50%;margin-right:.5rem;vertical-align:middle}
.legend-dot.free{background:#16a34a}
.legend-dot.occupied{background:#dc2626}
.legend-dot.soon{background:#f59e0b}

@media (max-width:640px){
  .table{width:52px;height:40px;font-size:.85rem}
  .floor-wrap{flex-direction:column}
}

/* Timeline and advanced floorplan */
.stats{font-size:0.95rem;text-align:center;margin-top:.5rem;color:var(--muted)}
.timeline{position:relative;margin-top:1rem;margin-bottom:.5rem}
.time-ticks{display:grid;grid-template-columns:repeat(8,1fr);gap:0;padding:0 0.5rem}
.time-ticks > div{text-align:center;color:var(--muted);font-weight:600}
.current-time{position:absolute;top:0;bottom:0;width:2px;background:#e11d48;left:25%;pointer-events:none}

.floorplan{position:relative}
.table-row{display:grid;grid-template-columns:64px 1fr;gap:.75rem;align-items:center;padding:.35rem 0}
.row-label{font-weight:700;padding-left:.5rem}
.slots{display:grid;grid-template-columns:repeat(8,1fr);gap:.5rem;background:transparent}
.slot{height:46px;border:1px solid #eee;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center;color:var(--muted)}
.reservation{position:relative;margin-left:0;margin-top:-52px;height:44px;border-radius:8px;color:#fff;display:flex;align-items:center;padding:0 .75rem;align-self:start}
.reservation-free{background:linear-gradient(90deg,#6ee7b7,#34d399)}
.reservation-occupied{background:linear-gradient(90deg,#ef4444,#dc2626)}
.reservation-soon{background:linear-gradient(90deg,#fbbf24,#f59e0b)}

.legend{margin-top:1rem;display:flex;gap:1rem;align-items:center}

.fab{position:fixed;right:20px;bottom:20px;width:56px;height:56px;border-radius:50%;background:var(--accent);color:#fff;border:0;font-size:28px;box-shadow:0 6px 18px rgba(13,110,253,0.25)}

@media (max-width:640px){
  .table-row{grid-template-columns:44px 1fr}
  .slot{height:40px}
  .current-time{left:30%}
}
