/* STM Uniform — stmuniform.hk v1 (warm brand grounds) */
:root {
  --navy: #101131;
  --navy-soft: #1a1c4a;
  --gold: #CB9B2B;
  --gold-light: #D2A24D;
  --amber: #FAA732;
  --amber-hot: #F89406;
  --taupe: #826A60;
  --burgundy: #5B2226;
  --beige: #E7E1D6;
  --beige-light: #F4F0E9;
  --cream: #FAF7F1;
  --taupe-tint: #E2D6CC;          /* soft taupe wash for alt bands */
  --burgundy-mist: #EDE4E0;       /* very soft burgundy-beige mix */
  --card: #FFFcf7;                /* off-white cards on tinted grounds */
  --white: #ffffff;
  --text: #1c1c28;
  --muted: #5c5a6a;
  --line: #d4c9b8;
  --line-gold: rgba(203, 155, 43, 0.45);
  --radius: 10px;
  --shadow: 0 8px 28px rgba(16, 17, 49, 0.08);
  --max: 1120px;
  --font: "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--beige);
  background-image:
    radial-gradient(ellipse 90% 50% at 100% 0%, rgba(203, 155, 43, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 40% at 0% 30%, rgba(91, 34, 38, 0.05), transparent 50%);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin-bottom: 0.35rem; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 0.5rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 0; }

/* Top bar */
.topbar {
  background: var(--navy);
  color: #d8d6e8;
  font-size: 0.85rem;
  padding: 0.45rem 0;
  border-bottom: 2px solid var(--gold);
}
.topbar .container {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; align-items: center;
}
.topbar a { color: #e8e6f4; }
.topbar a:hover { color: var(--gold-light); }

/* Header */
.site-header {
  background: linear-gradient(180deg, var(--cream) 0%, var(--beige-light) 100%);
  border-bottom: 1px solid var(--line-gold);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem; color: var(--navy);
}
.brand:hover { color: var(--navy); }
.brand-mark {
  display: block; width: auto; height: 46px; border-radius: 0;
  background: transparent; border: none; padding: 0;
  object-fit: contain; flex-shrink: 0;
}
.brand-text strong { display: block; font-size: 1.1rem; color: var(--navy); }
.brand-text span { display: block; font-size: 0.78rem; color: var(--taupe); }

.nav-toggle {
  display: none; border: 1px solid var(--line); background: var(--beige);
  border-radius: 8px; padding: 0.45rem 0.7rem; cursor: pointer; color: var(--navy);
}
.site-nav ul {
  list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem 1.1rem; align-items: center; flex-wrap: wrap;
}
.site-nav a {
  color: var(--navy); font-weight: 600; font-size: 0.95rem; padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: var(--gold); border-bottom-color: var(--gold);
}
.nav-cta {
  background: var(--amber-hot) !important; color: #fff !important; border: none !important;
  padding: 0.45rem 0.9rem !important; border-radius: 999px !important; border-bottom: none !important;
}
.nav-cta:hover { background: var(--amber) !important; color: var(--navy) !important; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1c1f55 55%, #2a2148 100%);
  color: #f4f1ea;
  padding: 3rem 0 3.5rem;
  border-bottom: 4px solid var(--gold);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center;
}
.hero-eyebrow {
  display: inline-block; color: var(--gold-light); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.04em; margin-bottom: 0.75rem;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero p { color: #d9d6e8; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero-card {
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(203,155,43,0.45);
}
.hero-card img { width: 100%; aspect-ratio: auto; object-fit: contain; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.15rem; border-radius: 999px; font-weight: 700; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; font-size: 0.95rem;
}
.btn-primary { background: var(--amber-hot); color: #fff; }
.btn-primary:hover { background: var(--amber); color: var(--navy); }
.btn-secondary { background: transparent; color: #fff; border-color: var(--gold); }
.btn-secondary:hover { background: rgba(203,155,43,0.15); color: var(--gold-light); }
.btn-outline {
  background: var(--card); color: var(--navy); border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { filter: brightness(1.05); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-light); color: var(--navy); }

/* Sections — alternating warm bands */
.section {
  padding: 3.25rem 0;
  background: var(--beige);
  border-bottom: 1px solid var(--line-gold);
}
.section-alt {
  background:
    linear-gradient(180deg, rgba(130, 106, 96, 0.10), rgba(130, 106, 96, 0.10)),
    var(--taupe-tint);
  border-bottom: 1px solid var(--line-gold);
}
/* Soft burgundy-mist band when FAQ / closing blocks need variety */
.section-alt + .section {
  background:
    linear-gradient(180deg, rgba(91, 34, 38, 0.04), transparent 40%),
    var(--beige-light);
}
.section-head { margin-bottom: 1.75rem; max-width: 42rem; }
.section-head .eyebrow {
  color: var(--gold); font-weight: 700; font-size: 0.88rem; letter-spacing: 0.03em; margin-bottom: 0.4rem;
}
.section-head h2 {
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--line-gold);
  display: inline-block;
}
.lead { font-size: 1.05rem; color: var(--muted); }

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); height: 100%;
  display: flex; flex-direction: column;
}
.card img { width: 100%; aspect-ratio: auto; max-height: none; object-fit: contain; background: var(--beige); }
.card-body { padding: 1.1rem 1.15rem 1.25rem; flex: 1; display: flex; flex-direction: column; background: var(--card); }
.card-body p { color: var(--muted); flex: 1; }
.card-link { margin-top: 0.75rem; font-weight: 700; color: var(--gold); }
.card:hover { border-color: var(--gold); box-shadow: 0 10px 32px rgba(16, 17, 49, 0.12); }

/* Keep industry cards even: hotel/catering photos are landscape, others portrait */
.industry-cards .card img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center center;
}


.feature-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 0.85rem;
}
.feature-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.1rem; margin: 0;
}
.feature-list strong { color: var(--navy); display: block; margin-bottom: 0.25rem; }

.cta-band {
  background: linear-gradient(120deg, var(--navy), #24265d 55%, #3a2030);
  color: #eee;
  padding: 2.5rem 0;
  border-top: 4px solid var(--gold);
  border-bottom: 1px solid rgba(203, 155, 43, 0.35);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d5d3e6; }
.cta-band .container {
  display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: space-between; align-items: center;
}

/* Page hero (inner) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1c1f55 70%, #3a2230 100%);
  color: #ebe8f6; padding: 2.4rem 0 2.6rem;
  border-bottom: 4px solid var(--gold);
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #d2d0e4; max-width: 44rem; margin-bottom: 0; }
.breadcrumb {
  font-size: 0.85rem; color: #b7b5c9; margin-bottom: 0.75rem;
}
.breadcrumb a { color: var(--gold-light); }

.split {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: start;
}
.split img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line-gold); box-shadow: var(--shadow);
  aspect-ratio: auto; object-fit: contain; background: var(--beige);
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 0.9rem 1rem; margin-bottom: 0.7rem;
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--navy); list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] { background: var(--cream); }
.faq details p { margin: 0.7rem 0 0; color: var(--muted); }

.nap-box, .checklist, .quote-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem; box-shadow: var(--shadow);
}
.nap-box dt { font-weight: 700; color: var(--gold); margin-top: 0.7rem; }
.nap-box dt:first-child { margin-top: 0; }
.nap-box dd { margin: 0.15rem 0 0; color: var(--text); }
.checklist li { margin-bottom: 0.55rem; }

.quote-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0; }
.note {
  background: var(--burgundy-mist);
  border-left: 4px solid var(--burgundy);
  padding: 0.85rem 1rem;
  border-radius: 0 8px 8px 0; color: var(--muted); font-size: 0.95rem;
}

table.compare {
  width: 100%; border-collapse: collapse; background: var(--card);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-gold);
}
table.compare th, table.compare td {
  padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top;
}
table.compare th { background: var(--navy); color: #fff; font-weight: 700; }
table.compare tr:nth-child(even) td { background: rgba(231, 225, 214, 0.45); }
table.compare tr:last-child td { border-bottom: none; }

.tag {
  display: inline-block; background: var(--beige); color: var(--navy); border-radius: 999px;
  padding: 0.2rem 0.65rem; font-size: 0.8rem; font-weight: 700; margin-right: 0.35rem;
  border: 1px solid var(--line-gold);
}

/* Footer */
.site-footer {
  background: var(--navy); color: #c9c7d8; padding: 2.75rem 0 1.5rem; margin-top: 0;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem;
}
.site-footer h3 { color: var(--gold-light); font-size: 0.95rem; margin-bottom: 0.8rem; }
.site-footer a { color: #d8d6e8; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-brand .mark {
  display: block; width: auto; height: 52px; border-radius: 0;
  border: none; margin-bottom: 0.75rem; object-fit: contain;
}
.footer-bottom {
  border-top: 1px solid rgba(203, 155, 43, 0.25); padding-top: 1rem; font-size: 0.85rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: space-between;
}

.blog-stub {
  background: var(--cream);
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem; color: var(--muted);
}

/* Blog listing + article */
.blog-list { display: grid; gap: 1.25rem; }
.blog-list .card { text-decoration: none; color: inherit; max-width: 36rem; }
.blog-list .card img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  max-height: 420px;
}
.blog-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0.35rem 0 1rem;
}
.blog-article {
  max-width: 46rem;
}
.blog-article h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}
.blog-article p { margin-bottom: 0.9rem; }
.blog-article ul {
  margin: 0 0 1rem 1.15rem;
  color: var(--ink);
}
.blog-article li { margin-bottom: 0.45rem; }
.blog-cover {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--beige);
}
.blog-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  background: var(--beige);
}
.blog-related {
  margin-top: 1.75rem;
  padding: 1rem 1.1rem;
  background: var(--cream);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
}


@media (max-width: 900px) {
  .hero-grid, .split, .footer-grid, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--line-gold); padding: 0.75rem 1rem 1rem;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .header-inner { position: relative; }
}
@media (max-width: 640px) {
  .hero-grid, .split, .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; text-align: center; }
}


/* STM logo images */
a.brand { align-items: center; gap: 0.75rem; }
.footer-brand img.mark { max-width: 140px; }
/* product-grid gallery */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.style-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.style-card-media {
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.style-card-media img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  background: var(--beige);
}
.style-card-body {
  padding: 0.9rem 1rem 1.1rem;
  background: var(--card);
}
.style-card-body h2 {
  font-size: 1.05rem;
  margin: 0;
  color: var(--navy);
}
.style-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 32px rgba(16, 17, 49, 0.12);
}
@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }
}


/* SEO keyword / internal-link cloud */
.seo-keyword-cloud {
  background: var(--card);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}
.seo-keyword-cloud h2 { margin-bottom: 0.35rem; }
.seo-keyword-cloud .lead { margin-bottom: 1rem; color: var(--muted); }
.seo-keyword-cloud .kw-group { margin-bottom: 1rem; }
.seo-keyword-cloud .kw-group:last-child { margin-bottom: 0; }
.seo-keyword-cloud h3 {
  font-size: 0.95rem; color: var(--navy); margin: 0 0 0.55rem; font-weight: 700;
}
.seo-keyword-cloud .kw-list {
  display: flex; flex-wrap: wrap; gap: 0.45rem 0.55rem; list-style: none; padding: 0; margin: 0;
}
.seo-keyword-cloud .kw-list a {
  display: inline-block;
  background: var(--beige);
  color: var(--navy);
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.seo-keyword-cloud .kw-list a:hover {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.faq-group {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.1rem;
  color: var(--navy);
  border-bottom: 1px solid var(--line-gold);
  padding-bottom: 0.35rem;
}
.faq-group:first-child { margin-top: 0; }


/* 4-step order process */
.process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: none;
}
.process-steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem 1.25rem;
  box-shadow: var(--shadow);
  position: relative;
}
.process-steps .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}
.process-steps strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.process-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.map-embed {
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow);
  background: var(--beige);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}
.map-note {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .process-steps { grid-template-columns: 1fr; }
}
