:root {
  --brand-orange: #e08020;
  --brand-orange-dark: #a84f10;
  --brand-ink: #303030;
  --black: #111111;
  --text: #303030;
  --muted: #66615c;
  --line: #e5e0d8;
  --surface: #ffffff;
  --soft: #f7f3ec;
  --warm: #fff4e8;
  --green: #2b5b45;
  --wood: #87613b;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.09);
  --shadow-strong: 0 28px 80px rgba(17, 17, 17, 0.16);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --container: 1200px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --font: "Be Vietnam Pro", "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: var(--font);
  line-height: 1.6;
}

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

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--black);
  color: white;
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(229, 224, 216, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

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

.brand img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--black);
  font-size: 23px;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: 13px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding-block: 8px;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  content: "";
  background: var(--brand-orange);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--brand-ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand-orange);
  color: white;
}

.btn-primary:hover {
  background: var(--brand-orange-dark);
}

.btn-secondary {
  border-color: var(--line);
  background: white;
  color: var(--brand-ink);
}

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

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 243, 236, 0.96), rgba(247, 243, 236, 0.68)),
    radial-gradient(circle at 75% 25%, rgba(224, 128, 32, 0.18), transparent 30%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 64px;
  align-items: center;
  min-height: 720px;
  padding-block: 84px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-orange-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--black);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  color: var(--black);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  color: var(--black);
  font-size: 21px;
  line-height: 1.25;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.source-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

.hero-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-strong);
}

.hero-card img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: var(--warm);
  padding: 36px;
}

.hero-card-body {
  padding: 28px;
}

.section {
  padding-block: 86px;
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  background: var(--black);
  color: white;
}

.section.dark h2,
.section.dark h3 {
  color: white;
}

.section.dark .lead,
.section.dark p {
  color: rgba(255, 255, 255, 0.78);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head.single {
  display: block;
  max-width: 820px;
}

.grid {
  display: grid;
  gap: 22px;
}

.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,
.service-card,
.project-card,
.blog-card,
.testimonial,
.contact-card,
.system-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow);
}

.card,
.service-card,
.blog-card,
.testimonial,
.contact-card,
.system-card {
  padding: 26px;
}

.card-accent {
  width: 46px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 99px;
  background: var(--brand-orange);
}

.service-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
}

.service-card .meta,
.blog-card .meta,
.project-card .meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.project-card {
  overflow: hidden;
}

.project-media,
.map-box,
.image-placeholder {
  display: grid;
  min-height: 230px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(224, 128, 32, 0.16), rgba(43, 91, 69, 0.12)),
    var(--soft);
  color: var(--muted);
  padding: 28px;
  text-align: center;
}

.project-card .content {
  padding: 24px;
}

.timeline {
  counter-reset: step;
}

.timeline .card {
  position: relative;
}

.timeline .card::before {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-orange);
  color: white;
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  font-weight: 900;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
}

.faq-item button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  padding: 20px 22px;
  text-align: left;
  font-weight: 900;
}

.faq-item button span:last-child {
  color: var(--brand-orange);
  font-size: 22px;
}

.faq-answer {
  display: none;
  padding: 0 22px 22px;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: 34px;
  align-items: start;
}

form.stack,
.stack {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--black);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--text);
  padding: 13px 14px;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

.notice {
  border-left: 4px solid var(--brand-orange);
  border-radius: var(--radius-sm);
  background: var(--warm);
  color: var(--brand-ink);
  padding: 16px 18px;
}

.breadcrumb {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.page-hero {
  padding-block: 70px;
  background: var(--soft);
}

.page-hero.dark {
  background: var(--black);
  color: white;
}

.page-hero.dark h1,
.page-hero.dark .breadcrumb {
  color: white;
}

.tabs,
.filter-row,
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--brand-ink);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
}

.pill.active {
  border-color: var(--brand-orange);
  background: var(--brand-orange);
  color: white;
}

.site-footer {
  background: var(--black);
  color: white;
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.25fr;
  gap: 38px;
}

.footer-logo {
  width: 74px;
  margin-bottom: 18px;
}

.site-footer h2 {
  max-width: 420px;
  color: white;
  font-size: 21px;
}

.site-footer h3 {
  color: white;
  font-size: 16px;
}

.site-footer p,
.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 46px;
  padding-block: 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.56);
  padding: 24px;
}

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

.modal-panel {
  position: relative;
  width: min(520px, 100%);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-strong);
  padding: 34px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  cursor: pointer;
  font-size: 24px;
}

.component-preview {
  display: grid;
  gap: 22px;
  margin-top: 32px;
}

.swatch {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
}

.swatch-color {
  height: 110px;
}

.swatch-info {
  padding: 14px;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .nav-cta {
    display: none;
  }

  .hero-grid,
  .section-head,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .nav-shell {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: white;
    padding: 16px;
    box-shadow: var(--shadow);
  }

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

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand strong {
    font-size: 18px;
  }

  .hero-grid {
    gap: 34px;
    min-height: auto;
    padding-block: 56px;
  }

  .hero-card img {
    height: 250px;
  }

  .section {
    padding-block: 62px;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

/* Reference-inspired contractor layout */
.topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--black);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.topbar-grid {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  min-height: 38px;
  align-items: center;
  gap: 18px;
}

.topbar a {
  color: white;
  font-weight: 900;
}

.nav-group {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: -24px;
  z-index: 20;
  display: none;
  width: 286px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow);
  padding: 14px;
}

.mega-menu a {
  display: block;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--brand-ink);
}

.mega-menu a:hover {
  background: var(--warm);
}

.nav-group:hover .mega-menu {
  display: block;
}

.hero-contractor {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.88), rgba(17, 17, 17, 0.56)),
    radial-gradient(circle at 78% 20%, rgba(224, 128, 32, 0.28), transparent 28%),
    linear-gradient(135deg, #151515, #4d3421 56%, #111111);
  color: white;
}

.hero-contractor h1,
.hero-contractor .lead,
.hero-contractor .source-note {
  color: white;
}

.hero-contractor .lead,
.hero-contractor .source-note {
  opacity: 0.84;
}

.hero-contractor .btn-secondary {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.metric-band {
  position: relative;
  z-index: 2;
  margin-top: -42px;
  padding-bottom: 18px;
}

.metric-grid {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-strong);
}

.metric-grid article {
  min-height: 126px;
  border-right: 1px solid var(--line);
  padding: 26px;
}

.metric-grid article:last-child {
  border-right: 0;
}

.metric-grid strong {
  display: block;
  color: var(--brand-orange);
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.1;
}

.metric-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.intro-split {
  padding-top: 112px;
}

.strengths-section .card {
  min-height: 250px;
}

.field-section {
  background: white;
}

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

.field-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow);
}

.field-media {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(224, 128, 32, 0.32), rgba(48, 48, 48, 0.68)),
    var(--wood);
  color: rgba(255, 255, 255, 0.88);
  font-size: 64px;
  font-weight: 900;
}

.field-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px;
}

.project-showcase .filter-row {
  margin-top: -8px;
}

.contractor-statement {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 42px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
  padding-block: 34px;
}

.contractor-statement h2 {
  margin-bottom: 0;
  text-transform: uppercase;
}

.contractor-statement p {
  color: var(--muted);
  font-size: 17px;
}

.contractor-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow);
}

.contractor-feature-card {
  min-height: 310px;
  border-right: 1px solid var(--line);
  padding: 30px 26px;
}

.contractor-feature-card:last-child {
  border-right: 0;
}

.feature-number {
  display: inline-grid;
  width: 52px;
  height: 52px;
  margin-bottom: 46px;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-orange);
  color: white;
  font-weight: 900;
}

.contractor-feature-card h3 {
  text-transform: uppercase;
}

.contractor-feature-card p {
  color: var(--muted);
}

.field-card h3,
.project-card h3,
.blog-card h3 {
  text-transform: uppercase;
}

.project-card {
  border-radius: 0;
}

.project-media {
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.56), rgba(224, 128, 32, 0.2)),
    var(--wood);
  color: white;
  font-weight: 900;
  text-transform: uppercase;
}

.owner-interest-section {
  background: white;
}

@media (max-width: 1024px) {
  .topbar-grid,
  .metric-grid,
  .field-grid,
  .contractor-feature-grid,
  .contractor-statement {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .field-media {
    min-height: 160px;
  }
}

@media (max-width: 760px) {
  .topbar {
    display: none;
  }

  .mega-menu {
    position: static;
    display: block;
    width: auto;
    border: 0;
    box-shadow: none;
    padding: 4px 0 0 12px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .contractor-feature-grid,
  .contractor-statement {
    grid-template-columns: 1fr;
  }

  .contractor-feature-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contractor-feature-card:last-child {
    border-bottom: 0;
  }

  .metric-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-grid article:last-child {
    border-bottom: 0;
  }
}

/* ---- Blog WordPress (headless) ---- */
.blog-card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
.blog-card h3 a { color: inherit; text-decoration: none; }
.blog-card h3 a:hover { color: var(--brand-orange, #E08020); }
.article-wrap { max-width: 820px; margin-left: auto; margin-right: auto; }
#wp-post h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 8px 0 16px; }
#wp-post .post-cover { width: 100%; border-radius: 16px; margin: 16px 0; }
#wp-post .meta { color: var(--brand-orange, #E08020); font-weight: 600; }
.article-content { font-size: 1.05rem; line-height: 1.85; }
.article-content h2 { font-size: 1.5rem; margin: 1.75rem 0 .6rem; color: var(--brand-ink, #303030); }
.article-content h3 { font-size: 1.2rem; margin: 1.35rem 0 .5rem; }
.article-content p { margin-bottom: 1rem; }
.article-content ul, .article-content ol { margin: 0 0 1rem 1.25rem; }
.article-content li { margin-bottom: .4rem; }
.article-content blockquote { border-left: 4px solid var(--brand-orange, #E08020); background: var(--warm, #FFF4E8); padding: .75rem 1rem; margin: 1.25rem 0; border-radius: 0 8px 8px 0; }
.article-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 1rem 0; }

/* ---- Khu vuc Google Maps (2 chi nhanh) ---- */
.maps-head { text-align: center; margin-bottom: 28px; }
.maps-head h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.maps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.map-card {
  background: #ffffff;
  border: 1px solid var(--line, #ece7df);
  border-radius: 16px;
  box-shadow: 0 10px 30px -12px rgba(23, 20, 15, 0.15);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.map-card h3 { font-size: 1.15rem; color: var(--black, #303030); margin: 0; }
.map-frame { border-radius: 12px; overflow: hidden; line-height: 0; }
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-btn { align-self: flex-start; }
@media (max-width: 720px) {
  .maps-grid { grid-template-columns: 1fr; }
  .map-frame iframe { height: 320px; }
}
