/* Original layout: design.css */
:root {
  --paper: #ffffff;
  --ink: #0f0f0f;
  --muted: #5c5750;
  --moss: #0f0f0f;
  --line: #e5dfd5;
  --line-light: #eee7de;
  --accent: #7a6b58;
  --gold: #948068;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
  --sans:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  --color-brand: #0f0f0f;
  --bg-main: #ffffff;
  --bg-subtle: #faf8f5;
  --bg-hover: #f5f2eb;
  --header-height: 84px;
}

@media (max-width: 850px) {
  :root {
    --header-height: 64px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: #ffffff;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.8 var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.dialog-open,
body.drawer-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.35;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  color: inherit;
  border: none;
  background: transparent;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 4px;
  border-radius: 4px;
}

::selection {
  background: #e5dfd5;
  color: var(--ink);
}

.wrap {
  width: calc(100% - 120px);
  max-width: 1320px;
  margin-inline: auto;
}

/* ==========================================================================
   全局悬浮导航栏 (Sticky Header + Blur + Dropdown + Mobile Drawer)
   ========================================================================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

#site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(15, 15, 15, 0.04);
  border-bottom: 1px solid rgba(229, 223, 213, 0.75);
}

.jm-header {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.jm-logo {
  flex: none;
  display: flex;
  align-items: center;
}

.jm-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

/* 导航菜单容器（严格 6 个一级 Tab，无二级下拉菜单） */
.jm-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.jm-nav-item {
  position: relative;
}

.jm-nav-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--serif);
  font-size: 16px;
  color: #222222;
  padding: 12px 0;
  position: relative;
  transition:
    color 0.2s ease,
    font-weight 0.2s ease;
  white-space: nowrap;
}

.jm-nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0f0f0f;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.jm-nav-item:hover .jm-nav-link,
.jm-nav-link[aria-current="page"] {
  color: #0f0f0f;
  font-weight: 600;
}

.jm-nav-item:hover .jm-nav-link::after,
.jm-nav-link[aria-current="page"]::after {
  width: 100%;
}

/* 导航右侧纯黑胶囊按钮 */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 9px 24px;
  border: 1.5px solid #0f0f0f;
  border-radius: 30px;
  background: transparent;
  color: #0f0f0f;
  font: 500 15px/1.5 var(--sans);
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.pill:hover {
  background: #f4f4f4;
  transform: translateY(-1px);
}

.pill.filled,
.jm-header-consult-btn,
.pill-solid {
  background: #0f0f0f !important;
  color: #ffffff !important;
  border-color: #0f0f0f !important;
}

.pill.filled:hover,
.jm-header-consult-btn:hover,
.pill-solid:hover {
  background: #2b2b2b !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(15, 15, 15, 0.15);
}

.pill.pill-outline {
  background: #ffffff !important;
  color: #0f0f0f !important;
  border: 1.5px solid #0f0f0f !important;
}

.pill.pill-outline:hover {
  background: #f4f4f4 !important;
}

/* 移动端汉堡按钮（黑色图标） */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid #0f0f0f;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  gap: 5px;
  padding: 0;
  margin-left: auto;
}

.hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #0f0f0f;
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* 移动端抽屉 (Drawer - 挂载于 body 顶层，全屏独立定位) */
.jm-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 99999;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s ease;
}

.jm-mobile-drawer.open {
  pointer-events: auto;
  visibility: visible;
}

.jm-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.jm-mobile-drawer.open .jm-drawer-backdrop {
  opacity: 1;
}

.jm-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  box-shadow: -8px 0 36px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  overflow: hidden;
}

.jm-mobile-drawer.open .jm-drawer-panel {
  transform: translateX(0);
}

body.drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

.jm-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  border-bottom: 1px solid var(--line-light);
}

.drawer-close-btn {
  font-size: 28px;
  line-height: 1;
  color: #0f0f0f;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.jm-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.jm-mobile-nav-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid #f2ede6;
  padding-bottom: 14px;
}

.jm-mobile-mainlink {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: #0f0f0f;
  padding: 6px 0;
}

.jm-mobile-mainlink[aria-current="page"] {
  color: var(--gold);
}

.jm-mobile-subnav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 14px;
  border-left: 2px solid var(--line-light);
  margin-top: 4px;
}

.jm-mobile-sublink {
  font-size: 14px;
  color: #555555;
  padding: 6px 0;
  transition: color 0.15s;
}

.jm-mobile-sublink:hover {
  color: #0f0f0f;
}

.jm-drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--line-light);
}

.jm-drawer-consult-btn {
  width: 100%;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1100;
  transform: translateY(-160%);
  padding: 8px 14px;
  background: white;
}

.skip-link:focus {
  transform: none;
}

/* ==========================================================================
   通用 Section 头部与样式 (Demo 原版审美)
   ========================================================================== */
.section-intro {
  margin-bottom: 40px;
}

.section-intro.text-center,
.section-intro[style*="text-align: center"],
.section-intro[style*="text-align:center"] {
  text-align: center;
}

.eyebrow {
  font:
    13px/1.5 Georgia,
    var(--serif);
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-intro h2 {
  font-size: 46px;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-intro h2 span {
  color: var(--accent);
}

.section-intro > p:not(.eyebrow) {
  font: 18px/1.8 var(--serif);
  color: var(--muted);
  max-width: 800px;
}

.section-intro.text-center > p:not(.eyebrow),
.section-intro[style*="text-align: center"] > p:not(.eyebrow),
.section-intro[style*="text-align:center"] > p:not(.eyebrow) {
  margin-inline: auto;
}

.small-rule {
  display: block;
  width: 48px;
  height: 1.5px;
  background: var(--accent);
  margin: 28px 0;
}

/* ==========================================================================
   ① 首屏 Banner (完整3帧，水平手势滑轨，等高对齐，杜绝垂直蹦跳)
   ========================================================================== */
.hero-banner-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(250, 248, 245, 0.6) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  padding-top: 24px;
  padding-bottom: 72px;
}

.hero-swipe-container {
  position: relative;
  width: 100%;
}

.hero-swipe-track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.hero-swipe-track::-webkit-scrollbar {
  display: none;
}

.hero-swipe-slide {
  width: 100%;
  min-width: 100%;
  flex-shrink: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 70px;
  gap: 40px;
  align-items: center;
  box-sizing: border-box;
}

.hero-sublead {
  font: 22px/1.4 var(--serif);
  color: #3a3834;
  margin: 4px 0 0;
  letter-spacing: 0.5px;
}

.hero-banner-carousel {
  position: relative;
  width: 100%;
}

/* 顶部细微进度条 */
.hero-banner-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(15, 15, 15, 0.05);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.hero-banner-progress-fill {
  height: 100%;
  width: 0%;
  background: #0f0f0f;
  transition: width 0.1s linear;
}

.hero-banner-stage {
  position: relative;
  width: 100%;
  min-height: 600px;
}

/* 单张轮播 Slide */
.hero-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.6s ease;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 70px;
  gap: 40px;
  align-items: center;
}

.hero-banner-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  font: 12px/1.5 var(--sans);
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(32px, 3.5vw, 46px);
  letter-spacing: 1.2px;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #0f0f0f;
}

/* 核心要求：副标题不折行 */
.hero-lead {
  font: 36px/1.35 var(--serif);
  letter-spacing: 0.8px;
  color: #0f0f0f;
  white-space: nowrap;
  margin-bottom: 14px;
}

.hero-description {
  font: 17px/1.85 var(--serif);
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 15, 15, 0.08);
  border: 1px solid var(--line-light);
  background: #faf8f5;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
}

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

.hero-banner-slide.active .hero-image-wrap img {
  transform: scale(1.02);
}

.hero-aside {
  align-self: center;
  font: 16px/2.2 var(--serif);
  color: var(--muted);
  letter-spacing: 3px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
}

/* 轮播底部控制器：小圆点指示器 + 左右箭头 */
.hero-banner-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}

.hero-nav-arrows {
  display: flex;
  gap: 10px;
}

.hero-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #0f0f0f;
  background: #ffffff;
  color: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s ease;
}

.hero-arrow-btn:hover {
  background: #0f0f0f;
  color: #ffffff;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d8d2c7;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.hero-dot.active {
  width: 28px;
  border-radius: 10px;
  background: #0f0f0f;
}

.hero-counter-label {
  font: 14px var(--sans);
  color: var(--muted);
  letter-spacing: 1px;
}

.hero-mobile-swipe-tip {
  display: none;
}

@media (max-width: 850px) {
  .hero-mobile-swipe-tip {
    display: inline-block;
  }
}

/* ==========================================================================
   ② 品牌三合理念 (4:3 比例卡片，严格等高与水平基准线绝对对齐)
   ========================================================================== */
.pillars-section {
  padding-bottom: 120px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  align-items: stretch;
}

.pillar {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pillar-copy {
  padding-left: 20px;
  border-left: 1.5px solid var(--line);
  margin-bottom: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 0 0 120px;
  height: 120px;
  min-height: 120px;
  max-height: 120px;
  overflow: hidden;
}

.pillar h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #0f0f0f;
}

.pillar p {
  font: 16px/1.65 var(--serif);
  color: var(--muted);
  margin: 0;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #f8f6f2;
  border: 1px solid var(--line-light);
}

.photo-frame img {
  width: 100%;
  transition: transform 0.5s ease;
}

/* 4:3 由框本身决定，图片绝对铺满，避免原图比例把某一张卡片撑高 */
.pillar .photo-frame {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  flex: 0 0 auto;
}

.pillar .photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.pillar:hover img {
  transform: scale(1.03);
}

.pillar .caption {
  margin-top: 14px;
  font: 14px/1.4 var(--serif);
  color: var(--accent);
  letter-spacing: 1px;
}

/* ==========================================================================
   ③ ♥️ 你是否有这些困扰 (用户痛点新增模块)
   ========================================================================== */
.troubles-section {
  padding-bottom: 120px;
}

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

.trouble-card {
  background: #faf8f5;
  border: 1px solid #ede7df;
  border-radius: 10px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s;
  position: relative;
}

.trouble-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.trouble-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 15, 15, 0.06);
  border-color: #dfd7cc;
}

.trouble-num {
  font: 12px/1.5 var(--sans);
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}

.trouble-card h3 {
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #0f0f0f;
}

.trouble-card p {
  font: 15px/1.75 var(--serif);
  color: var(--muted);
}

/* ==========================================================================
   专家资源信息查询模块
   ========================================================================== */
.expert-query-section {
  padding-bottom: 120px;
}

.query-btn-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.query-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  font-family: var(--serif);
  font-size: 16px;
  color: #0f0f0f;
  box-shadow: 0 2px 8px rgba(15, 15, 15, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.query-btn:hover {
  background: #0f0f0f;
  color: #ffffff;
  border-color: #0f0f0f;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 15, 15, 0.12);
}

.expert-custom-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  border: 1px solid #ede7df;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #faf8f5 100%);
  padding: 48px 52px;
  box-shadow: 0 12px 36px rgba(15, 15, 15, 0.04);
}

.expert-custom-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.expert-custom-title {
  font-size: 36px;
  color: #0f0f0f;
  letter-spacing: 1px;
}

.expert-custom-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  background: #0f0f0f;
  color: #ffffff;
  font: 13px/1.4 var(--sans);
  font-weight: 500;
  letter-spacing: 1px;
}

.expert-custom-desc {
  font: 16px/1.85 var(--serif);
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 560px;
}

.expert-custom-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid var(--line-light);
  border-radius: 10px;
}

.step-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0f0f0f;
  color: #ffffff;
  font: 12px/22px var(--sans);
  font-weight: 600;
  text-align: center;
}

.step-text {
  font: 14px var(--sans);
  font-weight: 600;
  color: #0f0f0f;
}

.step-arrow {
  color: #b0a79a;
  font-size: 14px;
}

.query-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: #0f0f0f;
  border-bottom: 1.5px solid #0f0f0f;
  padding-bottom: 4px;
  transition:
    gap 0.2s ease,
    opacity 0.2s ease;
}

.query-cta-link:hover {
  gap: 12px;
  opacity: 0.8;
}

.expert-custom-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 15, 15, 0.08);
  border: 1px solid var(--line-light);
  background: #f7f5f2;
}

.expert-custom-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   为什么选择嘉名起名（高端对比表格）
   ========================================================================== */
.comparison-section {
  padding-bottom: 125px;
}

.comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid #ede7df;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(15, 15, 15, 0.04);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 720px;
}

.comparison-table th {
  padding: 22px 26px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid #ede7df;
  background: #faf8f5;
}

.comparison-table th.col-dim {
  width: 16%;
  color: #444444;
}

.comparison-table th.col-traditional {
  width: 38%;
  color: #666666;
  border-left: 1px solid #ede7df;
}

.comparison-table th.col-jiaming {
  width: 46%;
  color: #0f0f0f;
  background: #f5efe6;
  border-left: 1px solid #ede7df;
}

.comparison-table td {
  padding: 22px 26px;
  font-size: 15px;
  line-height: 1.75;
  border-bottom: 1px solid #f2ede6;
  color: #444444;
  vertical-align: top;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td.dim-label {
  font-family: var(--serif);
  font-weight: 600;
  color: #0f0f0f;
  background: #faf8f5;
  white-space: nowrap;
}

.comparison-table td:nth-child(2) {
  border-left: 1px solid #ede7df;
  color: #666666;
  font-family: var(--serif);
}

.comparison-table td.jiaming-cell {
  border-left: 1px solid #ede7df;
  background: rgba(245, 239, 230, 0.35);
  color: #0f0f0f;
  font-family: var(--serif);
  font-weight: 500;
}

/* ==========================================================================
   嘉名观点（全新专属文章矩阵）
   ========================================================================== */
.guandian-section {
  padding-bottom: 125px;
}

.guandian-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 20px;
  flex-wrap: wrap;
}

.guandian-more-link {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: #0f0f0f;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #0f0f0f;
  padding-bottom: 2px;
  transition:
    gap 0.2s ease,
    opacity 0.2s ease;
}

.guandian-more-link:hover {
  gap: 10px;
  opacity: 0.8;
}

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

.guandian-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #ede7df;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.guandian-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 15, 15, 0.08);
  border-color: #dfd7cc;
}

.guandian-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f7f5f2;
}

.guandian-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

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

.guandian-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.guandian-body h3 {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #0f0f0f;
}

.guandian-body p {
  font: 14px/1.65 var(--serif);
  color: var(--muted);
  margin-top: auto;
}

/* ==========================================================================
   定制服务 (4大类卡片)
   ========================================================================== */
.services-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  border: 1px solid #ede7df;
  border-radius: 10px;
  background: #ffffff;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s;
  position: relative;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 15, 15, 0.05);
  border-color: #dfd7cc;
}

.service-card .srv-tag {
  font: 12px var(--sans);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 14px;
  color: #0f0f0f;
}

.service-card p {
  font: 15px/1.75 var(--serif);
  color: var(--muted);
  margin-bottom: 24px;
  flex: 1;
}

.service-card .srv-arrow {
  font: 20px/1 var(--serif);
  color: #0f0f0f;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.2s ease;
  margin-top: auto;
}

.service-card:hover .srv-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   ⑤ 为什么选择我们 (六大核心优势，Demo 原版 Method 布局)
   ========================================================================== */
.advantages-section {
  padding-bottom: 130px;
}

.advantages-layout {
  display: grid;
  grid-template-columns: 34% 66%;
  gap: 48px;
  align-items: start;
}

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

.advantage-item {
  border-left: 1.5px solid var(--line);
  padding-left: 22px;
}

.advantage-item .adv-num {
  font: 12px var(--sans);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}

.advantage-item h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #0f0f0f;
}

.advantage-item p {
  font: 15px/1.75 var(--serif);
  color: var(--muted);
}

/* ==========================================================================
   ⑥ ♥️ 用户评价 (跑马灯动态平滑滚动，参考圆桌起名)
   ========================================================================== */
.reviews-section {
  padding-bottom: 130px;
  overflow: hidden;
}

.reviews-marquee-container {
  position: relative;
  width: 100%;
  height: 310px;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}

.reviews-marquee-track {
  display: flex;
  gap: 24px;
  position: absolute;
  top: 0;
  left: 0;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.reviews-marquee-container:hover .reviews-marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.review-card {
  width: 380px;
  background: #faf8f5;
  border: 1px solid #ede7df;
  border-radius: 12px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(15, 15, 15, 0.03);
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.review-stars {
  color: #948068;
  font-size: 14px;
  letter-spacing: 2px;
}

.review-badge {
  font-size: 12px;
  color: #888;
  background: #f0ebe3;
  padding: 2px 8px;
  border-radius: 4px;
}

.review-body {
  font: 14px/1.75 var(--serif);
  color: #333333;
  margin-bottom: 20px;
  flex: 1;
}

.review-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #eee7de;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0f0f0f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 15px/1 var(--serif);
  flex-shrink: 0;
}

.review-meta {
  display: flex;
  flex-direction: column;
}

.review-name {
  font-size: 14px;
  font-weight: 600;
  color: #0f0f0f;
}

.review-sub {
  font-size: 12px;
  color: #777777;
}

/* ==========================================================================
   ⑦ 常见问题 (FAQ 折叠面板，3个核心问答)
   ========================================================================== */
.faq-section {
  padding-bottom: 130px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 32% 68%;
  gap: 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

summary {
  font: 600 20px/1.4 var(--serif);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0f0f0f;
  transition: color 0.2s;
}

summary::-webkit-details-marker,
summary::marker {
  display: none;
  content: "";
}

summary .faq-icon {
  font-size: 22px;
  color: var(--accent);
  transition: transform 0.25s ease;
}

details[open] summary {
  color: var(--accent);
}

details[open] summary .faq-icon {
  transform: rotate(45deg);
}

details p {
  margin-top: 14px;
  font: 16px/1.85 var(--serif);
  color: var(--muted);
}

.contact-card {
  border-left: 1.5px solid var(--line);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card p {
  font: 18px/1.7 var(--serif);
  color: var(--muted);
  margin-bottom: 18px;
}

.text-button {
  font: 600 16px var(--serif);
  color: #0f0f0f;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
}

.text-button:hover {
  color: var(--gold);
}

/* ==========================================================================
   ⑧ ♥️ 姓名文化专场沙龙 (线下活动新增模块 + 视频 + 双条评论轮换)
   ========================================================================== */
.salon-section {
  padding-bottom: 130px;
}
.salon-section.channel-hero {
  padding-top: 8px;
  padding-bottom: 72px;
}

.salon-video-container {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto 36px;
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 16px 40px rgba(15, 15, 15, 0.12);
}

.salon-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

/* 视频下方固定两条用户评论展示 */
.salon-reviews-box {
  max-width: 980px;
  margin: 0 auto;
  background: #faf8f5;
  border: 1px solid #ede7df;
  border-radius: 12px;
  padding: 24px 28px;
}

.salon-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee7de;
}

.salon-reviews-title {
  font: 600 15px var(--sans);
  color: #0f0f0f;
  letter-spacing: 0.5px;
}

.salon-reviews-tag {
  font: 12px var(--sans);
  color: var(--accent);
}

.salon-reviews-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  min-height: 90px;
}

.salon-review-item {
  display: none;
  background: #ffffff;
  border: 1px solid #eee7de;
  border-radius: 8px;
  padding: 16px 18px;
  animation: fadeInReview 0.5s ease;
}

.salon-review-item.active {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}
.salon-review-avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0f0f0f;
  color: #ffffff;
  display: grid;
  place-items: center;
  font: 600 14px/1 var(--sans);
}

@keyframes fadeInReview {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.salon-review-text {
  font: 14px/1.7 var(--serif);
  color: #333333;
  margin-bottom: 10px;
}

.salon-review-author {
  font: 500 13px var(--sans);
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}

.salon-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 980px;
  margin: 28px auto 0;
  padding: 18px 24px;
  background: #fdfcfb;
  border: 1px dashed #e2dbce;
  border-radius: 8px;
}

.salon-cta-bar p {
  font: 14px/1.6 var(--serif);
  color: #666;
}

/* ==========================================================================
   ⑨ 页面底部 Closing CTA (Demo 原版审美)
   ========================================================================== */
.closing {
  background: #faf8f5;
  border-top: 1px solid #ede5d8;
  border-bottom: 1px solid #ede5d8;
  padding: 72px 0;
  margin-bottom: 60px;
}

.closing-inner {
  display: grid;
  grid-template-columns: 1fr 280px 140px;
  gap: 36px;
  align-items: center;
}

.closing-copy h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.closing-copy p {
  font: 18px/1.8 var(--serif);
  color: var(--muted);
  margin-bottom: 24px;
}

.closing-photo img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 15, 15, 0.08);
}

.closing-note {
  font: 17px/1.8 var(--serif);
  color: var(--muted);
}

/* ==========================================================================
   页脚 Footer - 官方平台矩阵与合规信息
   ========================================================================== */
.jm-footer {
  padding: 50px 0 60px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  font: 15px/1.8 var(--serif);
  color: var(--muted);
  margin-top: 12px;
}

.footer-links h4,
.footer-platforms h4 {
  font: 16px/1 var(--serif);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font: 14px var(--sans);
}

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

.platform-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 14px var(--sans);
  color: inherit;
}
a.platform-row {
  text-decoration: none;
}
a.platform-row span:last-child {
  text-decoration: underline;
  text-underline-offset: 3px;
}
a.platform-row:hover {
  color: #0f0f0f;
}

.platform-badge {
  display: inline-block;
  padding: 2px 8px;
  background: #f0ede7;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #333333;
}

.culture-block-heading,
.culture-block-heading h2,
.section-heading.culture-block-heading {
  text-align: center;
}
.culture-block-heading {
  font-size: 28px;
  color: #0f0f0f;
  margin: 0 auto 28px;
}
.section-heading .culture-block-heading {
  margin-bottom: 8px;
}

.page-intro {
  padding: 12px 0 36px;
}
.page-intro h1 {
  font-size: 46px;
  margin-bottom: 16px;
}
.page-intro p {
  max-width: 860px;
  font: 20px/1.7 var(--serif);
  color: var(--muted);
}

.teacher-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 80px;
}
.teacher-summary-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e5dfd5;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  min-height: 100%;
}
.teacher-summary-photo {
  aspect-ratio: 5 / 6;
  background: #f6f4f0;
  overflow: hidden;
}
.teacher-summary-photo img,
.teacher-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.teacher-photo-fallback {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: grid;
  place-items: center;
  background: #0f0f0f;
  color: #fff;
  font: 600 64px/1 var(--serif);
}
.teacher-summary-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.teacher-summary-body h2 {
  font-size: 28px;
}
.teacher-summary-title {
  font-size: 14px;
  color: #5c5750;
}
.teacher-summary-brief {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font: 15px/1.7 var(--serif);
  color: #333;
  min-height: 3.4em;
}
.teacher-summary-more {
  margin-top: auto;
  font-size: 14px;
  color: #0f0f0f;
}
.teacher-detail {
  padding-bottom: 80px;
}
.teacher-detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}
.teacher-detail-copy h1 {
  font-size: 48px;
  margin-bottom: 12px;
}
.teacher-detail-title {
  font: 20px/1.6 var(--serif);
  color: #5c5750;
}
.teacher-detail-photo {
  aspect-ratio: 5 / 6;
  border-radius: 16px;
  overflow: hidden;
  background: #f6f4f0;
}
.teacher-detail-block {
  margin-bottom: 28px;
}
.teacher-detail-block h2 {
  font-size: 24px;
  margin-bottom: 12px;
}
.teacher-detail-block p {
  margin-bottom: 12px;
  font: 17px/1.8 var(--serif);
}
.teacher-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.teacher-skill-list li {
  border: 1px solid #e5dfd5;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
}
.about-block {
  padding-bottom: 36px;
}
.about-block h2 {
  font-size: 32px;
  margin-bottom: 16px;
}
.about-block p {
  margin-bottom: 14px;
  font: 17px/1.9 var(--serif);
}
.about-mission {
  margin-top: 18px;
}
.about-mission h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.about-mission h3 span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-right: 10px;
  border-radius: 50%;
  background: #0f0f0f;
  color: #fff;
  font-size: 16px;
}
@media (max-width: 900px) {
  .teacher-summary-grid {
    grid-template-columns: 1fr 1fr;
  }
  .teacher-detail-top {
    grid-template-columns: 1fr;
  }
  .teacher-detail-photo {
    max-width: 320px;
  }
}
@media (max-width: 640px) {
  .teacher-summary-grid {
    grid-template-columns: 1fr;
  }
}

.footer-bottom {
  border-top: 1px solid #f0ede7;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: 13px/1.6 var(--sans);
  color: var(--muted);
}

/* 微信咨询弹窗 (Dialog) */
dialog.consult-dialog {
  box-sizing: border-box;
  width: calc(100vw - 32px);
  max-width: 440px;
  max-height: 88vh;
  max-height: 88dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 36px 28px 32px;
  margin: auto;
  border: none;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  text-align: center;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #333;
  transition: background 0.2s;
}

.dialog-close:hover {
  background: #f4efe9;
}

.consult-dialog h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.consult-dialog img {
  width: 220px;
  height: 220px;
  margin: 18px auto;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

@media (max-width: 480px) {
  dialog.consult-dialog {
    padding: 28px 18px 24px;
  }
  .consult-dialog img {
    width: 180px;
    height: 180px;
    margin: 14px auto;
  }
}

/* ==========================================================================
   响应式断点适配 (Responsive Breakpoints)
   ========================================================================== */
@media (max-width: 1080px) {
  .wrap {
    width: calc(100% - 60px);
  }
  .hero-swipe-slide,
  .hero-banner-single,
  .hero-banner-slide {
    grid-template-columns: 1fr 1fr;
  }
  .hero-aside {
    display: none;
  }
  .pillars {
    grid-template-columns: 1fr 1fr;
  }
  .troubles-grid {
    grid-template-columns: 1fr 1fr;
  }
  .services-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .services-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .advantages-layout {
    grid-template-columns: 1fr;
  }
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .salon-reviews-list {
    grid-template-columns: 1fr;
  }
  .expert-custom-card {
    grid-template-columns: 1fr;
  }
  .guandian-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .jm-header {
    min-height: var(--header-height);
    gap: 12px;
  }
  .jm-logo img {
    height: 34px;
    max-width: 140px;
  }
  .jm-header-consult-btn {
    display: none !important;
  }
  .jm-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-swipe-slide,
  .hero-banner-single,
  .hero-banner-slide {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 680px;
  }
  .hero-title {
    font-size: 38px;
  }
  .hero-lead {
    font-size: 24px;
    white-space: normal;
  }
  .hero-sublead {
    font-size: 16px;
    line-height: 1.5;
  }
  .pillars {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pillar-copy {
    height: auto;
    min-height: 0;
    max-height: none;
    flex: 0 0 auto;
    margin-bottom: 16px;
    overflow: visible;
  }
  .troubles-grid {
    grid-template-columns: 1fr;
  }
  .services-grid-4 {
    grid-template-columns: 1fr;
  }
  .services-grid-5 {
    grid-template-columns: 1fr;
  }
  .advantages-grid-6 {
    grid-template-columns: 1fr;
  }
  .expert-custom-card {
    padding: 32px 24px;
    gap: 28px;
  }
  .expert-custom-title {
    font-size: 28px;
  }
  .guandian-grid {
    grid-template-columns: 1fr;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 16px 14px;
    font-size: 14px;
  }
  .review-card {
    width: min(310px, calc(100vw - 44px));
    padding: 22px 18px;
  }
  .reviews-marquee-track {
    gap: 14px;
  }
  .salon-reviews-list {
    grid-template-columns: 1fr;
    min-height: 190px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .closing-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .closing-photo {
    display: none;
  }
  .salon-cta-bar {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

/* ==========================================================================
   好名字三合：副标题水平居中，三卡文字区 / 图片 / 注解像素级齐平
   放在文件末尾，!important 压过旧缓存与前面的断点。
   ========================================================================== */
.pillars-section .section-intro {
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.pillars-section .section-intro h2,
.pillars-section .section-intro > p,
.pillars-section .pillars-lead {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.pillars-section .pillars {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: start !important;
  gap: 36px !important;
}

.pillars-section .pillar {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  height: auto !important;
  min-height: 0 !important;
}

.pillars-section .pillar-copy {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  flex: 0 0 120px !important;
  height: 120px !important;
  min-height: 120px !important;
  max-height: 120px !important;
  margin-bottom: 24px !important;
  padding-left: 20px !important;
  overflow: hidden !important;
}

.pillars-section .photo-frame {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  height: auto !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.pillars-section .photo-frame img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
}

.pillars-section .pillar > .caption {
  margin-top: 14px !important;
  margin-bottom: 0 !important;
}

@media (max-width: 1080px) {
  .pillars-section .pillars {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 850px) {
  .pillars-section .pillars {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .pillars-section .pillar-copy {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    margin-bottom: 16px !important;
    overflow: visible !important;
  }
}
