:root {
  --bg: #333333;
  --pink: #EF3EA5;
  --pink-24: rgba(239, 62, 165, .24);
  --font-body: 'Hauora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --card-img: clamp(84px, 25.5vw, 101px);
}

/* Hauora Sans — SIL OFL, self-hosted; рукописные заголовки Kindentosca — SVG-экспорты из макета */
@font-face { font-family: 'Hauora'; src: url('assets/fonts/Hauora-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hauora'; src: url('assets/fonts/Hauora-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hauora'; src: url('assets/fonts/Hauora-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hauora'; src: url('assets/fonts/Hauora-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hauora'; src: url('assets/fonts/Hauora-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

* { box-sizing: border-box; }

html {
  background: #242424;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.366;
}

.page {
  max-width: 430px;
  margin: 0 auto;
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 0 80px rgba(0, 0, 0, .45);
}

img { display: block; max-width: 100%; }

h1, h2, h3, p, ul { margin: 0; }

a { color: inherit; }

.script img { display: block; height: auto; }

.works h2 img { width: 154px; }
.price-head h2 img { width: 113px; }
.location h2 img { width: 114px; }

/* ---------- кнопка ---------- */

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  border: 2px solid var(--pink);
  border-radius: 24px;
  background: var(--pink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  line-height: 27.32px;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  transition: background-color .2s ease, transform .2s ease;
}

.btn::before {
  content: "";
  position: absolute;
  top: -25%;
  bottom: -25%;
  left: -18px;
  width: 74px;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .6) 48%, transparent 76%);
  opacity: .55;
  transform: translateX(-120%) skewX(-8deg);
  animation: btn-shine 2.6s linear infinite;
  pointer-events: none;
}

@keyframes btn-shine {
  0% { transform: translateX(-120%) skewX(-8deg); }
  100% { transform: translateX(520%) skewX(-8deg); }
}


.btn:hover { background: #e9279a; }
.btn:active { transform: scale(.99); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 30px;
}

.hero-head {
  position: relative;
  z-index: 2;
  padding: 0 25px;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero h1 img { display: block; height: auto; }
.hero h1 .line1 { width: 216px; }

.hero h1 .line2 {
  align-self: flex-end;
  width: 205px;
  margin-top: -10.5px;
}

.hero-services {
  margin-top: 33px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 27px;
  letter-spacing: .56px;
  font-weight: 300;
  text-transform: uppercase;
}

.hero-glow {
  position: absolute;
  z-index: 0;
  top: 298px;
  left: 43.65%;
  width: 59.42%;
  aspect-ratio: 233.5 / 331.6;
  border-radius: 50%;
  background: #fff;
  opacity: .8;
  filter: blur(100px);
  pointer-events: none;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: calc(100% + 84px);
  margin: -72px 0 0 16px;
}

.hero-photo picture { display: contents; }

.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
}

.hero .btn { margin: 60px 25px 0; }

/* ---------- работы ---------- */

.works { padding: 30px 0; }

.works h2 { padding: 0 25px; }

.works-gallery {
  position: relative;
  margin-top: 18px;
}

.works-row {
  display: flex;
  gap: 8px;
  height: 231px;
  margin-bottom: 8px;
}

.works-row:first-of-type { margin-bottom: 9px; }
.works-row:last-of-type { margin-bottom: 0; }

.works-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 105px;
  z-index: 1;
  pointer-events: none;
}

.fade--l { left: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(51, 51, 51, 0) 100%); }
.fade--r { right: 0; background: linear-gradient(270deg, var(--bg) 0%, rgba(51, 51, 51, 0) 100%); }

/* ---------- отзывы ---------- */

.reviews { padding: 30px 0; }

.reviews h2 { padding: 0 25px; }

.reviews h2 img { width: 147px; }

.reviews-gallery {
  position: relative;
  margin-top: 13px;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 25px;
  transition: transform .6s ease;
}

.reviews-track img {
  flex: 0 0 auto;
  height: auto;
  border-radius: 12px;
}

.reviews .btn { margin: 24px 25px 0; }

/* ---------- прайс ---------- */

.price { padding: 30px 25px; }

.price-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tag {
  flex: 0 0 auto;
  max-width: 200px;
  padding: 6px 12px;
  border: 2px solid var(--pink);
  border-radius: 24px;
  background: var(--pink-24);
  font-size: 14px;
  font-weight: 500;
  line-height: 19.12px;
  text-align: center;
  text-transform: uppercase;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 27px;
  padding: 0;
  list-style: none;
}

.card {
  position: relative;
  border: 1px solid var(--pink);
  border-radius: 12px;
  background: var(--bg);
  overflow: hidden;
}

.card img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--card-img);
  height: 100%;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 16px 12px calc(var(--card-img) + 15px);
}

.card-title {
  width: min(211px, calc(100% + 2px));
  font-size: 14px;
  font-weight: 300;
  line-height: 16.8px;
  letter-spacing: .56px;
  text-transform: uppercase;
}

.card:last-child .card-title { width: min(217px, calc(100% + 7.2px)); }

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: .56px;
}

.time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 300;
  white-space: nowrap;
}

.time svg { flex: 0 0 auto; }

.card-prices {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.price-new { color: var(--pink); font-weight: 700; }

.price-old {
  position: relative;
  font-weight: 400;
  text-decoration: none;
  opacity: .64;
}

.price-old::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -2px;
  top: 50%;
  height: 10px;
  margin-top: -5px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 18' preserveAspectRatio='none'><path d='M2.00 10.92L5.22 10.58L8.44 10.05L11.67 9.66L14.89 9.55L18.11 9.59L21.33 9.54L24.56 9.26L27.78 8.73L31.00 8.12L34.22 7.61L37.44 7.26L40.67 7.00L43.89 6.67L47.11 6.15L50.33 5.48L53.56 4.84L56.78 4.41L60.00 4.27L63.22 4.32L66.44 4.35L69.67 4.20L72.89 3.88L76.11 3.51L79.33 3.29L82.56 3.30L85.78 3.47L89.00 3.63L92.22 3.62L95.44 3.45L98.67 3.26L101.89 3.22L105.11 3.42L108.33 3.76L111.56 4.06L114.78 4.04L118.00 3.52L118.00 4.97L114.78 5.51L111.56 6.08L108.33 6.58L105.11 6.91L101.89 7.13L98.67 7.30L95.44 7.47L92.22 7.69L89.00 7.92L85.78 8.15L82.56 8.31L79.33 8.40L76.11 8.44L72.89 8.50L69.67 8.64L66.44 8.92L63.22 9.37L60.00 9.94L56.78 10.54L53.56 11.09L50.33 11.50L47.11 11.75L43.89 11.86L40.67 11.91L37.44 11.98L34.22 12.12L31.00 12.33L27.78 12.57L24.56 12.78L21.33 12.89L18.11 12.86L14.89 12.71L11.67 12.49L8.44 12.25L5.22 12.17L2.00 12.38Z' fill='%23EF3EA5'/><path d='M14.89 9.98L18.11 9.88L21.33 9.75L24.56 9.60L27.78 9.41L31.00 9.19L34.22 8.92L37.44 8.62L40.67 8.28L43.89 7.92L47.11 7.54L50.33 7.15L53.56 6.76L56.78 6.38L60.00 6.03L63.22 5.70L66.44 5.42L69.67 5.17L72.89 4.97L76.11 4.81L79.33 4.68L82.56 4.59L85.78 4.52L89.00 4.46L92.22 4.41L95.44 4.34L98.67 4.26L101.89 4.16' fill='none' stroke='%23FF9FD3' stroke-width='1' stroke-linecap='round' stroke-linejoin='round' opacity='.45'/></svg>") center / 100% 100% no-repeat;
  transform: rotate(-3deg);
  pointer-events: none;
}

.price .btn { margin-top: 30px; }

/* ---------- адрес ---------- */

.location { padding: 30px 25px; }

.loc-title {
  margin-top: 21px;
  font-size: 20px;
  font-weight: 600;
  line-height: 27.32px;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.loc-address {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 300;
  line-height: 19.12px;
  letter-spacing: .56px;
  text-transform: uppercase;
}

.map {
  position: relative;
  height: 280px;
  margin: 32px -25px 0;
  overflow: hidden;
}

.map-embed {
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(100% + 196px);
  height: 280px;
  transform: translateX(-50%);
}

.map-embed iframe {
  display: block;
  width: 100% !important;
  height: 280px !important;
  border: 0;
}

.map noscript a {
  display: block;
  padding: 24px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .56px;
}

.loc-contacts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 60px;
}

.loc-legal {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 300;
  line-height: 16.39px;
  letter-spacing: .48px;
  text-transform: uppercase;
  opacity: .6;
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 300;
  line-height: 19.12px;
  letter-spacing: .56px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.contact img { flex: 0 0 auto; }

.contact:hover,
.contact:focus-visible { text-decoration: underline; }

/* ---------- футер ---------- */

.footer {
  position: relative;
  height: 77px;
}

.footer img {
  position: absolute;
  top: 10px;
  left: 50%;
  margin-left: -18.5px;
  width: 37px;
  height: 37px;
}

.footer-credit,
.footer-link {
  position: absolute;
  top: 20px;
  font-size: 12px;
  font-weight: 300;
  line-height: 16.39px;
  letter-spacing: .48px;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-credit { left: 25px; }
.footer-link { right: 25px; text-decoration: none; }
.footer-link:hover, .footer-link:focus-visible { text-decoration: underline; }

@media (max-width: 380px) {
  .loc-contacts { gap: 6px; }
  .contact { font-size: 13px; letter-spacing: .4px; gap: 6px; }
}
