:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07131f;
  color: #f5f8fb;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 85% 5%, rgba(32, 180, 205, 0.24), transparent 34rem),
    linear-gradient(145deg, #07131f, #0d2637 55%, #07131f);
}

a { color: inherit; }
.site-header, main, footer { width: min(74rem, calc(100% - 2rem)); margin-inline: auto; }
.site-header {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.brand { display: flex; align-items: center; gap: .8rem; font-weight: 800; text-decoration: none; }
.brand-mark {
  width: 2.6rem; height: 2.6rem; display: grid; place-items: center;
  border-radius: .8rem; color: #05131d; background: #75ddff; font-size: .9rem;
}
.telegram-link { color: #a9dff0; text-underline-offset: .3rem; }
.header-actions, .footer-links { display: flex; align-items: center; gap: 1rem; }
.admin-link { color: #dcecf4; text-decoration: none; }
.admin-link:hover { text-decoration: underline; text-underline-offset: .3rem; }
.hero {
  min-height: 38rem;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(17rem, .6fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  padding: 5rem 0;
}
.eyebrow { margin: 0 0 1rem; color: #75ddff; font-size: .76rem; font-weight: 800; letter-spacing: .2em; }
h1, h2 { margin: 0; letter-spacing: -.04em; }
h1 { max-width: 50rem; font-size: clamp(3rem, 8vw, 6.5rem); line-height: .96; }
h2 { font-size: clamp(2rem, 5vw, 3.8rem); }
.hero-copy, .section-heading > p:last-child {
  max-width: 44rem; margin: 1.5rem 0 0; color: #bdd0dc; font-size: 1.08rem; line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  min-height: 3.2rem; display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.25rem; border: 1px solid transparent; border-radius: .85rem;
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
}
.primary { color: #04131c; background: #75ddff; }
.primary:hover { background: #a2e9ff; }
.secondary { color: #effaff; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.05); }
.status-card {
  display: flex; gap: 1rem; padding: 1.5rem; border: 1px solid rgba(255,255,255,.14);
  border-radius: 1.25rem; background: rgba(5,17,27,.7); box-shadow: 0 2rem 6rem rgba(0,0,0,.28);
}
.status-card p { margin: 0; color: #bdd0dc; line-height: 1.55; }
.status-card strong { color: #fff; }
.status-dot { width: .7rem; height: .7rem; margin-top: .35rem; flex: 0 0 auto; border-radius: 50%; background: #58e59b; box-shadow: 0 0 0 .35rem rgba(88,229,155,.12); }
.booking-section {
  display: grid; grid-template-columns: minmax(16rem,.75fr) minmax(0,1.25fr);
  gap: clamp(2rem,6vw,6rem); padding: 5rem clamp(1rem,4vw,4rem); margin-bottom: 5rem;
  border: 1px solid rgba(255,255,255,.13); border-radius: 1.6rem; background: rgba(5,17,27,.72);
}
form { display: grid; gap: 1.1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
label { display: grid; gap: .5rem; color: #d9e7ef; font-size: .9rem; font-weight: 700; }
input, textarea {
  width: 100%; padding: .9rem 1rem; border: 1px solid rgba(255,255,255,.17); border-radius: .7rem;
  color: #fff; background: #0a1c29; font: inherit; outline: none;
}
input:focus, textarea:focus { border-color: #75ddff; box-shadow: 0 0 0 .2rem rgba(117,221,255,.12); }
textarea { resize: vertical; }
.consent { grid-template-columns: auto 1fr; align-items: start; font-weight: 500; line-height: 1.5; }
.consent input { width: 1rem; margin-top: .2rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit-button { justify-self: start; border: 0; }
.submit-button:disabled { opacity: .55; cursor: wait; }
.form-status { min-height: 1.5rem; margin: 0; color: #aeeecb; line-height: 1.5; }
.form-status.error { color: #ffb3b3; }
footer {
  min-height: 6rem; display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.1); color: #9bb2bf; font-size: .9rem;
}
@media (max-width: 760px) {
  .hero, .booking-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 4rem 0; }
  .booking-section { padding: 2rem 1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .site-header { align-items: flex-start; flex-direction: column; justify-content: center; gap: .7rem; padding-block: .8rem; }
  .header-actions { width: 100%; justify-content: space-between; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: .6rem; }
  .footer-links { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
