:root {
  --gold: #e09900;
  --red: #e02b20;
  --blue: #006ac1;
  --green: #008000;
  --ink: #000;
  --text: #333;
  --muted: #666;
  --bg: #fff;
  --dark: #111820;
  --dark-2: #0b1016;
  --line: #e5e5e5;
  --container: min(1150px, calc(100% - 30px));
  --font: "Open Sans", Arial, Helvetica, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.container.narrow {
  max-width: 900px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: #000;
  color: #fff;
  padding: 8px 12px;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
}

.center {
  text-align: center;
}

.hl-blue { color: var(--blue); }
.hl-green { color: var(--green); }
.hl-red { color: var(--red); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 16px;
}

.logo img,
.logo .custom-logo {
  height: 54px;
  width: auto;
}

.logo .custom-logo-link {
  display: inline-block;
  line-height: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #222;
  letter-spacing: 0.02em;
}

.nav a:hover,
.nav a.is-active {
  color: var(--red);
}

.btn-phone {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--red);
  border-radius: 999px;
  color: var(--red) !important;
  white-space: nowrap;
}

.btn-phone:hover {
  background: var(--red);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #222;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: #111;
}

.hero-slides {
  position: relative;
}

.hero-slide {
  display: none;
  position: relative;
}

.hero-slide.is-active {
  display: block;
}

.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #333;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.slider-btn.prev { left: 14px; }
.slider-btn.next { right: 14px; }

.overview-slider .slider-btn,
.lot-slider .slider-btn {
  border-color: #9ec9e8;
  background: #fff;
  color: #555;
}

/* Titles */
.section {
  padding: 60px 0;
}

.title-gold {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.3;
}

.title-black {
  margin: 0 0 8px;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.divider {
  display: flex;
  justify-content: center;
  margin: 10px 0 22px;
}

.divider.left {
  justify-content: flex-start;
}

.divider img {
  height: 18px;
  width: auto;
}

/* Intro */
.intro-lead {
  margin: 0 auto 36px;
  max-width: 860px;
  text-align: center;
  font-style: italic;
  font-size: 16px;
  color: #222;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 30px;
  align-items: start;
}

.video-thumb {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.video-thumb img,
.video-embed {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.video-thumb img {
  object-fit: cover;
  display: block;
}

.video-embed {
  position: relative;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.float-phone-circle {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(224, 43, 32, 0.45);
  animation: pulse 1.6s infinite;
}

.intro-copy p {
  margin: 0 0 14px;
}

.check-list {
  margin: 0;
  padding-left: 18px;
}

.check-list li {
  margin-bottom: 10px;
}

/* CTA band */
.cta-band {
  padding: 48px 0;
  background:
    linear-gradient(rgba(8, 14, 22, 0.82), rgba(8, 14, 22, 0.82)),
    url("https://bds181.maxweb.com.vn/wp-content/uploads/2021/12/banner-dat-nen-hoa-lac-min-1.jpg") center / cover;
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 22px;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.cta-band h2 a {
  color: var(--gold);
}

.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.cta-form input,
.contact-box input,
.popup-panel input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #ddd;
  background: #fff;
  color: #222;
  outline: none;
}

.cta-form input:focus,
.contact-box input:focus,
.popup-panel input:focus {
  border-color: var(--gold);
}

.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border: 2px solid #fff;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.btn-red:hover {
  background: #c51f16;
}

.btn-round {
  border-radius: 999px;
  border-width: 0;
  padding-inline: 28px;
  margin-top: 8px;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #8dffb0;
  font-weight: 600;
}

.contact-box .form-note,
.popup-panel .form-note {
  color: var(--green);
}

/* Overview */
.overview-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
  margin-top: 10px;
}

.overview-copy p {
  margin: 0 0 14px;
}

.overview-slider,
.lot-slider {
  position: relative;
  overflow: hidden;
  background: #f2f2f2;
}

.overview-slider .slides,
.lot-slider .slides {
  position: relative;
}

.overview-slider img,
.lot-slider img {
  display: none;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.overview-slider img.is-active,
.lot-slider img.is-active {
  display: block;
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  padding: 0;
}

.dots button.is-active {
  background: #5eb3e4;
}

/* Satellite */
.satellite {
  background: #fafafa;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.satellite-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.satellite-media img {
  width: 100%;
  border: 1px solid var(--line);
}

.satellite-copy .title-black {
  text-align: left;
  font-size: 22px;
}

.bullet-list {
  margin: 0;
  padding-left: 20px;
}

.bullet-list li {
  margin-bottom: 10px;
}

/* Reasons */
.reasons {
  background:
    linear-gradient(rgba(8, 12, 18, 0.9), rgba(8, 12, 18, 0.92)),
    url("https://bds181.maxweb.com.vn/wp-content/uploads/2021/12/banner-dat-nen-hoa-lac-min-1.jpg") center / cover;
  color: #fff;
}

.reasons h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  text-transform: uppercase;
}

.reason {
  margin-bottom: 22px;
}

.reason h5 {
  margin: 0 0 8px;
  padding-left: 14px;
  border-left: 4px solid #1e90ff;
  color: var(--gold);
  font-size: 17px;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.35;
}

.reason p {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.92);
}

/* Lots */
.hot-icon {
  display: inline-block;
  width: auto;
  height: 28px;
  vertical-align: middle;
  object-fit: contain;
  transform: scaleX(0.88);
  transform-origin: center;
}

.lots-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 12px;
}

.lots-promise {
  margin: 0 0 28px;
  text-align: center;
  color: var(--red);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.lot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.lot-card {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.lot-body {
  padding: 16px 18px 20px;
}

.lot-body h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  color: #111;
}

.lot-desc,
.lot-specs {
  margin: 0 0 12px;
  font-size: 14.5px;
}

.lot-body p {
  margin: 0 0 8px;
  font-size: 14.5px;
}

.lot-body p:last-child {
  margin-bottom: 0;
}

.status-ok { color: var(--green); font-weight: 700; }
.status-warn { color: var(--red); font-weight: 700; }

.btn-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  margin-top: 4px;
  border: 1px solid var(--red);
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-detail:hover {
  background: #c51f16;
  border-color: #c51f16;
  color: #fff;
}

.entry-cta {
  margin: 24px 0 0;
  text-align: center;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
}

.gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-trigger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.gallery-trigger:hover img {
  opacity: 0.88;
}

.gallery-grid figcaption {
  padding: 10px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #222;
}

/* Gallery lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  place-items: center;
  padding: 16px;
}

.gallery-lightbox.is-open {
  display: grid;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.gallery-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: calc(100vh - 32px);
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 12px;
}

.gallery-lightbox-figure {
  margin: 0;
  width: 100%;
  min-width: 0;
  text-align: center;
}

.gallery-lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 100px);
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  background: #111;
}

.gallery-lightbox-figure figcaption {
  margin-top: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.gallery-lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.gallery-lightbox-nav {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.35);
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
  justify-self: center;
}

@media (max-width: 768px) {
  .gallery-lightbox-panel {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 6px;
  }

  .gallery-lightbox-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .gallery-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }
}

/* Contact */
.contact {
  background: #f7f7f7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: start;
}

.contact-copy .title-gold,
.contact-copy .title-black {
  text-align: left;
}

.contact-hotline {
  margin: 10px 0 12px;
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
}

.contact-hotline a {
  color: var(--red);
}

.contact-box {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-box h2 {
  margin: 0 0 16px;
  text-align: center;
  color: var(--gold);
  font-size: 22px;
  text-transform: uppercase;
}

.contact-box form {
  display: grid;
  gap: 12px;
}

/* Category archive */
.archive-header {
  margin-bottom: 28px;
}

.archive-desc {
  max-width: 720px;
  margin: 8px auto 0;
  text-align: center;
  color: var(--muted);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.post-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.post-card-media {
  display: block;
  background: #f3f3f3;
}

.post-card-media img,
.post-card-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.post-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 16px 18px 20px;
}

.post-card-date {
  font-size: 13px;
  color: var(--muted);
}

.post-card-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  text-transform: none;
  text-align: left;
}

.post-card-title a {
  color: #111;
}

.post-card-title a:hover {
  color: var(--red);
}

.post-card-excerpt {
  color: var(--text);
  font-size: 14.5px;
}

.post-card-excerpt p {
  margin: 0;
}

.post-card-more {
  margin-top: auto;
  align-self: flex-start;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.archive-pagination {
  margin-top: 28px;
}

.archive-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: #222;
  font-weight: 700;
}

.archive-pagination .page-numbers.current,
.archive-pagination a.page-numbers:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 22px 0 70px;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer a {
  color: #fff;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
}

/* Float call */
.float-call {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(224, 43, 32, 0.4);
  animation: pulse 1.8s infinite;
}

.float-call-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

/* Popup */
.popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 16px;
}

.popup.is-open {
  display: grid;
}

.popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.popup-panel {
  position: relative;
  width: min(420px, 100%);
  padding: 28px 24px;
  background: #fff;
  border-radius: 4px;
  text-align: center;
}

.popup-panel h1 {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 24px;
  line-height: 1.3;
  text-transform: uppercase;
}

.popup-panel form {
  display: grid;
  gap: 12px;
}

.popup-close {
  position: absolute;
  top: 4px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: #888;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* Responsive */
@media (max-width: 960px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 78px 0 0;
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px;
    background: #fff;
    border-top: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  .nav.is-open {
    transform: none;
  }

  .intro-grid,
  .overview-grid,
  .satellite-grid,
  .contact-grid,
  .lot-grid,
  .cta-form {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .satellite-copy .title-black,
  .contact-copy .title-gold,
  .contact-copy .title-black {
    text-align: center;
  }

  .divider.left {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .gallery-grid,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    min-height: 66px;
  }

  .logo img {
    height: 44px;
  }

  .float-call span:last-child {
    font-size: 14px;
  }

  .section {
    padding: 42px 0;
  }
}
