:root {
  --ink: #14181f;
  --muted: #5a6575;
  --faint: #8b95a5;
  --line: rgba(20, 24, 31, 0.1);
  --paper: #f6f3ee;
  --panel: #ffffff;
  --accent: #f5c518;
  --accent-text: #d4a017;
  --accent-deep: #e0b000;
  --ok: #1f7a4c;
  --danger: #b42318;
  --font-display: "Syne", system-ui, sans-serif;
  --font: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.1rem, 4vw, 2.5rem);
  --max: 720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  letter-spacing: -0.015em;
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(245, 197, 24, 0.28), transparent 55%),
    radial-gradient(50% 40% at 0% 100%, rgba(20, 24, 31, 0.08), transparent 50%),
    linear-gradient(165deg, #fff 0%, var(--paper) 55%, #ebe6de 100%);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.shell {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 2rem var(--pad) 4rem;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.brand__mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}
.brand__logo {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.55rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}
.brand a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
}
.brand a:hover { color: var(--accent-text); }

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 6vw, 2.55rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.hero h1 span {
  display: block;
  margin-top: 0.45rem;
  color: var(--accent-text);
}
.hero p {
  margin: 1rem 0 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.05rem;
}
.place-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
}
.place-row .place { margin-top: 0; }
.dumbbell {
  width: clamp(4.5rem, 18vw, 6rem);
  height: auto;
  flex: 0 0 auto;
}

.place {
  margin: 1.1rem 0 0;
  max-width: 36ch;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--ink);
}
.place--link {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.place--link:hover,
.place--link:hover strong { color: var(--accent-text); }
.place strong {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.place--map {
  max-width: none;
  color: var(--muted);
  font-size: 0.98rem;
}

.map-block {
  margin-top: 2.5rem;
}
.map-block h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.map-frame {
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 18px 40px rgba(20, 24, 31, 0.06);
  aspect-ratio: 16 / 10;
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-link {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  font-weight: 700;
}
.map-link a {
  color: var(--accent-text);
  text-decoration: none;
}
.map-link a:hover { text-decoration: underline; }

.card {
  margin-top: 2rem;
  padding: 1.4rem 1.25rem 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(20, 24, 31, 0.06);
}

.field { margin-top: 1.1rem; }
.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #faf8f5;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}
.field input:focus,
.field select:focus {
  outline: 2px solid rgba(245, 197, 24, 0.45);
  outline-offset: 1px;
  border-color: var(--accent);
  background: #fff;
}

.slot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}
.slot button {
  appearance: none;
  border: 1px solid var(--line);
  background: #faf8f5;
  color: var(--ink);
  min-height: 2.8rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.65rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s;
}
.slot button:hover { transform: translateY(-1px); border-color: rgba(245,197,24,0.55); }
.slot button.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.meta {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.meta strong { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #14181f;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(245, 197, 24, 0.35);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.btn:hover { transform: translateY(-2px); background: var(--accent-deep); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: #f3efe8; }
.btn--danger {
  background: var(--danger);
  box-shadow: 0 10px 22px rgba(180, 35, 24, 0.22);
}

.actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.7rem; }

.msg {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.msg--ok { background: rgba(31,122,76,0.1); color: var(--ok); }
.msg--err { background: rgba(180,35,24,0.1); color: var(--danger); }

.summary {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.summary__item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.summary__item span:last-child { color: var(--accent-text); }

.table-wrap { overflow-x: auto; margin-top: 1rem; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
th, td {
  text-align: left;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
td button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--danger);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}

.hidden { display: none !important; }

@media (min-width: 640px) {
  .card { padding: 1.75rem; }
}


.phone {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #faf8f5;
  overflow: hidden;
}
.phone:focus-within {
  outline: 2px solid rgba(245, 197, 24, 0.45);
  outline-offset: 1px;
  border-color: var(--accent);
  background: #fff;
}
.phone__prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  border-right: 1px solid var(--line);
  background: rgba(245, 197, 24, 0.22);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.phone input {
  border: 0 !important;
  border-radius: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  min-height: 3rem;
}


.consent {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}
.consent a {
  color: var(--accent-text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal h1 {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.legal h2 {
  margin: 1.75rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.legal p, .legal li {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}
.legal ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}
.legal__lead {
  margin-top: 1rem;
  max-width: 48ch;
}
.legal__back {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}
.legal__back a {
  color: var(--accent-text);
  text-decoration: none;
}
.legal__back a:hover { text-decoration: underline; }
.legal__meta {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--faint);
}
.legal a[href^="http"] {
  color: var(--accent-text);
  font-weight: 700;
}
