:root {
  --navy: #142330;
  --navy2: #0d1922;
  --gold: #c49a5a;
  --gold2: #e0bd83;
  --paper: #f5f3ee;
  --ink: #18232c;
  --muted: #66737d;
  --line: #d9d9d4;
  --white: #fff;
  --max: 1280px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.8;
  background: #fff;
}
body.menu-open {
  overflow: hidden;
}
img {
  display: block;
  width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
.container {
  width: min(calc(100% - 40px), var(--max));
  margin: auto;
}
.topbar {
  background: var(--navy2);
  color: #c9d0d5;
  font-size: 13px;
}
.topbar .container {
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.topbar a {
  color: var(--gold2);
  margin-left: 24px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 5px 24px #0c1c2810;
}
.nav-wrap {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 49px;
  height: 49px;
  background: var(--navy);
  color: var(--gold2);
  display: grid;
  place-items: center;
  font: 700 26px serif;
  transform: rotate(45deg);
}
.brand-mark::first-letter {
  transform: rotate(-45deg);
}
.brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand b {
  font-size: 21px;
  letter-spacing: 3px;
}
.brand small {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #7d888f;
  margin-top: 4px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}
.main-nav > a {
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding: 31px 0;
}
.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 20px;
  height: 2px;
  background: var(--gold);
  transition: 0.3s;
}
.main-nav > a:hover::after,
.main-nav > a.active::after {
  right: 0;
}
.main-nav .nav-cta {
  padding: 11px 18px;
  background: var(--navy);
  color: white;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 6px;
}
.section {
  padding: 100px 0;
}
.section-head {
  margin-bottom: 45px;
}
.section-head h2 {
  font: 700 clamp(30px, 4vw, 48px) / 1.35 serif;
  margin: 8px 0 14px;
  letter-spacing: 1px;
}
.section-head > p {
  max-width: 650px;
  color: var(--muted);
  margin: 0;
}
.eyebrow {
  display: inline-block;
  color: #a2763e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
}
.eyebrow.light {
  color: var(--gold2);
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 27px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: 0.25s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy2);
}
.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn-outline {
  border: 1px solid #ffffff80;
  color: #fff;
}
.text-link {
  display: inline-block;
  margin-top: 22px;
  font-weight: 700;
  border-bottom: 1px solid var(--gold);
}
.center {
  text-align: center;
  margin-top: 45px;
}
.inner-hero {
  min-height: 355px;
  background:
    linear-gradient(100deg, #0b1824f2, #132a3bd9),
    url("../images/brand/hero.jpg") center 58% / cover;
  color: #fff;
  display: flex;
  align-items: center;
}
.inner-hero h1 {
  font: 700 clamp(38px, 6vw, 64px) / 1.2 serif;
  margin: 8px 0;
}
.inner-hero p {
  font-size: 18px;
  color: #d5dde2;
  max-width: 700px;
  margin: 0;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: #fff;
  padding: 35px;
  border: 1px solid #e3e3df;
  position: relative;
  min-height: 285px;
  transition: 0.3s;
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 50px #10233115;
  border-color: transparent;
}
.service-card > span {
  font: 700 38px serif;
  color: #d8c29e;
}
.service-card h3 {
  font-size: 23px;
  margin: 8px 0;
}
.service-card p {
  color: var(--muted);
  font-size: 15px;
}
.service-card a {
  position: absolute;
  bottom: 28px;
  font-weight: 700;
  color: #9a6b32;
}
.service-card a b {
  margin-left: 8px;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  transition: 0.3s;
}
.case-card:hover {
  transform: translateY(-6px);
}
.case-img {
  height: 390px;
  position: relative;
  overflow: hidden;
  background: #ddd;
}
.case-img img {
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}
.case-card:hover img {
  transform: scale(1.04);
}
.case-img span {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--gold);
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
}
.case-info {
  padding: 20px 4px;
}
.case-info small {
  color: #967044;
}
.case-info h3 {
  font-size: 21px;
  margin: 4px 0;
}
.case-info .more {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.news-list {
  border-top: 1px solid var(--line);
}
.news-row {
  display: grid;
  grid-template-columns: 190px 1fr 55px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
  gap: 30px;
}
.news-row > div {
  display: flex;
  flex-direction: column;
}
.news-row time {
  font: 700 19px serif;
}
.news-row > div span {
  color: #a67840;
  font-size: 13px;
}
.news-row h3 {
  font-size: 20px;
  margin: 0;
}
.news-row p {
  color: var(--muted);
  margin: 4px 0 0;
}
.round-arrow {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.cta {
  background:
    linear-gradient(90deg, #0c1922eb, #0e1c27b8),
    url("../images/brand/contact.jpg") center/cover;
  color: #fff;
  padding: 75px 0;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.cta h2 {
  font: 700 clamp(28px, 4vw, 44px) serif;
  margin: 8px 0;
}
.cta p {
  color: #cbd3d8;
}
footer {
  background: #0b151d;
  color: #aeb8bf;
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.4fr 1fr;
  gap: 45px;
}
.brand-light b {
  color: #fff;
}
.brand-light .brand-mark {
  background: #213441;
}
.footer-grid h3 {
  font-size: 15px;
  color: #fff;
}
.footer-grid p {
  font-size: 14px;
}
.footer-grid a:hover {
  color: var(--gold2);
}
.copyright {
  border-top: 1px solid #ffffff15;
  margin-top: 50px;
  padding: 20px 0;
  font-size: 12px;
}
.mobile-actions {
  display: none;
}
.backtop {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--gold);
  color: var(--navy);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}
.backtop.show {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 900px) {
  .topbar {
    display: none;
  }
  .nav-wrap {
    height: 72px;
  }
  .brand-mark {
    width: 42px;
    height: 42px;
  }
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: fixed;
    inset: 72px 0 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 25px 30px;
    transform: translateX(100%);
    transition: 0.3s;
    overflow: auto;
  }
  .main-nav.open {
    transform: none;
  }
  .main-nav > a {
    padding: 14px 0;
    border-bottom: 1px solid #eee;
  }
  .main-nav > a::after {
    display: none;
  }
  .main-nav .nav-cta {
    text-align: center;
    margin-top: 15px;
  }
  .section {
    padding: 75px 0;
  }
  .service-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    box-shadow: 0 -4px 20px #0002;
  }
  .mobile-actions a {
    background: var(--navy);
    color: #fff;
    text-align: center;
    padding: 12px;
    font-weight: 700;
  }
  .mobile-actions a:last-child {
    background: #5c9f3b;
  }
  .backtop {
    bottom: 70px;
  }
  .copyright {
    padding-bottom: 70px;
  }
}
@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 30px), var(--max));
  }
  .section {
    padding: 60px 0;
  }
  .section-head {
    margin-bottom: 30px;
  }
  .section-head h2 {
    font-size: 31px;
  }
  .service-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }
  .case-img {
    height: 360px;
  }
  .news-row {
    grid-template-columns: 1fr 38px;
    gap: 10px;
  }
  .news-row > div {
    grid-column: 1/3;
    flex-direction: row;
    gap: 12px;
  }
  .news-row p {
    display: none;
  }
  .news-row h3 {
    font-size: 18px;
  }
  .round-arrow {
    width: 38px;
    height: 38px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .inner-hero {
    min-height: 300px;
  }
  .inner-hero h1 {
    font-size: 38px;
  }
  .inner-hero p {
    font-size: 16px;
  }
}
/* 2026 brand, service imagery, sticky navigation and LINE contact */
.brand img {
  display: block;
  width: 240px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}
.brand-light {
  background: #fff;
  padding: 8px 12px;
  width: max-content;
}
.brand-light img {
  width: 220px;
  height: 52px;
}
.service-card {
  background-size: cover;
  background-position: center;
  color: #fff;
  border: 0;
  min-height: 350px;
  overflow: hidden;
}
.service-card h3 {
  color: #fff;
}
.service-card p {
  color: #dce4e8;
}
.service-card > span {
  color: var(--gold2);
}
.service-card a {
  color: var(--gold2);
}
.service-card:hover {
  box-shadow: 0 20px 55px #0a192440;
}
.service-detail-image {
  background: linear-gradient(180deg, #f5f3ee, #fff);
  padding: 70px 0 0;
}
.service-detail-image img {
  height: min(56vw, 610px);
  min-height: 340px;
  object-fit: cover;
  box-shadow: 0 24px 60px #10233124;
}
.line-float {
  position: fixed;
  right: 22px;
  bottom: 82px;
  z-index: 44;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px 8px 8px;
  box-shadow: 0 8px 30px #07131d35;
  font-weight: 800;
  color: #3b7e2b;
  transition: 0.25s;
}
.line-float:hover {
  transform: translateY(-3px);
}
.line-float img {
  width: 46px;
  height: 46px;
}
.backtop {
  bottom: 24px;
}
@media (max-width: 900px) {
  .brand img {
    width: 205px;
    height: 50px;
  }
  .line-float {
    bottom: 124px;
    right: 14px;
    padding: 6px;
  }
  .line-float img {
    width: 44px;
    height: 44px;
  }
  .line-float span {
    display: none;
  }
  .backtop {
    bottom: 72px;
  }
  .brand-light img {
    width: 210px;
  }
}
@media (max-width: 430px) {
  .brand img {
    width: 180px;
    height: 44px;
  }
  .service-detail-image {
    padding-top: 45px;
  }
  .service-detail-image img {
    min-height: 280px;
    height: 72vw;
  }
}

/* Enlarged full company logo */
.brand img {
  width: 330px;
  height: 70px;
}
.brand-light {
  background: transparent;
  padding: 0;
  width: auto;
}
.brand-light img {
  width: 350px;
  height: 76px;
  object-position: left center;
}
.main-nav {
  gap: 19px;
}
@media (max-width: 1050px) and (min-width: 901px) {
  .brand img {
    width: 275px;
  }
  .main-nav {
    gap: 13px;
  }
  .main-nav > a {
    font-size: 14px;
  }
}
@media (max-width: 900px) {
  .brand img {
    width: 255px;
    height: 54px;
  }
  .brand-light img {
    width: 300px;
    height: 66px;
  }
}
@media (max-width: 390px) {
  .brand img {
    width: 225px;
    height: 48px;
  }
  .brand-light img {
    width: 270px;
    height: 60px;
  }
}
