/* ===========================
   Gosmooth - About Us Page
   公司概覽頁面專用樣式
   =========================== */

/* ===========================
   1. ABOUT HERO
   =========================== */
.about-hero {
  position: relative;
  width: 100%;
  min-height: calc(430px + var(--site-header-height, 86px));
  margin-top: calc(-1 * var(--site-header-height, 86px));
  padding-top: var(--site-header-height, 86px);
  background-image: url("/assets/images/page/004.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
}

.about-hero__bg,
.about-hero__bg::after,
.about-hero__img {
  display: none;
}

/* Hero top nav — 公司概覽 | 查看品牌 | 搜尋建材 */
.about-hero-links {
  position: absolute;
  top: 28%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0;
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 15px;
  font-weight: 460;
  line-height: 1.4;
  white-space: nowrap;
}

.about-hero-links a {
  position: relative;
  color: #111111;
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-hero-links a:hover,
.about-hero-links a.is-active {
  color: #e8a900;
}

.about-hero-links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 48px;
  height: 2px;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 2px;
}

.about-hero-links span {
  color: #111111;
  opacity: 1;
}

/* ===========================
   2. ANCHOR NAV (Internal quick links)
   公司概況 | 全港佈局 | 品牌理念 | 企業文化 | 標誌釋義
   完全模仿「加入我們」頁面同款風格
   =========================== */
.about-anchor-nav {
  background: #fff;
  border-bottom: 1px solid #EEB21B;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.about-anchor-nav::-webkit-scrollbar {
  display: none;
}

.about-anchor-nav__inner,
.about-anchor-nav__sep {
  display: none;
}

.about-anchor-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  font-family: var(--font-sans, "Noto Sans TC", sans-serif);
  font-size: 15px;
  font-weight: 500;
  color: #2A2A2A;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  line-height: 1;
}

.about-anchor-nav__link:hover {
  color: #EEB21B;
  border-bottom-color: #EEB21B;
}

/* 分隔線 — CSS 偽元素 1px 黃色豎線，垂直居中 */
.about-anchor-nav__link:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 18px;
  background: #E8B20A;
  transform: translateY(-50%);
  opacity: 0.95;
}

/* 手機端 — 和加入我們頁面保持一致 */
@media (max-width: 767px) {
  .about-anchor-nav {
    padding: 0 12px;
    justify-content: flex-start;
  }

  .about-anchor-nav__link {
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1;
  }

  .about-anchor-nav__link:not(:last-child)::after {
    height: 16px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* ===========================
   3. ABOUT OVERVIEW (核心介紹)
   =========================== */
.about-section {
  padding: 30px 0;
}

.about-overview {
  background: var(--color-white);
}

.about-overview__inner {
  max-width: 1680px;
  width: min(1680px, calc(100% - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* Section heading — 严格模仿首頁 home-section-heading */
.about-section-heading {
  margin: 0 0 34px;
}

.about-section-heading__eyebrow {
  margin: 0 0 14px;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.38em;
  line-height: 1.2;
  color: #DB7F21;
}

.about-section-heading__title {
  margin: 0 0 8px;
  font-family: "Noto Serif TC", serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.04em;
  color: transparent;
  background-image: linear-gradient(180deg, #FFC127 0%, #DB7F21 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.about-section-heading__subtitle {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.02em;
  color: #0B1E33;
}

.about-overview__body {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: #3A3A3A;
  margin-bottom: 12px;
}

/* Stat cards (2x2 grid) */
.about-overview__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-stat-card {
  background: var(--color-dark);
  border: 1px solid rgba(238, 178, 27, 0.3);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  transition: border-color 0.25s ease, transform 0.2s ease;
}

.about-stat-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-3px);
}

.about-stat-card__number {
  font-family: 'Noto Serif TC', serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1.2;
  letter-spacing: 1px;
}

.about-stat-card__plus {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-gold-light);
}

.about-stat-card__label {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #ccc;
  margin-top: 8px;
  letter-spacing: 1px;
}

/* ===========================
   4. TABS (公司資料 Tab 區)
   =========================== */
.about-tabs-section {
  background: #f9f9f9;
}

.about-tabs {
  max-width: 1680px;
  width: min(1680px, calc(100% - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}

/* Tab navigation (desktop: left column) */
.about-tabs__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 110px;
}

.about-tab-button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 20px;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-text);
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.about-tab-button:hover,
.about-tab-button:focus-visible {
  color: #ffffff;
  background: linear-gradient(180deg, #FDD24A 0%, #FCA428 100%);
  border-color: var(--color-gold);
  box-shadow: 0 2px 8px rgba(238, 178, 27, 0.25);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
}

.about-tab-button.is-active {
  color: #ffffff;
  background: linear-gradient(180deg, #FDD24A 0%, #FCA428 100%);
  border-color: var(--color-gold);
  box-shadow: 0 2px 8px rgba(238, 178, 27, 0.25);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
}

/* Tab content panels */
.about-tabs__content {
  min-height: 400px;
}

.about-tab-panel {
  display: none;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.about-tab-panel.is-active {
  display: block;
}

/* Tab panel heading: 灰底斜角 + 渐黄字 + 黄底横线 */
.about-panel-heading {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 56px;
  margin: 0 0 6px;
  padding: 0;
  background: transparent;
  border: 0;
}

.about-panel-heading::after {
  content: "";
  position: absolute;
  left: 0;
  right: 24px;
  bottom: 0;
  height: 2px;
  background: #e8a900;
  z-index: 0;
}

.about-panel-heading-label {
  position: relative;
  z-index: 1;
  height: 56px;
  min-width: 170px;
  padding: 0 50px 0 28px;
  display: inline-flex;
  align-items: center;
  background: #626262;
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 100%, 0 100%);
  margin-left: 0;
}

.about-panel-heading-label span {
  display: inline-block;
  font-family: "Noto Serif TC", serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  background-image: linear-gradient(180deg, #FFC127 0%, #DB7F21 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.about-tab-panel__body {
  padding: 28px;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: #3A3A3A;
  background: #ffffff;
}

/* Generic tab image */
.about-tab-image {
  margin: 24px 0;
  border-radius: 6px;
  overflow: hidden;
}

.about-tab-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Overview image inside company overview tab */
.about-overview-image {
  margin: 24px 0;
  border-radius: 6px;
  overflow: hidden;
}

.about-overview-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Gold subheading — 渐变色 */
.about-gold-subheading {
  font-family: "Noto Serif TC", serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 24px 0 16px;
  color: transparent;
  background-image: linear-gradient(180deg, #FFC127 0%, #DB7F21 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Bullet list with icon images */
.about-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.about-bullet-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.about-bullet-list li:last-child {
  border-bottom: none;
}

.about-bullet-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.about-bullet-list li div {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #3A3A3A;
}

.about-list-desc {
  display: block;
  margin: 4px 24px 24px;
  padding: 2px;
}

/* 八大核心業務領域：描述文字縮排（僅 panel-0） */
#about-tab-panel-0 .about-bullet-list li div {
  padding-left: 34px;
}
#about-tab-panel-0 .about-bullet-list li div strong {
  display: inline-block;
  margin-left: -34px;
}

.about-bullet-list li div strong {
  font-weight: 600;
  color: #1a1a1a;
}

/* Compact variant for logo meaning */
.about-bullet-list--compact li {
  padding: 6px 0;
}

.about-bullet-list--compact .about-bullet-icon {
  margin-top: 2px;
}

/* Custom Map — 全港佈局地圖 */
.custom-map-wrapper {
  position: relative;
  width: min(100%, 980px);
  margin: 28px auto 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
  touch-action: pan-y;
}

.custom-map-wrapper .map-bg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

.map-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 2;
  cursor: pointer;
  outline: none;
}

.hotspot-icon-wrap {
  position: relative;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotspot-img {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.pulse-effect {
  animation: gosmooth-map-pulse 1.25s ease-in-out infinite;
  transform-origin: center center;
}

.hotspot-icon-wrap::before,
.hotspot-icon-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  transform: translate(-50%, -50%) scale(0.78);
  opacity: 0;
  pointer-events: none;
}

.hotspot-icon-wrap::before {
  animation: gosmooth-map-ring 1.35s ease-out infinite;
}

.hotspot-icon-wrap::after {
  animation: gosmooth-map-ring 1.35s ease-out infinite;
  animation-delay: 0.38s;
}

@keyframes gosmooth-map-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

@keyframes gosmooth-map-ring {
  0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.78); }
  70% { opacity: 0.12; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.15); }
}

.hotspot-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  width: max-content;
  max-width: 320px;
  padding: 10px 14px;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #ffffff;
  background: rgba(34, 34, 34, 0.94);
  border: 1px solid rgba(255, 193, 39, 0.55);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 5;
}

.hotspot-tooltip::after {
  display: none !important;
}

@media (hover: hover) and (pointer: fine) {
  .map-hotspot:hover .hotspot-tooltip,
  .map-hotspot:focus-visible .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

.map-hotspot.active .hotspot-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .custom-map-wrapper {
    width: 100%;
    margin-top: 22px;
    border-radius: 8px;
    overflow: visible;
  }

  .hotspot-icon-wrap {
    width: 34px;
    height: 34px;
  }

  .hotspot-img {
    width: 28px;
    height: 28px;
  }

  .hotspot-icon-wrap::before,
  .hotspot-icon-wrap::after {
    width: 26px;
    height: 26px;
  }

  .hotspot-tooltip {
    max-width: min(260px, 78vw);
    font-size: 12.5px;
    line-height: 1.55;
    padding: 8px 10px;
    bottom: calc(100% + 10px);
  }
}

.about-tab-panel__body p {
  margin-bottom: 14px;
}

.about-tab-panel__body p:last-child {
  margin-bottom: 0;
}

.about-tab-panel__subtitle {
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
}

/* Tab panel lead — 渐变色 */
.about-tab-panel__lead {
  font-family: 'Noto Serif TC', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 18px;
  color: transparent;
  background-image: linear-gradient(180deg, #FFC127 0%, #DB7F21 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Image below lead text */
.about-tab-panel__lead + .about-tab-image {
  margin-top: 2px;
  margin-bottom: 26px;
}

/* Lists inside tab panels */
.about-tab-panel__list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.about-tab-panel__list li {
  padding: 8px 0;
  padding-left: 22px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}

.about-tab-panel__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 2px;
  transform: rotate(45deg);
}

.about-tab-panel__list li:last-child {
  border-bottom: none;
}

/* Ordered list (八大核心) */
.about-tab-panel__list[class] ol,
ol.about-tab-panel__list {
  list-style: none;
  padding: 0;
  counter-reset: about-list;
}

.about-tab-panel__body ol.about-tab-panel__list li {
  counter-increment: about-list;
}

.about-tab-panel__body ol.about-tab-panel__list li::before {
  content: counter(about-list) '.';
  position: absolute;
  left: 0;
  top: 8px;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  transform: none;
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-gold-dark);
}

/* ===========================
   5. LOCATIONS (全港佈局)
   =========================== */
.about-locations {
  margin-top: 20px;
  padding: 20px;
  background: #fafafa;
  border-left: 4px solid var(--color-gold);
  border-radius: 4px;
}

.about-locations__heading {
  font-family: 'Noto Serif TC', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.about-locations__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-locations__list li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 14px;
  color: var(--color-text);
}

.about-locations__icon {
  position: absolute;
  left: 0;
  top: 7px;
  font-size: 13px;
  color: var(--color-gold);
}

/* Map note — 地址資訊下方提示 */
.about-map-note {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 16px;
  background: rgba(80, 80, 80, 0.72);
  color: #ffffff;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 14px;
  line-height: 1.65;
  border-radius: 0;
}

.about-map-note div {
  color: inherit;
}

/* Map figure */
.about-map {
  margin: 24px 0 0 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
}

.about-map img {
  width: 100%;
  height: auto;
  display: block;
}

.about-map__caption {
  padding: 8px 14px;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 13px;
  color: var(--color-text-muted);
  background: #f5f5f5;
  text-align: center;
  letter-spacing: 1px;
}

/* ===========================
   6. VALUES GRID (核心價值觀)
   =========================== */
.about-values {
  margin-top: 20px;
}

.about-values__heading {
  font-family: 'Noto Serif TC', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.about-values__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-value-card {
  padding: 16px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 6px;
  transition: border-color 0.25s ease;
}

.about-value-card:hover {
  border-color: var(--color-gold);
}

.about-value-card__letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-gold);
  color: #fff;
  font-family: 'Noto Serif TC', serif;
  font-size: 24px;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 8px;
}

.about-value-card__title {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
  line-height: 1.35;
}

.about-value-card__desc {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ===========================
   7. LOGO MEANING (標誌釋義區)
   =========================== */
.about-tab-panel__body--logo {
  display: block;
}

.about-logo-item {
  margin-bottom: 18px;
}

.about-logo-item h4 {
  font-family: 'Noto Serif TC', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.about-logo-item p {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin: 0;
}

/* Logo meaning visual — 上方居中 */
.about-logo-meaning-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 52px auto 42px;
}

.about-logo-meaning-visual img {
  display: block;
  width: 150px;
  max-width: 38vw;
  height: auto;
  padding: 12px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

/* Old logo display — hidden */
.about-logo-display {
  display: none;
}

/* ===========================
   8. CTA SECTION (聯絡區)
   =========================== */
.about-cta {
  background: var(--color-dark);
  text-align: center;
  padding: 60px 20px;
  border-top: 4px solid var(--color-gold);
}

.about-cta__inner {
  max-width: 700px;
  margin: 0 auto;
}

.about-cta__title {
  font-family: 'Noto Serif TC', serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.about-cta__text {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 30px;
}

.about-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.about-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-family: 'Noto Serif TC', serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.about-cta__btn--primary {
  color: #414141;
  background: linear-gradient(180deg, #FFE8AB 0%, #FFB000 100%);
  box-shadow: 2px 3px 0 2px rgba(0, 0, 0, 0.35);
}

.about-cta__btn--primary:hover {
  background: linear-gradient(180deg, #50D262 0%, #3a9e48 100%);
  color: #fff;
  transform: translateY(-2px);
}

.about-cta__btn--secondary {
  color: var(--color-gold);
  background: transparent;
  border: 2px solid var(--color-gold);
}

.about-cta__btn--secondary:hover {
  background: var(--color-gold);
  color: var(--color-dark);
  transform: translateY(-2px);
}

/* ===========================
   9. DESKTOP ONLY: 左側欄縮窄 + 按鈕文字居中
   =========================== */
@media (min-width: 769px) {
  .about-tabs {
    grid-template-columns: 170px 1fr;
    gap: 32px;
  }

  .about-tab-button {
    text-align: center;
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* ===========================
   RESPONSIVE
   =========================== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  .about-hero {
    min-height: calc(400px + var(--site-header-height, 86px));
  }

  .about-overview__inner {
    width: min(100% - 48px, 100%);
    gap: 40px;
  }

  .about-overview__cards {
    gap: 14px;
  }

  .about-stat-card {
    padding: 22px 14px;
    min-height: 110px;
  }

  .about-stat-card__number {
    font-size: 28px;
  }

  /* Tab layout: still left-right but narrower */
  .about-tabs {
    grid-template-columns: 160px 1fr;
    gap: 24px;
  }

  .about-values__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .about-hero {
    min-height: calc(380px + var(--site-header-height, 86px));
  }

  .about-hero-links {
    top: 22%;
    width: calc(100% - 40px);
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 8px 10px;
    font-size: 15px;
    justify-content: center;
  }

  .about-hero-links a.is-active::after {
    bottom: -6px;
    width: 44px;
  }

  /* Overview becomes single column */
  .about-overview__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    width: min(100% - 32px, 100%);
  }

  .about-section-heading {
    margin-bottom: 24px;
  }

  .about-section-heading__eyebrow {
    font-size: 13px;
    letter-spacing: 0.28em;
    margin-bottom: 10px;
  }

  .about-section-heading__title {
    font-size: 24px;
    line-height: 1.28;
  }

  .about-section-heading__subtitle {
    font-size: 20x;
    line-height: 1.32;
  }

  .about-overview__cards {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .about-stat-card {
    padding: 20px 12px;
    min-height: 100px;
  }

  .about-stat-card__number {
    font-size: 22px;
  }

  .about-stat-card__label {
    font-size: 13px;
  }

  /* Tabs: horizontal scrollable buttons on top, content below */
  .about-tabs {
    grid-template-columns: 1fr;
    gap: 20px;
    width: min(100% - 32px, 100%);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .about-tabs__nav {
    flex-direction: row;
    flex-wrap: wrap;
    overflow: visible;
    gap: 8px;
    padding-bottom: 4px;
    position: static;
  }

  .about-tab-button {
    white-space: nowrap;
    width: auto;
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 14px;
    text-align: center;
  }

  .about-tab-panel__body {
    padding: 20px;
    font-size: 14px;
  }

  .about-tab-panel__lead {
    font-size: 17px;
  }

  /* Logo mobile */
  .about-logo-meaning-visual {
    margin: 32px auto 28px;
  }

  .about-logo-meaning-visual img {
    width: 118px;
    max-width: 42vw;
    padding: 10px;
  }

  /* Values: single column */
  .about-values__grid {
    grid-template-columns: 1fr;
  }

  .about-value-card__letter {
    width: 28px;
    height: 28px;
    font-size: 21px;
  }

  .about-value-card__title {
    font-size: 18px;
  }

  .about-value-card__desc {
    font-size: 15.5px;
  }

  /* Panel heading mobile */
  .about-panel-heading {
    min-height: 46px;
    margin-bottom: 24px;
    padding: 0;
  }

  .about-panel-heading::after {
    left: 0;
    right: 16px;
    height: 2px;
  }

  .about-panel-heading-label {
    height: 44px;
    min-width: 132px;
    padding: 0 34px 0 18px;
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 100%, 0 100%);
  }

  .about-panel-heading-label span {
    font-size: 20px;
  }

  /* CTA */
  .about-cta__title {
    font-size: 24px;
  }

  .about-cta__text {
    font-size: 15px;
  }

  .about-cta__actions {
    flex-direction: column;
    gap: 12px;
  }

  .about-cta__btn {
    width: 100%;
    max-width: 300px;
  }

  /* Section padding */
  .about-section {
    padding: 40px 16px;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .about-hero {
    min-height: calc(340px + var(--site-header-height, 86px));
  }

  .about-overview__cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .about-stat-card {
    padding: 16px 10px;
    min-height: 90px;
  }

  .about-stat-card__number {
    font-size: 26px;
  }

  .about-stat-card__label {
    font-size: 12px;
  }

  .about-tab-panel__body {
    padding: 16px;
  }

  .about-cta__title {
    font-size: 22px;
  }

  .about-cta {
    padding: 40px 16px;
  }
}

/* ==================================================
   About mobile hero old-style layout
   只作用於公司概覽手機版 Hero
   模仿舊站效果：圖片鋪滿、招牌居中、三個導航在上方
================================================== */

@media (max-width: 767px) {
  body.about-us-page .about-hero {
    position: relative !important;
    width: 100% !important;
    height: 330px !important;
    min-height: 330px !important;
    max-height: 330px !important;
    overflow: hidden !important;

    margin: 0 !important;
    margin-top: 0 !important;

    padding: 0 !important;
    padding-top: 0 !important;

    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }

  body.about-us-page .about-hero__bg,
  body.about-us-page .about-hero__inner {
    display: none !important;
  }

  body.about-us-page .about-hero-links {
    position: absolute !important;
    top: 50px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 20 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;

    width: max-content !important;
    max-width: calc(100vw - 24px) !important;
    white-space: nowrap !important;

    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.about-us-page .about-hero-links a {
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    color: #111111 !important;
    text-decoration: none !important;
  }

  body.about-us-page .about-hero-links a.is-active {
    color: #E0A800 !important;
  }

  body.about-us-page .about-hero-links a.is-active::after {
    bottom: -8px !important;
    width: 38px !important;
    background: #E0A800 !important;
  }

  body.about-us-page .about-hero-links span {
    color: #111111 !important;
    font-weight: 700 !important;
  }
}

@media (max-width: 480px) {
  body.about-us-page .about-hero {
    height: 315px !important;
    min-height: 315px !important;
    max-height: 315px !important;
    background-position: center center !important;
  }

  body.about-us-page .about-hero-links a {
    font-size: 14px !important;
  }
}