:root {
  --ink: #102124;
  --muted: #657579;
  --bg: #f5f1e9;
  --paper: #fffaf1;
  --teal: #087878;
  --teal-dark: #075a5a;
  --mint: #d6f3ed;
  --line: rgba(16, 33, 36, 0.14);
  --amber: #d8942c;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: min(1160px, calc(100% - 28px));
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.88);
  box-shadow: 0 16px 50px rgba(32, 37, 34, 0.16);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.logo span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
}

.topbar nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.topbar nav a:hover,
.footer a:hover {
  color: var(--teal);
}

.top-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.top-action {
  background: var(--ink);
  color: #fff;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.primary {
  background: var(--teal);
  color: #fff;
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.place .secondary,
.booking-card .secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 86px;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) brightness(1.06) contrast(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 33, 36, 0.74), rgba(16, 33, 36, 0.45) 48%, rgba(16, 33, 36, 0.08)),
    linear-gradient(180deg, rgba(16, 33, 36, 0.06), rgba(16, 33, 36, 0.38));
}

.hero-content,
.section,
.footer {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.lead {
  max-width: 640px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 22px);
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.26);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 52px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 850px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(13, 31, 34, 0.34);
  backdrop-filter: blur(10px);
}

.hero-facts div {
  min-height: 116px;
  padding: 20px;
}

.hero-facts div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  margin-bottom: 8px;
  font-size: 24px;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.section {
  padding: 88px 0;
}

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: start;
}

.about-grid,
.service-grid,
.master-grid {
  display: grid;
  gap: 16px;
}

.about-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.master-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.7fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head > p:last-child,
.about-grid p,
.service-grid p,
.master-grid p,
.booking-copy p,
.place-card p,
.footer p,
.booking-note span {
  color: var(--muted);
}

.about-grid article,
.service-grid article,
.master-grid article,
.booking-card,
.place-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(32, 37, 34, 0.1);
}

.about-grid article,
.service-grid article,
.master-grid article {
  padding: 24px;
}

.service-grid strong {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(8, 120, 120, 0.1);
  color: var(--teal-dark);
}

.avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), #11393b);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.master-grid b {
  color: var(--teal-dark);
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1.18fr);
  gap: 34px;
  align-items: start;
}

.booking-copy {
  position: sticky;
  top: 104px;
}

.booking-note {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.72);
}

.booking-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
}

.booking-card label,
.slot-field,
.calendar-field {
  display: grid;
  gap: 8px;
}

.booking-card label span,
.slot-field > span,
.field-row span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.field-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.field-row strong {
  color: var(--teal-dark);
  font-size: 14px;
}

.booking-card input,
.booking-card select,
.booking-card textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 12px;
  outline: none;
}

.booking-card textarea {
  resize: vertical;
}

.booking-card input:focus,
.booking-card select:focus,
.booking-card textarea:focus {
  border-color: rgba(8, 120, 120, 0.6);
  box-shadow: 0 0 0 3px rgba(8, 120, 120, 0.11);
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
}

.weekday {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.day {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.day-empty {
  pointer-events: none;
  visibility: hidden;
}

.day[aria-pressed="true"] {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.day:disabled {
  cursor: not-allowed;
  opacity: 0.36;
}

.slots {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.slot {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.slot[aria-pressed="true"] {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.slot:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.full {
  grid-column: 1 / -1;
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
}

.consent input {
  min-height: 18px;
  margin-top: 3px;
}

.consent span {
  color: var(--muted);
  font-weight: 500;
}

.trap {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 850;
}

.form-status.error {
  color: #b42318;
}

.booking-confirmation {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(8, 120, 120, 0.22);
  border-radius: 8px;
  background: rgba(8, 120, 120, 0.08);
  padding: 14px;
}

.booking-confirmation[hidden] {
  display: none;
}

.booking-confirmation span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.booking-confirmation strong {
  font-size: 18px;
  line-height: 1.25;
}

.booking-confirmation p {
  margin: 0;
  color: var(--muted);
}

.place-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
  overflow: hidden;
}

.place-card img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.place-card > div {
  padding: 34px 34px 34px 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
}

.legal-page {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 60px;
}

.legal-page .button {
  width: fit-content;
  margin-bottom: 28px;
}

.legal-page h1 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
}

.legal-page h2 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: 24px;
}

.legal-page p {
  color: var(--muted);
}

.legal-note {
  margin-top: 32px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.footer p {
  max-width: 620px;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.footer a {
  color: var(--teal-dark);
  font-weight: 850;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: auto auto;
  }

  .topbar nav {
    display: none;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 33, 36, 0.78), rgba(16, 33, 36, 0.54)),
      linear-gradient(180deg, rgba(16, 33, 36, 0.1), rgba(16, 33, 36, 0.42));
  }

  .about,
  .section-head,
  .booking-section,
  .place-card {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .service-grid,
  .master-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-copy {
    position: static;
  }

  .place-card > div {
    padding: 0 24px 28px;
  }
}

@media (max-width: 680px) {
  .topbar,
  .hero-content,
  .section,
  .footer {
    width: min(100% - 22px, 1160px);
  }

  .topbar {
    top: 10px;
  }

  .top-action {
    min-height: 42px;
    padding: 10px 12px;
  }

  .hero {
    min-height: auto;
    padding: 126px 0 56px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-facts,
  .about-grid,
  .service-grid,
  .master-grid,
  .booking-card,
  .footer {
    grid-template-columns: 1fr;
  }

  .footer {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .hero-facts div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .section {
    padding: 62px 0;
  }

  .calendar {
    gap: 5px;
    padding: 8px;
  }

  .day {
    min-height: 38px;
  }

  .slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-card {
    padding: 18px;
  }
}
