/**
 * STUDIO S — 美发沙龙品牌官网
 * 黑白时尚 + 金色点缀 (#C9A84C)
 * 杂志风格排版，大留白，图文错落
 */


/* ============================================================
   CSS 变量体系
   ============================================================ */
:root {
  /* 基底色 */
  --bg-white: #FFFFFF;
  --bg-light: #F5F5F5;
  --bg-gray: #E8E8E8;
  --bg-dark: #1A1A1A;
  --bg-black: #0D0D0D;

  /* 金色点缀 */
  --gold: #C9A84C;
  --gold-light: #DFC078;
  --gold-dark: #A88A2E;
  --gold-dim: rgba(201, 168, 76, 0.12);

  /* 文字色阶 */
  --text-primary: #1A1A1A;
  --text-secondary: #555555;
  --text-muted: #999999;
  --text-on-dark: #EEEEEE;
  --text-on-dark-muted: #999999;

  /* 边框 */
  --border-default: #E0E0E0;
  --border-light: #EEEEEE;
  --border-gold: rgba(201, 168, 76, 0.3);

  /* 阴影 */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
  --shadow-gold: 0 4px 24px rgba(201, 168, 76, 0.15);

  /* 圆角 */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;

  /* 间距 */
  --section-py: 100px;
  --container-max: 1280px;
  --header-h: 72px;

  /* 过渡 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 180ms;
  --duration-normal: 350ms;
  --duration-slow: 600ms;

  /* 字体 */
  --font-heading: 'Cormorant Garamond', 'Noto Serif SC', 'STSong', 'Songti SC', 'SimSun', 'Times New Roman', serif;
  --font-body: 'Jost', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', -apple-system, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;
}

/* ============================================================
   全局重置
   ============================================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  background: var(--bg-white);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: rgba(201,168,76,0.2); color: var(--text-primary); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: #CCC; border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

a { color: inherit; text-decoration: none; transition: color var(--duration-fast); }
img { max-width:100%; height:auto; display:block; }
ul, ol { list-style:none; }
input, textarea, select, button { font-family:inherit; font-size:inherit; }
input::placeholder, textarea::placeholder { color: var(--text-muted); opacity:1; }

/* ============================================================
   排版
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.25;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
}

/* ============================================================
   布局容器
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: var(--section-py) 0; }

/* 深色区块 */
.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark-muted);
}
.section--dark .section-title,
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--text-on-dark); }
.section--dark .section-subtitle { color: var(--text-on-dark-muted); }
.section--dark .section-tag { color: var(--gold-light); }

/* 浅灰区块 */
.section--light { background: var(--bg-light); }

/* 黑色区块 */
.section--black {
  background: var(--bg-black);
  color: var(--text-on-dark-muted);
}
.section--black .section-title,
.section--black h1, .section--black h2, .section--black h3 { color: #fff; }

/* ============================================================
   按钮系统
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  font-family: var(--font-body);
  text-transform: uppercase;
}

.btn--primary {
  background: var(--text-primary);
  color: #fff;
  border: 1px solid var(--text-primary);
}
.btn--primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}
.btn--outline:hover {
  background: var(--text-primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
}
.btn--gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn--gold-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn--gold-outline:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-1px);
}

.btn--white {
  background: #fff;
  color: var(--text-primary);
  border: 1px solid #fff;
}
.btn--white:hover {
  background: transparent;
  color: #fff;
}

.btn--white-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}
.btn--white-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.05);
}

.btn--lg { padding: 16px 40px; font-size: 0.9rem; }
.btn--sm { padding: 8px 20px; font-size: 0.78rem; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--duration-normal) var(--ease-out);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: auto;
}

.header__logo-icon {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header__logo-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.header__logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-body);
}

/* 主导航 */
.header__nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.header__nav-link {
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
  white-space: nowrap;
  text-transform: uppercase;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--gold);
}

/* 导航下拉 */
.header__nav-item {
  position: relative;
}

.header__nav-item:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 60;
}

.header__dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
  letter-spacing: 0.04em;
}
.header__dropdown a:hover {
  color: var(--gold);
  background: var(--bg-light);
}

/* 右侧操作区 */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 24px;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--duration-fast);
}
.header__cta:hover {
  background: var(--gold);
  color: #fff;
}

/* ============================================================
   汉堡菜单（移动端）
   ============================================================ */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
  margin-left: 8px;
}

.hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text-primary);
  transition: all var(--duration-normal) var(--ease-out);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

/* 移动端侧滑菜单 */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 80%; max-width: 340px;
  background: #fff;
  z-index: 120;
  transform: translateX(-100%);
  transition: transform var(--duration-normal) var(--ease-out);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav__inner { padding: 24px; padding-top: 80px; }

.mobile-nav__link {
  display: block;
  padding: 14px 16px;
  font-size: 0.95rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  letter-spacing: 0.04em;
}

.mobile-nav__sub {
  padding-left: 20px;
  display: none;
  background: var(--bg-light);
}
.mobile-nav__sub.open { display: block; }
.mobile-nav__sub a {
  display: block;
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 115;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal);
}
.mobile-nav__overlay.show { opacity: 1; pointer-events: auto; }

/* ============================================================
   内页 Banner
   ============================================================ */
.inner-banner {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: var(--bg-dark);
}

.inner-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
}

.inner-banner__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

.inner-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.inner-banner__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
}

/* 面包屑 */
.breadcrumb-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px 32px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { font-size: 0.6rem; color: var(--text-muted); }

/* ============================================================
   首页 — Hero Banner
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--bg-black);
}

.hero .swiper {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.7) 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 120px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.hero__tag {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 700px;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.65);
  margin-bottom: 2rem;
  font-weight: 300;
  max-width: 500px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero 分页器 */
.hero-pagination {
  display: flex;
  gap: 6px;
  margin-top: 28px;
}
.hero-pagination .swiper-pagination-bullet {
  width: 30px; height: 1.5px;
  border-radius: 0;
  background: rgba(255,255,255,0.3);
  opacity: 1;
  transition: all var(--duration-normal);
}
.hero-pagination .swiper-pagination-bullet-active {
  width: 50px;
  background: var(--gold);
}

/* Hero 滚动指示器 */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.35);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollFloat 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

@keyframes scrollFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   首页 — 服务卡片网格
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border-light);
}

.service-card {
  background: var(--bg-white);
  padding: 48px 28px;
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-out);
}

.service-card:hover { background: var(--bg-light); }
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  transition: all var(--duration-normal) var(--ease-out);
}

.service-card:hover .service-card__icon {
  background: var(--gold);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.service-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   首页 — 图库网格
   ============================================================ */
.gallery-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.gallery-home-item {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
}

.gallery-home-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: all var(--duration-slow) var(--ease-out);
}

.gallery-home-item:hover img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.gallery-home-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,0,0,0.6));
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.gallery-home-item:hover .gallery-home-item__overlay { opacity: 1; }

.gallery-home-item__tag {
  color: var(--gold-light);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.gallery-home-item__title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-top: 4px;
}

/* ============================================================
   首页 — 产品卡片（深色）
   ============================================================ */
.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.product-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.product-card__image {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-light);
}

.product-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.product-card:hover .product-card__image img { transform: scale(1.04); }

.product-card__body { padding: 20px; }

.product-card__tag {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
  font-weight: 500;
}

.product-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.product-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   首页 — 关于我们
   ============================================================ */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-preview__image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-gray);
}

.about-preview__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

.about-preview__image::after {
  content: '';
  position: absolute;
  top: 20px; left: -20px;
  width: 100%; height: 100%;
  border: 1px solid var(--gold);
  z-index: -1;
}

.about-preview__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-preview__content p {
  line-height: 1.9;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ============================================================
   首页 — 对比展示
   ============================================================ */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.compare-item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.compare-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.compare-item:hover img { transform: scale(1.05); }

.compare-item__label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 10px 14px;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

/* ============================================================
   首页 — 评价卡片
   ============================================================ */
.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 36px;
  transition: all var(--duration-normal) var(--ease-out);
}

.testimonial-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.testimonial-card__stars {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-card__author {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   首页 — 新闻卡片
   ============================================================ */
.news-card-h {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
  transition: all var(--duration-fast);
}
.news-card-h:last-child { border-bottom: none; }

.news-card-h:hover { padding-left: 12px; }
.news-card-h:hover .news-card-h__title { color: var(--gold); }

.news-card-h__image {
  width: 140px; height: 100px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-gray);
}

.news-card-h__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow);
}

.news-card-h:hover .news-card-h__image img { transform: scale(1.05); }

.news-card-h__body { flex: 1; min-width: 0; }

.news-card-h__date {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  font-weight: 500;
}

.news-card-h__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 6px;
  transition: color var(--duration-fast);
}

.news-card-h__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   首页 — CTA
   ============================================================ */
.cta-section {
  text-align: center;
  padding: 100px 0;
  background: var(--bg-black);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  margin-bottom: 1rem;
}
.cta-section__subtitle {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  margin-bottom: 36px;
}

/* ============================================================
   列表页 — 通用网格
   ============================================================ */
.list-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.list-header { text-align: center; margin-bottom: 48px; }
.list-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem,4vw,2.5rem);
  margin-bottom: 0.5rem;
}

/* 子栏目过滤栏 */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 40px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  justify-content: center;
}
.filter-bar::-webkit-scrollbar { display: none; }

.filter-bar a {
  display: inline-flex;
  padding: 10px 24px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all var(--duration-fast);
}
.filter-bar a:hover,
.filter-bar a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ============================================================
   详情页
   ============================================================ */
.detail { max-width: 860px; margin: 0 auto; }

.detail__header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.detail__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem,4vw,2.5rem);
  margin-bottom: 12px;
}

.detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.detail__meta i { margin-right: 4px; color: var(--gold); }

.detail__params {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(170px,1fr));
  gap: 12px;
  margin-bottom: 36px;
}

.detail__param {
  padding: 20px 16px;
  background: var(--bg-light);
  text-align: center;
  border: 1px solid var(--border-light);
}

.detail__param-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.detail__param-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail__body {
  color: var(--text-secondary);
  line-height: 2;
  font-size: 0.95rem;
}
.detail__body img {
  margin: 24px 0;
  max-width: 100%;
}
.detail__body p { margin-bottom: 16px; }
.detail__body h2,.detail__body h3,.detail__body h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-top: 36px;
  margin-bottom: 16px;
}

/* 详情页图片轮播 */
.detail-gallery {
  border: 1px solid var(--border-light);
  overflow: hidden;
  margin-bottom: 36px;
}

.detail-gallery .swiper-slide { aspect-ratio: 16/9; }
.detail-gallery .swiper-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Tab 切换 */
.detail-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 32px;
}

.detail-tab-btn {
  padding: 14px 28px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--duration-fast);
  font-weight: 500;
}
.detail-tab-btn:hover,
.detail-tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.detail-tab-panel { display: none; }
.detail-tab-panel.active { display: block; }

/* 上下篇 */
.detail__pager {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.detail__pager a { color: var(--text-secondary); }
.detail__pager a:hover { color: var(--gold); }

/* 相关推荐 */
.related-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 56px 0 24px;
  color: var(--text-primary);
}

.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

/* ============================================================
   图库页 — 瀑布流网格
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--bg-gray);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
  transition: all var(--duration-slow) var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 60%, rgba(0,0,0,0.6));
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
}

/* ============================================================
   联系页
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  margin-bottom: 10px;
  transition: all var(--duration-fast);
}
.contact-info__item:hover { border-color: var(--border-gold); }

.contact-info__icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-info__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.contact-info__value {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 预约/联系表单 */
.form-card {
  padding: 40px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.form-group label .req { color: var(--gold); }

.form-control {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all var(--duration-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

textarea.form-control { resize: vertical; min-height: 100px; }

select.form-control {
  appearance: none;
  background: var(--bg-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E") no-repeat right 14px center;
  padding-right: 40px;
}

/* ============================================================
   预约页面
   ============================================================ */
.booking-hero {
  padding: 80px 0 60px;
  text-align: center;
  background: var(--bg-black);
}

.booking-form {
  max-width: 700px;
  margin: -40px auto 60px;
  padding: 48px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  position: relative;
}

/* ============================================================
   搜索页
   ============================================================ */
.search-box { max-width: 700px; margin: 0 auto; }

.search-form-row {
  display: flex;
  gap: 10px;
}

.search-input-wrap {
  position: relative;
  flex: 1;
}

.search-input-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input-wrap input {
  width: 100%;
  padding: 15px 20px 15px 44px;
  background: var(--bg-white);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--duration-fast);
}

.search-input-wrap input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.search-result-item {
  display: flex;
  gap: 18px;
  padding: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: all var(--duration-fast);
  margin-bottom: 8px;
}
.search-result-item:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-sm);
}

.search-result-item__thumb {
  width: 110px; height: 85px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-gray);
}
.search-result-item__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.search-result-item__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.search-result-item__date {
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 4px;
}
.search-result-item__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ============================================================
   分页
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  transition: all var(--duration-fast);
}

.pagination a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.pagination .active {
  background: var(--text-primary);
  color: #fff;
  border-color: var(--text-primary);
  font-weight: 600;
}

/* ============================================================
   空状态
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}
.empty-state i {
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
  opacity: 0.4;
}
.empty-state p { color: var(--text-muted); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg-black);
  color: var(--text-on-dark-muted);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__top-line {
  height: 2px;
  background: var(--gold);
  opacity: 0.3;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 44px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.footer__brand-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  margin: 18px 0;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  transition: all var(--duration-fast);
}
.footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
}

.footer a {
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  transition: color var(--duration-fast);
}
.footer a:hover { color: var(--gold-light); }

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}
.footer__contact-item i {
  color: var(--gold);
  margin-top: 4px;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.footer__qrcode {
  width: 100px; height: 100px;
  background: #fff;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #999;
  margin-bottom: 12px;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom-inner a { color: rgba(255,255,255,0.35); font-size: 0.78rem; }
.footer__bottom-inner a:hover { color: var(--gold); }

/* ============================================================
   友情链接（Footer内）
   ============================================================ */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.friend-links__label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.friend-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--duration-fast);
}
.friend-links a:hover { color: var(--gold); }

/* 在线客服按钮 */
.online-service {
  position: fixed;
  right: 24px;
  bottom: 100px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 90;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
  transition: all var(--duration-normal) var(--ease-out);
}
.online-service:hover { transform: scale(1.08); }

/* ============================================================
   返回顶部
   ============================================================ */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 60px;
  width: 40px; height: 40px;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: all var(--duration-normal);
  box-shadow: var(--shadow-sm);
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================================
   动画增强
   ============================================================ */

/* 金色光晕划过 */
@keyframes goldShimmer {
  0% { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%) skewX(-15deg); }
}

.shimmer-overlay {
  position: relative;
  overflow: hidden;
}
.shimmer-overlay::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.08), transparent);
  transform: translateX(-100%) skewX(-15deg);
  pointer-events: none;
}
.shimmer-overlay:hover::after {
  animation: goldShimmer 0.8s ease-in-out;
}

/* 底部边框滑入 */
@keyframes borderSlideIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* 淡入上移 */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 脉冲 */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.4); }
  70% { box-shadow: 0 0 0 12px rgba(201,168,76,0); }
}

.btn--pulse { animation: pulse 2s infinite; }

/* 分隔线 */
.divider-gold {
  width: 60px; height: 1.5px;
  background: var(--gold);
  margin: 0 auto;
}

/* ============================================================
   AOS 覆盖
   ============================================================ */
[data-aos] { transition-timing-function: var(--ease-out); }

/* ============================================================
   响应式 — 平板 (768px - 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 72px; --container-max: 100%; }

  html, body { overflow-x: hidden; max-width: 100vw; }
  .container { margin: 0 auto; width: 100%; box-sizing: border-box; }

  .header__nav,
  .header__actions { display: none; }
  .hamburger { display: flex; }

  .services-grid { grid-template-columns: repeat(3,1fr); }
  .gallery-home-grid { grid-template-columns: repeat(2,1fr); }
  .about-preview { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .about-preview__image { aspect-ratio: 16/10; }
  .about-preview__image::after { display: none; }
  .about-preview__content { text-align: center; align-items: center; }
  .compare-grid { grid-template-columns: repeat(2,1fr); }

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

  .detail__pager { flex-direction: column; gap:8px; text-align:center; }
  .related-grid { grid-template-columns: repeat(2,1fr); }

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

  .section-title { text-align: center; }
  .section-subtitle { text-align: center; margin-left: auto; margin-right: auto; }
  .list-header { text-align: center; }
}

/* ============================================================
   响应式 — 移动端 (< 768px)
   ============================================================ */
@media (max-width: 767px) {
  :root { --section-py: 56px; }

  /* 防止水平溢出导致整体偏左 */
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  /* 容器居中锁定 */
  .container {
    padding: 0 16px;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .header__inner { padding: 0 16px; }

  /* 所有区块标题居中 */
  .section-tag { display: block; text-align: center; }
  .section-title { font-size: clamp(1.5rem,5vw,2rem); text-align: center; }
  .section-subtitle { text-align: center; margin-left: auto; margin-right: auto; max-width: 90vw; }

  .hero { height: 85vh; min-height: 480px; }
  .hero__content {
    padding-bottom: 80px;
    padding-left: 16px;
    padding-right: 16px;
    text-align: center;
    align-items: center;
  }
  .hero__title { text-align: center; max-width: 100%; }
  .hero__subtitle { text-align: center; max-width: 90vw; }
  .hero__actions { justify-content: center; }
  .hero__scroll { display: none; }

  .inner-banner { height: 240px; }
  .inner-banner__content { padding: 0 16px; text-align: center; align-items: center; }

  /* 列表页标题居中 */
  .list-header { text-align: center; }
  .list-header h1 { text-align: center; }
  .list-header p { text-align: center; margin-left: auto; margin-right: auto; }

  .services-grid { grid-template-columns: repeat(2,1fr); }
  .service-card { padding: 32px 16px; text-align: center; }

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

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

  .about-preview { gap: 28px; text-align: center; }
  .about-preview__image::after { display: none; }
  .about-preview__content { text-align: center; align-items: center; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer__social { justify-content: center; }
  .footer__contact-item { justify-content: center; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .footer__qrcode { margin: 0 auto 12px; }

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

  .detail__header { text-align: center; }
  .detail__meta { justify-content: center; }

  .form-card { padding: 24px; }
  .booking-form { padding: 28px; margin: -20px 16px 40px; }

  .search-result-item { flex-direction: column; }
  .search-result-item__thumb { width: 100%; height: 160px; }

  .news-card-h { flex-direction: column; gap: 14px; text-align: center; }
  .news-card-h__image { width: 100%; height: 180px; }
  .news-card-h__body { text-align: center; }

  .contact-grid { text-align: center; }
  .contact-info__item { text-align: left; }

  .filter-bar { justify-content: flex-start; }

  .pagination { flex-wrap: wrap; justify-content: center; }

  /* 修复首页 section header flex 布局在手机端偏左 */
  .section .container > div[style*="space-between"] {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
  }
  /* CTA按钮组居中 */
  .cta-section .btn,
  .hero__actions .btn { margin: 0 auto; }

  .back-top { right: 12px; bottom: 50px; }
  .online-service { right: 12px; bottom: 100px; }
}

/* ============================================================
   小屏手机 (< 375px)
   ============================================================ */
@media (max-width: 374px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-home-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   减少动画偏好
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 7-11/004: compact mobile editorial layout, preserving the salon palette. */
@media (max-width:1023px) {
  html, body { overflow-x:visible; }
  .container, .header__inner, .footer__grid, .list-grid, .related-grid, .contact-grid,
  .about-preview, .detail, .product-card, .service-card, .search-input-wrap { min-width:0; }
  .container, .inner-banner__content { padding-left:20px; padding-right:20px; }
  .inner-banner, .inner-banner[style] { margin-top:calc(var(--header-h) + 16px); height:auto !important; min-height:180px; }
  .inner-banner__content { min-height:180px; height:auto; padding-top:24px; padding-bottom:24px; }
  .inner-banner__title { line-height:1.45; overflow-wrap:anywhere; }
  .booking-hero, .search-intro { margin-top:calc(var(--header-h) + 16px); padding-top:32px !important; }
  .breadcrumb { flex-wrap:wrap; padding:14px 20px; line-height:1.8; overflow-wrap:anywhere; }
  .mobile-nav { visibility:hidden; }
  .mobile-nav.open { visibility:visible; }
  .mobile-nav__inner { padding:64px 20px 28px; }
  .mobile-nav__close { display:flex !important; position:absolute; right:12px; top:12px; width:40px; height:40px; align-items:center; justify-content:center; border:1px solid var(--border-light); background:#fff; color:var(--text-primary); font-size:26px; }
  .mobile-nav__sub:not(.open) { display:none; }
  .mobile-nav__link, .mobile-nav__sub a { min-height:44px; }
  .detail__param-value { white-space:normal; overflow:visible; overflow-wrap:anywhere; }
  .detail__body, .about-preview__content { overflow-wrap:anywhere; }
  .detail-tabs { max-width:100%; overflow-x:auto; }
  .detail-tab-btn { white-space:nowrap; }
  .pagination { flex-wrap:wrap; }
  [data-aos="fade-left"], [data-aos="fade-right"] { transform:translateY(20px); }
  [data-aos="fade-left"].aos-animate, [data-aos="fade-right"].aos-animate { transform:none; }
}
@media (max-width:767px) {
  :root { --section-py:32px; --header-h:64px; }
  .header__inner { padding:0 20px; gap:12px; }
  .header__logo { min-width:0; gap:8px; }
  .header__logo-name { font-size:1rem; }
  .header__logo-sub { font-size:.55rem; letter-spacing:.12em; }
  .hamburger { flex-shrink:0; min-width:40px; }
  .hero { height:430px; min-height:430px; }
  .hero__content { padding:95px 20px 40px; justify-content:center; }
  .hero__tag { font-size:.64rem; margin-bottom:12px; letter-spacing:.2em; }
  .hero__title { font-size:clamp(1.9rem,8vw,2.3rem); line-height:1.3; margin-bottom:16px; }
  .hero__subtitle { font-size:.85rem; margin-bottom:22px; }
  .hero__actions { gap:10px; }
  .hero-pagination { margin-top:24px; }
  .btn { min-height:44px; padding:11px 18px; font-size:.8rem; }
  .btn--lg { padding:12px 20px; }
  .section-title { font-size:1.5rem; margin-bottom:10px; }
  .section-tag { font-size:.65rem; margin-bottom:8px; }
  .section-subtitle { font-size:.84rem; max-width:100%; }
  .section .container > div[style*="margin-bottom:48px"] { margin-bottom:24px !important; }
  .section .container > div[style*="margin-top:36px"], .section .container > div[style*="margin-top:32px"] { margin-top:22px !important; }
  .section .container > div[style*="space-between"] { gap:14px !important; }
  .services-grid, .gallery-home-grid, .compare-grid, .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .service-card { padding:20px 12px; }
  .service-card__icon { width:40px; height:40px; margin-bottom:12px; font-size:1.1rem; }
  .service-card__title { font-size:1rem; margin-bottom:8px; }
  .service-card__desc { font-size:.76rem; line-height:1.65; }
  .gallery-home-item, .gallery-item { aspect-ratio:4/5; }
  .gallery-home-item__overlay, .gallery-item__overlay { opacity:1; padding:12px; }
  .gallery-home-item__tag { font-size:.63rem; }
  .gallery-home-item__title, .gallery-item__title { font-size:.88rem; line-height:1.5; }
  .list-grid, .related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 12px; }
  .product-card__image { aspect-ratio:1; }
  .product-card__body { padding:14px 12px; }
  .product-card__tag { font-size:.66rem; }
  .product-card__title { font-size:.97rem; line-height:1.5; margin-bottom:7px; }
  .product-card__desc { font-size:.77rem; line-height:1.7; }
  .about-preview { gap:22px; }
  .about-preview__image { aspect-ratio:16/9; }
  .about-preview__content p { font-size:.88rem; line-height:1.85; margin-bottom:18px; text-align:left; }
  .about-preview[style], .list-grid[style*="margin-bottom:80px"] { margin-bottom:32px !important; }
  .container > [style*="repeat(4,1fr)"] { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:20px !important; padding:24px 0 !important; margin-bottom:32px !important; }
  .compare-item { aspect-ratio:1; }
  .compare-item__label { padding:10px; font-size:.76rem; line-height:1.5; }
  .list-grid:has(> .testimonial-card) { grid-template-columns:minmax(0,1fr); gap:12px; }
  .testimonial-card { padding:20px; text-align:left; }
  .testimonial-card__stars { margin-bottom:8px; font-size:.82rem; }
  .testimonial-card__text { font-size:.86rem; margin-bottom:10px; }
  .testimonial-card__author { font-size:.77rem; }
  .news-card-h { flex-direction:row; gap:14px; padding:18px 0; align-items:flex-start; }
  .news-card-h__image { width:92px; height:104px; }
  .news-card-h__body { text-align:left; }
  .news-card-h__date { font-size:.7rem; margin-bottom:5px; }
  .news-card-h__title { font-size:.97rem; line-height:1.5; margin-bottom:6px; }
  .news-card-h__desc { font-size:.77rem; line-height:1.7; }
  .cta-section { padding:36px 0; }
  .cta-section__title { font-size:1.6rem; }
  .cta-section__subtitle { font-size:.86rem; margin-bottom:22px; }
  .inner-banner__title { font-size:1.55rem; }
  .inner-banner__subtitle { font-size:.86rem; }
  .list-header { margin-bottom:24px; }
  .list-header h1, .detail__title { font-size:1.5rem; line-height:1.5; }
  .list-header p { font-size:.88rem; }
  .filter-bar { gap:8px; padding:12px 0; flex-wrap:wrap; overflow:visible; }
  .filter-bar a { padding:10px 13px; font-size:.78rem; min-height:44px; }
  .detail__header { margin-bottom:22px; padding-bottom:18px; }
  .detail__meta { gap:10px; font-size:.75rem; }
  .detail__params { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-bottom:24px; }
  .detail__param { padding:16px 12px; }
  .detail__param-value { font-size:.95rem; }
  .detail__body { font-size:.9rem; line-height:1.9; }
  .detail-tabs { margin-bottom:22px; }
  .detail-tab-btn { padding:12px 18px; min-height:44px; }
  .detail__pager { gap:12px; align-items:stretch; overflow-wrap:anywhere; }
  .detail-gallery { margin-bottom:24px; }
  .contact-grid { gap:26px; }
  .contact-info__item { padding:18px 14px; gap:12px; }
  .contact-info__value { font-size:.9rem; overflow-wrap:anywhere; }
  .form-card { padding:22px 18px; }
  .form-control { min-width:0; max-width:100%; font-size:16px; }
  form > [style*="grid-template-columns"] { grid-template-columns:minmax(0,1fr) !important; gap:0 !important; }
  .form-group > [style*="display:flex"] { flex-wrap:wrap; }
  .booking-hero { padding-bottom:32px; }
  .booking-hero h1 { font-size:1.7rem !important; line-height:1.5; }
  .booking-form { margin:24px auto 32px; padding:22px 18px; }
  .search-form-row { flex-direction:column; }
  .search-result-item { flex-direction:row; gap:12px; padding:16px 12px; }
  .search-result-item__thumb { width:76px; height:90px; }
  .search-result-item > div { min-width:0; }
  .search-result-item__title { font-size:.95rem; line-height:1.5; }
  .search-result-item__desc { font-size:.76rem; }
  .pagination { margin-top:28px; }
  .footer__grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px 20px; padding:32px 20px 26px; text-align:left; }
  .footer__grid > :first-child, .footer__grid > :nth-child(2) { grid-column:1/-1; }
  .footer__brand-desc { margin:10px 0 16px; font-size:.8rem; }
  .footer__social, .footer__contact-item { justify-content:flex-start; }
  .footer h4 { margin-bottom:12px; }
  .footer__links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 8px; }
  .footer__links a { font-size:.77rem; min-height:44px; padding:10px 0; }
  .footer__contact-item { font-size:.73rem; gap:6px; overflow-wrap:anywhere; }
  .footer__qrcode { width:88px; height:88px; margin:0 0 10px; }
  .friend-links { padding:14px 20px; gap:12px; }
  .footer__bottom-inner { padding:0 20px; font-size:.72rem; align-items:flex-start; text-align:left; }
  .online-service { width:42px; height:42px; right:12px; bottom:72px; font-size:1rem; }
  .back-top { bottom:20px; right:13px; }
}
