:root {
  --enamel: #f6f8f7;
  --aqua: #d3e8e4;
  --teal: #0f5257;
  --ink: #0e1e22;
  --muted: #4d6166;
  --yellow: #f5c542;
  --line: #d5e0de;
  --font: "Figtree", system-ui, sans-serif;
}

body { background: var(--enamel); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); }
h1, h2, h3 { font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
p { max-width: 62ch; }
.wrap, .top, .hero, .prices, .team, .book, .foot { padding-inline: clamp(16px, 5vw, 72px); }

/* ---------- top ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.top__name { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.top__mark { width: 22px; height: 22px; border-radius: 50% 50% 45% 45% / 40% 40% 60% 60%; background: var(--teal); }
.top nav { display: flex; align-items: center; gap: 26px; font-weight: 500; }
.top nav a { text-decoration: none; }
.top nav a:not(.top__cta):hover { color: var(--teal); }
.top__cta { padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--enamel); }
@media (max-width: 600px) { .top nav a:not(.top__cta) { display: none; } }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(24px, 5vw, 64px) clamp(56px, 8vw, 104px); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); margin-bottom: 24px; }
.hero__text p { font-size: 1.2rem; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.hero__img img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 28px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .hero__img img { aspect-ratio: 4 / 3; } }

.btn {
  display: inline-block; padding: 16px 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--teal); color: #fff; font-weight: 700; text-decoration: none; transition: background 0.2s;
}
.btn:hover { background: #0a3f43; }
.link { font-weight: 600; color: var(--teal); text-underline-offset: 5px; }

/* ---------- prices ---------- */
.prices { padding-block: clamp(56px, 8vw, 104px); background: #fff; border-block: 1px solid var(--line); }
.prices__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.search input {
  width: min(420px, 100%); padding: 14px 18px 14px 44px; border: 2px solid var(--line); border-radius: 999px;
  background: var(--enamel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%234d6166' stroke-width='2.2'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") no-repeat 16px 50%;
}
.search input:focus { outline: none; border-color: var(--teal); background-color: #fff; }
.prices__note { margin-top: 16px; color: var(--muted); }
.prices__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(32px, 5vw, 80px); margin-top: 48px; }
.group h3 { font-size: 1.15rem; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.group dl { margin: 0; }
.group dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.group dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.group:first-child dl > div:first-child dd { background: var(--yellow); padding: 0 8px; border-radius: 6px; }
.prices__empty { margin-top: 32px; font-size: 1.1rem; }
.prices__unit { margin-top: 32px; font-size: 0.9rem; color: var(--muted); }
[hidden] { display: none !important; }
@media (max-width: 760px) { .prices__groups { grid-template-columns: 1fr; } }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: 0.8fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; padding-block: clamp(56px, 8vw, 112px); }
.team figure img { width: 100%; border-radius: 28px; aspect-ratio: 4 / 5; object-fit: cover; }
.team h2 { margin-bottom: 20px; max-width: 16ch; }
.team__list { margin: 28px 0 36px; }
.team__list div { padding: 16px 0; border-top: 1px solid var(--line); }
.team__list dt { font-weight: 700; }
.team__list dd { margin: 2px 0 0; color: var(--muted); }
.team__room { border-radius: 20px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; } }

/* ---------- book ---------- */
.book { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); padding-block: clamp(56px, 8vw, 104px); background: var(--aqua); }
.book > div > p { margin-top: 16px; }
.book__info { margin: 32px 0 0; }
.book__info div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 10px 0; }
.book__info dt { color: var(--muted); }
.book__info dd { margin: 0; font-weight: 500; }
.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); background: #fff; border-radius: 24px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { padding: 13px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--enamel); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.field__error { display: none; color: #a4262c; font-size: 0.92rem; }
.field--invalid input, .field--invalid textarea { border-color: #a4262c; }
.field--invalid .field__error { display: block; }
.form .btn { justify-self: start; }
@media (max-width: 860px) { .book { grid-template-columns: 1fr; } }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 24px 88px; font-size: 0.9rem; color: var(--muted); }
