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

html {
  scroll-behavior: smooth;
  font-size: 16px
}

body {
  font-family: 'Noto Sans TC', sans-serif;
  color: #1c1c1c;
  background: #fff;
  line-height: 1.75;
  overflow-x: hidden
}

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

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

ul {
  list-style: none
}

/* ─── Variables ──────────────────────────────────── */
:root {
  --navy: #0b1f3a;
  --navy-mid: #163255;
  --blue: #1a5fa8;
  --blue-light: #2a7fd4;
  --accent: #ef821d;
  --text: #1c1c1c;
  --text-mid: #555;
  --text-light: #888;
  --bg: #fff;
  --bg-warm: #f7f8fa;
  --bg-dark: #0b1f3a;
  --border: #dde3ec;
  --nav-h: 70px;
}

/* ─── Loader ─────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .7s ease
}

#loader.out {
  opacity: 0;
  pointer-events: none
}

.ld-box {
  text-align: center
}

.ld-track {
  width: 180px;
  height: 2px;
  background: #dde3ec;
  margin: 0 auto 14px;
  overflow: hidden
}

.ld-bar {
  height: 100%;
  width: 0;
  background: var(--blue);
  animation: ldSlide .9s cubic-bezier(.4, 0, .2, 1) forwards
}

@keyframes ldSlide {
  to {
    width: 100%
  }
}

.ld-txt {
  font-size: 10px;
  letter-spacing: .22em;
  color: #aaa;
  text-transform: uppercase
}

/* ─── Header ─────────────────────────────────────── */
.site-hd {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 48px;
  transition: box-shadow .3s
}

.site-hd.shadowed {
  box-shadow: 0 2px 28px rgba(11, 31, 58, .1)
}

/* Logo */
.hd-logo a {
  display: flex;
  align-items: center;
  
}



.logo-img{
  max-width: 250px;
  width: 250px;
  height: 100%;
  border: none;
}


/* Nav */
.hd-nav {
  display: flex;
  align-items: center;
  margin: 0 auto 0 48px
}

.nav-it {
  position: relative
}

.nav-it>a {
  display: block;
  padding: 0 16px;
  height: var(--nav-h);
  line-height: var(--nav-h);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text);
  transition: color .2s;
  white-space: nowrap
}

.nav-it>a:hover {
  color: var(--blue)
}

.nav-it>a:active {
  color: var(--accent)
}

.nav-it>a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform .25s
}

.nav-it>a:hover::after {
  transform: scaleX(1)
}

/* Dropdown */
.drop {
  position: absolute;
  top: calc(var(--nav-h) - 1px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border-top: 2px solid var(--blue);
  box-shadow: 0 10px 40px rgba(11, 31, 58, .12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s, transform .2s;
  z-index: 200
}

.nav-it:hover .drop {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0)
}

.drop a {
  display: block;
  padding: 12px 20px;
  font-size: 13px;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  transition: background .15s, color .15s, padding-left .15s
}

.drop a:last-child {
  border-bottom: none
}

.drop a:hover {
  background: var(--bg-warm);
 color: var(--accent);
  padding-left: 26px
}

/* CTA */
.hd-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0
}

.btn-contact {
  padding: 9px 22px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  transition: background .2s
}

.btn-contact:hover {
  background: var(--navy)
}

.btn-brochure {
  padding: 8px 16px;
  border: 1px solid var(--border);
  color: var(--text-mid);
  font-size: 12px;
  letter-spacing: .04em;
  transition: border-color .2s, color .2s
}

.btn-brochure:hover {
  border-color: var(--blue);
  color: var(--blue)
}

/* Hamburger */
.hbg {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto
}

.hbg span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform .3s ease, opacity .3s ease;
  will-change: transform, opacity;
  backface-visibility: hidden
}

.hbg.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px)
}

.hbg.open span:nth-child(2) {
  opacity: 0;
  transform: scale(0)
}

.hbg.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px)
}

/* Mobile nav */
.mob-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 800;
  overflow-y: auto;
  padding: 24px 32px;
  flex-direction: column
}

.mob-nav.open {
  display: flex
}

.mob-nav a {
  display: block;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text)
}

.mob-nav a:hover {
  color: var(--blue)
}

/* ─── Hero Banner ────────────────────────────────── */
.hero {
  height: 100vh;
  max-height: 420px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 90px;
  margin-top: var(--nav-h);
  overflow: hidden
}

/* ── Slide backgrounds ── */
.banner-slides {
  position: absolute;
  inset: 0;
  z-index: 0
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease
}

.banner-slide.active {
  opacity: 1
}

.banner-bg {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: none
}

/* Ken Burns: active slide zooms in slowly */
.banner-slide.active .banner-bg {
  animation: kenBurns 8s ease-out forwards
}

/* previous slide (leaving) zooms out slightly */
.banner-slide.leaving .banner-bg {
  animation: kenBurnsOut 1s ease forwards
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translateX(0)
  }

  100% {
    transform: scale(1.09) translateX(-1%)
  }
}

@keyframes kenBurnsOut {
  0% {
    transform: scale(1.09) translateX(-1%)
  }

  100% {
    transform: scale(1.12) translateX(-2%)
  }
}

/* Geometric shapes */
.hero-geo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none
}

.geo-circle {
  position: absolute;
  top: -15%;
  right: -8%;
  width: 65vw;
  height: 65vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 120px rgba(26, 95, 168, .15)
}

.geo-circle::before {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .04)
}

.geo-circle::after {
  content: '';
  position: absolute;
  inset: 25%;
  border-radius: 50%;
  border: 1px solid rgba(239, 130, 29, .08)
}

.geo-line {
  position: absolute;
  top: 0;
  right: 30%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(26, 95, 168, .25), transparent)
}

.geo-line2 {
  position: absolute;
  top: 0;
  right: 48%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .06), transparent)
}

/* Grid dots */
.hero-dots {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40%;
  height: 60%;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask: radial-gradient(ellipse at right bottom, black 0%, transparent 70%);
  mask: radial-gradient(ellipse at right bottom, black 0%, transparent 70%)
}

/* Large BG label */
.hero-watermark {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  font-family: 'DM Serif Display', serif;
  font-size: clamp(100px, 14vw, 200px);
  font-weight: 400;
  letter-spacing: -.02em;
  color: rgba(255, 255, 255, .03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap
}

/* ISO badge */
.iso-badge {
  position: absolute;
  top: 50%;
  right: 8vw;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0
}

.iso-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid rgba(239, 130, 29, .6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  background: rgba(11, 32, 64, .6);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 40px rgba(239, 130, 29, .15);
  animation: badgePulse 3s ease-in-out infinite
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 30px rgba(239, 130, 29, .15)
  }

  50% {
    box-shadow: 0 0 60px rgba(239, 130, 29, .3)
  }
}

.iso-main {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  letter-spacing: .04em;
  line-height: 1;
  color: var(--accent)
}

.iso-sub {
  font-size: 9px;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .6);
  margin-top: 4px;
  text-transform: uppercase
}

.iso-year {
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .4);
  margin-top: 8px
}

/* ── Text slides ── */
.banner-texts {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 2
}

.banner-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 5vw;
  max-width:700px;
  opacity: 0;
  pointer-events: none
}

.banner-text.active {
  opacity: 1;
  pointer-events: auto
}

/* text children animate in when slide becomes active */
.banner-text .hero-eyebrow,
.banner-text .hero-h1,
.banner-text .hero-p,
.banner-text .hero-btns {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease
}

.banner-text.active .hero-eyebrow {
  opacity: 1;
  transform: none;
  transition-delay: .05s
}

.banner-text.active .hero-h1 {
  opacity: 1;
  transform: none;
  transition-delay: .2s
}

.banner-text.active .hero-p {
  opacity: 1;
  transform: none;
  transition-delay: .35s
}

.banner-text.active .hero-btns {
  opacity: 1;
  transform: none;
  transition-delay: .5s
}

/* ── Navigation UI ── */
.banner-ui {
  position: absolute;
  bottom: 32px;
  left: 8vw;
  right: 8vw;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end
}

/* progress bar */
.bpb {
  width: 180px;
  height: 2px;
  background: rgba(255, 255, 255, .15);
  overflow: hidden;
  margin-bottom: 4px
}

.bpb-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width .1s linear
}

/* nav row */
.banner-nav-row {
  display: flex;
  align-items: center;
  gap: 20px
}

/* dots */
.banner-dots {
  display: flex;
  gap: 8px;
  align-items: center
}

.bdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .3s, width .3s, border-radius .3s
}

.bdot.active {
  width: 22px;
  border-radius: 3px;
  background: var(--accent)
}

/* counter */
.banner-count {
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .4);
  font-family: 'DM Sans', sans-serif
}

.bc-cur {
  color: rgba(255, 255, 255, .85)
}

/* arrows */
.banner-arrows {
  display: flex;
  gap: 2px
}

.barr {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .6);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s
}

.barr:hover {
  border-color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .12);
  color: #fff
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 8vw;
  max-width: 680px;
  width: 100%
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(239, 130, 29, .85);
  margin-bottom:5px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent)
}

.hero-h1 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(32px, 5vw, 40px);
  font-weight: 300;
  color: #fff;
  line-height: 1.25;
  letter-spacing: .04em;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.hero-h1 strong {
  font-weight: 700;
  display: inline-block;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 2px
}

.hero-p {
  font-size: clamp(14px, 1.3vw, 16px);
  color: rgba(255, 255, 255, .6);
  max-width: 440px;
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 55px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  transition: background .2s, transform .2s
}

.btn-primary:hover {
  background: var(--blue-light);
  transform: translateX(4px)
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
  letter-spacing: .06em;
  transition: border-color .2s, color .2s
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, .7);
  color: #fff
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 8vw;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .3);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase
}

.sh-line {
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, .3);
  position: relative;
  overflow: hidden
}

.sh-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, .8);
  animation: shMove 2s linear infinite
}

@keyframes shMove {
  to {
    left: 100%
  }
}




/* ─── Announce ───────────────────────────────────── */
.announce {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
  padding: 13px 0
}

.announce-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 14px
}

.ann-tag {
  flex-shrink: 0;
  background: var(--blue);
  color: #fff;
  padding: 3px 10px;
  font-size: 12px;
  letter-spacing: .12em;
  font-weight: 500;
  text-transform: uppercase
}

.ann-ticker {
  position: relative;
  flex: 1;
  height: 22px;
  overflow: hidden;
  min-width: 0
}

.ann-text {
  font-size: 16px;
  line-height: 22px;
  color: var(--text-mid);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  transition: color .15s ease
}

.ann-text:hover {
  color: var(--blue)
}

.ann-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: block;
  opacity: 0;
  transform: translateY(100%);
  transition: transform .6s cubic-bezier(.4,0,.2,1), opacity .6s ease;
  pointer-events: none
}

.ann-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto
}

.ann-item.leaving {
  opacity: 0;
  transform: translateY(-100%)
}

/* ─── Section base ───────────────────────────────── */
section {
  padding: 96px 0
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px
}

.sec-label {
  font-family: 'DM Serif Display', serif;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px
}

.sec-title {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .04em;
  color: var(--text);
  margin-bottom: 20px
}

.sec-lead {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.9;
  max-width: 600px;
  font-weight: 300
}

.divider {
  border: none;
  border-top: 1px solid var(--border)
}

/* reveal */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease
}

.rv.in {
  opacity: 1;
  transform: translateY(0)
}

.rv.d1 {
  transition-delay: .1s
}

.rv.d2 {
  transition-delay: .2s
}

.rv.d3 {
  transition-delay: .3s
}

.rv.d4 {
  transition-delay: .4s
}

/* ─── Intro Section ──────────────────────────────── */
.intro-section {
  background: #fff
}

.intro-section .sec-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.intro-section .sec-lead {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center
}

.intro-body p+p {
  margin-top: 16px
}

.intro-img-side {
  position: relative
}

.intro-img-wrap {
  position: relative;
  overflow: hidden
}

.ph-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 5/4;
  cursor: pointer
}

.ph-carousel .ph {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e8edf5, #cdd6e8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .9s ease
}

.ph-carousel .ph:nth-child(2) {
  background: linear-gradient(135deg, #e3ecf7, #c3d3ea)
}

.ph-carousel .ph:nth-child(3) {
  background: linear-gradient(135deg, #edf1f7, #d2dced)
}

.ph-carousel .ph.active {
  opacity: 1
}

.intro-img-wrap:hover .ph.active .ph-inner {
  transform: scale(1.04)
}

.ph-dots {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  gap: 6px
}

.ph-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(11, 31, 58, .25);
  transition: width .25s ease, background .25s ease
}

.ph-dot.active {
  width: 18px;
  border-radius: 3px;
  background: var(--navy)
}

.ph-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(11, 31, 58, .25);
  transition: transform .5s ease
}

.ph-icon {
  font-size: 48px
}

.ph-label {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase
}

.intro-corner {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--navy);
  z-index: -1
}

.intro-corner::after {
  content: 'ISO 27001';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-size: 7px;
  color: rgba(255, 255, 255, .4);
  letter-spacing: .12em;
  white-space: nowrap
}

/* ─── ISO Feature Section ────────────────────────── */
.iso-section {
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
  padding-bottom: 160px
}

.iso-section::before {
  content: 'ISMS';
  position: absolute;
  top: 24px;
  right: 40px;
  font-family: 'DM Serif Display', serif;
  font-size: 72px;
  color: rgba(0, 0, 0, .04);
  pointer-events: none;
  letter-spacing: .06em
}
.iso-section::after {
  content: 'PIMS';
  position: absolute;
  bottom: 0;
  left: 40px;
  font-family: 'DM Serif Display', serif;
  font-size: 72px;
  color: rgba(0, 0, 0, .04);
  pointer-events: none;
  letter-spacing: .06em;
  z-index: 0
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
  max-width: 720px
}

.benefit-item {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border)
}

.benefit-item:last-child {
  padding-bottom: 0;
  border-bottom: none
}

.iso-card-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text)
}

.iso-card-text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.9
}

/* ─── Services Cards ─────────────────────────────── */
.svc-cards-section {
  background: var(--bg-warm)
}

.svc-cards-section .sec-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.svc-cards-section .sec-lead {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.svc-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px
}

.svc-card {
  grid-column: span 2;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 36px 32px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--blue))
}

.svc-card:hover {
  box-shadow: 0 8px 32px rgba(11, 31, 58, .1);
  transform: translateY(-4px)
}

.svc-card-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px
}

.svc-card-tag {
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--blue);
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  background: rgba(26, 95, 168, .08);
  padding: 4px 10px;
  border-radius: 2px;
  text-transform: uppercase
}

.svc-card-num {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  color: rgba(11, 31, 58, .07);
  line-height: 1;
  font-style: italic
}

.svc-card-name {
  font-family: 'Noto Serif TC', serif;
  font-size: 17px;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.55;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.svc-card-body {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.85;
  flex-grow: 1;
  margin: 0 0 24px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.svc-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--blue);
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(26, 95, 168, .3);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: border-color .2s, gap .2s
}

.svc-card:hover .svc-card-more {
  border-color: var(--blue);
  gap: 10px
}

/* ─── Services Banner (仿 Curriculum Banner) ─────── */
.svc-banner-section {
  background: #fff
}

.svc-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  background: var(--navy);
  margin-top: 48px;
  cursor: pointer;
  transition: opacity .2s;
  overflow: hidden
}

.svc-banner:hover {
  opacity: .93
}

.svc-banner-side {
  width: 260px;
  height: 200px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0f2a50, #0b1f3a);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, .06)
}

.svc-banner-icon {
  font-family: 'DM Serif Display', serif;
  font-size: 64px;
  color: rgba(255, 255, 255, .1);
  line-height: 1
}

.svc-banner-body {
  padding: 40px 48px
}

.svc-tag {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 10px
}

.svc-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 10px
}

.svc-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.75
}

.svc-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  margin: 40px 40px 40px 0;
  transition: background .2s, color .2s
}

.svc-banner:hover .svc-arrow {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff
}

/* ─── Link Cards (仿 Link Grid) ──────────────────── */
.link-section {
  background: var(--bg-warm)
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 48px
}

.lc {
  background: #fff;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer
}

.lc-bg {
  position: absolute;
  inset: 0;
  transition: transform .5s ease
}

.lc:hover .lc-bg {
  transform: scale(1.05)
}

.lc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 31, 58, .82) 0%, rgba(11, 31, 58, .2) 55%, transparent 100%)
}

.lc-body {
  position: relative;
  z-index: 1;
  padding: 24px
}

.lc-tag {
  font-family: 'DM Serif Display', serif;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 6px
}

.lc-name {
  font-family: 'Noto Serif TC', serif;
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px
}

.lc-arr {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .2s, border-color .2s
}

.lc:hover .lc-arr {
  background: var(--blue);
  border-color: var(--blue)
}

/* ─── Certifications (仿 Voice) ──────────────────── */
.cert-section {
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden
}

.cert-section::before {
  content: 'CERTIFIED';
  position: absolute;
  bottom: -10px;
  right: 32px;
  font-family: 'DM Serif Display', serif;
  font-size: 100px;
  color: rgba(255, 255, 255, .025);
  pointer-events: none;
  letter-spacing: .06em
}

.cert-section .sec-label {
  color: rgba(255, 255, 255, .4)
}

.cert-section .sec-title {
  color: #fff
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
  background: rgba(255, 255, 255, .07)
}

.cert-card {
  background: rgba(255, 255, 255, .03);
  padding: 32px 24px;
  cursor: default;
  transition: background .2s
}

.cert-card:hover {
  background: rgba(255, 255, 255, .07)
}



.cert-name {
  font-family: 'Noto Serif TC', serif;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px
}

.cert-body {
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
  line-height: 1.75
}

.cert-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 3px 10px;
  border: 1px solid rgba(239, 130, 29, .5);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--accent)
}

/* ─── News + Events (仿原版) ─────────────────────── */
.ne-section {
  background: #fff
}

.ne-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px
}

.ne-col-h {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  letter-spacing: .06em;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--text)
}

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

.ne-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: padding .15s, background .15s
}

.ne-item:hover {
  background: var(--bg-warm);
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px
}

.ne-date {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: .06em;
  padding-top: 2px;
  white-space: nowrap
}

.ne-title {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.65;
  transition: color .15s;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.ne-item:hover .ne-title {
  color: var(--blue)
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--blue);
  letter-spacing: .1em;
  margin-top: 20px;
  transition: gap .2s
}

.view-all::after {
  content: '→'
}

.view-all:hover {
  gap: 14px
}

/* ─── Footer ─────────────────────────────────────── */
.ft {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, .55)
}

.ft-top {
  padding: 60px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .07)
}

.ft-grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr;
  gap: 60px
}

.ft-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px
}

.ft-logo .logo-sq {
  background: var(--blue)
}

.ft-logo .logo-words {
  color: rgba(255, 255, 255, .8)
}

.ft-logo .logo-words span {
  color: rgba(255, 255, 255, .35)
}

.ft-desc {
  font-size: 12px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .35)
}

.ft-iso {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 7px 14px;
  border: 1px solid rgba(239, 130, 29, .35);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--accent)
}

.ft-nav-h {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .25);
  margin-bottom: 14px
}

.ft-nav a {
  display: block;
  padding: 7px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: color .15s, padding-left .15s
}

.ft-nav a:hover {
  color: #fff;
  padding-left: 5px
}

.ft-bot {
  padding: 20px 0
}

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

.ft-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap
}

.ft-links a {
  font-size: 11px;
  color: rgba(255, 255, 255, .25);
  transition: color .15s
}

.ft-links a:hover {
  color: rgba(255, 255, 255, .6)
}

.ft-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, .25)
}

/* ─── Responsive ─────────────────────────────────── */
@media(max-width:1024px) {

  .hd-nav,
  .hd-cta {
    display: none
  }

  .hbg {
    display: flex
  }

  .intro-grid,
  .ne-grid {
    grid-template-columns: 1fr;
    gap: 48px
  }

  .cert-grid {
    grid-template-columns: 1fr 1fr
  }

  .ft-grid {
    grid-template-columns: 1fr 1fr
  }

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

  .svc-card {
    grid-column: span 1
  }

  .svc-banner {
    grid-template-columns: 1fr
  }

  .svc-banner-side {
    width: 100%;
    height: 160px
  }

  .iso-badge {
    display: none
  }
}

@media(max-width:640px) {
  :root {
    --nav-h: 60px
  }

  .wrap {
    padding: 0 20px
  }

  .site-hd {
    padding: 0 20px
  }

  section {
    padding: 64px 0
  }

  .svc-cards {
    grid-template-columns: 1fr
  }

  .link-grid,
  .cert-grid {
    grid-template-columns: 1fr
  }

  .ft-grid {
    grid-template-columns: 1fr
  }

  .banner-text {
    padding: 0 20px
  }

  .banner-texts {
    bottom: 100px
  }

  .banner-ui {
    left: 20px;
    right: 20px
  }

  .hero-watermark,
  .geo-circle {
    display: none
  }

  .aud-list {
    padding: 0 20px
  }

  .announce-in {
    padding: 0 20px
  }

  .intro-corner {
    display: none
  }

  .ne-title {
    -webkit-line-clamp: 2
  }
}

/* ════════════════════════════════════════════════════
   Inner Pages — Common
   ════════════════════════════════════════════════════ */

.pg-hero {
  background: linear-gradient(150deg, var(--navy) 0%, #0f2a50 55%, var(--navy-mid) 100%);
  padding: calc(var(--nav-h) + 72px) 0 80px;
  position: relative;
  overflow: hidden
}

.pg-hero::before {
  content: '';
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255, 255, 255, .04);
  border-radius: 50%
}

.pg-hero::after {
  content: '';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 50%
}

.pg-breadcrumb {
  font-size: 11px;
  color: rgba(255, 255, 255, .4);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 20px
}

.pg-breadcrumb a {
  color: rgba(255, 255, 255, .4);
  transition: color .2s
}

.pg-breadcrumb a:hover {
  color: rgba(255, 255, 255, .75)
}

.pg-breadcrumb span {
  margin: 0 8px;
  opacity: .4
}

.pg-eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--blue-light);
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 16px
}

.pg-title {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(28px, 4vw, 46px);
  color: #fff;
  font-weight: 400;
  line-height: 1.35
}

.pg-lead {
  font-size: 15px;
  color: rgba(255, 255, 255, .55);
  max-width: 540px;
  line-height: 1.9;
  margin-top: 20px
}

/* ── Philosophy ──────────────────────────────────── */

.ph-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center
}

.ph-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--blue);
  border: 1px solid rgba(26, 95, 168, .35);
  padding: 4px 12px;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 24px
}

.ph-h {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--navy);
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 24px
}

.ph-p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 2.1
}

.ph-photo-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #e8edf5, #cdd6e8);
  overflow: hidden
}

.ph-vision-section .ph-h {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.ph-vision-section .ph-p {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden
}

/* Value cards */

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px
}

.value-card {
  background: #fff;
  padding: 36px 28px 40px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden
}

.value-card::after {
  content: attr(data-num);
  position: absolute;
  bottom: -14px;
  right: 14px;
  font-family: 'DM Serif Display', serif;
  font-size: 80px;
  color: rgba(11, 31, 58, .05);
  font-style: italic;
  line-height: 1;
  pointer-events: none
}

.value-name {
  font-family: 'Noto Serif TC', serif;
  font-size: 16px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.value-body {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden
}

/* Timeline */

.timeline {
  margin-top: 56px;
  padding-left: 52px;
  position: relative
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 0;
  width: 1px;
  background: var(--border)
}

.tl-item {
  position: relative;
  padding-bottom: 52px
}

.tl-item:last-child {
  padding-bottom: 0
}

.tl-item::before {
  content: '';
  position: absolute;
  left: -56px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(26, 95, 168, .25)
}

.tl-year {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--blue);
  letter-spacing: .1em;
  margin-bottom: 8px;
  font-weight: 600
}

.tl-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 17px;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 8px
}

.tl-body {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.9;
  max-width: 580px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

/* ── Team ────────────────────────────────────────── */

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

.team-card {
  border: 1px solid var(--border)
}

.team-photo {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden
}

.team-photo-init {
  font-family: 'DM Serif Display', serif;
  font-size: 56px;
  color: rgba(255, 255, 255, .15);
  font-style: italic
}

.team-photo-label {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  font-size: 10px;
  color: rgba(255, 255, 255, .35);
  text-align: center;
  padding: 8px;
  background: rgba(0, 0, 0, .15);
  letter-spacing: .08em
}

.team-info {
  padding: 28px 24px
}

.team-name {
  font-family: 'Noto Serif TC', serif;
  font-size: 19px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 4px
}

.team-role {
  font-size: 10px;
  color: var(--blue);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 18px
}

.team-bio {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.9;
  /* 固定四行高：不足四行以空白補足，超過四行截斷，卡片齊高 */
  min-height: 7.6em;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden
}

/* 領導團隊照片：固定尺寸統一裁切 */
.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  object-fit: scale-down;
}

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

.dept-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-top: 3px solid var(--blue)
}

.dept-name {
  font-family: 'Noto Serif TC', serif;
  font-size: 15px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 10px
}

.dept-body {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.85
}

/* ── Recruit ─────────────────────────────────────── */

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

.benefit-card {
  background: #fff;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue)
}

.benefit-icon {
  font-size: 26px;
  margin-bottom: 16px
}

.benefit-name {
  font-family: 'Noto Serif TC', serif;
  font-size: 16px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 10px
}

.benefit-body {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.9
}

.job-list {
  margin-top: 40px
}

.job-item {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  padding: 28px 32px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  transition: box-shadow .2s
}

.job-item:hover {
  box-shadow: 0 4px 18px rgba(11, 31, 58, .08)
}

.job-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 17px;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 8px
}

.job-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap
}

.job-tag {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: 5px
}

.job-apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--blue);
  border: 1px solid rgba(26, 95, 168, .35);
  padding: 9px 22px;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: .08em;
  transition: background .2s, color .2s
}

.job-apply:hover {
  background: var(--blue);
  color: #fff
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border)
}

.process-step {
  text-align: center;
  padding: 0 20px
}

.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1
}

.process-name {
  font-family: 'Noto Serif TC', serif;
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 8px
}

.process-body {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.8
}

/* ── Policy ──────────────────────────────────────── */

.policy-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 72px;
  align-items: start
}

.policy-nav {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  border-left: 2px solid var(--border);
  padding-left: 24px
}

.policy-nav-title {
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--text-light);
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 16px
}

.policy-nav a {
  display: block;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-mid);
  padding: 6px 0 6px 24px;
  margin-left: -26px;
  border-left: 2px solid transparent;
  transition: color .2s, border-color .2s
}

.policy-nav a:hover {
  color: var(--blue);
  border-left-color: var(--blue)
}

.policy-nav a.active {
  color: var(--blue);
  border-left-color: var(--blue);
  font-weight: 500
}

.policy-mobile-nav {
  display: none;
  margin-bottom: 40px
}

.policy-mobile-nav select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  outline: none
}

.policy-section {
  display: none
}

.policy-section.active {
  display: block
}

.policy-body h3 {
  font-family: 'Noto Serif TC', serif;
  font-size: 20px;
  color: var(--navy);
  font-weight: 500;
  margin: 0 0 18px
}

.policy-body p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 2.1;
  margin-bottom: 16px
}

.policy-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px
}

.policy-body ul li {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 4px
}

.policy-sign {
  margin-top: 56px;
  padding: 32px 36px;
  background: var(--bg-warm);
  border-left: 3px solid var(--blue)
}

.policy-sign p {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 6px
}

.policy-sign strong {
  font-family: 'Noto Serif TC', serif;
  font-size: 18px;
  color: var(--navy);
  display: block;
  margin-top: 8px
}

.policy-sign small {
  font-size: 12px;
  color: var(--text-light)
}

/* ── Inner Page Responsive ───────────────────────── */
@media(max-width:1024px) {
  .ph-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .value-grid {
    grid-template-columns: 1fr 1fr
  }

  .team-grid {
    grid-template-columns: 1fr 1fr
  }

  .dept-grid {
    grid-template-columns: 1fr 1fr
  }

  .benefit-grid {
    grid-template-columns: 1fr 1fr
  }

  .policy-layout {
    grid-template-columns: 1fr
  }

  .policy-nav {
    display: none
  }

  .policy-mobile-nav {
    display: block
  }
}

@media(max-width:640px) {
  .pg-title {
    font-size: 28px
  }

  .value-grid {
    grid-template-columns: 1fr
  }

  .team-grid {
    grid-template-columns: 1fr
  }

  .dept-grid {
    grid-template-columns: 1fr
  }

  .benefit-grid {
    grid-template-columns: 1fr
  }

  .process-grid {
    grid-template-columns: 1fr 1fr
  }

  .process-grid::before {
    display: none
  }

  .job-item {
    grid-template-columns: 1fr
  }
}

/* ════════════════════════════════════════════════════
   2026 精緻版 — 新增元件
   ════════════════════════════════════════════════════ */

/* ── Footer Logo（HilltopLogo.svg）─────────────────── */
.ft-logo-box {
  display: inline-block;
  background: transparent;
  padding: 14px 20px;
  border-radius: 4px;
  margin-bottom: 20px
}

.ft-logo-box img {
  width: 220px;
  height: auto;
  display: block
}

.ft-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap
}

.ft-copy-logo {
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .75
}

/* ── Footer 選單區塊伸縮（預設關閉，由 main.js 注入切換鈕）── */
.ft-toggle-bar {
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  padding: 16px 0
}

.ft-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
  letter-spacing: .12em;
  padding: 8px 18px;
  cursor: pointer;
  font-family: inherit;
  transition: color .2s, border-color .2s
}

.ft-toggle:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .5)
}

.ft-toggle svg {
  transition: transform .3s ease
}

.ft-toggle.open svg {
  transform: rotate(180deg)
}

.ft .ft-top {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  border-bottom: none;
  transition: max-height .5s ease, padding .5s ease
}

.ft .ft-top.open {
  max-height: 1400px;
  padding: 60px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .07)
}

/* ── Mobile nav 分組標題 ───────────────────────────── */
.mob-group {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-light);
  font-family: 'DM Sans', sans-serif;
  margin: 24px 0 4px;
  padding-bottom: 6px
}

.mob-nav a.sub {
  padding-left: 14px;
  font-weight: 400;
  font-size: 14px;
  color: var(--text-mid)
}

/* ── CTA Band ──────────────────────────────────────── */
.cta-band {
  background: linear-gradient(130deg, var(--navy) 0%, #0f2a50 55%, var(--navy-mid) 100%);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
  text-align: center
}

.cta-band::before {
  content: '';
  position: absolute;
  right: -140px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 50%
}

.cta-band::after {
  content: '';
  position: absolute;
  left: -120px;
  bottom: -220px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(239, 130, 29, .12);
  border-radius: 50%
}

.cta-eyebrow {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-family: 'DM Sans', sans-serif
}

.cta-title {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(24px, 3vw, 36px);
  color: #fff;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 18px
}

.cta-text {
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.95
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1
}

/* ── 服務頁：標準徽章盒 ────────────────────────────── */
.std-box {
  background: var(--navy);
  padding: 56px 44px;
  position: relative;
  overflow: hidden;
  text-align: center
}

.std-box::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  pointer-events: none
}

.std-label {
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 14px
}

.std-num {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(38px, 4vw, 52px);
  color: var(--accent);
  line-height: 1.1
}

.std-name {
  font-family: 'Noto Serif TC', serif;
  font-size: 16px;
  color: #fff;
  margin-top: 12px
}

.std-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
  line-height: 1.9;
  margin-top: 16px
}

/* 五步驟流程 */
.process-grid.p5 {
  grid-template-columns: repeat(5, 1fr)
}

/* ── 分類頁籤（產業觀點）───────────────────────────── */
.cat-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px
}

.cat-tab {
  padding: 10px 26px;
  border: 1px solid var(--border);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--text-mid);
  background: #fff;
  transition: border-color .2s, color .2s
}

.cat-tab:hover {
  border-color: var(--blue);
  color: var(--blue)
}

.cat-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff
}

/* ── 文章列表 ──────────────────────────────────────── */
.art-list {
  display: flex;
  flex-direction: column
}

.art-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px 8px;
  border-bottom: 1px solid var(--border);
  transition: background .15s
}

.art-item:first-child {
  border-top: 1px solid var(--border)
}

.art-item:hover {
  background: var(--bg-warm)
}

.art-date {
  text-align: center;
  border-right: 1px solid var(--border);
  padding-right: 24px
}

.art-day {
  font-family: 'DM Serif Display', serif;
  font-size: 30px;
  color: var(--navy);
  line-height: 1
}

.art-ym {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: .08em;
  margin-top: 6px;
  font-family: 'DM Sans', sans-serif
}

.art-cat {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--blue);
  background: rgba(26, 95, 168, .08);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif
}

.art-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 17px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.6;
  transition: color .15s;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.art-item:hover .art-title {
  color: var(--blue)
}

.art-excerpt {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.art-arr {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: background .2s, color .2s, border-color .2s
}

.art-item:hover .art-arr {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff
}

/* ── 列表分頁 ──────────────────────────────────────── */
.pager {
  display: flex;
  justify-content: center;
  margin-top: 56px
}

.pager-btns {
  display: flex;
  align-items: center;
  gap: 6px
}

.pager-btns button {
  min-width: 38px;
  height: 38px;
  padding: 0 4px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-mid);
  font-family: 'DM Sans', sans-serif;
  transition: border-color .15s, color .15s, background .15s
}

.pager-btns button:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue)
}

.pager-btns button.cur {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff
}

.pager-btns button:disabled {
  opacity: .35;
  cursor: not-allowed
}

/* ── 成功案例卡 ────────────────────────────────────── */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px
}

.case-card {
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s
}

.case-card:hover {
  box-shadow: 0 10px 36px rgba(11, 31, 58, .12);
  transform: translateY(-4px)
}

.case-top {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 28px 28px 24px;
  position: relative;
  overflow: hidden
}

.case-industry {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--accent);
  border: 1px solid rgba(239, 130, 29, .5);
  padding: 3px 10px;
  margin-bottom: 14px;
  font-family: 'DM Sans', sans-serif;
  width: fit-content
}

.case-name {
  font-family: 'Noto Serif TC', serif;
  font-size: 17px;
  color: #fff;
  font-weight: 500;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.case-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1
}

.case-text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.9;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden
}

/* ── 聯絡頂峰 ──────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 72px;
  align-items: start
}

.ci-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border)
}

.ci-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(26, 95, 168, .08);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue)
}

.ci-label {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-light);
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 4px
}

.ci-value {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7
}

.ci-value small {
  display: block;
  font-size: 12px;
  color: var(--text-light)
}

.c-form {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  padding: 44px 40px
}

.c-form-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 6px
}

.c-form-sub {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 28px
}

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

.f-group {
  margin-bottom: 18px
}

.f-group label {
  display: block;
  font-size: 12px;
  color: var(--text-mid);
  letter-spacing: .06em;
  margin-bottom: 7px
}

.f-group label em {
  color: var(--accent);
  font-style: normal;
  margin-left: 2px
}

.f-group input,
.f-group select,
.f-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg-warm);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  transition: border-color .2s, background .2s;
  border-radius: 2px
}

.f-group input:focus,
.f-group select:focus,
.f-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff
}

.f-group textarea {
  min-height: 130px;
  resize: vertical
}

.f-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  letter-spacing: .1em;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s
}

.f-submit:hover {
  background: var(--navy)
}

.map-ph {
  margin-top: 32px;
  aspect-ratio: 16/7;
  background: linear-gradient(135deg, #e8edf5, #cdd6e8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(11, 31, 58, .3);
  border: 1px solid var(--border)
}

.map-ph span {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase
}

/* ── 文章內頁（news / insight detail）──────────────── */
.article-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 48px
}

.art-page-head {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px
}

.art-page-title {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--navy);
  font-weight: 500;
  line-height: 1.55;
  margin: 14px 0 18px
}

.art-page-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: .06em
}

.art-page-meta .meta-date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Sans', sans-serif
}

.art-page-body p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 2.15;
  margin-bottom: 22px
}

.art-page-body h3 {
  font-family: 'Noto Serif TC', serif;
  font-size: 20px;
  color: var(--navy);
  font-weight: 500;
  margin: 44px 0 18px;
  padding-left: 14px;
  border-left: 3px solid var(--blue)
}

.art-page-body ul {
  list-style: disc;
  padding-left: 26px;
  margin-bottom: 24px
}

.art-page-body ul li {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 2.05;
  margin-bottom: 6px
}

.art-page-body blockquote {
  margin: 32px 0;
  padding: 24px 30px;
  background: var(--bg-warm);
  border-left: 3px solid var(--accent);
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 2
}

/* 返回列表按鈕 */
.art-page-back {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  text-align: center
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 40px;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 13px;
  letter-spacing: .12em;
  transition: background .2s, color .2s
}

.btn-back:hover {
  background: var(--navy);
  color: #fff
}

/* ── 新元件 Responsive ─────────────────────────────── */
@media(max-width:1024px) {
  .case-grid {
    grid-template-columns: 1fr 1fr
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px
  }

  .process-grid.p5 {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 0
  }
}

@media(max-width:640px) {
  .case-grid {
    grid-template-columns: 1fr
  }

  .art-item {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .art-title {
    -webkit-line-clamp: 2
  }

  .art-date {
    display: flex;
    align-items: baseline;
    gap: 10px;
    border-right: none;
    padding-right: 0;
    text-align: left;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 8px
  }

  .art-arr {
    display: none
  }

  .f-row {
    grid-template-columns: 1fr
  }

  .process-grid.p5 {
    grid-template-columns: 1fr 1fr
  }

  .ft-logo-box img {
    width: 180px
  }

  .article-wrap {
    padding: 0 20px
  }
}

/* ─── Alert（表單送出結果提示） ─────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.7;
  border: 1px solid transparent;
}

.alert-success {
  background: #eafaf1;
  color: #2e9e5b;
  border-color: #bfead2;
}

.alert-error {
  background: #fdecea;
  color: #d0453c;
  border-color: #f6cdc9;
}