:root {
  --bg: #f5efdf;
  --surface: rgba(255, 250, 241, 0.78);
  --surface-strong: #fffaf1;
  --forest: #103a2c;
  --forest-deep: #082116;
  --gold: #d8b06a;
  --gold-soft: #edd7af;
  --text: #1d241d;
  --muted: #5f645d;
  --line: rgba(16, 58, 44, 0.14);
  --shadow: 0 20px 60px rgba(6, 27, 17, 0.18);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 32px));
  --hero-safe-top: 118px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lora", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(216, 176, 106, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(18, 85, 58, 0.14), transparent 22%),
    linear-gradient(180deg, #fbf6ea 0%, #f1ead8 48%, #efe6d2 100%);
}

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

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

.page-shell {
  overflow: hidden;
}

.site-header,
.section,
.site-footer {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  width: 100%;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 16px 24px;
  background:
    linear-gradient(180deg, rgba(6, 30, 20, 0.92) 0%, rgba(6, 30, 20, 0.68) 70%, rgba(6, 30, 20, 0) 100%);
  backdrop-filter: blur(12px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: var(--container);
  margin: 0 auto;
  padding: 14px 16px 14px 22px;
  border: 1px solid rgba(255, 248, 238, 0.24);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(6, 30, 20, 0.9) 0%, rgba(16, 58, 44, 0.76) 100%);
  backdrop-filter: blur(20px);
  color: #fff8ee;
  box-shadow: var(--shadow);
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.eyebrow,
.section-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand {
  font-family: "Lora", serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.08);
  border: 1px solid rgba(255, 250, 241, 0.1);
  font-size: 0.93rem;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: rgba(255, 248, 238, 0.88);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.site-nav a span {
  position: relative;
  z-index: 1;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(255, 250, 241, 0.14);
  color: #ffffff;
  transform: translateY(-1px);
}

.header-side {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-hotline {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding-right: 6px;
  color: #fff8ee;
}

.header-hotline small {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 248, 238, 0.58);
}

.header-hotline strong {
  font-size: 1rem;
  font-weight: 800;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.header-cta,
.button-primary {
  background: linear-gradient(135deg, #f0d39a 0%, #c79a4c 100%);
  color: #1d190d;
  box-shadow: 0 16px 36px rgba(196, 149, 72, 0.26);
}

.button-secondary {
  background: rgba(255, 250, 241, 0.14);
  color: #fff8ee;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.button-full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  margin-top: 0;
  border-radius: 0;
  overflow: hidden;
}

.hero-media,
.hero-overlay,
.hero-media img {
  position: absolute;
  inset: 0;
}

.hero-media img {
  height: calc(100% - var(--hero-safe-top));
  top: var(--hero-safe-top);
  object-fit: contain;
  object-position: center center;
  background: linear-gradient(180deg, #d8cfbc 0%, #efe3ce 100%);
}

.hero-overlay {
  top: var(--hero-safe-top);
  background:
    linear-gradient(180deg, rgba(8, 33, 22, 0.05) 0%, rgba(8, 33, 22, 0.02) 30%, rgba(8, 33, 22, 0.06) 100%);
}

.section-heading h2,
.video-block h2,
.contact-card h2 {
  margin: 12px 0 0;
  font-family: "Lora", serif;
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--forest-deep);
  text-wrap: pretty;
}

.section-heading p,
.project-facts li,
.feature-panel p,
.advantage-grid p,
.masterplan-copy p,
.check-list li,
.progress-copy p,
.timeline p,
.video-note,
.form-note,
.contact-card label,
.contact-card input,
.contact-card textarea,
.contact-card select {
  line-height: 1.7;
}

.location-points h3 {
  display: block;
  font-family: "Lora", serif;
  font-size: 2rem;
  color: var(--gold-soft);
}

.section {
  padding: 92px 0 0;
}

.section-heading {
  width: 100%;
  max-width: none;
  margin-bottom: 34px;
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(16, 58, 44, 0.09);
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 700;
}

.section-heading h2,
.video-block h2,
.contact-card h2 {
  font-size: clamp(1.9rem, 3.5vw, 3.05rem);
}

.section-heading p,
.masterplan-copy p,
.progress-copy p,
.video-note,
.form-note {
  color: var(--muted);
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.overview-grid,
.location-layout,
.masterplan-layout,
.progress-layout,
.video-contact {
  display: grid;
  gap: 24px;
}

.overview-grid,
.location-layout,
.masterplan-layout,
.progress-layout,
.video-contact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card,
.feature-panel,
.contact-card,
.video-block,
.masterplan-copy,
.progress-copy,
.location-copy,
.advantage-grid article,
.signal-grid article {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.project-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.project-card__content {
  padding: 34px 34px 16px;
}

.project-card__label {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16, 58, 44, 0.09);
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 700;
}

.project-card h3,
.feature-panel h3,
.advantage-grid h3 {
  margin: 14px 0 0;
  font-family: "Lora", serif;
  font-size: 2.15rem;
  line-height: 1;
}

.project-facts {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.project-facts li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.project-facts span {
  color: var(--muted);
}

.signal-grid,
.advantage-grid {
  display: grid;
  gap: 18px;
}

.market-grid,
.potential-grid {
  display: grid;
  gap: 18px;
}

.market-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

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

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

.signal-grid article,
.advantage-grid article,
.feature-panel,
.market-card,
.potential-card {
  border-radius: var(--radius-lg);
  padding: 28px;
}

.market-card,
.potential-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.market-card strong {
  display: block;
  font-family: "Lora", serif;
  font-size: 2.7rem;
  line-height: 1;
  color: var(--forest);
}

.market-card h3,
.potential-card h3 {
  margin: 16px 0 10px;
  font-size: 1.32rem;
}

.market-card p,
.potential-card p {
  margin: 0;
  color: var(--muted);
}

.signal-grid span,
.advantage-grid span,
.panel-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold-soft);
  font-family: "Lora", serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.signal-grid h3,
.location-copy h3,
.feature-panel h3 {
  margin: 18px 0 10px;
  font-size: 1.42rem;
}

.location-copy,
.masterplan-copy,
.progress-copy,
.video-block,
.contact-card {
  padding: 34px;
  border-radius: var(--radius-xl);
}

.location-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.location-points article {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 250, 241, 0.82);
  border: 1px solid var(--line);
}

.feature-stack {
  display: grid;
  gap: 18px;
}

.feature-panel {
  position: relative;
  overflow: hidden;
}

.feature-panel::after {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 176, 106, 0.18), transparent 70%);
}

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

.masterplan-figure,
.gallery-item,
.progress-layout img {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.masterplan-figure {
  min-height: 560px;
}

.masterplan-figure img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 18px;
}

.gallery-item {
  display: block;
  height: 100%;
  min-height: 0;
  align-self: stretch;
}

.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
}

.gallery-item--large {
  grid-row: span 1;
}

.gallery-item--wide {
  grid-column: span 1;
}

.gallery-card img,
.progress-layout img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.35s ease;
}

.gallery-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 4px;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, rgba(8, 33, 22, 0) 0%, rgba(8, 33, 22, 0.78) 100%);
  color: #fff8ee;
}

.gallery-meta strong {
  font-size: 1rem;
  font-weight: 700;
}

.gallery-meta span {
  color: rgba(255, 248, 238, 0.78);
  font-size: 0.88rem;
}

.gallery-card::after {
  content: "Xem ảnh";
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.88);
  color: var(--forest-deep);
  font-size: 0.8rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.gallery-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.check-list {
  display: grid;
  gap: 12px;
  padding-left: 18px;
  margin: 22px 0 30px;
}

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.timeline article {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 250, 241, 0.82);
  border: 1px solid var(--line);
}

.video-frame {
  position: relative;
  padding-top: 56.25%;
  margin-top: 26px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #0d1d16;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lead-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(16, 58, 44, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  color: var(--text);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 44px 0 28px;
  color: var(--muted);
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: grid;
  gap: 10px;
}

.floating-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  min-width: 150px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 700;
  text-align: center;
}

.floating-cta a small {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.floating-cta a span {
  font-size: 1rem;
  font-weight: 800;
}

.floating-cta a:first-child {
  background: var(--forest);
  color: #fff8ee;
}

.floating-cta a:last-child {
  background: linear-gradient(135deg, #f0d39a 0%, #c79a4c 100%);
  color: #1d190d;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 16, 11, 0.84);
  backdrop-filter: blur(10px);
}

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

.lightbox-figure {
  margin: 0;
  width: min(92vw, 1200px);
  max-height: 88vh;
  display: grid;
  gap: 12px;
}

.lightbox-image {
  width: 100%;
  max-height: calc(88vh - 54px);
  object-fit: contain;
  border-radius: 24px;
  background: #f5efdf;
  box-shadow: var(--shadow);
}

.lightbox-caption {
  color: #fff8ee;
  text-align: center;
  font-size: 0.95rem;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  cursor: pointer;
  color: #fff8ee;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.lightbox-close {
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.button:hover,
.header-cta:hover,
.floating-cta a:hover {
  transform: translateY(-2px);
}

@media (max-width: 1080px) {
  :root {
    --hero-safe-top: 108px;
  }

  .topbar {
    padding: 12px 16px;
  }

  .topbar-inner {
    border-radius: 24px;
    padding: 16px;
  }

  .site-nav {
    display: none;
  }

  .header-side {
    width: 100%;
    justify-content: space-between;
  }

  .header-hotline {
    align-items: flex-start;
    padding-right: 0;
  }

  .overview-grid,
  .location-layout,
  .masterplan-layout,
  .progress-layout,
  .video-contact,
  .advantage-grid,
  .market-grid,
  .potential-grid {
    grid-template-columns: 1fr;
  }

  .advantage-grid {
    gap: 18px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }

  .gallery-item--large {
    grid-row: span 1;
    grid-column: span 1;
    min-height: 0;
  }

  .gallery-item--wide {
    grid-column: span 1;
    min-height: 0;
  }

  .masterplan-figure {
    min-height: 420px;
  }
}

@media (max-width: 780px) {
  :root {
    --hero-safe-top: 132px;
  }

  .section,
  .site-footer {
    width: min(100vw - 20px, 100%);
  }

  .topbar {
    padding: 10px;
  }

  .topbar-inner {
    gap: 14px;
    align-items: flex-start;
    flex-direction: column;
    width: min(100vw - 20px, 100%);
  }

  .brand-block {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .brand {
    text-align: center;
    font-size: 1.65rem;
  }

  .section-heading {
    width: 100%;
  }

  .section-heading h2,
  .video-block h2,
  .contact-card h2 {
    text-wrap: balance;
  }

  .header-side {
    flex-direction: column;
    align-items: stretch;
  }

  .header-hotline {
    align-items: flex-start;
  }

  .hero {
    min-height: 52svh;
  }

  .hero-media img {
    height: calc(52svh - 24px);
    top: var(--hero-safe-top);
    object-fit: cover;
    object-position: center top;
    background: linear-gradient(180deg, #d8cfbc 0%, #efe3ce 100%);
  }

  .hero-overlay {
    display: block;
    top: var(--hero-safe-top);
    background: linear-gradient(180deg, rgba(8, 33, 22, 0.08) 0%, rgba(8, 33, 22, 0.02) 46%, rgba(8, 33, 22, 0.1) 100%);
  }

  .signal-grid,
  .location-points,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item--large,
  .gallery-item--wide {
    min-height: 0;
  }

  .gallery-meta {
    padding: 14px;
  }

  .gallery-card::after {
    opacity: 1;
    transform: translateY(0);
    top: 12px;
    right: 12px;
  }

  .masterplan-figure {
    min-height: 300px;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-nav {
    width: 46px;
    height: 46px;
  }

  .location-copy,
  .masterplan-copy,
  .progress-copy,
  .video-block,
  .contact-card,
  .section-heading,
  .feature-panel,
  .signal-grid article,
  .advantage-grid article {
    padding: 22px;
  }

  .site-footer {
    padding-bottom: 92px;
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-cta {
    right: 10px;
    bottom: 10px;
  }

  .floating-cta a {
    min-width: 132px;
  }
}
