:root {
  --ink: #20201f;
  --muted: #6d6862;
  --line: #e4ded6;
  --paper: #fffaf3;
  --surface: #ffffff;
  --accent: #8b1f31;
  --accent-dark: #671525;
  --sage: #78846d;
  --clay: #c97854;
  --shadow: 0 18px 60px rgba(43, 35, 29, 0.14);
  --body-font: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-font: "Onest", "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffaf3 0%, #fffaf3 32%, #f7f2eb 32%, #f7f2eb 58%, #fffaf3 58%, #fffaf3 100%);
  font-family: var(--body-font);
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 243, 0.86);
  border-bottom: 1px solid rgba(228, 222, 214, 0.7);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(32, 32, 31, 0.18);
  border-radius: 50%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--display-font);
  font-size: 19px;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 15px;
}

.main-nav a:hover,
.header-call:hover,
.footer a:hover {
  color: var(--accent);
}

.header-call {
  min-width: max-content;
  color: var(--accent);
  font-weight: 700;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 74px);
  padding: clamp(26px, 5vw, 68px);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 19, 17, 0.74), rgba(26, 19, 17, 0.35) 48%, rgba(26, 19, 17, 0.06)),
    url("images/hero.png") center / cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(720px, 100%);
  color: #fff;
  padding-bottom: 80px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1c7ac;
}

h1,
h2,
h3,
.quick-card span,
.price-row strong,
.map-preview strong {
  font-family: var(--display-font);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.lead {
  width: min(620px, 100%);
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--display-font);
  font-weight: 800;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

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

.button svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

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

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.hero .button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
}

.quick-card {
  position: absolute;
  right: clamp(18px, 5vw, 68px);
  bottom: 30px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1px;
  width: min(620px, calc(100% - 36px));
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-card div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.quick-card span,
.quick-card small {
  display: block;
}

.quick-card span {
  color: var(--accent);
  font-size: 22px;
  font-weight: 900;
}

.quick-card small {
  color: var(--muted);
  font-size: 13px;
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(46px, 6.5vw, 78px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.intro p:last-child,
.works-head p:last-child,
.trust-list p,
.service-card p,
.price-note {
  color: var(--muted);
  font-size: 17px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 238px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card svg {
  width: 30px;
  height: 30px;
  margin-bottom: 28px;
  color: var(--accent);
}

.price {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1fr);
  column-gap: clamp(30px, 7vw, 84px);
  row-gap: 14px;
  align-items: center;
  padding-top: clamp(42px, 5.5vw, 66px);
  padding-bottom: clamp(42px, 5.5vw, 66px);
}

.price .section-head {
  display: block;
  margin: 0;
}

.price-table {
  overflow: hidden;
  align-self: start;
  margin-top: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(43, 35, 29, 0.06);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row strong {
  color: var(--accent);
  white-space: nowrap;
}

.price-note {
  grid-column: 2;
  margin: 0;
}

.works {
  padding: clamp(46px, 6.5vw, 78px) 0;
  background: linear-gradient(135deg, #f2eadf 0%, #edf1e8 100%);
}

.works-head {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 460px);
  gap: 36px;
  padding-top: 0;
  padding-bottom: 30px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.work-card {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  display: block;
  width: 100%;
  padding: 0;
  cursor: zoom-in;
  border-radius: 8px;
  border: 0;
  background-position: center;
  background-size: cover;
  font: inherit;
  text-align: left;
}

.work-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 35%, rgba(0, 0, 0, 0.66));
  transition: background 0.2s ease;
}

.work-card:hover::before,
.work-card:focus-visible::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.54));
}

.work-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.work-card span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  display: block;
  color: #fff;
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.12;
  text-align: left;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.work-hair-1 {
  background-image: url("images/hair1.jfif");
}

.work-hair-2 {
  background-image: url("images/hair2.jfif");
}

.work-hair-3 {
  background-image: url("images/hair3.jfif");
}

.work-hair-4 {
  background-image: url("images/hair4.jfif");
}

.work-hair-5 {
  background-image: url("images/hair5.jfif");
}

.work-cut-1 {
  background-image: url("images/cut1.jfif");
}

.work-cut-2 {
  background-image: url("images/cut2.jfif");
}

.work-nails {
  background-image: url("images/manic.webp");
}

.work-podolog {
  background-image: url("images/podolog.webp");
}

.reviews {
  overflow: hidden;
  padding: clamp(46px, 6.5vw, 78px) 0;
  background-image:
    linear-gradient(rgba(255, 250, 243, 0.88), rgba(255, 250, 243, 0.94)),
    url("images/hero.png");
  background-position: center;
  background-size: auto, cover;
  background-attachment: scroll, fixed;
}

.reviews-head {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 430px);
  gap: 36px;
  padding-top: 0;
  padding-bottom: 30px;
}

.reviews-head p:last-child {
  color: var(--muted);
  font-size: 17px;
}

.review-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.review-marquee::before,
.review-marquee::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(120px, 12vw);
  content: "";
  pointer-events: none;
}

.review-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper), rgba(255, 250, 243, 0));
}

.review-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper), rgba(255, 250, 243, 0));
}

.review-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 8px 18px 28px;
  animation: review-scroll 58s linear infinite;
}

.review-marquee:hover .review-track {
  animation-play-state: paused;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(530px, calc(100vw - 54px));
  min-height: 238px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(43, 35, 29, 0.08);
}

.review-author {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--accent);
  background: #f3eee8;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.warm-avatar {
  color: #fff;
  background: #c45b00;
}

.photo-avatar {
  background:
    linear-gradient(rgba(32, 32, 31, 0.1), rgba(32, 32, 31, 0.1)),
    url("https://images.unsplash.com/photo-1516834474-48c0abc2a902?auto=format&fit=crop&w=120&q=70") center / cover;
}

.review-author h3 {
  margin: 0 0 2px;
  font-size: 18px;
}

.review-author p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.review-author span[aria-label],
.review-author p span {
  color: #f6b800;
  letter-spacing: 0;
}

.review-card > p {
  margin: 0;
  color: #2d2a27;
  font-size: 16px;
}

@keyframes review-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

.trust {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) 1fr;
  gap: clamp(28px, 7vw, 86px);
}

.trust-list {
  display: grid;
  gap: 14px;
}

.trust-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-list svg {
  width: 28px;
  height: 28px;
  color: var(--sage);
}

.trust-list p {
  margin-bottom: 0;
}

.contacts {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) 1fr;
  min-height: 560px;
  background: var(--ink);
}

.contacts-panel {
  padding: clamp(36px, 7vw, 78px);
  color: #fff;
  font-family: var(--body-font);
}

.contacts-panel h2 {
  margin-bottom: 30px;
}

dl {
  display: grid;
  gap: 18px;
  margin: 0 0 30px;
}

dt {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.54);
  font-family: var(--display-font);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-family: var(--body-font);
  font-size: 19px;
  font-weight: 700;
}

.map-preview {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  min-height: 360px;
  padding: 28px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(42, 23, 20, 0.48), rgba(32, 32, 31, 0.68)),
    url("images/end.png") center / cover;
}

.map-preview svg {
  width: 54px;
  height: 54px;
}

.map-preview strong {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

.map-preview small {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: var(--paper);
}

.footer p {
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(17, 14, 13, 0.86);
  border: 0;
}

.lightbox-figure {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  max-width: min(94vw, 1180px);
  max-height: 88vh;
  margin: 0;
}

.lightbox-figure img {
  display: block;
  max-width: min(94vw, 1180px);
  max-height: 82vh;
  object-fit: contain;
  background: #171413;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.lightbox-figure figcaption {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--display-font);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.lightbox-close svg {
  width: 22px;
  height: 22px;
}

.body-locked {
  overflow: hidden;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav,
  .header-call {
    display: none;
  }

  .main-nav.is-open {
    position: fixed;
    top: 74px;
    right: 16px;
    left: 16px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav.is-open a:last-child {
    border-bottom: 0;
  }

  .menu-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .intro,
  .price,
  .works-head,
  .reviews-head,
  .trust,
  .contacts {
    grid-template-columns: 1fr;
  }

  .price {
    align-items: start;
  }

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

  .price-note {
    grid-column: auto;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    min-height: 300px;
  }

  .work-card span {
    font-size: 17px;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 760px;
    padding: 32px 18px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(26, 19, 17, 0.68), rgba(26, 19, 17, 0.28) 56%, rgba(26, 19, 17, 0.7)),
      url("images/hero.png") center / cover;
  }

  .hero-content {
    align-self: start;
    padding-top: 44px;
    padding-bottom: 210px;
  }

  .quick-card {
    right: 18px;
    bottom: 18px;
    grid-template-columns: 1fr;
  }

  .quick-card div {
    padding: 14px 16px;
  }

  .section {
    width: min(100% - 32px, 1160px);
    padding: 42px 0;
  }

  .works,
  .reviews {
    padding: 42px 0;
  }

  .reviews {
    background-attachment: scroll, scroll;
  }

  .section-head {
    display: block;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .price-table {
    margin-top: 0;
  }

  .contacts-panel {
    padding: 42px 18px;
  }

  .footer {
    display: grid;
  }
}
