/* 无恙时光官网 — 暖橙生活风 */

:root {
  --orange: #f07a2e;
  --orange-deep: #e56a1c;
  --brown: #4a2c28;
  --text: #5c524c;
  --text-strong: #2f2826;
  --text-muted: #9a9088;
  --bg: #ffffff;
  --bg-soft: #fffaf5;
  --bg-warm: #fff8f0;
  --bg-footer: #f5f3f1;
  --line: #efe8e1;
  --shadow: 0 18px 40px rgba(74, 44, 40, 0.08);
  --shadow-lg: 0 24px 48px rgba(74, 44, 40, 0.12);
  --radius: 20px;
  --radius-lg: 28px;
  --max: 1180px;
  --header-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* 兼容主题变量注入 */
  --primary: var(--orange);
  --primary-dark: var(--brown);
  --primary-light: #ffa940;
  --accent: var(--orange-deep);
  --accent-light: #ff9a5a;
  --cream: var(--bg-soft);
  --cream-dark: #ffe7d4;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--orange);
}

ul,
ol {
  list-style: none;
}

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--bg-soft);
}

.section--compact {
  padding: 36px 0;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--text-strong);
  margin-bottom: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.section__desc {
  color: var(--text-muted);
  max-width: 720px;
  font-size: 1rem;
  margin-bottom: 40px;
}

/* ---------- Header ---------- */
.header,
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(239, 232, 225, 0.8);
}

.header__inner,
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo,
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
}

.logo:hover,
.brand:hover {
  color: inherit;
}

.logo__img,
.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: contain;
}

.logo__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #f07a2e, #e56a1c);
  font-weight: 700;
}

.logo > span:last-child,
.brand-name {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-divider {
  width: 1px;
  height: 18px;
  background: #d8cfc7;
  flex-shrink: 0;
}

.brand-slogan {
  font-size: 14px;
  color: #8a7f78;
  white-space: nowrap;
}

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

.nav__list {
  display: flex;
  gap: 2px;
  align-items: center;
}

.nav__link {
  display: block;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 999px;
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link--active,
.nav__link.active {
  color: var(--orange);
  background: rgba(240, 122, 46, 0.08);
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  margin-left: 10px;
  background: var(--orange);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}

.header__phone:hover {
  background: var(--orange-deep);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brown);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.btn--primary,
.btn--green {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.btn--primary:hover,
.btn--green:hover {
  background: var(--orange-deep);
  border-color: var(--orange-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(240, 122, 46, 0.28);
}

.btn--outline {
  background: transparent;
  color: var(--brown);
  border-color: rgba(74, 44, 40, 0.2);
}

.btn--outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn--ghost {
  background: rgba(240, 122, 46, 0.1);
  color: var(--orange);
  border-color: transparent;
}

/* ---------- Home: Hero ---------- */
.home-hero {
  position: relative;
  background: #fffefa;
}

.home-hero__visual {
  position: relative;
  overflow: hidden;
  background: #f7f0e8;
}

.home-hero__bg {
  width: 100%;
  height: auto;
  display: block;
}

.home-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  z-index: 2;
}

.home-hero__features {
  position: relative;
  z-index: 3;
  /* 波浪线下方留一点空隙 */
  margin-top: calc(-100vw * 516 / 3840 * 0.48);
  padding: 0 0 48px;
  background: transparent;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0 3vw;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 12px;
  flex: 1 1 0;
  min-width: 0;
}

.feature-icon {
  width: 78px;
  height: 78px;
  border-radius: 0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--orange);
  background: transparent;
  border: none;
  padding: 0;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.feature-icon svg {
  width: 44px;
  height: 44px;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.feature-text strong {
  font-size: 22px;
  color: var(--text-strong);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.feature-text span {
  font-size: 15px;
  color: #9a9088;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ---------- Home: About ---------- */
.home-about {
  padding: 88px 0 40px;
}

.home-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.home-about__copy h2 {
  margin: 0 0 24px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.35;
  color: var(--orange);
  font-weight: 700;
}

.home-about__copy p {
  margin: 0;
  font-size: 15px;
  color: var(--text);
  text-align: justify;
}

.home-about__visual img {
  width: 100%;
}

/* ---------- Section heads ---------- */
.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--text-strong);
  font-weight: 700;
}

.section-head p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
}

/* ---------- Home: Custom ---------- */
.home-custom {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
  background-color: #fff8f0;
}

.home-custom__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 0;
  pointer-events: none;
}

.home-custom__inner {
  position: relative;
  z-index: 1;
}

.home-custom__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-custom__grid a,
.home-custom__grid img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-custom__grid a:hover img,
.home-custom__grid img:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Home: Services ---------- */
.home-services {
  padding: 72px 0 56px;
}

.home-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.home-services__grid a,
.home-services__grid img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-services__grid a:hover img,
.home-services__grid img:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Home: CTA ---------- */
.home-cta {
  padding: 0;
}

.home-cta__bg {
  width: 100%;
  display: block;
}

/* ---------- Footer ---------- */
.footer,
.site-footer {
  background: var(--bg-footer);
  padding: 40px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--text);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 36px;
  margin-bottom: 32px;
}

.footer__grid--no-products {
  grid-template-columns: 1.6fr 1fr 1.1fr;
}

.footer__brand .logo {
  margin-bottom: 14px;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer__address-wrap {
  margin-top: 14px;
}

.footer__address-label {
  font-size: 0.85rem;
  color: var(--brown);
  font-weight: 600;
}

.footer__address {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer__brand-contact {
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.footer__brand-contact li {
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer h4 {
  font-size: 1rem;
  color: var(--brown);
  margin-bottom: 14px;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer ul a:hover {
  color: var(--orange);
}

.footer__contact ul li {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__qrcodes {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer__qrcode-item {
  text-align: center;
}

.footer__qrcode-item img {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
  border: 1px solid var(--line);
}

.footer__qrcode-item span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.icp a:hover {
  color: var(--orange);
}

/* ---------- Inner page hero (new style) ---------- */
.page-hero {
  position: relative;
  padding: 64px 0 48px;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(240, 122, 46, 0.12), transparent 50%),
    radial-gradient(ellipse at 80% 0%, rgba(229, 106, 28, 0.08), transparent 45%),
    linear-gradient(180deg, #fff8f0 0%, #ffffff 100%);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(240, 122, 46, 0.15), rgba(240, 122, 46, 0.02));
  pointer-events: none;
}

.page-hero__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--brown);
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
}

.page-hero__breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
}

.page-hero__breadcrumb a {
  color: var(--orange);
}

.page-hero__lead {
  margin-top: 16px;
  max-width: 640px;
  color: var(--text);
  font-size: 1.02rem;
  position: relative;
}

/* ---------- Cards / grids (inner pages — asymmetric) ---------- */
.grid {
  display: grid;
  gap: 28px;
}

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

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

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

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 122, 46, 0.25);
  box-shadow: var(--shadow);
}

.card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-warm);
}

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

.card:hover .card__img img {
  transform: scale(1.04);
}

.card__body {
  padding: 24px;
}

.card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  background: rgba(240, 122, 46, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 8px;
}

.card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange);
}

.products-grid .card__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  line-height: 1.65;
  min-height: calc(1.65em * 4);
}

.products-grid .card__img {
  aspect-ratio: 4 / 3;
}

/* Products: stacked list layout */
.product-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.product-stack__item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
  padding: 24px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.product-stack__item:nth-child(even) {
  background: #fff;
  border-color: var(--line);
}

.product-stack__item:hover {
  border-color: rgba(240, 122, 46, 0.3);
  box-shadow: var(--shadow);
}

.product-stack__media {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 4 / 3;
}

.product-stack__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-stack__index {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 8px;
}

.product-stack__title {
  font-size: 1.35rem;
  color: var(--brown);
  margin-bottom: 10px;
}

.product-stack__text {
  color: var(--text);
  margin-bottom: 18px;
}

/* Solutions: vertical timeline-ish panels */
.solution-panels {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.solution-panel {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow var(--transition);
}

.solution-panel:nth-child(even) {
  grid-template-columns: 1.2fr 1fr;
}

.solution-panel:nth-child(even) .solution-panel__media {
  order: 2;
}

.solution-panel:hover {
  box-shadow: var(--shadow);
}

.solution-panel__media {
  min-height: 240px;
  background: var(--bg-warm);
}

.solution-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-panel__body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.solution-panel__badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--orange);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.solution-panel__title {
  font-size: 1.35rem;
  color: var(--brown);
  margin-bottom: 12px;
}

.solution-panel__text {
  color: var(--text);
  margin-bottom: 20px;
}

/* Cases: equal cards */
.case-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.case-mosaic__item {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}

.case-mosaic__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.case-mosaic__media {
  aspect-ratio: 16 / 10;
  background: var(--bg-warm);
  overflow: hidden;
  flex-shrink: 0;
}

.case-mosaic__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-mosaic__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.case-mosaic__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 8px;
}

.case-mosaic__title {
  font-size: 1.15rem;
  color: var(--text-strong);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.4em * 2);
}

.case-mosaic__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  flex: 1;
  min-height: calc(1.65em * 3);
}

.case-mosaic__body .card__link {
  margin-top: auto;
}

/* Case detail: cover + customer info */
.case-detail-hero {
  display: grid;
  /* 黄金比例 ≈ 1 : 1.618（左小右大） */
  grid-template-columns: 1fr 1.618fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 40px;
}

.case-detail-hero__cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.case-detail-hero__cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.case-detail-hero__info {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.case-detail-hero .content-block.case-detail-hero__block {
  margin-top: 0;
  margin-bottom: 0;
  flex: 1 1 auto;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* FAQ: numbered accordion */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.faq-item__q {
  position: relative;
  padding: 22px 48px 22px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown);
  cursor: pointer;
  list-style: none;
}

.faq-item__q::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(240, 122, 46, 0.1);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 400;
}

.faq-item.open .faq-item__q::after {
  content: "−";
  background: var(--orange);
  color: #fff;
}

.faq-item__a {
  display: none;
  padding: 0 0 22px;
  color: var(--text);
  line-height: 1.8;
}

.faq-item.open .faq-item__a {
  display: block;
}

/* About: split profile */
.about-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}

.about-profile__text h2 {
  color: var(--orange);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  margin-bottom: 18px;
}

.about-profile__text p {
  color: var(--text);
  margin-bottom: 16px;
}

.about-profile__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-warm);
}

.about-profile__media img {
  width: 100%;
}

.about-carousel {
  position: relative;
}

.about-carousel__slide {
  display: none;
}

.about-carousel__slide.is-active {
  display: block;
}

.about-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.about-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.about-carousel__dot.is-active {
  background: #fff;
}

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.contact-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-radius: 16px;
  border: 1px solid var(--line);
  min-width: 180px;
}

.contact-chip strong {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-chip span {
  color: var(--brown);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Content blocks / detail */
.content-block {
  margin-top: 40px;
  padding: 32px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border-left: 4px solid var(--orange);
}

.case-detail-hero .content-block.case-detail-hero__block {
  margin-top: 0;
  margin-bottom: 0;
  height: 100%;
  min-height: 100%;
}

.content-block h2 {
  font-size: 1.25rem;
  color: var(--brown);
  margin-bottom: 14px;
}

.content-block p,
.content-block li {
  color: var(--text);
  line-height: 1.8;
}

.content-block ul {
  list-style: disc;
  padding-left: 1.2em;
}

.content-block li + li {
  margin-top: 8px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  width: 28%;
  color: var(--brown);
  font-weight: 700;
}

.spec-table td {
  color: var(--text);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.product-detail__gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-warm);
}

.product-detail__gallery img {
  width: 100%;
}

.product-detail__info h2 {
  font-size: 1.6rem;
  color: var(--brown);
  margin-bottom: 10px;
}

.product-detail__model {
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 12px;
}

.cta {
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, #fff4eb, #ffe7d4);
  border-radius: var(--radius-lg);
}

.cta__title {
  font-size: 1.5rem;
  color: var(--brown);
  margin-bottom: 10px;
}

.cta__text {
  color: var(--text);
  margin-bottom: 22px;
}

/* Advantages / misc retained */
.advantage {
  text-align: left;
  padding: 28px 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.advantage__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #fff4eb, #ffe7d4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--orange);
}

.advantage__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 8px;
}

.advantage__text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: rgba(240, 122, 46, 0.25);
}

.timeline__item {
  position: relative;
  margin-bottom: 24px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.timeline__year {
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 6px;
}

.album-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.album-slider__viewport {
  overflow: hidden;
  flex: 1;
}

.album-slider__track {
  display: flex;
  gap: 16px;
  transition: transform 0.35s ease;
}

.album-slider__item {
  flex: 0 0 calc(33.333% - 11px);
}

.album-slider__item img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.album-slider__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  color: var(--brown);
}

.case-waterfall {
  column-count: 3;
  column-gap: 20px;
}

.case-waterfall__item {
  break-inside: avoid;
  margin-bottom: 20px;
}

.case-waterfall__item img {
  width: 100%;
  border-radius: var(--radius);
}

.download-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.download-item__icon {
  font-size: 1.6rem;
}

.download-item__title {
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 4px;
}

.download-item__meta {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.local-service-area {
  margin-top: 36px;
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px dashed rgba(240, 122, 46, 0.35);
}

.local-service-area h3 {
  color: var(--brown);
  margin-bottom: 10px;
}

.stats-bar,
.contact-strip,
.logos,
.hero,
.home-module-card {
  /* legacy blocks kept minimal if still rendered elsewhere */
}

.stats-bar {
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat__num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange);
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-strip {
  background: linear-gradient(135deg, var(--brown), #6b3f36);
  color: #fff;
  padding: 48px 0;
}

.contact-strip a {
  color: #fff;
}

.contact-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: center;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.logo-item {
  width: 140px;
  text-align: center;
}

.logo-item__img {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  height: 80px;
  display: grid;
  place-items: center;
}

.logo-item__name {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
    justify-content: initial;
    padding: 0 4vw;
  }

  .feature-item {
    flex: initial;
    justify-content: flex-start;
  }

  .feature-icon {
    width: 68px;
    height: 68px;
  }

  .feature-text strong {
    font-size: 20px;
  }

  .feature-text span {
    font-size: 14px;
  }

  .home-hero__features {
    margin-top: calc(-100vw * 516 / 3840 * 0.38);
    padding-bottom: 36px;
  }

  .home-about__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-custom__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

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

  .footer__grid,
  .footer__grid--no-products {
    grid-template-columns: 1fr 1fr;
  }

  .case-detail-hero,
  .product-stack__item,
  .solution-panel,
  .solution-panel:nth-child(even),
  .about-profile,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .solution-panel:nth-child(even) .solution-panel__media {
    order: 0;
  }

  .case-mosaic {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    display: none;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    width: 100%;
  }

  .nav__link {
    padding: 12px 14px;
  }

  .header__phone {
    margin: 8px 0 0;
    justify-content: center;
  }

  .brand-slogan,
  .brand-divider {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .home-hero__features {
    margin-top: calc(-100vw * 516 / 3840 * 0.28);
    padding: 0 0 28px;
  }

  .feature-list {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 6vw;
    gap: 20px;
  }

  .feature-item {
    padding: 0;
    flex: initial;
    justify-content: flex-start;
  }

  .home-about {
    padding-top: 56px;
  }

  .home-services__grid,
  .grid--2,
  .grid--3,
  .grid--4,
  .stats-bar__grid,
  .contact-strip__grid,
  .footer__grid,
  .footer__grid--no-products {
    grid-template-columns: 1fr;
  }

  .case-waterfall {
    column-count: 1;
  }

  .album-slider__item {
    flex: 0 0 80%;
  }

  .page-hero {
    padding: 40px 0 32px;
  }
}
