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

  :root {
    --navy: #0a2a4d;
    --navy-mid: #1a4a7a;
    --accent: #0072c6;
    --accent-light: #e8f3fc;
    --text: #1a1a1a;
    --text-mid: #555;
    --text-light: #888;
    --border: #dde4ed;
    --bg: #f7f9fc;
    --white: #fff;
    --red: #d0021b;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 15px;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
  }

  /* ── TOP BAR ── */
  .top-bar {
    background: var(--navy);
    color: #aac4df;
    font-size: 12px;
    padding: 6px 0;
  }
  .top-bar .inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
  }
  .top-bar a { color: #aac4df; text-decoration: none; }
  .top-bar a:hover { color: #fff; }

  /* ── HEADER ── */
  header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
  }
  .header-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  }
  .logo-mark {
    width: 42px;
    height: 42px;
   /* background: var(--navy);*/
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.5px;
  }
  .logo-mark img{width: 100%;}
  .logo-text { line-height: 1.2; }
  .logo-text .en { font-size: 11px; color: var(--text-light); font-weight: 400; letter-spacing: 1px; }
  .logo-text .ja { font-size: 16px; font-weight: 700; color: var(--navy); }

  nav ul { display: flex; list-style: none; gap: 0; }
  nav ul li a {
    display: block;
    padding: 0 16px;
    height: 70px;
    line-height: 70px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
  }
  nav ul li a:hover { color: var(--accent); border-bottom-color: var(--accent); }

  .header-contact {
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background .2s;
    white-space: nowrap;
  }
  .header-contact:hover { background: var(--navy-mid); }

  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: .3s;
  }

  /* ── MOBILE MENU ── */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    z-index: 200;
    overflow-y: auto;
    padding: 24px;
  }
  .mobile-menu.open { display: block; }
  .mobile-menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .mobile-menu a:hover { color: #7ec8ff; }
  .mobile-cta {
    display: block;
    margin-top: 24px;
    background: var(--accent);
    color: #fff;
    text-align: center;
    padding: 14px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
  }

  /* ── HERO ── */
  .hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy) 0%, #123a6a 55%, #1a5a9a 100%);
    color: #fff;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
  }
  .hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: .07;
    background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
    background-size: 24px 24px;
  }
  .hero-circles {
    position: absolute;
    right: -60px;
    top: -60px;
    width: 500px;
    height: 500px;
    border: 80px solid rgba(255,255,255,.05);
    border-radius: 50%;
  }
  .hero-circles::before {
    content: '';
    position: absolute;
    inset: 80px;
    border: 60px solid rgba(255,255,255,.05);
    border-radius: 50%;
  }
  .hero-inner {
    position: relative;
    max-width: 1160px;
    margin: 0 auto;
    padding: 80px 24px;
  }
  .hero-tag {
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    color: #d0e8ff;
    font-size: 12px;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 2px;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(28px, 4.5vw, 48px);
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 16px;
  }
  .hero h1 .accent-line {
    display: block;
    color: #7ec8ff;
  }
  .hero p {
    font-size: 16px;
    color: rgba(255,255,255,.8);
    max-width: 500px;
    margin-bottom: 36px;
    line-height: 1.9;
  }
  .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
  .btn-primary {
    background: #fff;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 4px;
    text-decoration: none;
    transition: .2s;
    border: 2px solid #fff;
  }
  .btn-primary:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
  .btn-outline {
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 14px 30px;
    border-radius: 4px;
    border: 2px solid rgba(255,255,255,.5);
    text-decoration: none;
    transition: .2s;
  }
  .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

  /* ── TICKER ── */
  .ticker {
    background: var(--accent-light);
    border-top: 3px solid var(--accent);
    padding: 12px 0;
    overflow: hidden;
  }
  .ticker-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .ticker-label {
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 2px;
    white-space: nowrap;
    letter-spacing: 1px;
  }
  .ticker-text { font-size: 13px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ticker-text a { color: var(--accent); text-decoration: none; }
  .ticker-text a:hover { text-decoration: underline; }

  /* ── SECTION COMMON ── */
  section { padding: 72px 24px; }
  .inner { max-width: 1160px; margin: 0 auto; }
  .section-head { text-align: center; margin-bottom: 52px; }
  .section-tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
  }
  .section-head h2 {
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
  }
  .section-head p { font-size: 14.5px; color: var(--text-mid); max-width: 560px; margin: 0 auto; line-height: 1.9; }
  .divider { width: 40px; height: 3px; background: var(--accent); margin: 14px auto 0; border-radius: 2px; }

  /* ── SERVICES ── */
  .services { background: var(--bg); }
  .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
  }
  .service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 32px 28px;
    transition: box-shadow .2s, transform .2s;
    cursor: default;
  }
  .service-card:hover { box-shadow: 0 8px 28px rgba(0,50,120,.1); transform: translateY(-3px); }
  .service-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
  }
  .service-icon svg { width: 26px; height: 26px; fill: var(--accent); }
  .service-icon i {  font-size: 120%; color: #0e63bd; }
  .service-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
  .service-card p { font-size: 13.5px; color: var(--text-mid); line-height: 1.85; }
  .service-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
  }
  .service-link:hover { text-decoration: underline; }
  .service-link::after { content: '→'; }

  /* ── PRODUCTS ── */
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
  }
  .product-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow .2s;
  }
  .product-card:hover { box-shadow: 0 8px 28px rgba(0,50,120,.1); }
  .product-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
  }
  .product-img.blue { background: linear-gradient(135deg, #0a2a4d, #1a5a9a); color: #7ec8ff; }
  .product-img.teal { background: linear-gradient(135deg, #074a3c, #0f9e75); color: #a0e8cc; }
  .product-body { padding: 24px; }
  .product-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 2px;
    margin-bottom: 10px;
    background: var(--accent-light);
    color: var(--accent);
  }
  .product-body h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
  .product-body p { font-size: 13.5px; color: var(--text-mid); line-height: 1.85; }

  /* ── NEWS ── */
  .news { background: var(--bg); }
  .news-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--white); }
  .news-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: background .15s;
  }
  .news-item:last-child { border-bottom: none; }
  .news-item:hover { background: var(--accent-light); }
  .news-date { font-size: 13px; color: var(--text-light); white-space: nowrap; min-width: 90px; padding-top: 2px; }
  .news-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 9px;
    border-radius: 2px;
    white-space: nowrap;
    align-self: flex-start;
    margin-top: 2px;
  }
  .cat-news { background: #e3f0ff; color: var(--accent); }
  .cat-info { background: #fff3cd; color: #856404; }
  .cat-press { background: #d4edda; color: #155724; }
  .news-title { font-size: 14px; line-height: 1.6; }
  .news-more { text-align: right; margin-top: 20px; }
  .news-more a { font-size: 13px; color: var(--accent); text-decoration: none; font-weight: 500; }
  .news-more a:hover { text-decoration: underline; }

  /* ── NUMBERS ── */
  .numbers {
    background: var(--navy);
    color: #fff;
  }
  .numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    overflow: hidden;
  }
  .num-item {
    padding: 40px 24px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.1);
  }
  .num-item:last-child { border-right: none; }
  .num-value {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    color: #7ec8ff;
    line-height: 1;
    margin-bottom: 8px;
  }
  .num-value span { font-size: .55em; color: rgba(255,255,255,.6); }
  .num-label { font-size: 13px; color: rgba(255,255,255,.7); }

  /* ── LOCATIONS ── */
  .locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  .loc-card {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 22px;
    transition: .2s;
  }
  .loc-card:hover { border-color: var(--accent); }
  .loc-flag {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
  }
  .loc-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; display: flex; align-items: center; }
  .loc-card p { font-size: 13px; color: var(--text-mid); line-height: 1.8; }
  .loc-hq { border-color: var(--accent); background: var(--accent-light); }

  /* ── CTA ── */
  .cta { background: var(--navy); color: #fff; text-align: center; }
  .cta h2 { font-family: 'Noto Serif JP', serif; font-size: clamp(22px, 3vw, 30px); font-weight: 700; margin-bottom: 12px; }
  .cta p { font-size: 15px; color: rgba(255,255,255,.75); margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
  .cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
  .btn-white {
    background: #fff;
    color: var(--navy);
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 15px;
    transition: .2s;
    border: 2px solid #fff;
  }
  .btn-white:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
  .btn-outline-white {
    background: transparent;
    color: #fff;
    font-weight: 500;
    padding: 16px 36px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 15px;
    border: 2px solid rgba(255,255,255,.5);
    transition: .2s;
  }
  .btn-outline-white:hover { border-color: #fff; }

  /* ── FOOTER ── */
  footer {
    background: #07192e;
    color: rgba(255,255,255,.6);
    font-size: 13px;
  }
  .footer-main {
    max-width: 1160px;
    margin: 0 auto;
    padding: 52px 24px 36px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 36px;
  }
  .footer-brand { grid-column: 1; }
  .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
  .footer-logo-mark {
    width: 36px;
    height: 36px;
   /* background: var(--accent);*/
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
  }
   .footer-logo-mark img{width: 100%; border-radius: 50%;}
  .footer-logo-name { color: #fff; font-size: 14px; font-weight: 500; }
  .footer-brand p { line-height: 1.85; font-size: 13px; }
  .footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
  .footer-col ul li a { color: rgba(255,255,255,.6); text-decoration: none; font-size: 13px; transition: color .15s; }
  .footer-col ul li a:hover { color: #fff; }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 18px 24px;
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 12px; }
  .footer-bottom a:hover { color: #fff; }

  /* ── RESPONSIVE ── */
  @media (max-width: 768px) {
    nav, .header-contact, .top-bar { display: none; }
    .hamburger { display: flex; }
    .hero { min-height: 420px; }
    .hero-circles { display: none; }
    .numbers-grid { grid-template-columns: repeat(2, 1fr); }
    .num-item:nth-child(2) { border-right: none; }
    .num-item { border-bottom: 1px solid rgba(255,255,255,.1); }
    .num-item:nth-child(3), .num-item:nth-child(4) { border-bottom: none; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
  }
  @media (max-width: 480px) {
    section { padding: 52px 16px; }
    .hero-inner { padding: 60px 16px; }
    .hero-btns { flex-direction: column; }
    .btn-primary, .btn-outline { width: 100%; text-align: center; }
    .footer-main { grid-template-columns: 1fr; }
    .footer-brand { grid-column: 1; }
    .numbers-grid { grid-template-columns: 1fr 1fr; }
    .service-grid, .product-grid { grid-template-columns: 1fr; }
    .news-item { flex-wrap: wrap; gap: 8px; }
    .news-date { min-width: 0; }
    .cta-btns { flex-direction: column; align-items: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
  }


 /* PAGE HERO */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, #1a5a9a 100%); color: #fff; padding: 52px 24px; }
.page-hero .inner { max-width: 1160px; margin: 0 auto; }
.page-hero h1 { font-family: 'Noto Serif TC', serif; font-size: clamp(24px, 3.5vw, 36px); font-weight: 700; margin-bottom: 8px; }
.page-hero p { font-size: 14px; color: rgba(255,255,255,.75); } 
/* CATALOG */
.product-catalog { background: #fff; padding: 60px 24px; }
.catalog-inner { max-width: 1160px; margin: 0 auto; }

.filter-container { margin-bottom: 40px; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.filter-wrapper { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-btn { background: var(--bg); border: 1px solid var(--border); color: var(--text-mid); padding: 8px 20px; border-radius: 20px; font-size: 14px; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.filter-btn:hover { background: var(--accent-light); color: var(--accent); }
.filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.masonry-grid { column-count: 3; column-gap: 24px; }
@media (max-width: 992px) { .masonry-grid { column-count: 2; } }
@media (max-width: 576px)  { .masonry-grid { column-count: 1; } }

.masonry-item { break-inside: avoid; margin-bottom: 24px; display: block; }
.p-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; text-decoration: none; display: block; cursor: pointer; }
.p-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.p-img { width: 100%; height: 180px; overflow: hidden; background: var(--accent-light); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--navy-mid); }
.p-img img{width: 100%;}
.masonry-item:nth-child(3n)   .p-img { height: 220px; }
.masonry-item:nth-child(3n+2) .p-img { height: 160px; }
.p-info { padding: 20px; }
.p-tag { font-size: 11px; color: var(--accent); font-weight: 700; margin-bottom: 8px; display: block; letter-spacing: 1px; }
.p-info h4 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.p-info p  { font-size: 13px; color: var(--text-mid); line-height: 1.7; }
.p-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--accent); }
.p-more::after { content: '→'; display: inline-block; transition: transform .2s; }
.p-card:hover .p-more::after { transform: translateX(4px); }

.empty-state { text-align: center; padding: 80px 20px; color: var(--text-light); display: none; }
.empty-state svg { width: 64px; height: 64px; margin-bottom: 16px; opacity: .4; }



/* ── BREADCRUMB BAR ── */
.breadcrumb-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 0 24px; }
.breadcrumb-bar .bci {
  max-width: 1160px; margin: 0 auto; height: 48px;
  display: flex; align-items: center; flex-wrap: wrap;
  font-size: 13px; color: var(--text-light); gap: 2px;
}
.breadcrumb-bar .bc-sep { color: #c5d0de; margin: 0 8px; }
.breadcrumb-bar a { color: var(--accent); text-decoration: none; transition: color .15s; }
.breadcrumb-bar a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb-bar .bc-current { color: var(--navy); font-weight: 600; }

/* ── NOT FOUND ── */
.not-found { text-align: center; padding: 120px 24px; color: var(--text-light); }
.not-found h2 { font-size: 24px; color: var(--navy); margin-bottom: 12px; }
.not-found a { color: var(--accent); font-weight: 600; text-decoration: none; }

/* ── DETAIL BODY ── */
.detail-page { min-height: 60vh; }
.detail-body {
  max-width: 1160px; margin: 0 auto;
  padding: 52px 24px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
@media (max-width: 860px) { .detail-body { grid-template-columns: 1fr; gap: 36px; } }

/* ── GALLERY ── */
.gallery-col { position: sticky; top: 90px; }

.main-img-frame {
  position: relative; background: var(--white);
  border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-in; user-select: none;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.main-img-frame .img-emoji { font-size: 6rem; line-height: 1; pointer-events: none; transition: transform .3s; }
.main-img-frame:hover .img-emoji { transform: scale(1.06); }
.main-img-frame img { max-width: 100%; max-height: 100%; object-fit: contain; display: none; }

/* Prev/Next arrows */
.img-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(255,255,255,.95); border: 1px solid var(--border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 20px; color: var(--navy);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  transition: all .2s; z-index: 2;
  opacity: 0; pointer-events: none;
}
.main-img-frame:hover .img-arrow { opacity: 1; pointer-events: all; }
.img-arrow:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.img-arrow.prev { left: 12px; }
.img-arrow.next { right: 12px; }
.img-arrow.hidden { display: none !important; }

.img-counter {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  background: rgba(10,42,77,.6); color: #fff;
  font-size: 12px; padding: 3px 12px; border-radius: 20px;
  pointer-events: none;
}
.zoom-hint {
  position: absolute; bottom: 12px; right: 14px;
  background: rgba(10,42,77,.55); color: rgba(255,255,255,.9);
  font-size: 11px; padding: 4px 10px; border-radius: 4px;
  pointer-events: none; opacity: 0; transition: opacity .25s;
}
.main-img-frame:hover .zoom-hint { opacity: 1; }

/* Thumbnail rail */
.thumb-rail { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.thumb {
  width: 70px; height: 70px; border: 2px solid var(--border);
  border-radius: 8px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.6rem; background: var(--white);
  transition: border-color .2s, transform .15s, box-shadow .15s; flex-shrink: 0;
}
.thumb:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,114,198,.2); }
.thumb.active { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,114,198,.18); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── INFO COL ── */
.det-cat-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent); background: var(--accent-light); padding: 4px 14px; border-radius: 2px; margin-bottom: 14px; }
.info-col h1 { font-family: 'Noto Serif TC', serif; font-size: clamp(22px, 2.8vw, 30px); font-weight: 700; color: var(--navy); margin-bottom: 20px; line-height: 1.4; }
.info-divider { width: 40px; height: 3px; background: var(--accent); border-radius: 2px; margin-bottom: 28px; }

.sec-title { font-size: 13.5px; font-weight: 700; color: var(--navy); margin: 28px 0 12px; display: flex; align-items: center; gap: 9px; }
.sec-title::before { content: ''; display: inline-block; width: 4px; height: 16px; background: var(--accent); border-radius: 2px; flex-shrink: 0; }

.det-desc { font-size: 14.5px; color: var(--text-mid); line-height: 2; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 10px 14px; vertical-align: middle; }
.spec-table td:first-child { color: var(--text-light); width: 40%; background: var(--bg); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.spec-table td:last-child { color: var(--navy); font-weight: 500; }

.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ftag { background: var(--bg); border: 1px solid var(--border); padding: 5px 14px; border-radius: 20px; font-size: 12px; color: var(--text-mid); font-weight: 500; transition: background .2s, color .2s; }
.ftag:hover { background: var(--accent-light); color: var(--accent); border-color: var(--accent); }

.det-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: #fff; border: 2px solid var(--accent); font-size: 14px; font-weight: 700; padding: 13px 28px; border-radius: 4px; text-decoration: none; cursor: pointer; transition: all .2s; }
.btn-primary:hover { background: var(--navy); border-color: var(--navy); }
.btn-secondary { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--navy-mid); border: 2px solid var(--border); font-size: 14px; font-weight: 600; padding: 13px 28px; border-radius: 4px; text-decoration: none; cursor: pointer; transition: all .2s; }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

/* ── RELATED ── */
.related-section { border-top: 1px solid var(--border); padding: 48px 24px 64px; background: var(--white); }
.related-inner { max-width: 1160px; margin: 0 auto; }
.related-section h2 { font-family: 'Noto Serif TC', serif; font-size: 20px; color: var(--navy); margin-bottom: 24px; font-weight: 700; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.rel-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; text-decoration: none; display: block; transition: box-shadow .2s, transform .2s; }
.rel-card:hover { box-shadow: 0 8px 24px rgba(0,50,120,.1); transform: translateY(-3px); }
.rel-img { height: 100px; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; background: var(--accent-light); }
.rel-body { padding: 14px 16px; }
.rel-cat { font-size: 10px; color: var(--accent); font-weight: 700; letter-spacing: 1px; display: block; margin-bottom: 4px; }
.rel-body h4 { font-size: 14px; color: var(--navy); font-weight: 600; line-height: 1.4; }

/* ── LIGHTBOX ── */
.lightbox { position: fixed; inset: 0; background: rgba(5,15,30,.96); z-index: 3000; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lb-bg { position: absolute; inset: 0; cursor: zoom-out; }
.lb-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; max-width: 88vw; max-height: 82vh; pointer-events: none; }
.lb-inner .lb-emoji { font-size: clamp(6rem, 14vw, 12rem); line-height: 1; user-select: none; filter: drop-shadow(0 8px 32px rgba(0,0,0,.8)); animation: lbIn .22s ease; }
.lb-inner img { max-width: 88vw; max-height: 82vh; object-fit: contain; border-radius: 6px; box-shadow: 0 16px 64px rgba(0,0,0,.7); display: none; animation: lbIn .22s ease; }
@keyframes lbIn { from { opacity:0; transform:scale(.94); } to { opacity:1; transform:scale(1); } }

.lb-close { position: fixed; top: 18px; right: 22px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 20px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; z-index: 2; }
.lb-close:hover { background: rgba(255,255,255,.28); }
.lb-arrow { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 26px; width: 54px; height: 54px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; z-index: 2; }
.lb-arrow:hover { background: rgba(255,255,255,.28); }
.lb-arrow.prev { left: 18px; }
.lb-arrow.next { right: 18px; }

/* Thumbnail strip */
.lb-thumbs { position: fixed; bottom: 72px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.lb-thumb { width: 48px; height: 48px; border-radius: 5px; border: 2px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; cursor: pointer; background: rgba(255,255,255,.08); transition: border-color .2s, transform .15s; pointer-events: all; }
.lb-thumb:hover { border-color: rgba(255,255,255,.6); transform: translateY(-3px); }
.lb-thumb.active { border-color: #fff; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }

.lb-footer { position: fixed; bottom: 0; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; padding-bottom: 20px; z-index: 2; pointer-events: none; }
.lb-caption { color: rgba(255,255,255,.8); font-size: 13px; }
.lb-counter { color: rgba(255,255,255,.5); font-size: 12px; letter-spacing: 1px; }
.lb-hint    { color: rgba(255,255,255,.25); font-size: 11px; }



@media (max-width: 768px) { nav, .header-contact, .top-bar { display: none; } .hamburger { display: flex; } .footer-main { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .lb-thumbs { display: none; } .lb-arrow.prev { left: 8px; } .lb-arrow.next { right: 8px; } }
@media (max-width: 480px) { .footer-main { grid-template-columns: 1fr; } .footer-brand { grid-column: 1; } .footer-bottom { flex-direction: column; text-align: center; } .det-actions { flex-direction: column; } .btn-primary, .btn-secondary { justify-content: center; } }


/*about*/


/* ── BREADCRUMB ── */
.breadcrumb { background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 0; }
.breadcrumb .inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-light); }
.breadcrumb a { color: var(--text-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--text-mid); font-weight: 500; }

/* ── PAGE HERO ── */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, #123a6a 55%, #1a5a9a 100%); color: #fff; padding: 72px 24px; position: relative; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; opacity: .05; background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%); background-size: 24px 24px; }
.page-hero-circle { position: absolute; right: -80px; bottom: -80px; width: 400px; height: 400px; border: 70px solid rgba(255,255,255,.05); border-radius: 50%; pointer-events: none; }
.page-hero .inner { max-width: 1160px; margin: 0 auto; position: relative; }
.page-hero-tag { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #c8e4ff; font-size: 11px; letter-spacing: 2.5px; padding: 5px 14px; border-radius: 2px; margin-bottom: 18px; text-transform: uppercase; }
.page-hero h1 { font-family: 'Noto Serif TC', serif; font-size: clamp(26px, 4vw, 42px); font-weight: 700; line-height: 1.4; margin-bottom: 16px; }
.page-hero h1 span { color: #7ec8ff; }
.page-hero p { font-size: 15px; color: rgba(255,255,255,.75); max-width: 600px; line-height: 1.9; }

/* ── ANCHOR NAV ── */
.anchor-nav { background: var(--white); border-bottom: 2px solid var(--border); position: sticky; top: 70px; z-index: 90; }
.anchor-nav .inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.anchor-nav .inner::-webkit-scrollbar { display: none; }
.anchor-nav a { display: block; padding: 16px 20px; font-size: 13.5px; font-weight: 500; color: var(--text-mid); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: .2s; }
.anchor-nav a:hover { color: var(--accent); }
.anchor-nav a.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 700; }

/* ── LAYOUT ── */
.page-body { max-width: 1160px; margin: 0 auto; padding: 64px 24px; display: grid; grid-template-columns: 1fr 280px; gap: 60px; align-items: start; }
.main-content { min-width: 0; }
.sidebar { position: sticky; top: 130px; }

/* ── SECTION ── */
.content-section { margin-bottom: 72px; scroll-margin-top: 130px; }
.section-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.section-eyebrow .tag { font-size: 11px; letter-spacing: 2.5px; color: var(--accent); font-weight: 700; text-transform: uppercase; }
.section-eyebrow .line { flex: 1; height: 1px; background: var(--border); }
.content-section h2 { font-family: 'Noto Serif TC', serif; font-size: clamp(20px, 2.5vw, 26px); font-weight: 700; color: var(--navy); margin-bottom: 20px; line-height: 1.4; }
.content-section h2 .accent { color: var(--accent); }
.content-section > p { color: var(--text-mid); line-height: 2; margin-bottom: 16px; font-size: 15px; }

/* ── INTRO HIGHLIGHT ── */
.intro-highlight { background: var(--accent-light); border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0; padding: 24px 28px; margin: 28px 0; }
.intro-highlight p { color: var(--navy); font-size: 15px; line-height: 2; font-weight: 500; margin: 0; }

/* ── MODULE TAGS ── */
.module-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.module-tag { background: var(--bg); border: 1px solid var(--border); border-radius: 4px; padding: 8px 16px; font-size: 13px; font-weight: 500; color: var(--text-mid); transition: .2s; }
.module-tag:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.module-tag .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 6px; }

/* ── VISION BLOCKS ── */
.vision-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 28px 0; }
.vision-card { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 24px 20px; text-align: center; transition: .2s; }
.vision-card:hover { border-color: var(--accent); box-shadow: 0 6px 20px rgba(0,114,198,.1); transform: translateY(-2px); }
.vision-icon { font-size: 32px; margin-bottom: 12px; }
.vision-card h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.vision-card p { font-size: 13px; color: var(--text-mid); line-height: 1.8; }

/* ── ADVANTAGE BLOCKS ── */
.adv-block { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 32px; transition: box-shadow .2s; scroll-margin-top: 150px; }
.adv-block:hover { box-shadow: 0 8px 28px rgba(0,50,120,.08); }
.adv-header { display: flex; align-items: center; gap: 20px; padding: 24px 28px; background: linear-gradient(90deg, var(--navy) 0%, #1a4a7a 100%); color: #fff; cursor: pointer; user-select: none; }
.adv-num { width: 44px; height: 44px; background: rgba(255,255,255,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; font-family: 'Noto Serif TC', serif; flex-shrink: 0; }
.adv-header-text { flex: 1; }
.adv-header-text .adv-en { font-size: 11px; letter-spacing: 2px; color: rgba(255,255,255,.55); margin-bottom: 3px; }
.adv-header-text h3 { font-size: 18px; font-weight: 700; font-family: 'Noto Serif TC', serif; }
.adv-icon-big { font-size: 30px; opacity: .7; }
.adv-body { padding: 32px 28px; background: var(--white); }
.adv-body > p { color: var(--text-mid); line-height: 2; margin-bottom: 24px; }

/* advantage sub items */
.adv-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; }
.adv-item { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.adv-item-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--accent); color: #fff; border-radius: 50%; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.adv-item h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.adv-item p { font-size: 13px; color: var(--text-mid); line-height: 1.85; }

/* value added list */
.value-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 14px; margin-top: 8px; }
.value-list li { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 18px 16px; display: flex; align-items: flex-start; gap: 12px; transition: .2s; }
.value-list li:hover { border-color: var(--accent); background: var(--accent-light); }
.value-list .vi { width: 36px; height: 36px; background: var(--accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.value-list .vt h4 { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.value-list .vt p { font-size: 12.5px; color: var(--text-mid); line-height: 1.7; }

/* ── SIDEBAR ── */
.sidebar-box { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 24px; margin-bottom: 20px; }
.sidebar-box h4 { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); letter-spacing: 1px; text-transform: uppercase; }
.sidebar-toc { list-style: none; display: flex; flex-direction: column; gap: 0; }
.sidebar-toc li a { display: flex; align-items: center; gap: 8px; padding: 9px 0; font-size: 13px; color: var(--text-mid); text-decoration: none; border-bottom: 1px solid var(--border); transition: .15s; }
.sidebar-toc li:last-child a { border-bottom: none; }
.sidebar-toc li a:hover { color: var(--accent); padding-left: 4px; }
.sidebar-toc li a.active { color: var(--accent); font-weight: 700; }
.sidebar-toc li a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--border); flex-shrink: 0; transition: .15s; }
.sidebar-toc li a:hover::before, .sidebar-toc li a.active::before { background: var(--accent); }

.sidebar-cta { background: var(--navy); border-radius: 8px; padding: 24px; color: #fff; text-align: center; }
.sidebar-cta h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.sidebar-cta p { font-size: 12.5px; color: rgba(255,255,255,.7); margin-bottom: 18px; line-height: 1.7; }
.sidebar-cta a { display: block; background: var(--accent); color: #fff; text-align: center; padding: 12px; border-radius: 4px; text-decoration: none; font-size: 13px; font-weight: 500; transition: .2s; margin-bottom: 10px; }
.sidebar-cta a:hover { background: #0060a8; }
.sidebar-cta a.outline { background: transparent; border: 1px solid rgba(255,255,255,.35); }
.sidebar-cta a.outline:hover { background: rgba(255,255,255,.1); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-item { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 14px 12px; text-align: center; }
.stat-val { font-family: 'Noto Serif TC', serif; font-size: 24px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 4px; }
.stat-val sup { font-size: 13px; }
.stat-lbl { font-size: 11px; color: var(--text-light); line-height: 1.4; }

/* ── CTA BANNER ── */
.cta-banner { background: linear-gradient(135deg, var(--navy), #1a5a9a); color: #fff; border-radius: 10px; padding: 48px 40px; text-align: center; margin: 0 0 64px; }
.cta-banner h2 { font-family: 'Noto Serif TC', serif; font-size: clamp(20px, 2.5vw, 26px); font-weight: 700; margin-bottom: 12px; }
.cta-banner p { font-size: 14.5px; color: rgba(255,255,255,.75); margin-bottom: 30px; line-height: 1.9; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--navy); font-weight: 700; padding: 13px 30px; border-radius: 4px; text-decoration: none; font-size: 14px; border: 2px solid #fff; transition: .2s; }
.btn-white:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-outline-white { background: transparent; color: #fff; font-weight: 500; padding: 13px 30px; border-radius: 4px; text-decoration: none; font-size: 14px; border: 2px solid rgba(255,255,255,.45); transition: .2s; }
.btn-outline-white:hover { border-color: #fff; }



/* ── RWD ── */
@media (max-width: 960px) {
  .page-body { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .sidebar-cta { grid-column: 1/-1; }
  .vision-grid { grid-template-columns: repeat(2,1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 768px) {
  nav, .header-contact { display: none; }
  .hamburger { display: flex; }
  .anchor-nav a { padding: 14px 14px; font-size: 13px; }
  .adv-header { padding: 20px; }
  .adv-body { padding: 20px; }
  .adv-icon-big { display: none; }
  .vision-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .page-hero { padding: 48px 16px; }
  .page-body { padding: 40px 16px; }
  .cta-banner { padding: 36px 20px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .sidebar { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .adv-items { grid-template-columns: 1fr; }
}
/*about end*/


/*聯絡我們*/
/* ── BREADCRUMB ── */
.breadcrumb { background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 0; }
.breadcrumb .inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-light); }
.breadcrumb a { color: var(--text-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .current { color: var(--text-mid); font-weight: 500; }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #123a6a 55%, #1a5a9a 100%);
  color: #fff; padding: 80px 24px; position: relative; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; opacity: .05; background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%); background-size: 24px 24px; }
.page-hero-deco {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  display: flex; gap: 20px; opacity: .07; pointer-events: none;
}
.page-hero-deco span { font-size: 120px; line-height: 1; }
.page-hero .inner { max-width: 1160px; margin: 0 auto; position: relative; }
.page-hero-tag { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #c8e4ff; font-size: 11px; letter-spacing: 2.5px; padding: 5px 14px; border-radius: 2px; margin-bottom: 18px; text-transform: uppercase; }
.page-hero h1 { font-family: 'Noto Serif TC', serif; font-size: clamp(26px, 4vw, 44px); font-weight: 700; line-height: 1.35; margin-bottom: 16px; }
.page-hero h1 span { color: #7ec8ff; }
.page-hero p { font-size: 15px; color: rgba(255,255,255,.72); max-width: 520px; line-height: 1.95; }

/* ── MAIN LAYOUT ── */
.page-wrap { max-width: 1160px; margin: 0 auto; padding: 64px 24px 80px; }

/* ── SECTION HEAD ── */
.section-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.section-eyebrow .tag { font-size: 11px; letter-spacing: 2.5px; color: var(--accent); font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.section-eyebrow .line { flex: 1; height: 1px; background: var(--border); }
.section-title { font-family: 'Noto Serif TC', serif; font-size: clamp(20px, 2.5vw, 26px); font-weight: 700; color: var(--navy); margin-bottom: 40px; }
.section-title span { color: var(--accent); }

/* ── CONTACT CARDS ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow .25s, transform .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--card-color, var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.contact-card:hover { box-shadow: 0 12px 36px rgba(0,50,120,.1); transform: translateY(-4px); border-color: var(--card-color, var(--accent)); }
.contact-card:hover::before { transform: scaleX(1); }

.card-icon-wrap {
  width: 72px; height: 72px;
  background: var(--card-bg, var(--accent-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background .25s;
}
.contact-card:hover .card-icon-wrap { background: var(--card-color, var(--accent)); }
.card-icon-wrap svg { width: 32px; height: 32px; transition: filter .25s; }
.contact-card:hover .card-icon-wrap svg path,
.contact-card:hover .card-icon-wrap svg circle,
.contact-card:hover .card-icon-wrap svg rect,
.contact-card:hover .card-icon-wrap svg polyline { stroke: #fff !important; fill: none !important; }
.contact-card:hover .card-icon-wrap .fill-icon { fill: #fff !important; stroke: none !important; }

.card-label { font-size: 11px; letter-spacing: 2px; color: var(--text-light); font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.card-value { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 6px; line-height: 1.4; }
.card-sub { font-size: 12.5px; color: var(--text-light); margin-bottom: 20px; line-height: 1.6; }
.card-action {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 500;
  color: var(--card-color, var(--accent));
  padding: 8px 20px;
  border-radius: 4px;
  border: 1.5px solid var(--card-color, var(--accent));
  transition: .2s; margin-top: auto;
  text-decoration: none;
}
.contact-card:hover .card-action { background: var(--card-color, var(--accent)); color: #fff; }
.card-action svg { width: 13px; height: 13px; }

/* ── OFFICE SECTION ── */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.office-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.office-card:hover { box-shadow: 0 8px 28px rgba(0,50,120,.09); }
.office-card.hq .office-head { background: var(--navy); }
.office-card.tw .office-head { background: #0a5c3e; }
.office-card.cn .office-head { background: #5a2d82; }
.office-head {
  padding: 20px 24px;
  color: #fff;
  display: flex; align-items: center; gap: 14px;
}
.office-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  background: rgba(255,255,255,.18); border-radius: 2px;
  padding: 3px 9px; white-space: nowrap;
}
.office-head h3 { font-size: 16px; font-weight: 700; }
.office-body { padding: 24px; background: var(--white); }
.office-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--bg); }
.office-row:last-child { border-bottom: none; padding-bottom: 0; }
.office-row-icon { width: 30px; height: 30px; background: var(--bg); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; }
.office-row-text .label { font-size: 11px; color: var(--text-light); margin-bottom: 2px; font-weight: 500; }
.office-row-text .value { font-size: 13.5px; color: var(--text); font-weight: 500; line-height: 1.6; }
.office-row-text a { color: var(--accent); text-decoration: none; }
.office-row-text a:hover { text-decoration: underline; }

/* ── HOURS BANNER ── */
.hours-banner {
  background: var(--accent-light);
  border: 1px solid #c8dff5;
  border-radius: 10px;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.hours-icon { font-size: 40px; flex-shrink: 0; }
.hours-text h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.hours-text p { font-size: 14px; color: var(--text-mid); line-height: 1.8; }
.hours-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.hours-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 18px;
  text-align: center;
}
.hours-chip .day { font-size: 11px; color: var(--text-light); font-weight: 600; letter-spacing: 1px; margin-bottom: 4px; }
.hours-chip .time { font-size: 14px; font-weight: 700; color: var(--navy); }
.hours-chip.closed .time { color: var(--text-light); }

/* ── FAQ STRIP ── */
.faq-strip { background: var(--bg); border-radius: 10px; padding: 40px; margin-bottom: 64px; }
.faq-strip h3 { font-family: 'Noto Serif TC', serif; font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; cursor: pointer; gap: 16px;
}
.faq-q span { font-size: 14.5px; font-weight: 500; color: var(--navy); }
.faq-q::after { content: '+'; font-size: 20px; color: var(--accent); font-weight: 300; flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { font-size: 14px; color: var(--text-mid); line-height: 1.9; padding: 0 0 16px; display: none; }
.faq-item.open .faq-a { display: block; }

/* ── SOCIAL ROW ── */
.social-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 64px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
  text-decoration: none; transition: .2s;
  border: 1.5px solid transparent;
}
.social-btn svg { width: 20px; height: 20px; }
.social-btn.line { background: #06C755; color: #fff; }
.social-btn.line:hover { background: #05a848; }
.social-btn.wechat { background: #07C160; color: #fff; }
.social-btn.wechat:hover { background: #06a050; }
.social-btn.linkedin { background: #0a66c2; color: #fff; }
.social-btn.linkedin:hover { background: #084e96; }
.social-btn.fb { background: #1877f2; color: #fff; }
.social-btn.fb:hover { background: #0e65d4; }


/* ── RWD ── */
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .offices-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 768px) {
  nav, .header-contact { display: none; }
  .hamburger { display: flex; }
  .hours-banner { flex-direction: column; gap: 20px; }
  .hours-chips { margin-left: 0; }
}
@media (max-width: 540px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-wrap { padding: 40px 16px 60px; }
  .faq-strip { padding: 28px 20px; }
  .social-row { gap: 10px; }
  .social-btn { font-size: 13px; padding: 11px 18px; }
}
@media (max-width: 380px) {
  .contact-grid { grid-template-columns: 1fr; }
}
/*聯絡我們 END*/



/* SEARCH BAR */
.search-wrapper { position: relative; margin-bottom: 20px; }
.search-wrapper .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--text-light); pointer-events: none; }
.search-input { width: 100%; height: 44px; padding: 0 44px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; color: var(--text); background: var(--bg); outline: none; transition: border-color .2s, background .2s; font-family: 'Noto Sans TC', sans-serif; }
.search-input:focus { border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 3px rgba(0,114,198,.12); }
.search-clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--text-light); font-size: 20px; line-height: 1; display: none; padding: 4px; }
.search-clear:hover { color: var(--text); }
.search-result-count { font-size: 13px; color: var(--text-light); margin-top: 8px; min-height: 20px; }
.search-result-count span { color: var(--accent); font-weight: 600; }