/* ==========================================================================
   ĐẠI HOÀNG LIÊN SƠN — DESIGN SYSTEM & ARCHITECTURAL STYLE
   Exact Style Matching: https://dai-hoang-lien-son.nguyenxuanson2011199.chatgpt.site
   Enhanced with UI/UX Pro Max Design Intelligence (WCAG 2.2, Precision Hierarchy)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,450;0,500;0,550;0,600;0,650;0,700;0,750;0,800;1,400;1,600&display=swap');

:root {
  --navy: #103951;
  --deep: #092b40;
  --gold: #e1a72f;
  --gold-hover: #f3bf56;
  --ink: #17374a;
  --muted: #596b76;
  --line: #dce3e7;
  --bg-light: #f1f5f7;
  --border-dark: #345568;
  --shadow-node: 20px 20px 0 #0c3046;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 74px;
}

body {
  margin: 0;
  font-family: 'Be Vietnam Pro', Arial, sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

.wrap {
  max-width: 1280px;
  margin: auto;
  padding-left: 48px;
  padding-right: 48px;
}

/* Skip link */
.skip {
  position: fixed;
  top: -80px;
  left: 10px;
  background: white;
  padding: 12px 18px;
  z-index: 9999;
  border: 1px solid var(--line);
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip:focus {
  top: 10px;
}

/* ==========================================================================
   HEADER & NAVIGATION (EXACT SCREENSHOT STYLE)
   ========================================================================== */
header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #e5eaed;
}

.nav {
  min-height: 72px;
  padding-top: 8px;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: block;
  width: 178px;
  max-width: 100%;
  transition: width 0.2s ease;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 550;
  align-items: center;
}

nav a {
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color 0.18s ease;
}

nav a:hover, nav a.active, .map-link:hover {
  color: #b07909;
}

nav a.active {
  color: #b07909;
  font-weight: 700;
}

.nav-call {
  font-size: 15px;
  font-weight: 650;
  border-left: 1px solid var(--line);
  padding-left: 28px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  color: var(--ink);
}

.nav-call span {
  margin-left: 20px;
  color: #b57c13;
  font-size: 17px;
  transition: transform 0.2s ease;
}

.nav-call:hover span {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   HERO SECTION (EXACT SCREENSHOT MATCH)
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--deep);
  background-image: 
    linear-gradient(135deg, rgba(9, 43, 64, 0.92) 0%, rgba(9, 43, 64, 0.82) 50%, rgba(6, 28, 42, 0.95) 100%),
    url('../assets/images/hero_wastewater_plant.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  padding-top: 80px;
  padding-bottom: 72px;
}

.eyebrow, .section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.eyebrow {
  color: #e8c47b;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow > span {
  width: 26px;
  height: 2px;
  background: var(--gold);
}

h1, h2, h3 {
  margin: 0;
}

p {
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

h1 {
  font-size: clamp(36px, 4vw, 53px);
  line-height: 1.24;
  letter-spacing: -1.8px;
  font-weight: 650;
  margin: 27px 0;
}

em {
  font-style: normal;
  color: var(--gold);
}

.hero-copy > p {
  max-width: 475px;
  color: #bfcdd7;
  font-size: 17px;
  line-height: 1.9;
  text-align: justify;
  text-justify: inter-word;
}

.actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 35px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 15px 23px;
  font-size: 15px;
  font-weight: 650;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
}

.button:hover {
  background: #f3bf56;
  transform: translateY(-2px);
}

.gold {
  background: var(--gold);
  color: #142e3f;
}

.text-link {
  font-size: 14px;
  border-bottom: 1px solid #60717e;
  padding: 12px 0;
  color: #fff;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.text-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.text-link span {
  margin-left: 12px;
}

/* ==========================================================================
   SYSTEM DIAGRAM (EXACT BLUEPRINT ISOMETRIC BOX)
   ========================================================================== */
.system {
  align-self: center;
  border: 1px solid #416073;
  background: #10364c;
  box-shadow: 20px 20px 0 #0c3046;
}

.system-top, .system-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 17px 20px;
  color: #aebfcb;
  border-bottom: 1px solid #345568;
}

.system-top > span:first-child {
  color: #e0ae48;
}

.system-body {
  padding: 27px;
}

.system-node {
  display: flex;
  gap: 15px;
  align-items: center;
  border: 1px solid #416175;
  background: #153d54;
  padding: 18px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.system-node:hover {
  border-color: var(--gold);
  background: #17425b;
}

.node-num {
  align-self: flex-start;
  font-size: 12px;
  color: #d1a74f;
  font-family: inherit;
  font-weight: 700;
}

.system-node small {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #a4b7c4;
}

.system-node h2 {
  font-size: 20px;
  font-weight: 550;
  line-height: 1.5;
  margin: 5px 0;
  color: #ffffff;
}

.system-node p {
  font-size: 13px;
  color: #aebfcb;
  margin: 0;
}

.node-icon {
  font-size: 34px;
  color: #d3a651;
  margin-left: auto;
}

.connector {
  height: 41px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 25px;
}

.connector > span {
  height: 100%;
  width: 1px;
  background: #bc964c;
}

.connector small {
  font-size: 12px;
  letter-spacing: 1.2px;
  color: #9eb2bf;
}

.system-bottom {
  border-top: 1px solid #345568;
  border-bottom: 0;
  font-size: 12px;
  letter-spacing: .5px;
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #315063;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 12px;
  letter-spacing: 1.7px;
  color: #b0c0ca;
}

.hero-foot a {
  color: #e3b34e;
  font-size: 20px;
}

/* ==========================================================================
   METRICS & TRUST STRIP (UI/UX PRO MAX PATTERN: AUTHORITY)
   ========================================================================== */
.metrics-strip {
  background: #0d3248;
  border-top: 1px solid #1c455d;
  border-bottom: 1px solid #1c455d;
  padding: 36px 0;
  color: #FFFFFF;
}

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

.metric-card {
  padding: 0 16px;
  border-right: 1px solid #1c455d;
}

.metric-card:last-child {
  border-right: none;
}

.metric-val {
  font-size: 38px;
  font-weight: 750;
  color: var(--gold);
  letter-spacing: -1.2px;
  line-height: 1.1;
  font-family: inherit;
}

.metric-label {
  font-size: 13px;
  color: #bfcdd7;
  margin-top: 8px;
  line-height: 1.5;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   SECTIONS & TYPOGRAPHY
   ========================================================================== */
.section {
  padding-top: 85px;
  padding-bottom: 85px;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 40px;
}

.section-label {
  color: #9e711d;
  margin-bottom: 27px;
}

.intro h2, .section-heading h2, .contact h2 {
  font-size: 36px;
  line-height: 1.35;
  letter-spacing: -1.15px;
  font-weight: 600;
  color: var(--ink);
}

.intro-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

/* ==========================================================================
   ABOUT PAGE: TẦM NHÌN, SỨ MỆNH & 3 GIÁ TRỊ CỐT LÕI
   ========================================================================== */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.vm-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 26px 24px;
  box-shadow: 0 4px 16px rgba(16, 57, 81, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vm-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(16, 57, 81, 0.08);
}

.vm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.vm-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--navy);
  background: rgba(16, 57, 81, 0.08);
  padding: 4px 10px;
  border-radius: 3px;
}

.vm-icon {
  font-size: 20px;
}

.vm-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

/* Core Values Section */
.core-values-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.cv-title-wrap {
  margin-bottom: 22px;
}

.cv-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #9e711d;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cv-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 4px 0 6px 0;
}

.cv-sub {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
}

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

.cv-card {
  background: #f8fafc;
  border: 1px solid #dce4e9;
  padding: 22px 20px;
  position: relative;
  transition: all 0.2s ease;
}

.cv-card:hover {
  background: #ffffff;
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 57, 81, 0.06);
}

.cv-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.cv-card h4 {
  font-size: 16.5px;
  font-weight: 650;
  color: var(--navy);
  margin: 0 0 8px 0;
}

.cv-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

/* ==========================================================================
   ABOUT PAGE: TRIẾT LÝ VẬN HÀNH SECTION
   ========================================================================== */
.philosophy-section {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

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

.philosophy-card {
  background: #ffffff;
  border: 1px solid #dce4e9;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.philosophy-card:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(16, 57, 81, 0.08);
}

.philosophy-card.featured {
  background: #f8fafc;
  border-top: 3px solid var(--gold);
  box-shadow: 0 4px 18px rgba(16, 57, 81, 0.05);
}

.philosophy-card.featured:hover {
  border-top-color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(16, 57, 81, 0.1);
}

.philosophy-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.phi-num {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.phi-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--navy);
  background: rgba(16, 57, 81, 0.07);
  padding: 3px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.philosophy-card h3 {
  font-size: 19px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--navy);
  margin: 0 0 14px 0;
}

.philosophy-card p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

/* ==========================================================================
   HOMEPAGE: STRATEGIC QUOTE BLOCK SECTION
   ========================================================================== */
.quote-section {
  background: var(--deep);
  color: #ffffff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(225, 167, 47, 0.2) 60%, transparent 100%);
}

.quote-box {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  padding-left: 56px;
}

.quote-mark {
  position: absolute;
  top: -24px;
  left: 0;
  font-size: 72px;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--gold);
  opacity: 0.85;
  user-select: none;
}

.quote-text {
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.7;
  font-weight: 400;
  color: #e2edf3;
  margin: 0 0 28px 0;
  letter-spacing: -0.2px;
  text-align: justify;
  text-justify: inter-word;
}

.quote-text strong {
  color: #ffffff;
  font-weight: 700;
}

.quote-text em {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
}

.quote-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote-author-bar {
  width: 3px;
  height: 34px;
  background: var(--gold);
  border-radius: 2px;
}

.quote-author strong {
  display: block;
  font-size: 13.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ffffff;
}

.quote-author span {
  display: block;
  font-size: 13px;
  color: #9bb2bf;
}

.quote-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold);
  border-bottom: 1px solid rgba(225, 167, 47, 0.4);
  padding-bottom: 3px;
  transition: all 0.2s ease;
}

.quote-link:hover {
  color: #f3bf56;
  border-color: #f3bf56;
  transform: translateX(3px);
}

.services {
  background: #f1f5f7;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 36px;
}

.section-heading h2 {
  flex-shrink: 0;
}

.section-heading p {
  font-size: 15px;
  color: var(--muted);
  text-align: justify;
  text-justify: inter-word;
  max-width: 440px;
}

@media (min-width: 861px) {
  .nowrap-lg {
    white-space: nowrap;
  }
}

/* ==========================================================================
   CARDS (3-COLUMN INDUSTRIAL TILES)
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: white;
}

.card {
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease;
}

.card:hover {
  background: #fbfcfd;
}

.card + .card {
  border-left: 1px solid var(--line);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 26px;
}

.card-top > span {
  font-size: 12.5px;
  color: #70828d;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.card svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: #b78629;
  stroke-width: 1.3;
}

.card h3 {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -.7px;
  margin-bottom: 15px;
  color: var(--ink);
}

.card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
  flex: 1;
  text-align: justify;
  text-justify: inter-word;
}

.card a {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  border-top: 1px solid var(--line);
  margin-top: 27px;
  padding-top: 20px;
  color: var(--ink);
}

.card a:hover {
  color: #ad791c;
}

/* ==========================================================================
   PROJECT CARDS WITH VISUAL THUMBNAILS (MATCHING SCREENSHOT)
   ========================================================================== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

.project-card {
  background: #ffffff;
  border: 1px solid #dce3e7;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 8px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -4px rgba(9, 43, 64, 0.14);
  border-color: #b0c0ca;
}

.project-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #092b40;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.project-card:hover .project-thumb img {
  transform: scale(1.05);
}

.project-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  letter-spacing: 0.3px;
  backdrop-filter: blur(4px);
}

.project-pill.teal { background: #0284c7; }
.project-pill.dark { background: #1e293b; }
.project-pill.orange { background: #ea580c; }
.project-pill.green { background: #059669; }
.project-pill.amber { background: #d97706; }
.project-pill.indigo { background: #4f46e5; }

.project-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.project-card:hover .project-title {
  color: #b07909;
}

.project-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
  text-align: justify;
  text-justify: inter-word;
}

.project-footer {
  border-top: 1px solid #edf2f7;
  padding-top: 14px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.project-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   TABLES & DATASHEETS (SPEC SHEET MATRIX)
   ========================================================================== */
.spec-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #FFFFFF;
  margin: 32px 0 24px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.spec-table th {
  background: var(--navy);
  color: #FFFFFF;
  padding: 14px 18px;
  font-weight: 650;
  font-size: 13px;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-dark);
}

.spec-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #edf2f5;
  color: var(--ink);
  line-height: 1.6;
}

.spec-table tr:hover {
  background: #f8fafb;
}

.spec-tag {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(225, 167, 47, 0.15);
  color: #936307;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   CONTACT SECTION & RFQ FORM
   ========================================================================== */
.contact {
  background: var(--navy);
  color: white;
}

.contact-header {
  margin-bottom: 36px;
  max-width: 800px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 44px;
  align-items: stretch;
}

.contact .section-label {
  color: #e4ba61;
}

.contact h2 {
  font-size: 43px;
  color: #FFFFFF;
}

.contact h2 em {
  display: block;
}

.contact p, .contact-header p {
  color: #c0d0da;
  font-size: 16px;
  line-height: 1.9;
  margin: 18px 0 0;
  max-width: 600px;
  text-align: justify;
  text-justify: inter-word;
}

.contact-info {
  background: rgba(12, 45, 66, 0.65);
  border: 1px solid #28506d;
  box-shadow: 16px 16px 0 rgba(0, 0, 0, 0.15);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.contact-row {
  padding: 16px 0 18px;
  border-bottom: 1px solid #274d6b;
}

.contact-row:first-child {
  padding-top: 0;
}

.contact-row > span {
  display: block;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  color: #c8ad76;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 600;
}

.phone {
  font-size: 32px;
  font-weight: 550;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -.6px;
  color: #FFFFFF;
}

.phone > span {
  font-size: 24px;
  color: var(--gold);
}

.contact-row p {
  margin: 0 0 8px;
  color: white;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
}

.map-link {
  font-size: 13px;
  color: #d6e0e7;
  display: inline-flex;
  align-items: center;
}

.map-link span {
  margin-left: 10px;
  color: var(--gold);
}

.contact-note {
  font-size: 13px;
  line-height: 1.75;
  color: #aebfcb;
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.25);
  border-left: 3px solid var(--gold);
  text-align: justify;
  text-justify: inter-word;
}

/* RFQ Form Box */
.rfq-box {
  background: #FFFFFF;
  color: var(--ink);
  padding: 32px;
  border: 1px solid #c9d5dc;
  box-shadow: 16px 16px 0 rgba(0, 0, 0, 0.15);
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.form-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.form-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-full {
  grid-column: 1 / -1;
}

.form-field {
  margin-bottom: 12px;
}

.form-label {
  display: block;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.5px;
  color: var(--navy);
  margin-bottom: 5px;
  text-transform: uppercase;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fbfcfd;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(225, 167, 47, 0.2);
  background: #FFFFFF;
}

.form-textarea {
  min-height: 85px;
  resize: vertical;
}

/* RFQ Checklist */
.rfq-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.rfq-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: #f4f7f9;
  border: 1px solid #dce3e7;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  transition: all 0.2s ease;
  user-select: none;
}

.rfq-check-item:hover {
  background: #eaf1f5;
  border-color: var(--navy);
}

.rfq-check-item input[type="checkbox"] {
  accent-color: var(--navy);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #092b40;
  color: #FFFFFF;
  padding: 14px 20px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  font-size: 13.5px;
  max-width: 400px;
  animation: slideToast 0.3s ease forwards;
}

@keyframes slideToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   FOOTER & MOBILE BAR
   ========================================================================== */
footer {
  background: #072638;
  color: #adc0cb;
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-size: 12.5px;
}

.footer-inner strong {
  font-size: 13.5px;
  letter-spacing: 1px;
  color: #e6edf1;
}

.footer-inner div p {
  margin-top: 4px;
}

.footer-inner a {
  white-space: nowrap;
  color: var(--gold);
}

.footer-inner a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   MOBILE-APP-UI-DESIGN: NAVIGATION DRAWER & THUMB ZONE BOTTOM BAR
   ========================================================================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
  touch-action: manipulation;
}

.mobile-toggle-btn:hover,
.mobile-toggle-btn:focus-visible {
  background: #f1f5f8;
  border-color: #b07909;
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-toggle-btn.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle-btn.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle-btn.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Overlay Backdrop */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 43, 64, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Drawer Sheet */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 84%;
  max-width: 340px;
  background: #ffffff;
  z-index: 1060;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #fafbfc;
}

.drawer-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--navy);
  text-transform: uppercase;
}

.drawer-close-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  touch-action: manipulation;
}

.drawer-close-btn:hover {
  background: #edf2f5;
  color: var(--navy);
}

.mobile-nav-links {
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  min-height: 48px;
  transition: background 0.15s, color 0.15s;
  touch-action: manipulation;
}

.mobile-nav-link .link-icon {
  font-size: 18px;
  min-width: 22px;
  text-align: center;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: #f3f7fa;
  color: #b07909;
}

.mobile-nav-link.highlight {
  background: #fdf8eb;
  border: 1px solid #f2dfa8;
  color: #925f00;
  font-weight: 700;
  margin-top: 6px;
}

.mobile-drawer-footer {
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  background: #fafbfc;
}

.mobile-drawer-call {
  display: block;
  text-align: center;
  padding: 12px;
  background: var(--navy);
  color: #ffffff;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 12px;
  touch-action: manipulation;
}

.mobile-drawer-call:hover {
  background: #103951;
}

.mobile-drawer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
}

/* Dual Sticky Bottom Action Bar (Thumb Zone) */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid #e1e8ed;
  padding: 9px 12px;
  padding-bottom: calc(9px + env(safe-area-inset-bottom, 0px));
  z-index: 1040;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  gap: 10px;
}

.btn-bottom-call,
.btn-bottom-rfq {
  flex: 1;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.1s ease, filter 0.15s ease;
  padding: 8px 12px;
  touch-action: manipulation;
}

.btn-bottom-call:active,
.btn-bottom-rfq:active {
  transform: scale(0.97);
}

.btn-bottom-call {
  background: var(--navy);
  color: #ffffff;
}

.btn-bottom-rfq {
  background: var(--gold);
  color: #142e3f;
}

/* Prevent body scrolling when drawer is open */
body.no-scroll {
  overflow: hidden !important;
  touch-action: none;
}

/* ==========================================================================
   BLOG & TECHNICAL ARTICLES
   ========================================================================== */
.blog-section {
  padding-top: 54px;
  padding-bottom: 72px;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.filter-btn {
  background: white;
  border: 1px solid #c9d7df;
  color: var(--ink);
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.filter-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: #f4f8fa;
}

.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 57, 81, 0.15);
}

/* Featured Spotlight Card */
.blog-featured {
  background: #ffffff;
  border: 1px solid #dce4e9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 50px;
  box-shadow: 0 6px 24px rgba(16, 57, 81, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(16, 57, 81, 0.12);
  border-color: #b0c6d4;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.featured-img-wrap {
  position: relative;
  min-height: 380px;
  background: var(--deep);
  overflow: hidden;
}

.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-featured:hover .featured-img-wrap img {
  transform: scale(1.04);
}

.featured-badge-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(9, 43, 64, 0.85);
  backdrop-filter: blur(8px);
  color: var(--gold);
  border: 1px solid rgba(225, 167, 47, 0.4);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 4px;
}

.featured-content {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 500;
}

.featured-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #a4b4be;
}

.featured-content h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.38;
  color: var(--navy);
  margin-bottom: 16px;
}

.featured-content p {
  font-size: 14.5px;
  line-height: 1.8;
  color: #3b5262;
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 24px;
}

.featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #edf2f5;
  padding-top: 20px;
  margin-top: auto;
}

.featured-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e1ecf2;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid #c8d9e2;
}

.author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.author-role {
  font-size: 11.5px;
  color: var(--muted);
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.read-more-btn:hover {
  color: #b07909;
  transform: translateX(3px);
}

/* 3-Column Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid #dce4e9;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(16, 57, 81, 0.09);
  border-color: #b8ccdb;
}

.blog-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #092b40;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}

.blog-thumb-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(9, 43, 64, 0.88);
  backdrop-filter: blur(6px);
  color: #f7d58b;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 3px;
  border: 1px solid rgba(225, 167, 47, 0.3);
}

.blog-body {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.blog-meta-row .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #a4b4be;
}

.blog-card h3 {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.45;
  color: var(--navy);
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.blog-card:hover h3 {
  color: #b07909;
}

.blog-card p {
  font-size: 13.5px;
  line-height: 1.75;
  color: #4a5e6d;
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 20px;
  flex: 1;
}

.blog-footer {
  border-top: 1px solid #edf2f5;
  padding-top: 14px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-author-sm {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.blog-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.blog-link:hover {
  color: var(--gold);
}

/* Download Spec & Newsletter Banner */
.blog-spec-box {
  background: linear-gradient(135deg, #092b40 0%, #103951 100%);
  border-radius: 12px;
  padding: 40px 48px;
  color: white;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 60px;
  box-shadow: 18px 18px 0 #072335;
  border: 1px solid #234f6d;
}

.blog-spec-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.blog-spec-info p {
  font-size: 14.5px;
  line-height: 1.8;
  color: #c0d1dc;
  text-align: justify;
  text-justify: inter-word;
}

.blog-spec-action {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-spec-action input {
  padding: 12px 16px;
  border-radius: 4px;
  border: 1px solid #4a6c82;
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.blog-spec-action button {
  background: var(--gold);
  color: #092b40;
  border: none;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s ease;
  font-family: inherit;
}

.blog-spec-action button:hover {
  background: var(--gold-hover);
}

/* ==========================================================================
   ARTICLE DETAIL PAGE (SINGLE POST TEMPLATE)
   ========================================================================== */
.article-section {
  padding-top: 36px;
  padding-bottom: 72px;
}

.article-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.article-breadcrumbs a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.article-breadcrumbs a:hover {
  color: var(--gold);
}

.article-breadcrumbs .sep {
  color: #a0b3be;
}

.article-layout {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.article-header {
  margin-bottom: 28px;
}

.article-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.article-cat-badge {
  background: rgba(225, 167, 47, 0.15);
  color: #936307;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.article-read-time {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-title {
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.32;
  color: var(--navy);
  font-weight: 750;
  margin-bottom: 20px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #e2ebf0;
  border-bottom: 1px solid #e2ebf0;
}

.author-info-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar-lg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.author-name-lg {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.author-title-sm {
  font-size: 12px;
  color: var(--muted);
}

.article-date-meta {
  font-size: 13px;
  color: var(--muted);
}

.article-featured-img {
  margin: 32px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 57, 81, 0.08);
  border: 1px solid #dce4e9;
  background: var(--deep);
  aspect-ratio: 16 / 9;
}

.article-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-lead {
  font-size: 17px;
  line-height: 1.85;
  color: #214358;
  font-weight: 500;
  background: #f4f8fa;
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  margin-bottom: 32px;
  border-radius: 0 8px 8px 0;
  text-align: justify;
  text-justify: inter-word;
}

.article-content h2 {
  font-size: 24px;
  color: var(--navy);
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #edf2f5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-content h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 20px;
  background: var(--gold);
  border-radius: 2px;
}

.article-content h3 {
  font-size: 19px;
  color: var(--ink);
  font-weight: 650;
  margin-top: 26px;
  margin-bottom: 12px;
}

.article-content p {
  font-size: 15px;
  line-height: 1.88;
  color: #3b5262;
  margin-bottom: 18px;
  text-align: justify;
  text-justify: inter-word;
}

.article-content ul, .article-content ol {
  margin: 18px 0 24px 22px;
  color: #3b5262;
  line-height: 1.8;
  font-size: 15px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content strong {
  color: var(--navy);
}

.article-callout {
  background: #fbf9f4;
  border: 1px solid #ebd9b7;
  border-left: 4px solid #b07909;
  border-radius: 6px;
  padding: 20px 22px;
  margin: 28px 0;
}

.article-callout-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #925f05;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-callout p {
  font-size: 14px;
  color: #4b5247;
  margin: 0;
  line-height: 1.7;
}

.article-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid #dce4e9;
  border-radius: 8px;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.article-table th {
  background: #f1f6f9;
  color: var(--navy);
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid #dce4e9;
}

.article-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #edf2f5;
  color: #3b5262;
}

.article-table tr:hover {
  background: #fbfcfd;
}

/* Article Navigation */
.article-nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid #edf2f5;
}

.article-nav-card {
  background: #f8fafc;
  border: 1px solid #e1e9ee;
  border-radius: 8px;
  padding: 18px 20px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-nav-card:hover {
  border-color: var(--navy);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(16, 57, 81, 0.08);
}

.article-nav-dir {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.article-nav-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

/* Sidebar Widgets */
.sidebar-sticky {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid #dce4e9;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(16, 57, 81, 0.04);
}

.widget-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf2f5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toc-list li a {
  color: #4a5e6d;
  font-size: 13.5px;
  text-decoration: none;
  line-height: 1.5;
  display: block;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.toc-list li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.related-article-item {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid #edf2f5;
  transition: transform 0.2s ease;
}

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

.related-article-item:hover {
  transform: translateX(3px);
}

.related-thumb {
  width: 64px;
  height: 48px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--deep);
  flex-shrink: 0;
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-info {
  flex: 1;
}

.related-title {
  font-size: 13px;
  font-weight: 650;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 4px;
}

.related-meta {
  font-size: 11px;
  color: var(--muted);
}

.engineer-card {
  background: linear-gradient(135deg, #092b40 0%, #103951 100%);
  color: white;
  border: 1px solid #234f6d;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 12px 12px 0 #072335;
}

.engineer-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.engineer-card p {
  font-size: 13px;
  color: #cad9e3;
  line-height: 1.6;
  margin-bottom: 18px;
  text-align: justify;
}

.engineer-hotline-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: #092b40;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.engineer-hotline-btn:hover {
  background: var(--gold-hover);
}

/* Button Xem them tren the Blog */
.btn-read-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  padding: 6px 12px;
  background: rgba(16, 57, 81, 0.06);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-read-detail:hover {
  background: var(--navy);
  color: #ffffff;
  transform: translateX(2px);
}

/* ==========================================================================
   RESPONSIVE QUERIES (OPTIMIZED FOR MOBILE APP UI/UX)
   ========================================================================== */
@media (min-width: 1500px) {
  .wrap { max-width: 1370px; }
  .hero-inner { padding-top: 100px; padding-bottom: 95px; }
}

@media (max-width: 1024px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .nav { gap: 15px; min-height: 68px; }
  .brand { width: 154px; }
  nav { gap: 18px; }
  .hero-inner { gap: 32px; grid-template-columns: 1.1fr 1fr; }
  .metrics-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .contact-grid { gap: 36px; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 56px; }
  body { overflow-x: hidden; }
  .wrap { padding-left: 18px; padding-right: 18px; }

  /* Compact Sticky Header */
  .nav {
    min-height: 52px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .brand {
    width: 130px;
  }
  .desktop-nav {
    display: none !important;
  }
  .nav-call {
    display: none !important;
  }
  .mobile-toggle-btn {
    display: flex;
  }
  .mobile-bottom-bar {
    display: flex;
  }

  /* Hero Section Mobile Polish */
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 36px;
    padding-bottom: 36px;
    gap: 32px;
  }
  .eyebrow {
    font-size: 11.5px;
    letter-spacing: 1.2px;
  }
  h1 {
    font-size: clamp(25px, 6.8vw, 34px);
    letter-spacing: -0.8px;
    line-height: 1.25;
    margin: 16px 0;
  }
  .hero-copy > p {
    font-size: 15px;
    line-height: 1.65;
    max-width: 100%;
  }
  .actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    align-items: stretch;
    margin-top: 24px;
  }
  .actions .button,
  .actions .text-link {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    font-size: 14.5px;
    border-radius: 6px;
    text-align: center;
    touch-action: manipulation;
  }
  .actions .text-link {
    border-bottom: none;
    background: rgba(255, 255, 255, 0.08);
    color: #e6edf1;
  }
  .actions .button:active,
  .actions .text-link:active {
    transform: scale(0.98);
  }

  /* Isometric Blueprint Card Mobile Fit */
  .system {
    width: 100%;
    box-shadow: 6px 6px 0 #0c3046;
    margin-top: 10px;
  }
  .system-body {
    padding: 18px 16px;
  }
  .system-node {
    padding: 12px;
  }
  .system-node h2 {
    font-size: 16px;
  }
  .system-node p {
    font-size: 12.5px;
  }
  .connector {
    padding: 6px 0;
  }
  .connector small {
    font-size: 9.5px;
    letter-spacing: 0.5px;
  }
  .hero-foot {
    font-size: 11px;
    letter-spacing: 0.5px;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .hero-foot > span:first-child {
    display: none;
  }

  /* Metrics Strip Mobile Horizontal App-Cards */
  .metrics-strip {
    padding: 22px 0;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .metric-card {
    border-right: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
  }
  .metric-number {
    font-size: 28px;
    min-width: 85px;
    line-height: 1;
    margin-bottom: 0;
  }
  .metric-title {
    font-size: 13.5px;
    font-weight: 700;
  }
  .metric-desc {
    font-size: 12px;
    color: #9eb5c4;
    margin-top: 2px;
    line-height: 1.4;
  }

  /* Sections Rhythm */
  .section {
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .section-label {
    margin-bottom: 14px;
    font-size: 11.5px;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .intro-details {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 18px;
  }
  .vm-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
  }
  .cv-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 22px;
  }
  .quote-section {
    padding: 44px 0;
  }
  .quote-box {
    padding-left: 28px;
  }
  .quote-mark {
    font-size: 48px;
    top: -14px;
  }
  .quote-text {
    font-size: 15.5px;
    line-height: 1.68;
    margin-bottom: 20px;
  }
  .quote-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .intro h2, .section-heading h2 {
    font-size: 23px;
    line-height: 1.3;
  }
  .section-heading {
    display: block;
    margin-bottom: 24px;
  }
  .section-heading p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
  }

  /* 01. Solution Cards */
  .cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .card {
    padding: 20px 16px;
    border-radius: 10px;
    border: 1px solid var(--line);
  }
  .card + .card {
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }
  .card-top {
    margin-bottom: 14px;
  }
  .card h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .card p {
    font-size: 13px;
    line-height: 1.55;
  }
  .card a {
    font-size: 13.5px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* 02. Project Grid */
  .project-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .project-card {
    border-radius: 12px;
  }
  .project-info {
    padding: 16px;
  }
  .project-info h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }
  .project-info p {
    font-size: 13px;
    line-height: 1.5;
  }

  /* RFQ Form & Mobile Input Polish */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact h2 {
    font-size: 26px;
    line-height: 1.25;
  }
  .contact-info {
    padding-top: 0;
  }
  .phone {
    font-size: 26px;
  }
  .rfq-box {
    padding: 20px 16px;
    border-radius: 12px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* iOS Auto-Zoom Fix (Must be >= 16px) */
  .form-input,
  .form-textarea,
  select {
    font-size: 16px !important;
    min-height: 48px;
    padding: 12px 14px;
  }

  .service-checklist {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .service-option {
    padding: 12px 14px;
    min-height: 46px;
    font-size: 14px;
  }
  .service-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
  }

  .form-submit-btn {
    width: 100%;
    min-height: 50px;
    font-size: 15px;
    border-radius: 6px;
  }

  /* Blog Mobile Responsive Styles */
  .filter-tabs {
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 12px;
    margin-bottom: 24px;
    -webkit-overflow-scrolling: touch;
  }
  .filter-btn {
    white-space: nowrap;
    padding: 7px 14px;
    font-size: 12.5px;
    flex-shrink: 0;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .featured-img-wrap {
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }
  .featured-content {
    padding: 24px 20px;
  }
  .featured-content h2 {
    font-size: 20px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .blog-spec-box {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    box-shadow: 10px 10px 0 #072335;
  }

  /* Article Detail Mobile */
  .article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .article-title {
    font-size: 24px;
  }
  .article-lead {
    font-size: 15px;
    padding: 16px 18px;
  }
  .article-content h2 {
    font-size: 20px;
  }
  .article-nav-links {
    grid-template-columns: 1fr;
  }

  /* Footer & Safe Area */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  footer {
    padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .text-link, a, .mobile-drawer { transition: none !important; }
  .toast { animation: none; }
}
