/*
Theme Name: Thép Việt Tín
Theme URI: https://thepviettin.vn
Author: NEX TEAM
Author URI: https://www.nexspace.vn
Description: Giao diện doanh nghiệp công nghiệp B2B cao cấp cho Công ty TNHH Thép Việt Tín — màu thương hiệu Xanh Navy, Đỏ, Trắng.
Version: 1.1.0
Text Domain: thepviettin
*/

:root {
  --navy: #0b2447;
  --navy-deep: #061326;
  --navy-soft: #f0f4fa;
  --red: #c81e1e;
  --red-dark: #a31616;
  --red-soft: #fef2f2;
  --white: #ffffff;
  --bg: #f8fafc;
  --surface: #f1f5f9;
  --ink: #0f172a;
  --secondary: #475569;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 5px;
  --radius-sm: 5px;
  --shadow-sm: 0 2px 10px rgba(11, 36, 71, 0.05);
  --shadow-md: 0 12px 32px rgba(11, 36, 71, 0.08);
  --shadow-lg: 0 22px 48px rgba(11, 36, 71, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Topbar */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
  padding: 8px 0;
  letter-spacing: 0.01em;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar a {
  color: var(--white);
  transition: opacity 0.15s ease;
}

.topbar a:hover {
  opacity: 0.8;
}

/* Sticky Glass Header */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 36, 71, 0.08);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 4px 20px rgba(11, 36, 71, 0.04);
}

.header-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 70px;
  padding: 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  flex-shrink: 0;
  padding: 10px 0;
}

.logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
}

.main-nav {
  justify-self: center;
  height: 100%;
  display: flex;
  align-items: stretch;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: stretch;
  gap: 40px;
}

.main-nav li {
  display: flex;
  align-items: stretch;
}

.main-nav a {
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  height: 70px;
  padding: 0 2px;
  white-space: nowrap;
  position: relative;
  transition: color 0.18s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item>a {
  color: var(--red);
}

.main-nav a:hover::after,
.main-nav .current-menu-item>a::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  flex-shrink: 0;
}

.header-actions .btn {
  height: 42px;
  padding: 0 18px;
  white-space: nowrap;
}

.btn-search-icon {
  width: 42px;
  height: 42px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-search-icon:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(11, 36, 71, 0.2);
}

.btn-navy:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: var(--navy-soft);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--white);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: 99px;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 20px 22px;
  box-shadow: 0 18px 40px rgba(6, 19, 38, 0.14);
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer ul {
  list-style: none;
}

.mobile-drawer li {
  border-bottom: 1px solid var(--surface);
}

.mobile-drawer a:not(.btn) {
  display: block;
  padding: 11px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.mobile-drawer .current-menu-item>a {
  color: var(--red);
}

.mobile-drawer-cta {
  width: 100%;
  margin-top: 16px;
}

/* Unified Popup Modal (Search & Quote) */
.search-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 19, 38, 0.65);
  backdrop-filter: blur(6px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  overflow-y: auto;
}

.search-modal.open {
  display: flex;
}

.search-modal-card {
  width: 100%;
  max-width: 580px;
  background: var(--white);
  border-radius: 5px;
  border-top: 4px solid var(--red);
  box-shadow: 0 28px 64px rgba(6, 19, 38, 0.3);
  padding: 26px 28px;
  position: relative;
  margin: auto;
  max-height: 92vh;
  overflow-y: auto;
}

.search-modal-card .quote-box {
  border: none;
  box-shadow: none;
  padding: 0;
}

.search-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 16px;
}

.search-modal-close {
  background: transparent;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.search-modal-close:hover {
  color: var(--red);
}

.search-modal-form {
  display: flex;
  gap: 10px;
}

.search-modal-form input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 12px 18px;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
}

.search-modal-form input:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}

/* Hero Banner */
.hero {
  background-color: var(--navy-deep);
  background-size: cover;
  background-position: center;
  color: var(--white);
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: 130px 0 150px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 19, 38, 0.94) 0%, rgba(11, 36, 71, 0.80) 54%, rgba(11, 36, 71, 0.42) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 30, 30, 0.92);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 5px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-panel {
  background: rgba(6, 19, 38, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  padding: 26px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.hero-panel h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-panel ul {
  list-style: none;
  font-size: 14px;
}

.hero-panel li {
  padding: 9px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}

.hero-panel li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-pill {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
}

/* Trust Strip */
.trust-strip-wrap {
  position: relative;
  z-index: 5;
  margin-top: -42px;
  margin-bottom: 12px;
}

.trust-strip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 5px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.trust-item {
  padding: 20px 22px;
  border-right: 1px solid var(--border);
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(11, 36, 71, 0.28);
}

.trust-item:last-child {
  border-right: none;
}

.trust-item strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.trust-item span {
  font-size: 12.5px;
  color: var(--secondary);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.section-kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 6px;
}

.section-head h2 {
  font-size: 30px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* Grids & Cards */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(11, 36, 71, 0.18);
}

.card-thumb {
  aspect-ratio: 16 / 10;
  background: var(--navy-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  overflow: hidden;
  position: relative;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  margin-bottom: 6px;
}

.card-title {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.38;
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 13.5px;
  color: var(--secondary);
  margin-bottom: 16px;
  flex: 1;
  line-height: 1.6;
}

.card-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  align-self: flex-end;
  transition: color 0.15s ease;
}

.card-link:hover {
  color: var(--red);
}

/* Product Image-Overlay Card */
.product-overlay-card {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-deep);
  box-shadow: 0 10px 28px rgba(6, 19, 38, 0.14);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
}

.product-overlay-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--red);
  z-index: 4;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-overlay-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(6, 19, 38, 0.24);
}

.product-overlay-card:hover::after {
  width: 100%;
}

.product-overlay-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.product-overlay-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.product-overlay-card:hover .product-overlay-img {
  transform: scale(1.08);
  filter: brightness(0.92);
}

.product-overlay-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 19, 38, 0) 45%, rgba(6, 19, 38, 0.88) 100%);
}

.product-overlay-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--white);
}

.product-overlay-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
  letter-spacing: -0.01em;
}

.product-overlay-arrow {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.product-overlay-card:hover .product-overlay-arrow {
  background: var(--red);
  border-color: var(--red);
  transform: translateX(3px);
}

/* About Media & Capability Cards */
.about-top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: stretch;
  margin-bottom: 0;
}

.about-media {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 360px;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.about-content p {
  color: var(--secondary);
  margin-bottom: 14px;
  font-size: 14.5px;
}

.about-points {
  list-style: none;
  margin-bottom: 22px;
}

.about-points li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--ink);
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--red);
}

.about-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cap-grid {
  gap: 20px;
}

/* Why Choose Us Section */
.why-section {
  position: relative;
  overflow: hidden;
  background-color: var(--navy-deep);
  background-size: cover;
  background-position: center;
}

.why-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 19, 38, 0.90) 0%, rgba(11, 36, 71, 0.84) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1;
}

.why-section .container {
  position: relative;
  z-index: 2;
}

.why-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-radius: 5px;
  border-top: 4px solid var(--red);
  padding: 24px 22px 26px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.3);
}

.why-num-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.why-card h3,
.why-card p {
  position: relative;
  z-index: 2;
}

.why-bg-icon {
  position: absolute;
  right: -10px;
  bottom: -14px;
  color: var(--navy);
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.why-card:hover .why-bg-icon {
  opacity: 0.1;
  transform: scale(1.06);
}

.why-card h3 {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 13.5px;
  color: var(--secondary);
  line-height: 1.6;
}

.about-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(6, 19, 38, 0.88);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 7px 14px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  border-left: 3px solid var(--red);
}

.cap-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cap-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cap-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--red);
  background: var(--red-soft);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.cap-card h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 6px;
  font-weight: 600;
}

.cap-card p {
  font-size: 13.5px;
  color: var(--secondary);
  line-height: 1.6;
}

/* Page Banner */
.page-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(200, 30, 30, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 86% 24%, rgba(56, 130, 246, 0.14) 0%, transparent 50%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 44px 0;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Tables */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.data-table th {
  background: var(--navy);
  color: var(--white);
  text-align: left;
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 600;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid #cbd5e1;
}

.data-table th:last-child {
  border-right: none;
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #cbd5e1;
  border-right: 1px solid #cbd5e1;
  font-size: 14px;
}

.data-table td:last-child {
  border-right: none;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover td {
  background: var(--bg);
}

.price-contact {
  color: var(--red);
  font-weight: 700;
}

.price-list-table thead th {
  text-align: center;
}

.price-list-table tbody td:nth-child(4),
.price-list-table tbody td:nth-child(5) {
  text-align: center;
}

/* Executive Quote Section */
.quote-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: stretch;
}

.quote-aside {
  background: linear-gradient(155deg, rgba(6, 19, 38, 0.88) 0%, rgba(11, 36, 71, 0.78) 100%),
    url('assets/images/project-industrial.jpg') center/cover no-repeat;
  color: var(--white);
  border-radius: 5px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.quote-aside h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 12px;
}

.quote-aside p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  margin-bottom: 24px;
}

.quote-contact-list {
  list-style: none;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
}

.quote-contact-list li {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.quote-contact-list span {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
}

.quote-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 28px 30px;
  box-shadow: var(--shadow-md);
}

.quote-box-head {
  margin-bottom: 18px;
}

.quote-box-head h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.quote-box-line {
  display: block;
  width: 34px;
  height: 2px;
  background: var(--red);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

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

.form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
}

.form-group label span {
  color: var(--red);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid #d5dde7;
  border-radius: 5px;
  padding: 10px 13px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(11, 36, 71, 0.08);
}

.form-group input { height: 42px; }

.file-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 5px;
  background: var(--bg);
  padding: 18px 16px;
  cursor: pointer;
  color: var(--navy);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.file-drop:hover,
.file-drop.is-dragover {
  border-color: var(--red);
  background: var(--red-soft);
}

.file-drop svg {
  color: var(--muted);
  margin-bottom: 2px;
}

.file-drop strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.file-drop span {
  font-size: 11.5px;
  color: var(--muted);
}

.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.alert-success {
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
  padding: 12px 16px;
  border-radius: 5px;
  margin-bottom: 16px;
  font-weight: 600;
}

.alert-error {
  background: var(--red-soft);
  border: 1px solid var(--red);
  color: var(--red-dark);
  padding: 12px 16px;
  border-radius: 5px;
  margin-bottom: 16px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--navy-deep) 0%, #040d1a 100%);
  color: rgba(255, 255, 255, 0.82);
  padding: 60px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.9fr 1.15fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-logo-box {
  display: inline-block;
  background: var(--white);
  padding: 8px 14px;
  border-radius: 5px;
  margin-bottom: 14px;
}

.footer-logo-box img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-brand h4 {
  color: var(--white);
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-radius: 99px;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.footer-pill:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}

.footer-heading {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  position: relative;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  background: var(--red);
}

.footer-links {
  list-style: none;
  font-size: 13.5px;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-loc-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 3px solid var(--red);
  border-radius: 5px;
  padding: 9px 12px;
  margin-bottom: 10px;
}

.footer-loc-card span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.56);
  margin-bottom: 2px;
}

.footer-loc-card strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.62);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* About Page (HST Eco inspired) */
.about-hero {
  position: relative;
  min-height: 400px;
  background-color: var(--navy-deep);
  background-size: cover;
  background-position: center;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  padding: 80px 0 56px;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 19, 38, 0.55) 0%, rgba(6, 19, 38, 0.88) 100%);
}

.about-hero-inner {
  position: relative;
  z-index: 2;
}

.about-hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.about-hero-copy {
  max-width: 660px;
}

.about-hero-copy h1 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.about-hero-copy p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
}

.about-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: border-color 0.2s ease, gap 0.2s ease;
}

.about-hero-cta:hover {
  border-color: var(--red);
  gap: 14px;
}

/* Vision & Mission Split */
.vision-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.vision-col {
  position: relative;
  overflow: hidden;
  padding: 16px 0;
}

.vision-col-left {
  padding-right: 48px;
  border-right: 1px solid var(--border);
}

.vision-col-right {
  padding-left: 48px;
}

.vision-bg-icon {
  position: absolute;
  right: 16px;
  bottom: -24px;
  color: var(--navy);
  opacity: 0.05;
  pointer-events: none;
}

.vision-content {
  position: relative;
  z-index: 2;
}

.vision-content h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.vision-content p {
  font-size: 15px;
  color: var(--secondary);
  line-height: 1.7;
}

/* Horizontal Milestone Tabs */
.milestone-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 28px;
}

.milestone-tab {
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: center;
  padding: 0;
  font-family: inherit;
}

.milestone-tab-top {
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}

.milestone-code {
  font-size: 26px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1;
  transition: color 0.2s ease;
}

.milestone-tri {
  width: 14px;
  height: 8px;
  margin-top: 12px;
  color: var(--border);
  transition: color 0.2s ease;
}

.milestone-label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
}

.milestone-tab.active .milestone-code {
  color: var(--navy);
}

.milestone-tab.active .milestone-tri {
  color: var(--red);
}

.milestone-tab.active .milestone-label {
  color: var(--navy);
  font-weight: 600;
}

.milestone-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.milestone-img {
  aspect-ratio: 4 / 3;
  background: var(--navy-soft);
  overflow: hidden;
}

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

.milestone-body {
  padding: 36px 40px;
}

.milestone-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.milestone-counter {
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.milestone-body h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.milestone-body p {
  font-size: 14.5px;
  color: var(--secondary);
  line-height: 1.7;
  margin-bottom: 22px;
}

.milestone-nav {
  display: flex;
  gap: 10px;
}

/* Core Values */
.core-card {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 28px 24px;
}

.core-bg-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--navy);
  opacity: 0.06;
  pointer-events: none;
}

.core-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.core-card p {
  font-size: 13.5px;
  color: var(--secondary);
  line-height: 1.65;
  position: relative;
  z-index: 2;
}

@media (max-width: 960px) {

  .vision-split,
  .milestone-stage {
    grid-template-columns: 1fr;
  }

  .vision-col-left {
    padding-right: 0;
    padding-bottom: 28px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .vision-col-right {
    padding-left: 0;
    padding-top: 28px;
  }

  .milestone-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Archive Hero & 4.5-col Slider (Products & Projects) */
.archive-hero {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(200, 30, 30, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 86% 24%, rgba(56, 130, 246, 0.14) 0%, transparent 50%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 52px 0 56px;
  overflow: hidden;
  color: var(--white);
}

.archive-watermark {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  font-size: 150px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.archive-hero-inner {
  position: relative;
  z-index: 2;
}

.archive-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.archive-hero-copy {
  max-width: 640px;
}

.archive-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

.kicker-line {
  width: 28px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

.archive-hero-copy h1 {
  font-size: 38px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 10px;
}

.archive-hero-copy p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.archive-search-box {
  position: relative;
  width: 340px;
  max-width: 100%;
  flex-shrink: 0;
}

.archive-search-box input {
  width: 100%;
  height: 46px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0 50px 0 20px;
  font-size: 14px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.archive-search-box input:focus {
  outline: none;
  border-color: var(--navy);
}

.archive-search-box button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 99px;
  border: none;
  background: var(--red);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.slider-wrap {
  position: relative;
  margin-top: 30px;
}

.slider-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 6px 4px 10px;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-card {
  flex: 0 0 calc((100% - 72px) / 4.5);
  aspect-ratio: 4 / 5;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.slider-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.slider-card.is-active {
  box-shadow: inset 0 0 0 2px var(--red), var(--shadow-md);
}

.slider-card.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--red);
  z-index: 3;
}

.slider-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.slider-card:hover img {
  transform: scale(1.06);
}

.slider-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 19, 38, 0.05) 35%, rgba(6, 19, 38, 0.92) 100%);
}

.slider-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(6, 19, 38, 0.72);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 5px;
}

.slider-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px;
  color: var(--white);
}

.slider-card-body h3 {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
}

.slider-card-meta {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.slider-arrow {
  width: 28px;
  height: 28px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.slider-card:hover .slider-arrow,
.slider-card.is-active .slider-arrow {
  background: var(--red);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.slider-btn:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.slider-prev {
  left: 14px;
}

.slider-next {
  right: 14px;
}

.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.list-toolbar-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.list-toolbar-title h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
}

.count-pill {
  background: var(--surface);
  color: var(--secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 5px;
}

.filter-select {
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0 36px 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  appearance: none;
  -webkit-appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230b2447' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
  cursor: pointer;
}

@media (max-width: 960px) {
  .slider-card {
    flex: 0 0 42%;
  }
}

@media (max-width: 640px) {
  .slider-card {
    flex: 0 0 72%;
  }

  .slider-btn {
    display: none;
  }
}

/* Pagination */
.tvt-pagination {
  margin-top: 38px;
  display: flex;
  justify-content: center;
}

.tvt-pagination ul.page-numbers {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tvt-pagination a.page-numbers,
.tvt-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.tvt-pagination a.page-numbers:hover {
  border-color: var(--navy);
  background: var(--navy-soft);
}

.tvt-pagination span.page-numbers.current {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* Single Post Layout & Sidebar */
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 36px;
  align-items: start;
}

.post-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
}

.post-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-meta-item strong {
  color: var(--white);
  font-weight: 600;
}

.post-meta-item a:hover {
  text-decoration: underline;
}

.post-hero-img {
  margin-bottom: 24px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.post-content h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 12px;
  line-height: 1.3;
}

.post-content p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 14px;
}

.post-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.post-content li {
  margin-bottom: 6px;
  color: var(--ink);
}

.post-content figure {
  margin: 22px 0;
}

.post-content figure img {
  width: 100%;
  border-radius: 5px;
  border: 1px solid var(--border);
}

.post-content figcaption {
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  margin-top: 6px;
}

.post-share {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 28px 0 32px;
}

.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 90px;
}

.sidebar-widget {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 20px;
}

.sidebar-widget h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.sidebar-cats {
  list-style: none;
}

.sidebar-cats li {
  border-bottom: 1px solid var(--border);
}

.sidebar-cats li:last-child {
  border-bottom: none;
}

.sidebar-cats a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 14px;
  color: var(--ink);
}

.sidebar-cats a:hover {
  color: var(--red);
}

.sidebar-posts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-post-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  align-items: center;
}

.sidebar-post-item img {
  width: 68px;
  height: 52px;
  object-fit: cover;
  border-radius: 5px;
}

.sidebar-post-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 2px;
}

.sidebar-post-item span {
  font-size: 11.5px;
  color: var(--muted);
}

.sidebar-cta {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  border-radius: 5px;
  padding: 22px;
  border-top: 3px solid var(--red);
}

.sidebar-cta h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.sidebar-cta p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 16px;
}

@media (max-width: 960px) {
  .post-layout {
    grid-template-columns: 1fr;
  }

  .post-sidebar {
    position: static;
  }
}

/* Expanding Product Carousel (Hanna-inspired) */
.expand-wrap {
  position: relative;
}

.expand-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 6px 2px 12px;
}

.expand-track::-webkit-scrollbar {
  display: none;
}

.expand-card {
  position: relative;
  height: 440px;
  flex: 0 0 25%;
  border-radius: 5px;
  overflow: hidden;
  background: var(--navy-deep);
  cursor: pointer;
  opacity: 0.86;
  transition: flex-basis 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, transform 0.3s ease;
  user-select: none;
}

.expand-card:hover {
  opacity: 1;
}

.expand-card.is-active {
  flex: 0 0 46%;
  opacity: 1;
  cursor: default;
  box-shadow: var(--shadow-lg);
}

.expand-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.expand-card.is-active .expand-img {
  transform: scale(1.05);
}

.expand-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 19, 38, 0.12) 0%, rgba(6, 19, 38, 0.48) 45%, rgba(6, 19, 38, 0.94) 100%);
}

.expand-num {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 99px;
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(200, 30, 30, 0.35);
}

.expand-body {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  color: var(--white);
}

.expand-body h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 6px;
  transition: font-size 0.3s ease;
}

.expand-card.is-active .expand-body h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.expand-body p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.expand-card.is-active .expand-body p {
  -webkit-line-clamp: 3;
  font-size: 14px;
}

.expand-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  transition: background 0.2s ease;
}

.expand-link:hover {
  background: var(--red);
}

@media (max-width: 960px) {
  .expand-card {
    flex: 0 0 44%;
    height: 380px;
  }

  .expand-card.is-active {
    flex: 0 0 68%;
  }
}

@media (max-width: 640px) {
  .expand-card {
    flex: 0 0 68%;
    height: 360px;
  }

  .expand-card.is-active {
    flex: 0 0 86%;
  }
}

/* News 50/50 Split */
.news-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.news-featured .card-thumb {
  aspect-ratio: 16 / 10;
}

.news-featured .card-title {
  font-size: 20px;
}

.news-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.news-row {
  flex-direction: row;
  align-items: stretch;
  flex: 1;
}

.news-row-thumb {
  flex: 0 0 155px;
  background: var(--navy-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.news-row:hover .news-row-thumb img {
  transform: scale(1.05);
}

.news-row-body {
  padding: 14px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-row-body .card-title {
  font-size: 15.5px;
  margin-bottom: 6px;
}

.news-row-desc {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 960px) {
  .news-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .news-row {
    flex-direction: column;
  }

  .news-row-thumb {
    flex: none;
    aspect-ratio: 16 / 9;
  }
}

/* News 50/50 Split */
.news-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.news-featured .card-thumb {
  aspect-ratio: 16 / 10;
}

.news-featured .card-title {
  font-size: 20px;
}

.news-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.news-row {
  flex-direction: row;
  align-items: stretch;
  flex: 1;
}

.news-row-thumb {
  flex: 0 0 155px;
  background: var(--navy-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.news-row:hover .news-row-thumb img {
  transform: scale(1.05);
}

.news-row-body {
  padding: 14px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-row-body .card-title {
  font-size: 15.5px;
  margin-bottom: 6px;
}

.news-row-desc {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 960px) {
  .news-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .news-row {
    flex-direction: column;
  }

  .news-row-thumb {
    flex: none;
    aspect-ratio: 16 / 9;
  }
}

/* 404 Page (Phoenix-inspired) */
.p404-hero {
  padding: 64px 0 56px;
  background: var(--white);
  text-align: center;
}

.p404-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.p404-art {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

.p404-wrap h1 {
  font-size: 32px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.p404-wrap p {
  font-size: 15px;
  color: var(--secondary);
  margin-bottom: 28px;
}

.p404-search {
  display: flex;
  align-items: center;
  height: 56px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 5px 6px 5px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.p404-search:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 36, 71, 0.08);
}

.p404-search-icon {
  color: var(--muted);
  display: inline-flex;
  margin-right: 10px;
}

.p404-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14.5px;
  color: var(--ink);
  font-family: inherit;
}

.p404-search-btn {
  width: 44px;
  height: 44px;
  border-radius: 99px;
  border: none;
  background: var(--red);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s ease, transform 0.18s ease;
}

.p404-search-btn:hover {
  background: var(--red-dark);
  transform: scale(1.04);
}

.p404-quick {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.p404-post-link {
  display: block;
}

.p404-post-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 5px;
  overflow: hidden;
  background: var(--navy-soft);
  margin-bottom: 10px;
  border: 1px solid var(--border);
}

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

.p404-post:hover .p404-post-thumb img {
  transform: scale(1.05);
}

.p404-post-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 5px;
}

.p404-post h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p404-post:hover h3 {
  color: var(--red);
}

/* Single Product Showcase (Hanna-inspired) */
.pd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

.pd-breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.pd-breadcrumb strong { color: var(--navy); font-weight: 600; }

.pd-card-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.pd-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pd-gallery {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--navy-soft);
}

.pd-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.pd-thumb-btn {
  padding: 0;
  border: 2px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-soft);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.pd-thumb-btn:hover {
  border-color: var(--navy);
}

.pd-thumb-btn.active {
  border-color: var(--red);
}

.pd-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-trust-bar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--secondary);
  font-weight: 500;
}

.pd-trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pd-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
}

.pd-meta-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 12px;
}

.pd-sku {
  background: var(--surface);
  color: var(--navy);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 5px;
}

.pd-stock {
  color: #059669;
  font-weight: 600;
}

.pd-info h1 {
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 10px;
}

.pd-desc {
  font-size: 14.5px;
  color: var(--secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.pd-specs-box {
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 18px;
}

.pd-specs-title {
  background: var(--surface);
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid #cbd5e1;
}

.pd-spec-row {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.pd-spec-row:last-child { border-bottom: none; }
.pd-spec-key { color: var(--muted); font-weight: 500; }
.pd-spec-val { color: var(--navy); font-weight: 600; }

.pd-app-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 5px;
  padding: 12px 15px;
  margin-bottom: 20px;
}

.pd-app-box strong {
  display: block;
  font-size: 13px;
  color: var(--navy);
  margin-bottom: 3px;
}

.pd-app-box p {
  font-size: 13px;
  color: var(--secondary);
  margin: 0;
}

.pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Modern Project Cards */
.proj-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.proj-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.proj-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-soft);
}

.proj-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.proj-card:hover .proj-card-media img {
  transform: scale(1.04);
}

.proj-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.proj-card-loc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  background: var(--surface);
  padding: 3px 10px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.proj-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  margin: 0 0 8px;
}

.proj-card-title a:hover {
  color: var(--red);
}

.proj-card-excerpt {
  font-size: 13.5px;
  color: var(--secondary);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.proj-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--red);
  margin-top: auto;
}

.proj-card-link:hover {
  text-decoration: underline;
}

.pd-article-wrap {
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
}

.pd-article-head {
  padding-bottom: 16px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.pd-article-head h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.pd-article-body {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--secondary);
}

.pd-article-body h3 {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 26px 0 10px;
}

.pd-article-body p {
  margin: 0 0 15px;
}

.pd-article-body ul {
  margin: 0 0 18px 20px;
  padding: 0;
}

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

.pd-inline-img {
  margin: 24px 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
}

.pd-inline-img img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.pd-inline-img figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--white);
}

@media (max-width: 960px) {
  .pd-grid { grid-template-columns: 1fr; }
  .pd-card-wrap { padding: 18px; }
  .pd-article-wrap { padding: 20px; }
}

/* Mobile Floating CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 8px 12px;
  gap: 10px;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-sticky-cta a {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  font-size: 13.5px;
}

/* Responsive */
@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .header-main {
    display: flex;
    justify-content: space-between;
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .btn-red {
    display: none;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-right: none;
  }

  .trust-item:nth-child(1),
  .trust-item:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .hero-grid,
  .quote-split,
  .about-top {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-media {
    min-height: 260px;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 64px;
  }

  .container {
    padding: 0 18px;
  }

  .section {
    padding: 44px 0;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .form-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 18px;
  }

  .footer-brand,
  .footer-grid>div:last-child {
    grid-column: 1 / -1;
  }

  .trust-strip-wrap {
    margin-top: 20px;
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .trust-item:last-child {
    border-bottom: none;
  }

  .hero {
    padding: 48px 0;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-map {
    max-width: 360px;
    margin: 8px auto 0;
  }

  .mobile-sticky-cta {
    display: flex;
  }
}