:root {
  --background: #f4f8ff;
  --surface: #ffffff;
  --surface-soft: #eaf2ff;
  --surface-line: #cddcf0;
  --primary: #06245f;
  --primary-soft: #0b3f8f;
  --secondary: #1f75d6;
  --brand-accent: #4ba3ff;
  --brand-cyan: #7cc6ff;
  --gold: var(--brand-accent);
  --button-gray: #6b7280;
  --button-gray-dark: #374151;
  --button-gray-light: #e5e7eb;
  --text: #171c22;
  --muted: #45464f;
  --danger: #ba1a1a;
  --container: 1200px;
  --font-montserrat: var(--font-inter), "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-roboto: var(--font-inter), "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(#cfe0f7 0.7px, transparent 0.7px) 0 0 / 26px 26px,
    var(--background);
  color: var(--text);
  font-family: var(--font-roboto), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brand-cyan);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 999;
  transform: translateY(-140%);
  background: var(--primary);
  color: white;
  padding: 10px 14px;
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--gold);
}

.h1,
.h2,
.h3 {
  margin: 0;
  color: var(--primary);
  font-family: var(--font-montserrat), Arial, sans-serif;
  line-height: 1.15;
}

.h1 {
  font-size: clamp(42px, 5.4vw, 72px);
  font-weight: 850;
  letter-spacing: -0.01em;
}

.h2 {
  font-size: clamp(31px, 3.6vw, 48px);
  font-weight: 850;
  letter-spacing: -0.005em;
}

.h3 {
  font-size: 22px;
  font-weight: 700;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 12px 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 9, 40, 0.16);
}

.btn-primary {
  background: var(--button-gray-dark);
  color: white;
}

.btn-accent {
  background: var(--button-gray);
  color: white;
}

.btn-outline {
  border-color: var(--button-gray);
  color: var(--button-gray-dark);
  background: transparent;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.grid {
  display: grid;
  grid-gap: 24px;
  gap: 24px;
}

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

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(0, 9, 40, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 117, 214, 0.36);
  box-shadow: 0 18px 44px rgba(0, 9, 40, 0.1);
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(6, 36, 95, 0.16);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
          backdrop-filter: blur(20px) saturate(150%);
}

.section > .container,
.hero-content,
.hero-proof,
.contact-bar {
  animation: fadeUp 620ms ease both;
}

.card,
.pricing-post-card,
.highlight-card,
.project-card,
.article-card {
  animation: fadeUp 520ms ease both;
}

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

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

.dark-panel {
  background: var(--primary);
  color: white;
}

.dark-panel .h1,
.dark-panel .h2,
.dark-panel .h3 {
  color: white;
}

.muted {
  color: var(--muted);
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(205, 220, 240, 0.74);
  background: rgba(247, 250, 255, 0.76);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
          backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 16px 44px rgba(6, 36, 95, 0.09);
}

.header-top {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
}

.header-top-inner div {
  display: flex;
  gap: 20px;
}

.brand {
  color: var(--primary);
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 29px;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.brand span {
  color: var(--secondary);
}

.header-brand-row {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.header-promo {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex: 1 1;
}

.header-promo a {
  min-width: 190px;
  border: 1px solid var(--surface-line);
  background: white;
  padding: 10px 14px;
  box-shadow: 0 10px 24px rgba(6, 36, 95, 0.06);
}

.header-promo span,
.header-promo strong {
  display: block;
}

.header-promo span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.header-promo strong {
  color: var(--primary);
  margin-top: 3px;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 15px;
}

.header-menu-row {
  border-top: 1px solid var(--surface-line);
  background: white;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
}

.header-main-nav {
  flex: 1 1;
  min-width: 0;
}

.nav > a,
.nav-group > a {
  display: flex;
  min-height: 44px;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav > a:hover,
.nav-group:hover > a {
  background: rgba(31, 117, 214, 0.1);
  color: var(--primary);
  transform: translateY(-1px);
}

.nav-group {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
}

/* Keep the parent hovered while the pointer crosses the visual gap to its menu. */
.nav-group::after {
  content: "";
  position: absolute;
  top: 100%;
  right: -12px;
  left: -12px;
  height: 18px;
  pointer-events: none;
}

.nav-group:hover::after,
.nav-group:focus-within::after {
  pointer-events: auto;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 292px;
  z-index: 2;
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 58px rgba(6, 36, 95, 0.18);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
          backdrop-filter: blur(22px) saturate(160%);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 160ms ease 220ms,
    transform 160ms ease 220ms,
    visibility 0s linear 380ms;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.nav-dropdown a {
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--primary);
  border-bottom: 0;
  font-weight: 800;
}

.nav-dropdown a:hover {
  background: rgba(31, 117, 214, 0.1);
}

/* MEGA MENU FOR BÁO GIÁ DỊCH VỤ */
.nav-dropdown.nav-dropdown-mega {
  width: 590px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 64px rgba(6, 36, 95, 0.22);
}

.mega-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mega-nav-column {
  display: flex;
  flex-direction: column;
}

.mega-nav-heading {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0d4bb5;
  padding: 4px 8px 8px 8px;
  margin-bottom: 4px;
  border-bottom: 2px solid #e2e8f0;
}

.mega-nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-nav-item {
  display: flex;
  align-items: center;
  padding: 8px 10px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #06245f !important;
  border-radius: 6px;
  transition: all 0.2s ease;
  line-height: 1.35;
}

.mega-nav-item:hover {
  background: rgba(13, 75, 181, 0.08) !important;
  color: #0d4bb5 !important;
  transform: translateX(4px);
}

/* Mobile Mega Group */
.mobile-mega-group {
  margin-top: 10px;
  padding-left: 8px;
}

.mobile-mega-heading {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0d4bb5;
  margin-bottom: 6px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(280px, calc(100vw - 32px));
  max-height: calc(100vh - 110px);
  overflow: auto;
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 58px rgba(0, 9, 40, 0.18);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
          backdrop-filter: blur(20px) saturate(160%);
  padding: 8px;
}

.mobile-menu-panel a {
  padding: 12px;
  color: var(--primary);
  font-weight: 800;
}

.mobile-menu-panel a:hover {
  background: var(--surface-soft);
}

.mobile-menu-group {
  border-bottom: 1px solid var(--surface-line);
}

.mobile-menu-group summary {
  padding: 12px;
  color: var(--primary);
  font-weight: 900;
  list-style: none;
}

.mobile-menu-group summary::-webkit-details-marker {
  display: none;
}

.mobile-menu-group summary::after {
  content: "+";
  float: right;
}

.mobile-menu-group[open] summary::after {
  content: "-";
}

.mobile-menu-group div {
  display: grid;
  background: var(--surface-soft);
  padding: 4px;
}

.mobile-menu-group div a {
  padding-left: 18px;
}

.mobile-menu-cta {
  background: var(--button-gray-dark);
  color: white !important;
}

.hero {
  min-height: 790px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(6, 36, 95, 0.96), rgba(6, 36, 95, 0.78), rgba(6, 36, 95, 0.38)),
    url("/generated/low-rise-vietnamese/hero-vietnamese-site-team.webp") center / cover;
  color: white;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(124, 198, 255, 0.22), transparent 32%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 42%);
  animation: heroBreath 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(0deg, rgba(244, 246, 251, 1), rgba(244, 246, 251, 0));
  pointer-events: none;
}

@keyframes heroBreath {
  from {
    opacity: 0.55;
    transform: scale(1);
  }
  to {
    opacity: 0.9;
    transform: scale(1.03);
  }
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  grid-gap: 52px;
  gap: 52px;
  align-items: center;
}

.hero .h1 {
  color: white;
  max-width: 850px;
}

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

.hero-title {
  margin-top: 22px;
}

.hero-title-rotator {
  position: relative;
  width: min(680px, 100%);
  height: 48px;
  margin-top: 14px;
  overflow: hidden;
  border-left: 4px solid var(--brand-cyan);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 38px rgba(0, 9, 40, 0.14);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
          backdrop-filter: blur(16px) saturate(145%);
}

.hero-title-rotator span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: white;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 850;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(100%);
  animation: heroTextSlide 9s ease-in-out infinite;
}

.hero-title-rotator span:nth-child(2) {
  animation-delay: 3s;
}

.hero-title-rotator span:nth-child(3) {
  animation-delay: 6s;
}

@keyframes heroTextSlide {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  8%,
  28% {
    opacity: 1;
    transform: translateY(0);
  }
  36%,
  100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}

.hero-lead {
  color: rgba(255, 255, 255, 0.84);
  max-width: 720px;
}

.hero-kicker {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
  color: white;
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-assurance span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.88);
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 800;
}

.hero-proof {
  position: relative;
  min-height: 520px;
}

.hero-proof-image {
  height: 500px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.hero-proof-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-proof-card,
.hero-proof-metrics {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary);
  box-shadow: 0 18px 46px rgba(0, 9, 40, 0.22);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
          backdrop-filter: blur(22px) saturate(150%);
}

.hero-proof-card {
  right: -20px;
  bottom: 46px;
  width: min(320px, 82%);
  padding: 20px;
}

.hero-proof-card span,
.hero-proof-card p,
.hero-proof-metrics span {
  color: var(--muted);
}

.hero-proof-card strong {
  display: block;
  margin-top: 7px;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 20px;
}

.hero-proof-card p {
  margin-bottom: 0;
  line-height: 1.55;
}

.hero-proof-metrics {
  left: -22px;
  top: 54px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.hero-proof-metrics div {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  padding: 18px;
  border-right: 1px solid var(--surface-line);
}

.hero-proof-metrics div:last-child {
  border-right: 0;
}

.hero-proof-metrics strong {
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 30px;
}

.highlight-ribbon {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
  margin-top: 32px;
}

.highlight-card {
  min-height: 250px;
  aspect-ratio: 1 / 1.02;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--primary);
  box-shadow: 0 20px 48px rgba(6, 36, 95, 0.22);
}

.highlight-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: transform 220ms ease, opacity 220ms ease;
}

.highlight-card::before {
  content: "0" counter(highlight);
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.16);
  color: white;
  padding: 7px 10px;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.highlight-ribbon {
  counter-reset: highlight;
}

.highlight-card {
  counter-increment: highlight;
}

.highlight-card:hover img {
  transform: scale(1.05);
  opacity: 0.74;
}

.highlight-card div {
  position: relative;
  z-index: 1;
  min-height: 148px;
  display: grid;
  align-content: end;
  grid-gap: 6px;
  gap: 6px;
  padding: 22px;
  background: linear-gradient(0deg, rgba(6, 36, 95, 0.98), rgba(6, 36, 95, 0.82) 58%, rgba(6, 36, 95, 0));
}

.highlight-card h2 {
  margin: 0;
  color: white;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 22px;
  line-height: 1.16;
  min-height: 52px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.highlight-card p {
  min-height: 68px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.contact-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1px;
  gap: 1px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: rgba(205, 220, 240, 0.72);
  box-shadow: 0 24px 70px rgba(0, 9, 40, 0.16);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
          backdrop-filter: blur(18px) saturate(150%);
}

.about-showcase {
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  grid-gap: 52px;
  gap: 52px;
  align-items: center;
}

.about-media {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--surface-line);
  box-shadow: 0 26px 62px rgba(6, 36, 95, 0.13);
}

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

.play-chip {
  position: absolute;
  left: 24px;
  bottom: 24px;
  border: 0;
  background: var(--button-gray-dark);
  color: white;
  padding: 13px 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.about-content {
  display: grid;
  grid-gap: 20px;
  gap: 20px;
}

.about-content .lead {
  margin: 0;
}

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

.director-note {
  border-left: 5px solid var(--secondary);
  background: var(--surface-soft);
  padding: 18px;
}

.director-note p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.impact-section {
  position: relative;
  background:
    linear-gradient(90deg, rgba(6, 36, 95, 0.94) 0%, rgba(6, 36, 95, 0.88) 50%, rgba(6, 36, 95, 0.8) 100%),
    url("/generated/h77cons-impact-capability-bg.webp") center / cover no-repeat;
  color: white;
  overflow: hidden;
}

.impact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.12), transparent 60%);
  pointer-events: none;
}

.impact-section .h2 {
  color: #ffffff;
  font-weight: 800;
  line-height: 1.25;
}

.impact-section .lead {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.impact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1.15fr);
  grid-gap: 40px;
  gap: 40px;
  align-items: center;
}

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

.impact-cards article {
  min-height: 195px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 22px;
  box-shadow: 0 12px 30px rgba(0, 9, 40, 0.2);
  transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.impact-cards article:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(147, 197, 253, 0.6);
  box-shadow: 0 18px 40px rgba(0, 9, 40, 0.35);
}

.impact-cards strong {
  color: #38bdf8;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 38px;
  font-weight: 850;
  line-height: 1;
  margin-bottom: 6px;
}

.impact-cards h3 {
  color: #ffffff;
  font-size: 17px;
  font-weight: 750;
  margin: 6px 0 6px;
  line-height: 1.35;
}

.impact-cards p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}

.contact-bar a {
  display: grid;
  grid-template-rows: auto 1fr;
  grid-gap: 9px;
  gap: 9px;
  min-height: 126px;
  align-content: center;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.9);
  transition: background 180ms ease, transform 180ms ease;
}

.contact-bar a:hover {
  background: white;
  transform: translateY(-2px);
}

.contact-bar span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-bar strong {
  color: var(--primary);
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 20px;
  line-height: 1.25;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.trust-strip {
  margin-top: 28px;
}

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

.trust-item {
  min-height: 132px;
  display: grid;
  align-content: center;
  grid-gap: 8px;
  gap: 8px;
  border: 1px solid rgba(205, 220, 240, 0.84);
  background: rgba(255, 255, 255, 0.88);
  padding: 26px;
  box-shadow: 0 14px 36px rgba(0, 9, 40, 0.08);
}

.metric {
  color: var(--primary);
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 34px;
  font-weight: 800;
}

.trust-item strong {
  line-height: 1.35;
}

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

.split-head > .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.split-lead {
  max-width: 460px;
  margin: 0;
}

.blueprint-section {
  padding-top: 72px;
}

.blueprint-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.95fr;
  grid-gap: 18px;
  gap: 18px;
}

.blueprint-card {
  min-height: 255px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.6), #ffffff);
  padding: 26px;
  box-shadow: 0 10px 24px rgba(6, 36, 95, 0.04);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.blueprint-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(6, 36, 95, 0.1);
  border-color: #93c5fd;
}

.blueprint-card:first-child {
  grid-row: span 2;
  min-height: 530px;
  border-radius: 8px;
  overflow: hidden;
  border: none;
  background:
    linear-gradient(180deg, rgba(0, 9, 40, 0.16) 0%, rgba(6, 36, 95, 0.88) 100%),
    url("/generated/h77cons-ai-design-showcase.webp") center / cover;
}

.blueprint-card:first-child .h3,
.blueprint-card:first-child p,
.blueprint-card:first-child span {
  color: #ffffff;
}

.blueprint-card span {
  color: #0284c7;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-weight: 850;
  font-size: 20px;
}

.blueprint-card .h3 {
  margin: 0;
  color: var(--primary);
  font-size: 19px;
  font-weight: 750;
  line-height: 1.35;
}

.blueprint-card p {
  margin: 0;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.6;
}

.center-head {
  max-width: 780px;
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  justify-items: center;
  margin: 0 auto 36px;
  text-align: center;
}

.center-head .eyebrow::before {
  display: none;
}

.commitment-section {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

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

.commitment-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(6, 36, 95, 0.04);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.commitment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(6, 36, 95, 0.1);
  border-color: #93c5fd;
}

.commitment-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.commitment-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(6, 36, 95, 0.07);
  color: var(--primary);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.commitment-card:hover .commitment-icon {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.06);
}

.commitment-num {
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

.commitment-card h3 {
  margin: 0;
  color: var(--primary);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.35;
}

.commitment-card p {
  color: #475569;
  line-height: 1.6;
  margin: 0;
  font-size: 14.5px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
}

.design-section {
  background: #ffffff;
}

.design-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-gap: 18px;
  gap: 18px;
}

.design-card {
  min-height: 480px;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 8px;
  background: var(--primary);
  box-shadow: 0 22px 54px rgba(6, 36, 95, 0.14);
}

.design-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.design-card div {
  position: relative;
  z-index: 1;
  min-height: 168px;
  display: grid;
  align-content: end;
  grid-gap: 10px;
  gap: 10px;
  padding: 28px;
  background: linear-gradient(0deg, rgba(6, 36, 95, 0.94), rgba(6, 36, 95, 0.08));
}

.design-card h3 {
  margin: 0;
  color: white;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 30px;
}

.design-card p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.testimonial-section {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-gap: 20px;
  gap: 20px;
}

.testimonial-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 34px rgba(6, 36, 95, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(6, 36, 95, 0.1);
}

.testimonial-media-wrap {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

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

.testimonial-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(6, 36, 95, 0.88);
  color: #ffffff;
  padding: 5px 11px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.testimonial-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
}

.testimonial-rating {
  display: flex;
  gap: 3px;
  margin-bottom: 2px;
}

.testimonial-name {
  color: var(--primary);
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 19px;
  font-weight: 750;
  display: block;
}

.testimonial-project {
  color: #0284c7;
  font-weight: 700;
  font-size: 13.5px;
  display: block;
}

.testimonial-quote {
  margin: 4px 0 0;
  color: #475569;
  font-style: italic;
  line-height: 1.65;
  font-size: 14.5px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.team-section {
  background: white;
}

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

.team-card {
  min-height: 220px;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: end;
  grid-gap: 12px;
  gap: 12px;
  border: 1px solid var(--surface-line);
  background:
    linear-gradient(180deg, rgba(31, 117, 214, 0.08), rgba(255, 255, 255, 1));
  padding: 22px;
}

.team-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--surface-line);
}

.partner-strip span {
  border: 1px solid var(--surface-line);
  background: var(--surface-soft);
  color: var(--primary);
  padding: 12px 14px;
  font-weight: 900;
}

.seo-link-section {
  background:
    linear-gradient(90deg, rgba(6, 36, 95, 0.98), rgba(11, 63, 143, 0.94)),
    var(--primary);
  color: white;
  padding: 28px 0;
}

.seo-link-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.seo-link-grid > strong {
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.seo-link-grid div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-link-grid a {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  transition: background 180ms ease, transform 180ms ease;
}

.seo-link-grid a:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.service-card,
.project-card,
.article-card,
.price-card {
  min-height: 100%;
}

.service-card {
  --service-card-image: none;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 285px;
  grid-gap: 12px;
  gap: 12px;
  border-color: rgba(255, 255, 255, 0.2);
  background: #06245f !important;
  color: #ffffff;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card::before,
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.service-card::before {
  z-index: 0;
  background: var(--service-card-image) center / cover no-repeat;
  opacity: 0.5;
  filter: saturate(0.82) contrast(1.06);
  transform: scale(1.035);
  transition: opacity 220ms ease, transform 420ms ease;
}

.service-card::after {
  z-index: 0;
  background: linear-gradient(180deg, rgba(6, 36, 95, 0.5) 0%, rgba(6, 36, 95, 0.76) 54%, rgba(3, 24, 68, 0.96) 100%);
}

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

.service-card:nth-child(1) {
  --service-card-image: url("/wp-content/plugins/h77cons-core/assets/service-card-architecture-v1.webp");
}

.service-card:nth-child(2) {
  --service-card-image: url("/wp-content/plugins/h77cons-core/assets/service-card-interior-v1.webp");
}

.service-card:nth-child(3) {
  --service-card-image: url("/wp-content/plugins/h77cons-core/assets/service-card-rough-v1.webp");
}

.service-card:nth-child(4) {
  --service-card-image: url("/wp-content/plugins/h77cons-core/assets/service-card-finishing-v1.webp");
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 22px 46px rgba(0, 9, 40, 0.2);
}

.service-card:hover::before {
  opacity: 0.62;
  transform: scale(1.075);
}

.service-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-weight: 900;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.service-card.service-card .h3,
.service-card.service-card p,
.service-card.service-card strong {
  color: #ffffff;
}

.service-card.service-card p {
  color: rgba(255, 255, 255, 0.86);
}

.service-card .h3,
.project-card .h3,
.article-card .h3 {
  line-height: 1.22;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.service-card p,
.project-card p,
.article-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.service-card p {
  -webkit-line-clamp: 4;
}

.project-card,
.article-card {
  display: grid;
  align-content: start;
}

.project-card {
  min-height: 430px;
}

.project-card p:last-child {
  -webkit-line-clamp: 3;
}

.article-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 10px;
  min-height: auto;
}

.article-card .status-chip {
  align-self: flex-start;
  margin-bottom: 4px;
}

.article-card .h3 {
  margin: 0;
  line-height: 1.35;
}

.article-card .muted {
  margin: 0;
  font-size: 13.5px;
}

.article-card p:last-child {
  margin: 0;
  -webkit-line-clamp: 3;
  line-height: 1.5;
}

.project-image {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--surface-line);
  margin: -24px -24px 20px;
  width: calc(100% + 48px);
  max-width: none;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 18px;
  gap: 18px;
}

.cost-section {
  background: var(--primary);
  color: white;
}

.cost-section .h2,
.cost-section .h3 {
  color: white;
}

.cost-section .lead {
  color: rgba(255, 255, 255, 0.76);
}

.cost-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
  grid-gap: 48px;
  gap: 48px;
  align-items: center;
}

.cost-combined {
  display: grid;
  grid-gap: 58px;
  gap: 58px;
}

.cost-transparency {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
  grid-gap: 48px;
  gap: 48px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 52px;
}

.control-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.control-list strong {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  padding: 16px 18px;
  box-shadow: 0 14px 34px rgba(0, 9, 40, 0.14);
}

.cost-card {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  padding: 28px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
          backdrop-filter: blur(18px) saturate(140%);
}

.factor-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin-top: 24px;
}

.factor-list span {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
  padding: 13px 14px;
  padding-left: 38px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.factor-list span::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--brand-cyan);
  transform: translateY(-50%);
  box-shadow: 0 0 0 5px rgba(124, 198, 255, 0.12);
}

.case-section {
  background:
    linear-gradient(180deg, rgba(237, 241, 247, 0.68), rgba(244, 246, 251, 1));
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.84fr);
  grid-gap: 46px;
  gap: 46px;
  align-items: center;
}

.case-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--surface-line);
  box-shadow: 0 24px 60px rgba(0, 9, 40, 0.13);
}

.case-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.case-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  padding: 11px 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.case-content {
  display: grid;
  grid-gap: 20px;
  gap: 20px;
}

.case-content .lead {
  margin: 0;
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.case-facts div,
.case-note {
  border: 1px solid var(--surface-line);
  background: white;
  padding: 16px;
}

.case-facts span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}

.case-facts strong {
  color: var(--primary);
  font-family: var(--font-montserrat), Arial, sans-serif;
}

.case-note p {
  color: var(--muted);
  line-height: 1.6;
  margin: 8px 0 16px;
}

.case-note p:last-child {
  margin-bottom: 0;
}

.page-hero {
  --hero-img-1: url("/generated/low-rise-vietnamese/hero-vietnamese-site-team.webp");
  --hero-img-2: url("/generated/low-rise-vietnamese/consultation-vietnamese-townhouse.webp");
  --hero-img-3: url("/generated/h77cons-ai-projects-hero.webp");
  min-height: 520px;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
  background: var(--primary);
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.page-hero::before {
  background-image: var(--hero-img-1);
  background-position: center;
  background-size: cover;
  animation: pageHeroSlide 18s infinite;
  transform: scale(1.03);
}

.page-hero::after {
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 36, 95, 0.96), rgba(6, 36, 95, 0.74), rgba(6, 36, 95, 0.38));
}

@keyframes pageHeroSlide {
  0%,
  28% {
    background-image: var(--hero-img-1);
  }
  33%,
  61% {
    background-image: var(--hero-img-2);
  }
  66%,
  100% {
    background-image: var(--hero-img-3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero::before,
  .section > .container,
  .hero-content,
  .hero-proof,
  .contact-bar,
  .card,
  .pricing-post-card,
  .highlight-card,
  .project-card,
  .article-card,
  .hero::before,
  .nav-dropdown {
    animation: none;
  }

  .hero-title-rotator {
    height: auto;
    min-height: 44px;
  }

  .hero-title-rotator span {
    position: static;
    display: none;
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-title-rotator span:first-child {
    display: flex;
  }
}

.services-hero {
  --hero-img-1: url("/generated/low-rise-vietnamese/consultation-vietnamese-townhouse.webp");
  --hero-img-2: url("/generated/h77cons-ai-design-showcase.webp");
  --hero-img-3: url("/generated/low-rise-vietnamese/hero-vietnamese-site-team.webp");
}

.projects-hero {
  --hero-img-1: url("/generated/h77cons-ai-projects-hero.webp");
  --hero-img-2: url("/generated/h77cons-ai-design-showcase.webp");
  --hero-img-3: url("/generated/low-rise-vietnamese/hero-vietnamese-site-team.webp");
}

.pricing-hero {
  --hero-img-1: url("/generated/h77cons-ai-pricing-hero.webp");
  --hero-img-2: url("/generated/low-rise-vietnamese/consultation-vietnamese-townhouse.webp");
  --hero-img-3: url("/generated/h77cons-ai-projects-hero.webp");
}

.contact-hero {
  --hero-img-1: url("/generated/low-rise-vietnamese/consultation-vietnamese-townhouse.webp");
  --hero-img-2: url("/generated/low-rise-vietnamese/team-vietnamese-townhouse.webp");
  --hero-img-3: url("/generated/low-rise-vietnamese/consultation-vietnamese-townhouse.webp");
}

.page-hero .h1 {
  color: white;
}

.page-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  grid-gap: 48px;
  gap: 48px;
  align-items: end;
}

.page-hero-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
}

.page-hero-card strong {
  display: block;
  color: white;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 22px;
}

.page-hero-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.breadcrumb a:hover {
  color: var(--secondary);
}

.breadcrumb strong {
  color: var(--primary);
}

.breadcrumb-light,
.breadcrumb-light strong {
  color: rgba(255, 255, 255, 0.84);
}

.breadcrumb-light a:hover {
  color: white;
}

.pricing-directory {
  background: white;
}

.pricing-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 26px;
  gap: 26px;
}

.pricing-post-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  border: 1px solid var(--surface-line);
  background: white;
  box-shadow: 0 16px 42px rgba(6, 36, 95, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pricing-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 56px rgba(6, 36, 95, 0.14);
}

.pricing-post-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--primary);
}

.pricing-post-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease, opacity 260ms ease;
}

/* Mảng mờ màu thương hiệu ở góc trái dưới, làm nền cho nhãn danh mục
   để mọi thẻ nhìn đồng đều dù ảnh sáng tối khác nhau. */
.pricing-post-image::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 62%;
  height: 45%;
  pointer-events: none;
  background: linear-gradient(
    75deg,
    rgba(6, 36, 95, 0.82) 0%,
    rgba(6, 36, 95, 0.45) 55%,
    rgba(6, 36, 95, 0) 100%
  );
}

.pricing-post-card:hover .pricing-post-image img {
  transform: scale(1.05);
  opacity: 0.9;
}

.pricing-post-image span {
  position: absolute;
  z-index: 1;
  left: 16px;
  bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  background: rgba(6, 36, 95, 0.55);
  backdrop-filter: blur(6px);
  color: white;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-post-body {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  align-content: start;
  padding: 22px;
}

.pricing-post-body p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.pricing-post-link {
  width: -moz-fit-content;
  width: fit-content;
  color: var(--secondary);
  font-weight: 900;
  text-transform: uppercase;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.pagination a,
.pagination span {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--surface-line);
  background: white;
  color: var(--primary);
  font-weight: 900;
}

.pagination span,
.pagination a:hover {
  background: var(--primary);
  color: white;
}

.pricing-insight-section {
  background: var(--primary);
  color: white;
}

.pricing-insight-section .h2 {
  color: white;
}

.pricing-insight-section .lead {
  color: rgba(255, 255, 255, 0.78);
}

.pricing-insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  grid-gap: 42px;
  gap: 42px;
  align-items: center;
}

.pricing-mini-list {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.pricing-mini-list div {
  display: grid;
  grid-template-columns: 54px 1fr;
  grid-gap: 14px;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
}

.pricing-mini-list span {
  color: var(--brand-cyan);
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 24px;
  font-weight: 900;
}

.decision-section,
.proof-section,
.pricing-scenarios {
  background: var(--surface-soft);
}

/* Rough construction pricing page */
.rough-pricing-page {
  --rough-blue: #061f4e;
  --rough-blue-2: #082c69;
  --rough-line: #d6deea;
  --rough-muted: #5d687a;
  background: #ffffff;
  color: #071936;
}

/* Global reference-matched footer. */
.footer-cta-band {
  position: relative;
  z-index: 2;
  padding: 48px 0 46px;
  background: #f3f7fc;
}

.footer-cta-card {
  display: grid;
  min-height: 150px;
  grid-template-columns: 320px minmax(0, 1fr) 250px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(7, 43, 99, .18);
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(104deg, #0a3b7e 0%, #062c68 42%, #031b49 100%);
  box-shadow: 0 16px 40px rgba(6, 36, 95, .08);
}

.footer-cta-media {
  min-width: 0;
  overflow: hidden;
}

.footer-cta-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  object-position: center 42%;
}

.footer-cta-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 24px 38px;
}

.footer-cta-copy h2 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: clamp(28px, 2.4vw, 38px);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -.015em;
}

.footer-cta-copy p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
  line-height: 1.65;
}

.footer-cta-button {
  display: inline-flex;
  min-width: 200px;
  min-height: 58px;
  align-self: center;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 30px;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 3px;
  color: #06245f;
  background: #fff;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .025em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.footer-cta-button:hover {
  color: #06245f;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.site-footer,
#site-content:has(.knowledgePage) + .site-footer {
  position: relative;
  min-height: 560px;
  padding: 118px 0 38px;
  overflow: hidden;
  color: rgba(255, 255, 255, .9);
  background:
    linear-gradient(90deg, rgba(2, 27, 68, .99) 0%, rgba(3, 35, 82, .96) 39%, rgba(3, 35, 82, .80) 67%, rgba(2, 25, 60, .67) 100%),
    url('/generated/footer-construction-bg-v1.webp') center center / cover no-repeat;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(1, 18, 48, .56) 100%);
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.site-footer .footer-grid,
#site-content:has(.knowledgePage) + .site-footer .footer-grid {
  display: grid;
  width: min(1400px, calc(100% - 80px));
  grid-template-columns: 1.05fr 1.14fr 1.18fr .92fr;
  grid-gap: 0;
  gap: 0;
}

.footer-grid > div,
#site-content:has(.knowledgePage) + .site-footer .footer-grid > div {
  min-width: 0;
  padding: 0 38px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .28);
}

.footer-grid > div:first-child { padding-left: 0; }
.footer-grid > div:last-child { padding-right: 0; border-right: 0; }

.footer-brand-column img {
  display: block;
  width: 178px;
  height: auto;
  margin: -20px 0 30px;
}

.footer-brand-column strong,
.site-footer .footer-column h3 {
  display: block;
  margin: 0 0 24px;
  color: #fff;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.25;
}

.footer-brand-column p,
#site-content:has(.knowledgePage) + .site-footer .footer-brand-column p {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 16px;
  line-height: 2;
}

.footer-link-list {
  display: grid;
  grid-gap: 19px;
  gap: 19px;
}

.footer-link-list > a,
.footer-info-row {
  display: grid;
  min-width: 0;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-gap: 13px;
  gap: 13px;
  align-items: center;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.footer-info-row { align-items: start; }
.footer-address-list { gap: 32px; }

.footer-item-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  flex: 0 0 34px;
  border: 1.5px solid #37a0ff;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 79, 165, .22);
}

.footer-item-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}

.footer-facebook-icon {
  font-family: Arial, sans-serif;
  font-size: 21px;
  font-weight: 800;
}

.footer-legal-list .footer-item-icon {
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
}

.site-footer a:hover { color: #7cc6ff; }

.footer-copyright,
#site-content:has(.knowledgePage) + .site-footer .footer-copyright {
  width: min(1400px, calc(100% - 80px));
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .84);
  font-size: 15px;
}

.floating-contact a {
  display: inline-flex;
  min-width: 116px;
  grid-auto-flow: column;
  gap: 8px;
  border-width: 1px;
  font-size: 15px;
}

@media (max-width: 1100px) {
  .footer-cta-card { grid-template-columns: 260px minmax(0, 1fr) 210px; }
  .footer-cta-copy { padding-inline: 26px; }
  .footer-cta-button { min-width: 174px; margin-inline: 18px; }

  .site-footer,
  #site-content:has(.knowledgePage) + .site-footer { padding-top: 82px; }
  .site-footer .footer-grid,
  #site-content:has(.knowledgePage) + .site-footer .footer-grid {
    width: min(var(--container), calc(100% - 48px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 48px;
  }
  .footer-grid > div,
  #site-content:has(.knowledgePage) + .site-footer .footer-grid > div {
    padding: 0 32px;
  }
  .footer-grid > div:nth-child(2) { border-right: 0; }
  .footer-grid > div:nth-child(3) { padding-left: 0; }
  .footer-copyright,
  #site-content:has(.knowledgePage) + .site-footer .footer-copyright {
    width: min(var(--container), calc(100% - 48px));
  }
}

@media (max-width: 767px) {
  .footer-cta-band { padding: 26px 16px; }
  .footer-cta-card {
    width: 100%;
    grid-template-columns: 1fr;
  }
  .footer-cta-media { height: 176px; }
  .footer-cta-media img { min-height: 176px; object-position: center 38%; }
  .footer-cta-copy { padding: 28px 24px 18px; }
  .footer-cta-copy h2 { font-size: 28px; }
  .footer-cta-copy p { font-size: 15px; }
  .footer-cta-button {
    width: calc(100% - 48px);
    min-height: 54px;
    margin: 0 24px 28px;
  }

  .site-footer,
  #site-content:has(.knowledgePage) + .site-footer {
    min-height: 0;
    padding: 66px 0 104px;
    background-position: 65% center;
  }
  .site-footer .footer-grid,
  #site-content:has(.knowledgePage) + .site-footer .footer-grid {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .footer-grid > div,
  #site-content:has(.knowledgePage) + .site-footer .footer-grid > div,
  .footer-grid > div:first-child,
  .footer-grid > div:nth-child(3),
  .footer-grid > div:last-child {
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
  }
  .footer-grid > div:first-child { padding-top: 0; }
  .footer-grid > div:last-child { border-bottom: 0; }
  .footer-brand-column img { width: 146px; margin: 0 0 24px; }
  .footer-brand-column strong,
  .site-footer .footer-column h3 { margin-bottom: 19px; font-size: 20px; }
  .footer-brand-column p,
  #site-content:has(.knowledgePage) + .site-footer .footer-brand-column p { font-size: 15px; line-height: 1.75; }
  .footer-link-list > a,
  .footer-info-row { font-size: 15px; }
  .footer-copyright,
  #site-content:has(.knowledgePage) + .site-footer .footer-copyright {
    width: calc(100% - 40px);
    margin-top: 4px;
    padding-top: 24px;
    font-size: 13px;
    line-height: 1.6;
  }
  .floating-contact { display: none; }
}

.rough-pricing-page .container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.rough-kicker {
  display: inline-block;
  color: #0d4bb5;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.rough-kicker.light {
  color: #93c5fd;
}

.section-head-center {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px;
}

.rough-heading {
  margin: 0 0 12px;
  color: #06245f;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.rough-subheading {
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
}

.rough-group-title {
  margin: 0 0 14px;
  color: #06245f;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* HERO SECTION */
.rough-hero {
  --hero-img-1: url("/generated/rough-pricing/hero-rough-site.webp");
  min-height: 520px;
  position: relative;
  background: linear-gradient(90deg, rgba(6, 36, 95, 0.98) 0%, rgba(6, 36, 95, 0.92) 45%, rgba(6, 36, 95, 0.65) 75%, rgba(6, 36, 95, 0.25) 100%),
              var(--hero-img-1) center center / cover no-repeat;
  display: flex;
  align-items: center;
}

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

.rough-hero-copy {
  width: min(780px, 100%);
  padding: 60px 0 50px;
}

.rough-hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.rough-hero h1 {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.rough-hero-sub {
  margin: 16px 0 0;
  color: #e0f2fe;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 700;
  line-height: 1.4;
}

.rough-hero-text {
  max-width: 650px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.65;
}

.rough-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  background: #ffffff;
  color: #06245f;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 160ms ease;
}

.btn-hero-primary:hover {
  background: #f1f5f9;
  color: #0b3f8f;
  transform: translateY(-2px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 4px;
  transition: all 160ms ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
}

.rough-proof-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.rough-proof-row div {
  display: flex;
  gap: 10px;
  align-items: center;
}

.rough-proof-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: #93c5fd;
}

.rough-proof-row span {
  display: grid;
  gap: 2px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  line-height: 1.25;
}

.rough-proof-row strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

/* SECTION GLOBAL */
.rough-section {
  padding: 56px 0;
  background: #ffffff;
}

.rough-section:nth-of-type(even) {
  background: #f8fafc;
}

/* PRICING SECTION */
.rough-price-section {
  padding-top: 60px;
}

.rough-price-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.rough-side-title {
  border-right: 1px solid var(--surface-line);
  padding-right: 32px;
}

.rough-side-title h2 {
  margin: 0;
  color: #06245f;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 950;
  text-transform: uppercase;
}

.rough-divider-line {
  display: block;
  width: 44px;
  height: 3px;
  margin: 20px 0;
  background: #0d4bb5;
  border-radius: 2px;
}

.rough-side-title p {
  margin: 0 0 20px;
  color: #475569;
  line-height: 1.6;
  font-size: 14px;
}

.rough-side-callout {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  margin-top: 24px;
}

.rough-callout-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  color: #06245f;
}

.rough-side-callout p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #0f172a;
}

.rough-price-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rough-price-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.rough-price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(6, 36, 95, 0.12);
}

.rough-price-card.is-featured {
  border-color: #06245f;
  box-shadow: 0 8px 24px rgba(6, 36, 95, 0.16);
  position: relative;
}

.rough-price-head {
  padding: 24px 20px 18px;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
  background: #f8fafc;
  position: relative;
}

.rough-price-card.is-featured .rough-price-head {
  background: linear-gradient(135deg, #06245f 0%, #0b3f8f 100%);
  color: #ffffff;
  border-bottom-color: transparent;
}

.rough-card-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #06245f;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  margin-bottom: 8px;
}

.rough-price-card.is-featured .rough-card-badge {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.rough-price-head h3 {
  margin: 0;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  color: #06245f;
}

.rough-price-card.is-featured .rough-price-head h3 {
  color: #ffffff;
}

.rough-price-head p {
  margin: 6px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.35;
}

.rough-price-card.is-featured .rough-price-head p {
  color: rgba(255, 255, 255, 0.85);
}

.rough-price-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rough-price-body > strong {
  display: block;
  text-align: center;
  color: #06245f;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
  margin-bottom: 20px;
}

.rough-price-body small {
  font-size: 16px;
  font-weight: 700;
  color: #64748b;
  margin-left: 4px;
}

.rough-price-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1;
  display: grid;
  gap: 12px;
}

.rough-price-body li {
  font-size: 13px;
  color: #334155;
  line-height: 1.45;
  position: relative;
  padding-left: 20px;
}

.rough-price-body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #0d4bb5;
  font-weight: 900;
}

.rough-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #06245f;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: all 160ms ease;
}

.rough-card-btn:hover {
  background: #06245f;
  color: #ffffff;
}

.rough-price-card.is-featured .rough-card-btn {
  background: #06245f;
  color: #ffffff;
}

.rough-price-card.is-featured .rough-card-btn:hover {
  background: #0b3f8f;
}

.rough-pricing-notes-box {
  margin-top: 28px;
  padding: 20px 24px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
}

.rough-pricing-notes-box h4 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

.rough-pricing-notes-box ul {
  margin: 0;
  padding-left: 20px;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
}

/* 4 REASONS SECTION */
.rough-reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.rough-reason-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 28px 22px;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 180ms ease;
}

.rough-reason-card:hover {
  transform: translateY(-4px);
  border-color: #06245f;
  box-shadow: 0 12px 24px rgba(6, 36, 95, 0.08);
}

.rough-reason-num {
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 28px;
  font-weight: 950;
  color: #0d4bb5;
  margin-bottom: 12px;
}

.rough-reason-card h3 {
  margin: 0 0 10px;
  color: #06245f;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.rough-reason-card p {
  margin: 0;
  color: #475569;
  font-size: 13.5px;
  line-height: 1.55;
}

/* SCOPE OF WORK SECTION */
.rough-scope-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}

.rough-scope-card {
  border-radius: 6px;
  overflow: hidden;
  background: #06245f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.rough-scope-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  display: block;
}

.rough-scope-card strong {
  display: grid;
  place-items: center;
  min-height: 56px;
  padding: 8px 10px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
}

.rough-scope-details-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
}

.rough-scope-column {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.rough-scope-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  color: #ffffff;
}

.rough-scope-header-blue {
  background: linear-gradient(135deg, #06245f 0%, #0d4bb5 100%);
}

.rough-scope-header-navy {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.rough-scope-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.rough-scope-header h3 {
  margin: 0;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
}

.rough-scope-list {
  list-style: none;
  padding: 24px;
  margin: 0;
  display: grid;
  gap: 14px;
}

.rough-scope-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.5;
  color: #334155;
}

.rough-check-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #0d4bb5;
  margin-top: 2px;
}

.rough-scope-excluded-box {
  margin: 0 24px 24px;
  padding: 18px 20px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
}

.rough-scope-excluded-box h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

.rough-alert-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #64748b;
}

.rough-scope-excluded-box ul {
  margin: 0;
  padding-left: 18px;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
}

.rough-scope-excluded-box li {
  margin-bottom: 8px;
}

/* TECHNICAL DIFFERENTIATORS SECTION */
.rough-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rough-tech-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.rough-tech-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.rough-tech-check {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #0d4bb5;
  margin-top: 2px;
}

.rough-tech-header h3 {
  margin: 0;
  color: #06245f;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
}

.rough-tech-card p {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
}

/* MATERIAL SPECS SECTION */
.rough-materials-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
}

.rough-materials-table th {
  background: #06245f;
  color: #ffffff;
  padding: 14px 20px;
  font-weight: 900;
  text-align: left;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.rough-materials-table th:last-child {
  border-right: 0;
}

.rough-materials-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  color: #334155;
  line-height: 1.5;
}

.rough-materials-table tr:nth-child(even) td {
  background: #f8fafc;
}

.rough-materials-table tr:hover td {
  background: #f1f5f9;
}

.rough-spec-brand {
  color: #0d4bb5;
  font-weight: 700;
}

.rough-material-guarantee {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  padding: 20px 24px;
  background: #f0fdf4;
  border: 2px dashed #16a34a;
  border-radius: 8px;
}

.rough-guarantee-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  color: #15803d;
}

.rough-material-guarantee strong {
  display: block;
  color: #166534;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 4px;
}

.rough-material-guarantee p {
  margin: 0;
  color: #14532d;
  font-size: 14px;
  line-height: 1.5;
}

/* INTERACTIVE CALCULATOR SECTION */
.rough-interactive-calc-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 8px 28px rgba(6, 36, 95, 0.06);
}

.rough-calc-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rough-calc-field label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.rough-calc-field input,
.rough-calc-field select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 10px 14px;
  color: #0f172a;
  font-size: 14px;
  background: #f8fafc;
}

.rough-calc-field input:focus,
.rough-calc-field select:focus {
  outline: none;
  border-color: #06245f;
  background: #ffffff;
}

.rough-calc-result-panel {
  background: linear-gradient(135deg, #06245f 0%, #0b3f8f 100%);
  color: #ffffff;
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rough-calc-res-item {
  margin-bottom: 16px;
}

.rough-calc-res-item span {
  display: block;
  font-size: 13px;
  color: #93c5fd;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.rough-calc-res-item strong {
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 24px;
  font-weight: 950;
  color: #ffffff;
}

.rough-calc-res-item.highlight strong {
  font-size: 28px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.rough-calc-note {
  font-size: 12px;
  color: #bfdbfe;
  line-height: 1.45;
  margin: 0 0 20px;
}

.btn-calc-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  background: #ffffff;
  color: #06245f;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 4px;
  transition: all 160ms ease;
}

.btn-calc-apply:hover {
  background: #f1f5f9;
  color: #0b3f8f;
}

/* AREA RATE CARDS & FORMULA GRID */
.rough-formula-wrap,
.rough-area-wrap {
  margin-top: 48px;
}

.rough-formula-title,
.rough-group-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 24px;
  color: #06245f;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.rough-formula-title .formula-icon {
  width: 24px;
  height: 24px;
  color: #0d4bb5;
}

.rough-formula-grid,
.rough-area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.rough-formula-card,
.rough-area-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(6, 36, 95, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.rough-formula-card:hover,
.rough-area-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(6, 36, 95, 0.09);
  border-color: #93c5fd;
}

.rough-formula-card-head,
.rough-area-card h3,
.rough-formula-card h4 {
  margin: 0;
  background: #f8fafc;
  color: #06245f;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rough-formula-card ul,
.rough-area-card ul {
  list-style: none;
  padding: 14px 18px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.rough-formula-card li,
.rough-area-card li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  padding: 8px 0;
  border-bottom: 1px dashed #f1f5f9;
  gap: 12px;
  /* Không có wrap thì trên màn hẹp cột tên bị bóp còn 33px ("Móng đơn" xuống
     2 dòng) mà viên giá vẫn nowrap nên tràn khỏi thẻ và bị cắt mất chữ — đo
     được 20 viên bị cắt ở 390px, chỉ đọc được "30%" thay vì "30% diện tích
     sàn". Cho phép xuống dòng để viên giá tụt xuống hàng dưới khi chật. */
  flex-wrap: wrap;
}

.rough-formula-card li:last-child,
.rough-area-card li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rough-area-item-name,
.rough-formula-item-name {
  color: #334155;
  font-weight: 500;
  line-height: 1.4;
  /* flex: 1 (basis 0) khiến tên co xuống gần bằng 0 trước khi hàng chịu xuống
     dòng; basis auto giữ tên ở bề rộng nội dung rồi mới đẩy viên giá xuống. */
  flex: 1 1 auto;
  min-width: 0;
}

.rough-area-item-rate,
.rough-formula-item-rate {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-weight: 800;
  font-size: 12.5px;
  padding: 4px 10px;
  border-radius: 9999px;
  white-space: nowrap;
  letter-spacing: -0.01em;
  flex: 0 0 auto;
}

.rough-example-box {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(6, 36, 95, 0.05);
  margin-top: 24px;
}

.rough-example-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: #06245f;
  color: #ffffff;
}

.rough-example-icon {
  width: 22px;
  height: 22px;
  color: #93c5fd;
}

.rough-example-head h3 {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

.rough-example-content {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.rough-example-rows {
  display: grid;
  gap: 10px;
}

.rough-example-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  padding: 6px 0;
  border-bottom: 1px solid #e2e8f0;
}

.rough-example-row span {
  color: #334155;
}

.rough-example-row strong {
  color: #0f172a;
}

.rough-example-total {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  background: #ffffff;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}

.rough-example-total-m2 span,
.rough-example-total-cost span {
  display: block;
  font-size: 13px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.rough-example-total-m2 strong {
  color: #06245f;
  font-size: 24px;
  font-weight: 950;
  font-family: var(--font-montserrat), Arial, sans-serif;
}

.rough-example-total-cost strong {
  color: #06245f;
  font-size: 22px;
  font-weight: 950;
  font-family: var(--font-montserrat), Arial, sans-serif;
}

/* 24/7 REMOTE CAMERA SECTION (ISOLATED DARK NAVY BOX) */
.rough-camera-section-wrap {
  background: #f8fafc;
  padding: 56px 0;
}

.rough-camera-dark-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #06245f 0%, #031b49 100%);
  color: #ffffff;
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(6, 36, 95, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.rough-camera-copy h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 950;
  line-height: 1.25;
  text-transform: uppercase;
}

.rough-camera-text-block p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.camera-highlight {
  color: #93c5fd;
  font-weight: 800;
}

.rough-camera-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.rough-camera-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.rough-camera-feat .feat-icon {
  width: 16px;
  height: 16px;
  color: #93c5fd;
}

.rough-camera-frame {
  border-radius: 10px;
  overflow: hidden;
  background: #020d20;
  border: 2px solid #1e3a8a;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.rough-cam-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #0b1e3b;
  font-size: 11px;
  font-weight: 800;
  color: #93c5fd;
  letter-spacing: 0.05em;
}

/* Chấm tĩnh, màu trung tính. Trước 2026-08-21 đây là chấm đỏ nhấp nháy
   kèm nhãn "LIVE STREAMING" bọc quanh một ảnh .webp tĩnh — mô phỏng một
   tính năng không tồn tại. Xem biên bản rà soát mục A-02. */
.rough-cam-dot {
  width: 8px;
  height: 8px;
  background: #93c5fd;
  border-radius: 50%;
  opacity: 0.7;
}

.rough-cam-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.rough-cam-footer {
  padding: 8px 16px;
  background: #0b1e3b;
  font-size: 11px;
  color: #22c55e;
  font-weight: 700;
}

/* 6 COMMITMENTS SECTION */
.rough-commitments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.rough-commitment-card {
  position: relative;
  padding: 32px 24px 28px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 180ms ease;
}

.rough-commitment-card:hover {
  transform: translateY(-4px);
  border-color: #06245f;
  box-shadow: 0 12px 28px rgba(6, 36, 95, 0.1);
}

.rough-com-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 38px;
  font-weight: 950;
  color: #e2e8f0;
  line-height: 1;
}

.rough-commitment-card h3 {
  margin: 0 0 12px;
  color: #06245f;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.rough-commitment-card p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

/* TIMELINE PROCESS SECTION */
.rough-process-timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.rough-process-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 20px 16px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.rough-process-num-badge {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #06245f;
  color: #ffffff;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  border-radius: 50%;
  margin-bottom: 12px;
}

.rough-process-card h4 {
  margin: 0 0 8px;
  color: #06245f;
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.3;
}

.rough-process-card p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

/* COMPARISON TABLE */
.rough-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
}

.rough-compare-table th {
  background: #06245f;
  color: #ffffff;
  padding: 14px 20px;
  font-weight: 900;
  text-align: left;
  font-size: 13.5px;
  text-transform: uppercase;
}

.rough-compare-table td {
  padding: 12px 20px;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  color: #334155;
}

.rough-compare-table td.highlight-col {
  background: #f8fafc;
  color: #06245f;
  font-weight: 700;
}

/* FAQ ACCORDION SECTION */
.rough-faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.rough-faq-item {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 160ms ease;
}

.rough-faq-item.is-open {
  border-color: #06245f;
  box-shadow: 0 4px 16px rgba(6, 36, 95, 0.06);
}

.rough-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: transparent;
  border: 0;
  text-align: left;
  color: #06245f;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #0d4bb5;
  transition: transform 200ms ease;
}

.faq-chevron.is-rotated {
  transform: rotate(180deg);
}

.rough-faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid #f1f5f9;
}

.rough-faq-answer p {
  margin: 14px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}

/* GALLERY */
.rough-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.rough-gallery-item {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
}

.rough-gallery-item img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  display: block;
  transition: transform 240ms ease;
}

.rough-gallery-item:hover img {
  transform: scale(1.06);
}

.rough-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 24px;
  background: #06245f;
  color: #ffffff;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 160ms ease;
}

.rough-more:hover {
  background: #0b3f8f;
  color: #ffffff;
}

/* QUOTE SECTION & FORM */
.rough-quote-box {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(6, 36, 95, 0.08);
}

.rough-quote-box aside {
  background: linear-gradient(135deg, #06245f 0%, #031b49 100%);
  color: #ffffff;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rough-quote-box aside h2 {
  margin: 0 0 20px;
  color: #ffffff;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 26px;
  font-weight: 950;
  line-height: 1.25;
  text-transform: uppercase;
}

.rough-aside-checklist {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.rough-aside-checklist p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
}

.rough-call {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  color: #ffffff;
  transition: background 160ms ease;
}

.rough-call:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.rough-call span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #0d4bb5;
  color: #ffffff;
  border-radius: 50%;
}

.rough-quote-box form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 40px 36px;
  background: #ffffff;
  align-content: center;
}

.rough-quote-box label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.rough-quote-box input,
.rough-quote-box select,
.rough-quote-box textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 10px 14px;
  color: #0f172a;
  font-size: 14px;
  transition: border-color 140ms ease;
}

.rough-quote-box input:focus,
.rough-quote-box select:focus,
.rough-quote-box textarea:focus {
  outline: none;
  border-color: #06245f;
}

.btn-submit-quote {
  width: 100%;
  min-height: 48px;
  background: #06245f;
  color: #ffffff;
  border: 0;
  border-radius: 4px;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(6, 36, 95, 0.25);
  transition: all 160ms ease;
}

.btn-submit-quote:hover {
  background: #0b3f8f;
}

.rough-form-privacy {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 12px;
  text-align: center;
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
  .rough-price-layout {
    grid-template-columns: 1fr;
  }
  .rough-side-title {
    border-right: 0;
    border-bottom: 1px solid var(--surface-line);
    padding-right: 0;
    padding-bottom: 24px;
  }
  .rough-reasons-grid {
    grid-template-columns: 1fr 1fr;
  }
  .rough-scope-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rough-scope-details-grid {
    grid-template-columns: 1fr;
  }
  .rough-tech-grid {
    grid-template-columns: 1fr 1fr;
  }
  .rough-interactive-calc-card {
    grid-template-columns: 1fr;
  }
  /* .rough-formula-grid bị bỏ quên: nó giữ nguyên repeat(3, 1fr) ở MỌI bề
     rộng, nên ở 390px mỗi thẻ chỉ còn ~109px, viên giá 131px nowrap không thể
     vừa và bị .rough-formula-card (overflow:hidden) cắt mất chữ. Cho nó theo
     đúng nhịp của .rough-area-grid bên cạnh. */
  .rough-area-grid,
  .rough-formula-grid {
    grid-template-columns: 1fr 1fr;
  }
  .rough-example-content {
    grid-template-columns: 1fr;
  }
  .rough-camera-dark-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .rough-commitments-grid {
    grid-template-columns: 1fr 1fr;
  }
  .rough-process-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rough-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rough-quote-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .rough-hero-copy {
    padding: 40px 0 36px;
  }
  .rough-proof-row {
    grid-template-columns: 1fr 1fr;
  }
  .rough-price-cards {
    grid-template-columns: 1fr;
  }
  .rough-reasons-grid {
    grid-template-columns: 1fr;
  }
  .rough-scope-grid {
    grid-template-columns: 1fr 1fr;
  }
  .rough-tech-grid {
    grid-template-columns: 1fr;
  }
  .rough-calc-inputs {
    grid-template-columns: 1fr;
  }
  .rough-area-grid,
  .rough-formula-grid {
    grid-template-columns: 1fr;
  }
  .rough-commitments-grid {
    grid-template-columns: 1fr;
  }
  .rough-process-timeline {
    grid-template-columns: 1fr;
  }
  .rough-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .rough-quote-box form {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
}

/* ==========================================================================
   DESIGN PRICING PAGES (PARENT & CHILD SUBPAGES)
   ========================================================================== */
.design-master-hero {
  --hero-bg: url("/generated/h77cons-ai-pricing-hero.webp");
  min-height: 520px;
  position: relative;
  background: linear-gradient(90deg, rgba(6, 36, 95, 0.98) 0%, rgba(6, 36, 95, 0.92) 45%, rgba(6, 36, 95, 0.65) 75%, rgba(6, 36, 95, 0.3) 100%),
              var(--hero-bg) center center / cover no-repeat;
  display: flex;
  align-items: center;
}

.design-townhouse-hero {
  --hero-bg: url("/generated/project-townhouse/hero-dusk-v1.webp");
  min-height: 520px;
  position: relative;
  background: linear-gradient(90deg, rgba(6, 36, 95, 0.98) 0%, rgba(6, 36, 95, 0.92) 45%, rgba(6, 36, 95, 0.65) 75%, rgba(6, 36, 95, 0.3) 100%),
              var(--hero-bg) center center / cover no-repeat;
  display: flex;
  align-items: center;
}

.design-villa-hero {
  --hero-bg: url("/generated/project-villa/hero-dusk-v1.webp");
  min-height: 520px;
  position: relative;
  background: linear-gradient(90deg, rgba(6, 36, 95, 0.98) 0%, rgba(6, 36, 95, 0.92) 45%, rgba(6, 36, 95, 0.65) 75%, rgba(6, 36, 95, 0.3) 100%),
              var(--hero-bg) center center / cover no-repeat;
  display: flex;
  align-items: center;
}

.design-apartment-hero {
  --hero-bg: url("/generated/project-serviced-apartment/hero-dusk-v1.webp");
  min-height: 520px;
  position: relative;
  background: linear-gradient(90deg, rgba(6, 36, 95, 0.98) 0%, rgba(6, 36, 95, 0.92) 45%, rgba(6, 36, 95, 0.65) 75%, rgba(6, 36, 95, 0.3) 100%),
              var(--hero-bg) center center / cover no-repeat;
  display: flex;
  align-items: center;
}

.design-office-hero {
  --hero-bg: url("/generated/project-office/hero-dusk-v1.webp");
  min-height: 520px;
  position: relative;
  background: linear-gradient(90deg, rgba(6, 36, 95, 0.98) 0%, rgba(6, 36, 95, 0.92) 45%, rgba(6, 36, 95, 0.65) 75%, rgba(6, 36, 95, 0.3) 100%),
              var(--hero-bg) center center / cover no-repeat;
  display: flex;
  align-items: center;
}

.design-hotel-hero {
  --hero-bg: url("/generated/project-hotel/hero-dusk-v1.webp");
  min-height: 520px;
  position: relative;
  background: linear-gradient(90deg, rgba(6, 36, 95, 0.98) 0%, rgba(6, 36, 95, 0.92) 45%, rgba(6, 36, 95, 0.65) 75%, rgba(6, 36, 95, 0.3) 100%),
              var(--hero-bg) center center / cover no-repeat;
  display: flex;
  align-items: center;
}

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

.design-hero-copy {
  width: min(820px, 100%);
  padding: 60px 0 50px;
}

.design-incentive-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  color: #ffffff;
  font-size: 13px;
}

.badge-item.highlight {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

.badge-item strong {
  color: #ffffff;
  margin-right: 4px;
}

/* 5 CATEGORIES GRID */
.design-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.design-cat-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.design-cat-card:hover {
  transform: translateY(-4px);
  border-color: #06245f;
  box-shadow: 0 12px 28px rgba(6, 36, 95, 0.1);
}

.design-cat-image-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.design-cat-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 240ms ease;
}

.design-cat-card:hover .design-cat-image-wrap img {
  transform: scale(1.06);
}

.design-cat-price {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 6px 14px;
  background: #06245f;
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.design-cat-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.design-cat-body h3 {
  margin: 0 0 10px;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.design-cat-body h3 a {
  color: #06245f;
  text-decoration: none;
}

.design-cat-body h3 a:hover {
  color: #0d4bb5;
}

.design-cat-body p {
  margin: 0 0 16px;
  color: #475569;
  font-size: 13.5px;
  line-height: 1.55;
}

.design-cat-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex-grow: 1;
  display: grid;
  gap: 8px;
}

.design-cat-highlights li {
  font-size: 12.5px;
  color: #334155;
  line-height: 1.4;
}

.design-cat-link {
  display: inline-flex;
  align-items: center;
  color: #0d4bb5;
  font-weight: 850;
  font-size: 13.5px;
  text-decoration: none;
  transition: color 140ms ease;
}

.design-cat-link:hover {
  color: #06245f;
}

/* MASTER PRICING TABLE */
.design-master-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
}

.design-master-table th {
  background: #06245f;
  color: #ffffff;
  padding: 16px 20px;
  font-weight: 900;
  text-align: left;
  font-size: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.design-master-table th small {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: #93c5fd;
  margin-top: 4px;
}

.design-master-table th.th-highlight {
  background: #0b3f8f;
}

.design-master-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  color: #334155;
}

.design-master-table td.td-highlight {
  background: #f0f7ff;
  color: #06245f;
}

.table-type-link {
  color: #06245f;
  text-decoration: none;
  font-size: 14px;
}

.table-type-link:hover {
  color: #0d4bb5;
}

.design-table-notes {
  margin-top: 24px;
  padding: 20px 24px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
}

.design-table-notes p {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 14px;
}

.design-table-notes ul {
  margin: 0;
  padding-left: 20px;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
}

/* DESIGN ESTIMATOR WIDGET */
.design-calc-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 8px 28px rgba(6, 36, 95, 0.06);
}

.design-calc-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.design-calc-field label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.design-calc-field input,
.design-calc-field select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 10px 14px;
  color: #0f172a;
  font-size: 14px;
  background: #f8fafc;
}

.design-calc-field input:focus,
.design-calc-field select:focus {
  outline: none;
  border-color: #06245f;
  background: #ffffff;
}

.design-calc-result-panel {
  background: linear-gradient(135deg, #06245f 0%, #0b3f8f 100%);
  color: #ffffff;
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.design-calc-meta-row {
  margin-bottom: 12px;
}

.design-calc-meta-row span {
  display: block;
  font-size: 12px;
  color: #93c5fd;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
}

.design-calc-meta-row strong {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
}

.design-calc-main-cost span {
  display: block;
  font-size: 12px;
  color: #bfdbfe;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
}

.design-calc-main-cost strong {
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 26px;
  font-weight: 950;
  color: #ffffff;
}

.design-calc-incentives {
  display: grid;
  gap: 10px;
  margin: 16px 0 20px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}

.incentive-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.incentive-item.highlight {
  color: #ffffff;
}

.incentive-item span {
  display: block;
  color: #bfdbfe;
  font-size: 11px;
}

.incentive-item strong {
  color: #ffffff;
  font-size: 12.5px;
}

.incentive-icon {
  flex: 0 0 auto;
  color: #93c5fd;
  margin-top: 2px;
}

/* DESIGN ESTIMATOR MVP — lớp giao diện mới, giữ selector cũ để không ảnh hưởng các trang */
.design-calc-shell {
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 22px 64px rgba(6, 36, 95, 0.12);
}

.design-calc-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  padding: 8px 24px;
  border-bottom: 1px solid #dbeafe;
  background: #eff6ff;
  color: #0b3f8f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.design-calc-topline span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.design-calc-shell .design-calc-card {
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.design-calc-shell .design-calc-inputs {
  align-content: start;
  gap: 20px 18px;
  padding: 32px;
}

.design-calc-intro,
.design-calc-field-wide {
  grid-column: 1 / -1;
}

.design-calc-intro {
  padding-bottom: 4px;
}

.design-calc-step {
  display: block;
  margin-bottom: 7px;
  color: #0d4bb5;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.design-calc-intro h3 {
  margin: 0 0 6px;
  color: #06245f;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 900;
  letter-spacing: -.02em;
}

.design-calc-intro p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.design-calc-shell .design-calc-field label,
.design-calc-fieldset legend {
  display: block;
  padding: 0;
  margin-bottom: 8px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.design-calc-field label small {
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
}

.design-calc-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.design-calc-shell .design-calc-field input,
.design-calc-shell .design-calc-field select {
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
}

.design-calc-shell .design-calc-field input:focus,
.design-calc-shell .design-calc-field select:focus {
  outline: 3px solid rgba(13, 75, 181, .12);
  border-color: #0d4bb5;
}

.design-number-control {
  position: relative;
}

.design-number-control input {
  padding-right: 60px !important;
}

.design-number-control > span {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
}

.design-package-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.design-package-option {
  position: relative;
  min-height: 104px;
  padding: 16px 12px 13px;
  border: 1px solid #d7dee8;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.design-package-option:hover {
  transform: translateY(-1px);
  border-color: #93c5fd;
  box-shadow: 0 8px 20px rgba(6, 36, 95, .08);
}

.design-package-option.is-selected {
  border-color: #0d4bb5;
  background: #eff6ff;
  box-shadow: inset 0 0 0 1px #0d4bb5;
}

.design-package-option strong,
.design-package-option small {
  display: block;
}

.design-package-option strong {
  margin-bottom: 5px;
  color: #06245f;
  font-size: 14px;
  font-weight: 900;
}

.design-package-option small {
  color: #64748b;
  font-size: 11px;
  line-height: 1.4;
}

.design-package-check {
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #fff;
  background: #fff;
}

.design-package-option.is-selected .design-package-check {
  border-color: #0d4bb5;
  background: #0d4bb5;
}

.design-choice-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.design-choice-row.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.design-choice-row button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #d7dee8;
  border-radius: 9px;
  background: #fff;
  color: #475569;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.design-choice-row button.is-selected {
  border-color: #0d4bb5;
  color: #06245f;
  background: #eff6ff;
  box-shadow: inset 0 0 0 1px #0d4bb5;
}

.design-choice-row button strong {
  color: #0d4bb5;
  font-size: 11px;
  font-weight: 900;
}

.design-calc-shell .design-calc-result-panel {
  min-width: 0;
  padding: 30px;
  border-radius: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(75, 163, 255, .26), transparent 34%),
    linear-gradient(145deg, #041b49 0%, #06245f 48%, #0b3f8f 100%);
}

.design-result-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.design-result-heading div span,
.design-quote-code span {
  display: block;
  margin-bottom: 4px;
  color: #93c5fd;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.design-result-heading div strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.design-calc-shell .design-calc-main-cost {
  padding: 24px 0 20px;
}

.design-calc-shell .design-calc-main-cost span {
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .045em;
}

.design-calc-shell .design-calc-main-cost strong {
  display: block;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -.035em;
  line-height: 1.2;
}

.design-calc-main-cost strong i {
  color: #60a5fa;
  font-style: normal;
  font-weight: 500;
}

.design-calc-main-cost > small {
  display: block;
  margin-top: 8px;
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 650;
}

.design-result-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  background: rgba(255, 255, 255, .14);
}

.design-result-stats > div {
  padding: 12px 10px;
  background: rgba(3, 24, 65, .7);
  text-align: center;
}

.design-result-stats span,
.design-result-stats strong {
  display: block;
}

.design-result-stats span {
  margin-bottom: 4px;
  color: #bfdbfe;
  font-size: 9px;
  line-height: 1.25;
  text-transform: uppercase;
}

.design-result-stats strong {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.design-result-section {
  margin-top: 20px;
}

.design-result-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  color: #dbeafe;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.design-breakdown {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 9px;
  background: rgba(255, 255, 255, .12);
}

.design-breakdown > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  background: rgba(3, 24, 65, .66);
}

.design-breakdown span,
.design-breakdown strong {
  color: #fff;
  font-size: 11px;
}

.design-breakdown span {
  line-height: 1.35;
}

.design-breakdown span small {
  display: block;
  margin-top: 2px;
  color: #93c5fd;
  font-size: 9px;
}

.design-breakdown strong {
  flex: 0 0 auto;
  font-weight: 850;
}

.design-factor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.design-factor-list span {
  padding: 5px 8px;
  border: 1px solid rgba(147, 197, 253, .27);
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(59, 130, 246, .1);
  font-size: 9px;
  font-weight: 750;
}

.design-inclusion-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.design-inclusion-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #dbeafe;
  font-size: 10px;
  line-height: 1.35;
}

.design-inclusion-list li svg {
  flex: 0 0 auto;
  color: #60a5fa;
}

.design-result-actions {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.design-quote-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.design-quote-code span {
  margin: 0;
}

.design-quote-code strong {
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: .045em;
}

.design-result-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 0 0 13px;
  color: #bfdbfe;
  font-size: 10px;
  line-height: 1.5;
}

.design-result-note svg {
  flex: 0 0 auto;
  margin-top: 1px;
}

.design-result-buttons {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.design-result-buttons .btn-calc-apply,
.design-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.design-result-buttons .btn-calc-apply {
  padding: 0 16px;
}

.design-copy-button {
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font: inherit;
  cursor: pointer;
}

.design-copy-button:hover {
  background: rgba(255, 255, 255, .15);
}

.design-result-assurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 11px;
  color: #93c5fd;
  font-size: 9px;
}

@media (max-width: 1100px) {
  .design-calc-shell .design-calc-card {
    grid-template-columns: 1fr;
  }

  .design-calc-shell .design-calc-result-panel {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .design-calc-shell {
    margin-inline: -4px;
    border-radius: 14px;
  }

  .design-calc-topline {
    align-items: flex-start;
    padding: 9px 16px;
    font-size: 9px;
  }

  .design-calc-shell .design-calc-inputs,
  .design-calc-shell .design-calc-result-panel {
    padding: 22px 16px;
  }

  .design-calc-shell .design-calc-inputs {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .design-calc-intro,
  .design-calc-field-wide {
    grid-column: auto;
  }

  .design-package-options {
    grid-template-columns: 1fr;
  }

  .design-package-option {
    min-height: 72px;
    padding-right: 42px;
  }

  .design-choice-row {
    grid-template-columns: 1fr;
  }

  .design-result-stats {
    grid-template-columns: 1fr;
  }

  .design-result-stats > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
  }

  .design-result-stats span {
    margin: 0;
  }

  .design-inclusion-list,
  .design-result-buttons {
    grid-template-columns: 1fr;
  }

  .design-copy-button {
    width: 100%;
  }
}

/* DOSSIER SECTION */
.design-dossier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.design-dossier-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 24px 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.dossier-card-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.dossier-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  text-transform: uppercase;
}

.dossier-card-head h3 {
  margin: 0;
  color: #06245f;
  font-size: 16px;
  font-weight: 900;
}

.design-dossier-card p {
  margin: 0;
  color: #475569;
  font-size: 13.5px;
  line-height: 1.55;
}

/* WORKFLOW STEPS */
.design-steps-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.design-step-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 20px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.design-step-badge {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #06245f;
  color: #ffffff;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  border-radius: 50%;
  margin-bottom: 12px;
}

.design-step-card h4 {
  margin: 0 0 8px;
  color: #06245f;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.design-step-card p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.incentive-banner-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
}

.gift-icon {
  flex: 0 0 auto;
  color: #0d4bb5;
}

.incentive-banner-card strong {
  display: block;
  color: #06245f;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 4px;
}

.incentive-banner-card p {
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.5;
}

/* RESPONSIVE DESIGN FOR DESIGN PAGES */
@media (max-width: 1024px) {
  .design-cat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .design-calc-card {
    grid-template-columns: 1fr;
  }
  .design-dossier-grid {
    grid-template-columns: 1fr 1fr;
  }
  .design-steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .design-cat-grid {
    grid-template-columns: 1fr;
  }
  .design-calc-inputs {
    grid-template-columns: 1fr;
  }
  .design-dossier-grid {
    grid-template-columns: 1fr;
  }
  .design-steps-grid {
    grid-template-columns: 1fr;
  }
}

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

.decision-card,
.proof-card,
.scenario-card,
.contact-card {
  border: 1px solid var(--surface-line);
  background: white;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(0, 9, 40, 0.06);
}

.decision-card span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--secondary);
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
}

.decision-card p,
.proof-card p,
.scenario-card p,
.contact-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.proof-card {
  min-height: 220px;
  display: grid;
  align-content: end;
}

.scenario-card {
  min-height: 220px;
}

.contact-grid {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.contact-card {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.contact-card span {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-card strong {
  color: var(--primary);
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.project-detail-hero {
  min-height: 620px;
  position: relative;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: white;
  background: var(--primary);
}

.project-detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.project-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 36, 95, 0.95), rgba(6, 36, 95, 0.72), rgba(6, 36, 95, 0.24));
}

.project-detail-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 86px;
}

.project-detail-content .h1 {
  color: white;
  max-width: 840px;
}

.project-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-gap: 16px;
  gap: 16px;
}

.project-gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border: 1px solid var(--surface-line);
  box-shadow: 0 18px 42px rgba(6, 36, 95, 0.1);
}

.project-gallery img:first-child {
  grid-row: span 2;
  height: 616px;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  grid-gap: 36px;
  gap: 36px;
  align-items: start;
}

.service-list span {
  background: white;
  color: var(--primary);
  border-color: var(--surface-line);
}

.timeline-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.timeline-step {
  min-height: 160px;
  display: grid;
  align-content: end;
  grid-gap: 10px;
  gap: 10px;
  border: 1px solid var(--surface-line);
  background: white;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(6, 36, 95, 0.06);
}

.timeline-step span {
  color: var(--secondary);
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
}

.timeline-step strong {
  color: var(--primary);
}

.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-gap: 18px;
  gap: 18px;
  align-items: start;
  min-height: 152px;
  border-radius: 8px;
}

.step-number {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  background: var(--primary);
  color: white;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-weight: 800;
  border-radius: 6px;
  box-shadow: 0 12px 24px rgba(6, 36, 95, 0.16);
}

.process-step p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.toc {
  position: -webkit-sticky;
  position: sticky;
  top: 96px;
}

.content-card {
  display: grid;
  grid-gap: 28px;
  gap: 28px;
}

.content-card section {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.content-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.content-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--surface-line);
  background: white;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

td code {
  display: inline-block;
  max-width: 280px;
  overflow-wrap: anywhere;
  white-space: normal;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--surface-line);
  text-align: left;
}

th {
  background: var(--primary);
  color: white;
  font-size: 13px;
  text-transform: uppercase;
}

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

.quote-form {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: 28px;
}

.lead-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 34px;
  gap: 34px;
  align-items: start;
}

.lead-consultation {
  display: grid;
  align-content: start;
}

.lead-consultation .lead {
  margin-bottom: 24px;
}

.lead-consultation-image {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--surface-line);
  border-radius: 8px;
  background: var(--surface-soft);
  box-shadow: 0 18px 46px rgba(0, 25, 73, 0.1);
}

.lead-consultation-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(180deg, transparent, rgba(4, 35, 91, 0.18));
  pointer-events: none;
}

.lead-consultation-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center 48%;
}

.quote-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(75, 163, 255, 0.18), transparent 42%);
  pointer-events: none;
}

.quote-form > * {
  position: relative;
  z-index: 1;
}

.field {
  display: grid;
  grid-gap: 7px;
  gap: 7px;
}

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

.field label {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--surface-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.88);
  padding: 12px 13px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: white;
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px rgba(60, 93, 159, 0.16);
}

.site-footer {
  background:
    linear-gradient(180deg, rgba(6, 36, 95, 0.98), rgba(3, 19, 52, 1));
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 30px;
}

.site-footer strong,
.site-footer a {
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.12fr 1fr 1.2fr 0.82fr;
  grid-gap: 24px;
  gap: 24px;
}

.footer-grid > div {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 18px;
}

.footer-logo-panel {
  display: grid;
  align-content: start;
  justify-items: start;
  min-height: 150px;
}

.footer-logo-panel img {
  width: min(150px, 100%);
  height: auto;
}

.footer-intro strong {
  display: block;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 18px;
}

.site-footer p {
  line-height: 1.6;
}

.site-footer a:hover {
  color: var(--brand-cyan);
}

.bottom-cta {
  display: none;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 51;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.floating-contact a {
  min-width: 92px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(31, 117, 214, 0.92);
  color: white;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(6, 36, 95, 0.22);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.floating-contact a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(6, 36, 95, 0.28);
}

.floating-contact a:last-child {
  background: var(--button-gray-dark);
}

/* Compact footer proportions for the knowledge-hub reference. */
#site-content:has(.knowledgePage) + .site-footer {
  padding: 34px 0 22px;
}

#site-content:has(.knowledgePage) + .site-footer .container {
  width: min(1404px, calc(100% - 64px));
}

#site-content:has(.knowledgePage) + .site-footer .footer-grid {
  grid-template-columns: .65fr 1.05fr .92fr 1.08fr .8fr;
  gap: 28px;
}

#site-content:has(.knowledgePage) + .site-footer .footer-logo-panel {
  min-height: 118px;
}

#site-content:has(.knowledgePage) + .site-footer .footer-logo-panel img {
  width: 118px;
}

#site-content:has(.knowledgePage) + .site-footer p {
  margin: 8px 0;
  line-height: 1.55;
}

#site-content:has(.knowledgePage) + .site-footer .footer-intro strong {
  font-size: 18px;
}

@media (max-width: 980px) {
  #site-content:has(.knowledgePage) + .site-footer .container {
    width: min(var(--container), calc(100% - 24px));
  }

  #site-content:has(.knowledgePage) + .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
 * UNIFIED ENTERPRISE CMS DESIGN SYSTEM (100% HARMONIOUS STYLE)
 * Primary: #0f172a | Accent: #2563eb | Surface: #f8fafc | Card: #ffffff
 * ------------------------------------------------------------- */
.cms-app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
  background: #f8fafc;
  font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1e293b;
}

.cms-main-wrapper {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* 🟢 Unified Topbar */
.cms-unified-topbar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  height: 54px;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.cms-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cms-topbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #0f172a;
  letter-spacing: 0.5px;
}

.cms-topbar-divider {
  color: #cbd5e1;
}

.cms-topbar-viewsite {
  font-size: 13px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.cms-topbar-viewsite:hover {
  text-decoration: underline;
}

.cms-topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cms-topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cms-topbar-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cms-topbar-details {
  display: flex;
  flex-direction: column;
}

.cms-topbar-email {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.cms-topbar-badge {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
}

.cms-topbar-logout-btn {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cms-topbar-logout-btn:hover {
  background: #fef2f2;
  color: #ef4444;
  border-color: #fca5a5;
}

/* 🔵 Unified Sidebar */
.cms-unified-sidebar {
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-sizing: border-box;
}

.cms-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 0 8px;
}

.cms-brand-badge {
  width: 36px;
  height: 36px;
  background: #0f172a;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.cms-brand-text {
  display: flex;
  flex-direction: column;
}

.cms-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.cms-brand-tag {
  font-size: 10px;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.5px;
}

.cms-sidebar-nav-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cms-sidebar-group {
  display: flex;
  flex-direction: column;
}

.cms-group-title {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  padding: 0 10px;
}

.cms-group-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cms-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  color: #475569;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}

.cms-nav-item:hover {
  background: #f8fafc;
  color: #0f172a;
}

.cms-nav-item.active {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 700;
  border-left-color: #2563eb;
}

.cms-nav-item-icon {
  display: flex;
  align-items: center;
}

/* ⚪ Main Content Shell */
.cms-main-content {
  padding: 32px;
  flex: 1 1;
}

.cms-page-head {
  margin-bottom: 24px;
}

.cms-page-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.5px;
}

.cms-page-meta {
  font-size: 14px;
  color: #64748b;
  margin-top: 4px;
}

/* -------------------------------------------------------------
 * SCOPED CMS ADMIN OVERRIDES
 * Standardize ALL elements inside .cms-app-shell to use the
 * unified WP-style design system (Blue #2563eb, rounded 8-12px)
 * ------------------------------------------------------------- */

/* Background: solid slate, no dot-pattern from public site */
.cms-app-shell {
  background: #f8fafc !important;
}

/* Cards inside CMS: consistent border-radius, no hover float */
.cms-app-shell .card {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  animation: none;
}

.cms-app-shell .card:hover {
  transform: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border-color: #e2e8f0;
}

/* Buttons inside CMS: blue rounded system */
.cms-app-shell .btn {
  border-radius: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 700;
  min-height: 38px;
  padding: 8px 16px;
}

.cms-app-shell .btn:hover {
  transform: none;
  box-shadow: none;
}

.cms-app-shell .btn-primary {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.cms-app-shell .btn-primary:hover {
  background: #1d4ed8;
}

.cms-app-shell .btn-accent {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.cms-app-shell .btn-accent:hover {
  background: #1d4ed8;
}

.cms-app-shell .btn-outline {
  border-color: #cbd5e1;
  color: #334155;
  background: #f8fafc;
}

.cms-app-shell .btn-outline:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}

/* Headings inside CMS: appropriate sizing */
.cms-app-shell .h2 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0;
}

.cms-app-shell .h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.cms-app-shell .lead {
  font-size: 14px;
  color: #64748b;
}

/* Tables inside CMS: consistent with WP-style */
.cms-app-shell .table-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.cms-app-shell .table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.cms-app-shell .table-wrap th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border-bottom: 2px solid #e2e8f0;
  text-align: left;
}

.cms-app-shell .table-wrap td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

/* Form fields inside CMS */
.cms-app-shell .field input,
.cms-app-shell .field select,
.cms-app-shell .field textarea {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  background: #ffffff;
  transition: border-color 0.15s ease;
}

.cms-app-shell .field input:focus,
.cms-app-shell .field select:focus,
.cms-app-shell .field textarea:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Grid inside CMS: tighter gap */
.cms-app-shell .grid {
  gap: 20px;
}

/* Status chip inside CMS */
.cms-app-shell .status-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: #dcfce7;
  color: #15803d;
}

/* Metric cards */
.cms-app-shell .metric {
  font-size: 32px;
  font-weight: 800;
  color: #2563eb;
  font-family: 'Montserrat', sans-serif;
}

/* Section padding inside CMS */
.cms-app-shell .section {
  padding: 0;
}

/* Code inside CMS */
.cms-app-shell code {
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  color: #475569;
}


/* -------------------------------------------------------------
 * WORDPRESS CMS EDITOR & TABLE LIST DESIGN SYSTEM
 * ------------------------------------------------------------- */
.wp-table-wrapper {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.wp-table-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.wp-table-title {
  font-size: 24px;
  font-weight: 800;
  color: #0b192c;
  margin: 0;
}

.wp-btn-add-new {
  background: #2563eb;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.wp-btn-add-new:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.wp-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #64748b;
}

.wp-tab-btn {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}

.wp-tab-btn.active {
  color: #2563eb;
  font-weight: 700;
  background: #eff6ff;
}

.wp-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 16px;
}

.wp-action-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wp-select-input,
.wp-search-input {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  outline: none;
  background: #ffffff;
}

.wp-btn-secondary {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wp-btn-secondary:hover {
  background: #e2e8f0;
}

.wp-btn-primary {
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wp-btn-primary:hover {
  background: #1d4ed8;
}

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

.wp-list-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border-bottom: 2px solid #e2e8f0;
}

.wp-list-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.wp-item-title {
  font-weight: 700;
  color: #0b192c;
  text-decoration: none;
  font-size: 15px;
}

.wp-item-title:hover {
  color: #2563eb;
}

.wp-row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  margin-top: 4px;
  opacity: 0.8;
}

tr:hover .wp-row-actions {
  opacity: 1;
}

.wp-row-actions button,
.wp-row-actions a {
  background: transparent;
  border: none;
  color: #2563eb;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.wp-row-actions .action-trash {
  color: #ef4444;
}

.wp-status-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.wp-status-chip.published {
  background: #dcfce7;
  color: #15803d;
}

.wp-status-chip.draft {
  background: #fef9c3;
  color: #a16207;
}

.wp-status-chip.trash {
  background: #fee2e2;
  color: #b91c1c;
}

.wp-quick-edit-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 18px;
}

.wp-quick-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 14px;
  gap: 14px;
  margin-bottom: 14px;
}

.wp-quick-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* WP Post Editor Layout */
.wp-editor-shell {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wp-editor-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}

.wp-btn-back {
  color: #64748b;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.wp-editor-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-gap: 24px;
  gap: 24px;
}

.wp-title-box {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 24px;
  margin-bottom: 24px;
}

.wp-title-input {
  width: 100%;
  font-size: 28px;
  font-weight: 800;
  border: none;
  outline: none;
  color: #0b192c;
  box-sizing: border-box;
}

.wp-permalink-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: #64748b;
}

.wp-inline-slug-input {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 13px;
  color: #0b192c;
  outline: none;
}

.wp-editor-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.wp-editor-tab-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
}

.wp-editor-tab-btn.active {
  background: #0b192c;
  color: #ffffff;
  border-color: #0b192c;
}

.wp-metabox {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
  overflow: hidden;
}

.wp-metabox-header {
  background: #f8fafc;
  padding: 12px 18px;
  border-bottom: 1px solid #e2e8f0;
}

.wp-metabox-header h4 {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  color: #0b192c;
  letter-spacing: 0.5px;
}

.wp-metabox-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wp-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #475569;
}

.wp-featured-image-preview img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.wp-remove-image-btn {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}

/* Media Modal Backdrop */
.wp-media-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 25, 44, 0.6);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wp-media-modal-dialog {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 800px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}

.wp-media-modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wp-media-modal-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0b192c;
}

.wp-media-modal-close {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #64748b;
}

.wp-media-modal-tabs {
  display: flex;
  gap: 12px;
  padding: 12px 24px;
  border-bottom: 1px solid #f1f5f9;
}

.wp-media-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1 1;
}

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

.wp-media-card {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.wp-media-card.selected {
  border-color: #2563eb;
}

.wp-media-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.wp-media-card-title {
  font-size: 12px;
  padding: 8px 10px;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wp-media-checkmark {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #2563eb;
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.wp-media-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.status-chip {
  display: inline-flex;
  border-radius: 999px;
  background: #d8e2ff;
  color: #001a43;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

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

  .lead-consultation-image,
  .lead-consultation-image img {
    min-height: 460px;
  }

  .nav,
  .header-top,
  .header-promo,
  .header-actions .phone,
  .header-quote {
    display: none;
  }

  .header-brand-row {
    min-height: 68px;
    gap: 12px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-quote {
    display: none;
  }

  .header-menu-row {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 90px 0 76px;
  }

  .hero-layout,
  .page-hero-grid,
  .cost-layout,
  .cost-transparency,
  .case-layout,
  .pricing-insight-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: auto;
    padding: 90px 0;
  }

  .page-hero-card {
    max-width: 560px;
  }

  .hero-proof {
    min-height: 420px;
  }

  .hero-proof-image {
    height: 420px;
  }

  .hero-proof-card {
    right: 16px;
  }

  .hero-proof-metrics {
    left: 16px;
  }

  .contact-bar {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .contact-bar a {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid var(--surface-line);
  }

  .contact-bar a:last-child {
    border-bottom: 0;
  }

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

  .footer-logo-panel {
    grid-column: 1 / -1;
    min-height: auto;
  }

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

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

  .blueprint-card:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 360px;
  }

  .grid-3,
  .grid-4,
  .pricing-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2,
  .process-list,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 640px) {
  .lead-consultation-image,
  .lead-consultation-image img {
    min-height: 340px;
  }

  .section {
    padding: 56px 0;
  }

  .brand {
    font-size: 16px;
  }

  .header-top-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 8px 0;
  }

  .header-top-inner div {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .hero {
    padding: 70px 0 64px;
  }

  .page-hero {
    padding: 68px 0 58px;
  }

  .page-hero-card {
    padding: 18px;
  }

  .h1 {
    font-size: 34px;
  }

  .h2 {
    font-size: 29px;
  }

  .hero-title-rotator {
    height: 42px;
    margin-top: 12px;
  }

  .hero-title-rotator span {
    padding: 0 14px;
    font-size: 18px;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .contact-bar a,
  .trust-item {
    min-height: 108px;
    padding: 20px;
  }

  .service-card,
  .project-card,
  .article-card {
    min-height: auto;
  }

  .hero-proof {
    min-height: 390px;
  }

  .hero-proof-image {
    height: 330px;
  }

  .hero-proof-metrics {
    left: 12px;
    top: 18px;
    width: calc(100% - 24px);
  }

  .hero-proof-card {
    right: 12px;
    bottom: 0;
    width: calc(100% - 24px);
  }

  .contact-bar {
    width: min(var(--container), calc(100% - 24px));
  }

  .contact-bar strong {
    font-size: 17px;
  }

  .blueprint-grid,
  .decision-grid,
  .pricing-post-grid,
  .case-facts {
    grid-template-columns: 1fr;
  }

  .blueprint-card,
  .blueprint-card:first-child {
    min-height: 260px;
  }

  .case-media,
  .case-media img {
    min-height: 340px;
  }

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

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

  .footer-logo-panel {
    grid-column: auto;
  }

  .table-wrap {
    margin-inline: -16px;
    border-left: 0;
    border-right: 0;
  }

  .admin-main {
    padding: 18px 16px;
  }

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

  .split-head {
    display: grid;
  }

  .bottom-cta {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 8px;
    gap: 8px;
  }

  .bottom-cta a {
    display: grid;
    min-height: 46px;
    place-items: center;
    border-radius: 4px;
    background: var(--button-gray-dark);
    color: white;
    font-size: 13px;
    font-weight: 800;
  }

  .bottom-cta a:nth-child(2) {
    background: var(--button-gray);
  }

  .bottom-cta a:nth-child(3) {
    background: var(--button-gray-light);
    color: var(--button-gray-dark);
  }

  .floating-contact {
    display: none;
  }
}

@media (max-width: 980px) {
  .highlight-ribbon,
  .impact-cards,
  .commitment-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .impact-grid,
  .design-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .timeline-row,
  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rough-pricing-page .container {
    width: min(100% - 32px, 760px);
  }

  .rough-hero {
    min-height: auto;
  }

  .rough-hero-copy {
    padding: 58px 0 44px;
  }

  .rough-proof-row,
  .rough-service-grid,
  .rough-scope-grid,
  .rough-gallery-grid,
  .rough-process-grid,
  .rough-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rough-service-grid div:nth-child(odd) {
    border-left: 1px solid var(--rough-line);
  }

  .rough-price-layout,
  .rough-quote-box {
    grid-template-columns: 1fr;
  }

  .rough-side-title,
  .rough-side-title.compact {
    width: auto;
    padding-bottom: 22px;
  }

  .rough-price-cards {
    grid-template-columns: 1fr;
  }

  .rough-process-grid article:not(:last-child)::after {
    display: none;
  }

  .rough-footer-grid > * {
    border-right: 0;
    border-bottom: 1px solid var(--rough-line);
    padding: 0 0 18px;
  }
}

@media (max-width: 640px) {
  .highlight-ribbon,
  .impact-cards,
  .commitment-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .highlight-ribbon {
    width: min(var(--container), calc(100% - 24px));
  }

  .highlight-card {
    min-height: 210px;
    aspect-ratio: auto;
  }

  .highlight-card div {
    min-height: 134px;
    padding: 18px;
  }

  .rough-pricing-page .container {
    width: min(100% - 24px, 520px);
  }

  .rough-hero h1 {
    font-size: 36px;
  }

  .rough-hero-actions a {
    width: 100%;
  }

  .rough-proof-row,
  .rough-service-grid,
  .rough-scope-grid,
  .rough-gallery-grid,
  .rough-process-grid,
  .rough-footer-grid,
  .rough-quote-box form {
    grid-template-columns: 1fr;
  }

  .rough-service-grid div {
    border-left: 1px solid var(--rough-line);
  }

  .rough-section {
    padding: 28px 0;
  }

  .rough-side-title h2,
  .rough-heading,
  .rough-quote-box h2 {
    font-size: 24px;
  }

  .rough-quote-box aside,
  .rough-quote-box form {
    padding: 24px;
  }

  .rough-info {
    align-items: flex-start;
  }

  .highlight-card h2,
  .highlight-card p {
    min-height: auto;
  }

  .design-card div,
  .testimonial-card div {
    min-height: auto;
  }

  .about-media,
  .about-media img {
    min-height: 360px;
  }

  .impact-cards article,
  .commitment-card,
  .team-card {
    min-height: auto;
  }

  .design-card {
    min-height: 340px;
  }

  .seo-link-grid {
    display: grid;
  }

  .project-detail-hero {
    min-height: 520px;
  }

  .project-detail-content {
    padding: 88px 0 58px;
  }

  .timeline-row,
  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery img,
  .project-gallery img:first-child {
    height: 280px;
  }
}

.contact-redesign {
  background:
    linear-gradient(180deg, #f7fbff 0%, #eef5ff 48%, #f8fbff 100%);
  padding: 0 0 34px;
}

.contact-value-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin-top: -54px;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 54px rgba(6, 36, 95, 0.13);
}

.contact-value-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-gap: 18px;
  gap: 18px;
  align-items: center;
  min-height: 108px;
  padding: 22px 30px;
  border-right: 1px solid #e4edf8;
}

.contact-value-item:last-child {
  border-right: 0;
}

.contact-line-icon,
.contact-why-card span {
  color: #062b74;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.contact-value-item h2,
.contact-panel h2,
.contact-why-card h3,
.contact-faq h2 {
  margin: 0;
  color: #06245f;
  font-family: var(--font-montserrat), Arial, sans-serif;
  letter-spacing: 0;
}

.contact-value-item h2 {
  font-size: 14px;
  font-weight: 900;
}

.contact-value-item p {
  margin: 7px 0 0;
  color: #26364f;
  font-size: 13px;
  line-height: 1.55;
}

.contact-intro {
  max-width: 790px;
  margin: 30px auto 22px;
  text-align: center;
}

.contact-intro span {
  color: #0c55b5;
  font-size: 13px;
  font-weight: 900;
}

.contact-intro h2 {
  margin: 6px 0 8px;
  color: #06245f;
  font-family: var(--font-montserrat), Arial, sans-serif;
  font-size: 30px;
  font-weight: 900;
}

.contact-intro p {
  margin: 0;
  color: #26364f;
  line-height: 1.55;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 0.96fr 1fr;
  grid-gap: 36px;
  gap: 36px;
  align-items: stretch;
}

.contact-panel,
.contact-map-panel,
.contact-why-card,
.contact-faq details {
  border: 1px solid #dfe8f4;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(6, 36, 95, 0.09);
}

.contact-panel {
  padding: 30px;
}

.contact-panel h2 {
  font-size: 21px;
  font-weight: 900;
}

.contact-info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  grid-gap: 26px;
  gap: 26px;
  margin-top: 24px;
}

.contact-info-list {
  display: grid;
  grid-gap: 19px;
  gap: 19px;
}

.contact-info-list div {
  position: relative;
  padding-left: 31px;
}

.contact-mini-icon {
  position: absolute;
  left: 0;
  top: 0;
  color: #062b74;
  font-size: 18px;
  font-weight: 900;
}

.contact-info-list strong,
.contact-info-list a,
.contact-info-list p {
  display: block;
}

.contact-info-list strong {
  color: #061f55;
  font-size: 14px;
  font-weight: 900;
}

.contact-info-list a,
.contact-info-list p {
  margin: 4px 0 0;
  color: #173665;
  font-size: 13px;
  line-height: 1.55;
}

.contact-office-photo {
  overflow: hidden;
  border-radius: 8px;
  background: #d8e7f7;
}

.contact-office-photo img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.contact-action-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
  margin-top: 22px;
}

.contact-action-row a {
  display: grid;
  grid-template-columns: 20px 1fr;
  grid-gap: 2px 9px;
  gap: 2px 9px;
  align-items: center;
  min-height: 66px;
  border-radius: 5px;
  background: #06245f;
  color: white;
  padding: 11px 14px;
  box-shadow: 0 12px 26px rgba(6, 36, 95, 0.2);
}

.contact-action-row span {
  grid-row: span 2;
  font-size: 16px;
}

.contact-action-row b,
.contact-action-row small {
  overflow-wrap: anywhere;
}

.contact-action-row b {
  font-size: 12px;
  font-weight: 900;
}

.contact-action-row small {
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
}

.contact-form-panel > p {
  margin: 8px 0 20px;
  color: #26364f;
  font-size: 13px;
}

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

.contact-form-grid label {
  display: block;
}

.contact-form-grid input,
.contact-form-grid select,
.contact-form-grid textarea {
  width: 100%;
  border: 1px solid #dfe8f4;
  border-radius: 5px;
  background: #f8fafc;
  color: #06245f;
  padding: 13px 15px;
  font-size: 13px;
  outline: 0;
}

.contact-form-grid textarea {
  resize: vertical;
}

.contact-form-grid input:focus,
.contact-form-grid select:focus,
.contact-form-grid textarea:focus {
  border-color: #2f64bc;
  background: white;
  box-shadow: 0 0 0 3px rgba(47, 100, 188, 0.12);
}

.contact-message {
  grid-column: 1 / -1;
}

.contact-security {
  margin: 12px 0 12px;
  color: #06245f;
  font-size: 13px;
  font-weight: 800;
}

.contact-form-panel button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(90deg, #29458e, #3f66bd);
  color: white;
  font-weight: 900;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.contact-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  grid-gap: 28px;
  gap: 28px;
  margin-top: 28px;
}

.contact-map-panel {
  overflow: hidden;
  min-height: 220px;
}

.contact-map-panel iframe,
.contact-faux-map {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
}

.contact-faux-map {
  position: relative;
  background:
    linear-gradient(90deg, rgba(202, 221, 239, 0.62) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(0deg, rgba(202, 221, 239, 0.62) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(135deg, transparent 42%, rgba(255, 192, 93, 0.24) 42% 45%, transparent 45%),
    linear-gradient(45deg, transparent 35%, rgba(96, 181, 123, 0.22) 35% 55%, transparent 55%),
    #edf5fb;
}

.contact-map-card {
  position: absolute;
  left: 38px;
  top: 32px;
  width: min(270px, calc(100% - 76px));
  border-radius: 6px;
  background: white;
  padding: 22px;
  box-shadow: 0 16px 38px rgba(6, 36, 95, 0.14);
}

.contact-map-card strong {
  color: #06245f;
}

.contact-map-card p,
.contact-map-card a {
  color: #173665;
  font-size: 13px;
  line-height: 1.55;
}

.contact-map-card a {
  color: #0c55b5;
  font-weight: 900;
}

.contact-map-pin {
  position: absolute;
  right: 30%;
  top: 47%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #e84832;
  color: white;
  box-shadow: 0 8px 18px rgba(232, 72, 50, 0.3);
}

.contact-visit-panel {
  padding: 28px;
}

.contact-visit-panel p {
  color: #26364f;
  font-size: 13px;
  line-height: 1.6;
}

.contact-visit-panel ul {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contact-visit-panel li {
  position: relative;
  color: #173665;
  font-size: 13px;
  font-weight: 800;
  padding-left: 28px;
}

.contact-visit-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #062b74;
}

.contact-why {
  margin-top: 26px;
}

.contact-intro-small {
  margin-top: 0;
  margin-bottom: 18px;
}

.contact-intro-small h2 {
  font-size: 22px;
}

.contact-intro-small p {
  font-size: 13px;
}

.contact-why-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.contact-why-card {
  min-height: 122px;
  padding: 20px 18px;
  text-align: center;
}

.contact-why-card span {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 30px;
}

.contact-why-card h3 {
  font-size: 13px;
  font-weight: 900;
}

.contact-why-card p {
  margin: 8px 0 0;
  color: #26364f;
  font-size: 12px;
  line-height: 1.45;
}

.contact-faq {
  margin-top: 26px;
}

.contact-faq h2 {
  margin-bottom: 14px;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
}

.contact-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 12px 22px;
  gap: 12px 22px;
}

.contact-faq details {
  overflow: hidden;
  box-shadow: none;
}

.contact-faq summary {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  color: #06245f;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.contact-faq summary::after {
  content: "⌄";
  margin-left: auto;
  color: #06245f;
}

.contact-faq details[open] summary::after {
  content: "⌃";
}

.contact-faq summary::marker {
  content: "";
}

.contact-faq details p {
  margin: 0;
  border-top: 1px solid #e8eef7;
  padding: 12px 18px 16px 46px;
  color: #26364f;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .contact-value-strip,
  .contact-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-value-item:nth-child(2) {
    border-right: 0;
  }

  .contact-main-grid,
  .contact-map-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .contact-redesign {
    padding-bottom: 24px;
  }

  .contact-value-strip {
    grid-template-columns: 1fr;
    margin-top: -28px;
  }

  .contact-value-item,
  .contact-value-item:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #e4edf8;
    padding: 18px;
  }

  .contact-value-item:last-child {
    border-bottom: 0;
  }

  .contact-intro h2 {
    font-size: 24px;
  }

  .contact-panel {
    padding: 22px;
  }

  .contact-info-layout,
  .contact-action-row,
  .contact-form-grid,
  .contact-why-grid,
  .contact-faq-grid {
    grid-template-columns: 1fr;
  }

  .contact-office-photo img {
    min-height: 260px;
  }

  .contact-map-card {
    left: 16px;
    top: 16px;
    width: calc(100% - 32px);
  }
}

@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    padding-bottom: 74px;
  }

  .section > .container,
  .hero-content,
  .hero-proof,
  .contact-bar,
  .card,
  .pricing-post-card,
  .highlight-card,
  .project-card,
  .article-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .site-header {
    box-shadow: 0 10px 28px rgba(6, 36, 95, 0.1);
  }

  .header-brand-row {
    min-height: 62px;
  }

  .mobile-menu summary.btn {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 5px;
    letter-spacing: 0.02em;
  }

  .mobile-menu-panel {
    width: min(316px, calc(100vw - 24px));
    max-height: calc(100dvh - 92px);
    right: -2px;
  }

  .hero,
  .page-hero {
    min-height: auto;
  }

  .page-hero {
    padding: 64px 0 52px;
  }

  .hero-title-rotator {
    height: auto;
    min-height: 44px;
    display: flex;
    align-items: center;
    background: rgba(35, 82, 157, 0.72);
    box-shadow: 0 12px 28px rgba(0, 9, 40, 0.18);
  }

  .hero-title-rotator span {
    position: static;
    display: none;
    width: 100%;
    min-height: 44px;
    align-items: center;
    color: #ffffff;
    opacity: 1;
    transform: none;
    animation: none;
    line-height: 1.25;
  }

  .hero-title-rotator span:first-child {
    display: flex;
  }

  .hero-lead,
  .hero .lead,
  .page-hero .lead {
    color: rgba(255, 255, 255, 0.9);
  }

  .lead,
  .muted,
  .card p,
  .blueprint-card p,
  .commitment-card p,
  .testimonial-card p,
  .team-card p,
  .service-card p,
  .project-card p,
  .article-card p,
  .price-card p,
  .contact-value-item p,
  .contact-intro p,
  .contact-info-list a,
  .contact-info-list p,
  .contact-form-panel > p,
  .contact-visit-panel p,
  .contact-why-card p,
  .contact-faq details p {
    color: #24334d;
  }

  .card,
  .service-card,
  .project-card,
  .article-card,
  .price-card,
  .contact-panel,
  .contact-value-strip,
  .contact-why-card,
  .contact-faq details {
    border-color: #d7e2f0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 30px rgba(6, 36, 95, 0.08);
  }

  .service-icon,
  .contact-line-icon,
  .contact-why-card span {
    color: #06245f;
  }

  .btn {
    width: 100%;
    min-height: 46px;
    border-radius: 5px;
    padding: 12px 14px;
    text-align: center;
  }

  .hero-actions {
    gap: 10px;
  }

  .contact-value-item {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .contact-action-row a {
    min-height: 58px;
  }

  .contact-map-panel,
  .contact-faux-map {
    min-height: 260px;
  }

  .table-wrap,
  .rough-table-wrap {
    position: relative;
    margin-right: -12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .table-wrap::after,
  .rough-table-wrap::after {
    content: "Kéo ngang để xem thêm";
    position: -webkit-sticky;
    position: sticky;
    left: 12px;
    bottom: 0;
    display: inline-flex;
    margin: 8px 0 0;
    border-radius: 999px;
    background: #eef4ff;
    color: #06245f;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 900;
  }

  .rough-side-title p,
  .rough-price-head p,
  .rough-price-card ul,
  .rough-note,
  .rough-info,
  .rough-compare-table td,
  .rough-process-grid p,
  .rough-footer-grid p {
    color: #24334d;
  }

  .rough-service-grid span {
    color: #44546c;
  }

  .bottom-cta {
    right: 10px;
    bottom: 10px;
    left: 10px;
    gap: 7px;
    padding: 0;
    filter: drop-shadow(0 12px 24px rgba(6, 36, 95, 0.2));
  }

  .bottom-cta a {
    min-height: 42px;
    border-radius: 5px;
  }

  .site-footer,
  .rough-footer {
    padding-bottom: 92px;
  }
}

/* Footer cascade lock: keep the shared footer identical on every public route. */
.site-footer,
#site-content:has(.knowledgePage) + .site-footer {
  min-height: 560px;
  padding: 118px 0 38px;
  background:
    linear-gradient(90deg, rgba(2, 27, 68, .99) 0%, rgba(3, 35, 82, .96) 39%, rgba(3, 35, 82, .80) 67%, rgba(2, 25, 60, .67) 100%),
    url('/generated/footer-construction-bg-v1.webp') center center / cover no-repeat;
}

.site-footer .footer-grid,
#site-content:has(.knowledgePage) + .site-footer .footer-grid {
  display: grid;
  width: min(1400px, calc(100% - 80px));
  grid-template-columns: 1.05fr 1.14fr 1.18fr .92fr;
  grid-gap: 0;
  gap: 0;
}

.site-footer .footer-grid > div,
#site-content:has(.knowledgePage) + .site-footer .footer-grid > div {
  min-width: 0;
  padding: 0 38px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .28);
}

.site-footer .footer-grid > div:first-child { padding-left: 0; }
.site-footer .footer-grid > div:last-child { padding-right: 0; border-right: 0; }

.site-footer .footer-copyright,
#site-content:has(.knowledgePage) + .site-footer .footer-copyright {
  width: min(1400px, calc(100% - 80px));
  margin-top: 28px;
  padding-top: 25px;
}

.floating-contact a {
  display: inline-flex;
  min-width: 116px;
  grid-auto-flow: column;
  gap: 8px;
  font-size: 15px;
}

@media (max-width: 1100px) {
  .site-footer,
  #site-content:has(.knowledgePage) + .site-footer { padding: 82px 0 38px; }
  .site-footer .footer-grid,
  #site-content:has(.knowledgePage) + .site-footer .footer-grid {
    width: min(var(--container), calc(100% - 48px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 0;
  }
  .site-footer .footer-grid > div,
  #site-content:has(.knowledgePage) + .site-footer .footer-grid > div { padding: 0 32px; }
  .site-footer .footer-grid > div:first-child { padding-left: 0; }
  .site-footer .footer-grid > div:nth-child(2) { padding-right: 0; border-right: 0; }
  .site-footer .footer-grid > div:nth-child(3) { padding-left: 0; }
  .site-footer .footer-grid > div:last-child { padding-right: 0; }
  .site-footer .footer-copyright,
  #site-content:has(.knowledgePage) + .site-footer .footer-copyright {
    width: min(var(--container), calc(100% - 48px));
  }
}

@media (max-width: 767px) {
  .site-footer,
  #site-content:has(.knowledgePage) + .site-footer {
    min-height: 0;
    padding: 66px 0 104px;
    background-position: 65% center;
  }
  .site-footer .footer-grid,
  #site-content:has(.knowledgePage) + .site-footer .footer-grid {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    gap: 0;
  }
  .site-footer .footer-grid > div,
  #site-content:has(.knowledgePage) + .site-footer .footer-grid > div,
  .site-footer .footer-grid > div:first-child,
  .site-footer .footer-grid > div:nth-child(2),
  .site-footer .footer-grid > div:nth-child(3),
  .site-footer .footer-grid > div:last-child {
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
  }
  .site-footer .footer-grid > div:first-child { padding-top: 0; }
  .site-footer .footer-grid > div:last-child { border-bottom: 0; }
  .site-footer .footer-copyright,
  #site-content:has(.knowledgePage) + .site-footer .footer-copyright {
    width: calc(100% - 40px);
    margin-top: 4px;
    padding-top: 24px;
  }
}

/* Giữ lại từ bản cũ: AdminLayout.tsx vẫn dùng .admin-nav */
.admin-nav {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.admin-nav a {
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 12px;
  color: rgba(255, 255, 255, 0.82);
}

/* ==========================================================================
   CORE SERVICES SECTION (11 CHIẾN LƯỢC: 5 THIẾT KẾ & 6 THI CÔNG)
   ========================================================================== */
.core-services-section {
  background: linear-gradient(180deg, #f8fafc 0%, #edf4fc 100%);
  padding: 70px 0;
  position: relative;
}

.core-services-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.service-pillar {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(205, 220, 240, 0.9);
  box-shadow: 0 16px 40px rgba(6, 36, 95, 0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-pillar:hover {
  box-shadow: 0 20px 48px rgba(6, 36, 95, 0.12);
}

.pillar-header {
  padding: 24px 28px;
  background: linear-gradient(135deg, #06245f 0%, #0d4bb5 100%);
  color: #ffffff;
  position: relative;
}

.pillar-header.pillar-header-build {
  background: linear-gradient(135deg, #09233f 0%, #1e40af 100%);
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.pillar-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.4;
}

.pillar-list {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.core-service-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  color: #1e293b;
  transition: all 0.2s ease;
}

.core-service-card:hover {
  background: #ffffff;
  border-color: #0d4bb5;
  box-shadow: 0 8px 24px rgba(13, 75, 181, 0.1);
  transform: translateX(4px);
}

.core-card-num {
  font-size: 1.05rem;
  font-weight: 900;
  color: #0d4bb5;
  background: #f0f7ff;
  border: 1px solid #dbeafe;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.core-card-body {
  flex: 1;
  min-width: 0;
}

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

.core-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0d4bb5;
}

.core-price {
  font-size: 0.78rem;
  font-weight: 800;
  color: #06245f;
  background: #f0f7ff;
  border: 1px solid #dbeafe;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.core-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #06245f;
  margin: 0 0 3px 0;
  line-height: 1.35;
}

.core-desc {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
}

.core-arrow {
  font-size: 1.2rem;
  font-weight: 700;
  color: #93c5fd;
  transition: transform 0.2s ease, color 0.2s ease;
}

.core-service-card:hover .core-arrow {
  transform: translateX(4px);
  color: #0d4bb5;
}

.pillar-footer {
  padding: 16px 20px 20px;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
}

/* PARTNER MARQUEE STRIP */
.partner-marquee-section {
  background: #ffffff;
  padding: 32px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.partner-marquee-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.partner-marquee-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.partner-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #06245f;
  box-shadow: 0 2px 6px rgba(6, 36, 95, 0.03);
}

@media (max-width: 900px) {
  .core-services-pillars {
    grid-template-columns: 1fr;
  }
  .core-card-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile reading comfort and touch ergonomics across all public Next.js pages. */
@media (max-width: 720px) {
  input:not([type="hidden"]),
  select,
  textarea {
    font-size: 16px !important;
  }

  main p,
  main li {
    font-size: max(15.5px, 1em) !important;
  }

  header a,
  nav a,
  main button,
  main summary,
  main a.btn,
  main a[class*="button"] {
    min-height: 44px;
  }

  header a,
  nav a {
    display: inline-flex;
    align-items: center;
  }

  .rough-pricing-page p,
  .rough-pricing-page li,
  .contact-redesign p,
  .contact-redesign li {
    font-size: 15.5px;
    line-height: 1.68;
  }

  .impact-cards p,
  .blueprint-card p,
  .commitment-card p,
  .testimonial-card p,
  .team-card p,
  .service-card p,
  .project-card p,
  .article-card p,
  .price-card p,
  .pillar-desc,
  .core-desc {
    font-size: 15px;
    line-height: 1.62;
  }

  .rough-table-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .rough-materials-table,
  .rough-compare-table,
  .design-master-table {
    min-width: 680px;
  }

  .rough-pricing-page button,
  .rough-pricing-page summary,
  .contact-redesign summary,
  .contact-redesign button {
    min-height: 44px;
  }

  .article-reading-bar {
    top: 62px !important;
    padding: 4px 0 !important;
  }

  .article-reading-inner {
    justify-content: center !important;
  }

  .article-reading-current {
    display: none !important;
  }

  .article-reading-actions {
    display: grid !important;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px !important;
  }

  .article-reading-action {
    min-width: 0;
    min-height: 44px;
    justify-content: center;
    padding: 8px 4px;
    border-radius: 6px !important;
    font-size: 13px !important;
  }
}

/* Liên kết từ khối cam kết xuống mục hạng mục ngoài gói. Trước 2026-08-21
   hai khối này cách nhau vài màn hình cuộn nên lời cam kết "không phát sinh"
   đọc như thể không có ngoại lệ. Xem biên bản rà soát mục A-04. */
.rough-callout-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rough-callout-link:hover { color: #1e3a8a; }

/* ── Trang tài liệu pháp lý ─────────────────────────────────────────────
   Dùng cho /chinh-sach-bao-hanh, /chinh-sach-bao-mat, /dieu-khoan-su-dung.
   Trước 2026-08-21 ba trang này chỉ có 50-90 từ nội dung thật và mỗi trang
   có 2 thẻ h1. Xem biên bản rà soát mục A-05 và C-05. */
.legal-doc {
  max-width: 820px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 36px 40px;
}
.legal-doc h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 34px 0 12px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}
.legal-doc h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-doc h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 22px 0 10px;
}
.legal-doc p { color: #475569; line-height: 1.75; margin: 0 0 12px; }
.legal-doc a { color: #1d4ed8; text-decoration: underline; text-underline-offset: 3px; }

.legal-list { margin: 0 0 14px; padding-left: 22px; }
.legal-list li { color: #475569; line-height: 1.75; margin-bottom: 8px; }
.legal-list li strong { color: #0f172a; }

.legal-note {
  background: #f8fafc;
  border-left: 3px solid #94a3b8;
  padding: 12px 16px;
  font-size: 14px;
  border-radius: 0 8px 8px 0;
}

.legal-table-wrap { overflow-x: auto; margin: 0 0 16px; }
.legal-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 14.5px; }
.legal-table th {
  text-align: left;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
}
.legal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eef2f6;
  color: #475569;
  vertical-align: top;
}
.legal-table td strong { color: #0f172a; }
.legal-table .legal-num { white-space: nowrap; font-weight: 700; color: #1d4ed8; }

.legal-steps { list-style: none; margin: 0 0 14px; padding: 0; }
.legal-steps li { display: flex; gap: 14px; margin-bottom: 14px; }
.legal-step-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #1e3a8a;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.legal-steps li strong { display: block; color: #0f172a; margin-bottom: 3px; }
.legal-steps li p { margin: 0; font-size: 14.5px; }

@media (max-width: 640px) {
  .legal-doc { padding: 24px 20px; }
}

/* Đầu ra / phụ trách / thời gian của từng bước quy trình. Trước 2026-08-21
   trang /quy-trinh-14-buoc hứa "mỗi giai đoạn có đầu ra, người phụ trách và
   mốc nghiệm thu" nhưng không hiện thứ nào. Xem biên bản mục C-03. */
.process-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px 18px;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed #dbe3ea;
}
.process-meta dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8494a4;
  margin-bottom: 2px;
}
.process-meta dd { margin: 0; font-size: 14px; color: #33414f; line-height: 1.5; }

/* ── Bảng giá trên trang landing chi phí ────────────────────────────────
   Trước 2026-08-21 hai trang tiêu đề "chi phí xây nhà" không có một con số
   giá nào, người tìm giá phải rời trang. Xem biên bản rà soát mục C-04. */
.landing-cost-section { background: #f7f9fb; }
.landing-cost-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0 28px;
}
.landing-cost-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #1e3a8a;
  border-radius: 12px;
  padding: 18px 20px;
}
.landing-cost-card strong { display: block; color: #0f172a; font-size: 15px; }
.landing-cost-price {
  display: block;
  margin: 8px 0 6px;
  font-size: 19px;
  font-weight: 800;
  color: #1d4ed8;
  font-variant-numeric: tabular-nums;
}
.landing-cost-card p { margin: 0; font-size: 13.5px; color: #64748b; line-height: 1.55; }

.landing-cost-example {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 20px;
}
.landing-cost-example h3 { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: #0f172a; }
.landing-cost-example dl { margin: 0; }
.landing-cost-example dl > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px dashed #e2e8f0;
}
.landing-cost-example dl > div:last-of-type { border-bottom: 0; font-weight: 700; color: #0f172a; }
.landing-cost-example dt { color: #475569; font-size: 14.5px; margin: 0; }
.landing-cost-example dd {
  margin: 0;
  color: #0f172a;
  font-size: 14.5px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.landing-cost-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 0 12px;
  padding: 14px 16px;
  background: #eff6ff;
  border-radius: 10px;
}
.landing-cost-total span { color: #475569; font-size: 14px; }
.landing-cost-total strong {
  font-size: 18px;
  color: #1d4ed8;
  font-variant-numeric: tabular-nums;
}
.landing-cost-note { margin: 0; font-size: 13.5px; color: #64748b; line-height: 1.6; }

@media (max-width: 560px) {
  .landing-cost-example dl > div { flex-direction: column; gap: 2px; }
  .landing-cost-example dd { white-space: normal; }
}

/* Ô đồng ý dữ liệu cá nhân trên các form. Trước 2026-08-21 chỉ một biến thể
   form có ô này. Nghị định 13/2023/NĐ-CP yêu cầu có sự đồng ý trước khi xử lý
   dữ liệu cá nhân. Xem biên bản rà soát mục C-06. */
.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #475569;
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: #1d4ed8;
  cursor: pointer;
}
.form-consent a { color: #1d4ed8; text-decoration: underline; text-underline-offset: 2px; }

/* Nhãn "Ảnh minh họa" trên thẻ dự án dùng ảnh dựng bằng AI. Trước 2026-08-21
   ảnh AI hiển thị kèm nhãn trạng thái "Hoàn thành" mà không nói rõ đây không
   phải ảnh chụp công trình. Xem biên bản rà soát mục A-03. */
.project-image-wrap { position: relative; display: block; }
.project-image-note {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.78);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  backdrop-filter: blur(2px);
}

/* Vùng chạm trên mobile — rà soát 2026-08-27.
   Số điện thoại, email, website ở trang Liên hệ là link đứng riêng (display:
   block) nhưng chỉ cao 20px, và "Xem bản đồ lớn" cao 16px — dưới ngưỡng tối
   thiểu 24px của WCAG 2.2 (Target Size Minimum), bấm bằng ngón tay dễ trượt.
   Đệm dọc để đạt ~32px mà không đổi cỡ chữ hay bố cục.
   Không đụng tới link nằm TRONG câu văn (vd "Chính sách bảo mật" trong dòng
   đồng ý của form): WCAG miễn trừ link inline, đệm vào là vỡ dòng chữ. */
@media (max-width: 767px) {
  .contact-info-list a,
  .contact-map-card a {
    display: inline-block;
    padding: 6px 0;
  }
}

/* Elementor adapter for the production homepage clone (page #4).
   The content keeps the production Next.js class names so the same visual
   system can be rendered and maintained from Elementor. */
body.page-id-4 {
  margin: 0;
  background: radial-gradient(#cfe0f7 0.7px, transparent 0.7px) 0 0 / 26px 26px, var(--background);
}
body.page-id-4 .elementor,
body.page-id-4 .elementor > .elementor-element,
body.page-id-4 .h77-home-v3-content,
body.page-id-4 .h77-home-v3-footer {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.page-id-4 .h77-home-v3-content,
body.page-id-4 .h77-home-v3-footer {
  display: block !important;
  gap: 0 !important;
}
body.page-id-4 .h77-home-v3-content > .elementor-element,
body.page-id-4 .h77-home-v3-footer > .elementor-element,
body.page-id-4 .h77-home-v3-content .elementor-widget-html,
body.page-id-4 .h77-home-v3-footer .elementor-widget-html,
body.page-id-4 .h77-home-v3-content .elementor-widget-container,
body.page-id-4 .h77-home-v3-footer .elementor-widget-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.page-id-4 .h77e-site-header-wrapper {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.page-id-4 .h77e-site-header-wrapper > .elementor-element,
body.page-id-4 .h77e-site-header-wrapper .elementor-widget-container {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.page-id-4 .homepage-v3-lead {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding: 92px 0 !important;
  background: transparent;
}
body.page-id-4 .homepage-v3-lead > .container.grid.grid-2 {
  display: grid !important;
  width: min(var(--container), calc(100% - 32px)) !important;
  max-width: none !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: start !important;
  margin-inline: auto !important;
  padding: 0 !important;
}
body.page-id-4 .homepage-v3-lead .elementor-widget-html,
body.page-id-4 .homepage-v3-lead .elementor-widget-shortcode,
body.page-id-4 .homepage-v3-form-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.page-id-4 .h77-quote-form {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--surface-line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(6, 36, 95, 0.16);
  backdrop-filter: blur(20px) saturate(150%);
}
body.page-id-4 .h77-form-head { margin-bottom: 18px; }
body.page-id-4 .h77-form-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.page-id-4 .h77-form-eyebrow::before { content: ""; width: 42px; height: 2px; background: var(--gold); }
body.page-id-4 .h77-form-head h2 { margin: 10px 0 0; color: var(--primary); font-size: clamp(31px, 3.6vw, 48px); line-height: 1.15; font-weight: 850; }
body.page-id-4 .h77-form-head p { margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
body.page-id-4 .h77-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
body.page-id-4 .h77-field { display: grid; gap: 7px; }
body.page-id-4 .h77-field label { color: var(--primary); font-size: 13px; font-weight: 800; }
body.page-id-4 .h77-field input,
body.page-id-4 .h77-field select,
body.page-id-4 .h77-field textarea { width: 100%; border: 1px solid var(--surface-line); border-radius: 6px; background: rgba(255,255,255,.88); padding: 12px 13px; }
body.page-id-4 .h77-full { grid-column: 1 / -1; }
body.page-id-4 .h77-consent label { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
body.page-id-4 .h77-consent input { width: auto; margin-top: 4px; }
body.page-id-4 .h77-submit { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; margin-top: 18px; padding: 12px 18px; border: 0; border-radius: 4px; color: #fff; background: var(--button-gray); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
body.page-id-4 .h77-honeypot { position: absolute !important; left: -9999px !important; }
body.page-id-4 .partner-check { color: #0d4bb5; font-weight: 900; }
body.page-id-4 .testimonial-rating { color: #f59e0b; letter-spacing: 2px; }

@media (max-width: 720px) {
  body.page-id-4 .homepage-v3-lead { padding: 64px 0 !important; }
  body.page-id-4 .homepage-v3-lead > .container.grid.grid-2 { grid-template-columns: 1fr !important; }
  body.page-id-4 .h77-form-grid { grid-template-columns: 1fr; }
  body.page-id-4 .h77-full { grid-column: auto; }
}
