:root {
    --bg: #070a12;
    --panel: rgba(13, 18, 29, 0.62);
    --line: rgba(178, 193, 220, 0.14);
    --text: #f3f6fb;
    --muted: #98a4b8;
    --accent: #91c7dc;
    --accent2: #a7b6d8;
  }
  
  
  /* =========================
     BASE
  ========================= */
  
  * {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    background: var(--bg);
  }
  
  body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
  
    background: transparent;
    color: var(--text);
  
    font-family:
      Inter,
      ui-sans-serif,
      system-ui,
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      sans-serif;
  
    position: relative;
    isolation: isolate;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  
  /* =========================
     BACKGROUND LAYERS
  ========================= */
  
  .space {
    position: fixed;
    inset: 0;
  
    z-index: -3;
  
    pointer-events: none;
  
    background:
      radial-gradient(
        circle at 25% 18%,
        rgba(83, 106, 146, 0.12),
        transparent 28%
      ),
      radial-gradient(
        circle at 80% 28%,
        rgba(91, 131, 145, 0.08),
        transparent 24%
      ),
      linear-gradient(
        #070a12,
        #090d16 62%,
        #06080e
      );
  }
  
  .space::before {
    content: "";
  
    position: absolute;
    inset: 0;
  
    background-image:
      radial-gradient(
        rgba(255, 255, 255, 0.68) 0.7px,
        transparent 0.8px
      );
  
    background-size: 58px 58px;
  
    opacity: 0.14;
  }
  
  
  /* Основной контент выше фона */
  
  .nav-wrap,
  main,
  footer {
    position: relative;
    z-index: 1;
  }
  
  main,
  .hero,
  .grid-section,
  .projects-page {
    background: transparent;
  }
  
  
  /* =========================
     NAVIGATION
  ========================= */
  
  .nav-wrap {
    width: min(1120px, calc(100% - 40px));
    height: 82px;
  
    margin: auto;
  
    display: flex;
    align-items: center;
    justify-content: space-between;
  
    border-bottom: 1px solid var(--line);
  
    position: relative;
    z-index: 10;
  }
  
  .brand {
    font-weight: 800;
    letter-spacing: 0.08em;
  
    transition: opacity 0.2s ease;
  }
  
  .brand:hover {
    opacity: 0.82;
  }
  
  .brand span,
  .hero h1 span,
  .coming h1 span {
    color: var(--accent);
  }
  
  nav {
    display: flex;
    gap: 8px;
  }
  
  nav a {
    padding: 9px 13px;
  
    color: var(--muted);
  
    border-radius: 10px;
  
    font-size: 14px;
  
    position: relative;
  
    transition:
      color 0.2s ease,
      background 0.2s ease;
  }
  
  nav a:hover,
  nav a.active {
    color: var(--text);
  
    background: rgba(255, 255, 255, 0.045);
  }
  
  nav a::after {
    content: "";
  
    position: absolute;
  
    left: 13px;
    right: 13px;
    bottom: 5px;
  
    height: 1px;
  
    background: var(--accent);
  
    transform: scaleX(0);
    transform-origin: center;
  
    opacity: 0.55;
  
    transition: transform 0.22s ease;
  }
  
  nav a:hover::after,
  nav a.active::after {
    transform: scaleX(1);
  }
  
  
  /* =========================
     HERO
  ========================= */
  
  .hero {
    width: min(1120px, calc(100% - 40px));
  
    margin: 68px auto 30px;
  
    display: grid;
  
    grid-template-columns:
      minmax(0, 1fr)
      minmax(410px, 0.92fr);
  
    gap: 52px;
  
    align-items: stretch;
  
    min-height: 570px;
  }
  
  .hero-copy {
    align-self: center;
  }
  
  .eyebrow,
  .section-tag,
  .loader-kicker {
    font-size: 11px;
  
    letter-spacing: 0.18em;
  
    color: var(--accent);
  
    font-weight: 700;
  }
  
  .hero h1,
  .coming h1 {
    font-size: clamp(52px, 6.6vw, 92px);
  
    line-height: 0.96;
  
    margin: 18px 0 24px;
  
    letter-spacing: -0.055em;
  }
  
  .hero h1 {
    max-width: 720px;
  }
  
  .lead {
    font-size: 18px;
  
    line-height: 1.72;
  
    color: var(--muted);
  
    max-width: 660px;
  }
  
  .hero-actions {
    display: flex;
  
    gap: 12px;
  
    margin-top: 30px;
  
    flex-wrap: wrap;
  }
  
  
  /* =========================
     BUTTONS
  ========================= */
  
  .btn {
    display: inline-flex;
  
    align-items: center;
    justify-content: center;
  
    padding: 12px 17px;
  
    border-radius: 10px;
  
    font-weight: 700;
  
    font-size: 14px;
  
    border: 1px solid var(--line);
  
    transition:
      transform 0.22s ease,
      border-color 0.22s ease,
      background 0.22s ease,
      box-shadow 0.22s ease;
  }
  
  .btn:hover {
    transform: translateY(-2px);
  
    border-color: rgba(145, 199, 220, 0.38);
  }
  
  .btn:active {
    transform: translateY(0);
  }
  
  .btn.primary {
    background: #dce7ed;
  
    color: #0b1118;
  
    border-color: #dce7ed;
  
    box-shadow: none;
  }
  
  .btn.primary:hover {
    background: #f0f5f7;
  
    box-shadow:
      0 8px 28px
      rgba(145, 199, 220, 0.08);
  }
  
  .btn.ghost {
    background: rgba(255, 255, 255, 0.025);
  }
  
  
  /* =========================
     CONSTELLATION CARD
  ========================= */
  
  .sky-card {
    min-height: 570px;
  
    height: 100%;
  
    border:
      1px solid
      rgba(178, 193, 220, 0.13);
  
    border-radius: 22px;
  
    position: relative;
  
    overflow: hidden;
  
    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.032),
        rgba(255, 255, 255, 0.006)
      );
  
    box-shadow:
      inset 0 1px rgba(255, 255, 255, 0.035),
      0 22px 65px rgba(0, 0, 0, 0.22);
  
    transition:
      border-color 0.35s ease,
      transform 0.35s ease,
      box-shadow 0.35s ease;
  }
  
  .sky-card:hover {
    border-color:
      rgba(145, 199, 220, 0.22);
  
    transform:
      translateY(-2px);
  
    box-shadow:
      inset 0 1px rgba(255, 255, 255, 0.04),
      0 28px 72px rgba(0, 0, 0, 0.28);
  }
  
  .constellation-card {
    background:
      radial-gradient(
        circle at 50% 45%,
        rgba(86, 115, 145, 0.075),
        transparent 58%
      ),
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.025),
        rgba(255, 255, 255, 0.007)
      );
  
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }
  
  .constellation-card::before {
    content: "";
  
    position: absolute;
    inset: 0;
  
    z-index: 1;
  
    pointer-events: none;
  
    background:
      linear-gradient(
        rgba(255, 255, 255, 0.017) 1px,
        transparent 1px
      ),
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.017) 1px,
        transparent 1px
      );
  
    background-size: 64px 64px;
  
    mask-image:
      linear-gradient(
        to bottom,
        transparent,
        black 18%,
        black 82%,
        transparent
      );
  
    opacity: 0.32;
  }
  
  .constellation-card::after {
    content: "";
  
    position: absolute;
    inset: 0;
  
    z-index: 1;
  
    pointer-events: none;
  
    box-shadow:
      inset 0 0 90px
      rgba(4, 7, 12, 0.58);
  }
  
  .constellation-card canvas {
    position: absolute;
  
    inset: 0;
  
    width: 100%;
    height: 100%;
  
    display: block;
  }
  
  .constellation-caption {
    position: absolute;
  
    z-index: 2;
  
    left: 22px;
    bottom: 18px;
  
    font-size: 9px;
  
    letter-spacing: 0.18em;
  
    text-transform: uppercase;
  
    color:
      rgba(180, 197, 217, 0.35);
  
    user-select: none;
  }
  
  
  /* =========================
     GRID
  ========================= */
  
  .grid-section {
    width:
      min(
        1120px,
        calc(100% - 40px)
      );
  
    margin:
      34px auto 86px;
  
    display: grid;
  
    grid-template-columns:
      1fr 1fr;
  
    gap: 16px;
  }
  
  
  /* =========================
     PANELS
  ========================= */
  
  .panel {
    background: var(--panel);
  
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  
    border:
      1px solid
      var(--line);
  
    border-radius: 17px;
  
    padding: 28px;
  
    min-height: 220px;
  
    transition:
      transform 0.28s ease,
      border-color 0.28s ease,
      background 0.28s ease;
  }
  
  .panel:hover {
    transform: translateY(-2px);
  
    border-color:
      rgba(145, 199, 220, 0.21);
  
    background:
      rgba(14, 20, 31, 0.72);
  }
  
  .panel h2 {
    font-size: 28px;
  
    letter-spacing: -0.03em;
  
    margin: 12px 0;
  }
  
  .panel p {
    color: var(--muted);
  
    line-height: 1.7;
  }
  
  
  /* =========================
     STACK
  ========================= */
  
  .chips {
    display: flex;
  
    flex-wrap: wrap;
  
    gap: 9px;
  
    margin-top: 25px;
  }
  
  .chips span {
    padding: 8px 10px;
  
    border:
      1px solid
      var(--line);
  
    border-radius: 8px;
  
    color: #d8e0ec;
  
    background:
      rgba(255, 255, 255, 0.018);
  
    font-size: 13px;
  
    transition:
      transform 0.2s ease,
      border-color 0.2s ease,
      color 0.2s ease;
  }
  
  .chips span:hover {
    transform:
      translateY(-1px);
  
    border-color:
      rgba(145, 199, 220, 0.28);
  
    color: #fff;
  }
  
  
  /* =========================
     EXPERIENCE
  ========================= */
  
  .experience {
    grid-column: 1 / -1;
  }
  
  .timeline-item {
    display: grid;
  
    grid-template-columns:
      18px 1fr;
  
    gap: 13px;
  
    margin-top: 22px;
  }
  
  .dot {
    width: 7px;
    height: 7px;
  
    margin-top: 8px;
  
    border-radius: 50%;
  
    background: var(--accent);
  
    box-shadow:
      0 0 0 0
      rgba(145, 199, 220, 0.16);
  
    transition:
      box-shadow 0.25s ease;
  }
  
  .timeline-item:hover .dot {
    box-shadow:
      0 0 0 5px
      rgba(145, 199, 220, 0.08);
  }
  
  .timeline-item small {
    display: block;
  
    color: #aab7cc;
  
    margin: 4px 0;
  }
  
  .timeline-item p {
    margin: 5px 0;
  }
  
  
  /* =========================
     CONTACT
  ========================= */
  
  .contact a {
    display: block;
  
    font-size: 17px;
  
    margin-top: 14px;
  
    color: #dbe7ee;
  
    transition:
      color 0.2s ease,
      transform 0.2s ease;
  }
  
  .contact a:hover {
    color: #fff;
  
    transform:
      translateX(3px);
  }
  
  
  /* =========================
     FOOTER
  ========================= */
  
  footer {
    width:
      min(
        1120px,
        calc(100% - 40px)
      );
  
    margin: auto;
  
    padding:
      24px 0 32px;
  
    border-top:
      1px solid
      var(--line);
  
    display: flex;
  
    justify-content:
      space-between;
  
    color: #667185;
  
    font-size: 11px;
  
    letter-spacing: 0.11em;
  }
  
  
  /* =========================
     REVEAL
  ========================= */
  
  .reveal {
    opacity: 0;
  
    transform:
      translateY(13px);
  
    transition:
      opacity 0.58s ease
        var(--reveal-delay, 0ms),
      transform 0.58s
        cubic-bezier(
          0.2,
          0.7,
          0.2,
          1
        )
        var(--reveal-delay, 0ms);
  }
  
  .reveal.visible {
    opacity: 1;
  
    transform: none;
  }
  
  
  /* =========================
     PROJECTS / COMING SOON
  ========================= */
  
  .projects-page {
    width:
      min(
        1120px,
        calc(100% - 40px)
      );
  
    min-height:
      calc(100vh - 145px);
  
    margin: auto;
  
    display: grid;
  
    place-items: center;
  }
  
  .coming {
    text-align: center;
  }
  
  .coming p:not(.eyebrow) {
    color: var(--muted);
  
    font-size: 16px;
  
    line-height: 1.6;
  
    margin:
      0 auto 26px;
  
    max-width: 540px;
  }
  
  .minimal-orbit {
    width: 82px;
    height: 82px;
  
    margin:
      24px auto 16px;
  
    border:
      1px solid
      rgba(145, 199, 220, 0.24);
  
    border-radius: 50%;
  
    position: relative;
  
    box-shadow:
      inset 0 0 24px
      rgba(145, 199, 220, 0.025);
  }
  
  .minimal-orbit::before {
    content: "";
  
    position: absolute;
  
    inset: 10px;
  
    border:
      1px solid
      rgba(145, 199, 220, 0.07);
  
    border-radius: 50%;
  }
  
  .minimal-orbit span {
    position: absolute;
  
    width: 7px;
    height: 7px;
  
    border-radius: 50%;
  
    background: var(--accent);
  
    right: 3px;
    top: 31px;
  
    box-shadow:
      0 0 13px
      rgba(145, 199, 220, 0.48);
  }
  
  .orbit-entry {
    animation:
      orbit-entry
      1.15s
      cubic-bezier(
        0.22,
        0.8,
        0.2,
        1
      )
      0.14s
      both;
  }
  
  .coming .eyebrow {
    animation:
      soft-fade
      0.5s
      ease
      both;
  }
  
  .coming h1 {
    animation:
      soft-fade
      0.65s
      ease
      0.16s
      both;
  }
  
  .coming > p:not(.eyebrow),
  .coming > .btn {
    animation:
      soft-fade
      0.65s
      ease
      0.24s
      both;
  }
  
  @keyframes orbit-entry {
    0% {
      opacity: 0;
  
      transform:
        rotate(-320deg)
        scale(0.86);
    }
  
    65% {
      opacity: 1;
    }
  
    100% {
      opacity: 1;
  
      transform:
        rotate(0)
        scale(1);
    }
  }
  
  @keyframes soft-fade {
    from {
      opacity: 0;
  
      transform:
        translateY(8px);
    }
  
    to {
      opacity: 1;
  
      transform: none;
    }
  }
  
  
  /* =========================
     LOADING PAGE
  ========================= */
  
  .loading-page {
    display: grid;
  
    place-items: center;
  
    min-height: 100vh;
  
    transition:
      opacity 0.35s ease,
      transform 0.35s ease;
  }
  
  .loading-page.launch {
    opacity: 0;
  
    transform:
      scale(1.008);
  }
  
  .loader-shell {
    text-align: center;
  
    width:
      min(
        420px,
        calc(100% - 50px)
      );
  
    position: relative;
  
    z-index: 1;
  }
  
  .simple-star {
    width: 74px;
    height: 74px;
  
    border:
      1px solid
      rgba(145, 199, 220, 0.18);
  
    border-radius: 50%;
  
    margin:
      0 auto 25px;
  
    position: relative;
  }
  
  .simple-star::before,
  .simple-star::after {
    content: "";
  
    position: absolute;
  
    background:
      rgba(145, 199, 220, 0.18);
  }
  
  .simple-star::before {
    width: 1px;
    height: 34px;
  
    left: 36px;
    top: 20px;
  }
  
  .simple-star::after {
    height: 1px;
    width: 34px;
  
    left: 20px;
    top: 36px;
  }
  
  .simple-star span {
    position: absolute;
  
    width: 8px;
    height: 8px;
  
    border-radius: 50%;
  
    background: #e6f1f5;
  
    left: 32px;
    top: 32px;
  
    box-shadow:
      0 0 14px
      rgba(145, 199, 220, 0.35);
  }
  
  .loader-shell h1 {
    font-size: 32px;
  
    letter-spacing: 0.07em;
  
    margin:
      12px 0 22px;
  }
  
  .loader-shell h1 span {
    color: var(--accent);
  }
  
  .loader-track {
    height: 2px;
  
    background:
      rgba(255, 255, 255, 0.07);
  
    overflow: hidden;
  
    border-radius: 99px;
  }
  
  .loader-bar {
    height: 100%;
  
    width: 0;
  
    background: var(--accent);
  
    animation:
      load
      0.85s
      ease
      forwards;
  }
  
  .loader-status {
    color: var(--muted);
  
    font-size: 12px;
  
    letter-spacing: 0.04em;
  
    margin-top: 12px;
  }
  
  @keyframes load {
    to {
      width: 100%;
    }
  }
  
  
  /* =========================
     REDUCED MOTION
  ========================= */
  
  @media (
    prefers-reduced-motion: reduce
  ) {
  
    * {
      scroll-behavior: auto !important;
    }
  
    .reveal {
      opacity: 1;
  
      transform: none;
  
      transition: none;
    }
  
    .loader-bar {
      animation: none;
  
      width: 100%;
    }
  
    .orbit-entry,
    .coming .eyebrow,
    .coming h1,
    .coming > p:not(.eyebrow),
    .coming > .btn {
      animation: none;
    }
  
    .btn,
    .panel,
    .sky-card,
    .chips span,
    .contact a {
      transition: none;
    }
  }
  
  
  /* =========================
     TABLET
  ========================= */
  
  @media (
    max-width: 900px
  ) {
  
    .hero {
      grid-template-columns: 1fr;
  
      min-height: auto;
  
      margin-top: 48px;
  
      gap: 28px;
    }
  
    .hero h1 {
      font-size:
        clamp(
          52px,
          12vw,
          78px
        );
    }
  
    .sky-card {
      min-height: 440px;
  
      height: 440px;
    }
  
    .grid-section {
      grid-template-columns: 1fr;
    }
  
    .experience {
      grid-column: auto;
    }
  }
  
  
  /* =========================
     SMALL TABLET
  ========================= */
  
  @media (
    max-width: 820px
  ) {
  
    .nav-wrap {
      height: 70px;
    }
  
    .panel {
      padding: 23px;
    }
  
    footer {
      gap: 10px;
  
      flex-direction: column;
    }
  
    .coming h1 {
      font-size: 68px;
    }
  }
  
  
  /* =========================
     MOBILE
  ========================= */
  
  @media (
    max-width: 520px
  ) {
  
    .nav-wrap {
      width:
        min(
          calc(100% - 24px),
          1120px
        );
    }
  
    .brand {
      font-size: 14px;
    }
  
    nav a {
      padding: 8px 9px;
  
      font-size: 12px;
    }
  
    .hero,
    .grid-section,
    .projects-page,
    footer {
      width:
        min(
          calc(100% - 24px),
          1120px
        );
    }
  
    .hero {
      margin-top: 36px;
    }
  
    .hero h1 {
      font-size: 46px;
    }
  
    .lead {
      font-size: 16px;
    }
  
    .sky-card {
      min-height: 340px;
  
      height: 340px;
  
      border-radius: 18px;
    }
  
    .panel h2 {
      font-size: 24px;
    }
  
    .coming h1 {
      font-size: 54px;
    }
  
    .constellation-caption {
      left: 16px;
  
      bottom: 14px;
    }
  }

/* =========================
   ONLINE LESSONS / BOOKING
========================= */

.booking-page {
  width: min(1120px, calc(100% - 40px));
  margin: 64px auto 86px;
}

.booking-intro {
  max-width: 840px;
  margin-bottom: 38px;
}

.booking-intro h1 {
  margin: 16px 0 22px;
  font-size: clamp(48px, 6.2vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.booking-intro h1 span {
  color: var(--accent);
}

.booking-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.booking-notes span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #b7c3d4;
  background: rgba(255, 255, 255, 0.018);
  font-size: 12px;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 16px;
}

.booking-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.booking-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.booking-card h2 {
  margin: 9px 0 0;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.calendar-card {
  min-height: 490px;
}

.slots-card {
  min-height: 490px;
}

.booking-form-card {
  grid-column: 1 / -1;
}

.calendar-nav {
  display: flex;
  gap: 7px;
}

.calendar-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.calendar-arrow:hover:not(:disabled) {
  border-color: rgba(145, 199, 220, 0.34);
  background: rgba(145, 199, 220, 0.055);
}

.calendar-arrow:disabled {
  cursor: default;
  opacity: 0.28;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.calendar-weekdays {
  margin-bottom: 8px;
}

.calendar-weekdays span {
  padding: 5px 0;
  color: #667185;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-align: center;
}

.calendar-day {
  aspect-ratio: 1;
  min-width: 0;
  border: 1px solid rgba(178, 193, 220, 0.12);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.018);
  color: #dfe7f0;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.calendar-day:not(:disabled)::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  left: 50%;
  bottom: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
  opacity: 0.72;
}

.calendar-day:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(145, 199, 220, 0.38);
  background: rgba(145, 199, 220, 0.06);
}

.calendar-day.selected {
  border-color: rgba(145, 199, 220, 0.62);
  background: rgba(145, 199, 220, 0.13);
  color: #fff;
}

.calendar-day:disabled {
  color: #4c5668;
  cursor: default;
  background: rgba(255, 255, 255, 0.008);
}

.calendar-day.fully-booked {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.calendar-day-spacer {
  visibility: hidden;
}

.booking-hint,
.booking-status {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

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

.slot-button {
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.018);
  color: #e2e9f2;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.slot-button:hover {
  transform: translateY(-1px);
  border-color: rgba(145, 199, 220, 0.36);
}

.slot-button.selected {
  border-color: rgba(145, 199, 220, 0.62);
  background: rgba(145, 199, 220, 0.12);
  color: #fff;
}

.booking-empty {
  grid-column: 1 / -1;
  padding: 26px;
  border: 1px dashed rgba(178, 193, 220, 0.13);
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.booking-empty.error {
  color: #d9a5a5;
}

.booking-selection {
  max-width: 280px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #cbd7e4;
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}

.booking-form {
  display: grid;
  gap: 17px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.form-field > span {
  color: #b9c4d3;
  font-size: 12px;
  font-weight: 700;
}

.form-field small {
  color: #687589;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  background: rgba(255, 255, 255, 0.018);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-field input {
  height: 48px;
  padding: 0 14px;
}

.form-field textarea {
  min-height: 118px;
  padding: 13px 14px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #556174;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(145, 199, 220, 0.45);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 0 0 3px rgba(145, 199, 220, 0.05);
}

.booking-submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 3px;
}

.booking-submit {
  min-width: 145px;
  cursor: pointer;
}

.booking-submit:disabled {
  cursor: default;
  opacity: 0.4;
  transform: none;
}

.booking-status {
  margin: 0;
}

.booking-status.success {
  color: #acd5c2;
}

.booking-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .calendar-arrow,
  .calendar-day,
  .slot-button,
  .form-field input,
  .form-field textarea {
    transition: none;
  }
}

@media (max-width: 820px) {
  .booking-page {
    margin-top: 46px;
  }

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

  .booking-form-card {
    grid-column: auto;
  }

  .calendar-card,
  .slots-card {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .booking-page {
    width: min(calc(100% - 24px), 1120px);
    margin-top: 36px;
  }

  .booking-intro h1 {
    font-size: 44px;
  }

  .booking-card {
    padding: 20px;
  }

  .booking-card-head {
    gap: 12px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .booking-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .booking-submit {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .nav-wrap {
    gap: 8px;
  }

  nav {
    gap: 1px;
  }

  nav a {
    padding: 8px 6px;
    font-size: 11px;
  }

  nav a::after {
    left: 6px;
    right: 6px;
  }

  .booking-intro h1 {
    font-size: 39px;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 5px;
  }

  .calendar-day {
    border-radius: 9px;
    font-size: 12px;
  }

  .slot-list {
    grid-template-columns: 1fr;
  }

  .booking-selection {
    max-width: 165px;
    font-size: 11px;
  }
}
