/* Layout idea: soft editorial salon. Blush paper, charcoal type, a deep rose accent,
   arched shapes that echo a salon mirror. Booking sits in the middle of the page. */
:root {
  --blush: #FBF4F1;
  --blush-2: #F2E3DE;
  --petal: #E8C3B9;
  --rose: #9E4A5A;
  --rose-dark: #7E3746;
  --ink: #2A2426;
  --mute: #6E5F63;
  --line: #E4D1CB;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}
svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
a { color: var(--rose-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.label { font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose-dark); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 500 16px var(--font-body); letter-spacing: 0.02em; text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--rose-dark); }
.btn-primary:disabled { background: #C9AEB3; cursor: not-allowed; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--blush); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 244, 241, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo { font-family: var(--font-display); font-size: 26px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo em { color: var(--rose); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--rose-dark); }
.menu-toggle { display: none; width: 48px; height: 48px; background: none; border: 0; color: var(--ink); cursor: pointer; }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(46px, 6.6vw, 86px); letter-spacing: -0.02em; }
.hero h1 em { color: var(--rose); }
.hero-copy > p { font-size: 20px; color: var(--mute); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; aspect-ratio: 4 / 5; }
.arch { position: absolute; inset: 0; border-radius: 999px 999px 24px 24px; background: var(--petal); overflow: hidden; }
.arch svg { width: 100%; height: 100%; }
.hero-badge {
  position: absolute; left: -28px; bottom: 40px; background: #fff; border-radius: 18px; padding: 16px 20px;
  box-shadow: 0 20px 40px -24px rgba(42, 36, 38, 0.45); display: flex; flex-direction: column; gap: 2px;
}
.hero-badge strong { font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.hero-badge span { font-size: 14px; color: var(--mute); }

/* Services / prices */
.prices { padding: 96px 0; background: #fff; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(38px, 5vw, 58px); margin-top: 10px; }
.section-head p { color: var(--mute); max-width: 42ch; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: var(--blush-2); }
.tab { min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0; background: transparent; font: 500 15px var(--font-body); color: var(--ink); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--blush); }
.price-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.price-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.price-item h3 { font-size: 23px; }
.price-item .price { font-family: var(--font-display); font-size: 21px; font-variant-numeric: tabular-nums; }
.price-item p { grid-column: 1 / -1; color: var(--mute); font-size: 15px; }
.price-item .time { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rose-dark); }
.price-note { margin-top: 24px; font-size: 15px; color: var(--mute); }

/* Stylists */
.team { padding: 96px 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font: 500 15px var(--font-body); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--rose); background: var(--rose); color: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.stylist { display: flex; flex-direction: column; gap: 12px; transition: opacity 0.25s ease, transform 0.25s ease; }
.stylist.dim { opacity: 0.28; transform: scale(0.98); }
.portrait { aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; overflow: hidden; }
.portrait svg { width: 100%; height: 100%; }
.stylist h3 { font-size: 24px; }
.stylist .role { font-size: 14px; color: var(--mute); }
.specs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.specs li { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--blush-2); }
.book-with { align-self: flex-start; background: none; border: 0; padding: 6px 0; font: 500 15px var(--font-body); color: var(--rose-dark); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* Booking */
.booking { padding: 96px 0; background: var(--ink); color: var(--blush); }
.booking .label { color: var(--petal); }
.booking-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 56px; align-items: start; }
.booking-intro { display: flex; flex-direction: column; gap: 18px; }
.booking-intro h2 { font-size: clamp(40px, 5.4vw, 64px); }
.booking-intro p { color: #CBBFC2; max-width: 34ch; }
.booker { background: var(--blush); color: var(--ink); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; }
.field > label, .field legend { font-weight: 600; font-size: 15px; padding: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
select { min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: 16px var(--font-body); color: var(--ink); }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.day {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  min-height: 72px; border-radius: 16px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font: 500 14px var(--font-body); color: var(--ink);
}
.day b { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.1; }
.day[aria-pressed="true"] { background: var(--rose); border-color: var(--rose); color: #fff; }
.day:disabled { background: transparent; color: #B7A8AC; cursor: not-allowed; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.time-btn { min-height: 46px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 15px var(--font-body); color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; }
.time-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--blush); }
.time-btn:disabled { text-decoration: line-through; color: #B7A8AC; background: transparent; cursor: not-allowed; }
.summary { border-top: 1px dashed var(--line); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.summary p { font-size: 15px; color: var(--mute); max-width: 40ch; }
.summary strong { color: var(--ink); font-weight: 600; }
.confirm { display: none; flex-direction: column; gap: 14px; text-align: left; }
.confirm.active { display: flex; }
.confirm h3 { font-size: 34px; }
.confirm p { color: var(--mute); }

/* Social feed */
.social { padding: 96px 0; background: var(--blush-2); }
.handle-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); text-decoration: none; min-height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ink); }
.handle-link:hover { background: var(--ink); color: var(--blush); }
.feed { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.post { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--petal); }
.post svg { width: 100%; height: 100%; transition: transform 0.4s ease; }
.post:hover svg { transform: scale(1.05); }
.post .post-tag { position: absolute; left: 8px; bottom: 8px; font: 500 12px var(--font-body); color: #fff; background: rgba(42, 36, 38, 0.6); padding: 3px 9px; border-radius: 999px; opacity: 0; transition: opacity 0.2s ease; }
.post:hover .post-tag, .post:focus-visible .post-tag { opacity: 1; }
dialog.lightbox { border: 0; padding: 0; border-radius: 24px; width: min(860px, calc(100% - 32px)); background: var(--blush); color: var(--ink); }
dialog.lightbox::backdrop { background: rgba(42, 36, 38, 0.7); }
.lb { display: grid; grid-template-columns: 1.1fr 0.9fr; }
.lb-img svg { width: 100%; height: 100%; aspect-ratio: 1; }
.lb-side { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.lb-who { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.lb-who i { width: 34px; height: 34px; border-radius: 50%; background: var(--rose); display: block; }
.lb-side h3 { font-size: 26px; }
.lb-side p { color: var(--mute); }
.lb-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.lb-nav { display: flex; gap: 8px; }
.lb-nav button, .lb-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; color: var(--ink); }
.lb-close { position: absolute; top: 12px; right: 12px; }
.feed-note { margin-top: 18px; font-size: 14px; color: var(--mute); }
@media (max-width: 960px) { .feed { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .social { padding: 64px 0; }
  .lb { grid-template-columns: 1fr; }
  .lb-side { padding: 20px; }
  dialog.lightbox { max-height: calc(100% - 32px); overflow: auto; }
}
@media (prefers-reduced-motion: reduce) { .post svg, .post .post-tag { transition: none; } }

/* Footer */
.site-footer { padding: 48px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--mute); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }

/* Tablet */
@media (max-width: 960px) {
  .hero-grid, .booking-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-list { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px; background: var(--blush); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { margin-top: 16px; }
  .nav-links .btn { width: 100%; }
  .hero { padding: 40px 0 64px; }
  .hero-badge { left: 12px; bottom: 16px; }
  .prices, .team, .booking { padding: 64px 0; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .field-row { grid-template-columns: 1fr; }
  .booker { padding: 22px; border-radius: 22px; }
  .days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stylist, .btn { transition: none; }
}
