﻿@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Noto+Sans+SC:wght@400;500;700;900&display=swap");

:root {
  --bg: #f4f1ec;
  --bg-soft: #faf8f4;
  --surface: #ffffff;
  --surface-deep: #13100d;
  --text: #1f1a17;
  --text-muted: #6f645b;
  --line: #e8dfd4;
  --primary: #8b5a2b;
  --primary-deep: #6d431d;
  --secondary: #c79b68;
  --gold: #b9844e;
  --success: #2f7d4f;
  --danger: #b44c3f;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 18px 44px rgba(33, 24, 16, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(139, 90, 43, 0.1), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(199, 155, 104, 0.12), transparent 28%),
    var(--bg);
  line-height: 1.72;
  padding-top: 104px;
  overflow-x: hidden;
}

body.mobile-ui {
  -webkit-tap-highlight-color: transparent;
}

body.page-transition-enabled {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.34s ease, transform 0.34s ease;
}

body.page-transition-enabled.page-entered {
  opacity: 1;
  transform: translateY(0);
}

body.page-transition-enabled.page-leaving {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

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

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

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.scrolled .site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(181, 157, 132, 0.45);
  box-shadow: 0 8px 26px rgba(34, 24, 16, 0.08);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 130;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.scroll-progress-bar {
  width: 100%;
  height: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, #d29e69 0%, #b9844e 48%, #8b5a2b 100%);
  box-shadow: 0 1px 10px rgba(154, 98, 51, 0.45);
  transition: transform 0.16s ease-out;
}

.header-inner {
  min-height: 104px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 12px;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.brand strong {
  font-family: "Cinzel", serif;
  font-size: clamp(21px, 3.2vw, 31px);
  letter-spacing: 0.5px;
  color: #1f1711;
}

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

.brand-badge {
  border-radius: 999px;
  border: 1px solid rgba(185, 132, 78, 0.35);
  background: #fff7ef;
  color: #6f441f;
  padding: 7px 13px;
  font-size: 12px;
  white-space: nowrap;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.nav-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(34, 26, 20, 0.16);
  background: #fff;
  color: #3f3126;
  font-size: 18px;
  cursor: pointer;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.main-nav a {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
  background: rgba(185, 132, 78, 0.14);
}

.nav-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.badge-link {
  border-radius: 999px;
  border: 1px solid rgba(34, 26, 20, 0.15);
  background: #fff;
  color: #44362b;
  font-size: 12px;
  padding: 8px 13px;
  transition: all 0.2s ease;
}

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

.badge-link.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
}

main {
  padding: 28px 0 76px;
}

.section {
  margin-top: 28px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 12px;
  line-height: 1.32;
  color: #1d1713;
}

h1 {
  font-size: clamp(31px, 4.8vw, 64px);
  font-family: "Cinzel", serif;
  font-weight: 600;
}

h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-family: "Cinzel", serif;
  font-weight: 600;
}

h3 {
  font-size: clamp(18px, 2.1vw, 24px);
}

.lead {
  font-size: 16px;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.hero-luxe {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: clamp(580px, 78vh, 760px);
  background:
    linear-gradient(102deg, rgba(11, 8, 6, 0.8) 0%, rgba(11, 8, 6, 0.58) 45%, rgba(11, 8, 6, 0.26) 100%),
    url("/assets/salon-hero.svg") center / cover no-repeat;
  box-shadow: var(--shadow-soft);
  will-change: background-position;
}

.hero-luxe::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    128deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.02) 44%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateY(var(--hero-overlay-shift, 0px));
  transition: transform 0.35s ease;
}

.hero-luxe.tall {
  min-height: clamp(620px, 84vh, 860px);
}

.hero-luxe-inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  align-items: center;
  padding: clamp(22px, 5vw, 60px);
}

.hero-luxe-content {
  width: min(720px, 100%);
}

.hero-luxe h1 {
  color: #fff;
  margin-bottom: 10px;
}

.gold-accent {
  color: #d6a063;
}

.hero-luxe .lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
}

.hero-kicker {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-kicker span {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 11px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.08);
}

.luxe-search {
  margin-top: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  padding: 12px;
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.search-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-item label {
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 10px;
  color: #7d6f63;
  margin: 0;
}

.search-item input,
.search-item select {
  border: 1px solid #dfd4c9;
  border-radius: 10px;
  padding: 9px 10px;
  font-size: 13px;
  background: #fff;
  min-height: 40px;
}

.split-layer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.stack-wrap {
  position: relative;
  min-height: 100%;
}

.stack-main {
  height: 100%;
}

.stack-float {
  position: absolute;
  right: -12px;
  bottom: -16px;
  width: min(280px, 82%);
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #fff, #f8f2eb);
  padding: 14px;
  box-shadow: 0 18px 30px rgba(34, 25, 18, 0.14);
}

.stack-float h4 {
  margin: 0 0 8px;
  font-family: "Cinzel", serif;
  font-size: 18px;
}

.stack-float p {
  margin: 0;
  color: #6b5d52;
  font-size: 12px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gallery-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.gallery-card img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card .body {
  padding: 13px;
}

.hero-stats {
  margin-top: 18px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  color: #fff;
  font-size: clamp(21px, 3vw, 33px);
  font-family: "Cinzel", serif;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.4vw, 30px);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.card::after,
.service-card::after,
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 48%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-120%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.35s ease;
}

.card:hover::after,
.service-card:hover::after,
.gallery-card:hover::after {
  transform: translateX(120%);
  opacity: 0.45;
}

body.perf-lite .card::after,
body.perf-lite .service-card::after,
body.perf-lite .gallery-card::after {
  display: none;
}

body.perf-lite .hero-luxe::after {
  transition: none;
}

body.perf-lite .ticker-track {
  animation-duration: 26s;
}

.hero-image {
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.04);
}

.meta-row {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #56493f;
  font-size: 12px;
  padding: 7px 12px;
}

.cta-row {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 11px;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  will-change: transform;
  min-height: 42px;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 46%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-150%);
  transition: transform 0.45s ease;
  pointer-events: none;
  z-index: 0;
}

.btn:hover::after {
  transform: translateX(140%);
}

.btn > * {
  position: relative;
  z-index: 1;
}

.motion-ready .btn.btn-micro {
  transition:
    transform 0.15s ease-out,
    box-shadow 0.2s ease-out,
    opacity 0.2s ease;
}

.motion-ready .btn.btn-micro.is-pressed {
  transform: translateY(1px) scale(0.98) !important;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #724622);
  box-shadow: 0 10px 24px rgba(116, 71, 33, 0.25);
}

.btn-secondary {
  color: #3f3126;
  background: #f6efe7;
  border: 1px solid #dfd2c5;
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.article-item,
.order-item,
.story-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 15px;
}

.service-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(31, 22, 15, 0.12);
}

.story-list,
.article-list,
.order-grid {
  display: grid;
  gap: 11px;
}

@supports (content-visibility: auto) {
  .service-card,
  .article-item,
  .order-item,
  .story-item,
  .gallery-card {
    content-visibility: auto;
    contain-intrinsic-size: 1px 240px;
  }
}

.news-ticker {
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
}

.ticker-track {
  display: flex;
  gap: 42px;
  width: max-content;
  padding: 12px 16px;
  animation: tickerMove 16s linear infinite;
}

.ticker-item {
  color: #55463a;
  white-space: nowrap;
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  color: #66584d;
  font-size: 12px;
}

input,
textarea,
select {
  border: 1px solid #ddd0c4;
  border-radius: 10px;
  padding: 10px 11px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  min-height: 40px;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

.notice {
  margin-top: 9px;
  font-size: 13px;
}

.notice.ok {
  color: var(--success);
}

.notice.err {
  color: var(--danger);
}

.kv {
  display: flex;
  gap: 8px 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #6e6259;
}

.timeline {
  margin-top: 10px;
  border-left: 2px solid #ddcbb7;
  padding-left: 13px;
  display: grid;
  gap: 8px;
}

.timeline-item {
  font-size: 12px;
  color: #594a3e;
}

.timeline-item time {
  display: block;
  color: #8f7f72;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

th,
td {
  border-bottom: 1px solid #ebdfd3;
  text-align: left;
  font-size: 13px;
  padding: 9px 8px;
}

th {
  color: #6a5b4f;
}

.price {
  color: var(--primary-deep);
  font-weight: 800;
}

.article-meta {
  color: #917f71;
  font-size: 11px;
}

.phone-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  border-radius: 14px;
  padding: 11px 13px;
  color: #fff;
  background: linear-gradient(135deg, #8b5a2b, #6a421e);
  box-shadow: 0 14px 25px rgba(32, 20, 12, 0.3);
}

.phone-float span {
  font-size: 11px;
  opacity: 0.86;
}

.phone-float strong {
  display: block;
  font-size: 14px;
}

.footer {
  background: #1b1612;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 0 34px;
  font-size: 12px;
}

.footer strong {
  color: #fff;
}

.anchor-flash {
  position: relative;
  animation: anchorPulse 1.1s ease;
}

@keyframes anchorPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(186, 133, 79, 0.42);
    background-color: rgba(214, 160, 99, 0.09);
  }
  72% {
    box-shadow: 0 0 0 12px rgba(186, 133, 79, 0);
    background-color: rgba(214, 160, 99, 0.03);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(186, 133, 79, 0);
    background-color: transparent;
  }
}

.reveal {
  animation: revealUp 0.6s ease both;
}

.motion-ready .reveal {
  animation: none;
}

.motion-ready [data-motion="reveal"] {
  opacity: 0;
  transform: translateY(18px) scale(0.99);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
  transition-delay: var(--motion-delay, 0ms);
}

.motion-ready [data-motion="reveal"].is-inview {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal.delay-1 {
  animation-delay: 0.08s;
}

.reveal.delay-2 {
  animation-delay: 0.16s;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

:focus-visible {
  outline: 2px solid #bb854f;
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .container {
    width: min(1180px, 94vw);
  }

  body {
    padding-top: 114px;
  }

  .header-inner {
    min-height: 114px;
  }

  .hero,
  .grid-3,
  .grid-2,
  .form-grid,
  .search-grid,
  .split-layer,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-luxe {
    min-height: 640px;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(1180px, calc(100vw - 24px));
  }

  .brand-row {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .brand-badge {
    display: none;
  }

  .nav-mobile-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .nav-wrap {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    transition: max-height 0.26s ease, opacity 0.24s ease, transform 0.24s ease;
    gap: 10px;
    pointer-events: none;
  }

  .site-header.is-open .nav-wrap {
    max-height: 420px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    padding-bottom: 8px;
  }

  .main-nav {
    width: 100%;
    overflow-x: visible;
    flex-wrap: wrap;
    padding-bottom: 0;
    gap: 6px;
  }

  .main-nav a {
    white-space: nowrap;
    font-size: 14px;
    padding: 9px 12px;
  }

  .nav-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  .badge-link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-luxe {
    min-height: 620px;
  }

  .hero-luxe.tall {
    min-height: 640px;
  }

  .hero-luxe-inner {
    padding: 22px;
    align-items: flex-start;
    padding-top: 44px;
  }

  .phone-float {
    left: 10px;
    right: 10px;
    text-align: center;
    bottom: calc(10px + env(safe-area-inset-bottom));
  }

  .stack-float {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn,
  .cta-row .badge-link {
    width: 100%;
  }

  .search-grid {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .motion-ready [data-motion="reveal"] {
    opacity: 1 !important;
    transform: none !important;
  }
}
