/* THEME AND BASE */
:root {
  --primary-color: #9a4b31;
  --secondary-color: #262725;
  --accent-color: #e7a889;
  --text-color: #292b28;
  --bg-color: #f7f6f2;
  --card-bg: #fff;
  --muted: #64655f;
  --line: #d9d8d0;
  --container: 1200px;
  --radius: 8px;
  --space: 40px;
  --body-font: Arial, Helvetica, sans-serif;
  --heading-font: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--text-color); background: var(--bg-color); font: 16px/1.6 var(--body-font); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a, button { transition: color .3s ease, background .3s ease, transform .3s ease; }
button { border: 0; }
img { display: block; width: 100%; height: auto; }
svg { width: 30px; height: 30px; flex-shrink: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--heading-font); font-weight: 400; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(42px, 6.5vw, 84px); }
h2 { font-size: 32px; }
h3 { line-height: 1.3; }
em { color: var(--primary-color); font-weight: 400; }
p + p { margin-top: 20px; }
:focus-visible { outline: 3px solid #ae5b39; outline-offset: 5px; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding-block: var(--space); }
.eyebrow { margin-bottom: 22px; font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.skip-link { position: fixed; z-index: 20; top: -100px; left: 20px; padding: 12px; background: white; }
.skip-link:focus { top: 12px; }
.button { display: inline-flex; min-height: 50px; justify-content: center; align-items: center; padding: 12px 24px; border: 1px solid transparent; border-radius: 3px; color: #242521; background: var(--accent-color); font-weight: 600; text-align: center; }
.button:hover { background: #f0bd9f; transform: translateY(-2px); }
.button-outline { border-color: #8d8e85; color: inherit; background: transparent; }
.button-outline:hover { color: #262725; background: #eeeae1; }
.button-dark { color: white; background: var(--secondary-color); }
.button-dark:hover { color: white; background: #464a40; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
/* HEADER */
.header { position: sticky; top: 0; z-index: 10; background: var(--bg-color); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 86px; align-items: center; gap: 16px; }
.brand { display: inline-block; font: 36px/1 var(--heading-font); letter-spacing: -.065em; }
.brand span { display: block; margin-top: 9px; font: 9px/1.5 var(--body-font); letter-spacing: .18em; }
.header-phone { margin-left: auto; font-size: 14px; font-weight: 600; white-space: nowrap; }
.navigation { position: absolute; top: 86px; right: 0; left: 0; display: none; padding: 18px 20px; background: var(--bg-color); border-bottom: 1px solid var(--line); }
.navigation.is-open { display: grid; }
.navigation a { display: flex; min-height: 44px; align-items: center; font-size: 14px; }
.navigation a:hover, .text-link:hover { color: var(--primary-color); }
.menu-toggle { display: grid; width: 44px; height: 44px; align-content: center; gap: 7px; padding: 10px; background: transparent; }
.menu-toggle span { height: 1px; background: var(--text-color); }
/* HERO */
.hero { position: relative; color: #f7f6f2; background: var(--secondary-color); }
.hero-image { height: 260px; overflow: hidden; }
.hero-image img { height: 100%; object-fit: cover; object-position: center 55%; }
.hero-inner { padding-block: 38px 44px; }
.hero-copy { animation: enter .7s ease both; }
.hero .eyebrow { color: #dddcd4; font-size: 11px; }
.hero em { color: var(--accent-color); }
.hero-description { max-width: 390px; margin-block: 24px 28px; color: #d5d6ce; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; font-size: 12px; color: #d1d2c9; }
.hero-meta strong { color: #fff; font-weight: 500; }
.stars { color: var(--primary-color); letter-spacing: .1em; white-space: nowrap; }
.hero .stars { color: var(--accent-color); font-size: 12px; }
.photo-caption { display: none; }
.category-band { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 16px 24px; padding: 22px 20px; color: #d6d6cb; background: #34372f; font-size: 11px; letter-spacing: .17em; }
.category-band span:nth-child(even) { color: var(--accent-color); }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
/* BENEFITS */
.benefits { display: grid; gap: 30px; padding-block: 40px; }
.benefits article { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.benefits svg { margin-bottom: 18px; color: var(--primary-color); }
.benefits h2 { margin-bottom: 12px; font: 600 20px/1.3 var(--body-font); letter-spacing: -.02em; }
.benefits p { color: var(--muted); }
/* SERVICES */
.services { background: #efeee8; }
.section-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-heading > p { max-width: 350px; color: var(--muted); }
.services-grid { display: grid; gap: 14px; }
.service-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid #deded6; border-radius: var(--radius); background: var(--card-bg); transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 25px #2627250c; }
.service-card svg { margin-bottom: 24px; color: var(--primary-color); }
.service-card h3 { margin-bottom: 14px; font-size: 20px; font-weight: 500; }
.service-card p { margin-bottom: 26px; color: var(--muted); }
.card-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.card-bottom strong { font-size: 19px; font-weight: 500; }
.card-bottom a { display: flex; min-height: 44px; align-items: center; color: var(--primary-color); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.price-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; }
.price-cta p { color: var(--muted); }
/* ABOUT */
.about-grid { display: grid; gap: 35px; align-items: center; }
.about-copy h2 { margin-bottom: 26px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); }
.text-link { display: inline-block; margin-top: 24px; padding-block: 10px; border-bottom: 1px solid var(--primary-color); }
.about-photos { position: relative; order: -1; padding-right: 38px; padding-bottom: 65px; }
.hair-photo { width: 77%; }
.hair-photo img { aspect-ratio: 3/4; object-fit: cover; }
figcaption { padding-top: 12px; font-size: 10px; letter-spacing: .13em; }
.nail-photo { position: absolute; right: 0; bottom: 0; width: 49%; padding: 8px; background: var(--bg-color); }
.nail-photo img { aspect-ratio: 1; object-fit: cover; }
/* REVIEWS */
.reviews { background: #efeee8; }
.rating-link { display: flex; align-items: center; gap: 14px; font-size: 12px; }
.rating-link > strong { font: 48px/1 var(--heading-font); }
.rating-link .stars { font-size: 16px; }
.reviews-grid { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; }
.review { display: flex; flex: 0 0 92%; flex-direction: column; padding: 24px; border-top: 2px solid #aa7257; background: var(--bg-color); scroll-snap-align: start; }
.review blockquote { margin: 18px 0 24px; font-size: 16px; overflow-wrap: anywhere; }
.review-author { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.review-author time { color: var(--muted); font-size: 12px; }
.swipe-hint { margin-top: 12px; color: var(--muted); font-size: 14px; }
/* CONTACTS */
.contacts { color: #f7f6f2; background: var(--secondary-color); }
.contacts em { color: var(--accent-color); }
.contact-grid { display: grid; gap: 36px; }
.contacts h2 { margin-bottom: 24px; }
.contacts p { color: #d5d6ce; }
.contact-phone { display: block; width: fit-content; margin-block: 24px; font-size: clamp(22px, 3vw, 34px); }
.social-links { display: flex; flex-wrap: wrap; gap: 18px; padding-inline: 4px; }
.social-links a { display: flex; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: 5px; }
.address-card { padding: 28px; border: 1px solid #62665b; border-radius: var(--radius); }
.address-card h3 { margin-top: 18px; font: 28px/1.25 var(--heading-font); }
.opening { display: flex; gap: 18px; align-items: center; margin-block: 28px; }
.opening svg { color: var(--accent-color); }
.address-card .button { width: 100%; padding-inline: 12px; }
/* FOOTER */
.footer { padding-block: 30px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; font-size: 14px; }
.footer .brand { font-size: 32px; }
.privacy-link { min-height: 44px; padding: 8px 0; background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.footer-inner > a:last-child { display: flex; min-height: 44px; align-items: center; }
/* DIALOGS */
dialog { width: min(800px, calc(100% - 24px)); max-height: 88dvh; padding: 24px; color: var(--text-color); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-color); }
dialog::backdrop { background: #171a17c9; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.dialog-heading .eyebrow { margin-bottom: 12px; }
.dialog-close { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: #e4e3db; font-size: 28px; line-height: 1; }
.price-list { margin: 24px 0; padding: 0; list-style: none; }
.price-row { display: grid; gap: 6px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.price-row span { overflow-wrap: anywhere; }
.price-row strong { color: var(--primary-color); white-space: nowrap; }
/* TABLET */
@media (min-width: 768px) {
  :root { --space: 65px; }
  h2 { font-size: 42px; }
  .hero-image { height: 400px; }
  .hero-inner { padding-block: 50px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-block: 55px; }
  .benefits article { border-bottom: 0; padding-bottom: 0; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
  .about-photos { order: 0; }
  .reviews-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .swipe-hint { display: none; }
  .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 70px; }
  .address-card { padding: 34px; }
  dialog { padding: 36px; }
  .price-row { grid-template-columns: minmax(0, 1fr) auto; gap: 28px; }
}
/* DESKTOP */
@media (min-width: 1024px) {
  :root { --space: 80px; }
  h2 { font-size: 46px; }
  .header-inner { min-height: 96px; }
  .brand { font-size: 42px; }
  .navigation { position: static; display: flex; flex: 1; justify-content: center; gap: 26px; padding: 0; border: 0; }
  .header-phone { padding: 10px 18px; border: 1px solid #bfbfb5; border-radius: 3px; }
  .menu-toggle { display: none; }
  .hero { min-height: 660px; }
  .hero-image { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; height: auto; }
  .hero-image img { object-position: 54% center; }
  .hero-inner { position: relative; padding-block: 64px; pointer-events: none; }
  .hero-copy { width: 47%; pointer-events: auto; }
  .hero h1 { font-size: 76px; }
  .hero-description { max-width: 385px; }
  .photo-caption { position: absolute; right: 28px; bottom: 25px; display: block; padding: 9px 14px; color: #fff; background: #262725e6; font-size: 10px; letter-spacing: .2em; }
  .category-band { padding-block: 22px; }
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-card { min-height: 300px; padding: 30px; }
  .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-grid { gap: 90px; }
  .about-photos { padding-bottom: 90px; }
}
@media (min-width: 1440px) {
  .hero { min-height: 690px; }
  .hero-inner { padding-block: 78px; }
  .hero h1 { font-size: 84px; }
}
/* SMALL SCREENS AND REDUCED MOTION */
@media (max-width: 359px) {
  .container { width: calc(100% - 32px); }
  .header-inner { gap: 8px; }
  .header-phone { font-size: 12px; }
  .brand { font-size: 30px; }
  .hero .actions .button { width: 100%; }
  .hero-meta { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none; transition: none; }
  .hero-copy { animation: none; }
}
