/* ===================================================
   QUIET CHERRY V2 — Beauty Autopilot Template
   Solo hair master · airy premium editorial
   =================================================== */

:root {
  --bg: #f7f3ee;
  --bg-soft: #f1ece6;
  --bg-card: #fffdf9;
  --surface: #fbf7f2;

  --text: #282320;
  --text-secondary: #655d57;
  --text-muted: #9a9189;
  --text-dim: #b9afa7;

  --graphite: #342f2c;
  --graphite-soft: #4d4641;
  --graphite-faint: #7d736b;

  --cherry: #8b5a67;
  --cherry-soft: #b08b95;
  --cherry-pale: #efe1e4;

  --border: #ddd3ca;
  --border-light: #ebe3dc;
  --shadow: rgba(58, 42, 42, 0.05);
  --shadow-strong: rgba(58, 42, 42, 0.09);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;

  --radius: 24px;
  --radius-sm: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { min-height: 100vh; margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }
a:hover { color: var(--graphite); }
::selection { background: var(--cherry); color: #fff; }
:focus-visible { outline: 2px solid var(--cherry); outline-offset: 4px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(247, 243, 238, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(221, 211, 202, 0.8);
  padding: 0 2rem;
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-mark {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--graphite);
}

.nav-links {
  display: flex;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.25rem 0.9rem;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--graphite);
}

.nav-links a.active {
  background: rgba(255,255,255,0.58);
  box-shadow: inset 0 0 0 1px rgba(221, 211, 202, 0.9);
}

.hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding: 8.8rem 2rem 4rem;
}

.hero-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.84fr);
  gap: 3.75rem;
  align-items: center;
}

.hero-text {
  max-width: 540px;
}

.hero-eyebrow {
  margin: 0 0 1.35rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 10.8ch;
  font-family: var(--font-serif);
  font-size: clamp(3.25rem, 7vw, 6rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--graphite);
}

.hero h1 .highlight {
  color: var(--cherry);
}

.hero-lead {
  margin: 1.4rem 0 0;
  max-width: 36rem;
  color: var(--text-secondary);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.35rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.editorial-frame {
  position: relative;
  width: min(100%, 410px);
  aspect-ratio: 10 / 12;
  border-radius: 38px;
  border: 1px solid rgba(221, 211, 202, 0.95);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.72), transparent 36%),
    linear-gradient(160deg, rgba(139,90,103,0.05), rgba(139,90,103,0) 52%),
    linear-gradient(180deg, #faf6f1, #f3ede7 62%, #f0e8e1);
  box-shadow: 0 32px 90px var(--shadow);
  overflow: hidden;
}

.editorial-panel,
.editorial-ring,
.editorial-stem,
.editorial-chip {
  position: absolute;
}

.editorial-panel-main {
  inset: 12% 11% 24% 19%;
  border-radius: 28px;
  background: rgba(255,255,255,0.56);
  border: 1px solid rgba(255,255,255,0.68);
  box-shadow: 0 22px 52px rgba(255,255,255,0.18);
}

.editorial-panel-accent {
  inset: auto 15% 11% auto;
  width: 36%;
  height: 26%;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(139,90,103,0.18), rgba(139,90,103,0.04)), rgba(255,255,255,0.46);
  border: 1px solid rgba(255,255,255,0.62);
}

.editorial-ring {
  top: 16%;
  left: 14%;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 1px solid rgba(139,90,103,0.38);
}

.editorial-stem {
  left: 22%;
  bottom: 24%;
  width: 34%;
  height: 1px;
  background: rgba(77,70,65,0.5);
}

.editorial-chip {
  right: 18%;
  top: 23%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--cherry);
  box-shadow: 0 0 0 14px rgba(139,90,103,0.07);
}

.button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.82rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.button {
  background: var(--graphite);
  border-color: var(--graphite);
  color: #fff;
  box-shadow: 0 18px 42px var(--shadow);
}

.button:hover {
  background: var(--cherry);
  border-color: var(--cherry);
  color: #fff;
  opacity: 1;
}

.ghost-button {
  background: rgba(255,255,255,0.55);
  color: var(--graphite);
  border-color: rgba(221, 211, 202, 0.95);
}

.ghost-button:hover {
  background: #fff;
  border-color: var(--graphite);
  color: var(--graphite);
  opacity: 1;
}

.section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0)), var(--bg-soft);
  border-radius: 34px;
}

.section-header {
  margin-bottom: 2.3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-header .label {
  flex: none;
  color: var(--cherry);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-header .line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section-title {
  margin: 0 0 2.4rem;
  max-width: 12ch;
  color: var(--graphite);
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section-more {
  margin-top: 1.75rem;
  text-align: right;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.95fr;
  gap: 1.2rem;
}

.gallery-item {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item picture {
  display: block;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(221, 211, 202, 0.9);
  background: var(--bg-card);
  box-shadow: 0 18px 50px var(--shadow);
}

.gallery-item:first-child picture {
  height: 100%;
  min-height: 520px;
}

.gallery-item:not(:first-child) picture {
  min-height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item figcaption {
  padding-inline: 0.35rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(110px, 1fr) minmax(92px, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(221, 211, 202, 0.92);
}

.service-copy {
  min-width: 0;
}

.service-row h3 {
  margin: 0;
  color: var(--graphite);
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.service-row .price {
  color: var(--graphite);
  font-weight: 700;
  font-size: 0.98rem;
}

.service-row .duration {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-row .button-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(221, 211, 202, 0.95);
  background: #fff;
  color: var(--graphite-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-row .button-sm:hover {
  border-color: var(--graphite);
  color: var(--graphite);
  opacity: 1;
}

.team-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}

.master-card {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255,255,255,0.52);
  border: 1px solid rgba(221, 211, 202, 0.95);
  box-shadow: 0 18px 48px var(--shadow);
}

.master-card picture {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.master-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.master-card:hover img {
  transform: scale(1.03);
}

.master-card .info {
  padding: 1.45rem;
}

.master-card h3 {
  margin: 0 0 0.25rem;
  color: var(--graphite);
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.master-card .specialty {
  margin: 0 0 0.6rem;
  color: var(--cherry);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.master-card .bio {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.contacts-split {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}

.contact-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-block {
  padding: 1.2rem 1.3rem;
  border-radius: 22px;
  border: 1px solid rgba(221, 211, 202, 0.95);
  background: rgba(255,255,255,0.44);
}

.contact-block .tag {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-block .val {
  color: var(--graphite);
  font-size: 1rem;
  font-weight: 500;
}

.contact-block .val a {
  text-decoration: underline;
  text-decoration-color: var(--cherry-pale);
  text-underline-offset: 0.22rem;
}

.contact-block .val a:hover {
  text-decoration-color: var(--cherry);
}

.qr-frame {
  margin: 0;
  padding: 1.8rem;
  border-radius: 28px;
  border: 1px solid rgba(221, 211, 202, 0.95);
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.28)), var(--bg-card);
  text-align: center;
  box-shadow: 0 22px 56px var(--shadow);
}

.qr-frame img {
  margin: 0 auto 1rem;
}

.qr-frame figcaption {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.site-footer {
  padding: 2.2rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(221, 211, 202, 0.9);
  background: rgba(255,255,255,0.22);
}

.footer-inner p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-inner .brand {
  color: var(--graphite);
}

.detail-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 7.8rem 2rem 4rem;
}

.detail-wrap h1 {
  margin: 0 0 0.9rem;
  color: var(--graphite);
  font-family: var(--font-serif);
  font-size: clamp(2.7rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.detail-wrap picture {
  display: block;
  margin: 1.8rem 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(221, 211, 202, 0.95);
  box-shadow: 0 20px 52px var(--shadow);
}

.detail-wrap picture img {
  width: 100%;
}

.detail-wrap .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 1.6rem;
  margin-bottom: 1.35rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.detail-wrap .meta strong {
  color: var(--graphite);
  font-weight: 700;
}

.detail-wrap .desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.78;
  margin-bottom: 2rem;
}

@media (max-width: 980px) {
  .hero-inner,
  .contacts-split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding-inline: 1rem;
  }

  .header-inner {
    min-height: 60px;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    padding-inline: 0.7rem;
    font-size: 0.68rem;
  }

  .hero {
    padding: 8.9rem 1rem 3rem;
  }

  .section,
  .detail-wrap {
    padding-inline: 1rem;
  }

  .section {
    padding-block: 4rem;
  }

  .section-soft {
    border-radius: 26px;
  }

  .section-header {
    flex-wrap: wrap;
    gap: 0.7rem;
  }

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

  .gallery-item:first-child {
    grid-row: auto;
  }

  .gallery-item:first-child picture,
  .gallery-item:not(:first-child) picture {
    min-height: 220px;
  }

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

  .service-row .button-sm {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 2.9rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .ghost-button {
    width: 100%;
  }

  .gallery-grid,
  .team-row,
  .service-row {
    grid-template-columns: 1fr;
  }

  .service-row {
    padding: 1.2rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .detail-wrap .meta {
    flex-direction: column;
    gap: 0.35rem;
  }
}
