/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 4.3
*/

/*************** ANHOME CUSTOM CSS ***************/

:root {
  --anh-navy: #0e1527;
  --anh-navy-dark: #0a1020;
  --anh-gold: #d4b077;
  --anh-gold-deep: #b8935a;
  --anh-text: #1b2233;
  --anh-cream: #f5f0e6;
  --anh-charcoal: #2b2b2b;
}

/* Đồng bộ font: không để trình duyệt fallback Times New Roman */
html,
body,
button,
input,
select,
textarea,
p,
a,
span,
li,
div,
h1,
h2,
h3,
h4,
h5,
h6,
.nav,
.nav > li > a,
.header,
.header-wrapper,
.button,
.section-title,
.title-wrapper {
  font-family: "Times New Roman", Times, serif !important;
}

/* Header: layout only. Màu nền/chữ/icon do Customizer (theme mod) quản để khách tự đổi được. */
.header-main {
  min-height: 82px !important;
  border-bottom: 1px solid var(--anh-gold);
  box-shadow: 0 2px 12px rgba(43,43,43,.08);
}

.header-main .container {
  max-width: 1160px !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

.logo,
.logo-left .logo {
  flex: 0 0 auto !important;
  margin-right: 46px !important;
}

.logo img {
  max-height: 66px !important;
  width: auto !important;
  object-fit: contain;
}

.header-inner,
.header-main .flex-row {
  flex-wrap: nowrap !important;
  align-items: center !important;
}

.header-nav-main.nav,
.header-nav-main.nav-left,
.header-nav-main.nav-right {
  align-items: center !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.header-nav-main > li {
  margin: 0 1px !important;
  flex: 0 0 auto !important;
}

.header-nav-main > li > a,
.header-nav-main .nav-top-link {
  font-size: 12.5px !important;
  line-height: 82px !important;
  min-height: 82px !important;
  font-weight: 800 !important;
  letter-spacing: 0;
  text-transform: uppercase !important;
  padding: 0 9px !important;
}

.header-nav-main > li.has-dropdown > a:after,
.nav > li.has-icon > a > i,
.nav > li > a > i.icon-search {
  opacity: 1 !important;
}

/* Search header dạng dropdown: icon đứng yên, ô nhập bung xuống dưới để không che menu. */
.header-nav-main .header-search-form {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 82px !important;
  margin-left: 12px !important;
  overflow: visible !important;
  flex: 0 0 42px !important;
  z-index: 80 !important;
}

.header-nav-main .header-search-form .header-search-form-wrapper,
.header-nav-main .header-search-form .searchform-wrapper,
.header-nav-main .header-search-form form {
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header-nav-main .header-search-form .flex-row {
  position: relative !important;
  display: flex !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: flex-end !important;
}

.header-nav-main .header-search-form .searchform {
  position: relative !important;
  background: transparent !important;
  display: flex !important;
  box-shadow: none !important;
}

.header-nav-main .header-search-form .flex-grow {
  position: absolute !important;
  top: calc(100% + 14px) !important;
  right: 0 !important;
  display: block !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  overflow: hidden !important;
  transform: translateY(-6px) !important;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
  z-index: 90 !important;
}

.header-nav-main .header-search-form .flex-grow:before {
  content: "";
  position: absolute;
  right: 14px;
  top: -7px;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -1px -1px 2px rgba(0,0,0,.06);
}

.header-nav-main .header-search-form:hover .flex-grow,
.header-nav-main .header-search-form:focus-within .flex-grow {
  width: 260px !important;
  min-width: 260px !important;
  max-width: 260px !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
  transform: translateY(0) !important;
}

.header-nav-main .header-search-form input[type="search"] {
  display: block !important;
  position: relative !important;
  width: 260px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  border-radius: 2px !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.16) !important;
  color: #333 !important;
  background: #fff !important;
  font-size: 14px !important;
}

.header-nav-main .header-search-form input[type="hidden"],
.header-nav-main .header-search-form .live-search-results {
  display: none !important;
}

.header-nav-main .header-search-form .ux-search-submit {
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  line-height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--anh-navy) !important;
  border: 1px solid rgba(14,21,39,.18) !important;
}

.header-nav-main .header-search-form .ux-search-submit:hover,
.header-nav-main .header-search-form:focus-within .ux-search-submit {
  color: var(--anh-gold) !important;
  border-color: rgba(212,176,119,.55) !important;
}

.stuck .header-main,
.header-wrapper.stuck .header-main {
  min-height: 72px !important;
}

.stuck .header-nav-main > li > a,
.stuck .header-nav-main .nav-top-link,
.header-wrapper.stuck .header-nav-main > li > a,
.header-wrapper.stuck .header-nav-main .nav-top-link {
  line-height: 72px !important;
  min-height: 72px !important;
}

.stuck .header-nav-main .header-search-form,
.header-wrapper.stuck .header-nav-main .header-search-form {
  height: 72px !important;
}

.stuck .logo img,
.header-wrapper.stuck .logo img {
  max-height: 58px !important;
}

/* Page full-width: bỏ cảm giác nội dung bị bó trong container mặc định của page.php */
body.page #content.content-area {
  padding-top: 0 !important;
}

body.page .page-wrapper,
body.page .row-main,
body.page .row-main > .large-12,
body.page .row-main > .large-12 > .col-inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Row rộng hơn, trải ngang hơn nhưng vẫn giữ nhịp đọc */
body.page .section-content > .row,
body.page .row:not(.row-collapse) {
  max-width: 1160px !important;
}

body.page .section-content > .row.row-large,
body.page .row.row-large {
  max-width: 1220px !important;
}

body.page .ux_banner,
body.page .banner,
body.page .section {
  overflow: hidden;
}

/* Card/project grid có cảm giác lớn, thoáng hơn */
body.page .box,
body.page .ux-image-box,
body.page .box-image,
body.page .banner {
  border-radius: 3px;
}

body.page .box-image img,
body.page .ux-image-box img {
  object-fit: cover;
}

/* Tiêu đề section gọn, đậm, uppercase nhẹ */
body.page .section-title,
body.page .title-wrapper,
body.page h1,
body.page h2,
body.page h3 {
  color: var(--anh-text);
}

body.page h1,
body.page h2 {
  letter-spacing: .2px;
  font-weight: 800;
}

/* Search block/sidebar trong trang blog: input và nút đều hàng, không vỡ layout. */
.widget_search .wp-block-search,
#secondary .wp-block-search,
aside .wp-block-search {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  max-width: 100% !important;
}

.widget_search .wp-block-search__inside-wrapper,
#secondary .wp-block-search__inside-wrapper,
aside .wp-block-search__inside-wrapper {
  display: flex !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
}

.widget_search .wp-block-search__label,
#secondary .wp-block-search__label,
aside .wp-block-search__label {
  display: block !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  font-weight: 700 !important;
  color: var(--anh-text) !important;
}

.widget_search .wp-block-search__input,
#secondary .wp-block-search__input,
aside .wp-block-search__input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid #ddd !important;
  box-shadow: none !important;
}

.widget_search .wp-block-search__button,
#secondary .wp-block-search__button,
aside .wp-block-search__button {
  flex: 0 0 auto !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #2f353d !important;
  color: #fff !important;
  border: 0 !important;
  line-height: 44px !important;
}

.widget_search .wp-block-search__button:hover,
#secondary .wp-block-search__button:hover,
aside .wp-block-search__button:hover {
  background: var(--anh-navy) !important;
  color: var(--anh-gold) !important;
}

@media only screen and (max-width: 849px) {
  .header-nav-main .header-search-form .flex-grow,
  .header-nav-main .header-search-form:hover .flex-grow,
  .header-nav-main .header-search-form:focus-within .flex-grow {
    right: -8px !important;
    width: min(260px, calc(100vw - 32px)) !important;
    min-width: min(260px, calc(100vw - 32px)) !important;
    max-width: min(260px, calc(100vw - 32px)) !important;
  }

  .header-nav-main .header-search-form input[type="search"] {
    width: min(260px, calc(100vw - 32px)) !important;
  }
}


/* Floating buttons không che content */
.float-contact,
.zalo-chat-widget {
  z-index: 99;
}

@media only screen and (max-width: 849px) {
  .header-main {
    min-height: 68px !important;
  }

  .logo img {
    max-height: 54px !important;
  }

  .header-main .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.page .section-content > .row,
  body.page .row:not(.row-collapse),
  body.page .section-content > .row.row-large,
  body.page .row.row-large {
    max-width: 100% !important;
  }
}


/*************** ANHOME WOW UPGRADE (v3.9) ***************/
/* Nâng cấp thị giác: chỉ tinh chỉnh hiệu ứng/không gian/typography.
   KHÔNG đụng header-search-form và .wp-block-search đã fix ở trên.
   KHÔNG ép nền cho .banner trong slider để giữ ô ảnh placeholder xám. */

/* --- Nhịp không gian section rộng rãi, sang hơn --- */
body.page .section {
  padding-top: 62px;
  padding-bottom: 62px;
}

body.page .section.section-title-normal,
body.page .section:first-of-type {
  padding-top: 0;
}

/* --- Tiêu đề section: gạch chân gold ngắn ở giữa --- */
body.page .section-title-container {
  margin-bottom: 34px;
}

body.page .section-title.section-title-center .section-title-main {
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
  font-weight: 800;
  letter-spacing: .4px;
}

/* Gạch gold nằm ngay dưới CHỮ (gắn vào .section-title-main),
   không gắn vào .section-title (flex row) để tránh bị đẩy ra mép phải. */
body.page .section-title.section-title-center .section-title-main:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 58px;
  height: 3px;
  background: var(--anh-gold);
  border-radius: 3px;
}

body.page .section-title small,
body.page .section-title .is-small {
  color: var(--anh-gold) !important;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

/* --- HERO / banner overlay: phủ gradient navy để chữ nổi bật.
   Dùng selector đơn (an toàn mọi trình duyệt). Áp cho .ux-banner,
   rồi TẮT overlay khi banner nằm trong slider để giữ placeholder xám. --- */
body.page .ux-banner .banner-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,16,32,.28) 0%, rgba(10,16,32,.62) 100%);
  pointer-events: none;
  z-index: 1;
}

body.page .ux-slider .ux-banner .banner-bg:after,
body.page .slider .ux-banner .banner-bg:after {
  display: none;
}

body.page .ux-banner .banner-layer {
  position: relative;
  z-index: 2;
}

/* Chữ hero to, thoáng, có bóng nhẹ để đọc trên nền ảnh */
body.page .banner .text-box h1,
body.page .banner .text-box h2,
body.page .ux-banner .text-box h1 {
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
  line-height: 1.18;
}

/* --- CARD / grid: nâng nhẹ + đổ bóng khi hover, ảnh zoom mượt --- */
body.page .box.has-hover,
body.page .col .box-image,
body.page .ux-image-box {
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
  will-change: transform;
}

body.page .box.has-hover .box-image,
body.page .col .box-image,
body.page .ux-image-box .img-inner,
body.page .box-image {
  overflow: hidden;
  border-radius: 4px;
}

body.page .box.has-hover .box-image img,
body.page .col .box-image img,
body.page .ux-image-box img {
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
  transform: scale(1.001);
}

body.page .box.has-hover:hover {
  transform: translateY(-6px);
}

body.page .box.has-hover:hover .box-image,
body.page .col .box-image:hover,
body.page .ux-image-box:hover {
  box-shadow: 0 18px 40px -14px rgba(14,21,39,.45);
}

body.page .box.has-hover:hover .box-image img,
body.page .col .box-image:hover img,
body.page .ux-image-box:hover img {
  transform: scale(1.07);
}

/* Nhãn tiêu đề trong card đậm hơn, gạch dưới gold khi hover */
body.page .box-text .is-outline,
body.page .box .box-text h5,
body.page .box .box-text h4 {
  transition: color .25s ease;
}

body.page .box.has-hover:hover .box-text h5,
body.page .box.has-hover:hover .box-text h4,
body.page .box.has-hover:hover .box-text a {
  color: var(--anh-gold) !important;
}

/* --- BUTTON: hiệu ứng nâng + đổ bóng, gold primary --- */
body.page .button.primary,
body.page .ux-banner .button.primary,
body.page .button.is-outline {
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease;
  letter-spacing: .6px;
  font-weight: 700;
}

body.page .button.primary {
  background: var(--anh-gold) !important;
  border-color: var(--anh-gold) !important;
  color: #1a1205 !important;
  box-shadow: 0 8px 20px -8px rgba(212,176,119,.6);
}

body.page .button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -8px rgba(212,176,119,.75);
  filter: brightness(1.04);
}

/* Outline trắng trên nền tối (hero) → fill gold khi hover */
body.page .button.white.is-outline {
  color: #fff !important;
  border-color: rgba(255,255,255,.7) !important;
}

body.page .button.white.is-outline:hover {
  background: var(--anh-gold) !important;
  border-color: var(--anh-gold) !important;
  color: #1a1205 !important;
  transform: translateY(-2px);
}

/* --- SLIDER dots: dạng gạch, active gold --- */
body.page .slider-nav-dots-dashes .flickity-page-dots .dot,
body.page .slider .flickity-page-dots .dot {
  background: rgba(255,255,255,.55);
  transition: background .25s ease, width .25s ease;
}

body.page .slider .flickity-page-dots .dot.is-selected {
  background: var(--anh-gold);
}

/* --- BLOG cards (from_the_blog / box-blog-post) --- */
body.page .box-blog-post .box-image,
.blog-post-inner,
.post-item .box-image {
  overflow: hidden;
  border-radius: 4px;
}

body.page .box-blog-post.has-hover:hover {
  transform: translateY(-6px);
}

.from_the_blog_excerpt {
  color: #5a6273;
  line-height: 1.65;
}

body.page .box-blog-post .box-text-inner .post-title,
body.page .box-blog-post .box-text-inner h5 {
  font-weight: 800;
  transition: color .25s ease;
}

body.page .box-blog-post.has-hover:hover .post-title,
body.page .box-blog-post.has-hover:hover h5 {
  color: var(--anh-gold) !important;
}

/* Blog index / archive: mỗi bài mượt hơn */
.blog-archive .post-item,
.archive .post-item,
.blog .post-item {
  transition: transform .35s ease;
}

/* --- FOOTER: nền navy đậm, tiêu đề gold, link sáng dần khi hover --- */
.footer-wrapper,
.footer,
#footer {
  background: var(--anh-navy-dark) !important;
  color: rgba(255,255,255,.72) !important;
}

.footer .widget-title,
.footer h3,
.footer h4,
#footer .widget-title {
  color: #fff !important;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 18px;
  font-weight: 800 !important;
  letter-spacing: .4px;
}

.footer .widget-title:after,
#footer .widget-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--anh-gold);
}

.footer a,
#footer a {
  color: rgba(255,255,255,.72) !important;
  transition: color .2s ease, padding-left .2s ease;
}

.footer a:hover,
#footer a:hover {
  color: var(--anh-gold) !important;
}

.footer ul li a:hover,
#footer ul li a:hover {
  padding-left: 4px;
}

.absolute-footer,
.footer-2,
.absolute-footer a {
  background: var(--anh-navy-dark) !important;
  color: rgba(255,255,255,.55) !important;
}

/* --- FOOTER layout: dàn rộng gần full-width, 4 cột trải đều --- */
#footer .footer-1 {
  padding: 62px 0 30px;
}
#footer .footer-1 > .row {
  max-width: 1600px !important;
  width: 100%;
  padding-left: 40px;
  padding-right: 40px;
}
#footer .footer-1 .col {
  padding-bottom: 24px;
  padding-left: 26px;
  padding-right: 26px;
}
#footer .footer-1 p {
  line-height: 1.75;
  margin-bottom: 0;
}
/* cột thương hiệu (logo + social + mô tả) */
.anh-footer-logo {
  margin-bottom: 14px;
}
.anh-footer-logo img {
  max-width: 172px;
  height: auto;
}
.anh-footer-tagline {
  color: var(--anh-gold) !important;
  font-size: 12.5px;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 16px !important;
}
#footer .social-icons {
  margin-bottom: 4px;
}
/* danh sách link chính sách: giãn dòng */
.anh-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.anh-footer-links li {
  margin-bottom: 10px;
  padding-left: 14px;
  position: relative;
}
.anh-footer-links li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--anh-gold);
  opacity: .8;
}
/* bản đồ iframe full chiều rộng cột */
#footer iframe {
  width: 100%;
  border: 0;
  border-radius: 8px;
}
@media (max-width: 849px) {
  #footer .footer-1 {
    padding: 44px 0 20px;
  }
  #footer .footer-1 .col {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* --- Back to top: tròn, navy/gold --- */
#top-link.top-link,
.back-to-top {
  background: var(--anh-navy) !important;
  color: #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,.4);
  transition: background .25s ease, transform .25s ease;
}

#top-link.top-link:hover,
.back-to-top:hover {
  background: var(--anh-gold) !important;
  color: #1a1205 !important;
  transform: translateY(-3px);
}

/* --- Entrance nhẹ khi tải trang (không phụ thuộc JS) --- */
@keyframes anhFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

body.page .section-content > .row > .col,
body.page .section .col-inner > .box.has-hover {
  animation: anhFadeUp .6s ease both;
}

@media (prefers-reduced-motion: reduce) {
  body.page .section-content > .row > .col,
  body.page .section .col-inner > .box.has-hover,
  body.page .box.has-hover,
  body.page .box.has-hover:hover,
  body.page .box-image img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* --- Mobile: giảm khoảng cách + tắt lift cho mượt --- */
@media only screen and (max-width: 849px) {
  body.page .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  body.page .box.has-hover:hover,
  body.page .box-blog-post.has-hover:hover {
    transform: none;
  }

  body.page .section-title-container {
    margin-bottom: 24px;
  }
}


/*************** ANHOME HERO + LUXURY PASS (v4.0) ***************/
/* Mục tiêu: hero full-bleed sang trọng + không ô ảnh nào trông trống.
   Chỉ layout/typography/hiệu ứng — không copy ảnh/asset bên ngoài. */

/* --- HERO: cao, chữ serif lớn, sub thanh, overlay navy đã có ở trên --- */
body.page .anh-hero .text-box {
  max-width: 900px;
}

body.page .anh-hero h1,
body.page .anh-hero h2 {
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

body.page .anh-hero .anh-hero-sub {
  color: #eef1f6;
  font-size: 1.18em;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 26px;
  text-shadow: 0 1px 10px rgba(0,0,0,.4);
}

/* Khoảng cách 2 nút CTA trong hero */
body.page .anh-hero .text-box .button {
  margin: 6px 8px 0;
}

/* Overlay đậm hơn RIÊNG cho hero (đè lên rule tắt overlay trong slider) */
body.page .ux-slider .anh-hero .banner-bg:after,
body.page .slider .anh-hero .banner-bg:after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,16,32,.45) 0%, rgba(10,16,32,.72) 100%);
  pointer-events: none;
  z-index: 1;
}

/* --- SAFETY-NET: mọi ô ảnh có nền xám nhạt để không bao giờ trông trống
   (kể cả lúc lazy-load chưa tải xong hoặc ảnh nhạt màu) --- */
body.page .ux-image-box .img-inner,
body.page .ux-image-box img,
body.page .box-image,
body.page .box-blog-post .box-image,
body.page .blog-post-inner .box-image {
  background-color: #e6e6e6;
}

/* --- Phóng tiêu đề section một nấc cho cảm giác "sang" hơn --- */
body.page .section-title.section-title-center .section-title-main {
  font-size: 1.9em;
}

@media only screen and (max-width: 849px) {
  body.page .anh-hero .anh-hero-sub {
    font-size: 1.02em;
  }
  body.page .section-title.section-title-center .section-title-main {
    font-size: 1.45em;
  }
}

/* Nút "Khám phá dịch vụ" cuộn mượt xuống section dịch vụ nổi bật */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ===================================================================
   DỊCH VỤ NỔI BẬT — card ảnh lớn:
   ảnh nền, phủ gradient tối ở đáy, tên dịch vụ chữ gold nổi lên,
   bo góc + đổ bóng, hover nâng nhẹ (ảnh tự zoom nhờ hover="zoom").
   =================================================================== */
body.page .anh-services .anh-services-sub {
  text-align: center;
  max-width: 720px;
  margin: -6px auto 26px;
  color: #6b7280;
  font-size: 1.02em;
  line-height: 1.6;
}

body.page .anh-services .anh-service-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 30px -16px rgba(14, 21, 39, .5);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease;
}

/* Gradient tối phủ từ đáy lên để chữ trắng/gold luôn đọc rõ trên ảnh */
body.page .anh-services .anh-service-card .banner-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 32, 0) 38%, rgba(10, 16, 32, .78) 100%);
  pointer-events: none;
  z-index: 1;
}

body.page .anh-services .anh-service-card .banner-layer {
  position: relative;
  z-index: 2;
}

body.page .anh-services .anh-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px -16px rgba(14, 21, 39, .55);
}

/* Tên dịch vụ: chữ hoa, giãn chữ, vạch gold ngắn phía trên */
body.page .anh-services .anh-service-name {
  margin: 0;
  font-weight: 700;
  letter-spacing: .6px;
  line-height: 1.25;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}

body.page .anh-services .anh-service-name:before {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 0 auto 12px;
  background: var(--anh-gold);
  transition: width .35s ease;
}

body.page .anh-services .anh-service-card:hover .anh-service-name {
  color: var(--anh-gold) !important;
}

body.page .anh-services .anh-service-card:hover .anh-service-name:before {
  width: 72px;
}

@media only screen and (max-width: 849px) {
  body.page .anh-services .anh-service-card {
    height: 320px !important;
  }
  body.page .anh-services .anh-services-sub {
    font-size: .96em;
  }
}

/* ===================================================================
   DỰ ÁN NỔI BẬT — dùng lại card ảnh luxury như Dịch vụ:
   ảnh nền pickable, phủ gradient đáy, tên dự án chữ gold, hover nâng.
   =================================================================== */
body.page .anh-projects .anh-projects-sub {
  text-align: center;
  max-width: 720px;
  margin: -6px auto 26px;
  color: #6b7280;
  font-size: 1.02em;
  line-height: 1.6;
}

body.page .anh-projects .anh-project-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 30px -16px rgba(14, 21, 39, .5);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease;
}

body.page .anh-projects .anh-project-card .banner-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 32, 0) 38%, rgba(10, 16, 32, .78) 100%);
  pointer-events: none;
  z-index: 1;
}

body.page .anh-projects .anh-project-card .banner-layer {
  position: relative;
  z-index: 2;
}

body.page .anh-projects .anh-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px -16px rgba(14, 21, 39, .55);
}

body.page .anh-projects .anh-project-name {
  margin: 0;
  font-weight: 700;
  letter-spacing: .6px;
  line-height: 1.25;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}

body.page .anh-projects .anh-project-name:before {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 0 0 12px;
  background: var(--anh-gold);
  transition: width .35s ease;
}

body.page .anh-projects .anh-project-card:hover .anh-project-name {
  color: var(--anh-gold) !important;
}

body.page .anh-projects .anh-project-card:hover .anh-project-name:before {
  width: 72px;
}

/* Metadata dự án hiển thị trong overlay (khách hàng / diện tích / loại hình / phong cách) */
body.page .anh-projects .anh-project-meta {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(6px);
  transition: max-height .45s ease, opacity .4s ease, transform .45s ease;
}

body.page .anh-projects .anh-project-card:hover .anh-project-meta {
  max-height: 160px;
  opacity: 1;
  transform: translateY(0);
}

body.page .anh-projects .anh-project-meta li {
  color: rgba(255, 255, 255, .92);
  font-size: .84rem;
  letter-spacing: .2px;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}

body.page .anh-projects .anh-project-card--lg .anh-project-meta li {
  font-size: .92rem;
}

/* Lưới bento: card lớn trái + 4 card phải + 2 card dưới, khít nhau, ảnh to full-bleed */
body.page .anh-projects .row .col,
body.page .anh-projects .row_inner .col_inner {
  padding-bottom: 20px;
}

body.page .anh-projects .anh-project-card .banner-bg:after {
  background: linear-gradient(180deg, rgba(10, 16, 32, 0) 30%, rgba(10, 16, 32, .82) 100%);
}

body.page .anh-projects .anh-project-card--lg .anh-project-name {
  line-height: 1.2;
}

/* Nút "Xem tất cả dự án" — viền gold luxury, hover fill */
body.page .anh-projects .anh-projects-cta {
  margin: 10px 0 0;
}

body.page .anh-projects .anh-projects-cta .button {
  border-color: var(--anh-gold);
  color: var(--anh-navy);
  letter-spacing: .8px;
  text-transform: uppercase;
  font-weight: 700;
  transition: background .3s ease, color .3s ease, transform .25s ease, box-shadow .3s ease;
}

body.page .anh-projects .anh-projects-cta .button:hover {
  background: var(--anh-gold);
  border-color: var(--anh-gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(212, 176, 119, .85);
}

/* ===================================================================
   KIẾN THỨC NHÀ HAY — lưới blog kiểu tạp chí:
   ảnh bo góc + đổ bóng, tiêu đề đậm, hover ảnh zoom nhẹ, gạch gold.
   =================================================================== */
body.page .anh-blog .anh-blog-sub {
  text-align: center;
  max-width: 720px;
  margin: -6px auto 30px;
  color: #6b7280;
  font-size: 1.02em;
  line-height: 1.6;
}

body.page .anh-blog .col .box-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 30px -18px rgba(14, 21, 39, .5);
}

body.page .anh-blog .col .box-image img {
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

body.page .anh-blog .col:hover .box-image img {
  transform: scale(1.06);
}

body.page .anh-blog .col .box-text {
  padding: 16px 2px 0;
}

body.page .anh-blog .col .box-text .post-title,
body.page .anh-blog .col .box-text h5 {
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .2px;
  margin-bottom: 8px;
}

body.page .anh-blog .col .box-text a {
  color: #0e1527;
  transition: color .3s ease;
}

body.page .anh-blog .col:hover .box-text .post-title a,
body.page .anh-blog .col:hover .box-text a {
  color: var(--anh-gold);
}

body.page .anh-blog .col .box-text .is-divider {
  width: 42px;
  height: 2px;
  margin: 10px 0;
  background: var(--anh-gold);
  opacity: 1;
}

@media only screen and (max-width: 849px) {
  body.page .anh-projects .anh-projects-sub,
  body.page .anh-blog .anh-blog-sub {
    font-size: .96em;
  }
  /* Không có hover trên cảm ứng → luôn hiện metadata */
  body.page .anh-projects .anh-project-meta {
    max-height: 160px;
    opacity: 1;
    transform: none;
  }
  body.page .anh-projects .anh-project-name:before {
    margin-bottom: 10px;
  }
}

/* ===== Đăng ký tư vấn (dark) ===== */
body.page .anh-tuvan {
  background: linear-gradient(180deg, #0e1527 0%, #131c33 100%);
}

body.page .anh-tuvan .anh-tuvan-sub {
  text-align: center;
  max-width: 760px;
  margin: -6px auto 42px;
  color: #c7cde0;
  font-size: 1.04em;
  line-height: 1.65;
}

body.page .anh-tuvan .anh-tuvan-benefits {
  margin-bottom: 46px;
}

body.page .anh-tuvan .icon-box {
  padding: 6px 14px;
}

body.page .anh-tuvan .icon-box .icon-box-img {
  margin-bottom: 14px;
}

body.page .anh-tuvan .icon-box .icon-box-img svg {
  width: 56px;
  height: 56px;
}

body.page .anh-tuvan .icon-box h5 {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: .4px;
  margin-bottom: 6px;
}

body.page .anh-tuvan .icon-box p {
  color: #a9b2cc;
  font-size: .92em;
  line-height: 1.55;
  margin: 0;
}

body.page .anh-tuvan .col_divided > .col-inner {
  border-color: rgba(212, 176, 119, .28);
}

/* Form CF7 */
body.page .anh-tuvan .anh-form-tuvan {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(212, 176, 119, .22);
  border-radius: 10px;
  padding: 26px 26px 8px;
}

body.page .anh-tuvan .anh-form-tuvan .wpcf7-form p {
  margin: 0 0 14px;
}

body.page .anh-tuvan .anh-form-tuvan input,
body.page .anh-tuvan .anh-form-tuvan select,
body.page .anh-tuvan .anh-form-tuvan textarea {
  width: 100%;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  color: #0e1527;
  box-shadow: none;
  margin-bottom: 0;
}

body.page .anh-tuvan .anh-form-tuvan input:focus,
body.page .anh-tuvan .anh-form-tuvan select:focus,
body.page .anh-tuvan .anh-form-tuvan textarea:focus {
  border-color: var(--anh-gold);
  box-shadow: 0 0 0 2px rgba(212, 176, 119, .3);
}

body.page .anh-tuvan .anh-form-tuvan .wpcf7-submit {
  width: auto;
  min-width: 220px;
  background: var(--anh-gold);
  border: 0;
  color: #0e1527;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 13px 34px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

body.page .anh-tuvan .anh-form-tuvan .wpcf7-submit:hover {
  background: #c39f63;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -14px rgba(212, 176, 119, .8);
}

/* Cột ảnh cao bằng đúng form nhận tư vấn */
body.page .anh-tuvan .row:has(.anh-tuvan-img) {
  align-items: stretch;
}
body.page .anh-tuvan .col:has(.anh-tuvan-img) {
  display: flex;
  flex-direction: column;
}
body.page .anh-tuvan .col:has(.anh-tuvan-img) > .col-inner {
  flex: 1 1 auto;
  display: flex;
}
body.page .anh-tuvan .anh-tuvan-img {
  margin-bottom: 0 !important;
  width: 100%;
  display: flex;
}
body.page .anh-tuvan .anh-tuvan-img .img-inner {
  width: 100%;
  height: 100%;
}
body.page .anh-tuvan .anh-tuvan-img img {
  border-radius: 10px;
  box-shadow: 0 22px 48px -26px rgba(0, 0, 0, .8);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 849px) {
  body.page .anh-tuvan .anh-tuvan-benefits {
    margin-bottom: 28px;
  }
  body.page .anh-tuvan .anh-form-tuvan {
    padding: 20px 18px 6px;
  }
  body.page .anh-tuvan .col:has(.anh-tuvan-img),
  body.page .anh-tuvan .col:has(.anh-tuvan-img) > .col-inner {
    height: auto;
    display: block;
  }
  body.page .anh-tuvan .anh-tuvan-img img {
    height: auto;
    object-fit: initial;
  }
}

/* Khối CTA "Giải pháp cho ngôi nhà" — căn giữa cột span=10 trong row */
body.page .anh-cta .row {
  justify-content: center;
}
body.page .anh-cta .col {
  margin: 0 auto;
}

/* ============================================================
   KIẾN THỨC NHÀ HAY — blog archive redesign (luxury card grid)
   Targets Flatsome default blog archive on the Posts page.
   ============================================================ */

/* --- Hero banner (rendered via flatsome_after_header on is_home) --- */
.anh-blog-hero {
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(212,176,119,.14), transparent 60%),
    linear-gradient(160deg, var(--anh-navy) 0%, var(--anh-navy-dark) 100%);
  padding: 72px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.anh-blog-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.anh-blog-hero-eyebrow {
  display: inline-block;
  color: var(--anh-gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.anh-blog-hero-title {
  color: #fff !important;
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 1.12;
  letter-spacing: .4px;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0 0 16px;
}

.anh-blog-hero-sub {
  color: rgba(255,255,255,.74);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 620px;
}

.anh-blog-hero-rule {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--anh-gold);
  margin: 26px auto 0;
  border-radius: 2px;
}

/* --- Layout: full-width post list, drop the default sidebar --- */
.blog-archive .post-sidebar.large-3 { display: none !important; }
.blog-archive .row-large.row-divided { border: 0 !important; }
.blog-archive .row-large.row-divided > .large-9.col {
  max-width: 100% !important;
  flex-basis: 100% !important;
  padding-top: 50px !important;
}
.blog-archive .row-large.row-divided > .large-9.col > .col-inner { max-width: 1140px; margin: 0 auto; }

/* --- Turn the stacked #post-list into a 2-column card grid --- */
.blog-archive #post-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

.blog-archive #post-list article {
  background: #fff;
  border: 1px solid #ece6da;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 22px -14px rgba(14,21,39,.4);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #ece6da !important;
}

.blog-archive #post-list article:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px -22px rgba(14,21,39,.55);
  border-color: var(--anh-gold);
}

.blog-archive #post-list .article-inner {
  border: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Image on top, fixed ratio, zoom on hover */
.blog-archive #post-list .entry-image {
  margin: 0 !important;
  order: -1;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.blog-archive #post-list .entry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  display: block;
}
.blog-archive #post-list article:hover .entry-image img { transform: scale(1.06); }

/* Date badge → gold pill */
.blog-archive #post-list .badge.post-date .badge-inner {
  background: var(--anh-gold) !important;
  color: #1a1205 !important;
  border: 0 !important;
  border-radius: 8px;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.4);
}
.blog-archive #post-list .badge.post-date .post-date-day { font-weight: 800; }

/* Header text: left-align, tighten */
.blog-archive #post-list .entry-header { padding: 22px 24px 0; }
.blog-archive #post-list .entry-header-text {
  text-align: left !important;
  padding: 0 !important;
  margin: 0 !important;
}
.blog-archive #post-list .entry-category a {
  color: var(--anh-gold) !important;
  letter-spacing: 2px;
  font-weight: 700;
}
.blog-archive #post-list .entry-title {
  margin: 8px 0 10px;
  font-size: 1.28rem;
  line-height: 1.3;
  font-weight: 800;
}
.blog-archive #post-list .entry-title a { color: var(--anh-navy); transition: color .25s ease; }
.blog-archive #post-list article:hover .entry-title a { color: var(--anh-gold); }
.blog-archive #post-list .entry-divider { display: none !important; }
.blog-archive #post-list .entry-meta {
  text-align: left !important;
  color: #9aa1b0;
  margin-bottom: 0;
}

/* Body / excerpt */
.blog-archive #post-list .entry-content { padding: 12px 24px 22px; flex: 1 1 auto; display: flex; flex-direction: column; }
.blog-archive #post-list .entry-summary p { color: #5a6273; line-height: 1.65; }
.blog-archive #post-list .entry-summary .text-center { text-align: left !important; margin-top: auto; }
.blog-archive #post-list .more-link {
  margin-top: 14px;
  border-color: var(--anh-gold) !important;
  color: var(--anh-gold) !important;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: .5px;
  transition: all .25s ease;
}
.blog-archive #post-list .more-link:hover {
  background: var(--anh-gold) !important;
  color: #1a1205 !important;
}

/* Footer meta (categories / comments) → subtle */
.blog-archive #post-list .entry-meta.clearfix {
  padding: 0 24px 20px;
  border: 0 !important;
  font-size: 11px;
  color: #aeb4c0;
}
.blog-archive #post-list .entry-meta.clearfix a { color: #aeb4c0; }
.blog-archive #post-list .entry-meta.clearfix a:hover { color: var(--anh-gold); }

/* Pagination spacing */
.blog-archive .pagination { margin-top: 44px; justify-content: center; }

/* --- Responsive --- */
@media (max-width: 849px) {
  .anh-blog-hero { padding: 54px 18px 44px; }
  .anh-blog-hero-title { font-size: 2.4rem; white-space: normal; }
  .blog-archive #post-list { grid-template-columns: 1fr; gap: 26px; }
  .blog-archive .row-large.row-divided > .large-9.col { padding-top: 34px !important; }
}

/* ============================================================
   PAGE HERO — banner sang trọng cho các trang tĩnh
   (dịch vụ, công trình, cẩm nang, giới thiệu, liên hệ...)
   Áp cho [ux_banner class="anh-page-hero"], đồng bộ với .anh-blog-hero
   ============================================================ */
.anh-page-hero {
  background-image:
    radial-gradient(120% 140% at 50% 0%, rgba(212,176,119,.16), transparent 60%),
    linear-gradient(160deg, var(--anh-navy) 0%, var(--anh-navy-dark) 100%) !important;
}

.anh-page-hero .anh-page-hero-eyebrow {
  color: var(--anh-gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.2;
}

.anh-page-hero h1 {
  color: #fff !important;
  font-weight: 800;
  font-size: 2.9rem !important;
  line-height: 1.12;
  margin: 0 0 16px;
  white-space: nowrap;
}

.anh-page-hero h1.section-title {
  display: block;
  flex-wrap: nowrap;
}
.anh-page-hero h1.section-title b { display: none !important; }
.anh-page-hero h1 .section-title-main { white-space: nowrap; }

.anh-page-hero .anh-page-hero-sub {
  color: rgba(255,255,255,.74);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 620px;
}

.anh-page-hero .anh-page-hero-rule {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--anh-gold);
  margin: 26px auto 0;
  border-radius: 2px;
}

@media (max-width: 991px) {
  .anh-page-hero h1,
  .anh-page-hero h1 .section-title-main { white-space: normal; }
}

@media (max-width: 849px) {
  .anh-page-hero h1 { font-size: 2rem !important; }
  .anh-page-hero .anh-page-hero-sub { font-size: .96rem; }
}

/* ============================================================
   TRANG LIÊN HỆ — bố cục cân đối, luxury:
   form trong card sáng bo góc, cột thông tin icon-list navy,
   map bo góc có khoảng thở, không dính sát footer.
   ============================================================ */
body.page .anh-lienhe .anh-lienhe-card {
  background: #fff;
  border: 1px solid rgba(14, 21, 39, .07);
  border-radius: 14px;
  padding: 34px 34px 26px;
  box-shadow: 0 22px 50px -30px rgba(14, 21, 39, .45);
  height: 100%;
}

body.page .anh-lienhe .anh-lienhe-card h2,
body.page .anh-lienhe .anh-lienhe-info h2 {
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: .3px;
}

body.page .anh-lienhe .anh-lienhe-card-sub {
  color: #6b7280;
  font-size: .98rem;
  line-height: 1.6;
  margin: 0 0 22px;
}

/* Inputs form — layout 2 cột cho các trường ngắn */
body.page .anh-lienhe .anh-form-lienhe .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
body.page .anh-lienhe .anh-form-lienhe p { margin: 0; }
body.page .anh-lienhe .anh-form-lienhe p:has(textarea),
body.page .anh-lienhe .anh-form-lienhe p:has(.wpcf7-submit) {
  grid-column: 1 / -1;
}
body.page .anh-lienhe .anh-form-lienhe .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  border-radius: 8px;
  font-size: .92rem;
}

body.page .anh-lienhe .anh-form-lienhe .wpcf7-form-control-wrap { display: block; }

body.page .anh-lienhe .anh-form-lienhe input.wpcf7-form-control,
body.page .anh-lienhe .anh-form-lienhe textarea,
body.page .anh-lienhe .anh-form-lienhe select {
  width: 100%;
  background: #f7f8fa;
  border: 1px solid rgba(14, 21, 39, .12);
  border-radius: 10px;
  padding: 13px 16px;
  color: #0e1527;
  font-size: .98rem;
  line-height: 1.5;
  height: auto;
  min-height: 52px;
  box-shadow: none;
  margin: 0;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

body.page .anh-lienhe .anh-form-lienhe textarea {
  min-height: 120px;
  resize: vertical;
}

/* Dropdown — bỏ giao diện mặc định, thêm mũi tên vàng tuỳ chỉnh */
body.page .anh-lienhe .anh-form-lienhe select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d4b077' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
body.page .anh-lienhe .anh-form-lienhe select:invalid { color: #8b93a1; }

body.page .anh-lienhe .anh-form-lienhe input.wpcf7-form-control::placeholder,
body.page .anh-lienhe .anh-form-lienhe textarea::placeholder { color: #8b93a1; }

body.page .anh-lienhe .anh-form-lienhe input.wpcf7-form-control:focus,
body.page .anh-lienhe .anh-form-lienhe textarea:focus,
body.page .anh-lienhe .anh-form-lienhe select:focus {
  outline: none;
  background: #fff;
  border-color: var(--anh-gold);
  box-shadow: 0 0 0 3px rgba(212, 176, 119, .22);
}

/* Nút gửi — pill vàng, khớp CTA Zalo */
body.page .anh-lienhe .anh-form-lienhe input.wpcf7-submit,
body.page .anh-lienhe .anh-form-lienhe input.button.primary,
body.page .anh-lienhe .anh-form-lienhe button.wpcf7-submit {
  width: 100%;
  background: var(--anh-gold);
  border: 1px solid var(--anh-gold);
  color: #0e1527;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .8px;
  text-transform: uppercase;
  border-radius: 10px;
  padding: 15px 28px;
  margin: 6px 0 0;
  min-height: 0;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .3s ease, filter .3s ease;
}

body.page .anh-lienhe .anh-form-lienhe input.wpcf7-submit:hover,
body.page .anh-lienhe .anh-form-lienhe input.button.primary:hover,
body.page .anh-lienhe .anh-form-lienhe button.wpcf7-submit:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(212, 176, 119, .85);
}

/* Spinner CF7 khi gửi */
body.page .anh-lienhe .anh-form-lienhe .wpcf7-spinner { margin: 8px auto 0; }

@media (max-width: 549px) {
  body.page .anh-lienhe .anh-form-lienhe .wpcf7-form { grid-template-columns: 1fr; }
}

/* Cột thông tin liên hệ — nền navy, list icon */
body.page .anh-lienhe .anh-lienhe-info {
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(212, 176, 119, .14), transparent 55%),
    linear-gradient(160deg, var(--anh-navy) 0%, var(--anh-navy-dark) 100%);
  border-radius: 14px;
  padding: 34px 32px;
  height: 100%;
  box-shadow: 0 22px 50px -30px rgba(14, 21, 39, .5);
}

body.page .anh-lienhe .anh-lienhe-info h2 { color: #fff; }

body.page .anh-lienhe .anh-lienhe-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

body.page .anh-lienhe .anh-lienhe-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(212, 176, 119, .16);
}

body.page .anh-lienhe .anh-lienhe-list li:last-child { border-bottom: 0; }

body.page .anh-lienhe .anh-lienhe-ico {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 176, 119, .14);
  border: 1px solid rgba(212, 176, 119, .3);
  font-size: 19px;
  line-height: 1;
}

body.page .anh-lienhe .anh-lienhe-txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 2px;
}

body.page .anh-lienhe .anh-lienhe-txt strong {
  color: var(--anh-gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

body.page .anh-lienhe .anh-lienhe-txt,
body.page .anh-lienhe .anh-lienhe-txt a {
  color: rgba(255, 255, 255, .9);
  font-size: 1rem;
  line-height: 1.5;
}

body.page .anh-lienhe .anh-lienhe-txt a { transition: color .3s ease; }
body.page .anh-lienhe .anh-lienhe-txt a:hover { color: var(--anh-gold); }

/* Map — bo góc, khoảng thở, đổ bóng */
body.page .anh-map { padding: 0 0 70px; }

body.page .anh-map .anh-map-embed {
  max-width: 1160px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 26px 60px -30px rgba(14, 21, 39, .55);
  border: 1px solid rgba(14, 21, 39, .08);
}

body.page .anh-map .anh-map-embed iframe {
  display: block;
  width: 100%;
}

@media (max-width: 849px) {
  body.page .anh-lienhe .anh-lienhe-card { padding: 26px 22px 20px; }
  body.page .anh-lienhe .anh-lienhe-info { padding: 28px 24px; margin-top: 22px; }
  body.page .anh-map { padding: 0 0 50px; }
}

/* --- Dải liên hệ nhanh: 3 card nổi đè lên đáy hero --- */
body.page .anh-lienhe-quick { padding: 0; overflow: visible; }
body.page .anh-lienhe-quick .section-content { overflow: visible; }
body.page .anh-lienhe-quick .anh-quick-row {
  max-width: 1160px;
  margin: -46px auto 0;
  position: relative;
  z-index: 5;
}
body.page .anh-lienhe-quick .anh-quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(14, 21, 39, .07);
  border-radius: 14px;
  padding: 20px 22px;
  height: 100%;
  box-shadow: 0 22px 50px -30px rgba(14, 21, 39, .5);
  transition: transform .28s ease, box-shadow .3s ease;
}
body.page .anh-lienhe-quick a.anh-quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 54px -26px rgba(14, 21, 39, .6);
}
body.page .anh-lienhe-quick .anh-quick-ico {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 176, 119, .16);
  border: 1px solid rgba(212, 176, 119, .34);
  font-size: 20px;
  line-height: 1;
}
body.page .anh-lienhe-quick .anh-quick-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
body.page .anh-lienhe-quick .anh-quick-txt strong {
  color: var(--anh-gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
body.page .anh-lienhe-quick a.anh-quick-card,
body.page .anh-lienhe-quick .anh-quick-txt {
  color: #0e1527;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  word-break: break-word;
}

/* --- Band QR Zalo full-width --- */
body.page .anh-lienhe-zalo { background: var(--anh-navy, #0e1527); }
body.page .anh-lienhe-zalo .anh-zalo-band {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 20px;
}
body.page .anh-lienhe-zalo .anh-zalo-qr {
  flex: 0 0 auto;
  width: 220px;
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  line-height: 0;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6);
}
body.page .anh-lienhe-zalo .anh-zalo-qr img { border-radius: 8px; }
body.page .anh-lienhe-zalo .anh-zalo-txt {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.page .anh-lienhe-zalo .anh-zalo-eyebrow {
  color: var(--anh-gold);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
body.page .anh-lienhe-zalo .anh-zalo-title {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
}
body.page .anh-lienhe-zalo .anh-zalo-desc {
  color: rgba(255, 255, 255, .78);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  max-width: 460px;
}
body.page .anh-lienhe-zalo .anh-zalo-btn {
  align-self: flex-start;
  margin-top: 6px;
  padding: 12px 26px;
  background: var(--anh-gold);
  color: var(--anh-navy-dark, #0a0f1e);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .3px;
  border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease;
}
body.page .anh-lienhe-zalo .anh-zalo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(212, 176, 119, .7);
}

/* --- Chip địa chỉ nổi trên bản đồ --- */
body.page .anh-map .anh-map-embed { position: relative; }
body.page .anh-map .anh-map-chip {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(14, 21, 39, .92);
  border: 1px solid rgba(212, 176, 119, .34);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .7);
}
body.page .anh-map .anh-map-chip strong {
  color: var(--anh-gold);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
body.page .anh-map .anh-map-chip span {
  color: rgba(255, 255, 255, .9);
  font-size: .92rem;
  line-height: 1.5;
}

@media (max-width: 849px) {
  body.page .anh-lienhe-quick .anh-quick-row { margin: -30px auto 0; }
  body.page .anh-lienhe-quick .anh-quick-card { margin-bottom: 12px; }
  body.page .anh-lienhe-zalo .anh-zalo-band { flex-direction: column; text-align: center; gap: 24px; padding: 40px 20px; }
  body.page .anh-lienhe-zalo .anh-zalo-txt { align-items: center; }
  body.page .anh-lienhe-zalo .anh-zalo-btn { align-self: center; }
  body.page .anh-lienhe-zalo .anh-zalo-qr { width: 200px; }
  body.page .anh-map .anh-map-chip { position: static; max-width: none; margin: 0 0 -2px; border-radius: 0; }
}

/* ===================================================================
   CÔNG TRÌNH THỰC TẾ — luxury gallery grid + lightbox
   Card = ảnh cover + tên + diện tích + số PN. Click mở lightbox slideshow.
   =================================================================== */
body.page .anh-gal {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
	max-width: 1200px;
	margin: 0 auto;
}
body.page .anh-gal-card {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	padding: 0;
	border: 0;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
	background: var(--anh-navy-dark);
	box-shadow: 0 16px 40px -22px rgba(14, 21, 39, .6);
	transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease;
}
body.page .anh-gal-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 30px 60px -26px rgba(14, 21, 39, .7);
}
body.page .anh-gal-thumb {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
body.page .anh-gal-card:hover .anh-gal-thumb { transform: scale(1.07); }
body.page .anh-gal-card:after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 16, 32, 0) 34%, rgba(10, 16, 32, .55) 66%, rgba(8, 12, 26, .9) 100%);
	z-index: 1;
	transition: background .45s ease;
}
body.page .anh-gal-card:hover:after {
	background: linear-gradient(180deg, rgba(10, 16, 32, .1) 20%, rgba(10, 16, 32, .55) 55%, rgba(8, 12, 26, .94) 100%);
}
body.page .anh-gal-count {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(10, 16, 32, .55);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(212, 176, 119, .4);
	color: #fff;
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .3px;
}
body.page .anh-gal-count .anh-gal-cico { color: var(--anh-gold); font-size: .7rem; }
body.page .anh-gal-info {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: block;
	padding: 22px 22px 20px;
	text-align: left;
}
body.page .anh-gal-name {
	display: block;
	color: #fff;
	font-size: 1.24rem;
	font-weight: 700;
	line-height: 1.25;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}
body.page .anh-gal-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 7px;
	color: var(--anh-gold);
	font-size: .9rem;
	font-weight: 600;
	letter-spacing: .3px;
}
body.page .anh-gal-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(212, 176, 119, .7);
}
body.page .anh-gal-view {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	color: rgba(255, 255, 255, .92);
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	transform: translateY(6px);
	transition: max-height .45s ease, opacity .4s ease, transform .45s ease;
}
body.page .anh-gal-card:hover .anh-gal-view {
	max-height: 40px;
	opacity: 1;
	transform: translateY(0);
}
body.page .anh-gal-arrow { color: var(--anh-gold); transition: transform .35s ease; }
body.page .anh-gal-card:hover .anh-gal-arrow { transform: translateX(5px); }

/* Lightbox */
.anh-lb {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
}
.anh-lb.is-open { display: flex; }
.anh-lb-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(6, 9, 20, .94);
	backdrop-filter: blur(4px);
}
.anh-lb-stage {
	position: relative;
	z-index: 2;
	max-width: 90vw;
	max-height: 84vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
.anh-lb-img {
	max-width: 90vw;
	max-height: 84vh;
	border-radius: 6px;
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
	object-fit: contain;
}
.anh-lb-close {
	position: absolute;
	top: 22px;
	right: 26px;
	z-index: 4;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	transition: background .3s ease, transform .3s ease;
}
.anh-lb-close:hover { background: var(--anh-gold); color: var(--anh-navy); transform: rotate(90deg); }
.anh-lb-nav {
	position: absolute;
	z-index: 4;
	top: 50%;
	transform: translateY(-50%);
	width: 54px;
	height: 54px;
	border: 1px solid rgba(212, 176, 119, .4);
	border-radius: 50%;
	background: rgba(10, 16, 32, .55);
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	transition: background .3s ease, border-color .3s ease;
}
.anh-lb-nav:hover { background: var(--anh-gold); color: var(--anh-navy); border-color: var(--anh-gold); }
.anh-lb-prev { left: 3vw; }
.anh-lb-next { right: 3vw; }
.anh-lb-bar {
	position: absolute;
	z-index: 4;
	left: 0;
	right: 0;
	bottom: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	color: rgba(255, 255, 255, .9);
	font-size: .92rem;
	letter-spacing: .4px;
}
.anh-lb-title { font-weight: 700; color: #fff; }
.anh-lb-num { color: var(--anh-gold); font-weight: 600; }

@media (max-width: 1024px) {
	body.page .anh-gal { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 680px) {
	body.page .anh-gal { grid-template-columns: 1fr; gap: 18px; }
	.anh-lb-prev { left: 8px; }
	.anh-lb-next { right: 8px; }
	.anh-lb-nav { width: 44px; height: 44px; font-size: 24px; }
}
