/*
Theme Name: Bắc Ninh Xinh — Nội thất
Theme URI: https://bacninhxinh.vn
Author: Bắc Ninh Xinh
Description: Theme Bắc Âu sáng (bộ giao diện E) cho bacninhxinh.vn — thiết kế & thi công nội thất chung cư.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: noithat
*/

/* ===== Base ===== */
body { margin: 0; background: #ffffff; color: #23292e; font-family: 'Nunito', system-ui, sans-serif; }
a { color: #3f5a6b; }
a:where(:hover) { color: #2c4352; }
img, svg { max-width: 100%; }
img { height: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; padding: 10px 16px; border-radius: 12px; background: #23292e; color: #fff; }
:focus-visible { outline: 3px solid #3f5a6b; outline-offset: 2px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sec { max-width: 1240px; margin: 0 auto; padding: 80px 24px 0; }
.sec--72 { padding-top: 72px; }
.spacer-80 { height: 80px; }

.eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #3f5a6b; }
.h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.h2--mb { margin-bottom: 24px; }
.page-h1 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.lead { margin: 0; font-size: 17px; line-height: 27px; color: #4a535a; }
.muted { color: #5d666d; }
.note { margin: 10px 0 0; font-size: 13px; color: #5d666d; }

/* ===== Buttons ===== */
.btn { display: flex; align-items: center; justify-content: center; border: 0; font-family: inherit; font-weight: 800; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn--xl { height: 56px; padding: 0 28px; border-radius: 18px; font-size: 16px; }
.btn--lg { height: 54px; padding: 0 26px; border-radius: 16px; font-size: 16px; }
.btn--md { height: 52px; padding: 0 28px; border-radius: 16px; font-size: 15px; }
.btn--sm { height: 48px; padding: 0 22px; border-radius: 14px; font-size: 15px; }
.btn--primary { background: #3f5a6b; color: #ffffff; }
.btn--primary:hover { background: #36505f; color: #ffffff; }
.btn--cream { background: #f3f0ea; color: #23292e; }
.btn--cream:hover { background: #ebe6dc; color: #23292e; }
.btn--white { background: #ffffff; color: #23292e; }
.btn--white:hover { background: #f3f0ea; color: #23292e; }
.btn--dark { background: #23292e; color: #ffffff; }
.btn--dark:hover { background: #333b42; color: #ffffff; }
.btn--ghost-white { border: 1.5px solid #ffffff; color: #ffffff; background: transparent; }
.btn--ghost-white:hover { background: rgba(255,255,255,.1); color: #ffffff; }
.btn--outline { border: 1.5px solid #23292e; color: #23292e; background: transparent; }
.btn--outline:hover { background: #f3f0ea; color: #23292e; }

/* ===== Pills / chips ===== */
.pill { padding: 3px 10px; border-radius: 999px; background: #f3f0ea; font-size: 12px; font-weight: 700; }
.pills { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.badge { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: #f3f0ea; font-size: 12px; font-weight: 800; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: #f3f0ea; color: #23292e; font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; flex: none; }
.chip:hover { background: #ebe6dc; color: #23292e; }
.chip.is-active, .chip[aria-selected="true"], .chip[aria-current="true"] { background: #23292e; color: #ffffff; font-weight: 800; }

/* ===== Header ===== */
.e-top { background: #f3f0ea; font-size: 13px; color: #4a535a; }
.e-top__in { max-width: 1240px; margin: 0 auto; padding: 8px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.e-top__links { display: flex; gap: 20px; }
.e-top__mail { color: #4a535a; text-decoration: none; }
.e-top__tel { color: #23292e; font-weight: 800; text-decoration: none; }
.site-header { border-bottom: 1px solid #efebe4; background: #ffffff; }
.site-header__in { max-width: 1240px; margin: 0 auto; padding: 0 24px; height: 80px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #23292e; }
.brand__mark { width: 42px; height: 42px; border-radius: 12px; background: #e9dfd0; display: grid; place-items: center; flex: none; }
.brand__mark img { width: 42px; height: 42px; border-radius: 12px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-size: 21px; font-weight: 800; }
.brand__sub { font-size: 12px; font-weight: 600; color: #5d666d; }
.e-nav { display: flex; gap: 4px; margin-left: auto; }
.e-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.e-nav a { display: block; padding: 10px 14px; border-radius: 12px; color: #23292e; font-size: 15px; font-weight: 700; text-decoration: none; }
.e-nav a:hover { background: #f8f6f2; color: #23292e; }
.e-nav a[aria-current="page"] { background: #f3f0ea; font-weight: 800; }
.e-head-cta { height: 48px; padding: 0 22px; border-radius: 16px; font-size: 15px; }
.e-menu { margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 14px; background: #f3f0ea; color: #23292e; display: none; place-items: center; cursor: pointer; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__bg { position: absolute; inset: 0; background: rgba(35,41,46,.45); opacity: 0; transition: opacity .2s; }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); background: #ffffff; padding: 20px; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer__close { width: 44px; height: 44px; border: 0; border-radius: 14px; background: #f3f0ea; color: #23292e; display: grid; place-items: center; cursor: pointer; font-size: 22px; }
.drawer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.drawer__nav a { display: block; padding: 14px 16px; border-radius: 14px; color: #23292e; font-size: 17px; font-weight: 700; text-decoration: none; }
.drawer__nav a[aria-current="page"] { background: #f3f0ea; font-weight: 800; }
.drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
body.no-scroll { overflow: hidden; }

/* ===== Footer ===== */
.site-footer { background: #23292e; color: #f3f0ea; }
.site-footer__grid { max-width: 1240px; margin: 0 auto; padding: 56px 24px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.f-col { display: flex; flex-direction: column; gap: 2px; }
.f-col--brand { gap: 14px; }
.f-col--contact { gap: 10px; }
.f-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.f-brand .brand__name { color: #ffffff; }
.f-about { margin: 0; font-size: 14px; line-height: 22px; color: #c3cad0; }
.f-social { display: flex; gap: 8px; flex-wrap: wrap; }
.f-social a { height: 40px; padding: 0 14px; border-radius: 999px; background: #333b42; color: #ffffff; display: flex; align-items: center; font-size: 13px; font-weight: 800; text-decoration: none; }
.f-social a:hover { background: #3c454c; color: #ffffff; }
.f-h { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #9aa6b0; }
.f-col--contact .f-h { margin-bottom: 4px; }
.f-link { padding: 6px 0; color: #f3f0ea; text-decoration: none; font-size: 15px; }
.f-link:hover { color: #ffffff; text-decoration: underline; }
.f-tel { color: #ffffff; font-size: 20px; font-weight: 800; text-decoration: none; }
.f-tel:hover { color: #ffffff; }
.f-mail { color: #f3f0ea; text-decoration: none; font-size: 15px; }
.f-mail:hover { color: #ffffff; }
.f-addr { font-size: 15px; line-height: 22px; color: #f3f0ea; }
.site-footer__bottom { max-width: 1240px; margin: 0 auto; padding: 18px 24px 28px; border-top: 1px solid #3c454c; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #9aa6b0; }

/* Floating contact */
.fab { position: fixed; right: 20px; bottom: 24px; z-index: 50; display: flex; flex-direction: column; gap: 14px; }
.fab a { width: 60px; height: 60px; border-radius: 999px; background: #ffffff; display: grid; place-items: center; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,0.18); transition: transform .15s; }
.fab a:hover { transform: scale(1.06); }
.fab__zalo { width: 42px; height: 42px; border-radius: 999px; border: 2.5px solid #0068ff; box-sizing: border-box; color: #0068ff; display: grid; place-items: center; font-family: system-ui, sans-serif; font-size: 12px; font-weight: 800; }
.fab__msg { color: #0866ff; }
.fab__call { color: #e5322d; }

/* ===== Breadcrumb / page hero ===== */
.crumbs { font-size: 14px; color: #5d666d; }
.crumbs a { color: #5d666d; }
.crumbs span[aria-current] { color: #23292e; font-weight: 700; }
.phero { background: #f3f0ea; }
.phero__in { max-width: 1240px; margin: 0 auto; padding: 28px 24px 40px; display: flex; flex-direction: column; gap: 12px; }
.phero__in--36 { padding-bottom: 36px; }
.phero .lead { max-width: 640px; }

/* ===== Home hero ===== */
.hero { max-width: 1240px; margin: 0 auto; padding: 40px 24px 56px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hero__txt { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero__tag { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: #e5ebe3; color: #3d5a3a; font-size: 13px; font-weight: 800; }
.hero h1 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; }
.hero__lead { margin: 0; font-size: 18px; line-height: 28px; color: #5d666d; max-width: 460px; }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__call { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #23292e; margin-top: 8px; align-self: flex-start; }
.hero__call:hover { color: #23292e; }
.hero__call-ic { width: 44px; height: 44px; border-radius: 14px; background: #e4ebf0; color: #3f5a6b; display: grid; place-items: center; }
.hero__call small { display: block; font-size: 13px; color: #5d666d; }
.hero__call b { display: block; font-size: 18px; font-weight: 800; }
.e-hero-gal { flex: 1.6 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 210px 210px 180px; gap: 12px; }
.hg { position: relative; border-radius: 24px; overflow: hidden; text-decoration: none; color: #23292e; background: #f3f0ea; }
.hg:hover { color: #23292e; }
.hg--big { grid-column: 1 / 3; grid-row: 1 / 3; border-radius: 28px; }
.hg--wide { grid-column: 1 / -1; }
.hg > svg, .hg > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hg:hover > svg, .hg:hover > img { transform: scale(1.03); }
.hg__card { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: #ffffff; }
.hg__card b { display: block; font-size: 17px; font-weight: 800; }
.hg__card small { display: block; font-size: 13px; color: #5d666d; }
.hg__arrow { width: 40px; height: 40px; border-radius: 12px; background: #23292e; color: #ffffff; display: grid; place-items: center; flex: none; }
.hg__label { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: #ffffff; font-size: 13px; font-weight: 800; }
.hg__all { position: absolute; right: 12px; bottom: 12px; padding: 6px 14px; border-radius: 999px; background: #23292e; color: #ffffff; font-size: 13px; font-weight: 800; }

/* Commitments */
.commit { background: #f3f0ea; }
.commit__grid { max-width: 1240px; margin: 0 auto; padding: 28px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.commit__item { display: flex; gap: 14px; align-items: center; }
.commit__ic { flex: none; width: 48px; height: 48px; border-radius: 16px; background: #ffffff; color: #3f5a6b; display: grid; place-items: center; }
.commit__item b { display: block; font-size: 16px; }
.commit__item span span { font-size: 14px; color: #5d666d; }

/* Section head w/ tabs */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }

/* ===== Cards (công trình) ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.cards--300 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { text-decoration: none; color: #23292e; display: block; }
.card:hover { color: #23292e; }
.card[hidden] { display: none; }
.card__img { position: relative; height: 240px; border-radius: 24px; overflow: hidden; background: #e4ebf0; }
.cards--300 .card__img { height: 260px; }
.cards--rel .card__img { height: 220px; border-radius: 22px; }
.card__img img, .card__img svg { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__img img, .card:hover .card__img svg { transform: scale(1.03); }
.card__status { position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px; background: #ffffff; font-size: 12px; font-weight: 800; }
.card__title { margin: 8px 0 2px; font-size: 18px; font-weight: 800; }
.cards--300 .card__title { font-size: 19px; }
.cards--rel .card__title { margin-top: 12px; }
.card__meta { margin: 0; font-size: 14px; color: #5d666d; }
.bg-blue { background: #e4ebf0; } .bg-green { background: #e5ebe3; } .bg-cream { background: #f3f0ea; } .bg-oak { background: #e9dfd0; } .bg-steel { background: #c9d4dc; }
.center-row { display: flex; justify-content: center; margin-top: 28px; }
.empty { padding: 40px 24px; border-radius: 24px; background: #f3f0ea; text-align: center; color: #4a535a; }

/* ===== Before / after ===== */
.ba-band { border-radius: 32px; background: #23292e; color: #ffffff; padding: clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.ba-band__txt { flex: 1 1 300px; min-width: 0; }
.ba-band .eyebrow { color: #c9d4dc; }
.ba-band h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; font-weight: 800; }
.ba-band p.d { margin: 14px 0 0; font-size: 16px; line-height: 26px; color: #c3cad0; }
.ba { flex: 1.4 1 420px; min-width: 0; position: relative; height: 340px; border-radius: 24px; overflow: hidden; --pos: 50%; user-select: none; touch-action: pan-y; }
.ba--300 { flex: none; height: 300px; border-radius: 20px; }
.ba__layer { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px; }
.ba--300 .ba__layer { padding: 14px; }
.ba__layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { background: #4a535a; }
.ba__after { background: #e9dfd0; justify-content: flex-end; clip-path: inset(0 0 0 var(--pos)); }
.ba__tag { position: relative; padding: 6px 12px; border-radius: 999px; background: #23292e; color: #ffffff; font-size: 13px; font-weight: 800; }
.ba__after .ba__tag { background: #ffffff; color: #23292e; }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #ffffff; pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 999px; background: #ffffff; color: #23292e; display: grid; place-items: center; font-weight: 800; pointer-events: none; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:focus-within .ba__knob { outline: 3px solid #c9d4dc; outline-offset: 2px; }

/* ===== Service tiles ===== */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.svc { padding: 24px; border-radius: 24px; }
.svc h3 { margin: 14px 0 6px; font-size: 19px; font-weight: 800; }
.svc p { margin: 0; font-size: 15px; line-height: 23px; color: #4a535a; }

/* ===== Packages ===== */
.pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: stretch; }
.pkgs--290 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.pkg { padding: 28px; border-radius: 28px; border: 1.5px solid #e9dfd0; display: flex; flex-direction: column; gap: 16px; }
.pkg h2, .pkg h3 { margin: 0; font-size: 26px; font-weight: 800; }
.pkgs--290 .pkg h2 { font-size: 28px; }
.pkg__area { margin: 4px 0 0; font-size: 14px; color: #5d666d; }
.pkg__price { margin: 0; font-size: 15px; color: #4a535a; }
.pkg__price b { color: #23292e; }
.pkg ul { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 22px; }
.pkg .btn { margin-top: auto; height: 52px; border-radius: 16px; font-size: 15px; }
.pkg__img { height: 160px; border-radius: 20px; overflow: hidden; }
.pkg__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pkg--hot { background: #3f5a6b; color: #ffffff; border: 0; }
.pkg--hot .badge { background: #ffffff; color: #3f5a6b; }
.pkg--hot .pkg__area, .pkg--hot .pkg__price { color: #e4ebf0; }
.pkg--hot .pkg__price b { color: #ffffff; }

/* Compare table */
.tbl-wrap { overflow-x: auto; border-radius: 24px; border: 1.5px solid #e9dfd0; }
.tbl { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.tbl thead tr { background: #f3f0ea; }
.tbl thead th { padding: 16px; font-weight: 800; }
.tbl thead th:first-child { text-align: left; padding: 16px 20px; }
.tbl thead th.hot { background: #3f5a6b; color: #ffffff; }
.tbl tbody th { text-align: left; padding: 14px 20px; font-weight: 700; border-top: 1px solid #efebe4; }
.tbl tbody td { text-align: center; padding: 14px; border-top: 1px solid #efebe4; }
.tbl tbody td.hot { background: #f6f8fa; }
.tbl .dim { color: #5d666d; }
.tbl tr.total th, .tbl tr.total td { font-weight: 800; }

/* ===== Steps ===== */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.step { padding: 22px; border-radius: 24px; background: #f3f0ea; }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #23292e; color: #ffffff; font-weight: 800; }
.step h3 { margin: 14px 0 6px; font-size: 18px; font-weight: 800; }
.step p { margin: 0; font-size: 15px; line-height: 23px; color: #4a535a; }
.step--last { background: #e5ebe3; }
.step--last .step__n { background: #3d5a3a; }
.steps--lg { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps--lg .step { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.steps--lg .step__n { width: 44px; height: 44px; border-radius: 14px; }
.steps--lg .step h3 { margin: 6px 0 0; font-size: 19px; }
.step__get { font-size: 13px; font-weight: 700; color: #5d666d; }
.step--last .step__get { color: #3d5a3a; }

/* ===== FAQ ===== */
.faq-sec { display: flex; flex-wrap: wrap; gap: 32px; }
.faq-sec__head { flex: 1 1 280px; min-width: 0; }
.faq-sec__head p.d { margin: 14px 0 0; font-size: 16px; line-height: 26px; color: #5d666d; }
.faq-list { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.faq { padding: 18px 22px; border-radius: 20px; background: #f3f0ea; }
.faq summary { cursor: pointer; font-size: 17px; font-weight: 800; }
.faq p, .faq .faq__a { margin: 10px 0 0; font-size: 15px; line-height: 24px; color: #4a535a; }
.faq .faq__a p { margin: 0 0 8px; }

/* ===== Contact block (home) ===== */
.cbox { border-radius: 32px; background: #f3f0ea; padding: clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 40px; }
.cbox__info { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cbox__info .eyebrow { margin: 0; }
.cbox__tel { color: #23292e; font-size: 26px; font-weight: 800; text-decoration: none; }
.cbox__mail { color: #4a535a; font-size: 16px; text-decoration: none; }
.cbox__addr { font-size: 16px; line-height: 24px; color: #4a535a; }
.map { display: flex; align-items: center; justify-content: center; height: 200px; border-radius: 20px; background: #e9dfd0; color: #4a535a; font-size: 14px; text-decoration: none; overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map--320 { height: 320px; border-radius: 24px; }

/* ===== Forms ===== */
.form { min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; align-content: start; }
.form--card { flex: 1 1 380px; background: #ffffff; border-radius: 24px; padding: 28px; }
.form--border { flex: 1.2 1 420px; padding: 28px; border-radius: 28px; border: 1.5px solid #e9dfd0; }
.form h2 { grid-column: 1 / -1; margin: 0; font-size: 26px; font-weight: 800; }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 800; }
.fld input, .fld select, .fld textarea { height: 50px; padding: 0 16px; border: 1.5px solid #8b9298; border-radius: 14px; font: inherit; font-size: 16px; font-weight: 400; color: #23292e; background: #ffffff; }
.fld select { padding: 0 12px; }
.fld textarea { height: auto; padding: 12px 16px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: #3f5a6b; outline: 2px solid #c9d4dc; outline-offset: 0; }
.full { grid-column: 1 / -1; }
.form fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; }
.form legend { font-size: 14px; font-weight: 800; margin-bottom: 8px; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 999px; background: #f3f0ea; font-size: 14px; font-weight: 700; cursor: pointer; }
.form button[type="submit"] { height: 54px; border-radius: 16px; font-size: 16px; }
.form button[disabled] { opacity: .7; cursor: wait; }
.form__privacy { margin: 0; font-size: 13px; color: #5d666d; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { grid-column: 1 / -1; padding: 14px 18px; border-radius: 14px; font-size: 15px; font-weight: 700; }
.form-msg--ok { background: #e5ebe3; color: #3d5a3a; }
.form-msg--err { background: #fbe9e7; color: #a03224; }

/* ===== CTA band ===== */
.cta-sec { max-width: 1240px; margin: 0 auto; padding: 72px 24px 80px; }
.cta { border-radius: 32px; background: #3f5a6b; color: #ffffff; padding: clamp(24px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta__txt { flex: 1 1 360px; min-width: 0; }
.cta h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 800; }
.cta p { margin: 10px 0 0; font-size: 16px; line-height: 25px; color: #e4ebf0; }
.cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cta .btn--ghost-white { padding: 0 22px; }

/* ===== Archive filters ===== */
.filters { position: sticky; top: 0; z-index: 10; background: #ffffff; border-bottom: 1px solid #efebe4; }
.admin-bar .filters { top: 32px; }
.filters__in { max-width: 1240px; margin: 0 auto; padding: 14px 24px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters__chips { display: flex; gap: 8px; overflow-x: auto; flex: 1 1 420px; min-width: 0; scrollbar-width: none; }
.filters__chips .chip { height: 42px; }
.filters label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.filters select { height: 42px; padding: 0 12px; border: 1.5px solid #8b9298; border-radius: 12px; font: inherit; font-size: 14px; background: #ffffff; color: #23292e; }
.count { margin: 0 0 18px; font-size: 14px; color: #5d666d; }
.count b { color: #23292e; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; box-sizing: border-box; border-radius: 14px; background: #f3f0ea; color: #23292e; display: grid; place-items: center; font-weight: 700; text-decoration: none; }
.pager .current { background: #23292e; color: #ffffff; font-weight: 800; }
.pager .next, .pager .prev { padding: 0 16px; display: flex; align-items: center; }
.pager .dots { background: transparent; }

/* ===== Single công trình ===== */
.sh { max-width: 1240px; margin: 0 auto; padding: 24px 24px 0; display: flex; flex-direction: column; gap: 12px; }
.sh__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.sh__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.sh__tags span { padding: 4px 12px; border-radius: 999px; background: #f3f0ea; font-size: 13px; font-weight: 700; }
.sh__tags .ok { background: #e5ebe3; color: #3d5a3a; font-weight: 800; }
.sh h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.share { height: 44px; padding: 0 18px; border-radius: 14px; font-size: 14px; }
.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); grid-auto-rows: 220px; gap: 10px; }
.gal__it { position: relative; border-radius: 20px; overflow: hidden; display: block; padding: 0; border: 0; cursor: zoom-in; }
.gal__it.e-span2 { background: #f3f0ea; }
div.gal__it { cursor: default; }
div.gal__it .gal__more { cursor: default; }
.gal__it img, .gal__it svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.e-span2 { grid-column: span 2; grid-row: span 2; border-radius: 24px; }
.gal__more { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 20px; background: rgba(35,41,46,.88); color: #ffffff; font-size: 15px; font-weight: 800; cursor: pointer; border: 0; font-family: inherit; width: 100%; }
.detail { max-width: 1240px; margin: 0 auto; padding: 48px 24px 0; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.detail__main { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.detail__main h2 { margin: 0 0 12px; font-size: 26px; font-weight: 800; }
.detail__text { margin: 0; font-size: 17px; line-height: 28px; color: #4a535a; }
.detail__text p { margin: 0 0 12px; }
.detail__text p:last-child { margin-bottom: 0; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; font-size: 16px; line-height: 25px; }
.ticks li::before { content: "✓"; flex: none; width: 28px; height: 28px; border-radius: 999px; background: #e5ebe3; color: #3d5a3a; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.spaces { display: flex; flex-direction: column; gap: 24px; }
.spaces__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.space__img { height: 220px; border-radius: 20px; overflow: hidden; }
.space--big .space__img { height: 300px; border-radius: 24px; }
.space__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.space h3 { margin: 12px 0 4px; font-size: 19px; font-weight: 800; }
.space p { margin: 0; font-size: 15px; line-height: 24px; color: #4a535a; }
.mats { display: flex; flex-wrap: wrap; gap: 8px; }
.mats span { padding: 10px 16px; border-radius: 14px; background: #f3f0ea; font-size: 14px; font-weight: 700; }
.ba-card { border-radius: 28px; background: #23292e; color: #ffffff; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.ba-card h2 { margin: 0 !important; font-size: 24px !important; }
.aside { flex: 1 1 300px; min-width: 0; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 14px; }
.admin-bar .aside { top: 56px; }
.facts { border-radius: 24px; border: 1.5px solid #e9dfd0; padding: 24px; display: flex; flex-direction: column; }
.facts h2 { margin: 0 0 12px; font-size: 18px; font-weight: 800; }
.facts__row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #efebe4; font-size: 15px; }
.facts__row span { color: #5d666d; }
.facts__row b { text-align: right; }
.aside-cta { border-radius: 24px; background: #3f5a6b; color: #ffffff; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.aside-cta h2 { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 800; }
.aside-cta p { margin: 0; font-size: 15px; line-height: 23px; color: #e4ebf0; }
.aside-cta .btn--white { height: 52px; border-radius: 16px; font-size: 16px; }
.aside-cta .btn--ghost-white { height: 48px; border-radius: 16px; font-size: 15px; }
.rel-sec { max-width: 1240px; margin: 0 auto; padding: 72px 24px 80px; }
.rel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.rel-head h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.rel-head a { font-size: 15px; font-weight: 800; padding: 10px 0; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(20,24,27,.94); display: none; align-items: center; justify-content: center; }
.lb.is-open { display: flex; }
.lb img { max-width: calc(100vw - 120px); max-height: calc(100vh - 120px); border-radius: 12px; object-fit: contain; }
.lb button { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 999px; background: #ffffff; color: #23292e; font-size: 22px; font-weight: 800; cursor: pointer; display: grid; place-items: center; }
.lb__close { top: 20px; right: 20px; }
.lb__prev { left: 20px; top: 50%; margin-top: -24px; }
.lb__next { right: 20px; top: 50%; margin-top: -24px; }
.lb__count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #c3cad0; font-size: 14px; font-weight: 700; }

/* ===== Services page ===== */
.svc-hero { max-width: 1240px; margin: 0 auto; padding: 28px 24px 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.svc-hero__txt { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.svc-hero__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.svc-hero__btns .btn--white { padding: 0 22px; }
.svc-hero__nav { flex: 1 1 380px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.svc-hero__nav a { padding: 18px; border-radius: 20px; background: #ffffff; text-decoration: none; color: #23292e; font-size: 16px; font-weight: 800; }
.svc-hero__nav a:hover { background: #fbfaf7; color: #23292e; }
.svc-list { max-width: 1240px; margin: 0 auto; padding: 72px 24px 0; display: flex; flex-direction: column; gap: 64px; }
.svc-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; scroll-margin-top: 24px; }
.svc-row--rev { flex-wrap: wrap-reverse; }
.svc-row__img { flex: 1 1 400px; min-width: 0; height: 360px; border-radius: 28px; overflow: hidden; }
.svc-row__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-row__txt { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.svc-row__txt .k { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #3f5a6b; }
.svc-row__txt h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; font-weight: 800; }
.svc-row__txt p { margin: 0; font-size: 16px; line-height: 26px; color: #4a535a; }
.svc-row__txt ul { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 23px; }

/* ===== Package page extras ===== */
.pk-more { max-width: 1240px; margin: 0 auto; padding: 72px 24px 0; display: flex; flex-wrap: wrap; gap: 20px; }
.pk-more__box { flex: 1 1 360px; min-width: 0; padding: 28px; border-radius: 28px; background: #e5ebe3; display: flex; flex-direction: column; gap: 12px; }
.pk-more__box h2 { margin: 0; font-size: 24px; font-weight: 800; }
.pk-more__box p { margin: 0; font-size: 16px; line-height: 25px; color: #4a535a; }
.pk-more__box .btn { align-self: flex-start; }
.pk-more .faq-list { flex: 1 1 360px; }
.tbl-sec h2 { margin: 0 0 20px; font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; }

/* ===== Contact page ===== */
.ccards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ccard { padding: 24px; border-radius: 24px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; color: #23292e; }
.ccard:hover { color: #23292e; filter: brightness(.98); }
.ccard__ic { width: 48px; height: 48px; border-radius: 16px; background: #ffffff; color: #3f5a6b; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.ccard small { font-size: 14px; color: #4a535a; }
.ccard b { font-size: 24px; font-weight: 800; word-break: break-word; }
.ccard--primary { background: #3f5a6b; color: #ffffff; }
.ccard--primary:hover { color: #ffffff; }
.ccard--primary small { color: #e4ebf0; }
.ccard--zalo .ccard__ic { color: #0068ff; }
.ccard--mail b { font-size: 20px; }
.cpage { max-width: 1240px; margin: 0 auto; padding: 40px 24px 0; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.cpage__side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.office { padding: 24px; border-radius: 24px; background: #f3f0ea; display: flex; flex-direction: column; gap: 14px; }
.office h2 { margin: 0; font-size: 20px; font-weight: 800; }
.office p { margin: 0; font-size: 16px; line-height: 25px; }
.office__row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.office__row:first-of-type { padding-top: 12px; border-top: 1px solid #e2ddd3; }
.office__row span { color: #5d666d; }
.dir-btn { height: 50px; border-radius: 16px; }

/* ===== Generic page / post content ===== */
.content { max-width: 820px; margin: 0 auto; padding: 48px 24px 0; font-size: 17px; line-height: 28px; color: #2f363b; }
.content h2 { font-size: 28px; line-height: 1.25; margin: 36px 0 12px; color: #23292e; }
.content h3 { font-size: 21px; margin: 28px 0 10px; color: #23292e; }
.content img { border-radius: 16px; }
.content blockquote { margin: 20px 0; padding: 16px 22px; border-radius: 16px; background: #f3f0ea; }
.content table { border-collapse: collapse; width: 100%; }
.content td, .content th { border: 1px solid #efebe4; padding: 10px; }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

/* ===== Responsive (from design site.css) ===== */
@media (max-width: 980px) { .e-nav { display: none !important; } .e-menu { display: grid !important; } .e-head-cta { display: none !important; } }
@media (max-width: 782px) { .admin-bar .filters { top: 0; } }
@media (max-width: 720px) { .e-top { display: none !important; } }
@media (max-width: 600px) { .e-span2 { grid-column: auto !important; } .lb img { max-width: calc(100vw - 24px); } .lb__prev, .lb__next { top: auto; bottom: 16px; } .lb__prev { left: 16px; } .lb__next { right: 16px; } }
@media (max-width: 900px) { .e-hero-gal { order: -1; } .aside { position: static; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
