/* =========================================================
   HIỆU THÁI LUXURY — DESIGN TOKENS
   Single source of truth for color, type, spacing, radius.
   Edit values here to re-theme the whole site.
   ========================================================= */
:root {
  /* --- color: base --- */
  --color-ink: #10151f;
  /* header / hero / footer background */
  --color-ink-soft: #1b2230;
  /* raised panels on dark bg */
  --color-ivory: #faf7f1;
  /* section background (light) */
  --color-paper: #ffffff;
  /* card background */

  /* --- color: accent --- */
  --color-brass: #a9793b;
  /* primary accent / links / buttons */
  --color-brass-light: #c9a25c;
  /* accent hover / on-dark accent */

  /* --- color: text --- */
  --color-text: #23262d;
  /* body text on light bg */
  --color-text-muted: #6b6f76;
  /* secondary text on light bg */
  --color-text-on-dark: #e8e4d8;
  /* body text on dark bg */
  --color-text-on-dark-muted: #9aa0ad;

  /* --- color: structure --- */
  --color-hairline: #e4decc;
  /* borders on light bg */
  --color-hairline-dark: #2b3242;
  /* borders on dark bg */

  /* --- placeholder (blank image slot) --- */
  --ph-bg: #e8e1cf;
  --ph-border: #c7bb98;

  /* --- typography --- */
  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  /* headings */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* body/UI */

  /* --- layout --- */
  --maxw: 1180px;
  --radius: 3px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  margin: 0;
  color: var(--color-ink);
  line-height: 1.18;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-brass);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- blank image placeholder: keeps exact size/ratio for later image swap ---- */
.img-ph {
  background: var(--ph-bg);
  border: 1px dashed var(--ph-border);
  border-radius: var(--radius);
  width: 100%;
  flex: none;
}

.img-ph.circle {
  border-radius: 50%;
}

.img-ph.square-fit {
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
}

/* ---- topbar ---- */
.topbar {
  background: var(--color-ink);
  color: #cfd3dc;
  font-size: 13px;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 28px;
  gap: 16px;

}

.topbar a {
  color: #cfd3dc;
}

.topbar a:hover {
  color: var(--color-brass-light);
}

.topbar-links {
  display: flex;
  gap: 20px;
}

.topbar-social {
  display: flex;
  gap: 14px;
}

/* ---- header ---- */
header.site-header {
  background: var(--color-ink);
  border-bottom: 1px solid var(--color-hairline-dark);
  position: sticky;
  top: 0;
  z-index: 200;
}

header.site-header .wrap {
  max-width: 1440px;
  padding: 0 32px;
  padding-bottom: 20px;

}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f4efe4;
  flex: none;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--color-brass-light);
  background: radial-gradient(circle at 30% 30%, rgba(201, 162, 92, 0.25), rgba(16, 21, 31, 0.9));
  box-shadow: 0 0 14px rgba(201, 162, 92, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-brass-light);
  letter-spacing: -0.5px;
  flex: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.04);
  box-shadow: 0 0 18px rgba(201, 162, 92, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  white-space: nowrap;
  flex: none;
}

.brand-text .name {
  font-family: var(--font-serif);
  font-size: 18.5px;
  font-weight: 600;
  letter-spacing: .3px;
  color: #f8f5ec;
  white-space: nowrap;
}

.brand-text .tag {
  font-size: 11px;
  color: #9aa0ad;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 2px;
  white-space: nowrap;
}

nav.primary-nav {
  display: flex;
}

nav.primary-nav>ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

nav.primary-nav>ul>li {
  position: relative;
}

nav.primary-nav>ul>li>a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  color: #e8e4d8;
  font-size: 14px;
  border-radius: var(--radius);
  transition: color .15s ease;
  white-space: nowrap;
}

nav.primary-nav>ul>li>a .caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #8b8f9c;
  border-bottom: 1.5px solid #8b8f9c;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform .15s ease, border-color .15s ease;
}

nav.primary-nav>ul>li:hover>a,
nav.primary-nav>ul>li>a.current {
  color: var(--color-brass-light);
}

nav.primary-nav>ul>li:hover>a .caret {
  border-color: var(--color-brass-light);
  transform: rotate(225deg);
  margin-top: 3px;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  background: var(--color-paper);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(16, 21, 31, .2);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}

li.has-dropdown:hover .dropdown,
li.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--color-text);
  border-radius: 2px;
}

.dropdown a:hover {
  background: var(--color-ivory);
  color: var(--color-brass);
}

.dropdown .divider {
  height: 1px;
  background: var(--color-hairline);
  margin: 6px 4px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hotline {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e8e4d8;
  font-size: 14px;
}

.hotline .num {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--color-brass-light);
}

.hotline .ring-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6fae7c;
  box-shadow: 0 0 0 3px rgba(111, 174, 124, .25);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
  white-space: nowrap;
  flex: none;
}

.btn-brass {
  background: var(--color-brass);
  color: #fff;
}

.btn-brass:hover {
  background: var(--color-brass-light);
}

.btn-outline {
  border-color: var(--color-brass-light);
  color: var(--color-brass-light);
}

.btn-outline:hover {
  background: rgba(201, 162, 92, .1);
}

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

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--color-hairline-dark);
  background: transparent;
  color: #e8e4d8;
  cursor: pointer;
  flex: none;
  align-items: center;
  justify-content: center;
}

/* ---- category pill nav (Kiến Thức pages) ---- */
.pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.pill-nav a {
  padding: 9px 18px;
  border: 1px solid var(--color-hairline);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--color-text);
  background: var(--color-paper);
}

.pill-nav a:hover,
.pill-nav a.current {
  border-color: var(--color-brass);
  color: var(--color-brass);
}

/* ---- breadcrumb ---- */
.breadcrumb {
  font-size: 13px;
  color: #9aa0ad;
  margin-bottom: 14px;
}

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

/* ---- hero (home) ---- */
.hero {
  background: radial-gradient(1100px 420px at 82% -10%, rgba(169, 121, 59, .22), transparent 60%), var(--color-ink);
  color: #f4efe4;
  padding: 0 0 64px;
  border-bottom: 1px solid var(--color-hairline-dark);
  overflow: hidden;
}

.hero-image-full {
  width: 100%;
}

.hero-image-full img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.hero-content {
  margin-top: 44px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--color-brass-light);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--color-brass-light);
}

.hero h1 {
  font-size: clamp(30px, 3.6vw, 44px);
  color: #f8f5ec;
  max-width: 28ch;
  margin: 0 auto;
}

.hero .lede {
  margin-top: 18px;
  font-size: 17px;
  color: #c7cad3;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.hero .cta-row {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- page hero (sub pages) ---- */
.page-hero {
  background: var(--color-ink);
  color: #f4efe4;
  padding: 54px 0 40px;
  border-bottom: 1px solid var(--color-hairline-dark);
}

.page-hero .breadcrumb {
  color: #9aa0ad;
}

.page-hero h1 {
  color: #f8f5ec;
  font-size: clamp(28px, 3.4vw, 38px);
  max-width: 26ch;
}

.page-hero .lede {
  margin-top: 14px;
  color: #c7cad3;
  max-width: 60ch;
  font-size: 15.5px;
}

/* ---- sections shared ---- */
section {
  padding: 72px 0;
}

.section-ivory {
  background: var(--color-ivory);
}

.section-paper {
  background: var(--color-paper);
}

.section-ink {
  background: var(--color-ink);
  color: #e8e4d8;
}

.section-ink h2,
.section-ink h3 {
  color: #f8f5ec;
}

.section-head {
  max-width: 660px;
  margin-bottom: 40px;
}

.section-head .eyebrow {
  color: var(--color-brass);
}

.section-head .eyebrow::before {
  background: var(--color-brass);
}

.section-ink .section-head .eyebrow {
  color: var(--color-brass-light);
}

.section-ink .section-head .eyebrow::before {
  background: var(--color-brass-light);
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.section-head p {
  margin-top: 14px;
  color: var(--color-text-muted);
  font-size: 15.5px;
}

.section-ink .section-head p {
  color: var(--color-text-on-dark-muted);
}

/* ---- trust grid ---- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-hairline);
  border: 1px solid var(--color-hairline);
}

.trust-card {
  background: var(--color-paper);
  padding: 30px 28px;
  display: flex;
  gap: 16px;
}

.trust-card .img-ph,
.trust-card img {
  width: 44px;
  height: 44px;
  flex: none;
  object-fit: contain;
}

.trust-card p {
  font-size: 14.5px;
  color: var(--color-text);
  align-self: center;
}

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

.service-card {
  background: var(--color-paper);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .15s ease;
}

.service-card:hover {
  border-color: var(--color-brass-light);
}

.service-card .img-ph,
.service-card img,
.service-card .service-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: contain;
  background: #f8f6f0;
  display: block;
}

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

.service-body h3 {
  font-size: 18px;
}

.service-body p {
  font-size: 14.5px;
  color: var(--color-text-muted);
  flex: 1;
}

.service-link {
  font-size: 14px;
  color: var(--color-brass);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link .arrow {
  transition: transform .15s ease;
}

.service-card:hover .service-link .arrow {
  transform: translateX(3px);
}

/* ---- process ---- */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-list::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--color-hairline-dark);
}

.process-step {
  position: relative;
}

.process-step .img-ph,
.img-ph.circle,
.circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  background: var(--color-brass, #b8860b);
  color: var(--color-ink, #0e131f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  font-family: var(--font-sans);
}

.process-step h3 {
  font-size: 15.5px;
  color: #f4efe4;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 13.5px;
  color: #9aa0ad;
}

.process-step strong {
  color: #d7d3c6;
}

/* ---- gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.gallery-grid .img-ph,
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: contain;
  background: #f8f6f0;
  border-radius: var(--radius);
  display: block;
}

/* ---- faq ---- */
.faq-list {
  max-width: 780px;
}

.faq-item {
  border-bottom: 1px solid var(--color-hairline);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 4px;
  font-size: 16px;
  font-family: var(--font-serif);
  color: var(--color-ink);
}

.faq-q .plus {
  width: 22px;
  height: 22px;
  flex: none;
  position: relative;
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--color-brass);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-q .plus::before {
  width: 14px;
  height: 1.6px;
}

.faq-q .plus::after {
  width: 1.6px;
  height: 14px;
  transition: transform .18s ease;
}

.faq-item.open .plus::after {
  transform: translate(-50%, -50%) rotate(90deg) scale(0);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .22s ease;
}

.faq-a-in {
  padding: 0 4px 20px;
  color: var(--color-text-muted);
  font-size: 14.5px;
  max-width: 66ch;
}

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

.post-card {
  background: var(--color-paper);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
}

.post-card .img-ph,
.post-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: contain;
  background: #f8f6f0;
  display: block;
}

.post-body {
  padding: 18px;
}

.post-body .cat {
  font-size: 12px;
  color: var(--color-brass);
  margin-bottom: 8px;
}

.post-body h3 {
  font-size: 15px;
  line-height: 1.45;
}

.post-body p {
  font-size: 13.5px;
  color: var(--color-text-muted);
  margin-top: 10px;
}

/* ---- article (service / knowledge detail) ---- */
.article {
  max-width: 780px;
}

.article .img-ph {
  margin: 22px 0;
}

.article h2 {
  font-size: 24px;
  margin: 42px 0 16px;
}

.article h2:first-child {
  margin-top: 0;
}

.article h3 {
  font-size: 17.5px;
  margin: 24px 0 10px;
  color: var(--color-brass);
  font-family: var(--font-sans);
  font-weight: 700;
}

.article p {
  margin-bottom: 14px;
  font-size: 15.5px;
}

.article ul {
  margin: 0 0 16px;
}

.article ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 15px;
}

.article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--color-brass);
}

.article .callout {
  background: var(--color-ivory);
  border-left: 3px solid var(--color-brass);
  padding: 18px 22px;
  font-size: 14.5px;
  margin: 22px 0;
}

.req-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  background: var(--color-paper);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius);
  padding: 34px;
}

.req-col h3 {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-weight: 700;
}

.article .req-col ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.article .req-col ul li,
.req-col ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  padding-left: 0;
  margin-bottom: 0;
  font-size: 14.5px;
  border-bottom: 1px dashed var(--color-hairline);
  position: static;
}

.req-col ul li:last-child {
  border-bottom: none;
}

.article .req-col ul li::before,
.req-col ul li::before {
  content: "—";
  position: static;
  width: auto;
  height: auto;
  background: transparent;
  color: var(--color-brass);
  flex: none;
  font-weight: 600;
  line-height: inherit;
}

.split {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
}

.side-card {
  background: var(--color-ink);
  color: #e8e4d8;
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 96px;
}

.side-card h4 {
  font-family: var(--font-serif);
  color: #f4efe4;
  font-size: 18px;
  margin-bottom: 12px;
}

.side-card p {
  font-size: 13.5px;
  color: #a7abb7;
  margin-bottom: 20px;
}

.side-card .btn {
  width: 100%;
}

.side-list {
  margin-top: 22px;
  border-top: 1px solid var(--color-hairline-dark);
  padding-top: 18px;
}

.side-list li a {
  display: block;
  padding: 9px 0;
  font-size: 13.5px;
  color: #c7cad3;
}

.side-list li a:hover {
  color: var(--color-brass-light);
}

/* ---- footer ---- */
footer.site-footer {
  background: var(--color-ink);
  color: #a7abb7;
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--color-hairline-dark);
}

.footer-col h4 {
  color: #f4efe4;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 13.5px;
}

.footer-col ul li a:hover {
  color: var(--color-brass-light);
}

.footer-col p {
  font-size: 13.5px;
  margin-bottom: 8px;
  color: #8a8f9c;
}

.footer-map .img-ph,
.footer-map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: var(--radius);
  display: block;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--color-hairline-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.footer-social a:hover {
  border-color: var(--color-brass-light);
  color: var(--color-brass-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 12.5px;
  color: #7d8290;
  flex-wrap: wrap;
  gap: 10px;
}

.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0062F3;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(16, 21, 31, .35);
  font-size: 20px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.fab img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.fab:hover {
  transform: scale(1.06);
}

.fab.zalo-fab {
  background: #0062F3;
}

.fab.hotline-fab {
  background: var(--color-ink);
  border: 1px solid var(--color-brass-light);
  color: var(--color-brass-light);
}

/* ---- commitments / feature highlight section ---- */
.section-commitments {
  padding: 56px 0 64px;
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-hairline);
}

.commitments-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 42px;
}

.commitments-title {
  color: #b81c1c;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.3;
}

.title-underline {
  width: 140px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #b81c1c, transparent);
  margin: 14px auto 18px;
  border-radius: 2px;
}

.commitments-subtitle {
  font-size: 15px;
  color: #4a4d55;
  line-height: 1.65;
  max-width: 820px;
  margin: 0 auto;
}

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

.commitment-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 12px;
}

.commitment-icon {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.commitment-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.commitment-text {
  font-size: 14px;
  font-weight: 600;
  color: #23262d;
  line-height: 1.5;
}

/* ---- responsive ---- */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

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

  .process-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 20px;
  }

  .process-list::before {
    display: none;
  }

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

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

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

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

  .side-card {
    position: static;
  }

  .req-panel {
    grid-template-columns: 1fr;
  }

  .commitments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }
}

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

  header.site-header .wrap {
    /* padding: 0 16px; */
    padding-top: 20px;
  }

  .nav-row {
    padding: 10px 0;
    gap: 10px;
  }

  .brand-text {
    display: none;
  }

  .brand .brand-logo,
  .brand img {
    max-height: 38px;
  }

  .header-cta {
    gap: 8px;
  }

  .header-cta .hotline {
    font-size: 12px;
  }

  .header-cta .hotline .num {
    font-size: 14px;
  }

  .header-cta .btn-brass {
    padding: 8px 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  .header-cta .btn-outline {
    display: none;
  }

  .menu-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    font-size: 18px;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-brass-light);
    color: var(--color-brass-light);
    border-radius: var(--radius);
  }

  nav.primary-nav {
    position: fixed;
    inset: 59px 0 0 0;
    background: var(--color-ink);
    padding: 12px 20px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .22s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
  }

  nav.primary-nav.open {
    transform: translateX(0);
  }

  nav.primary-nav>ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  nav.primary-nav>ul>li {
    border-bottom: 1px solid var(--color-hairline-dark);
  }

  nav.primary-nav>ul>li>a {
    padding: 14px 6px;
    font-size: 15px;
    font-weight: 500;
    justify-content: space-between;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    border-radius: var(--radius);
    padding: 6px 10px;
    margin: 4px 0 10px;
    display: none;
  }

  .dropdown a {
    color: #c7cad3;
    padding: 9px 12px;
    font-size: 14px;
  }

  .dropdown a:hover,
  .dropdown a.current {
    background: rgba(201, 162, 92, 0.12);
    color: var(--color-brass-light);
  }

  li.has-dropdown.open .dropdown {
    display: block;
  }

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

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

  .process-list {
    grid-template-columns: 1fr;
  }

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

  .posts-grid {
    grid-template-columns: 1fr !important;
  }

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

  section {
    padding: 52px 0;
  }

  .pill-nav {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .header-cta .hotline {
    display: none;
  }

  .header-cta .btn-brass {
    padding: 7px 12px;
    font-size: 12.5px;
  }
}

@media (max-width: 600px) {
  .commitments-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .commitments-title {
    font-size: 19px;
  }
}

/* ---- scroll to top button (bottom-left) ---- */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-ink, #0e131f);
  color: var(--color-brass-light, #d4af37);
  border: 1px solid var(--color-brass, #b8860b);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--color-brass, #b8860b);
  color: var(--color-ink, #0e131f);
  border-color: var(--color-brass-light, #d4af37);
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.45);
}

@media (max-width: 720px) {
  .scroll-top-btn {
    bottom: 18px;
    left: 18px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}

/* ---- thank you modal ---- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(16, 21, 31, 0.75);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: var(--color-paper);
  border: 1px solid var(--color-brass-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-card .modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-card .modal-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(201, 162, 92, 0.15);
  border: 1.5px solid var(--color-brass-light);
  color: var(--color-brass-light);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.modal-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--color-ink);
  margin-bottom: 10px;
}

.modal-card p {
  font-size: 14.5px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.55;
}

/* ---- popup consultation modal ---- */
.consultation-modal-card {
  background: var(--color-ink);
  border: 1px solid var(--color-brass-light);
  border-radius: var(--radius);
  padding: 36px 30px;
  max-width: 480px;
  width: 100%;
  color: #f4efe4;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  animation: modalFadeIn 0.3s ease-out;
}

.consultation-modal-card .modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  color: #9aa0ad;
  cursor: pointer;
  line-height: 1;
}

.consultation-modal-card .modal-close:hover {
  color: var(--color-brass-light);
}

.consultation-modal-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: #f8f5ec;
  margin-bottom: 8px;
}

.consultation-modal-card p {
  font-size: 14px;
  color: #c7cad3;
  margin-bottom: 20px;
  line-height: 1.5;
}

.consultation-modal-card label {
  font-size: 13px;
  color: #9aa0ad;
  display: block;
  margin-bottom: 6px;
  text-align: left;
}

.consultation-modal-card input,
.consultation-modal-card select {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-hairline-dark);
  border-radius: 3px;
  color: #f4efe4;
  font-family: inherit;
  font-size: 14px;
}

.consultation-modal-card select option {
  background: var(--color-ink);
  color: #f4efe4;
}

.consultation-modal-card input:focus,
.consultation-modal-card select:focus {
  outline: none;
  border-color: var(--color-brass-light);
}

/* ---- loan terms section (under hero banner) ---- */
.loan-terms-section {
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-hairline);
  padding: 44px 0;
  text-align: center;
}

.loan-terms-box {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.loan-rate-highlight {
  font-size: clamp(20px, 2.5vw, 24px);
  color: var(--color-brass);
  font-weight: 700;
  margin: 0;
  text-align: center;
}

.loan-apr-desc {
  font-size: 15.5px;
  color: var(--color-text);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.loan-apr-desc strong {
  color: var(--color-ink);
}

.loan-example-card {
  background: var(--color-ivory);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius);
  padding: 26px 28px;
  width: 100%;
  max-width: 700px;
  margin: 10px auto 0;
  text-align: center;
  box-shadow: 0 4px 16px rgba(16, 21, 31, 0.04);
}

.loan-example-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-ink);
  margin-bottom: 16px;
  text-align: center;
}

.loan-example-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: var(--color-text);
  text-align: center;
  align-items: center;
}

.loan-example-item {
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

.loan-example-item.highlight-total {
  font-weight: 700;
  color: var(--color-brass);
  font-size: 16.5px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--color-hairline);
  width: 100%;
}

.loan-tenure-box {
  font-size: 15.5px;
  color: var(--color-text);
  margin-top: 6px;
  text-align: center;
}

.loan-tenure-box strong {
  color: var(--color-ink);
}