@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* Design tokens - Premium Theme */
:root {
  /* Color Palette - Clean Precision Light */
  --navy-980: #020617; /* Slate 950 */
  --navy-950: #0b1329;
  --navy-900: #0f172a; /* Slate 900 */
  --navy-800: #1e293b; /* Slate 800 */
  --navy-700: #334155;

  --green-500: #10b981; /* Premium Emerald */
  --green-600: #059669;
  --green-50: #ecfdf5;   /* Highlight nen nhat */
  --green-light: rgba(16, 185, 129, 0.12);

  --red-500: #e53935; /* Danh rieng cho hotline tu van */
  --red-600: #c62828;
  --red-light: rgba(229, 57, 53, 0.12);

  --gray-950: #0f172a;
  --gray-700: #475569; /* Slate 600 */
  --gray-600: #64748b;
  --gray-400: #94a3b8; /* Slate 400 */
  --gray-350: #d1d5db;
  --gray-250: #cbd5e1; /* Slate 300 */
  --gray-120: #f1f5f9; /* Slate 100 */
  --gray-50: #f8fafc;  /* Slate 50 - nen chinh */
  --white: #ffffff;

  /* Glassmorphism & Borders */
  --card-bg: #ffffff;
  --card-bg-hover: #ffffff;
  --card-border: rgba(15, 23, 42, 0.08);
  --card-border-hover: rgba(16, 185, 129, 0.35);

  /* Shadows */
  --shadow-soft: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 2px 8px -1px rgba(15, 23, 42, 0.02);
  --shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-strong: 0 20px 40px -6px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.06);

  /* Radii */
  --radius: 12px;
  --radius-lg: 16px;
  --radius-sm: 6px;

  /* Spacing & Typography - Fluid Scale */
  --masthead-height: 80px;
  --page-x: clamp(16px, 5vw, 96px); /* Le trang linh hoat hon, khong an qua nhieu tren mobile */
  --font-main: "Inter", system-ui, -apple-system, sans-serif;
  --font-heading: "Outfit", system-ui, -apple-system, sans-serif;

  /* Fluid text scale: works from 320px to 1440px */
  --text-xs:  clamp(0.85rem, 0.8rem + 0.3vw, 0.95rem);
  --text-sm:  clamp(0.95rem, 0.9rem + 0.4vw, 1.08rem);
  --text-base: clamp(1.05rem, 1rem + 0.45vw, 1.2rem);
  --text-md:  clamp(1.05rem, 1rem + 0.45vw, 1.2rem);
  --text-lg:  clamp(1.2rem, 1.1rem + 0.6vw, 1.45rem);

  /* Fluid heading scale */
  --heading-sm: clamp(1.2rem,  1.1rem  + 0.8vw, 1.65rem);
  --heading-md: clamp(1.55rem,  1.25rem + 1.5vw, 2.25rem);
  --heading-lg: clamp(2rem, 1.35rem + 2.8vw, 3.35rem);

  /* Hero title stays readable from mobile to desktop */
  --hero-title:  clamp(1.9rem, 1.35rem + 3.5vw, 3.65rem);
  --page-title:  clamp(1.75rem,  1.25rem + 3vw,   3.1rem);
}

/* Base reset & styling */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy-900);
  background: var(--gray-50);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}

body[data-cms-loading="true"] #header-container,
body[data-cms-loading="true"] main,
body[data-cms-loading="true"] #quick-contact-container,
body[data-cms-loading="true"] #footer-container,
body[data-cms-loading="true"] footer {
  opacity: 0;
  visibility: hidden;
}

body[data-cms-loading="true"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--gray-50);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

/* ============================================================
   SPLIT CORPORATE HEADER SYSTEM
   ============================================================ */
.masthead-split {
  position: sticky;
  top: 0;
  z-index: 9999 !important;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  width: 100%;
  transition: box-shadow 0.2s ease;
}

.news-detail-image {
  display: block;
}

.news-detail-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

.news-detail-content {
  max-width: 920px;
  margin: 0 auto 48px;
  padding: 28px;
}

.news-detail-content p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* Scroll state: keep header height stable to avoid layout jumps */
.masthead-split.is-scrolled {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* Header Top: Logo & Hotline */
.header-top {
  background: var(--white);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.header-top-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px var(--page-x);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-split {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-logo-split {
  width: 90px;
  height: 54px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-split:hover .brand-logo-split {
  transform: scale(1.02);
}

.brand-info-split {
  display: flex;
  flex-direction: column;
}

.brand-name-split {
  color: #0b439c; /* Corporate Blue */
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.brand-tagline-split {
  color: var(--gray-700);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.brand-contact-split {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.7rem;
  color: var(--gray-600);
  margin-top: 4px;
  font-weight: 500;
}

/* Red Hotline Button on top right */
.header-cta-split {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ff4d4d 0%, #e53935 45%, #b71c1c 100%);
  color: var(--white) !important;
  padding: 6px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--white);
  box-shadow:
    0 0 0 1px #cbd5e1,
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 4px 10px rgba(229, 57, 53, 0.3);
  text-decoration: none;
  min-height: 42px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.header-cta-split:hover {
  transform: translateY(-1.5px);
  box-shadow:
    0 0 0 1px #cbd5e1,
    inset 0 1.5px 0 rgba(255, 255, 255, 0.45),
    0 6px 16px rgba(229, 57, 53, 0.45);
}

.cta-split-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  opacity: 0.9;
  line-height: 1.1;
}

.cta-split-phone {
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.2;
}

.phone-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: var(--white);
  color: var(--red-500);
  border-radius: 50%;
}

/* Header Bottom: Royal Blue Menu Bar */
.header-bottom {
  background: #0b439c; /* Corporate Royal Blue */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  width: 100%;
}

.header-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--page-x);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center; /* Center the menu wrapper */
}

/* Split navigation links with vertical white separator borders */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center; /* Center the nav items */
  width: auto;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px; /* Bigger font size as requested */
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 28px; /* Roomy padding */
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  align-items: center;
}

/* Center vertical divider lines | between links */
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background-color: rgba(255, 255, 255, 0.3); /* Distinct white vertical line */
}

.main-nav a:last-child::after {
  display: none; /* No vertical line on last item */
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white) !important;
}

.main-nav a.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white) !important;
}

/* Green active bar under item */
.main-nav a.is-active::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green-500);
}

input,
select,
textarea {
  font-family: inherit;
}

/* Glassmorphism Header */
.masthead {
  position: sticky;
  top: 0;
  z-index: 9999 !important;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.masthead.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 24px -8px rgba(15, 23, 42, 0.12);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.site-header {
  height: var(--masthead-height);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 0;
  max-width: 1280px;
  margin-inline: auto;
  width: calc(100% - 2 * var(--page-x));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
}

.brand-logo {
  width: 90px;
  height: 52px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.03);
}

.brand-text strong {
  display: block;
  color: var(--navy-900);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-text small {
  display: block;
  margin-top: 4px;
  color: var(--gray-700);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 24px);
  margin-left: auto;
  color: var(--navy-800);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--green-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a:hover {
  color: var(--green-600);
}

.main-nav a:hover::after,
.main-nav a:focus::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav a.is-active {
  color: var(--green-600);
  font-weight: 700;
}

/* Premium Buttons & CTA */
.button,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  border: 0;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  box-shadow: 0 4px 14px -3px rgba(16, 185, 129, 0.35);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.5);
  filter: brightness(1.05);
}

.button-primary:active,
.header-cta:active {
  transform: translateY(0);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-sm);
  letter-spacing: -0.01em;
  padding: 6px 18px;
  min-height: 42px;
  border-radius: 100px;

  /* 3D Glossy Red Gradient */
  background: linear-gradient(180deg, #ff4d4d 0%, #e53935 45%, #b71c1c 100%);

  /* Silver Metallic Chrome Border and Shadow Glow */
  border: 2px solid #f3f4f6;
  box-shadow:
    0 0 0 1px #9ca3af, /* Outer thin silver line */
    inset 0 1.5px 0 rgba(255, 255, 255, 0.4), /* Top inner highlight */
    inset 0 -1.5px 0 rgba(0, 0, 0, 0.2), /* Bottom inner shadow */
    0 4px 14px rgba(229, 57, 53, 0.4), /* Red glow */
    0 2px 4px rgba(0, 0, 0, 0.1);

  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.header-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 1.5px #d1d5db,
    inset 0 2px 0 rgba(255, 255, 255, 0.5),
    0 8px 24px rgba(229, 57, 53, 0.55);
  filter: brightness(1.08);
}

/* White circle phone icon inside */
.cta-phone-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--white);
  color: #e53935;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  animation: header-phone-shake 2.5s infinite ease-in-out;
}

@keyframes header-phone-shake {
  0%, 100% { transform: rotate(0deg); }
  5% { transform: rotate(-12deg); }
  10% { transform: rotate(14deg); }
  15% { transform: rotate(-12deg); }
  20% { transform: rotate(12deg); }
  25% { transform: rotate(-8deg); }
  30% { transform: rotate(8deg); }
  35% { transform: rotate(0deg); }
}

/* Diagonal Shine Sweep Animation */
.header-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  z-index: 2;
  animation: header-button-shine 3.5s infinite ease-in-out;
}

@keyframes header-button-shine {
  0% { left: -150%; }
  15%, 100% { left: 150%; }
}

.button-outline {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.button-outline:hover {
  background: var(--white);
  color: var(--navy-950);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(255, 255, 255, 0.25);
  border-color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 12px;
  color: var(--navy-900);
  background: transparent;
  border: 1px solid var(--gray-250);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
}

.menu-toggle:hover {
  background: var(--gray-120);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
  border-radius: 2px;
}

/* Sections */
.section {
  padding: 80px var(--page-x);
}

.section-tight {
  padding-top: 24px;
}

/* Centered Page Containers */
.intro-strip,
.service-grid,
.home-split,
.service-detail-grid,
.project-page-grid,
.project-home-grid,
.contact-layout,
.content-grid {
  max-width: 1280px;
  margin-inline: auto;
  width: 100%;
}

main [id] {
  scroll-margin-top: calc(var(--masthead-height) + 24px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0;
  color: var(--white);
  background: var(--navy-980);
}

@media (min-width: 1024px) {
  .hero {
    min-height: 560px;
    padding: 80px 0;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: contrast(1.05) saturate(1.05);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
}

.hero-bg-1 {
  animation: heroBg1 18s ease-in-out infinite;
}

.hero-bg-2 {
  animation: heroBg2 18s ease-in-out infinite;
}

.hero-bg-3 {
  animation: heroBg3 18s ease-in-out infinite;
}

.hero:hover .hero-bg {
  transform: scale(1.03);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(2, 6, 23, 0.92) 0%,
    rgba(2, 6, 23, 0.7) 45%,
    rgba(2, 6, 23, 0.15) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: calc(100% - 2 * var(--page-x));
  max-width: 1200px;
  margin-inline: auto;
}

/* Animations for 3-Image Slideshow */
@keyframes heroBg1 {
  0%, 28% { opacity: 0.85; z-index: 2; }
  33%, 94% { opacity: 0; z-index: 1; }
  100% { opacity: 0.85; z-index: 2; }
}

@keyframes heroBg2 {
  0%, 28% { opacity: 0; z-index: 1; }
  33%, 61% { opacity: 0.85; z-index: 2; }
  66%, 100% { opacity: 0; z-index: 1; }
}

@keyframes heroBg3 {
  0%, 61% { opacity: 0; z-index: 1; }
  66%, 94% { opacity: 0.85; z-index: 2; }
  100% { opacity: 0; z-index: 1; }
}

/* Hero badge - fluid, no text clipping */
.hero-badge-wrap {
  display: inline-flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 14px 5px 5px;
  border-radius: 12px;  /* Bo vuông nhẹ, linh hoạt hơn pill cứng */
  margin-bottom: clamp(16px, 2.5vw, 28px);
  max-width: 100%;
}

.hero-badge-tag {
  background: var(--green-500);
  color: var(--navy-980);
  font-weight: 800;
  font-size: clamp(0.6rem, 0.55rem + 0.4vw, 0.75rem);
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 8px;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  line-height: 1.4;
}

.hero-badge-text {
  color: rgba(241, 245, 249, 0.8);
  font-size: clamp(0.72rem, 0.68rem + 0.35vw, 0.85rem);
  font-weight: 500;
  white-space: normal;       /* Allow wrapping */
  overflow: visible;
  line-height: 1.4;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--hero-title);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
  max-width: 820px;    /* Keep title width balanced on desktop */
  color: var(--white);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  word-break: break-word;   /* Prevent long words from overflowing */
}

.hero-copy {
  margin: clamp(12px, 2vw, 20px) 0 0;
  color: rgba(241, 245, 249, 0.85);
  font-size: var(--text-lg);
  line-height: 1.6;
  max-width: min(580px, 100%);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 16px);
  margin-top: clamp(20px, 3vw, 32px);
}

.hero-strengths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
  max-width: 960px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -15px rgba(2, 6, 23, 0.5);
}

.hero-strengths article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 20px 24px;
  background: rgba(15, 23, 42, 0.45);
  transition: background 0.3s, transform 0.3s;
}

.hero-strengths article:hover {
  background: rgba(16, 185, 129, 0.1);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--green-500);
  background: rgba(16, 185, 129, 0.18);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-strengths strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
}

.hero-strengths small {
  display: block;
  margin-top: 2px;
  color: var(--gray-400);
  font-size: var(--text-xs);
}

.section-kicker,
.hero-kicker {
  margin: 0 0 14px;
  color: var(--green-500);
  font-family: var(--font-main);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Strengths Bar under Hero */
.strengths-bar-wrap {
  background: var(--gray-50);
  padding: 32px 0 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.strengths-bar-wrap .hero-strengths {
  margin-top: 0;
  width: calc(100% - 2 * var(--page-x));
  max-width: 1280px;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.strengths-bar-wrap .hero-strengths article {
  background: var(--white);
  border-right: 1px solid rgba(15, 23, 42, 0.06);
}

.strengths-bar-wrap .hero-strengths article:last-child {
  border-right: none;
}

.strengths-bar-wrap .hero-strengths article:hover {
  background: var(--green-50);
}

.strengths-bar-wrap .hero-strengths strong {
  color: var(--navy-900);
}

.strengths-bar-wrap .hero-strengths small {
  color: var(--gray-700);
}

@media (max-width: 920px) {
  .strengths-bar-wrap {
    padding: 24px var(--page-x) 0;
  }
  .strengths-bar-wrap .hero-strengths {
    width: 100%;
    grid-template-columns: 1fr;
    border-radius: var(--radius);
  }
  .strengths-bar-wrap .hero-strengths article {
    border-right: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }
  .strengths-bar-wrap .hero-strengths article:last-child {
    border-bottom: none;
  }
}

/* About & Cards layout */
.intro-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 24px;
}

.intro-main,
.intro-card,
.service-card,
.why-panel,
.project-panel,
.content-card,
.contact-info-panel,
.detail-card,
.project-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.content-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

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

.intro-main {
  padding: 40px;
}

.intro-card {
  padding: 32px;
}

.intro-main h2,
.why-panel h2,
.project-panel h2,
.section-title h2,
.content-card h2,
.detail-card h2,
.project-card h2,
.contact-info-panel h2,
.quote-form h2 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.intro-main h2,
.why-panel h2,
.project-panel h2,
.quote-form h2 {
  font-size: var(--heading-md);
  line-height: 1.2;
}

.intro-card h3,
.service-content h3 {
  font-family: var(--font-heading);
  font-size: var(--heading-sm);
  font-weight: 800;
  color: var(--navy-900);
  margin: 0;
  letter-spacing: -0.015em;
}

.intro-main p,
.intro-card p,
.why-panel p,
.project-panel p,
.content-card p,
.detail-card p,
.project-card p {
  margin: 12px 0 0;
  color: var(--gray-700);
  font-size: var(--text-md);
}

/* Service Preview Section */
.services-preview {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-120) 100%);
}

.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-title h2 {
  font-size: var(--heading-lg);
  line-height: 1.15;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(16, 185, 129, 0.2);
}

.service-image {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--navy-950);
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-image img {
  transform: scale(1.04);
}

.service-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  color: var(--green-600);
  background: var(--green-50);
  border-radius: var(--radius);
  font-size: 1.25rem;
  font-weight: 700;
}

.check-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 8px 0;
  padding-left: 24px;
  color: var(--gray-700);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green-500);
  font-weight: 700;
}

.service-content a,
.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  color: var(--green-600);
  font-weight: 700;
  font-size: var(--text-sm);
  transition: transform 0.2s;
}

.service-content a::after,
.text-link::after {
  content: "\203A";
  margin-left: 6px;
  transition: transform 0.2s;
}

.service-content a:hover::after,
.text-link:hover::after {
  transform: translateX(4px);
}

.service-content a {
  margin-top: auto;
  align-self: flex-start;
}

/* Why Moxon & Project Panel (Split Row) */
.home-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.why-panel,
.project-panel {
  padding: 40px;
  height: 100%;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.why-grid article {
  display: flex;
  gap: 12px;
  align-items: start;
}

.why-grid strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy-900);
}

.why-grid small {
  display: block;
  margin-top: 4px;
  color: var(--gray-700);
  font-size: var(--text-xs);
  line-height: 1.4;
}

.capability-note {
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--gray-50);
  border-left: 4px solid var(--green-500);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--navy-800);
  font-weight: 600;
}

.project-panel {
  display: flex;
  flex-direction: column;
}

.panel-note {
  margin: 8px 0 0;
  color: var(--gray-700);
  font-size: var(--text-sm);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
  margin-bottom: auto;
}

.project-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
}

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

.project-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.project-media span {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%) scale(0.9);
  padding: 10px 18px;
  color: var(--white);
  background: rgba(15, 23, 42, 0.85);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

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

.project-media:hover::before {
  opacity: 1;
}

.project-media:hover span {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.project-grid h3 {
  margin: 10px 0 0;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy-900);
  text-align: center;
}

.project-panel .text-link {
  align-self: flex-start;
  margin-top: 24px;
}

/* Call to Action Band */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, var(--navy-900), #1e293b, var(--navy-950));
  background-size: 200% 200%;
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 60px;
  max-width: 1280px;
  margin: 0 auto 80px;
  width: calc(100% - 2 * var(--page-x));
}

.cta-band h2 {
  color: var(--white);
  font-size: var(--heading-md);
}

.cta-band p:not(.section-kicker) {
  margin: 8px 0 0;
  color: var(--gray-400);
  font-size: var(--text-md);
}

.cta-band .button-primary {
  flex-shrink: 0;
}

/* Inner Page Hero Header */
.page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  padding: 60px 0;
  color: var(--white);
  background: var(--navy-980);
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.82;
  filter: contrast(1.08) saturate(1.06);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(2, 6, 23, 0.82) 12%,
    rgba(2, 6, 23, 0.42) 66%,
    rgba(2, 6, 23, 0.08) 100%
  );
}

.page-hero > div {
  position: relative;
  z-index: 2;
  width: calc(100% - 2 * var(--page-x));
  max-width: 1280px;
  margin-inline: auto;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 12px 0 0;
  color: var(--gray-250);
  font-size: var(--text-lg);
  max-width: 600px;
}

.contact-hero-banner {
  min-height: 0;
  display: block;
  padding: 0;
  background: var(--white);
  overflow: visible;
}

.contact-hero-banner::before {
  display: none;
}

.contact-hero-banner img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  filter: contrast(1.1) saturate(1.08) brightness(1.03);
}

/* Detail Card & Grid layouts (Services, Products) */
.service-detail-grid,
.project-page-grid {
  display: grid;
  gap: 32px;
}

.detail-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
}

.detail-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.detail-card-text {
  grid-template-columns: 1fr;
  border-left: 4px solid var(--green-500);
}

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

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

.section-action {
  margin-top: 44px;
  text-align: center;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-card div {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card h2 {
  font-size: var(--heading-sm);
  margin-bottom: 8px;
}

.project-card p {
  font-size: var(--text-sm);
  color: var(--gray-700);
  margin-bottom: auto;
}

.project-card .text-link {
  margin-top: 16px;
  align-self: flex-start;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

/* Contact Page Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.contact-info-panel {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: 1.5;
}

.info-list strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--navy-900);
  font-size: var(--text-md);
  margin-bottom: 2px;
}

.contact-map {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--gray-250);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Premium Form Design */
.quote-form {
  padding: 40px;
  background: var(--card-bg);
  color: var(--navy-900);
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
}

.quote-form p {
  margin: 6px 0 24px;
  color: var(--gray-700);
  font-size: var(--text-sm);
}

.quote-form label {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--navy-800);
  font-size: var(--text-sm);
  font-weight: 600;
}

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

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  color: var(--navy-900);
  background: var(--gray-50);
  border: 1px solid var(--gray-250);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: var(--text-sm);
  transition: all 0.25s;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.quote-form textarea {
  resize: vertical;
}

.quote-form option {
  background: var(--white);
  color: var(--navy-900);
}

.quote-form input[type="file"] {
  padding: 10px 14px;
  color: var(--gray-700);
  background: var(--gray-50);
  border: 1px dashed var(--gray-350);
}

.form-note {
  margin: -8px 0 16px;
  color: var(--gray-600);
  font-size: var(--text-xs);
}

.form-status {
  margin: 16px 0;
  display: none;
}

.form-status:not(:empty) {
  padding: 12px 16px;
  color: var(--navy-900);
  background: rgba(16, 185, 129, 0.15);
  border-left: 4px solid var(--green-500);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
}

.form-status.error:not(:empty) {
  color: #991b1b;
  background: #fef2f2;
  border-left-color: #ef4444;
}

.form-status.success:not(:empty) {
  color: var(--navy-900);
  background: rgba(16, 185, 129, 0.15);
  border-left-color: var(--green-500);
}

.quote-form .button {
  width: 100%;
  margin-top: 10px;
  min-height: 48px;
}

/* Footer Section */
.site-footer {
  color: var(--gray-700);
  background: var(--white);
  border-top: 1px solid var(--gray-250);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr 1fr;
  gap: 40px;
  padding: 80px 0 40px;
  max-width: 1280px;
  margin-inline: auto;
  width: calc(100% - 2 * var(--page-x));
}

.footer-logo {
  display: block;
  width: 160px;
  height: 80px;
  margin: 0 0 20px;
  padding: 8px;
  object-fit: contain;
  background: var(--gray-50);
  border: 1px solid var(--gray-250);
  border-radius: var(--radius-sm);
}

.footer-about p,
.site-footer li {
  color: var(--gray-700);
  font-size: var(--text-sm);
}

.site-footer a:hover {
  color: var(--green-500);
}

.site-footer a {
  color: var(--gray-700);
}

.legal {
  color: var(--gray-600);
  font-size: var(--text-xs);
  margin-top: 6px;
}

.copyright {
  margin-top: 20px;
  font-size: var(--text-xs);
  color: var(--gray-600);
}

.site-footer h3 {
  margin: 0 0 20px;
  color: var(--navy-900);
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin: 10px 0;
}

.map-embed {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  min-height: 0;
  display: block;
  border: 1px solid var(--gray-250);
  border-radius: var(--radius);
  background: var(--gray-120);
  box-shadow: var(--shadow-soft);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map {
  margin-top: 28px;
}

/* Quick Contact Fixed Widgets */
/* Floating contact buttons with ripple effect */
.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.floating-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.floating-zalo {
  overflow: visible;
  color: var(--white);
  background: #ffffff;
  border: 1px solid rgba(43, 154, 255, 0.38);
  box-shadow:
    0 0 0 7px rgba(43, 154, 255, 0.14),
    0 8px 22px rgba(0, 104, 255, 0.24);
}

.floating-zalo::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 2;
  border-radius: 50%;
  background: linear-gradient(145deg, #1da1ff, #0068ff);
  box-shadow:
    inset 0 2px 5px rgba(255, 255, 255, 0.38),
    0 0 0 4px #ffffff,
    0 0 0 8px rgba(43, 154, 255, 0.18);
}

.floating-phone {
  background: #ea4335; /* Hotline red */
}

.floating-facebook {
  overflow: visible;
  background: #1877f2;
  border: 1px solid rgba(24, 119, 242, 0.28);
  box-shadow:
    0 0 0 7px rgba(24, 119, 242, 0.12),
    0 8px 22px rgba(24, 119, 242, 0.26);
}

.floating-icon {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: phone-shake 2.5s infinite ease-in-out;
}

.floating-zalo .floating-icon {
  animation: zalo-badge-pop 2.6s infinite ease-in-out;
}

.floating-facebook .floating-icon {
  animation: none;
}

.facebook-badge-text {
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(1px);
}

.zalo-badge-text {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 54, 130, 0.35);
}

/* Pulsing ripple animation */
.ripple-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: 1;
  opacity: 0;
}

.floating-zalo .ripple-ring {
  border: 1px solid rgba(43, 154, 255, 0.45);
  background: rgba(43, 154, 255, 0.12);
}

.floating-phone .ripple-ring {
  background: rgba(234, 67, 53, 0.4);
}

.floating-facebook .ripple-ring {
  background: rgba(24, 119, 242, 0.26);
}

.ring-1 {
  animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.610, 0.355, 1);
}

.ring-2 {
  animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.610, 0.355, 1);
  animation-delay: 0.6s;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@keyframes phone-shake {
  0%, 100% { transform: rotate(0deg); }
  5% { transform: rotate(-10deg); }
  10% { transform: rotate(12deg); }
  15% { transform: rotate(-10deg); }
  20% { transform: rotate(10deg); }
  25% { transform: rotate(-8deg); }
  30% { transform: rotate(8deg); }
  35% { transform: rotate(0deg); }
}

@keyframes zalo-badge-pop {
  0%, 100% { transform: scale(1); }
  12% { transform: scale(1.08); }
  24% { transform: scale(1); }
}

/* Page Polish & Grid alignment overrides */
.workbench {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.project-page-grid,
.project-home-grid,
.service-detail-grid,
.content-grid,
.contact-layout,
.capability-layout {
  background: transparent;
}

.content-card,
.contact-info-panel,
.detail-card,
.project-card,
.intro-main,
.intro-card,
.why-panel,
.project-panel,
.service-card {
  box-shadow: var(--shadow-soft);
  border-color: rgba(15, 23, 42, 0.05);
}

.content-card-large {
  grid-column: span 2;
}

/* Why Moxon Grid */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.why-card {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(16, 185, 129, 0.2);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-600);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: var(--text-md);
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: var(--heading-sm);
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 12px;
}

.why-card p {
  color: var(--gray-700);
  font-size: var(--text-sm);
  line-height: 1.5;
  margin: 0;
}

body[data-page="recruitment"] .content-card p,
body[data-page="recruitment"] .why-card p {
  font-size: var(--text-md);
  line-height: 1.65;
}

body[data-page="recruitment"] .why-card h3 {
  font-size: clamp(1.12rem, 1.2vw, 1.28rem);
}

body[data-page="recruitment"] .quote-form label {
  font-size: 0.96rem;
  gap: 8px;
}

body[data-page="recruitment"] .quote-form input,
body[data-page="recruitment"] .quote-form select,
body[data-page="recruitment"] .quote-form textarea {
  min-height: 50px;
  font-size: 0.96rem;
}

body[data-page="recruitment"] .quote-form textarea {
  line-height: 1.6;
}

body[data-page="recruitment"] .form-note {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Recruitment page redesign */
.recruitment-layout {
  width: min(calc(100% - 48px), 1280px);
  margin: 0 auto;
  padding: 34px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 28px;
  align-items: start;
}

.recruitment-main {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.recruitment-intro-card,
.recruitment-notice,
.recruitment-roles,
.recruitment-apply-panel {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  box-shadow: 0 18px 36px -30px rgba(15, 23, 42, 0.45);
}

.recruitment-intro-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3vw, 42px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98)),
    radial-gradient(circle at 92% 12%, rgba(11, 76, 168, 0.12), transparent 30%);
}

.recruitment-intro-card::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -90px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(11, 76, 168, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.recruitment-intro-card h1 {
  position: relative;
  margin: 8px 0 0;
  max-width: 760px;
  color: var(--navy-900);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.recruitment-intro-card p:not(.section-kicker) {
  position: relative;
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.65;
}

.recruitment-highlights {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.recruitment-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  color: #0b4ca8;
  background: rgba(11, 76, 168, 0.07);
  border: 1px solid rgba(11, 76, 168, 0.12);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
}

.recruitment-notice {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-left: 4px solid var(--green-500);
}

.recruitment-notice h2,
.recruitment-section-head h2,
.recruitment-form-head h2 {
  margin: 4px 0 0;
  color: var(--navy-900);
  font-family: var(--font-heading);
  line-height: 1.16;
  letter-spacing: 0;
}

.recruitment-notice h2 {
  font-size: clamp(1.25rem, 1.65vw, 1.65rem);
}

.recruitment-notice > p {
  margin: 0;
  color: var(--gray-700);
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 760px;
}

.recruitment-notice > div {
  min-width: 0;
}

.recruitment-notice > div:last-child {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.recruitment-notice > div:last-child p {
  margin: 0;
  color: var(--gray-700);
  font-size: 0.96rem;
  line-height: 1.65;
}

.recruitment-roles {
  padding: 26px;
}

.recruitment-section-head {
  margin-bottom: 18px;
}

.recruitment-section-head h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.recruitment-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.recruitment-role-card {
  min-width: 0;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
}

.recruitment-role-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  color: #0b4ca8;
  background: rgba(11, 76, 168, 0.08);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 900;
}

.recruitment-role-card h3 {
  margin: 14px 0 0;
  color: var(--navy-900);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.24;
}

.recruitment-role-card p {
  margin: 8px 0 0;
  color: var(--gray-700);
  font-size: 0.9rem;
  line-height: 1.55;
}

.recruitment-apply-panel {
  position: sticky;
  top: 160px;
  overflow: hidden;
}

.recruitment-form-head {
  padding: 26px 28px 0;
}

.recruitment-form-head h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.recruitment-form-head p {
  margin: 8px 0 0;
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.55;
}

.recruitment-form-head a {
  color: var(--green-600);
  font-weight: 800;
}

.recruitment-form {
  padding: 22px 28px 28px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.recruitment-form label {
  margin-bottom: 12px;
}

.recruitment-form .form-note {
  margin: -2px 0 8px;
}

.recruitment-form .form-status:empty {
  display: none;
}

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

  .recruitment-apply-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .recruitment-layout {
    width: min(calc(100% - 28px), 720px);
    padding-top: 24px;
  }

  .recruitment-notice,
  .recruitment-role-grid {
    grid-template-columns: 1fr;
  }

  .recruitment-intro-card,
  .recruitment-notice,
  .recruitment-roles,
  .recruitment-form-head,
  .recruitment-form {
    padding: 20px 16px;
  }

  .recruitment-form-head {
    padding-bottom: 0;
  }
}

/* Responsive Media Queries */
@media (max-width: 1260px) {
  .brand {
    min-width: 200px;
  }

  .brand-text strong {
    font-size: 1.15rem;
  }

  .main-nav {
    gap: 16px;
  }

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

  .map-embed {
    grid-column: span 2;
  }

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

  .cta-band {
    padding: 40px;
  }

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

@media (max-width: 920px) {
  :root {
    --masthead-height: 72px;
    --hero-height: 480px;
  }

  .header-top-inner {
    padding: 8px var(--page-x);
  }

  .brand-logo-split {
    width: 68px;
    height: 40px;
  }

  .brand-name-split {
    font-size: 0.92rem;
  }

  .brand-tagline-split {
    font-size: 0.65rem;
    margin-top: 1px;
  }

  .brand-contact-split {
    display: none;
  }

  .header-cta-split {
    min-height: 34px;
    padding: 4px 10px;
  }

  .cta-split-label {
    font-size: 7.5px;
  }

  .cta-split-phone {
    font-size: 0.78rem;
  }

  .header-bottom-inner {
    justify-content: flex-end;
    padding-block: 6px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0b439c;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--page-x);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border: 0;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    color: rgba(255, 255, 255, 0.95) !important;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 0;
    font-size: 0.85rem;
  }

  .main-nav a:first-child {
    border-left: 0;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav a:hover,
  .main-nav a.is-active {
    background: transparent;
    color: var(--white) !important;
  }

  .main-nav a.is-active::after {
    display: none;
  }

  .hero-strengths,
  .intro-strip,
  .service-grid,
  .why-us-grid,
  .home-split,
  .detail-card,
  .contact-layout,
  .workbench {
    grid-template-columns: 1fr;
  }

  .detail-card {
    gap: 24px;
  }

  .hero-strengths article {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .hero-strengths article:last-child {
    border-bottom: 0;
  }

  .map-embed {
    grid-column: auto;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    margin-inline: var(--page-x);
  }

  .cta-band .button-primary {
    width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --page-x: 16px;
    /* Fluid vars continue working without hard overrides */
  }

  .brand-logo {
    width: 68px;
    height: 40px;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 44px 52px;
  }

  /* h1, copy, and badge use clamp sizing */

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .section {
    padding-block: 36px 40px;
  }

  .section-title {
    margin-bottom: 20px;
  }

  .intro-main,
  .intro-card,
  .service-content,
  .why-panel,
  .project-panel,
  .detail-card,
  .contact-info-panel,
  .quote-form {
    padding: 20px 16px; /* Reduce padding on small screens */
  }

  .why-grid,
  .project-grid,
  .project-page-grid,
  .project-home-grid,
  .form-grid,
  .footer-grid,
  .products-grid,
  .metrics-grid,
  .process-flow {
    grid-template-columns: 1fr;
    gap: 16px; /* Keep layout compact on small screens */
  }

  .cta-band {
    margin-inline: 12px;
    padding: 24px 16px;
  }

  .footer-grid {
    padding-block: 40px 24px;
  }


  .floating-contact {
    right: 16px;
    bottom: 24px;
    gap: 12px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }

  body {
    padding-bottom: 0;
  }
}

/* Equipment Table Styles */
.equipment-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  background: var(--white);
  box-shadow: var(--shadow);
}

.equipment-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--text-sm);
  color: var(--navy-800);
  min-width: 600px;
}

.equipment-table th {
  background: rgba(15, 23, 42, 0.02);
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-900);
  border-bottom: 1px solid var(--card-border);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.equipment-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  vertical-align: middle;
}

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

.equipment-table tbody tr {
  transition: background 0.3s;
}

.equipment-table tbody tr:hover {
  background: var(--green-50);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--green-500);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Modal Popup Styles */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.3s ease;
}

.modal.is-active {
  display: flex;
}

.modal-content {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-strong);
  animation: modalSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--navy-900);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all 0.25s;
  z-index: 10;
}

.modal-close:hover {
  background: var(--green-500);
  color: var(--white);
  transform: rotate(90deg);
}

.modal-body {
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
}

@media (max-width: 768px) {
  .modal-body {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 20px;
  }
}

.modal-image img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
}

.modal-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: var(--heading-md);
  font-weight: 800;
  color: var(--navy-900);
  margin: 0;
}

.modal-description {
  color: var(--gray-700);
  font-size: var(--text-sm);
  line-height: 1.5;
  margin: 0;
}

.modal-meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  margin: 8px 0;
}

.modal-meta-table td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.modal-meta-table tr:last-child td {
  border-bottom: none;
}

.modal-meta-table td:first-child {
  font-weight: 700;
  color: var(--gray-700);
  width: 40%;
}

.modal-meta-table td:last-child {
  color: var(--navy-900);
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Metrics Section */
.metrics-section {
  padding-block: 48px 24px;
  width: calc(100% - 2 * var(--page-x));
  max-width: 1280px;
  margin-inline: auto;
}

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

@media (max-width: 960px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}

.metric-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card:hover {
  border-color: var(--card-border-hover);
  box-shadow: 0 12px 30px -10px rgba(16, 185, 129, 0.15);
  background: var(--card-bg-hover);
  transform: translateY(-4px);
}

.metric-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--green-500);
  line-height: 1;
}

.metric-label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy-900);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-card p {
  margin: 8px 0 0;
  font-size: var(--text-xs);
  color: var(--gray-700);
  line-height: 1.4;
}

/* Work Process Flow Section */
.process-section {
  width: calc(100% - 2 * var(--page-x));
  max-width: 1280px;
  margin-inline: auto;
  padding-bottom: 80px;
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.process-step {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: all 0.3s;
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--card-border-hover);
  box-shadow: var(--shadow);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: rgba(16, 185, 129, 0.15);
  position: absolute;
  top: 12px;
  right: 16px;
  line-height: 1;
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 800;
  color: var(--navy-900);
  margin: 0 0 10px;
}

.process-step p {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--gray-700);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .process-flow {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .process-flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .process-flow {
    grid-template-columns: 1fr;
  }
}

/* Product Filters Navigation */
.product-filters-wrap {
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--card-border);
  padding: 20px var(--page-x);
  display: flex;
  justify-content: center;
  position: sticky;
  top: var(--masthead-height);
  z-index: 100;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

.product-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1280px;
  width: 100%;
}

.filter-btn {
  background: var(--gray-50);
  color: var(--navy-800);
  border: 1px solid var(--card-border);
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s;
}

.filter-btn:hover {
  background: var(--green-50);
  color: var(--green-600);
  border-color: rgba(16, 185, 129, 0.25);
}

.filter-btn.is-active {
  background: var(--green-500);
  color: var(--white);
  border-color: var(--green-500);
  box-shadow: 0 4px 14px -3px rgba(16, 185, 129, 0.35);
}

@media (max-width: 768px) {
  .product-filters-wrap {
    position: static;
    padding: 16px var(--page-x);
  }
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* Responsive layout polish - final overrides */
html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

img,
iframe {
  max-width: 100%;
}

.site-header,
.hero-inner,
.intro-strip,
.service-grid,
.home-split,
.service-detail-grid,
.project-page-grid,
.project-home-grid,
.contact-layout,
.content-grid,
.footer-grid,
.metrics-section,
.process-section,
.product-group-inner {
  max-width: 1280px;
}

.site-header {
  gap: clamp(12px, 1.4vw, 22px);
}

.brand {
  min-width: 230px;
  flex-shrink: 0;
}

.main-nav {
  gap: clamp(10px, 1.2vw, 20px);
  font-size: clamp(0.78rem, 0.68rem + 0.25vw, 0.88rem);
}

.header-cta {
  flex-shrink: 0;
  white-space: nowrap;
  padding-inline: 18px;
}

.hero {
  min-height: clamp(460px, 48vw, 600px);
}

.hero-inner {
  display: grid;
  align-content: center;
  min-height: 100%;
}

.hero h1 {
  max-width: min(840px, 100%);
  font-size: clamp(2.15rem, 4vw, 4.35rem);
  line-height: 1.06;
}

.hero-copy {
  max-width: min(640px, 100%);
}

.hero-strengths article,
.strengths-bar-wrap .hero-strengths article {
  min-width: 0;
}

.section {
  padding-block: clamp(56px, 6vw, 84px);
}

.section-tight {
  padding-top: clamp(20px, 3vw, 32px);
}

.section-title {
  margin-bottom: clamp(28px, 4vw, 48px);
}

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

.intro-strip,
.service-grid,
.project-home-grid,
.metrics-grid,
.why-us-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.service-detail-grid,
.project-page-grid {
  grid-template-columns: 1fr;
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
}

.detail-card img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
}

.content-card,
.intro-card,
.service-content,
.why-card,
.project-card div,
.contact-info-panel,
.quote-form,
.process-step,
.metric-card {
  min-width: 0;
}

.service-card,
.project-card,
.product-item,
.why-card,
.metric-card,
.process-step {
  height: 100%;
}

.product-group {
  padding-block: clamp(48px, 6vw, 72px);
}

.products-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)) !important;
  gap: clamp(18px, 2vw, 28px) !important;
}

.product-item-body {
  min-height: 0;
}

.product-item-body .button {
  width: 100%;
  margin-top: auto;
}

.product-filters-wrap {
  overflow-x: auto;
  scrollbar-width: thin;
}

.product-filters {
  justify-content: flex-start;
}

.filter-btn {
  white-space: nowrap;
}

.contact-layout {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

.contact-map {
  width: min(100%, 420px);
}

.quote-form {
  width: 100%;
}

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

.footer-grid {
  grid-template-columns: minmax(240px, 1.3fr) minmax(140px, 0.75fr) minmax(140px, 0.75fr) minmax(220px, 1fr) minmax(220px, 0.9fr);
  gap: clamp(24px, 3vw, 40px);
}

.footer-about p {
  max-width: 34rem;
}

.footer-logo {
  width: 148px;
  height: 76px;
}

.map-embed {
  width: min(100%, 300px);
  justify-self: end;
}

@media (max-width: 1120px) and (min-width: 921px) {
  .brand {
    min-width: 190px;
  }

  .brand-logo {
    width: 76px;
    height: 46px;
  }

  .brand-text small {
    display: none;
  }

  .header-cta {
    padding-inline: 12px;
  }
}

@media (max-width: 920px) {
  .site-header {
    width: calc(100% - 2 * var(--page-x));
  }

  .brand {
    min-width: 0;
  }

  .menu-toggle {
    flex-shrink: 0;
  }

  .main-nav {
    position: fixed;
    top: var(--masthead-height);
    max-height: calc(100vh - var(--masthead-height));
    overflow-y: auto;
    z-index: 9998;
  }

  .hero {
    min-height: auto;
    padding-block: 72px;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.74) 58%, rgba(2, 6, 23, 0.36) 100%);
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3.4rem);
  }

  .page-hero {
    min-height: 300px;
  }

  .content-grid,
  .contact-layout,
  .form-grid,
  .detail-card {
    grid-template-columns: 1fr;
  }

  .content-card-large {
    grid-column: auto;
  }

  .detail-card img {
    max-height: none;
    aspect-ratio: 16 / 10;
  }

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

  .map-embed {
    justify-self: stretch;
    width: 100%;
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  :root {
    --page-x: 16px;
    --masthead-height: 68px;
  }

  .site-header {
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 60px;
    height: 40px;
  }

  .brand-text strong {
    font-size: 1.05rem;
  }

  .hero {
    padding-block: 56px 64px;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 10vw, 2.8rem);
    line-height: 1.08;
  }

  .hero-copy,
  .page-hero p {
    font-size: 1rem;
  }

  .hero-badge-wrap {
    display: flex;
    padding: 8px;
  }

  .hero-badge-tag,
  .hero-badge-text {
    width: 100%;
  }

  .page-hero {
    min-height: 260px;
    padding: 48px var(--page-x);
  }

  .page-hero h1 {
    font-size: clamp(1.75rem, 9vw, 2.45rem);
  }

  .section {
    padding-block: 42px;
  }

  .metrics-section,
  .process-section {
    width: calc(100% - 2 * var(--page-x));
    padding-inline: 0;
  }

  .content-card,
  .intro-card,
  .service-content,
  .why-card,
  .project-card div,
  .contact-info-panel,
  .quote-form,
  .process-step,
  .metric-card {
    padding: 20px;
  }

  .hero-strengths article,
  .strengths-bar-wrap .hero-strengths article {
    min-height: 72px;
    padding: 16px;
  }

  .product-group-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
  }

  .product-item-body h3,
  .service-content h3,
  .why-card h3 {
    font-size: 1.2rem;
  }

  .filter-btn {
    flex: 0 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-logo {
    width: 136px;
    height: 70px;
  }

  .map-embed,
  .contact-map {
    width: 100%;
    max-width: none;
  }

  .floating-contact {
    right: 14px;
    bottom: 18px;
    gap: 10px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }

  .floating-zalo::before {
    inset: 7px;
  }
}

/* ============================================================
   HOMEPAGE ANIMATIONS
   ============================================================ */

/* --- 1. Scroll Reveal: Fade Up --- */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.reveal-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero elements start visible immediately (no scroll needed) */
.hero .reveal-fade-up {
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--delay, 0ms);
  opacity: 1;
  transform: none;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- 2. Floating Particles in Hero --- */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.6);
  animation: particleFloat linear infinite;
}

.particle:nth-child(1) { left: 8%;  animation-duration: 14s; animation-delay: 0s;    width: 5px; height: 5px; }
.particle:nth-child(2) { left: 22%; animation-duration: 18s; animation-delay: -4s;   width: 3px; height: 3px; background: rgba(255,255,255,0.35); }
.particle:nth-child(3) { left: 45%; animation-duration: 12s; animation-delay: -7s;   width: 4px; height: 4px; }
.particle:nth-child(4) { left: 65%; animation-duration: 20s; animation-delay: -2s;   width: 3px; height: 3px; background: rgba(255,255,255,0.25); }
.particle:nth-child(5) { left: 78%; animation-duration: 16s; animation-delay: -10s;  width: 5px; height: 5px; background: rgba(16, 185, 129, 0.4); }
.particle:nth-child(6) { left: 90%; animation-duration: 11s; animation-delay: -5s;   width: 3px; height: 3px; }

@keyframes particleFloat {
  0%   { bottom: -10px; opacity: 0; transform: translateX(0) scale(1); }
  10%  { opacity: 1; }
  50%  { transform: translateX(20px) scale(1.1); }
  90%  { opacity: 0.6; }
  100% { bottom: 105%; opacity: 0; transform: translateX(-10px) scale(0.8); }
}

/* --- 3. Service Card: Shimmer border on hover --- */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(16, 185, 129, 0.12) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  background-position: 200% 0;
  transition: background-position 0.6s ease;
  pointer-events: none;
}

.service-card:hover::after {
  background-position: -200% 0;
}

/* --- 4. Why-card: slide-up icon on hover --- */
.why-card {
  position: relative;
  overflow: hidden;
}

.why-card .why-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-card:hover .why-icon {
  transform: translateY(-4px) scale(1.15);
}

/* --- 5. Section Kicker: animated underline --- */
.section-kicker {
  position: relative;
  display: inline-block;
}

.section-kicker::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-500);
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-visible .section-kicker::after,
.section-title.is-visible .section-kicker::after {
  width: 100%;
}

/* --- 6. Process Step: connector line animation --- */
.process-step {
  position: relative;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0%;
  background: linear-gradient(to bottom, var(--green-500), transparent);
  border-radius: 3px 3px 0 0;
  transition: height 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}

.process-step.is-visible::before {
  height: 100%;
}

/* --- 7. Metric card: glow pulse on visible --- */
.metric-card.is-visible {
  animation: metricPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: var(--delay, 0ms);
}

@keyframes metricPop {
  0%   { transform: scale(0.92); }
  60%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* --- 8. CTA band: animated gradient background --- */
.cta-band {
  background-size: 200% 100%;
  animation: ctaGradientShift 6s ease infinite;
}

@keyframes ctaGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* --- 9. Disable all animations for users who prefer reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .reveal-fade-up,
  .hero .reveal-fade-up,
  .particle,
  .service-card::after,
  .process-step::before,
  .metric-card.is-visible,
  .cta-band {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   SITE-WIDE MOTION POLISH
   Applies the same refined motion language across all pages.
   ============================================================ */
body:not(.animations-ready) .reveal-fade-up {
  opacity: 1;
  transform: none;
}

body.animations-ready .reveal-fade-up {
  opacity: 0;
  transform: translateY(32px);
}

body.animations-ready .reveal-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.animations-ready .hero .reveal-fade-up {
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--delay, 0ms);
  opacity: 1;
  transform: none;
}

.page-hero {
  isolation: isolate;
}

.page-hero > div {
  position: relative;
  z-index: 2;
}

.page-hero img,
.page-hero::before {
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 8s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-hero.is-visible img {
  transform: scale(1.025);
  filter: contrast(1.08) saturate(1.06);
}

.page-hero.is-visible::before {
  opacity: 0.92;
}

.intro-main,
.intro-card,
.content-card,
.detail-card,
.project-card,
.service-card,
.product-item,
.why-card,
.metric-card,
.process-step,
.contact-info-panel,
.quote-form,
.equipment-table-wrap,
.contact-map,
.map-embed {
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-main:hover,
.intro-card:hover,
.content-card:hover,
.detail-card:hover,
.project-card:hover,
.product-item:hover,
.why-card:hover,
.metric-card:hover,
.process-step:hover,
.contact-info-panel:hover,
.quote-form:hover,
.equipment-table-wrap:hover,
.contact-map:hover,
.map-embed:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.28);
  box-shadow: 0 18px 42px -22px rgba(15, 23, 42, 0.34);
}

.detail-card img,
.project-card img,
.product-item-img img,
.service-image img,
.contact-map iframe,
.map-embed iframe {
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.detail-card:hover img,
.project-card:hover img,
.product-item:hover .product-item-img img,
.service-card:hover .service-image img {
  transform: scale(1.04);
  filter: contrast(1.05) saturate(1.04);
}

.quote-form input,
.quote-form select,
.quote-form textarea,
.filter-btn,
.button,
.header-cta,
.floating-btn {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.filter-btn:hover,
.button:hover,
.floating-btn:hover {
  transform: translateY(-2px);
}

.main-nav a {
  transition:
    color 0.22s ease,
    transform 0.22s ease;
}

.main-nav a:hover {
  transform: translateY(-1px);
}

.brand-logo {
  will-change: transform;
}

.hero-bg,
.page-hero img,
.service-image img,
.detail-card img,
.product-item-img img,
.project-card img {
  backface-visibility: hidden;
  transform-origin: center;
}

.floating-contact {
  animation: contactRailIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes contactRailIn {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 920px) {
  .intro-main:hover,
  .intro-card:hover,
  .content-card:hover,
  .detail-card:hover,
  .project-card:hover,
  .product-item:hover,
  .why-card:hover,
  .metric-card:hover,
  .process-step:hover,
  .contact-info-panel:hover,
  .quote-form:hover,
  .equipment-table-wrap:hover,
  .contact-map:hover,
  .map-embed:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.animations-ready .reveal-fade-up,
  .page-hero img,
  .page-hero::before,
  .intro-main,
  .intro-card,
  .content-card,
  .detail-card,
  .project-card,
  .service-card,
  .product-item,
  .why-card,
  .metric-card,
  .process-step,
  .contact-info-panel,
  .quote-form,
  .equipment-table-wrap,
  .contact-map,
  .map-embed,
  .floating-contact {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   CORPORATE HOMEPAGE REDESIGN LAYOUT
   ============================================================ */
.home-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px var(--page-x) 64px;
  width: 100%;
}

.home-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.home-main-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0; /* Prevents flex columns from overflowing horizontally */
}

/* Sidebar General Widgets */
.sidebar-widget {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.sidebar-widget h3 {
  background: #0b439c; /* Corporate Blue */
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 16px;
  margin: 0;
  letter-spacing: 0.03em;
}

/* Product & News Categories Menu */
.sidebar-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.sidebar-menu-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-800);
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-menu-list li:last-child a {
  border-bottom: 0;
}

.sidebar-menu-list li a:hover {
  background: var(--gray-50);
  color: #0b439c;
  padding-left: 20px;
}

.sidebar-menu-list li a::after {
  content: "\203A";
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--gray-400);
  transition: transform 0.2s ease;
}

.sidebar-menu-list li a:hover::after {
  transform: translateX(3px);
  color: #0b439c;
}

/* Hotline support widget */
.support-box {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.support-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.support-item-icon {
  color: #0b439c;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.support-item-text {
  display: flex;
  flex-direction: column;
}

.support-item-text strong {
  font-size: 0.8rem;
  color: var(--navy-900);
  font-weight: 700;
}

.support-item-text span {
  font-size: 0.75rem;
  color: var(--gray-700);
  margin-top: 1px;
}

.support-item-text .support-phone {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--red-500);
}

.support-item-text .support-email {
  font-weight: 600;
  color: #0b439c;
}

.support-btn {
  background: var(--green-500);
  color: var(--white);
  border: 0;
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-align: center;
  display: block;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
  transition: all 0.25s ease;
}

.support-btn:hover {
  background: var(--green-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(16, 185, 129, 0.3);
}

/* Video introduction widget */
.video-box {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-thumbnail-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.video-thumbnail-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border: 0;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.video-thumbnail-wrap:hover .video-play-btn {
  background: rgba(0, 0, 0, 0.2);
}

.video-play-icon {
  width: 44px;
  height: 44px;
  background: #ff0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.35);
  transition: transform 0.25s ease;
}

.video-thumbnail-wrap:hover .video-play-icon {
  transform: scale(1.08);
}

.video-title-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
  text-align: center;
}

.youtube-btn {
  background: #0b439c;
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.youtube-btn:hover {
  background: #093780;
  transform: translateY(-1px);
}

/* commitments checklist widget */
.commit-box {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.commit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.commit-icon-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #0b439c;
  color: #0b439c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
  flex-shrink: 0;
}

.commit-text-wrap {
  display: flex;
  flex-direction: column;
}

.commit-text-wrap strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-900);
  text-transform: uppercase;
}

.commit-text-wrap span {
  font-size: 0.72rem;
  color: var(--gray-700);
  margin-top: 1px;
}

/* Localized Hero Banner inside right column */
/* Full-width Hero Slider Wrap and Slideshow styles */
.hero-slider-wrap {
  max-width: 1480px;
  margin: 18px auto 28px;
  width: calc(100% - 2 * var(--page-x));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 22px 48px -26px rgba(15, 23, 42, 0.45);
  display: flex;
  flex-direction: column;
  background: var(--navy-950);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.hero-banner-main {
  position: relative;
  min-height: auto;
  aspect-ratio: 1920 / 820;
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0;
  width: 100%;
  background: #07162d;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  transform: translateX(100%);
  transition:
    transform 0.85s cubic-bezier(0.76, 0, 0.24, 1),
    opacity 0.85s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform, opacity;
}

.hero-slide.active {
  z-index: 1;
  opacity: 1;
  transform: translateX(0);
}

.hero-slide.previous {
  z-index: 1;
  opacity: 1;
  transform: translateX(-100%);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.04) saturate(1.04);
  transform: scale(1.01);
  transition: transform 5s ease;
}

.hero-slide.active img {
  transform: scale(1);
}

/* Diagonal split blue layout on left side */
.hero-banner-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.04), rgba(2, 6, 23, 0)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

@media (max-width: 920px) {
  .hero-banner-main::before {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0));
  }
}

.hero-banner-dots {
  position: absolute;
  top: clamp(12px, 1.6vw, 22px);
  right: clamp(12px, 1.8vw, 26px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-banner-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  cursor: pointer;
  transition:
    width 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease;
}

.hero-banner-dot:hover,
.hero-banner-dot.active {
  width: 28px;
  background: var(--green-500);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .hero-slider-wrap {
    width: 100%;
    margin-top: 0;
    border-radius: 0;
  }

  .hero-banner-main {
    aspect-ratio: 16 / 9;
  }

  .hero-slide img {
    object-position: left center;
  }

  .hero-banner-dots {
    top: 8px;
    right: 8px;
  }
}

.hero-banner-inner {
  position: relative;
  z-index: 3;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-banner-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.hero-banner-inner h2 span {
  color: var(--green-500);
}

.hero-banner-inner p {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: rgba(255,255,255,0.92);
  margin: 0;
  font-weight: 500;
  line-height: 1.45;
}

.hero-banner-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-banner-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(0.88rem, 1vw, 1.05rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.hero-banner-checklist li::before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--green-500);
  color: var(--navy-950);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(16,185,129,0.3);
}

/* Full-width Stats Strip */
.hero-stats-strip {
  background: #0b439c; /* Corporate Royal Blue */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border-top: 1px solid rgba(255,255,255,0.1);
  width: 100%;
}

.hero-stat-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-card:last-child {
  border-right: 0;
}

.hero-stat-svg {
  color: var(--white);
  opacity: 0.95;
  flex-shrink: 0;
}

.hero-stat-info {
  display: flex;
  flex-direction: column;
}

.hero-stat-info strong {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero-stat-info small {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.85;
  text-transform: uppercase;
  margin-top: 2px;
  letter-spacing: 0.03em;
}

/* Search bar box */
.product-search-bar {
  display: flex;
  background: var(--white);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px;
  box-shadow: var(--shadow-soft);
  align-items: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.product-search-bar input {
  flex-grow: 1;
  width: 100%;
  min-width: 0; /* Cho phép co giãn tối đa */
  border: 0;
  padding: 10px 16px;
  font-size: 0.95rem;
  color: var(--navy-900);
  outline: none;
  background: transparent;
}

.product-search-bar select {
  flex-shrink: 0; /* Không cho phép co rúm */
  border: 0;
  border-left: 1px solid #e2e8f0;
  padding: 10px 16px;
  font-size: 0.92rem;
  color: var(--navy-800);
  background: transparent;
  outline: none;
  cursor: pointer;
  min-width: 150px;
}

.product-search-btn {
  flex-shrink: 0; /* Không cho phép co giãn */
  background: #0b439c;
  color: var(--white) !important;
  border: 0;
  border-radius: 6px;
  padding: 10px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.product-search-btn:hover {
  background: #093780;
}

/* Horizontal slide product rows */
.product-row-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-row-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid rgba(11, 67, 156, 0.12);
  padding-bottom: 6px;
}

.product-row-header h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #0b439c;
  margin: 0;
  text-transform: uppercase;
}

.product-row-header .view-all-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0b439c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-row-header .view-all-link:hover {
  color: var(--green-600);
}

.product-row-slider-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.product-row-grid-scrollable {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  width: 100%;
  padding-block: 4px;
}

.product-row-grid-scrollable::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}

/* Wrap cards inside homepage grid */
.product-row-grid-scrollable .product-item-card {
  flex: 0 0 calc(25% - 12px);
  min-width: 215px;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.product-row-grid-scrollable .product-item-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(16, 185, 129, 0.25);
}

.product-item-card-img {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.product-item-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-row-grid-scrollable .product-item-card:hover .product-item-card-img img {
  transform: scale(1.04);
}

.product-item-card-body {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-grow: 1;
}

.product-item-card-body h4 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--navy-900);
  margin: 0 0 10px;
  text-transform: uppercase;
  line-height: 1.4;
  min-height: 36px;
  display: flex;
  align-items: center;
}

.product-row-grid-scrollable .product-item-card:hover h4 {
  color: var(--green-500);
}

/* Blue Contact Button at bottom of card */
.product-card-cta-btn {
  background: #0b439c; /* Corporate Blue button */
  color: var(--white);
  border: 0;
  border-radius: var(--radius-sm);
  padding: 8px 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
  text-align: center;
  text-decoration: none;
  display: block;
}

.product-row-grid-scrollable .product-item-card:hover .product-card-cta-btn {
  background: var(--green-500); /* Highlight green on hover card */
}

/* Slider navigation arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #0b439c;
  font-size: 1.2rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.slider-arrow:hover {
  background: #0b439c;
  color: var(--white);
  border-color: #0b439c;
  box-shadow: 0 4px 12px rgba(11, 67, 156, 0.25);
}

.arrow-left {
  left: -14px;
}

.arrow-right {
  right: -14px;
}

/* Corporate News Layout */
.corporate-news-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.corporate-news-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  width: 100%;
}

.corporate-news-large {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.corporate-news-large img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.corporate-news-large-body {
  padding: 20px;
}

.corporate-news-date {
  font-size: 0.7rem;
  color: var(--gray-400);
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  text-transform: uppercase;
}

.corporate-news-large-body h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0 0 10px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.corporate-news-large:hover h4 {
  color: #0b439c;
}

.corporate-news-large-body p {
  font-size: 0.8rem;
  color: var(--gray-700);
  line-height: 1.55;
  margin: 0;
}

.corporate-news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  max-width: none;
  overflow: hidden;
}

.corporate-news-item {
  display: flex;
  gap: 14px;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: all 0.25s ease;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.corporate-news-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(11, 67, 156, 0.15);
}

.corporate-news-item img {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.corporate-news-item-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.corporate-news-item-body h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 4px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.corporate-news-item:hover h4 {
  color: #0b439c;
}

.corporate-news-item-body p {
  font-size: 0.75rem;
  color: var(--gray-600);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* News list and detail pages */
.news-page-section {
  width: min(980px, calc(100% - 32px));
  margin: 34px auto 72px;
}

.news-page-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(11, 67, 156, 0.18);
}

.news-page-head .section-kicker {
  margin: 0;
}

.news-page-head h1 {
  margin: 0;
  color: #0b439c;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  line-height: 1.2;
}

.news-page-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-page-item {
  min-height: 86px;
  border-radius: 0;
  padding: 14px;
}

.news-page-item img {
  width: 132px;
  height: 74px;
}

.news-page-item .corporate-news-item-body h4,
.news-page-item .corporate-news-item-body p {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.news-page-item .corporate-news-item-body h4 {
  font-size: 1rem;
}

.news-detail-page {
  width: min(920px, calc(100% - 32px));
  margin: 34px auto 72px;
  background: var(--white);
  padding: clamp(18px, 3vw, 32px);
}

.news-detail-header {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.18);
}

.news-detail-header h1 {
  margin: 0 0 18px;
  color: #168ac3;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.18;
  text-transform: uppercase;
}

.news-detail-date {
  margin: 0;
  color: var(--navy-800);
  font-style: italic;
  font-weight: 500;
}

.news-detail-summary {
  margin: 0 0 18px;
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.65;
}

.news-detail-main-image {
  display: block;
  width: 100%;
  max-height: 540px;
  margin: 18px 0;
  object-fit: cover;
}

.news-detail-body {
  color: var(--navy-800);
  font-size: 1rem;
  line-height: 1.78;
}

.news-detail-body p {
  margin: 0 0 16px;
}

.news-detail-back {
  margin-top: 10px;
}

@media (max-width: 640px) {
  .news-page-section,
  .news-detail-page {
    width: min(100% - 24px, 920px);
    margin-top: 22px;
    margin-bottom: 48px;
  }

  .news-page-item {
    gap: 12px;
    padding: 10px;
  }

  .news-page-item img {
    width: 96px;
    height: 68px;
  }

  .news-page-item .corporate-news-item-body h4 {
    font-size: 0.9rem;
  }

  .news-detail-page {
    padding: 16px 0;
  }

  .news-detail-header h1 {
    font-size: 1.45rem;
  }

  .news-detail-main-image {
    max-height: none;
  }
}

/* Responsive adjustments for 2-column layout */
@media (max-width: 1024px) {
  .home-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  /* Hide minor sidebar widgets on tablets */
  .sidebar-widget.commit-widget,
  .sidebar-widget.video-widget {
    display: none;
  }
}

@media (max-width: 768px) {
  .home-sidebar {
    grid-template-columns: 1fr;
  }
  .hero-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .hero-stat-card {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 12px;
  }
  .hero-stat-card:nth-child(2n) {
    border-right: 0;
  }
  .hero-stat-card:nth-child(3),
  .hero-stat-card:nth-child(4) {
    border-bottom: 0;
  }
  .product-search-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .product-search-bar input,
  .product-search-bar select {
    background: var(--white);
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px 14px;
    width: 100%;
  }
  .product-search-bar select {
    border-left: 1px solid #cbd5e1;
  }
  .product-search-btn {
    width: 100%;
    justify-content: center;
    padding: 11px;
    border-radius: 6px;
  }
}

/* Partners & Clients styling */
.partners-section {
  padding-block: 48px;
  background: var(--white);
  width: 100%;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.partners-section .section-title {
  margin-bottom: 24px;
}

.partners-grid-marquee {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: var(--page-x);
  width: calc(100% - 2 * var(--page-x));
}

@media (max-width: 1024px) {
  .partners-grid-marquee {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .partners-grid-marquee {
    grid-template-columns: repeat(2, 1fr);
  }
}

.partner-card {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-sm);
  padding: 16px 10px;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--gray-400);
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  transition: all 0.25s ease;
}

.partner-card:hover {
  color: #0b439c;
  border-color: rgba(11, 67, 156, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

/* RFQ Contact Form styling */
.rfq-homepage-section {
  background: var(--gray-50);
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  padding: 48px var(--page-x);
  width: 100%;
}

.rfq-container-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.rfq-container-inner .section-title {
  margin-bottom: 24px;
}

.rfq-form-home {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

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

@media (max-width: 768px) {
  .rfq-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   GLOBAL ADAPTIVE LAYOUT OVERRIDES
   Keeps every page balanced on desktop, tablet, and mobile.
   ============================================================ */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

.header-top-inner,
.header-bottom-inner,
.footer-grid,
.intro-strip,
.service-grid,
.home-container,
.content-grid,
.contact-layout,
.service-detail-grid,
.project-page-grid,
.project-home-grid,
.product-group-inner,
.rfq-container-inner {
  width: min(100% - 2 * var(--page-x), 1280px);
  margin-inline: auto;
}

.hero-slider-wrap {
  width: min(100% - 2 * var(--page-x), 1480px);
}

.home-container {
  padding-inline: 0;
}

.brand-split,
.brand-info-split,
.brand-contact-split,
.main-nav,
.home-main-content,
.product-row-grid-scrollable,
.product-item-card,
.content-card,
.detail-card,
.quote-form,
.contact-info-panel,
.footer-grid > *,
.map-embed {
  min-width: 0;
}

.brand-contact-split {
  flex-wrap: wrap;
  gap: 6px 14px;
}

.main-nav {
  flex-wrap: wrap;
  justify-content: center;
}

.hero-banner-main {
  min-height: clamp(220px, 42vw, 620px);
}

.home-container {
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
}

.product-row-grid-scrollable {
  scroll-snap-type: x proximity;
}

.product-item-card {
  scroll-snap-align: start;
}

.footer-grid {
  grid-template-columns: minmax(220px, 1.2fr) minmax(140px, 0.8fr) minmax(140px, 0.8fr) minmax(210px, 1fr) minmax(220px, 0.9fr);
}

@media (max-width: 1180px) {
  :root {
    --page-x: clamp(18px, 3.6vw, 48px);
  }

  .header-top-inner {
    gap: 18px;
  }

  .brand-name-split {
    font-size: clamp(1rem, 2vw, 1.45rem);
  }

  .brand-tagline-split,
  .brand-contact-split {
    font-size: 0.78rem;
  }

  .home-container {
    grid-template-columns: 1fr;
  }

  .home-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 920px) {
  :root {
    --page-x: clamp(16px, 4.5vw, 28px);
  }

  .header-top-inner {
    align-items: center;
  }

  .brand-split {
    gap: 10px;
  }

  .brand-logo-split {
    width: 74px;
    height: auto;
  }

  .brand-contact-split {
    display: none;
  }

  .header-cta-split {
    padding: 8px 12px;
  }

  .cta-split-label {
    display: none;
  }

  .header-bottom-inner {
    justify-content: flex-end;
  }

  .main-nav {
    left: var(--page-x);
    right: var(--page-x);
    width: auto;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .hero-slider-wrap {
    width: 100%;
    margin: 0 0 22px;
    border-radius: 0;
  }

  .hero-banner-main {
    aspect-ratio: 16 / 9;
    min-height: 260px;
  }

  .home-sidebar {
    grid-template-columns: 1fr;
  }

  .content-grid,
  .contact-layout,
  .service-detail-grid,
  .intro-strip,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .detail-card {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .rfq-form-grid {
    grid-template-columns: 1fr;
  }

  .map-embed,
  .contact-map {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 640px) {
  :root {
    --page-x: 16px;
  }

  .header-top-inner {
    flex-wrap: wrap;
    padding-block: 8px;
  }

  .brand-split {
    flex: 1 1 100%;
  }

  .brand-logo-split {
    width: 64px;
  }

  .brand-name-split {
    font-size: 0.98rem;
    line-height: 1.2;
  }

  .brand-tagline-split {
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .header-cta-split {
    min-height: 38px;
    margin-left: auto;
  }

  .hero-banner-main {
    aspect-ratio: 4 / 3;
    min-height: 280px;
  }

  .hero-slide img {
    object-position: left center;
  }

  .hero-banner-dots {
    top: auto;
    right: 50%;
    bottom: 10px;
    transform: translateX(50%);
  }

  .home-container {
    gap: 22px;
    padding-bottom: 42px;
  }

  .home-main-content {
    gap: 28px;
  }

  .section,
  .product-group,
  .partners-section,
  .rfq-homepage-section {
    padding-block: 38px;
  }

  .product-row-header,
  .product-group-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-row-grid-scrollable {
    gap: 14px;
  }

  .product-item-card {
    flex-basis: min(82vw, 300px);
  }

  .floating-contact {
    right: 12px;
    bottom: 14px;
  }

  .floating-btn {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 380px) {
  .brand-name-split {
    font-size: 0.9rem;
  }

  .brand-tagline-split {
    display: none;
  }

  .hero-banner-main {
    min-height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide img {
    transition: none !important;
  }
}

.rfq-input-group input,
.rfq-textarea-group textarea {
  width: 100%;
  border: 1px solid var(--gray-250);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--navy-900);
  outline: none;
  background: var(--white);
  transition: all 0.2s ease;
}

.rfq-input-group input:focus,
.rfq-textarea-group textarea:focus {
  border-color: #0b439c;
  box-shadow: 0 0 0 3px rgba(11, 67, 156, 0.1);
}

.rfq-textarea-group textarea {
  min-height: 90px;
  resize: vertical;
}

.rfq-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.rfq-submit-btn {
  background: var(--green-500);
  color: var(--white);
  border: 0;
  border-radius: var(--radius-sm);
  padding: 11px 40px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
  transition: all 0.25s ease;
}

.rfq-submit-btn:hover {
  background: var(--green-600);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 14px rgba(16, 185, 129, 0.35);
}

/* RFQ redesign */
.rfq-homepage-section {
  background:
    linear-gradient(135deg, rgba(11, 67, 156, 0.08), rgba(16, 185, 129, 0.08)),
    var(--gray-50);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  padding: 56px var(--page-x);
}

.rfq-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  box-shadow: 0 22px 48px -28px rgba(15, 23, 42, 0.42);
}

.rfq-info-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: clamp(28px, 3vw, 44px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 74, 163, 0.96), rgba(11, 19, 41, 0.98)),
    url("assets/optimized/moxon-banner.jpg") center / cover;
  overflow: hidden;
}

.rfq-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 28%),
    radial-gradient(circle at 85% 16%, rgba(16, 185, 129, 0.32), transparent 26%);
  pointer-events: none;
}

.rfq-info-card > * {
  position: relative;
  z-index: 1;
}

.rfq-info-card .section-kicker {
  color: #9ff3d6;
  margin-bottom: 10px;
}

.rfq-info-card h2 {
  margin: 0;
  max-width: 520px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.4vw, 2.65rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.rfq-intro {
  max-width: 520px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.65;
}

.rfq-contact-stack {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.rfq-contact-stack a {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  column-gap: 12px;
  padding: 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.rfq-contact-stack a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.rfq-contact-stack a > span {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #0b4ca8;
  background: var(--white);
  border-radius: 8px;
}

.rfq-contact-stack strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.15;
}

.rfq-contact-stack small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.rfq-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.rfq-service-tags span {
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.rfq-form-home {
  gap: 18px;
  margin: 0;
  padding: clamp(26px, 3vw, 42px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.rfq-form-head {
  margin-bottom: 2px;
}

.rfq-form-head h3 {
  margin: 0;
  color: var(--navy-900);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.5vw, 1.6rem);
  line-height: 1.2;
}

.rfq-form-head p {
  margin: 6px 0 0;
  color: var(--gray-600);
  font-size: 0.9rem;
}

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

.rfq-input-group,
.rfq-textarea-group {
  display: grid;
  gap: 7px;
}

.rfq-input-group span,
.rfq-textarea-group span {
  color: var(--navy-800);
  font-size: 0.86rem;
  font-weight: 700;
}

.rfq-input-group input,
.rfq-input-group select,
.rfq-textarea-group textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--navy-900);
  background: #fbfdff;
  font-size: 0.92rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.rfq-input-group input[type="file"] {
  padding: 9px 12px;
  color: var(--gray-700);
}

.rfq-input-group input:focus,
.rfq-input-group select:focus,
.rfq-textarea-group textarea:focus {
  border-color: #0b4ca8;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(11, 76, 168, 0.12);
}

.rfq-textarea-group textarea {
  min-height: 118px;
  resize: vertical;
}

.rfq-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 2px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.rfq-submit-row p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.88rem;
  line-height: 1.45;
}

.rfq-submit-btn {
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0b4ca8, #0875d1);
  box-shadow: 0 12px 20px -12px rgba(11, 76, 168, 0.7);
  flex: 0 0 auto;
}

.rfq-submit-btn:hover {
  background: linear-gradient(135deg, #083f8d, #075fa8);
  box-shadow: 0 16px 24px -14px rgba(11, 76, 168, 0.78);
}

@media (max-width: 920px) {
  .rfq-panel {
    grid-template-columns: 1fr;
  }

  .rfq-info-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .rfq-homepage-section {
    padding: 38px var(--page-x);
  }

  .rfq-form-grid {
    grid-template-columns: 1fr;
  }

  .rfq-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .rfq-submit-btn {
    width: 100%;
  }
}

/* Header redesign - MOXON corporate banner */
.masthead-split {
  position: sticky;
  top: 0;
  z-index: 9999 !important;
  background: #ffffff;
  border-top: 5px solid #1f2933;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.masthead-split .header-top {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(118deg, rgba(248, 250, 252, 0.95) 0 18%, rgba(255, 255, 255, 0.96) 18% 80%, rgba(241, 245, 249, 0.96) 80% 100%),
    radial-gradient(circle at 75% 45%, rgba(11, 67, 156, 0.08), transparent 34%);
  border-bottom: 0;
}

.masthead-split .header-top::before,
.masthead-split .header-top::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.masthead-split .header-top::before {
  right: 18%;
  top: 16px;
  width: 260px;
  height: 120px;
  border: 1px solid rgba(11, 67, 156, 0.08);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.masthead-split .header-top::after {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11, 67, 156, 0.18), transparent);
}

.masthead-split .header-top-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(126px, 170px) minmax(0, 1fr) minmax(210px, 250px);
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  width: min(100% - 2 * var(--page-x), 1360px);
  max-width: none;
  min-height: 132px;
  padding: 18px 0 22px;
}

.masthead-split .brand-split {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: minmax(126px, 170px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  text-decoration: none;
}

.masthead-split .brand-logo-split {
  grid-column: 1;
  justify-self: center;
  width: clamp(118px, 8vw, 156px);
  height: auto;
  max-height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 6px 8px rgba(15, 23, 42, 0.18));
}

.masthead-split .brand-info-split {
  grid-column: 2;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.masthead-split .brand-name-split {
  color: #0b4ca8;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.25vw, 2.45rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(11, 76, 168, 0.08);
}

.masthead-split .brand-tagline-split {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 14px);
  width: 100%;
  margin-top: 14px;
  color: #394150;
  font-family: var(--font-heading);
  font-size: clamp(0.92rem, 1.16vw, 1.24rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.masthead-split .brand-tagline-split::before,
.masthead-split .brand-tagline-split::after {
  content: "";
  width: clamp(28px, 4vw, 58px);
  height: 2px;
  background: #0b4ca8;
  flex: 0 0 auto;
}

.masthead-split .brand-tagline-split b {
  color: #0b4ca8;
  font-weight: 900;
}

.masthead-split .brand-contact-split {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(180px, 1fr) minmax(170px, 0.9fr);
  align-items: center;
  width: min(100%, 800px);
  margin-top: 16px;
  gap: 0;
  color: #48515f;
  font-size: clamp(0.78rem, 0.86vw, 0.92rem);
  font-weight: 600;
  line-height: 1.25;
}

.masthead-split .brand-contact-split > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border-right: 1px solid rgba(71, 85, 105, 0.24);
  text-align: left;
}

.masthead-split .brand-contact-split > span:last-child {
  border-right: 0;
}

.masthead-split .contact-icon-split {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  color: #0b4ca8;
  background: #ffffff;
  border: 1.5px solid rgba(11, 76, 168, 0.58);
  border-radius: 9px;
  box-shadow: inset 0 0 0 3px rgba(11, 76, 168, 0.05);
}

.masthead-split .header-cta-split {
  grid-column: 3;
  justify-self: center;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
  min-width: clamp(204px, 13vw, 244px);
  min-height: 68px;
  padding: 10px 16px;
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: linear-gradient(180deg, #ff4f4f 0%, #ef3131 50%, #c71919 100%);
  box-shadow:
    0 0 0 1px rgba(185, 28, 28, 0.24),
    inset 0 2px 0 rgba(255, 255, 255, 0.42),
    0 12px 22px rgba(220, 38, 38, 0.34);
  text-align: left;
}

.masthead-split .header-cta-split:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.masthead-split .cta-split-label {
  grid-column: 2;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 0.95vw, 1.04rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
}

.masthead-split .cta-split-phone {
  grid-column: 1 / -1;
  display: contents;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.32rem, 1.7vw, 1.72rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.masthead-split .phone-icon-circle {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  background: #ffffff;
  color: #ef3131;
  border-radius: 50%;
  box-shadow: inset 0 -2px 0 rgba(15, 23, 42, 0.08);
}

.masthead-split .phone-icon-circle svg {
  width: 24px;
  height: 24px;
}

.masthead-split .header-bottom {
  background:
    linear-gradient(180deg, #0860bf 0%, #074aa3 58%, #073c8b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(2, 6, 23, 0.22);
}

.masthead-split .header-bottom-inner {
  justify-content: center;
  width: min(100% - 2 * var(--page-x), 1720px);
  max-width: none;
  padding: 0;
}

.masthead-split .main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  width: auto;
  margin: 0 auto;
  color: #ffffff;
}

.masthead-split .main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 clamp(18px, 1.7vw, 32px);
  color: rgba(255, 255, 255, 0.94) !important;
  font-family: var(--font-heading);
  font-size: clamp(0.92rem, 1.05vw, 1.14rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  position: relative;
  white-space: nowrap;
  border: 0;
}

.masthead-split .main-nav a::after {
  display: none;
}

.masthead-split .main-nav a::before {
  content: "";
  position: absolute;
  left: clamp(16px, 1.5vw, 28px);
  right: clamp(16px, 1.5vw, 28px);
  bottom: 0;
  height: 5px;
  background: #11c89b;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.masthead-split .main-nav a:hover,
.masthead-split .main-nav a.is-active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
}

.masthead-split .main-nav a:hover::before,
.masthead-split .main-nav a.is-active::before {
  transform: scaleX(1);
}

.masthead-split .menu-toggle {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.masthead-split .menu-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1240px) {
  .masthead-split .header-top-inner {
    grid-template-columns: minmax(120px, 160px) minmax(0, 1fr) minmax(180px, 220px);
    gap: 20px;
    min-height: 128px;
  }

  .masthead-split .brand-split {
    grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
    gap: 20px;
  }

  .masthead-split .brand-contact-split {
    grid-template-columns: 1fr 1fr 1fr;
    font-size: 0.82rem;
  }

  .masthead-split .brand-contact-split > span {
    gap: 8px;
    padding: 0 10px;
  }

  .masthead-split .contact-icon-split {
    width: 34px;
    height: 34px;
  }

  .masthead-split .header-cta-split {
    min-width: 190px;
    min-height: 66px;
    padding: 10px 14px;
    border-radius: 22px;
  }

  .masthead-split .phone-icon-circle {
    width: 44px;
    height: 44px;
  }

  .masthead-split .phone-icon-circle svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 920px) {
  .masthead-split {
    border-top-width: 3px;
  }

  .masthead-split .header-top-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 86px;
    gap: 12px;
    padding: 10px 0;
  }

  .masthead-split .brand-split {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    gap: 12px;
  }

  .masthead-split .brand-logo-split {
    width: 86px;
    justify-self: start;
  }

  .masthead-split .brand-info-split {
    align-items: flex-start;
    text-align: left;
  }

  .masthead-split .brand-name-split {
    font-size: clamp(1rem, 4vw, 1.45rem);
    line-height: 1.12;
  }

  .masthead-split .brand-tagline-split {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 5px 8px;
    margin-top: 6px;
    font-size: 0.78rem;
  }

  .masthead-split .brand-tagline-split::before,
  .masthead-split .brand-tagline-split::after,
  .masthead-split .brand-contact-split,
  .masthead-split .header-cta-split {
    display: none;
  }

  .masthead-split .header-bottom-inner {
    min-height: 52px;
    justify-content: flex-end;
  }

  .masthead-split .menu-toggle {
    display: block;
    margin-left: 0;
  }

  .masthead-split .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: var(--page-x);
    right: var(--page-x);
    width: auto;
    margin: 0;
    padding: 8px 0;
    flex-direction: column;
    align-items: stretch;
    border-radius: 0 0 12px 12px;
    background: #074aa3;
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.22);
  }

  .masthead-split .main-nav.is-open {
    display: flex;
  }

  .masthead-split .main-nav a {
    min-height: 46px;
    justify-content: flex-start;
    padding: 0 18px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .masthead-split .main-nav a:last-child {
    border-bottom: 0;
  }

  .masthead-split .main-nav a::before {
    left: 0;
    right: auto;
    top: 10px;
    bottom: 10px;
    width: 4px;
    height: auto;
    transform: scaleY(0);
  }

  .masthead-split .main-nav a:hover::before,
  .masthead-split .main-nav a.is-active::before {
    transform: scaleY(1);
  }
}

@media (max-width: 520px) {
  .masthead-split .brand-logo-split {
    width: 72px;
  }

  .masthead-split .brand-name-split {
    font-size: 0.94rem;
  }

  .masthead-split .brand-tagline-split {
    font-size: 0.68rem;
  }
}

/* ============================================================
   STACKING FIX
   Prevent page controls from floating over the sticky header.
   ============================================================ */
.masthead-split {
  isolation: isolate;
  z-index: 20000 !important;
}

.masthead-split .header-top,
.masthead-split .header-bottom,
.masthead-split .header-top-inner,
.masthead-split .header-bottom-inner {
  position: relative;
  z-index: 2;
}

main,
.home-container,
.home-sidebar,
.home-main-content,
.product-row-wrap,
.product-row-slider-container,
.product-row-grid-scrollable,
.product-search-bar {
  position: relative;
  z-index: 0;
}

.product-search-bar {
  position: relative !important;
  top: auto !important;
  z-index: 0 !important;
}

.slider-arrow {
  z-index: 2 !important;
}

.product-filters-wrap {
  z-index: 20;
}

/* ============================================================
   ABOUT & SERVICES REDESIGN
   Corporate content pages matching the homepage structure.
   ============================================================ */
.corporate-page-hero {
  min-height: clamp(360px, 36vw, 520px);
}

.corporate-page-hero::before {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.72) 42%, rgba(2, 6, 23, 0.26) 100%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0));
}

.corporate-page-hero > div {
  width: min(100% - 2 * var(--page-x), 1280px);
  max-width: 1280px;
}

.corporate-page-hero h1 {
  max-width: 780px;
}

.corporate-page-hero p:not(.hero-kicker) {
  max-width: 680px;
}

.corporate-page-shell {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  gap: 28px;
  width: min(100% - 2 * var(--page-x), 1280px);
  margin-inline: auto;
  padding: 44px 0 72px;
}

.corporate-page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.corporate-page-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.corporate-intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.corporate-intro-copy {
  padding: clamp(26px, 3.2vw, 44px);
}

.corporate-intro-copy h2,
.corporate-section-block h2 {
  margin: 0;
  color: var(--navy-900);
  font-family: var(--font-heading);
  font-size: var(--heading-md);
  line-height: 1.15;
}

.corporate-intro-copy p {
  margin: 14px 0 0;
  color: var(--gray-700);
  font-size: var(--text-md);
}

.corporate-intro-image {
  min-height: 100%;
  background: var(--navy-950);
  overflow: hidden;
}

.corporate-intro-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  filter: contrast(1.06) saturate(1.04);
}

.corporate-card-grid {
  display: grid;
  gap: 24px;
}

.corporate-card-grid.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.corporate-card-grid.three-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.corporate-section-block {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.corporate-section-block .section-title {
  margin: 0 auto 0;
}

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

.service-list-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.corporate-page-main .detail-card {
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  overflow: hidden;
}

.corporate-page-main .detail-card-text {
  display: block;
  padding: clamp(26px, 3vw, 40px);
}

.corporate-page-main .detail-card-text > div {
  max-width: 820px;
}

.corporate-page-main .cta-band {
  margin: 0;
  width: 100%;
}

@media (max-width: 1180px) {
  .corporate-page-shell {
    grid-template-columns: 1fr;
  }

  .corporate-page-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .corporate-page-hero {
    min-height: 320px;
  }

  .corporate-intro-panel,
  .corporate-card-grid.two-cols,
  .corporate-card-grid.three-cols,
  .services-overview-grid,
  .corporate-page-main .detail-card {
    grid-template-columns: 1fr;
  }

  .corporate-intro-image img,
  .corporate-page-main .detail-card img {
    min-height: 260px;
    max-height: 380px;
  }
}

@media (max-width: 640px) {
  .corporate-page-shell {
    width: calc(100% - 2 * var(--page-x));
    padding: 30px 0 48px;
    gap: 22px;
  }

  .corporate-page-sidebar {
    grid-template-columns: 1fr;
  }

  .corporate-page-main {
    gap: 24px;
  }

  .corporate-intro-copy,
  .corporate-page-main .detail-card-text {
    padding: 22px;
  }

  .corporate-intro-image img,
  .corporate-page-main .detail-card img {
    min-height: 220px;
  }
}

/* Partners + contact form split section */
.partners-contact-section {
  width: 100%;
  padding: 56px var(--page-x);
  background:
    linear-gradient(135deg, rgba(11, 76, 168, 0.06), rgba(16, 185, 129, 0.06)),
    var(--gray-50);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.partners-contact-inner {
  width: min(100% - 2 * var(--page-x), 1280px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.partners-contact-card {
  min-width: 0;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  box-shadow: 0 18px 38px -30px rgba(15, 23, 42, 0.42);
}

.partners-contact-left {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98)),
    radial-gradient(circle at 100% 0, rgba(11, 76, 168, 0.12), transparent 34%);
}

.partners-contact-left::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(11, 76, 168, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.partners-contact-left .section-title {
  position: relative;
  margin-bottom: 22px;
  text-align: left;
  z-index: 1;
}

.partners-contact-left .section-title h2 {
  font-size: clamp(1.65rem, 2.2vw, 2.35rem);
}

.partners-contact-left .section-title p:last-child {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--gray-600);
  font-size: 0.94rem;
  line-height: 1.6;
}

.partners-contact-section .partners-grid-marquee {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.partners-contact-section .partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 14px 18px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, #ffffff, #f8fafc);
  color: #0b4ca8;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 18px -18px rgba(15, 23, 42, 0.34);
  text-align: center;
  overflow: visible;
}

.partners-contact-section .partner-card-large {
  grid-column: auto;
}

.partners-contact-section .partner-card strong {
  display: block;
  width: 100%;
  color: #0b4ca8;
  font-family: var(--font-heading);
  font-size: clamp(0.94rem, 1.08vw, 1.08rem);
  line-height: 1.15;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Hotline CTA animation */
.masthead-split .header-cta-split {
  position: relative;
  isolation: isolate;
  animation: hotlinePulse 2.6s ease-in-out infinite;
}

.masthead-split .header-cta-split::before {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(239, 49, 49, 0.28);
  opacity: 0;
  transform: scale(0.92);
  animation: hotlineRing 2.6s ease-out infinite;
}

.masthead-split .header-cta-split::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, 0.32) 45%, transparent 56% 100%);
  transform: translateX(-120%);
  pointer-events: none;
  animation: hotlineCtaShine 3.8s ease-in-out infinite;
}

.masthead-split .phone-icon-circle {
  animation: hotlinePhoneShake 2.6s ease-in-out infinite;
}

@keyframes hotlinePulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(185, 28, 28, 0.24),
      inset 0 2px 0 rgba(255, 255, 255, 0.42),
      0 12px 22px rgba(220, 38, 38, 0.34);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(185, 28, 28, 0.28),
      inset 0 2px 0 rgba(255, 255, 255, 0.48),
      0 16px 28px rgba(220, 38, 38, 0.5);
  }
}

@keyframes hotlineRing {
  0% {
    opacity: 0.5;
    transform: scale(0.92);
  }
  70%, 100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes hotlineCtaShine {
  0%, 62% {
    transform: translateX(-120%);
  }
  82%, 100% {
    transform: translateX(120%);
  }
}

@keyframes hotlinePhoneShake {
  0%, 72%, 100% {
    transform: rotate(0deg) scale(1);
  }
  76% {
    transform: rotate(-10deg) scale(1.04);
  }
  80% {
    transform: rotate(12deg) scale(1.04);
  }
  84% {
    transform: rotate(-8deg) scale(1.02);
  }
  88% {
    transform: rotate(6deg) scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .masthead-split .header-cta-split,
  .masthead-split .header-cta-split::before,
  .masthead-split .header-cta-split::after,
  .masthead-split .phone-icon-circle {
    animation: none !important;
  }
}

.partners-contact-section .partner-card span {
  display: none;
}

.partner-note {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.partner-note span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  color: #0b4ca8;
  background: rgba(11, 76, 168, 0.07);
  border: 1px solid rgba(11, 76, 168, 0.12);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.partners-contact-section .partner-card:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 76, 168, 0.24);
  box-shadow: 0 16px 24px -20px rgba(11, 76, 168, 0.55);
}

.partners-contact-form {
  overflow: hidden;
}

.partners-contact-form .quote-form {
  height: 100%;
  padding: clamp(24px, 3vw, 36px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.partners-contact-form .quote-form h2 {
  font-size: clamp(1.55rem, 2vw, 2.1rem);
}

.partners-contact-form .quote-form p {
  margin-bottom: 18px;
}

.partners-contact-form .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.partners-contact-form .quote-form label {
  margin-bottom: 12px;
}

.partners-contact-form .quote-form input,
.partners-contact-form .quote-form select,
.partners-contact-form .quote-form textarea {
  min-height: 44px;
  border-radius: 8px;
  font-size: 0.92rem;
}

.partners-contact-form .quote-form textarea {
  min-height: 100px;
}

.partners-contact-form .form-note {
  margin: -2px 0 8px;
  font-size: 0.84rem;
}

@media (max-width: 980px) {
  .partners-contact-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .partners-contact-section {
    padding-block: 38px;
  }

  .partners-contact-left,
  .partners-contact-form .quote-form {
    padding: 20px 16px;
  }

  .partners-contact-section .partners-grid-marquee,
  .partners-contact-form .form-grid {
    grid-template-columns: 1fr;
  }

  .partners-contact-section .partner-card-large {
    grid-column: span 1;
  }
}

/* Product search redesign */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.product-search-bar {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  align-items: stretch !important;
}

.product-search-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.product-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  color: #0b4ca8;
  background: var(--white);
  border: 1px solid rgba(11, 76, 168, 0.18);
  border-radius: 10px;
  box-shadow: inset 0 0 0 4px rgba(11, 76, 168, 0.04);
}

.product-search-heading strong {
  display: block;
  color: var(--navy-900);
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.35vw, 1.42rem);
  line-height: 1.15;
}

.product-search-heading small {
  display: block;
  margin-top: 4px;
  color: var(--gray-600);
  font-size: 0.86rem;
  line-height: 1.35;
}

.product-search-controls {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(190px, 240px) auto;
  gap: 10px;
  align-items: stretch;
}

.product-search-field,
.product-search-select {
  display: block;
  min-width: 0;
}

.product-search-bar .product-search-field input,
.product-search-bar .product-search-select select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid #cfd9e6;
  border-radius: 8px;
  font-size: 0.92rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.product-search-bar .product-search-select select {
  color: var(--navy-800);
  cursor: pointer;
}

.product-search-bar .product-search-field input:focus,
.product-search-bar .product-search-select select:focus {
  background: var(--white);
  border-color: #0b4ca8;
  box-shadow: 0 0 0 3px rgba(11, 76, 168, 0.12);
}

.product-search-btn {
  min-height: 48px !important;
  padding: 0 22px !important;
  border-radius: 8px !important;
  background: #0867c9 !important;
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-size: 0.94rem !important;
  font-weight: 800 !important;
  letter-spacing: 0;
  box-shadow: 0 12px 20px -14px rgba(11, 76, 168, 0.74);
}

.product-search-btn:hover {
  background: #0759ae !important;
  transform: translateY(-1px);
}

.product-search-suggestions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
}

.product-search-suggestions::before {
  content: "Gợi ý:";
  color: var(--gray-600);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-search-suggestions a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: #0b4ca8;
  background: rgba(11, 76, 168, 0.07);
  border: 1px solid rgba(11, 76, 168, 0.12);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.product-search-suggestions a:hover {
  color: var(--white);
  background: #0b4ca8;
}

@media (max-width: 980px) {
  .product-search-controls {
    grid-template-columns: 1fr 1fr;
  }

  .product-search-btn {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .product-search-bar {
    padding: 14px !important;
  }

  .product-search-heading {
    align-items: flex-start;
  }

  .product-search-icon {
    width: 40px;
    height: 40px;
  }

  .product-search-controls {
    grid-template-columns: 1fr;
  }

  .product-search-suggestions {
    gap: 6px;
  }
}

/* Product catalog page */
.product-catalog-page {
  width: min(calc(100% - 48px), 1280px);
  margin: 0 auto;
  padding: 30px 0 64px;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.product-catalog-sidebar {
  display: grid;
  gap: 14px;
}

.catalog-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  color: var(--white);
  background: linear-gradient(135deg, #008b22, #13bd55);
  border-radius: 6px 6px 0 0;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-title span {
  font-size: 1.22rem;
  line-height: 1;
}

.catalog-menu,
.catalog-contact-box {
  background: var(--white);
  border: 1px solid #d7e1ec;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 16px 34px rgba(10, 33, 58, 0.07);
}

.catalog-menu {
  padding: 14px 16px 18px;
}

.catalog-category-menu {
  display: grid;
  gap: 10px;
}

.catalog-category-btn {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--navy-900);
  background: #f7fafc;
  border: 1px solid #d7e1ec;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.catalog-category-btn:hover {
  color: var(--green-dark);
  border-color: rgba(17, 195, 93, 0.42);
  transform: translateX(2px);
}

.catalog-category-btn.is-active {
  color: var(--white);
  background: linear-gradient(135deg, #0b4ca8, #07356f);
  border-color: #0b4ca8;
  box-shadow: 0 12px 22px rgba(11, 76, 168, 0.18);
}

.catalog-menu h3 {
  margin: 12px 0 6px;
  padding-bottom: 8px;
  color: #09872d;
  border-bottom: 1px solid rgba(15, 173, 70, 0.35);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-menu h3:first-child {
  margin-top: 0;
}

.catalog-menu a {
  display: block;
  padding: 10px 6px 10px 14px;
  color: var(--navy-900);
  border-bottom: 1px solid rgba(15, 173, 70, 0.26);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
  position: relative;
}

.catalog-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 999px;
  transform: translateY(-50%);
}

.catalog-menu a:hover {
  color: var(--green-dark);
  padding-left: 18px;
}

.catalog-category-menu h3,
.catalog-category-menu a,
.catalog-category-menu a::before {
  display: none;
}

.catalog-contact-box {
  display: grid;
  gap: 0;
  padding: 0;
  border-radius: 8px;
  text-align: left;
  overflow: hidden;
}

.catalog-contact-box h3 {
  margin: 0;
  padding: 12px 16px;
  color: var(--white);
  background: #0b439c;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.catalog-contact-box > strong {
  color: var(--navy-900);
  font-family: var(--font-heading);
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.42;
  text-align: left;
  letter-spacing: 0;
}

.catalog-contact-box a {
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 900;
}

.catalog-contact-box span {
  color: var(--gray-600);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.catalog-support-box {
  padding: 18px 16px;
}

.catalog-contact-box .support-item {
  align-items: flex-start;
}

.catalog-contact-box .support-item-text strong {
  font-family: var(--font-main);
  font-size: 0.8rem;
  line-height: 1.25;
}

.catalog-contact-box .support-phone {
  color: var(--red-500) !important;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 900;
}

.catalog-contact-box .support-email {
  color: #0b439c !important;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.catalog-contact-box .catalog-support-btn {
  min-height: 42px;
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 900;
  border-radius: 8px;
}

.catalog-contact-box .catalog-hotline {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  width: 100%;
  padding: 0 14px;
  color: #ffffff !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 34%),
    linear-gradient(135deg, #b90f13 0%, #ec2429 48%, #a8070d 100%);
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  font-size: clamp(1rem, 1.32vw, 1.2rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.34);
  box-shadow:
    0 14px 22px rgba(206, 22, 28, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.catalog-contact-box .catalog-hotline::before {
  content: "\260E";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: #d71920;
  background: #ffffff;
  border-radius: 999px;
  font-size: 1.02rem;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.72);
}

.catalog-contact-box .catalog-hotline::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -45%;
  z-index: -1;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-18deg);
  animation: hotlineShine 3.2s ease-in-out infinite;
}

@keyframes hotlineShine {
  0%,
  45% {
    left: -45%;
  }

  100% {
    left: 120%;
  }
}

.catalog-contact-box .catalog-consult-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: 100%;
  margin-top: 4px;
  padding: 0 16px;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--green-500), var(--green-600)) !important;
  border: 0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 12px 22px rgba(17, 195, 93, 0.22);
}

.catalog-contact-box .catalog-consult-btn:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--green-600), #047857) !important;
  transform: translateY(-1px);
}

.product-catalog-main {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.catalog-banner {
  min-height: 190px;
  overflow: hidden;
  background: #eaf0f6;
  border: 1px solid #d6e0eb;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(10, 33, 58, 0.08);
}

.catalog-banner img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  object-position: center;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid #d7e1ec;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(10, 33, 58, 0.06);
}

.catalog-toolbar h1 {
  margin: 4px 0 0;
  color: var(--navy-900);
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.1;
}

.catalog-toolbar.is-filtered [data-catalog-kicker],
[data-catalog-kicker][hidden] {
  display: none !important;
}

.catalog-search {
  flex: 0 1 380px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  background: #f6f9fc;
  border: 1px solid #cfd9e6;
  border-radius: 6px;
  color: var(--gray-600);
}

.catalog-search input {
  width: 100%;
  min-width: 0;
  color: var(--navy-900);
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-weight: 700;
}

.catalog-search:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(17, 195, 93, 0.12);
}

.catalog-empty {
  display: none;
  padding: 18px;
  color: var(--gray-700);
  background: #fff8e8;
  border: 1px solid #f0d392;
  border-radius: 8px;
  font-weight: 700;
}

.catalog-empty.is-visible {
  display: block;
}

.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.catalog-product-card {
  min-width: 0;
  background: var(--white);
  border: 1px solid #dce5ef;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(10, 33, 58, 0.07);
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.catalog-product-card:hover {
  position: relative;
  z-index: 2;
  transform: translateY(-3px);
  border-color: rgba(17, 195, 93, 0.45);
  box-shadow: 0 18px 34px rgba(10, 33, 58, 0.13);
}

.catalog-product-card .product-item-img {
  aspect-ratio: 4 / 3;
  background: #eef2f6;
  border-radius: 0;
  overflow: hidden;
}

.catalog-product-card .product-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-product-card .product-item-body {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 16px 14px 20px;
  text-align: center;
}

.catalog-product-card h3 {
  min-height: 42px;
  margin: 0;
  color: var(--navy-900);
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.32;
}

.catalog-product-card .price-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  min-width: 104px;
  padding: 0 16px;
  color: var(--white);
  background: linear-gradient(135deg, #0b4ca8, #0867c9);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 10px 18px -14px rgba(11, 76, 168, 0.85);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.catalog-product-card .price-contact:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  transform: translateY(-1px);
  box-shadow: 0 14px 22px -16px rgba(16, 185, 129, 0.9);
}

.catalog-product-card.is-hidden,
.catalog-product-card[hidden] {
  display: none !important;
}

@media (max-width: 1180px) {
  .product-catalog-page {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 22px;
  }

  .catalog-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .product-catalog-page {
    width: min(calc(100% - 32px), 760px);
    grid-template-columns: 1fr;
    padding-top: 22px;
  }

  .catalog-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
  }

  .catalog-category-menu {
    gap: 10px;
  }

  .catalog-menu h3 {
    grid-column: 1 / -1;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-search {
    flex-basis: auto;
    width: 100%;
  }

  .catalog-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .product-catalog-page {
    width: min(calc(100% - 24px), 420px);
  }

  .catalog-menu,
  .catalog-product-grid {
    grid-template-columns: 1fr;
  }

  .catalog-title,
  .catalog-toolbar {
    padding-inline: 14px;
  }

  .catalog-banner,
  .catalog-banner img {
    min-height: 140px;
  }

  .catalog-product-card h3 {
    min-height: auto;
  }
}

/* Contact page banner sizing */
body[data-page="contact"] .contact-hero-banner {
  width: min(calc(100% - 48px), 1280px);
  height: clamp(210px, 24vw, 330px);
  min-height: 0;
  margin: 28px auto 0;
  padding: 0;
  overflow: hidden;
  background: #f4f8fc;
  border: 1px solid #d7e1ec;
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(10, 33, 58, 0.08);
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

body[data-page="contact"] .contact-hero-banner::before {
  display: none !important;
  animation: none !important;
  transition: none !important;
}

body[data-page="contact"] .contact-hero-banner img,
body[data-page="contact"] .contact-hero-banner.is-visible img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: contrast(1.04) saturate(1.02);
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

@media (max-width: 760px) {
  body[data-page="contact"] .contact-hero-banner {
    width: min(calc(100% - 28px), 620px);
    height: clamp(150px, 36vw, 210px);
    margin-top: 18px;
    border-radius: 8px;
  }
}

/* Mobile experience pass */
@media (max-width: 920px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    padding-bottom: 82px;
  }

  .masthead-split {
    position: sticky;
    top: 0;
    z-index: 20000;
    border-top-width: 0;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
  }

  .masthead-split .header-top {
    min-height: 0;
  }

  .masthead-split .header-top::before,
  .masthead-split .header-top::after {
    display: none;
  }

  .masthead-split .header-top-inner {
    min-height: 66px;
    padding-block: 8px;
  }

  .masthead-split .brand-split {
    gap: 10px;
    min-width: 0;
  }

  .masthead-split .brand-logo-split {
    width: 64px;
    height: auto;
  }

  .masthead-split .brand-name-split {
    font-size: clamp(0.98rem, 4.4vw, 1.28rem);
    line-height: 1.12;
    text-wrap: balance;
  }

  .masthead-split .brand-tagline-split {
    display: none;
  }

  .masthead-split .header-bottom {
    background: #074aa3;
  }

  .masthead-split .header-bottom-inner {
    min-height: 46px;
    justify-content: flex-end;
    width: min(calc(100% - 24px), 760px);
  }

  .masthead-split .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: 8px;
  }

  .masthead-split .main-nav {
    left: 12px;
    right: 12px;
    max-height: calc(100vh - 124px);
    overflow-y: auto;
  }

  .masthead-split .main-nav a {
    min-height: 48px;
    padding-inline: 18px;
    font-size: 0.96rem;
  }

  .hero-slider-wrap {
    width: 100%;
    margin-inline: 0;
    padding: 0;
  }

  .hero-banner-main {
    min-height: clamp(270px, 74vw, 420px);
    border-radius: 0;
  }

  .hero-slide img {
    object-position: center right;
  }

  .hero-banner-dots {
    bottom: 12px;
  }

  .page-hero,
  .corporate-page-hero {
    min-height: 220px;
    padding: 42px 18px;
  }

  .page-hero h1,
  .corporate-page-hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.35rem);
    line-height: 1.12;
  }

  .page-hero p,
  .corporate-page-hero p {
    font-size: 1rem;
  }

  .section {
    padding: 44px 16px;
  }

  .contact-layout,
  .content-grid,
  .form-grid,
  .home-split,
  .service-detail-grid,
  .project-home-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .contact-info-panel,
  .quote-form,
  .content-card,
  .detail-card,
  .intro-card,
  .why-card {
    padding: 22px 18px;
    border-radius: 10px;
  }

  .quote-form h2 {
    font-size: clamp(1.45rem, 6vw, 2rem);
  }

  .quote-form label {
    gap: 8px;
    font-size: 0.95rem;
  }

  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    min-height: 48px;
    font-size: 1rem;
  }

  .quote-form textarea {
    min-height: 128px;
  }

  .quote-form .button,
  .button {
    min-height: 48px;
  }

  .contact-map,
  .map-embed {
    min-height: 260px;
    width: 100%;
    max-width: none;
  }

  .floating-contact {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 21000;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: auto;
    transform: none;
    animation: none !important;
  }

  .floating-btn {
    width: 100%;
    height: 52px;
    border-radius: 999px;
  }

  .floating-btn .ripple-ring {
    display: none;
  }

  .floating-zalo::after,
  .floating-phone::after {
    display: inline;
    margin-left: 8px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 900;
  }

  .floating-zalo::after {
    content: "Zalo";
  }

  .floating-phone::after {
    content: "Gọi ngay";
  }
}

@media (max-width: 640px) {
  .masthead-split .header-top-inner {
    width: min(calc(100% - 20px), 480px);
  }

  .masthead-split .brand-logo-split {
    width: 58px;
  }

  .masthead-split .brand-name-split {
    font-size: clamp(0.9rem, 4.6vw, 1.14rem);
  }

  .hero-banner-main {
    min-height: clamp(250px, 78vw, 360px);
  }

  .hero-slide img {
    object-position: 62% center;
  }

  body[data-page="contact"] .contact-hero-banner {
    width: min(calc(100% - 20px), 460px);
    height: clamp(132px, 39vw, 184px);
    margin-top: 14px;
    border-radius: 8px;
  }

  .product-catalog-page {
    width: min(calc(100% - 20px), 460px);
    padding-top: 18px;
  }

  .catalog-category-menu {
    display: flex !important;
    gap: 8px;
    overflow-x: auto;
    padding: 12px;
    scroll-snap-type: x proximity;
  }

  .catalog-category-btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 156px;
    min-height: 42px;
    text-align: center;
    scroll-snap-align: start;
  }

  .catalog-contact-box {
    padding: 16px;
  }

  .catalog-contact-box .catalog-hotline {
    min-height: 46px;
    font-size: 1rem;
  }

  .catalog-contact-box .catalog-consult-btn {
    min-height: 44px;
  }

  .catalog-toolbar {
    gap: 12px;
    padding: 16px;
  }

  .catalog-toolbar h1 {
    font-size: 1.55rem;
  }

  .catalog-product-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .catalog-product-card .product-item-body {
    padding: 14px 12px 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 22px;
    text-align: left;
  }

  .footer-logo {
    max-width: 150px;
  }
}

@media (max-width: 380px) {
  .masthead-split .brand-name-split {
    font-size: 0.84rem;
  }

  .masthead-split .brand-logo-split {
    width: 52px;
  }

  .floating-contact {
    left: 8px;
    right: 8px;
    gap: 8px;
  }

  .floating-btn {
    height: 48px;
  }
}

/* Mobile header placement correction */
.menu-toggle-top {
  display: none;
}

@media (max-width: 920px) {
  body {
    padding-bottom: 0;
  }

  .masthead-split {
    position: sticky;
    top: 0;
    z-index: 22000;
  }

  .masthead-split .header-top {
    position: relative;
    z-index: 3;
  }

  .masthead-split .header-top-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    gap: 10px;
  }

  .masthead-split .brand-split {
    grid-column: 1;
    min-width: 0;
  }

  .masthead-split .menu-toggle-top {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 10px;
    color: #ffffff;
    background: #0b4ca8;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 10px 18px rgba(11, 76, 168, 0.18);
  }

  .masthead-split .menu-toggle-top span {
    width: 20px;
    height: 2px;
    margin: 3px 0;
    background: currentColor;
  }

  .masthead-split .header-bottom {
    min-height: 0;
  }

  .masthead-split .header-bottom-inner {
    min-height: 0;
    padding: 0;
  }

  .masthead-split .header-bottom .menu-toggle {
    display: none !important;
  }

  .masthead-split .main-nav {
    top: calc(100% + 0px);
    left: 10px;
    right: 10px;
    z-index: 22001;
    border-radius: 0 0 12px 12px;
  }

  .floating-contact {
    position: fixed;
    right: 16px;
    left: auto;
    bottom: 22px;
    z-index: 21000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: auto;
    transform: none;
    animation: none !important;
  }

  .floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
  }

  .floating-btn .ripple-ring {
    display: block;
  }

  .floating-zalo::after,
  .floating-phone::after {
    content: none !important;
    display: none !important;
  }
}

@media (max-width: 640px) {
  .masthead-split .header-top-inner {
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  .masthead-split .brand-name-split {
    font-size: clamp(0.86rem, 4.2vw, 1.06rem);
  }

  .masthead-split .brand-logo-split {
    width: 54px;
  }

  .masthead-split .floating-contact,
  .floating-contact {
    right: 12px;
    bottom: 18px;
  }

  .floating-btn {
    width: 52px;
    height: 52px;
  }
}

/* Mobile banners must show full artwork */
@media (max-width: 760px) {
  .hero-banner-main {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9;
    background: #071528;
  }

  .hero-slide,
  .hero-slide img {
    width: 100%;
    height: 100%;
  }

  .hero-slide img {
    object-fit: contain !important;
    object-position: center !important;
    background: #071528;
  }

  .page-hero img,
  .corporate-page-hero img,
  .contact-hero-banner img,
  .page-hero.is-visible img,
  .contact-hero-banner.is-visible img {
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
  }

  .page-hero,
  .corporate-page-hero {
    overflow: hidden;
    background: #071528;
  }

  body[data-page="contact"] .contact-hero-banner {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9;
    background: #f4f8fc;
  }

  body[data-page="contact"] .contact-hero-banner img,
  body[data-page="contact"] .contact-hero-banner.is-visible img {
    object-fit: contain !important;
    background: #f4f8fc;
  }
}

/* Mobile final layout: fixed header, filled banners */
@media (max-width: 920px) {
  body {
    padding-top: 124px;
  }

  .masthead-split {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 30000;
  }

  .masthead-split .header-top-inner {
    min-height: 78px;
  }

  .masthead-split .menu-toggle-top {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .masthead-split .menu-toggle-top span {
    display: block;
    width: 21px;
    height: 2px;
    margin: 0;
    background: currentColor;
    border-radius: 999px;
  }

  .masthead-split .main-nav {
    position: fixed;
    top: 124px;
    left: 10px;
    right: 10px;
    max-height: calc(100vh - 134px);
  }

  .hero-banner-main {
    aspect-ratio: 16 / 8.2;
    background: #071528;
  }

  .hero-slide img {
    object-fit: cover !important;
    object-position: center !important;
  }

  .page-hero img,
  .corporate-page-hero img,
  .contact-hero-banner img,
  .page-hero.is-visible img,
  .contact-hero-banner.is-visible img {
    object-fit: cover !important;
    object-position: center !important;
  }

  body[data-page="contact"] .contact-hero-banner {
    aspect-ratio: 16 / 8.2;
  }

  body[data-page="contact"] .contact-hero-banner img,
  body[data-page="contact"] .contact-hero-banner.is-visible img {
    object-fit: cover !important;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 116px;
  }

  .masthead-split .header-top-inner {
    min-height: 72px;
  }

  .masthead-split .main-nav {
    top: 116px;
    max-height: calc(100vh - 126px);
  }

  .hero-banner-main {
    aspect-ratio: 16 / 8.7;
  }

  body[data-page="contact"] .contact-hero-banner {
    aspect-ratio: 16 / 8.7;
  }
}

/* Mobile final polish: fixed masthead, real hamburger, cropped banners */
@media (max-width: 920px) {
  body {
    padding-top: 120px !important;
  }

  .masthead-split {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 30000 !important;
    transform: none !important;
  }

  .masthead-split .header-top {
    background: #ffffff;
  }

  .masthead-split .header-top-inner {
    min-height: 76px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .masthead-split .header-bottom {
    display: block !important;
    min-height: 40px !important;
    background: #051428 !important;
  }

  .masthead-split .header-bottom-inner {
    min-height: 40px !important;
    padding: 0 !important;
  }

  .masthead-split .header-bottom .menu-toggle {
    display: none !important;
  }

  .masthead-split .menu-toggle-top {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    color: #ffffff !important;
    background: #0b4ca8 !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 18px rgba(11, 76, 168, 0.18) !important;
  }

  .masthead-split .menu-toggle-top span {
    display: block !important;
    flex: 0 0 auto !important;
    width: 22px !important;
    height: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    background: #ffffff !important;
    border-radius: 999px !important;
    transform: none !important;
  }

  .masthead-split .main-nav {
    position: fixed !important;
    top: 120px !important;
    left: 12px !important;
    right: 12px !important;
    max-height: calc(100vh - 132px) !important;
    overflow-y: auto !important;
  }

  .hero-banner-main,
  body[data-page="contact"] .contact-hero-banner {
    aspect-ratio: 16 / 8.4 !important;
    overflow: hidden !important;
    background: #071528 !important;
  }

  .hero-slide,
  .hero-slide img,
  .page-hero img,
  .corporate-page-hero img,
  .contact-hero-banner img,
  .page-hero.is-visible img,
  .contact-hero-banner.is-visible img {
    width: 100% !important;
    height: 100% !important;
  }

  .hero-slide img,
  .page-hero img,
  .corporate-page-hero img,
  .contact-hero-banner img,
  .page-hero.is-visible img,
  .contact-hero-banner.is-visible img {
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 112px !important;
  }

  .masthead-split .header-top-inner {
    min-height: 72px !important;
  }

  .masthead-split .header-bottom,
  .masthead-split .header-bottom-inner {
    min-height: 36px !important;
  }

  .masthead-split .main-nav {
    top: 112px !important;
    max-height: calc(100vh - 124px) !important;
  }

  .hero-banner-main,
  body[data-page="contact"] .contact-hero-banner {
    aspect-ratio: 16 / 8.6 !important;
  }
}

/* Mobile correction: no empty menu strip and full banner artwork */
@media (max-width: 920px) {
  body {
    padding-top: 76px !important;
  }

  .masthead-split .header-bottom {
    height: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: transparent !important;
  }

  .masthead-split .header-bottom-inner {
    height: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .masthead-split .main-nav {
    top: 76px !important;
  }

  .hero-banner-main,
  body[data-page="contact"] .contact-hero-banner {
    aspect-ratio: 16 / 9 !important;
    background: #f4f8fc !important;
  }

  .hero-slide img,
  .page-hero img,
  .corporate-page-hero img,
  .contact-hero-banner img,
  .page-hero.is-visible img,
  .contact-hero-banner.is-visible img {
    object-fit: contain !important;
    object-position: center center !important;
    background: #f4f8fc !important;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 72px !important;
  }

  .masthead-split .main-nav {
    top: 72px !important;
    max-height: calc(100vh - 84px) !important;
  }
}

/* Mobile content simplification: keep the phone layout clean and non-overflowing */
@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden !important;
  }

  main,
  section,
  .home-container,
  .home-main-content,
  .product-row-wrap,
  .product-row-slider-container,
  .product-row-grid-scrollable,
  .partners-contact-section,
  .partners-contact-inner {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body[data-page="home"] .home-container {
    display: block !important;
    width: 100% !important;
    padding: 22px 14px 42px !important;
  }

  body[data-page="home"] .home-sidebar,
  body[data-page="home"] .product-search-bar,
  body[data-page="home"] .corporate-news-section,
  body[data-page="home"] .partners-contact-left,
  body[data-page="home"] .slider-arrow {
    display: none !important;
  }

  body[data-page="home"] .home-main-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
    width: 100% !important;
  }

  body[data-page="home"] .product-row-wrap {
    margin: 0 !important;
    padding: 16px !important;
    border: 1px solid #d9e3ee !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
  }

  body[data-page="home"] .product-row-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #d9e3ee !important;
  }

  body[data-page="home"] .product-row-header h3 {
    min-width: 0 !important;
    margin: 0 !important;
    color: #003b86 !important;
    font-size: clamp(1rem, 4.7vw, 1.18rem) !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
  }

  body[data-page="home"] .product-row-header .view-all-link {
    flex: 0 0 auto !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }

  body[data-page="home"] .product-row-grid-scrollable {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body[data-page="home"] .product-item-card {
    width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    border-radius: 10px !important;
  }

  body[data-page="home"] .product-item-card:nth-child(n + 3) {
    display: none !important;
  }

  body[data-page="home"] .product-item-card-img {
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
  }

  body[data-page="home"] .product-item-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  body[data-page="home"] .product-item-card-body {
    padding: 10px !important;
    gap: 8px !important;
  }

  body[data-page="home"] .product-item-card-body h4 {
    min-height: auto !important;
    margin: 0 !important;
    font-size: 0.86rem !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere !important;
  }

  body[data-page="home"] .product-card-cta-btn {
    width: 100% !important;
    min-height: 34px !important;
    padding: 8px 10px !important;
    font-size: 0.78rem !important;
  }

  body[data-page="home"] .partners-contact-section {
    padding: 0 14px 44px !important;
    background: #f5f8fb !important;
  }

  body[data-page="home"] .partners-contact-inner {
    display: block !important;
    width: 100% !important;
  }

  body[data-page="home"] .partners-contact-form {
    width: 100% !important;
    padding: 18px !important;
    border-radius: 14px !important;
  }

  body[data-page="home"] .partners-contact-form h2,
  body[data-page="home"] .quote-form h2 {
    font-size: clamp(1.25rem, 6vw, 1.55rem) !important;
    line-height: 1.18 !important;
  }

  body[data-page="home"] .form-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 420px) {
  body[data-page="home"] .product-row-grid-scrollable {
    grid-template-columns: 1fr !important;
  }

  body[data-page="home"] .product-item-card:nth-child(n + 3) {
    display: block !important;
  }

  body[data-page="home"] .product-item-card:nth-child(n + 4) {
    display: none !important;
  }
}

/* Mobile content pages: one-column, readable, no horizontal drift */
@media (max-width: 760px) {
  .section,
  .page-section,
  .corporate-page-layout,
  .corporate-page-main,
  .service-detail-grid,
  .product-catalog-page,
  .catalog-product-grid,
  .contact-grid,
  .recruitment-grid,
  .jobs-grid,
  .footer-grid,
  .site-footer,
  .site-footer-inner {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .corporate-page-layout,
  .service-detail-grid,
  .product-catalog-page,
  .contact-grid,
  .recruitment-grid,
  .jobs-grid,
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .corporate-page-sidebar {
    display: none !important;
  }

  .page-hero,
  .corporate-page-hero {
    min-height: 0 !important;
    padding: 28px 16px !important;
  }

  .page-hero h1,
  .corporate-page-hero h1,
  .section-title h2,
  .catalog-toolbar h1,
  .quote-form h2 {
    max-width: 100% !important;
    font-size: clamp(1.45rem, 7vw, 2rem) !important;
    line-height: 1.15 !important;
    overflow-wrap: anywhere !important;
  }

  .page-hero p,
  .corporate-page-hero p,
  .section-title p,
  .catalog-toolbar p,
  .quote-form p,
  .content-card p,
  .service-detail-card p {
    max-width: 100% !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    overflow-wrap: anywhere !important;
  }

  .catalog-category-menu {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    overflow: visible !important;
  }

  .catalog-product-grid {
    grid-template-columns: 1fr !important;
  }

  .catalog-product-card h3,
  .job-card h3,
  .service-detail-card h2,
  .content-card h2,
  .content-card h3 {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere !important;
  }

  input,
  select,
  textarea,
  button {
    max-width: 100% !important;
  }

  .form-grid,
  .apply-form-grid,
  .quote-form .form-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile homepage banner: fit artwork exactly and remove extra controls/spacing */
@media (max-width: 760px) {
  body[data-page="home"] .hero-slider-wrap {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  body[data-page="home"] .hero-banner-main {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: var(--hero-banner-ratio, 1870 / 841) !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .hero-slide,
  body[data-page="home"] .hero-slide img {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  body[data-page="home"] .hero-slide img {
    display: block !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: transparent !important;
  }

  body[data-page="home"] .hero-banner-main::before,
  body[data-page="home"] .hero-banner-dots {
    display: none !important;
  }
}

/* Plain content pages used for About and Services after removing top banners */
.plain-page {
  background: #f5f8fb;
}

.plain-page-intro {
  width: min(1180px, calc(100% - 2 * var(--page-x)));
  margin: 0 auto;
  padding: 54px 0 24px;
}

.plain-page-intro h1 {
  max-width: 860px;
  margin: 8px 0 12px;
  color: var(--navy-950);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.plain-page-intro p:not(.section-kicker) {
  max-width: 850px;
  margin: 0;
  color: var(--gray-650);
  font-size: 1.05rem;
  line-height: 1.75;
}

.corporate-page-shell.no-sidebar {
  display: block;
  padding-top: 10px;
}

.corporate-page-shell.no-sidebar .corporate-page-main {
  width: min(1180px, calc(100% - 2 * var(--page-x)));
  margin: 0 auto;
}

.page-lead-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.75fr);
  gap: 28px;
  align-items: start;
  padding: 30px;
  border: 1px solid #d9e3ee;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.page-lead-panel h2 {
  margin: 6px 0 12px;
  color: var(--navy-950);
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.page-lead-panel p {
  margin: 0;
  color: var(--gray-650);
  line-height: 1.75;
}

.compact-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-check-list li {
  padding: 13px 14px;
  color: var(--navy-900);
  font-weight: 700;
  border: 1px solid #d9e3ee;
  border-left: 4px solid var(--green-500);
  border-radius: 10px;
  background: #f8fbff;
}

.compact-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-summary-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  border: 1px solid #d9e3ee;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.055);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.service-summary-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 194, 91, 0.46);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.09);
}

.service-summary-card span,
.service-flow-index {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  border-radius: 12px;
  background: #0b4ca8;
}

.service-summary-card h2 {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--font-heading);
  font-size: 1.18rem;
  line-height: 1.25;
}

.service-summary-card p {
  margin: 0;
  color: var(--gray-650);
  line-height: 1.6;
}

.service-flow-list {
  display: grid;
  gap: 16px;
}

.service-flow-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  padding: 26px;
  border: 1px solid #d9e3ee;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.055);
}

.service-flow-card h2 {
  margin: 4px 0 14px;
  color: var(--navy-950);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.2;
}

@media (max-width: 1080px) {
  .compact-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .plain-page-intro {
    width: min(100% - 28px, 1180px);
    padding: 28px 0 10px;
  }

  .plain-page-intro h1 {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .plain-page-intro p:not(.section-kicker) {
    font-size: 0.98rem;
  }

  .corporate-page-shell.no-sidebar .corporate-page-main {
    width: min(100% - 28px, 1180px);
  }

  .page-lead-panel,
  .compact-service-grid,
  .service-flow-card {
    grid-template-columns: 1fr;
  }

  .page-lead-panel,
  .service-flow-card {
    padding: 18px;
    border-radius: 14px;
  }

  .service-summary-card {
    min-height: 0;
    padding: 18px;
  }

  .service-flow-index {
    width: 40px;
    height: 40px;
  }
}

/* Contact banner: keep the full artwork visible on every viewport */

/* About page redesign */
.about-page {
  position: relative;
  background: #f4f8fc;
  color: var(--navy-950);
}

.about-page::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 620px;
  background: #ffffff;
  pointer-events: none;
}

.about-hero-section,
.about-values-section,
.about-capability-section,
.about-bottom-grid {
  width: min(1180px, calc(100% - 2 * var(--page-x)));
  margin: 0 auto;
}

.about-hero-section {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 48px;
  align-items: center;
  padding: 56px 0 42px;
  background: #ffffff;
}

.about-hero-copy h1 {
  margin: 8px 0 10px;
  color: var(--navy-950);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.about-title-line,
.about-section-title span {
  display: block;
  width: 52px;
  height: 4px;
  margin: 14px 0 24px;
  border-radius: 999px;
  background: var(--green-500);
}

.about-hero-copy p:not(.section-kicker) {
  margin: 0 0 16px;
  color: #4d5f75;
  font-size: 1rem;
  line-height: 1.78;
}

.about-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.about-proof-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
}

.about-proof-item span {
  grid-row: span 2;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: #0b4ca8;
  font-weight: 900;
  border: 1px solid rgba(11, 76, 168, 0.2);
  border-radius: 12px;
  background: #eef6ff;
}

.about-proof-item strong {
  color: var(--navy-950);
  font-weight: 900;
}

.about-proof-item small {
  color: #60728a;
  line-height: 1.35;
}

.about-hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 150px 150px;
  gap: 10px;
}

.about-hero-collage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.about-hero-collage img:nth-child(3) {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.about-values-section {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 42px 0 28px;
}

.about-value-card,
.about-capability-card,
.about-process-panel,
.about-company-panel {
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.about-value-card {
  min-height: 220px;
  padding: 26px 24px;
}

.about-card-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  border-radius: 10px;
  background: #0b4ca8;
}

.about-card-icon.green {
  background: var(--green-500);
}

.about-value-card h2,
.about-capability-card h3 {
  margin: 18px 0 12px;
  color: var(--navy-950);
  font-family: var(--font-heading);
  font-size: 1.16rem;
  line-height: 1.25;
}

.about-value-card p,
.about-value-card li,
.about-capability-card p {
  color: #52657c;
  line-height: 1.65;
}

.about-value-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-value-card li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 999px;
  background: var(--green-500);
  vertical-align: 2px;
}

.about-section-title {
  display: grid;
  justify-items: center;
  text-align: center;
}

.about-section-title h2 {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
  text-transform: uppercase;
}

.about-section-title span {
  margin: 12px auto 26px;
}

.about-capability-section {
  padding: 0 0 36px;
}

.about-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.about-capability-card {
  overflow: hidden;
  padding: 22px;
}

.about-card-top {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.about-card-top span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: #0b4ca8;
  font-weight: 900;
  border-radius: 10px;
  background: #eef6ff;
}

.about-card-top h3 {
  margin: 0 0 10px;
}

.about-capability-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  margin-top: 18px;
  border-radius: 6px;
}

.about-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  padding: 0 0 54px;
}

.about-process-panel,
.about-company-panel {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.about-process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-process-list article,
.about-company-list div {
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #f8fbff;
}

.about-process-list article {
  position: relative;
  padding: 20px 18px 18px 70px;
  min-height: 142px;
}

.about-process-list span,
.about-company-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  border-radius: 999px;
  background: var(--green-500);
}

.about-process-list span {
  position: absolute;
  left: 18px;
  top: 20px;
  width: 38px;
  height: 38px;
}

.about-process-list strong,
.about-company-list strong {
  display: block;
  color: var(--navy-950);
  font-weight: 900;
}

.about-process-list p,
.about-company-list p {
  margin: 8px 0 0;
  color: #52657c;
  line-height: 1.55;
}

.about-company-list {
  display: grid;
  gap: 14px;
}

.about-company-list div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 2px 14px;
  align-items: center;
  padding: 15px;
}

.about-company-list span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  background: #0b4ca8;
}

@media (max-width: 1080px) {
  .about-hero-section {
    grid-template-columns: 1fr;
  }

  .about-values-section,
  .about-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .about-hero-section,
  .about-values-section,
  .about-capability-section,
  .about-bottom-grid {
    width: min(100% - 28px, 1180px);
  }

  .about-hero-section {
    gap: 28px;
    padding: 34px 0 28px;
  }

  .about-hero-collage {
    grid-template-rows: 120px 120px;
    gap: 8px;
  }

  .about-proof-row,
  .about-values-section,
  .about-capability-grid,
  .about-process-list {
    grid-template-columns: 1fr;
  }

  .about-value-card,
  .about-capability-card,
  .about-process-panel,
  .about-company-panel {
    padding: 20px;
  }

  .about-process-list article {
    min-height: 0;
  }
}
body[data-page="contact"] .contact-hero-banner,
body[data-page="contact"] .contact-hero-banner.is-visible {
  width: min(calc(100% - 48px), 1280px) !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 2172 / 724 !important;
  margin: 24px auto 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #f4f8fc !important;
  border-radius: 12px !important;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08) !important;
}

body[data-page="contact"] .contact-hero-banner img,
body[data-page="contact"] .contact-hero-banner.is-visible img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #f4f8fc !important;
  transform: none !important;
}

@media (max-width: 760px) {
  body[data-page="contact"] .contact-hero-banner,
  body[data-page="contact"] .contact-hero-banner.is-visible {
    width: min(calc(100% - 20px), 620px) !important;
    margin-top: 12px !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08) !important;
  }
}

/* Homepage brand block moved into the left column */
body[data-page="home"] .brand-widget {
  padding: 0 14px 20px;
  background: #ffffff;
  border-radius: var(--radius-lg);
}

body[data-page="home"] .brand-widget > h3 {
  display: none;
}

body[data-page="home"] .brand-widget-head {
  margin: 0 -14px 18px;
}

body[data-page="home"] .brand-widget-head h3 {
  margin: 0;
  padding: 14px 16px;
  color: #ffffff;
  background: #0b439c;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

body[data-page="home"] .brand-widget-arrows {
  display: none;
}

body[data-page="home"] .brand-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="home"] .brand-logo-card {
  min-height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 8px;
  background: #ffffff;
  border: 1px solid #d6dce5;
  border-radius: 0;
  color: #0b4ca8;
  text-align: center;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.03);
}

body[data-page="home"] .brand-logo-card strong {
  display: block;
  max-width: 100%;
  font-family: var(--font-heading);
  font-size: clamp(0.78rem, 1vw, 1rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

body[data-page="home"] .brand-logo-card img {
  display: block;
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
}

body[data-page="home"] .brand-logo-card span {
  color: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

body[data-page="home"] .brand-red strong {
  color: #e31925;
  font-size: 0.98rem;
}

body[data-page="home"] .brand-dark strong {
  color: #111827;
  font-size: 0.84rem;
}

body[data-page="home"] .brand-blue strong {
  color: #2c74b8;
}

body[data-page="home"] .brand-cyan strong,
body[data-page="home"] .brand-cyan span {
  color: #04a9df;
}

body[data-page="home"] .brand-sumi strong {
  color: #1594d2;
  font-size: 0.98rem;
}

body[data-page="home"] .brand-cotto strong {
  color: #111827;
  font-size: 1.18rem;
  letter-spacing: 0.03em;
}

body[data-page="home"] .brand-custom-color strong,
body[data-page="home"] .brand-custom-color span {
  color: var(--brand-text-color, #111827);
}

body[data-page="home"] .partners-contact-inner {
  grid-template-columns: minmax(0, 760px) !important;
  justify-content: center;
}

body[data-page="home"] .partners-contact-section {
  padding-top: 44px;
}

@media (max-width: 1024px) {
  body[data-page="home"] .brand-widget {
    display: none;
  }
}

/* Homepage consultation form compact polish */
body[data-page="home"] .partners-contact-section {
  padding: 24px var(--page-x) 46px !important;
  background: #f5f8fb !important;
}

body[data-page="home"] .partners-contact-inner {
  width: min(100%, 620px) !important;
  grid-template-columns: 1fr !important;
}

body[data-page="home"] .partners-contact-card {
  border-radius: 10px !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
}

body[data-page="home"] .partners-contact-form {
  padding: 0 !important;
}

body[data-page="home"] .partners-contact-form .quote-form {
  padding: 22px 24px 24px !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

body[data-page="home"] .partners-contact-form .quote-form:hover {
  transform: none !important;
}

body[data-page="home"] .partners-contact-form .quote-form h2 {
  margin-bottom: 4px;
  font-size: clamp(1.25rem, 1.6vw, 1.55rem) !important;
  letter-spacing: 0;
}

body[data-page="home"] .partners-contact-form .quote-form p {
  margin: 0 0 14px !important;
  font-size: 0.9rem;
}

body[data-page="home"] .partners-contact-form .form-grid {
  gap: 10px !important;
}

body[data-page="home"] .partners-contact-form .quote-form label {
  margin-bottom: 10px !important;
  gap: 5px;
  font-size: 0.86rem;
}

body[data-page="home"] .partners-contact-form .quote-form input,
body[data-page="home"] .partners-contact-form .quote-form select,
body[data-page="home"] .partners-contact-form .quote-form textarea {
  min-height: 40px !important;
  padding: 9px 12px !important;
  font-size: 0.9rem !important;
}

body[data-page="home"] .partners-contact-form .quote-form textarea {
  min-height: 82px !important;
}

body[data-page="home"] .partners-contact-form .quote-form input[type="file"] {
  min-height: 38px !important;
  padding: 8px 10px !important;
}

body[data-page="home"] .partners-contact-form .form-note {
  margin: -2px 0 6px !important;
  font-size: 0.78rem !important;
}

body[data-page="home"] .partners-contact-form .quote-form .button {
  min-height: 42px !important;
  margin-top: 6px !important;
  border-radius: 8px;
}

@media (max-width: 640px) {
  body[data-page="home"] .partners-contact-section {
    padding: 8px 14px 38px !important;
  }

  body[data-page="home"] .partners-contact-form .quote-form {
    padding: 18px 16px !important;
  }
}

body[data-page="home"] .home-inline-contact {
  width: 100% !important;
  margin: -10px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body[data-page="home"] .home-inline-contact .partners-contact-inner {
  width: 100% !important;
  max-width: 720px !important;
  margin: 0 !important;
}

body[data-page="home"] .home-inline-contact .partners-contact-card {
  border: 1px solid #d9e3ee !important;
  box-shadow: 0 10px 24px rgba(10, 33, 58, 0.06) !important;
}

body[data-page="home"] .home-inline-contact .quote-form {
  background: #ffffff !important;
}

/* Final mobile compact pass: smaller type, tighter spacing, calmer layout */
@media (max-width: 760px) {
  body {
    font-size: 14px !important;
    line-height: 1.55 !important;
    padding-top: 66px !important;
  }

  .masthead-split .header-top-inner {
    min-height: 66px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    gap: 8px !important;
  }

  .masthead-split .brand-split {
    gap: 8px !important;
  }

  .masthead-split .brand-logo-split {
    width: 48px !important;
  }

  .masthead-split .brand-name-split {
    max-width: 220px !important;
    font-size: clamp(0.82rem, 3.8vw, 1rem) !important;
    line-height: 1.08 !important;
  }

  .masthead-split .brand-tagline-split,
  .masthead-split .brand-contact-split,
  .masthead-split .header-cta-split {
    display: none !important;
  }

  .masthead-split .menu-toggle-top {
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
  }

  .masthead-split .menu-toggle-top span {
    width: 19px !important;
  }

  .masthead-split .main-nav {
    top: 66px !important;
    left: 10px !important;
    right: 10px !important;
    max-height: calc(100vh - 78px) !important;
  }

  .masthead-split .main-nav a {
    min-height: 42px !important;
    padding: 0 14px !important;
    font-size: 0.84rem !important;
  }

  .plain-page-intro,
  body[data-page="home"] .home-container,
  .b2b-page-shell.no-sidebar .b2b-page-main,
  .partners-contact-section,
  .section,
  .page-section {
    width: min(100% - 24px, 1180px) !important;
  }

  .plain-page-intro {
    padding: 22px 0 8px !important;
  }

  .plain-page-intro h1,
  .page-hero h1,
  .corporate-page-hero h1,
  .catalog-toolbar h1 {
    font-size: clamp(1.45rem, 6.4vw, 1.95rem) !important;
    line-height: 1.12 !important;
  }

  .plain-page-intro p:not(.section-kicker),
  .page-hero p,
  .corporate-page-hero p,
  .section-title p,
  .content-card p,
  .service-flow-card p,
  .service-summary-card p,
  .quote-form p {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
  }

  .section-kicker,
  .hero-kicker {
    font-size: 0.72rem !important;
    letter-spacing: 0.08em !important;
  }

  .section-title h2,
  .page-lead-panel h2,
  .content-card h2,
  .service-flow-card h2,
  .quote-form h2 {
    font-size: clamp(1.18rem, 5.2vw, 1.55rem) !important;
    line-height: 1.18 !important;
  }

  .content-card,
  .why-card,
  .page-lead-panel,
  .service-summary-card,
  .service-flow-card,
  .catalog-product-card,
  .partners-contact-form,
  body[data-page="home"] .product-row-wrap {
    padding: 14px !important;
    border-radius: 12px !important;
  }

  .b2b-card-grid,
  .compact-service-grid,
  .service-flow-list,
  body[data-page="home"] .home-main-content {
    gap: 14px !important;
  }

  body[data-page="home"] .home-container {
    padding: 16px 0 32px !important;
  }

  body[data-page="home"] .product-row-header {
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
  }

  body[data-page="home"] .product-row-header h3 {
    font-size: clamp(0.92rem, 4.2vw, 1.05rem) !important;
  }

  body[data-page="home"] .product-row-grid-scrollable {
    gap: 10px !important;
  }

  body[data-page="home"] .product-item-card-body {
    padding: 8px !important;
  }

  body[data-page="home"] .product-item-card-body h4,
  .catalog-product-card h3,
  .service-summary-card h2,
  .why-card h3,
  .content-card h3 {
    font-size: 0.88rem !important;
    line-height: 1.28 !important;
  }

  .check-list,
  .compact-check-list,
  .info-list {
    gap: 8px !important;
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
  }

  .compact-check-list li {
    padding: 10px 12px !important;
  }

  .service-summary-card {
    gap: 9px !important;
  }

  .service-summary-card span,
  .service-flow-index,
  .feature-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
    font-size: 0.82rem !important;
  }

  input,
  select,
  textarea {
    min-height: 42px !important;
    padding: 9px 11px !important;
    font-size: 0.9rem !important;
  }

  textarea {
    min-height: 96px !important;
  }

  .button,
  .button-primary,
  .product-card-cta-btn,
  .support-btn,
  .catalog-consult-btn {
    min-height: 40px !important;
    padding: 9px 14px !important;
    font-size: 0.86rem !important;
  }

  .floating-contact {
    right: 10px !important;
    bottom: 12px !important;
    gap: 9px !important;
  }

  .floating-btn {
    width: 44px !important;
    height: 44px !important;
  }

  .floating-btn span,
  .floating-btn small {
    font-size: 0.68rem !important;
  }
}

@media (max-width: 420px) {
  .masthead-split .brand-name-split {
    max-width: 190px !important;
    font-size: 0.82rem !important;
  }

  .plain-page-intro h1,
  .page-hero h1,
  .corporate-page-hero h1,
  .catalog-toolbar h1 {
    font-size: 1.42rem !important;
  }

  .section-title h2,
  .page-lead-panel h2,
  .content-card h2,
  .service-flow-card h2,
  .quote-form h2 {
    font-size: 1.16rem !important;
  }
}

/* Product page mobile: smaller, denser product cards */
@media (max-width: 760px) {
  body[data-page="products"] .product-catalog-page {
    width: min(100% - 20px, 620px) !important;
    padding-top: 14px !important;
    padding-bottom: 36px !important;
    gap: 14px !important;
  }

  body[data-page="products"] .product-catalog-sidebar {
    gap: 10px !important;
  }

  body[data-page="products"] .catalog-title {
    min-height: 38px !important;
    padding: 0 12px !important;
    font-size: 0.82rem !important;
  }

  body[data-page="products"] .catalog-menu {
    padding: 8px !important;
  }

  body[data-page="products"] .catalog-category-menu {
    display: flex !important;
    gap: 7px !important;
    padding: 8px !important;
    overflow-x: auto !important;
  }

  body[data-page="products"] .catalog-category-btn {
    min-width: 118px !important;
    min-height: 36px !important;
    padding: 0 10px !important;
    font-size: 0.76rem !important;
    border-radius: 8px !important;
  }

  body[data-page="products"] .catalog-contact-box {
    display: none !important;
  }

  body[data-page="products"] .catalog-toolbar {
    gap: 10px !important;
    padding: 12px !important;
    border-radius: 12px !important;
  }

  body[data-page="products"] .catalog-toolbar h1 {
    font-size: 1.18rem !important;
  }

  body[data-page="products"] .catalog-search {
    min-height: 38px !important;
    padding: 0 10px !important;
  }

  body[data-page="products"] .catalog-search input {
    min-height: 38px !important;
    padding: 7px 0 !important;
    font-size: 0.84rem !important;
  }

  body[data-page="products"] .catalog-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body[data-page="products"] .catalog-product-card {
    padding: 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 18px rgba(10, 33, 58, 0.06) !important;
  }

  body[data-page="products"] .catalog-product-card .product-item-img {
    aspect-ratio: 1 / 0.76 !important;
  }

  body[data-page="products"] .catalog-product-card .product-item-body {
    gap: 7px !important;
    padding: 8px 7px 10px !important;
  }

  body[data-page="products"] .catalog-product-card h3 {
    min-height: 34px !important;
    font-size: 0.76rem !important;
    line-height: 1.22 !important;
  }

  body[data-page="products"] .catalog-product-card .price-contact {
    min-width: 0 !important;
    width: 100% !important;
    min-height: 30px !important;
    padding: 0 8px !important;
    font-size: 0.72rem !important;
    border-radius: 8px !important;
  }
}

@media (max-width: 380px) {
  body[data-page="products"] .catalog-product-grid {
    gap: 8px !important;
  }

  body[data-page="products"] .catalog-product-card h3 {
    font-size: 0.72rem !important;
  }

  body[data-page="products"] .catalog-product-card .price-contact {
    min-height: 28px !important;
    font-size: 0.68rem !important;
  }
}

/* Homepage banner ratio after replacing banner artwork */
body[data-page="home"] .hero-slider-wrap {
  width: min(calc(100% - 80px), 1680px) !important;
  margin: 18px auto 0 !important;
}

body[data-page="home"] .hero-banner-main {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: var(--hero-banner-ratio, 2172 / 724) !important;
  overflow: hidden !important;
  background: #f4f8fc !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08) !important;
}

body[data-page="home"] .hero-slide,
body[data-page="home"] .hero-slide img {
  width: 100% !important;
  height: 100% !important;
}

body[data-page="home"] .hero-slide img {
  display: block !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #f4f8fc !important;
  transform: none !important;
}

@media (max-width: 760px) {
  body[data-page="home"] .hero-slider-wrap {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body[data-page="home"] .hero-banner-main {
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}

/* Final homepage inline contact placement */
body[data-page="home"] .home-main-content .home-inline-contact {
  width: 100% !important;
  max-width: none !important;
  margin: -12px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

body[data-page="home"] .home-main-content .home-inline-contact .partners-contact-inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: block !important;
}

body[data-page="home"] .home-main-content .home-inline-contact .partners-contact-form {
  width: 100% !important;
  padding: 0 !important;
  border-radius: 12px !important;
}

body[data-page="home"] .home-main-content .home-inline-contact .quote-form {
  padding: 20px 22px 22px !important;
}

/* Homepage contact form final compact alignment */
body[data-page="home"] .home-main-content .home-inline-contact {
  margin-top: -18px !important;
}

body[data-page="home"] .home-main-content .home-inline-contact .partners-contact-inner {
  max-width: 680px !important;
}

body[data-page="home"] .home-main-content .home-inline-contact .partners-contact-card {
  border-color: #d9e3ee !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 20px rgba(10, 33, 58, 0.05) !important;
}

body[data-page="home"] .home-main-content .home-inline-contact .quote-form {
  padding: 16px 18px 18px !important;
  border-radius: 10px !important;
}

body[data-page="home"] .home-main-content .home-inline-contact .quote-form h2 {
  margin: 0 0 3px !important;
  font-size: 1.18rem !important;
  line-height: 1.15 !important;
}

body[data-page="home"] .home-main-content .home-inline-contact .quote-form p {
  margin: 0 0 10px !important;
  font-size: 0.84rem !important;
  line-height: 1.45 !important;
}

body[data-page="home"] .home-main-content .home-inline-contact .form-grid {
  gap: 8px !important;
}

body[data-page="home"] .home-main-content .home-inline-contact .quote-form label {
  margin-bottom: 8px !important;
  gap: 4px !important;
  font-size: 0.8rem !important;
}

body[data-page="home"] .home-main-content .home-inline-contact .quote-form input,
body[data-page="home"] .home-main-content .home-inline-contact .quote-form select,
body[data-page="home"] .home-main-content .home-inline-contact .quote-form textarea {
  min-height: 34px !important;
  padding: 7px 10px !important;
  font-size: 0.84rem !important;
  border-radius: 7px !important;
}

body[data-page="home"] .home-main-content .home-inline-contact .quote-form textarea {
  min-height: 62px !important;
}

body[data-page="home"] .home-main-content .home-inline-contact .quote-form input[type="file"] {
  min-height: 34px !important;
  padding: 6px 9px !important;
}

body[data-page="home"] .home-main-content .home-inline-contact .form-note {
  margin: -2px 0 5px !important;
  font-size: 0.74rem !important;
}

body[data-page="home"] .home-main-content .home-inline-contact .quote-form .button {
  min-height: 38px !important;
  margin-top: 4px !important;
  font-size: 0.86rem !important;
  border-radius: 7px !important;
}

@media (max-width: 760px) {
  body[data-page="home"] .home-main-content .home-inline-contact {
    margin-top: -6px !important;
  }

  body[data-page="home"] .home-main-content .home-inline-contact .partners-contact-inner {
    max-width: none !important;
  }

  body[data-page="home"] .home-main-content .home-inline-contact .quote-form {
    padding: 14px !important;
  }
}

/* Center consultation form heading */
body[data-page="home"] .quote-form h2,
body[data-page="contact"] .quote-form h2 {
  text-align: center !important;
}

body[data-page="home"] .quote-form > p,
body[data-page="contact"] .quote-form > p {
  text-align: center !important;
}

/* Final global width pass: reduce excessive left/right whitespace on desktop */
@media (min-width: 761px) {
  :root {
    --page-x: clamp(18px, 2.2vw, 32px);
  }

  .header-top-inner,
  .header-bottom-inner,
  .footer-grid,
  .hero-slider-wrap,
  .home-container,
  .intro-strip,
  .service-grid,
  .content-grid,
  .contact-layout,
  .service-detail-grid,
  .project-page-grid,
  .project-home-grid,
  .product-group-inner,
  .rfq-container-inner,
  .corporate-page-shell,
  .corporate-page-hero > div,
  .plain-page-intro,
  .corporate-page-shell.no-sidebar .corporate-page-main,
  .product-catalog-page,
  body[data-page="contact"] .contact-hero-banner,
  body[data-page="contact"] .contact-hero-banner.is-visible,
  .about-hero-section,
  .about-values-section,
  .about-capability-section,
  .about-bottom-grid {
    width: min(calc(100% - 2 * var(--page-x)), 1560px) !important;
    max-width: none !important;
  }

  .home-container {
    grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  }

  .product-catalog-page {
    grid-template-columns: 300px minmax(0, 1fr);
  }
}

@media (min-width: 1561px) {
  .hero-slider-wrap,
  .home-container,
  .footer-grid,
  .product-catalog-page,
  .corporate-page-shell,
  .plain-page-intro,
  .corporate-page-shell.no-sidebar .corporate-page-main,
  .about-hero-section,
  .about-values-section,
  .about-capability-section,
  .about-bottom-grid {
    width: min(calc(100% - 64px), 1680px) !important;
  }
}

/* Final footer redesign */
.site-footer.compact-footer {
  color: #26364a;
  background: #ffffff !important;
  border-top: 1px solid #dbe3ee;
}

.site-footer.compact-footer .footer-grid {
  width: min(calc(100% - 2 * var(--page-x)), 1560px) !important;
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(150px, 0.75fr) minmax(160px, 0.78fr) minmax(250px, 1fr) minmax(250px, 1.02fr) !important;
  gap: clamp(26px, 3.2vw, 54px) !important;
  align-items: start;
  padding: 42px 0 18px !important;
  margin-inline: auto;
}

.site-footer.compact-footer .footer-logo {
  width: 172px !important;
  height: auto !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.site-footer.compact-footer .footer-about p {
  max-width: 300px;
  margin: 0;
  color: #3d4d61;
  font-size: 0.96rem;
  line-height: 1.65;
}

.footer-socials {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
}

.footer-socials a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #102039;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
  border: 1px solid #9fb0c2;
  border-radius: 999px;
  background: #ffffff;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.footer-socials a span {
  display: inline-flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  line-height: 1;
  white-space: nowrap;
}

.footer-socials .footer-social-facebook {
  color: #1877f2 !important;
  border-color: rgba(24, 119, 242, 0.38);
  background: rgba(24, 119, 242, 0.08);
}

.footer-socials .footer-social-zalo {
  color: #0068ff !important;
  border-color: rgba(0, 104, 255, 0.38);
  background: rgba(0, 104, 255, 0.08);
}

.footer-socials .footer-social-youtube {
  color: #ff0000 !important;
  border-color: rgba(255, 0, 0, 0.34);
  background: rgba(255, 0, 0, 0.08);
}

.footer-socials a:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.14);
}

.footer-socials .footer-social-facebook:hover {
  border-color: #1877f2;
  background: #1877f2;
}

.footer-socials .footer-social-zalo:hover {
  border-color: #0068ff;
  background: #0068ff;
}

.footer-socials .footer-social-youtube:hover {
  border-color: #ff0000;
  background: #ff0000;
}

.site-footer.compact-footer h3 {
  position: relative;
  margin: 0 0 18px !important;
  color: #0b1329 !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

.site-footer.compact-footer h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin-top: 8px;
  background: var(--green-500);
}

.site-footer.compact-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer.compact-footer li {
  position: relative;
  margin: 0 !important;
  padding-left: 18px;
  color: #334155 !important;
  font-size: 0.95rem !important;
  line-height: 1.45;
}

.site-footer.compact-footer li::before {
  content: "\203A";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--green-500);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.site-footer.compact-footer .contact-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding-left: 0;
}

.site-footer.compact-footer .contact-list li::before {
  display: none;
}

.footer-contact-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  color: var(--green-500);
}

.footer-contact-icon svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-map-col .map-embed {
  width: 100% !important;
  aspect-ratio: 2.2 / 1 !important;
  min-height: 118px;
  border: 0 !important;
  border-radius: 7px 7px 0 0 !important;
  box-shadow: none !important;
}

.footer-map-button {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: #17c964 !important;
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
  background: #071525;
  border-radius: 0 0 7px 7px;
}

.footer-map-button:hover {
  color: #ffffff !important;
  background: #0b4ca8;
}

.footer-bottom-bar {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  font-size: 0.86rem;
  background: #071525;
}

@media (max-width: 1100px) {
  .site-footer.compact-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .site-footer.compact-footer .footer-grid {
    grid-template-columns: 1fr !important;
    width: min(calc(100% - 28px), 620px) !important;
    padding: 30px 0 18px !important;
  }

  .site-footer.compact-footer .footer-logo {
    width: 150px !important;
  }

  .footer-bottom-bar {
    padding: 10px 16px;
    text-align: center;
  }
}

/* Homepage news + consultation form side-by-side */
body[data-page="home"] .home-news-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(400px, 0.86fr);
  gap: 20px;
  align-items: start;
}

body[data-page="home"] .home-news-contact-grid .corporate-news-section,
body[data-page="home"] .home-news-contact-grid .home-inline-contact {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

body[data-page="home"] .home-news-contact-grid .corporate-news-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

body[data-page="home"] .home-news-contact-grid .corporate-news-large-body {
  padding: 14px;
}

body[data-page="home"] .home-news-contact-grid .corporate-news-item {
  min-height: 0;
}

body[data-page="home"] .home-news-contact-grid .corporate-news-item img {
  width: 92px;
}

body[data-page="home"] .home-news-contact-grid .home-inline-contact {
  margin: 0 !important;
}

body[data-page="home"] .home-news-contact-grid .home-inline-contact .partners-contact-inner {
  max-width: none !important;
}

body[data-page="home"] .home-news-contact-grid .home-inline-contact .quote-form {
  padding: 15px 16px 16px !important;
}

/* Homepage product category title badge */
body[data-page="home"] .product-row-header h3 {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 7px 14px 7px 16px;
  color: #0b4ca8;
  font-weight: 900;
  border: 1px solid rgba(11, 76, 168, 0.18);
  border-left: 5px solid var(--green-500);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  box-shadow: 0 8px 18px rgba(11, 76, 168, 0.08);
}

body[data-page="home"] .product-row-header {
  align-items: center;
}

@media (max-width: 1280px) {
  body[data-page="home"] .home-news-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .home-news-contact-grid {
    gap: 14px;
  }

  body[data-page="home"] .home-news-contact-grid .corporate-news-grid {
    grid-template-columns: 1fr;
  }

body[data-page="home"] .home-news-contact-grid .corporate-news-item img {
    width: 76px;
  }
}

/* About page final process + company information layout */
body[data-page="about"] .about-bottom-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr) !important;
  gap: 28px !important;
  align-items: stretch;
}

body[data-page="about"] .about-process-panel,
body[data-page="about"] .about-company-panel {
  position: relative;
  overflow: hidden;
  padding: 36px 42px 34px !important;
  border: 1px solid #dfe7f1;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

body[data-page="about"] .about-process-panel::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 120px;
  height: 120px;
  border: 18px solid rgba(11, 76, 168, 0.045);
  border-radius: 50%;
  pointer-events: none;
}

body[data-page="about"] .about-bottom-grid .about-section-title h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.5rem);
  color: #071834;
}

body[data-page="about"] .about-bottom-grid .about-section-title span {
  width: 64px;
  height: 4px;
  margin-bottom: 28px;
}

body[data-page="about"] .about-process-list {
  position: relative;
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 18px;
  padding-left: 86px;
}

body[data-page="about"] .about-process-list::before {
  content: "";
  position: absolute;
  left: 33px;
  top: 28px;
  bottom: 28px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0b4ca8, var(--green-500));
}

body[data-page="about"] .about-process-list article {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 22px;
  gap: 18px;
  align-items: center;
  min-height: 112px;
  padding: 16px 18px 16px 18px !important;
  border: 1px solid #dfe7f1;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

body[data-page="about"] .about-step-number {
  position: absolute !important;
  left: -86px !important;
  top: 50% !important;
  transform: translateY(-50%);
  z-index: 1;
  width: 62px !important;
  height: 62px !important;
  color: #ffffff !important;
  font-size: 1.45rem;
  font-weight: 900;
  border: 5px solid #ffffff;
  outline: 3px solid var(--green-500);
  border-radius: 999px;
  background: radial-gradient(circle at 35% 28%, #0e57b9, #061d52) !important;
  box-shadow: 0 10px 22px rgba(11, 76, 168, 0.22);
}

body[data-page="about"] .about-step-icon,
body[data-page="about"] .about-company-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #159b64;
  background: #e9f8ef;
}

body[data-page="about"] .about-step-icon {
  width: 76px;
  height: 76px;
  border-radius: 10px;
}

body[data-page="about"] .about-step-icon svg,
body[data-page="about"] .about-company-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-page="about"] .about-step-arrow {
  color: var(--green-500);
  font-size: 2rem;
  font-weight: 900;
}

body[data-page="about"] .about-process-list strong,
body[data-page="about"] .about-company-list strong {
  font-size: 1.18rem;
  color: #071834;
}

body[data-page="about"] .about-process-list p,
body[data-page="about"] .about-company-list p {
  margin-top: 6px;
  color: #425875;
  font-size: 1rem;
  line-height: 1.6;
}

body[data-page="about"] .about-company-list {
  display: grid;
  gap: 16px;
}

body[data-page="about"] .about-company-list > div {
  display: grid;
  grid-template-columns: 58px 86px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 92px;
  padding: 14px 20px !important;
  border: 1px solid #dfe7f1;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 9px 22px rgba(15, 23, 42, 0.06);
}

body[data-page="about"] .about-company-number {
  grid-row: auto !important;
  width: 52px !important;
  height: 52px !important;
  color: #ffffff !important;
  font-size: 1.2rem;
  font-weight: 900;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 28%, #0e57b9, #061d52) !important;
  box-shadow: 0 10px 20px rgba(11, 76, 168, 0.2);
}

body[data-page="about"] .about-company-icon {
  width: 64px;
  height: 64px;
  color: #0b4ca8;
  border-radius: 999px;
  background: #edf6ff;
}

body[data-page="about"] .about-company-icon::after {
  content: "";
  width: 1px;
  height: 52px;
  margin-left: 26px;
  background: #cfd9e7;
}

@media (max-width: 1180px) {
  body[data-page="about"] .about-bottom-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px) {
  body[data-page="about"] .about-process-panel,
  body[data-page="about"] .about-company-panel {
    padding: 24px 18px !important;
  }

  body[data-page="about"] .about-process-list {
    padding-left: 0;
  }

  body[data-page="about"] .about-process-list::before {
    display: none;
  }

  body[data-page="about"] .about-process-list article {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  body[data-page="about"] .about-step-number {
    position: static !important;
    transform: none;
    width: 48px !important;
    height: 48px !important;
    font-size: 1rem;
  }

  body[data-page="about"] .about-step-icon {
    display: none;
  }

  body[data-page="about"] .about-step-arrow {
    display: none;
  }

  body[data-page="about"] .about-company-list > div {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
  }

  body[data-page="about"] .about-company-icon {
    display: none;
  }

  body[data-page="about"] .about-company-number {
    width: 42px !important;
    height: 42px !important;
    font-size: 0.92rem;
  }
}

/* About page process/company sizing fix */
body[data-page="about"] .about-bottom-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr) !important;
  gap: 24px !important;
  align-items: start !important;
}

body[data-page="about"] .about-process-panel,
body[data-page="about"] .about-company-panel {
  padding: 28px 30px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}

body[data-page="about"] .about-bottom-grid .about-section-title h2 {
  font-size: clamp(1.45rem, 2vw, 2rem) !important;
  line-height: 1.2 !important;
}

body[data-page="about"] .about-bottom-grid .about-section-title span {
  width: 58px !important;
  height: 3px !important;
  margin: 10px auto 22px !important;
}

body[data-page="about"] .about-process-list {
  gap: 14px !important;
  padding-left: 0 !important;
}

body[data-page="about"] .about-process-list::before {
  left: 27px !important;
  top: 44px !important;
  bottom: 44px !important;
  width: 2px !important;
  background: #0b4ca8 !important;
}

body[data-page="about"] .about-process-list article {
  grid-template-columns: 54px 64px minmax(0, 1fr) 18px !important;
  gap: 14px !important;
  min-height: 92px !important;
  padding: 12px 16px !important;
  border-radius: 10px !important;
}

body[data-page="about"] .about-step-number {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  width: 52px !important;
  height: 52px !important;
  font-size: 1.1rem !important;
  border: 4px solid #ffffff !important;
  outline: 2px solid var(--green-500) !important;
}

body[data-page="about"] .about-step-icon {
  width: 58px !important;
  height: 58px !important;
  border-radius: 10px !important;
}

body[data-page="about"] .about-step-icon svg,
body[data-page="about"] .about-company-icon svg {
  width: 32px !important;
  height: 32px !important;
}

body[data-page="about"] .about-step-arrow {
  font-size: 1.55rem !important;
}

body[data-page="about"] .about-process-list strong,
body[data-page="about"] .about-company-list strong {
  font-size: 1rem !important;
  line-height: 1.3 !important;
}

body[data-page="about"] .about-process-list p,
body[data-page="about"] .about-company-list p {
  margin-top: 4px !important;
  font-size: 0.9rem !important;
  line-height: 1.45 !important;
}

body[data-page="about"] .about-company-list {
  gap: 12px !important;
}

body[data-page="about"] .about-company-list > div {
  grid-template-columns: 48px 56px minmax(0, 1fr) !important;
  gap: 14px !important;
  min-height: 76px !important;
  padding: 12px 16px !important;
  border-radius: 10px !important;
}

body[data-page="about"] .about-company-number {
  width: 44px !important;
  height: 44px !important;
  font-size: 0.95rem !important;
}

body[data-page="about"] .about-company-icon {
  width: 50px !important;
  height: 50px !important;
}

body[data-page="about"] .about-company-icon::after {
  display: none !important;
}

@media (max-width: 1180px) {
  body[data-page="about"] .about-bottom-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px) {
  body[data-page="about"] .about-process-panel,
  body[data-page="about"] .about-company-panel {
    padding: 20px 14px !important;
  }

  body[data-page="about"] .about-process-list::before {
    display: none !important;
  }

  body[data-page="about"] .about-process-list article {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  body[data-page="about"] .about-step-number {
    width: 42px !important;
    height: 42px !important;
    font-size: 0.86rem !important;
  }

  body[data-page="about"] .about-step-icon,
  body[data-page="about"] .about-step-arrow {
    display: none !important;
  }

  body[data-page="about"] .about-company-list > div {
    grid-template-columns: 42px minmax(0, 1fr) !important;
  }

  body[data-page="about"] .about-company-icon {
    display: none !important;
  }
}

/* About page process/company hard reset after legacy span rules */
body[data-page="about"] .about-process-list article > span,
body[data-page="about"] .about-company-list > div > span {
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  grid-row: auto !important;
}

body[data-page="about"] .about-process-list article {
  grid-template-columns: 50px 58px minmax(0, 1fr) 16px !important;
  gap: 12px !important;
  align-items: center !important;
  min-height: 88px !important;
}

body[data-page="about"] .about-step-number {
  display: inline-flex !important;
  width: 46px !important;
  height: 46px !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  line-height: 1 !important;
}

body[data-page="about"] .about-step-icon {
  display: inline-flex !important;
  width: 52px !important;
  height: 52px !important;
  align-items: center !important;
  justify-content: center !important;
}

body[data-page="about"] .about-step-arrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 16px !important;
  height: 28px !important;
  color: var(--green-500) !important;
  background: transparent !important;
}

body[data-page="about"] .about-process-list article > div,
body[data-page="about"] .about-company-list > div > div {
  min-width: 0 !important;
}

body[data-page="about"] .about-process-list strong,
body[data-page="about"] .about-company-list strong {
  display: block !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

body[data-page="about"] .about-process-list p,
body[data-page="about"] .about-company-list p {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

body[data-page="about"] .about-process-list::before {
  left: 23px !important;
}

body[data-page="about"] .about-company-list > div {
  grid-template-columns: 44px 54px minmax(0, 1fr) !important;
  align-items: center !important;
}

body[data-page="about"] .about-company-number {
  display: inline-flex !important;
  width: 40px !important;
  height: 40px !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.86rem !important;
}

body[data-page="about"] .about-company-icon {
  display: inline-flex !important;
  width: 48px !important;
  height: 48px !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 700px) {
  body[data-page="about"] .about-process-list article {
    grid-template-columns: 42px minmax(0, 1fr) !important;
  }

  body[data-page="about"] .about-step-icon,
  body[data-page="about"] .about-step-arrow,
  body[data-page="about"] .about-company-icon {
    display: none !important;
  }

  body[data-page="about"] .about-company-list > div {
    grid-template-columns: 40px minmax(0, 1fr) !important;
  }
}

/* Smooth page-to-page loading: reserve injected component space */
html {
  overflow-y: scroll;
}

#header-container:not(.masthead-split) {
  min-height: 195px;
  background: #ffffff;
  border-top: 5px solid #1f2933;
}

#footer-container:empty {
  display: block;
  min-height: 320px;
  background: #ffffff;
  border-top: 1px solid #dbe3ee;
}

body.animations-ready .reveal-fade-up {
  transform: translateY(12px);
  transition-duration: 0.36s;
}

body.animations-ready .reveal-fade-up.is-visible {
  transform: translateY(0);
}

@media (max-width: 920px) {
  #header-container:not(.masthead-split) {
    min-height: 66px;
    border-top-width: 0;
  }

  #footer-container:empty {
    min-height: 520px;
  }
}

/* Homepage stability: prevent first-load jumps while shared JS/images settle */
body[data-page="home"] .hero-slider-wrap {
  width: min(calc(100% - 80px), 1680px) !important;
  margin: 18px auto 0 !important;
}

body[data-page="home"] .hero-banner-main {
  aspect-ratio: 2172 / 724 !important;
  height: auto !important;
  min-height: 0 !important;
  contain: layout paint;
}

body[data-page="home"] .hero-slide,
body[data-page="home"] .hero-slide img {
  width: 100% !important;
  height: 100% !important;
}

body[data-page="home"] .hero-slide img {
  display: block !important;
  object-fit: contain !important;
  object-position: center center !important;
}

body[data-page="home"] .reveal-fade-up {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

@media (max-width: 920px) {
  body[data-page="home"] .hero-slider-wrap {
    width: 100% !important;
    margin: 0 !important;
  }
}

/* Homepage header stability: keep the top block from flashing or stuttering */
body[data-page="home"] .masthead-split {
  transition: box-shadow 0.18s ease !important;
  will-change: auto !important;
}

.masthead-split .brand-logo-split {
  width: clamp(132px, 8.8vw, 172px) !important;
  max-height: 98px !important;
}

@media (max-width: 920px) {
  .masthead-split .brand-logo-split {
    width: 70px !important;
    max-height: 54px !important;
  }
}

@media (max-width: 560px) {
  .masthead-split .brand-logo-split {
    width: 58px !important;
    max-height: 46px !important;
  }
}

/* About page company information: keep labels and values readable */
body[data-page="about"] .about-company-list > div {
  grid-template-columns: 54px minmax(0, 1fr) !important;
  gap: 14px !important;
}

body[data-page="about"] .about-company-number {
  display: none !important;
}

body[data-page="about"] .about-company-list > div > div {
  display: grid !important;
  grid-template-columns: minmax(132px, 168px) minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 22px !important;
  min-width: 0 !important;
}

body[data-page="about"] .about-company-list strong {
  margin: 0 !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  line-height: 1.28 !important;
}

body[data-page="about"] .about-company-list p {
  margin: 0 !important;
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 1180px) {
  body[data-page="about"] .about-company-list > div > div {
    grid-template-columns: 1fr !important;
    row-gap: 4px !important;
  }

  body[data-page="about"] .about-company-list p {
    margin-top: 2px !important;
  }
}

/* Services page redesign */
body[data-page="services"] .services-redesign {
  padding-bottom: 0;
  background: #f3f7fb;
}

.services-hero-panel,
.services-page-shell {
  width: min(calc(100% - 2 * var(--page-x)), 1280px);
  margin-inline: auto;
}

.services-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  margin-top: 28px;
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid #dbe7f3;
  border-radius: 12px;
  background:
    radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.12), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f5f9ff 58%, #edf5ff 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.services-hero-copy h1,
.services-section-heading h2,
.services-detail-content h2,
.services-cta-band h2 {
  margin: 0;
  color: #071834;
  font-family: var(--font-heading);
  letter-spacing: 0;
}

.services-hero-copy h1 {
  max-width: 720px;
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
}

.services-hero-copy > p:not(.section-kicker) {
  max-width: 660px;
  margin: 18px 0 0;
  color: #425875;
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.72;
}

.services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.services-hero-image {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #071834;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
}

.services-hero-image img,
.services-card img,
.services-detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-page-shell {
  display: grid;
  gap: 28px;
  padding: 34px 0 58px;
}

.services-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.services-section-heading h2 {
  max-width: 780px;
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  line-height: 1.12;
}

.services-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.services-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 12px;
  min-height: 100%;
  padding: 12px 12px 20px;
  border: 1px solid #dbe7f3;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.services-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.services-card img {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
}

.services-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  border-radius: 10px;
  background: linear-gradient(135deg, #0b4ca8, #073475);
  box-shadow: 0 10px 18px rgba(11, 76, 168, 0.22);
}

.services-card h2 {
  margin: 0;
  color: #071834;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  line-height: 1.25;
}

.services-card p {
  margin: 0;
  color: #52657c;
  font-size: 0.94rem;
  line-height: 1.55;
}

.services-detail-list {
  display: grid;
  gap: 22px;
}

.services-detail-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(22px, 3.2vw, 42px);
  align-items: center;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid #dbe7f3;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.services-detail-card.is-reversed .services-detail-media {
  order: 2;
}

.services-detail-media {
  aspect-ratio: 16 / 11;
  border-radius: 10px;
  overflow: hidden;
  background: #071834;
}

.services-detail-content h2 {
  margin-top: 8px;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.16;
}

.services-detail-content > p:not(.section-kicker) {
  margin: 14px 0 18px;
  color: #425875;
  line-height: 1.68;
}

.services-detail-content .check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0;
}

.services-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 3.2vw, 34px);
  border-radius: 12px;
  background: linear-gradient(135deg, #082c63 0%, #0b4ca8 62%, #087f66 100%);
  box-shadow: 0 18px 38px rgba(11, 76, 168, 0.22);
}

.services-cta-band .section-kicker,
.services-cta-band h2 {
  color: #ffffff;
}

.services-cta-band .section-kicker::after {
  background: rgba(255, 255, 255, 0.8);
}

.services-cta-band h2 {
  max-width: 760px;
  margin-top: 8px;
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  line-height: 1.18;
}

@media (max-width: 1100px) {
  .services-hero-panel,
  .services-detail-card {
    grid-template-columns: 1fr;
  }

  .services-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-detail-card.is-reversed .services-detail-media {
    order: 0;
  }
}

@media (max-width: 720px) {
  .services-hero-panel,
  .services-page-shell {
    width: min(calc(100% - 24px), 1280px);
  }

  .services-hero-panel {
    margin-top: 18px;
    padding: 18px;
    border-radius: 10px;
  }

  .services-hero-actions,
  .services-section-heading,
  .services-cta-band {
    align-items: stretch;
    flex-direction: column;
  }

  .services-card-grid,
  .services-detail-content .check-list {
    grid-template-columns: 1fr;
  }

  .services-detail-card {
    padding: 16px;
    border-radius: 10px;
  }
}

/* Compact services page: horizontal service cards with consulting CTA */
body[data-page="services"] .services-compact-page {
  background: #f3f7fb;
}

body[data-page="services"] .services-compact-page .services-page-shell {
  width: min(calc(100% - 52px), 1480px);
  gap: 30px;
  padding: 34px 0 54px;
}

.services-compact-heading {
  display: block;
}

.services-compact-heading h1 {
  margin: 8px 0 0;
  color: #071834;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.2vw, 3.1rem);
  line-height: 1.08;
}

.services-horizontal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

.services-horizontal-card {
  display: flex !important;
  min-height: 100%;
  padding: 0 0 24px !important;
  flex-direction: column;
  gap: 0 !important;
  border-radius: 10px !important;
  overflow: hidden;
  background: #ffffff;
}

.services-horizontal-card > img,
.services-horizontal-card > span {
  display: none !important;
}

.services-card-image {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: #071834;
}

.services-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 52, 0.08), rgba(7, 24, 52, 0.28));
  pointer-events: none;
}

.services-card-image span {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 900;
  border-radius: 999px;
  background: linear-gradient(135deg, #16b763, #06924f);
  box-shadow: 0 10px 20px rgba(6, 146, 79, 0.28);
}

.services-card-icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  margin: -32px 0 0 24px;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 900;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: #071834;
  box-shadow: 0 14px 28px rgba(7, 24, 52, 0.26);
  z-index: 2;
}

.services-horizontal-card h2 {
  margin: 22px 24px 0 !important;
  color: #071834;
  font-size: clamp(1.08rem, 1.45vw, 1.45rem) !important;
  line-height: 1.18 !important;
  text-transform: uppercase;
}

.services-horizontal-card p {
  margin: 16px 24px 0 !important;
  color: #52657c;
  font-size: 0.96rem !important;
  line-height: 1.7 !important;
}

.services-horizontal-card ul {
  display: grid;
  gap: 12px;
  margin: 22px 24px 0;
  padding: 0;
  list-style: none;
}

.services-horizontal-card ul:last-child {
  margin-bottom: 0;
}

.services-horizontal-card li {
  position: relative;
  min-height: 22px;
  padding-left: 28px;
  color: #24364d;
  font-size: 0.95rem;
  line-height: 1.5;
}

.services-horizontal-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  display: inline-flex;
  width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  border-radius: 999px;
  background: #13a865;
}

.services-horizontal-card > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: auto 24px 0;
  padding-top: 24px;
  color: #0ba35f;
  font-weight: 900;
  text-transform: uppercase;
}

.services-horizontal-card > a span {
  transition: transform 0.2s ease;
}

.services-horizontal-card > a:hover span {
  transform: translateX(4px);
}

body[data-page="services"] .services-compact-page .services-cta-band {
  margin-top: 0;
  padding: clamp(26px, 3.8vw, 48px);
  border-radius: 10px;
}

body[data-page="services"] .services-compact-page .services-cta-band .button {
  min-width: 178px;
  justify-content: center;
  border-color: #10b981;
  background: #10b981;
  color: #ffffff !important;
}

@media (max-width: 1180px) {
  .services-horizontal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  body[data-page="services"] .services-compact-page .services-page-shell {
    width: min(calc(100% - 24px), 1480px);
    padding-top: 22px;
  }

  .services-horizontal-grid {
    grid-template-columns: 1fr !important;
  }

  .services-horizontal-card h2,
  .services-horizontal-card p,
  .services-horizontal-card ul,
  .services-horizontal-card > a {
    margin-left: 18px !important;
    margin-right: 18px !important;
  }

  .services-card-icon {
    margin-left: 18px;
  }
}

/* About value cards: move headings closer to the top */
body[data-page="about"] .about-value-card {
  display: flex !important;
  min-height: 210px !important;
  padding: 18px 24px 24px !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

body[data-page="about"] .about-value-top,
body[data-page="about"] .about-card-top {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: center !important;
}

body[data-page="about"] .about-card-icon,
body[data-page="about"] .about-card-top span {
  flex: 0 0 auto !important;
}

body[data-page="about"] .about-value-card h2 {
  margin: 0 !important;
}

body[data-page="about"] .about-card-top h3 {
  margin: 0 !important;
  align-self: center !important;
  line-height: 1.22 !important;
}

body[data-page="about"] .about-value-card p,
body[data-page="about"] .about-value-card ul {
  margin-top: 18px !important;
}

/* MOXON stability pass - shared responsive polish, appended to win over older overrides. */
.masthead-split {
  isolation: isolate;
}

.masthead-split .header-top-inner,
.masthead-split .header-bottom-inner,
.home-container,
.footer-grid {
  max-width: 1680px;
}

.masthead-split .main-nav a {
  white-space: nowrap;
}

body[data-page="home"] .hero-slider-wrap {
  max-width: 1680px;
}

body[data-page="home"] .hero-slide img,
body[data-page="contact"] .contact-hero-banner img,
body[data-page="contact"] .contact-hero-banner.is-visible img {
  max-width: 100%;
}

.sidebar-widget,
.product-item-card,
.product-card,
.services-horizontal-card,
.footer-grid,
.quote-card,
.contact-card,
.recruitment-form-card {
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .home-container {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: 1.15fr 0.8fr 0.8fr 1.1fr minmax(220px, 0.9fr);
    gap: 26px;
  }
}

@media (max-width: 920px) {
  html {
    scroll-padding-top: 86px;
  }

  body {
    padding-top: 86px;
  }

  #header-container.masthead-split {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12) !important;
  }

  .masthead-split,
  .masthead-split.is-scrolled {
    transform: none !important;
  }

  .masthead-split .header-top {
    min-height: 86px !important;
    background: #ffffff !important;
  }

  .masthead-split .header-top-inner {
    width: 100% !important;
    min-height: 86px !important;
    padding: 10px 14px !important;
  }

  .masthead-split .brand-split {
    min-width: 0 !important;
    gap: 10px !important;
  }

  .masthead-split .brand-logo-split {
    width: 58px !important;
    height: 46px !important;
    object-fit: contain !important;
    flex: 0 0 auto !important;
  }

  .masthead-split .brand-info-split {
    min-width: 0 !important;
  }

  .masthead-split .brand-name-split {
    max-width: 210px !important;
    color: #0d4fa8 !important;
    font-size: clamp(1rem, 4.6vw, 1.35rem) !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
  }

  .masthead-split .brand-tagline-split,
  .masthead-split .brand-contact-split,
  .masthead-split .header-cta-split {
    display: none !important;
  }

  .masthead-split .menu-toggle-top {
    display: inline-flex !important;
    width: 46px !important;
    height: 46px !important;
    margin-left: auto !important;
    border-radius: 10px !important;
    background: #0d4fa8 !important;
    box-shadow: 0 8px 16px rgba(13, 79, 168, 0.2) !important;
  }

  .masthead-split .menu-toggle-top span {
    width: 20px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
  }

  .masthead-split .header-bottom {
    height: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: transparent !important;
  }

  .masthead-split .header-bottom-inner {
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .masthead-split .header-bottom .menu-toggle {
    display: none !important;
  }

  .masthead-split .main-nav {
    position: fixed !important;
    top: 92px !important;
    left: 12px !important;
    right: 12px !important;
    z-index: 1001 !important;
    display: none !important;
    max-height: calc(100vh - 112px) !important;
    padding: 8px !important;
    overflow-y: auto !important;
    grid-template-columns: 1fr !important;
    gap: 4px !important;
    border: 1px solid rgba(13, 79, 168, 0.14) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2) !important;
  }

  .masthead-split .main-nav.is-open {
    display: grid !important;
  }

  .masthead-split .main-nav a {
    display: flex !important;
    min-height: 42px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 10px 14px !important;
    color: #0b2345 !important;
    font-size: 0.95rem !important;
    border-radius: 8px !important;
  }

  .masthead-split .main-nav a.is-active {
    color: #0b8f55 !important;
    background: #ecfdf5 !important;
  }

  .masthead-split .main-nav a::before,
  .masthead-split .main-nav a::after {
    display: none !important;
  }

  .home-container {
    grid-template-columns: 1fr !important;
    width: min(calc(100% - 24px), 1680px) !important;
    padding-top: 22px !important;
  }

  body[data-page="home"] .home-sidebar .sidebar-widget:not(:first-child) {
    display: none !important;
  }

  body[data-page="home"] .home-sidebar {
    order: 2;
  }

  body[data-page="home"] .home-main-content {
    order: 1;
    min-width: 0;
  }

  .product-search-controls,
  .quote-form-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    width: min(calc(100% - 28px), 1680px) !important;
    padding: 28px 0 !important;
    gap: 20px !important;
  }

  .footer-about,
  .footer-col {
    text-align: left !important;
  }

  .footer-logo {
    max-width: 140px !important;
  }

  .floating-contact {
    right: 12px !important;
    bottom: 16px !important;
    top: auto !important;
    transform: none !important;
    gap: 10px !important;
  }

  .floating-contact a {
    width: 52px !important;
    height: 52px !important;
    border-radius: 999px !important;
  }

  .floating-contact a span:not(.floating-contact-icon) {
    display: none !important;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  body[data-page="home"] .hero-slider-wrap {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  body[data-page="home"] .hero-banner-main {
    width: 100% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
  }

  body[data-page="home"] .hero-slide img {
    object-fit: contain !important;
    background: #ffffff !important;
  }

  body[data-page="home"] .hero-banner-main::before {
    display: none !important;
  }

  .hero-banner-dots {
    bottom: 8px !important;
    padding: 4px 8px !important;
    gap: 7px !important;
    transform: none !important;
  }

  .hero-banner-dot {
    width: 8px !important;
    height: 8px !important;
  }

  .hero-banner-dot.active {
    width: 24px !important;
  }

  .section-heading h2,
  .product-row-header h3,
  .services-compact-heading h1,
  .plain-page-intro h1 {
    font-size: clamp(1.45rem, 7vw, 2rem) !important;
    line-height: 1.12 !important;
  }

  .product-row-grid-scrollable {
    gap: 12px !important;
    padding-bottom: 8px !important;
  }

  .product-item-card {
    min-width: 174px !important;
    border-radius: 10px !important;
  }

  .product-item-card-img {
    aspect-ratio: 4 / 3 !important;
  }

  .product-item-card-body {
    padding: 12px !important;
  }

  .product-item-card h4 {
    min-height: 0 !important;
    font-size: 0.9rem !important;
    line-height: 1.25 !important;
  }

  body[data-page="products"] .product-catalog-page {
    width: min(calc(100% - 20px), 1680px) !important;
    gap: 14px !important;
  }

  body[data-page="products"] .product-catalog-sidebar {
    position: static !important;
  }

  body[data-page="products"] .catalog-category-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  body[data-page="products"] .catalog-category-btn {
    min-height: 42px !important;
    padding: 9px 10px !important;
    font-size: 0.82rem !important;
  }

  body[data-page="products"] .product-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body[data-page="products"] .product-card {
    border-radius: 10px !important;
  }

  body[data-page="products"] .product-card-media {
    aspect-ratio: 1.25 / 1 !important;
  }

  body[data-page="products"] .product-card-body {
    padding: 10px !important;
  }

  body[data-page="products"] .product-card h3 {
    font-size: 0.86rem !important;
    line-height: 1.25 !important;
  }

  .quote-card,
  .contact-card,
  .recruitment-form-card,
  .services-horizontal-card {
    border-radius: 10px !important;
  }

  .quote-card,
  .contact-card,
  .recruitment-form-card {
    padding: 18px !important;
  }

  body[data-page="contact"] .contact-hero-banner,
  body[data-page="contact"] .contact-hero-banner.is-visible {
    width: min(calc(100% - 20px), 1280px) !important;
    margin: 14px auto 0 !important;
    border-radius: 10px !important;
    aspect-ratio: 2172 / 724 !important;
  }

  body[data-page="contact"] .contact-hero-banner img,
  body[data-page="contact"] .contact-hero-banner.is-visible img {
    object-fit: contain !important;
    background: #ffffff !important;
  }
}

@media (max-width: 420px) {
  .masthead-split .brand-name-split {
    max-width: 190px !important;
    font-size: 1.05rem !important;
  }

  .masthead-split .brand-logo-split {
    width: 52px !important;
  }

  body[data-page="products"] .product-catalog-grid {
    gap: 10px !important;
  }

  body[data-page="products"] .product-card h3 {
    font-size: 0.8rem !important;
  }

  .floating-contact a {
    width: 48px !important;
    height: 48px !important;
  }
}

/* Mobile fixes after visual review: remove banner gap and keep company info readable. */
@media (max-width: 760px) {
  body[data-page="home"] main {
    padding-top: 0 !important;
  }

  body[data-page="home"] .hero-slider-wrap {
    display: block !important;
    line-height: 0 !important;
    background: #ffffff !important;
  }

  body[data-page="home"] .hero-banner-main {
    display: block !important;
    margin-top: 0 !important;
    border-top: 0 !important;
    line-height: 0 !important;
  }

  body[data-page="home"] .hero-slide,
  body[data-page="home"] .hero-slide.active {
    inset: 0 !important;
    line-height: 0 !important;
  }

  body[data-page="home"] .hero-slide img {
    vertical-align: top !important;
  }

  body[data-page="about"] .about-company-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body[data-page="about"] .about-company-list > div {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    column-gap: 12px !important;
    align-items: start !important;
    min-height: 0 !important;
    padding: 14px !important;
  }

  body[data-page="about"] .about-company-number {
    display: none !important;
  }

  body[data-page="about"] .about-company-icon {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    margin: 0 !important;
  }

  body[data-page="about"] .about-company-list > div > div {
    grid-column: 2 !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 0 !important;
  }

  body[data-page="about"] .about-company-list strong,
  body[data-page="about"] .about-company-list p {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    text-align: left !important;
  }

  body[data-page="about"] .about-company-list strong {
    margin-bottom: 4px !important;
    font-size: 0.94rem !important;
    line-height: 1.25 !important;
  }

  body[data-page="about"] .about-company-list p {
    margin: 0 !important;
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
  }
}

@media (max-width: 420px) {
  body[data-page="about"] .about-company-list > div {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    padding: 12px !important;
  }

  body[data-page="about"] .about-company-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
  }
}

/* Mobile hotfix: keep home banner below fixed header and restore Zalo quick button. */
@media (max-width: 920px) {
  body[data-page="home"] main {
    padding-top: 0 !important;
  }

  body[data-page="home"] .hero-slider-wrap {
    margin-top: 0 !important;
  }

  .floating-contact .floating-zalo .zalo-badge-text {
    display: inline-flex !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 0.82rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    border-radius: 999px !important;
    background: #0b82ff !important;
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.72) !important;
  }

  .floating-contact .floating-zalo {
    overflow: visible !important;
    background: #0b82ff !important;
  }

  .floating-contact .floating-zalo .ripple-ring {
    display: block !important;
  }
}

@media (max-width: 420px) {
  body[data-page="home"] main {
    padding-top: 0 !important;
  }
}

/* Products page performance hotfix: reduce scroll repaint on dense catalog grids. */
body[data-page="products"] .product-catalog-page,
body[data-page="products"] .product-catalog-main,
body[data-page="products"] .catalog-product-grid {
  contain: layout paint;
}

body[data-page="products"] .catalog-product-card {
  content-visibility: auto;
  contain-intrinsic-size: 280px 260px;
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease !important;
  will-change: auto !important;
}

body[data-page="products"] .catalog-product-card:hover,
body[data-page="products"] .product-item:hover,
body[data-page="products"] .product-card:hover {
  transform: none !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08) !important;
}

body[data-page="products"] .catalog-product-card img,
body[data-page="products"] .product-item-img img {
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
  backface-visibility: hidden;
}

body[data-page="products"] .catalog-product-card.is-hidden {
  display: none !important;
}

body[data-page="products"] .modal {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

@media (max-width: 920px) {
  body[data-page="products"] .masthead-split,
  body[data-page="products"] .masthead {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

.catalog-product-meta,
.catalog-product-desc,
.product-item-card-desc {
  display: none;
}

/* Mobile polish pass: keep public content complete and easier to scan. */
@media (max-width: 760px) {
  body {
    padding-bottom: 78px;
  }

  body[data-page="home"] .home-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    width: min(calc(100% - 24px), 640px) !important;
    padding: 18px 0 42px !important;
  }

  body[data-page="home"] .home-main-content,
  body[data-page="home"] .home-sidebar {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body[data-page="home"] .home-main-content {
    order: 1;
    gap: 18px !important;
  }

  body[data-page="home"] .home-sidebar {
    order: 2;
    gap: 14px !important;
  }

  body[data-page="home"] .home-sidebar .sidebar-widget,
  body[data-page="home"] .home-sidebar .sidebar-widget:not(:first-child),
  body[data-page="home"] .corporate-news-section {
    display: block !important;
  }

  body[data-page="home"] .product-search-bar,
  body[data-page="home"] .home-sidebar .sidebar-widget:nth-child(1),
  body[data-page="home"] .home-sidebar .sidebar-widget:nth-child(2),
  body[data-page="home"] .home-sidebar .sidebar-widget:nth-child(3) {
    display: none !important;
  }

  body[data-page="home"] .home-sidebar .video-widget {
    display: none !important;
  }

  body[data-page="home"] .sidebar-widget {
    margin: 0 !important;
    padding: 14px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06) !important;
  }

  body[data-page="home"] .sidebar-widget h3 {
    margin-bottom: 10px !important;
    font-size: 0.95rem !important;
    line-height: 1.25 !important;
  }

  body[data-page="home"] .product-search-bar {
    margin: 0 !important;
    padding: 14px !important;
    border-radius: 12px !important;
  }

  body[data-page="home"] .product-search-controls {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body[data-page="home"] .product-row-wrap {
    padding: 14px !important;
  }

  body[data-page="home"] .product-row-grid-scrollable {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    padding: 2px 2px 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body[data-page="home"] .product-item-card,
  body[data-page="home"] .product-item-card:nth-child(n + 3),
  body[data-page="home"] .product-item-card:nth-child(n + 4) {
    display: flex !important;
  }

  body[data-page="home"] .product-item-card:nth-child(n + 5) {
    display: flex !important;
  }

  body[data-page="home"] .product-item-card {
    width: 206px !important;
    min-width: 206px !important;
    max-width: 206px !important;
    scroll-snap-align: start !important;
    flex-direction: column !important;
  }

  body[data-page="home"] .product-item-card-body {
    display: flex !important;
    min-height: 132px !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .product-item-card-desc {
    display: -webkit-box;
    margin: 0 !important;
    color: #52657c;
    font-size: 0.78rem;
    line-height: 1.4;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body[data-page="home"] .product-card-cta-btn {
    margin-top: auto !important;
  }

  body[data-page="home"] .home-news-contact-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  body[data-page="home"] .corporate-news-section {
    padding: 14px !important;
    border: 1px solid #d9e3ee !important;
    border-radius: 12px !important;
    background: #ffffff !important;
  }

  body[data-page="home"] .home-news-contact-grid .corporate-news-item,
  .news-page-item {
    display: grid !important;
    grid-template-columns: 84px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: start !important;
    padding: 12px !important;
    border-radius: 10px !important;
  }

  body[data-page="home"] .home-news-contact-grid .corporate-news-item img,
  .news-page-item img {
    width: 84px !important;
    height: 64px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
  }

  body[data-page="home"] .corporate-news-item-body h4,
  .news-page-item .corporate-news-item-body h4 {
    font-size: 0.92rem !important;
    line-height: 1.32 !important;
  }

  body[data-page="home"] .corporate-news-item-body p,
  .news-page-item .corporate-news-item-body p {
    display: -webkit-box !important;
    margin-top: 4px !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  body[data-page="products"] .catalog-product-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body[data-page="products"] .catalog-product-card {
    display: grid !important;
    grid-template-columns: 122px minmax(0, 1fr) !important;
    contain-intrinsic-size: 132px !important;
    min-height: 132px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body[data-page="products"] .catalog-product-card .product-item-img {
    height: 100% !important;
    min-height: 132px !important;
    aspect-ratio: auto !important;
  }

  body[data-page="products"] .catalog-product-card .product-item-body {
    align-content: start !important;
    justify-items: start !important;
    gap: 6px !important;
    padding: 12px !important;
    text-align: left !important;
  }

  .catalog-product-meta {
    display: inline-flex;
    max-width: 100%;
    color: #0b8f55;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
  }

  body[data-page="products"] .catalog-product-card h3 {
    min-height: 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }

  .catalog-product-desc {
    display: -webkit-box;
    margin: 0 !important;
    color: #52657c;
    font-size: 0.8rem;
    line-height: 1.42;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body[data-page="products"] .catalog-product-card .price-contact {
    width: auto !important;
    min-width: 96px !important;
    margin-top: 4px !important;
    padding: 0 13px !important;
  }

  .floating-contact {
    right: 12px !important;
    bottom: max(18px, env(safe-area-inset-bottom)) !important;
    gap: 8px !important;
  }

  .floating-contact a {
    width: 46px !important;
    height: 46px !important;
  }

  .site-footer.compact-footer .contact-list li {
    align-items: flex-start !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 420px) {
  body[data-page="home"] .product-row-grid-scrollable {
    display: flex !important;
    grid-template-columns: none !important;
  }

  body[data-page="home"] .product-item-card:nth-child(n + 5) {
    display: flex !important;
  }

  body[data-page="home"] .product-item-card {
    width: 190px !important;
    min-width: 190px !important;
    max-width: 190px !important;
  }

  body[data-page="products"] .catalog-product-card {
    grid-template-columns: 104px minmax(0, 1fr) !important;
  }

  body[data-page="products"] .catalog-product-card .product-item-img {
    min-height: 126px !important;
  }

  body[data-page="products"] .catalog-product-card h3 {
    font-size: 0.88rem !important;
  }

  .catalog-product-desc {
    -webkit-line-clamp: 2;
  }
}

/* Mobile home product arrows: keep horizontal carousel controls visible. */
@media (max-width: 760px) {
  body[data-page="home"] .product-row-slider-container {
    position: relative !important;
    overflow: visible !important;
  }

  body[data-page="home"] .slider-arrow {
    display: inline-flex !important;
    width: 36px !important;
    height: 36px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #0b4ca8 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(11, 76, 168, 0.16) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16) !important;
    z-index: 20 !important;
  }

  body[data-page="home"] .slider-arrow:hover,
  body[data-page="home"] .slider-arrow:focus-visible {
    color: #ffffff !important;
    background: #0b4ca8 !important;
  }

  body[data-page="home"] .arrow-left {
    left: -9px !important;
  }

  body[data-page="home"] .arrow-right {
    right: -9px !important;
  }
}

@media (max-width: 420px) {
  body[data-page="home"] .slider-arrow {
    width: 34px !important;
    height: 34px !important;
    font-size: 1.08rem !important;
  }

  body[data-page="home"] .arrow-left {
    left: -7px !important;
  }

  body[data-page="home"] .arrow-right {
    right: -7px !important;
  }
}

/* Mobile brand carousel: one horizontal row with gentle auto-scroll. */
@media (max-width: 760px) {
  body[data-page="home"] .brand-widget {
    display: block !important;
    padding: 0 14px 16px !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .brand-widget-head {
    margin-bottom: 12px !important;
  }

  body[data-page="home"] .brand-logo-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 10px !important;
    padding: 2px 2px 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body[data-page="home"] .brand-logo-card {
    flex: 0 0 142px !important;
    width: 142px !important;
    min-width: 142px !important;
    min-height: 68px !important;
    scroll-snap-align: start !important;
    border-radius: 8px !important;
  }

  body[data-page="home"] .brand-logo-card img {
    max-height: 38px !important;
  }
}

@media (max-width: 420px) {
  body[data-page="home"] .brand-logo-card {
    flex-basis: 132px !important;
    width: 132px !important;
    min-width: 132px !important;
  }
}

/* Mobile home banner: show the full artwork at its real ratio. */
@media (max-width: 760px) {
  :root {
    --mobile-masthead-h: 96px;
  }

  body {
    padding-top: var(--mobile-masthead-h) !important;
  }

  html {
    scroll-padding-top: var(--mobile-masthead-h) !important;
  }

  .masthead-split .header-top,
  .masthead-split .header-top-inner {
    min-height: var(--mobile-masthead-h) !important;
  }

  .masthead-split .main-nav {
    top: calc(var(--mobile-masthead-h) + 6px) !important;
    max-height: calc(100vh - var(--mobile-masthead-h) - 24px) !important;
  }

  body[data-page="home"] .hero-slider-wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
  }

  body[data-page="home"] .hero-banner-main {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: var(--hero-banner-ratio, 2172 / 724) !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
  }

  body[data-page="home"] .hero-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  body[data-page="home"] .hero-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #ffffff !important;
  }

  body[data-page="home"] .hero-banner-dots {
    bottom: 6px !important;
  }
}

/* Mobile map usability: iframe remains interactive and a direct Maps button is available. */
.map-embed,
.contact-map,
.map-embed iframe,
.contact-map iframe {
  pointer-events: auto !important;
}

.contact-map-button {
  margin-top: 0;
  border-radius: 0 0 10px 10px;
}

@media (max-width: 760px) {
  .footer-map-col .map-embed,
  .contact-map {
    min-height: 220px !important;
    aspect-ratio: 1 / 1 !important;
  }

  .footer-map-button {
    min-height: 48px !important;
    font-size: 0.9rem !important;
  }

  body[data-page="contact"] .floating-contact {
    bottom: 72px !important;
  }
}

/* Mobile about company info: compact list layout, not input-like boxes */
@media (max-width: 760px) {
  body[data-page="about"] .about-company-panel {
    padding: 22px 14px !important;
    border-radius: 12px !important;
  }

  body[data-page="about"] .about-company-list {
    gap: 10px !important;
  }

  body[data-page="about"] .about-company-list > div {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    min-height: 0 !important;
    padding: 12px !important;
    border: 1px solid #dbe7f3 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04) !important;
  }

  body[data-page="about"] .about-company-number {
    display: none !important;
  }

  body[data-page="about"] .about-company-icon {
    display: inline-flex !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    margin: 0 !important;
    color: #0b4ca8 !important;
    border-radius: 999px !important;
    background: #edf6ff !important;
  }

  body[data-page="about"] .about-company-icon::after {
    display: none !important;
  }

  body[data-page="about"] .about-company-icon svg {
    width: 22px !important;
    height: 22px !important;
  }

  body[data-page="about"] .about-company-list > div > div {
    display: block !important;
    grid-column: 2 !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body[data-page="about"] .about-company-list strong {
    display: block !important;
    margin: 0 0 3px !important;
    color: #071834 !important;
    font-size: 0.94rem !important;
    line-height: 1.25 !important;
  }

  body[data-page="about"] .about-company-list p {
    display: block !important;
    margin: 0 !important;
    color: #425875 !important;
    font-size: 0.92rem !important;
    line-height: 1.42 !important;
    overflow-wrap: anywhere !important;
  }
}

/* Typography calibration: keep public text readable on desktop and mobile. */
body[data-page="home"] .product-card-cta-btn,
body[data-page="products"] .catalog-product-card .price-contact,
.footer-map-button,
.support-btn {
  font-size: max(0.82rem, 13px) !important;
}

body[data-page="home"] .brand-logo-card span,
.corporate-news-date,
.form-note,
.site-footer.compact-footer .contact-list li,
.site-footer.compact-footer .footer-about p {
  font-size: max(0.78rem, 12.5px) !important;
}

@media (max-width: 760px) {
  body {
    font-size: 15.5px;
  }

  .section-kicker,
  .hero-kicker,
  .catalog-product-meta,
  body[data-page="home"] .brand-logo-card span,
  .corporate-news-date {
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
  }

  .product-item-card-desc,
  .catalog-product-desc,
  body[data-page="home"] .corporate-news-item-body p,
  .news-page-item .corporate-news-item-body p,
  .form-note,
  .admin-empty-note {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
  }

  body[data-page="home"] .product-item-card-body h4,
  body[data-page="products"] .catalog-product-card h3,
  body[data-page="home"] .corporate-news-item-body h4,
  .news-page-item .corporate-news-item-body h4 {
    font-size: 0.94rem !important;
    line-height: 1.3 !important;
  }

  body[data-page="home"] .product-card-cta-btn,
  body[data-page="products"] .catalog-product-card .price-contact,
  .button,
  .button-primary,
  .support-btn {
    font-size: 0.86rem !important;
    line-height: 1.15 !important;
  }

  .site-footer.compact-footer .contact-list li,
  .site-footer.compact-footer .footer-about p,
  .site-footer.compact-footer a {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 420px) {
  body[data-page="products"] .catalog-product-card h3,
  body[data-page="home"] .product-item-card-body h4 {
    font-size: 0.9rem !important;
  }

  body[data-page="products"] .catalog-product-card .price-contact,
  body[data-page="home"] .product-card-cta-btn {
    font-size: 0.82rem !important;
  }
}

/* Product catalog actions: detail opens modal, contact opens quote form. */
body[data-page="products"] .catalog-product-actions {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
}

body[data-page="products"] .catalog-product-card .product-detail-btn,
body[data-page="products"] .catalog-product-card .price-contact {
  display: inline-flex !important;
  min-width: 112px !important;
  min-height: 40px !important;
  width: auto !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px !important;
  border: 0;
  color: #ffffff;
  font-weight: 800;
  font-size: max(0.82rem, 13px) !important;
  line-height: 1.15 !important;
  text-decoration: none;
  cursor: pointer;
}

body[data-page="products"] .catalog-product-card .product-detail-btn {
  background: #10b981;
}

body[data-page="products"] .catalog-product-card .price-contact {
  background: #0b5fc4;
}

body[data-page="products"] .catalog-product-card .product-detail-btn:hover {
  background: #059669;
}

body[data-page="products"] .catalog-product-card .price-contact:hover {
  background: #0a4fa6;
}

@media (max-width: 760px) {
  body[data-page="products"] .catalog-product-actions {
    justify-content: flex-start;
    gap: 8px;
  }

  body[data-page="products"] .catalog-product-card .product-detail-btn,
  body[data-page="products"] .catalog-product-card .price-contact {
    min-width: 78px !important;
    min-height: 32px !important;
    padding: 0 10px !important;
    font-size: 0.78rem !important;
  }
}

/* Public interaction polish: precise motion for B2B pages. */
:root {
  --motion-fast: 180ms cubic-bezier(0.2, 0, 0.2, 1);
  --motion-main: 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.animations-ready .reveal-fade-up {
  transform: translateY(18px);
  transition-duration: 480ms;
}

.button-primary,
.product-card-cta-btn,
body[data-page="products"] .catalog-product-card .product-detail-btn,
body[data-page="products"] .catalog-product-card .price-contact {
  transition:
    transform var(--motion-fast),
    box-shadow var(--motion-fast),
    background-color var(--motion-fast),
    color var(--motion-fast),
    border-color var(--motion-fast);
}

.button-primary:hover,
.product-card-cta-btn:hover,
body[data-page="products"] .catalog-product-card .product-detail-btn:hover,
body[data-page="products"] .catalog-product-card .price-contact:hover {
  transform: translateY(-2px);
}

.product-item-card,
.catalog-product-card,
.product-item,
.service-card,
.why-card,
.corporate-news-item {
  transition:
    transform var(--motion-main),
    box-shadow var(--motion-main),
    border-color var(--motion-main),
    background-color var(--motion-main);
}

.product-item-card:hover,
.catalog-product-card:hover,
.product-item:hover,
.service-card:hover,
.why-card:hover,
.corporate-news-item:hover {
  transform: translateY(-5px);
}

.product-item-card-img,
.product-item-img,
.catalog-product-card .product-item-img,
.corporate-news-item img {
  overflow: hidden;
}

.product-item-card-img img,
.product-item-img img,
.catalog-product-card .product-item-img img,
.corporate-news-item img {
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 420ms ease;
}

.product-item-card:hover img,
.product-item:hover .product-item-img img,
.catalog-product-card:hover .product-item-img img,
.corporate-news-item:hover img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.03);
}

.product-row-slider-container {
  position: relative;
}

.product-row-slider-container::before,
.product-row-slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 28px;
  pointer-events: none;
  opacity: 0.42;
}

.product-row-slider-container::before {
  left: 0;
  background: linear-gradient(90deg, rgba(248, 250, 252, 0.72), rgba(248, 250, 252, 0));
}

.product-row-slider-container::after {
  right: 0;
  background: linear-gradient(270deg, rgba(248, 250, 252, 0.72), rgba(248, 250, 252, 0));
}

.quote-form {
  transition:
    transform var(--motion-main),
    box-shadow var(--motion-main),
    border-color var(--motion-main);
}

.quote-form:focus-within {
  border-color: rgba(16, 185, 129, 0.36);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  transition:
    border-color var(--motion-fast),
    box-shadow var(--motion-fast),
    background-color var(--motion-fast);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.quote-form.is-submitting {
  pointer-events: none;
}

.quote-form.is-submitting .button[type="submit"] {
  position: relative;
  padding-left: 44px;
}

.quote-form.is-submitting .button[type="submit"]::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.48);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: moxon-spin 760ms linear infinite;
}

.form-status:not(:empty) {
  animation: formStatusIn 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.modal.is-active {
  animation: modalBackdropPolish 220ms ease both;
}

.modal.is-active .modal-content {
  animation: modalContentPolish 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.modal-image img {
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.modal.is-active .modal-image img {
  transform: scale(1.015);
}

.moxon-sequence-item {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow var(--motion-main),
    border-color var(--motion-main),
    background-color var(--motion-main);
  transition-delay: var(--sequence-delay, 0ms);
}

.moxon-sequence-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body[data-page="about"] .about-process-list {
  position: relative;
}

body[data-page="about"] .about-process-list::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0), rgba(16, 185, 129, 0.55), rgba(37, 99, 235, 0));
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), opacity 420ms ease;
}

body[data-page="about"] .about-process-list.is-motion-active::after {
  transform: scaleY(1);
  opacity: 1;
}

body[data-page="about"] .about-process-list article {
  position: relative;
  z-index: 1;
}

body[data-page="about"] .about-process-list article.is-visible .about-step-icon,
body[data-page="about"] .about-process-list article:hover .about-step-icon {
  border-color: rgba(16, 185, 129, 0.38);
  background: #ecfdf5;
  color: #059669;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.14);
}

body[data-page="about"] .about-process-list article.is-visible .about-step-arrow,
body[data-page="about"] .about-process-list article:hover .about-step-arrow {
  transform: translateX(4px);
  color: #059669;
}

body[data-page="about"] .about-step-icon,
body[data-page="about"] .about-step-arrow,
body[data-page="about"] .about-card-icon,
body[data-page="about"] .about-card-top > span,
body[data-page="about"] .about-company-number,
.metric-number {
  transition:
    transform var(--motion-fast),
    color var(--motion-fast),
    background-color var(--motion-fast),
    border-color var(--motion-fast),
    box-shadow var(--motion-fast);
}

body[data-page="about"] .about-value-card:hover .about-card-icon,
body[data-page="about"] .about-capability-card:hover .about-card-top > span,
body[data-page="about"] .about-company-list > div:hover .about-company-number {
  transform: translateY(-2px) scale(1.04);
}

@keyframes moxon-spin {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

@keyframes formStatusIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalBackdropPolish {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalContentPolish {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-item-card,
  .catalog-product-card,
  .product-item,
  .service-card,
  .why-card,
  .corporate-news-item,
  .quote-form,
  .modal.is-active,
  .modal.is-active .modal-content,
  .form-status:not(:empty),
  .moxon-sequence-item,
  body[data-page="about"] .about-process-list::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Products page: visible interaction layer, kept separate from hero banner. */
body[data-page="products"] .catalog-toolbar {
  transition:
    border-color var(--motion-main),
    box-shadow var(--motion-main),
    background-color var(--motion-main);
}

body[data-page="products"] .catalog-toolbar:focus-within {
  border-color: rgba(16, 185, 129, 0.32);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

body[data-page="products"] .catalog-category-btn {
  transition:
    transform var(--motion-fast),
    background-color var(--motion-fast),
    color var(--motion-fast),
    border-color var(--motion-fast),
    box-shadow var(--motion-fast);
}

body[data-page="products"] .catalog-category-btn:hover,
body[data-page="products"] .catalog-category-btn.is-active {
  transform: translateY(-2px);
}

body[data-page="products"] .catalog-product-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1) !important,
    box-shadow 340ms cubic-bezier(0.22, 1, 0.36, 1) !important,
    border-color 240ms ease !important,
    background-color 240ms ease !important;
}

body[data-page="products"] .catalog-product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), transparent 34%, rgba(37, 99, 235, 0.08));
  opacity: 0;
  transition: opacity 240ms ease;
}

body[data-page="products"] .catalog-product-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(16, 185, 129, 0.34) !important;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12) !important;
}

body[data-page="products"] .catalog-product-card:hover::after {
  opacity: 1;
}

body[data-page="products"] .catalog-product-card .product-item-img img {
  transition:
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1) !important,
    filter 280ms ease !important;
}

body[data-page="products"] .catalog-product-card:hover .product-item-img img {
  transform: scale(1.045) !important;
  filter: saturate(1.05) contrast(1.04);
}

body[data-page="products"] .catalog-product-card.is-filter-animated {
  animation: productFilterIn 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(min(var(--product-motion-index, 0), 8) * 34ms);
}

body[data-page="products"] .modal.is-active .modal-content {
  animation: productModalIn 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body[data-page="products"] .modal.is-active .modal-image img {
  animation: productModalImageIn 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes productFilterIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes productModalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes productModalImageIn {
  from {
    opacity: 0;
    transform: scale(0.975);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 760px) {
  body[data-page="products"] .catalog-category-btn:hover,
  body[data-page="products"] .catalog-category-btn.is-active,
  body[data-page="products"] .catalog-product-card:hover {
    transform: none !important;
  }

  body[data-page="products"] .catalog-product-card.is-filter-animated {
    animation-duration: 220ms;
    animation-delay: 0ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="products"] .catalog-product-card,
  body[data-page="products"] .catalog-product-card .product-item-img img,
  body[data-page="products"] .catalog-product-card.is-filter-animated,
  body[data-page="products"] .modal.is-active .modal-content,
  body[data-page="products"] .modal.is-active .modal-image img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* Keep home product carousel arrows fully visible above edge fades. */
.product-row-slider-container .slider-arrow {
  z-index: 5;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.product-row-slider-container .arrow-left {
  left: 8px;
}

.product-row-slider-container .arrow-right {
  right: 8px;
}

.product-row-slider-container .slider-arrow:hover,
.product-row-slider-container .slider-arrow:focus-visible {
  background: #0b5fc4;
  border-color: #0b5fc4;
  color: #ffffff;
  transform: translateY(-50%) scale(1.04);
}

@media (max-width: 760px) {
  .product-row-slider-container .slider-arrow {
    width: 30px;
    height: 30px;
  }

  .product-row-slider-container .arrow-left {
    left: 6px;
  }

  .product-row-slider-container .arrow-right {
    right: 6px;
  }
}

/* Contact page motion: keep the form calm and the map stable. */
body[data-page="contact"].animations-ready .contact-info-panel.reveal-fade-up {
  transform: translateX(-18px);
  transition-duration: 520ms;
}

body[data-page="contact"].animations-ready .quote-form.reveal-fade-up {
  transform: translateX(18px);
  transition-duration: 520ms;
}

body[data-page="contact"].animations-ready .contact-info-panel.reveal-fade-up.is-visible,
body[data-page="contact"].animations-ready .quote-form.reveal-fade-up.is-visible {
  transform: translateX(0);
}

body[data-page="contact"] .contact-map.reveal-fade-up,
body[data-page="contact"] .contact-map.reveal-fade-up.is-visible {
  opacity: 1;
  transform: none;
  transition:
    border-color var(--motion-fast),
    box-shadow var(--motion-fast),
    transform var(--motion-fast);
}

body[data-page="contact"] .quote-form,
body[data-page="contact"] .quote-form:focus-within {
  transform: translateX(0);
}

body[data-page="contact"] .quote-form:focus-within {
  border-color: rgba(11, 95, 196, 0.28);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

body[data-page="contact"] .quote-form input:focus,
body[data-page="contact"] .quote-form select:focus,
body[data-page="contact"] .quote-form textarea:focus {
  border-color: #0b5fc4;
  box-shadow: 0 0 0 4px rgba(11, 95, 196, 0.14);
}

body[data-page="contact"] .contact-layout {
  grid-template-columns: minmax(420px, 458px) minmax(0, 640px);
  gap: clamp(40px, 5vw, 72px);
  justify-content: center;
  align-items: start;
  width: min(calc(100% - 2 * var(--page-x)), 1200px) !important;
}

body[data-page="contact"] .contact-info-panel {
  gap: 14px;
  padding: 30px 22px 20px;
  border: 0;
  border-radius: 14px;
  width: 100%;
  justify-self: stretch;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

body[data-page="contact"] .quote-panel,
body[data-page="contact"] .quote-form {
  width: 100%;
}

body[data-page="contact"] .contact-info-panel .section-kicker {
  position: relative;
  width: max-content;
  margin-bottom: 0;
  padding-left: 16px;
  color: #059669;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
}

body[data-page="contact"] .contact-info-panel .section-kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  bottom: 1px;
  width: 4px;
  border-radius: 999px;
  background: #0ea5b7;
}

body[data-page="contact"] .contact-info-panel .section-kicker::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 0;
  bottom: -12px;
  height: 2px;
  border-radius: 999px;
  background: #10b981;
}

body[data-page="contact"] .contact-info-panel h2 {
  margin-top: 10px;
  margin-bottom: 0;
  color: #08245c;
  font-size: clamp(1.8rem, 3vw, 2.05rem);
  font-weight: 900;
  line-height: 1.08;
}

body[data-page="contact"] .info-list {
  gap: 0;
}

body[data-page="contact"] .info-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 0 11px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

body[data-page="contact"] .info-list li:last-child {
  border-bottom: 0;
}

body[data-page="contact"] .info-list strong {
  margin-bottom: 1px;
  font-size: 0.84rem;
  line-height: 1.2;
}

body[data-page="contact"] .info-list a,
body[data-page="contact"] .info-list li > span:last-child {
  color: #1e3a5f;
  font-size: 0.91rem;
  line-height: 1.35;
}

body[data-page="contact"] .info-list li:first-child a {
  color: #e53935;
  font-size: 1rem;
  font-weight: 800;
}

body[data-page="contact"] .contact-info-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: #0b5fc4;
  background: #eff6ff;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(11, 95, 196, 0.08);
}

body[data-page="contact"] .contact-info-icon svg,
body[data-page="contact"] .contact-map-address svg,
body[data-page="contact"] .contact-map-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-page="contact"] .contact-map:hover {
  border-color: rgba(11, 95, 196, 0.26);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

body[data-page="contact"] .contact-map {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  margin: 8px 0 0;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  overflow: hidden;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid rgba(11, 95, 196, 0.18);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

body[data-page="contact"] .contact-map iframe {
  position: static !important;
  inset: auto !important;
  flex: 0 0 auto;
  display: block;
  width: 100% !important;
  height: 150px !important;
  min-height: 150px !important;
  aspect-ratio: auto;
  border-radius: 13px 13px 0 0;
}

body[data-page="contact"] .contact-map-address {
  display: flex;
  min-height: 32px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #33516f;
  font-size: 0.76rem;
  line-height: 1.25;
  background: #ffffff;
}

body[data-page="contact"] .contact-map-address span {
  display: inline-flex;
  flex: 0 0 auto;
  color: #0b5fc4;
}

body[data-page="contact"] .contact-map-button,
body[data-page="contact"] .quote-form .button[type="submit"] {
  transition:
    transform var(--motion-fast),
    box-shadow var(--motion-fast),
    background-color var(--motion-fast),
    border-color var(--motion-fast);
}

body[data-page="contact"] .contact-map-button {
  display: flex;
  gap: 12px;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  background: linear-gradient(100deg, #10b981 0%, #0b5fc4 100%);
  border: 0;
  border-radius: 9px;
  box-shadow: 0 12px 26px rgba(11, 95, 196, 0.22);
  width: 100%;
  margin: 0;
}

body[data-page="contact"] .contact-map-button-icon,
body[data-page="contact"] .contact-map-button-arrow {
  display: inline-flex;
  flex: 0 0 auto;
}

body[data-page="contact"] .contact-map-button-icon svg {
  width: 20px;
  height: 20px;
}

body[data-page="contact"] .contact-map-button-arrow svg {
  width: 18px;
  height: 18px;
}

body[data-page="contact"] .contact-map-button:hover,
body[data-page="contact"] .quote-form .button[type="submit"]:hover {
  background: linear-gradient(100deg, #0ea371 0%, #084a9c 100%);
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(11, 95, 196, 0.26);
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  body[data-page="contact"].animations-ready .contact-info-panel.reveal-fade-up,
  body[data-page="contact"].animations-ready .quote-form.reveal-fade-up,
  body[data-page="contact"].animations-ready .contact-info-panel.reveal-fade-up.is-visible,
  body[data-page="contact"].animations-ready .quote-form.reveal-fade-up.is-visible {
    transform: none;
    transition-duration: 260ms;
  }

  body[data-page="contact"] .info-list li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
  }

  body[data-page="contact"] .contact-info-icon {
    width: 34px;
    height: 34px;
  }

  body[data-page="contact"] .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    width: min(calc(100% - 28px), 460px) !important;
  }

  body[data-page="contact"] .contact-info-panel {
    width: 100%;
  }

  body[data-page="contact"] .contact-map iframe {
    height: clamp(138px, 38vw, 158px) !important;
    min-height: 138px !important;
  }

  body[data-page="contact"] .contact-map {
    min-height: 0 !important;
    aspect-ratio: auto !important;
  }
}

/* Final public mobile overrides: larger Facebook mark and tighter home product cards. */
@media (max-width: 760px) {
  .floating-facebook .facebook-badge-text {
    font-size: 1.9rem !important;
    transform: translateY(0);
  }

  body[data-page="home"] .product-item-card-body {
    justify-content: flex-start !important;
    flex-grow: 0 !important;
    min-height: 0 !important;
    padding: 8px 8px 10px !important;
    gap: 8px !important;
  }

  body[data-page="home"] .product-item-card-body h4,
  body[data-page="home"] .product-item-card h4 {
    min-height: 28px !important;
    margin: 0 !important;
    font-size: 0.8rem !important;
    line-height: 1.18 !important;
    align-items: flex-start !important;
    justify-content: center !important;
  }

  body[data-page="home"] .product-card-cta-btn {
    margin-top: 0 !important;
    padding: 8px 12px !important;
  }

  body[data-page="home"] .product-row-grid-scrollable {
    align-items: flex-start !important;
  }

  body[data-page="home"] .product-item-card {
    height: auto !important;
    align-self: flex-start !important;
  }
}

@media (max-width: 420px) {
  .floating-facebook .facebook-badge-text {
    font-size: 2rem !important;
  }

  body[data-page="home"] .product-item-card-body h4,
  body[data-page="home"] .product-item-card h4 {
    min-height: 26px !important;
  }
}

/* Final public mobile typography: keep compact labels readable without changing desktop. */
@media (max-width: 760px) {
  .section-kicker,
  .hero-kicker,
  .floating-btn span,
  .floating-btn small {
    font-size: max(0.78rem, 12.5px) !important;
    line-height: 1.25 !important;
  }

  .masthead-split .brand-tagline-split,
  .cta-split-label {
    font-size: max(0.72rem, 11.5px) !important;
    line-height: 1.18 !important;
  }
}

/* Final products mobile layout: compact cards, two columns when the screen has room. */
@media (max-width: 760px) {
  body[data-page="products"] .catalog-product-grid {
    grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)) !important;
    gap: 12px !important;
  }

  body[data-page="products"] .catalog-product-card {
    display: flex !important;
    width: 100% !important;
    min-height: 0 !important;
    contain-intrinsic-size: auto !important;
    grid-template-columns: none !important;
    flex-direction: column !important;
    justify-self: stretch !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
  }

  body[data-page="products"] .catalog-product-card .product-item-img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
    border-radius: 0 !important;
  }

  body[data-page="products"] .catalog-product-card .product-item-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  body[data-page="products"] .catalog-product-card .product-item-body {
    display: flex !important;
    width: 100% !important;
    min-height: 112px !important;
    align-content: initial !important;
    align-items: center !important;
    justify-items: initial !important;
    justify-content: flex-start !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 14px 10px 16px !important;
    text-align: center !important;
  }

  body[data-page="products"] .catalog-product-card h3 {
    min-height: 38px !important;
    margin: 0 !important;
    color: var(--navy-900) !important;
    font-size: 0.86rem !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }

  body[data-page="products"] .catalog-product-meta,
  body[data-page="products"] .catalog-product-desc {
    display: none !important;
  }

  body[data-page="products"] .catalog-product-actions {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 0 !important;
  }

  body[data-page="products"] .catalog-product-card .product-detail-btn,
  body[data-page="products"] .catalog-product-card .price-contact {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    font-size: 0.76rem !important;
  }
}

@media (max-width: 420px) {
  body[data-page="products"] .catalog-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body[data-page="products"] .catalog-product-card {
    width: 100% !important;
    grid-template-columns: none !important;
  }

  body[data-page="products"] .catalog-product-card .product-item-img {
    min-height: 0 !important;
  }

  body[data-page="products"] .catalog-product-card .product-item-body {
    min-height: 104px !important;
    gap: 10px !important;
    padding: 12px 8px 14px !important;
  }

  body[data-page="products"] .catalog-product-card h3 {
    min-height: 36px !important;
    font-size: 0.78rem !important;
  }

  body[data-page="products"] .catalog-product-card .product-detail-btn,
  body[data-page="products"] .catalog-product-card .price-contact {
    min-height: 34px !important;
    padding: 0 8px !important;
    font-size: 0.7rem !important;
  }
}

@media (max-width: 340px) {
  body[data-page="products"] .catalog-product-grid {
    grid-template-columns: 1fr !important;
  }

  body[data-page="products"] .catalog-product-card {
    width: min(100%, 280px) !important;
    justify-self: center !important;
  }
}

/* Final products desktop hover: match homepage product-card motion. */
@media (hover: hover) and (pointer: fine) and (min-width: 761px) {
  body[data-page="products"] .catalog-product-card {
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-soft) !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  body[data-page="products"] .catalog-product-card::after {
    display: none !important;
  }

  body[data-page="products"] .catalog-product-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(16, 185, 129, 0.25) !important;
    box-shadow: var(--shadow-strong) !important;
  }

  body[data-page="products"] .catalog-product-card .product-item-img img {
    transition: transform 0.45s ease !important;
  }

  body[data-page="products"] .catalog-product-card:hover .product-item-img img {
    transform: scale(1.04) !important;
    filter: none !important;
  }

  body[data-page="products"] .catalog-product-card h3 {
    transition: color 0.25s ease !important;
  }

  body[data-page="products"] .catalog-product-card:hover h3 {
    color: var(--green-500) !important;
  }

}
