:root {
  --ink: #392a23;
  --sand: #cdb09d;
  --sand-light: #e4d3c7;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--white);
  background: #33231c;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--sand-light);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px 3.5vw;
  background: linear-gradient(180deg, rgba(25, 16, 12, .58), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 49px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 26px;
  font: 11px/1 Arial, sans-serif;
  letter-spacing: .1em;
}

.brand strong {
  font: 28px/1.1 Georgia, "Times New Roman", serif;
  letter-spacing: .14em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-phone {
  font-size: 14px;
  letter-spacing: .05em;
  text-decoration: none;
}

.header-phone:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.header-book,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.header-book {
  min-height: 48px;
  padding: 0 23px;
  color: var(--ink);
  background: var(--sand);
  font-size: 12px;
}

.header-book:hover,
.button-primary:hover {
  background: var(--sand-light);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(34, 22, 16, .82) 0%, rgba(34, 22, 16, .65) 38%, rgba(34, 22, 16, .14) 72%),
    url(hero-massage.jpg) center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(22, 13, 9, .28), transparent 36%);
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(690px, 78vw);
  margin-left: clamp(28px, 9vw, 170px);
  padding: 150px 0 92px;
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font: 400 clamp(46px, 5.2vw, 78px) / 1.04 Georgia, "Times New Roman", serif;
  letter-spacing: -.02em;
}

.intro {
  max-width: 610px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 56px;
  padding: 0 27px;
  font-size: 12px;
}

.button-primary {
  color: var(--ink);
  background: var(--sand);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .06);
}

.button-secondary:hover {
  color: var(--ink);
  background: var(--white);
  transform: translateY(-1px);
}

.service-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
}

.service-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b9d8ad;
  box-shadow: 0 0 0 5px rgba(185, 216, 173, .14);
}

.location {
  position: absolute;
  right: 3.5vw;
  bottom: 31px;
  z-index: 2;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(31, 20, 15, .66);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 90px;
    padding: 18px 24px;
    background: linear-gradient(180deg, rgba(27, 17, 13, .76), transparent);
  }

  .brand strong {
    font-size: 22px;
  }

  .brand-mark {
    width: 40px;
    height: 52px;
  }

  .header-phone {
    display: none;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(34, 22, 16, .82), rgba(34, 22, 16, .36)),
      url(hero-massage.jpg) 62% center / cover no-repeat;
  }

  .hero-copy {
    width: min(680px, calc(100vw - 48px));
    margin-left: 24px;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 8px;
    padding: 14px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 8px;
  }

  .brand strong {
    overflow: hidden;
    font-size: clamp(14px, 4.4vw, 18px);
    letter-spacing: .045em;
    text-overflow: ellipsis;
  }

  .brand-mark {
    width: 30px;
    height: 40px;
    flex: 0 0 auto;
    border-radius: 20px;
    font-size: 9px;
  }

  .header-actions {
    flex: 0 0 auto;
  }

  .header-book {
    min-height: 40px;
    padding: 0 11px;
    font-size: 9px;
    letter-spacing: .05em;
  }

  .hero {
    align-items: flex-start;
    background:
      linear-gradient(90deg, rgba(31, 20, 15, .84), rgba(31, 20, 15, .46)),
      url(hero-massage.jpg) 65% center / cover no-repeat;
  }

  .hero-copy {
    width: calc(100vw - 40px);
    margin-left: 20px;
    padding: 150px 0 82px;
  }

  .hero h1 {
    font-size: clamp(39px, 12vw, 54px);
    line-height: 1.06;
  }

  .intro {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    margin-top: 28px;
  }

  .button {
    width: 100%;
  }

  .service-status {
    margin-top: 23px;
    font-size: 13px;
  }

  .location {
    right: auto;
    bottom: 21px;
    left: 20px;
    padding: 7px 10px;
    font-size: 10px;
  }
}

@media (max-height: 700px) and (min-width: 621px) {
  .site-header {
    min-height: 82px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand-mark {
    width: 38px;
    height: 50px;
  }

  .brand strong {
    font-size: 22px;
  }

  .hero-copy {
    padding: 110px 0 70px;
  }

  .hero h1 {
    font-size: clamp(42px, 5vw, 62px);
  }

  .intro {
    margin-top: 22px;
  }

  .hero-actions {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-book,
  .button {
    transition: none;
  }
}
