/* ===== LOCAL FONT DEFINITIONS ===== */
@font-face {
  font-family: '1FTV Glowstore';
  src: url('../font/1FTV-Glowstore.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SFU Futura';
  src: url('../font/SFUFuturaLight.TTF') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SFU Futura';
  src: url('../font/SFUFuturaLightOblique.TTF') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SFU Futura';
  src: url('../font/SFUFuturaBook.TTF') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SFU Futura';
  src: url('../font/SFUFuturaBookOblique.TTF') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SFU Futura';
  src: url('../font/SFUFuturaRegular.TTF') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SFU Futura';
  src: url('../font/SFUFuturaObliqueTTF.TTF') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SFU Futura';
  src: url('../font/SFUFuturaBold.TTF') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SFU Futura';
  src: url('../font/SFUFuturaBoldOblique.TTF') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SFU Futura';
  src: url('../font/SFUFuturaHeavy.TTF') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SFU Futura';
  src: url('../font/SFUFuturaHeavyOblique.TTF') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SFU Futura';
  src: url('../font/SFUFuturaExtraBold.TTF') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SFU Futura';
  src: url('../font/SFUFuturaExtraBoldOblique.TTF') format('truetype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --brown-900: #110b09;
  /* Deep near-black brown background */
  --brown-800: #1a110d;
  /* Intermediate dark brown */
  --brown-700: #211713;
  /* Section dark brown */
  --brown-600: #402d1d;
  /* Soft warm brown */
  --tan: #c9ac8c;
  /* Primary gold accent */
  --tan-light: #e4cdc4;
  /* Secondary soft gold text */
  --cream: #f9f1dd;
  /* Primary body light text */
  --cream-2: #f2eee5;
  /* Background light color */
  --gold: #aa856c;
  /* Deep gold */
  --ink: #110b09;
  --grey: #a1a1a1;
  --white: #ffffff;
  --display: '1FTV Glowstore', 'Cormorant Garamond', Georgia, serif;
  --sans: 'SFU Futura', Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--brown-900);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ===================================================================
   PRELOADER — màn chào "Evergreen" vẽ nét rồi tô, kèm thanh tiến trình
   =================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--brown-900);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Khóa cuộn khi đang preload */
body.is-loading {
  overflow: hidden;
  height: 100vh;
}

/* Nền có quầng sáng ấm tỏa nhẹ ở giữa cho sang */
.preloader::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(201, 172, 140, 0.14), transparent 70%);
  z-index: 0;
  opacity: 0;
  animation: pl-glow 1.4s ease forwards;
}

@keyframes pl-glow {
  to { opacity: 1; }
}

.preloader-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 0 24px;
}

/* Chữ Evergreen */
.preloader-word {
  width: min(560px, 82vw);
  height: auto;
  overflow: visible;
}

/* Lớp chữ nền: vẽ nét nhanh rồi tô kem */
.preloader-text {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 118px;
  fill: var(--cream);
  stroke: var(--tan);
  stroke-width: 1.1px;
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
  fill-opacity: 0;
  animation:
    pl-draw 0.5s cubic-bezier(0.7, 0, 0.2, 1) forwards,
    pl-fill 0.28s ease forwards 0.32s;
}

/* Lớp chữ ánh kim quét qua (shimmer) */
.preloader-shine {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 118px;
  fill: url(#shineGrad);
  opacity: 0;
  /* dải sáng hẹp di chuyển ngang qua chữ */
  -webkit-mask-image: linear-gradient(100deg, transparent 38%, #000 50%, transparent 62%);
  mask-image: linear-gradient(100deg, transparent 38%, #000 50%, transparent 62%);
  -webkit-mask-size: 280% 100%;
  mask-size: 280% 100%;
  -webkit-mask-position: 130% 0;
  mask-position: 130% 0;
  animation:
    pl-shine-show 0.01s linear forwards 0.5s,
    pl-shine 0.5s ease-out forwards 0.5s;
}

@keyframes pl-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes pl-fill {
  to { fill-opacity: 1; stroke-width: 0.3px; }
}

@keyframes pl-shine-show {
  to { opacity: 1; }
}

@keyframes pl-shine {
  from { -webkit-mask-position: 130% 0; mask-position: 130% 0; }
  to   { -webkit-mask-position: -130% 0; mask-position: -130% 0; }
}

/* Đường kẻ mảnh nở ra dưới chữ */
.preloader-rule {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tan), transparent);
  opacity: 0;
  animation: pl-rule 0.4s cubic-bezier(0.7, 0, 0.2, 1) forwards 0.38s;
}

@keyframes pl-rule {
  from { width: 0; opacity: 0; }
  to   { width: min(320px, 64vw); opacity: 1; }
}

/* Màn mở kiểu wipe lên trên — dứt khoát, sang */
.preloader.is-done .preloader-inner {
  opacity: 0;
  transform: translateY(-18px) scale(0.985);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.7, 0, 0.2, 1);
}

.preloader.is-done {
  transform: translateY(-100%);
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1) 0.08s;
}

/* Ẩn hẳn sau khi wipe xong */
.preloader.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 600px) {
  .preloader-text,
  .preloader-shine { font-size: 88px; }
}

/* Tôn trọng người dùng tắt hiệu ứng chuyển động */
@media (prefers-reduced-motion: reduce) {
  .preloader-text {
    animation: none;
    fill-opacity: 1;
    stroke-dashoffset: 0;
    stroke-width: 0.3px;
  }
  .preloader-shine,
  .preloader::before { display: none; }
  .preloader-rule { width: min(320px, 64vw); opacity: 1; animation: none; }
}

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

ul {
  list-style: none;
}

/* Common layout classes */
.wrap {
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 50px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--tan);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
}

.eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--tan);
}

.h-sec {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--cream);
}

.outline-text {
  font-family: var(--display);
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px rgba(249, 241, 221, 0.4);
  text-transform: uppercase;
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 14px 32px;
  border: 1px solid var(--tan);
  color: var(--tan);
  background: transparent;
  cursor: pointer;
  transition: all .35s ease;
}

.btn-outline-gold:hover {
  background: var(--tan);
  color: var(--brown-900);
  transform: translateY(-2px);
}

/* Scroll reveal styling */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Floating Contact Sidebar */
.sidebar-contact {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.sidebar-item {
  width: 46px;
  height: 46px;
  background: rgba(26, 17, 13, 0.82);
  border: 1px solid rgba(201, 172, 140, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tan);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sidebar-item:hover {
  background: var(--tan);
  color: var(--brown-900);
  transform: scale(1.08) translateY(-2px);
  border-color: var(--tan);
}

/* ====== HEADER ====== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 12px 0;
  transition: all .4s ease;
  background: rgba(36, 36, 36, 0.8);
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}

.header.scrolled {
  background: rgba(17, 11, 9, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 172, 140, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}

.header.scrolled .brand-logo-img {
}

.menu {
  display: flex;
  gap: 24px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.menu a {
  font-size: 14px;
  font-weight: 400;
  color: var(--cream);
  opacity: .85;
  transition: all .3s ease;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.menu a:hover {
  opacity: 1;
  color: var(--tan);
}

.menu a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 0;
  height: 1px;
  background: var(--tan);
  transition: all .3s ease;
  transform: translateX(-50%);
}

.menu a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  margin-left: auto;
}

.burger span {
  width: 26px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.3s ease;
}

/* ====== HERO ====== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowzoom 3s ease-out forwards;
}

@keyframes slowzoom {
  from {
    transform: scale(1.1);
  }

  to {
    transform: scale(1);
  }
}



.hero-content {
  max-width: 1000px;
  padding: 0 20px;
  margin-top: 50px;
}

.hero-logo-wrap {
  margin-bottom: 20px;
  animation: rise 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-logo-img {
  height: 120px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.hero-cursive {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(52px, 7.5vw, 100px);
  line-height: 1.1;
  color: var(--cream);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  animation: rise 1.2s .15s cubic-bezier(0.16, 1, 0.3, 1) both;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-family: var(--sans);
  font-size: clamp(12px, 1.5vw, 15px);
  letter-spacing: .45em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--tan-light);
  margin-bottom: 30px;
  animation: rise 1.2s .3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-divider {
  width: 70px;
  height: 1px;
  background: var(--tan);
  margin: 0 auto 30px;
  animation: rise 1.2s .4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.9;
  animation: rise 1.2s .5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-links span {
  position: relative;
}

.hero-links span:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: -15px;
  color: rgba(201, 172, 140, 0.5);
}

/* Scroll mouse hint */
.scroll-hint-new {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: rise 1.2s .7s cubic-bezier(0.16, 1, 0.3, 1) both;
  color: var(--tan);
  cursor: pointer;
}

.mouse-icon {
  width: 24px;
  height: 38px;
  border: 1px solid var(--tan);
  border-radius: 12px;
  position: relative;
  opacity: 0.8;
}

.mouse-wheel {
  width: 3px;
  height: 7px;
  background: var(--tan);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollwheel 2s infinite ease-in-out;
}

.arrow-down-svg {
  opacity: 0.7;
  animation: arrowbounce 2s infinite ease-in-out;
}

@keyframes scrollwheel {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  30% {
    opacity: 1;
  }

  80% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }

  100% {
    opacity: 0;
  }
}

@keyframes arrowbounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ====== LEGACY ====== */
.legacy {
  position: relative;
  padding: 175px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--brown-900);
}

.legacy-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.legacy-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: none;
}

.legacy::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17, 11, 9, 0.25);
  z-index: 1;
}

.legacy .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}

.legacy-card {
  background: linear-gradient(180deg, rgb(255 255 255 / 20%) 0%, rgba(52, 47, 44, 1) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 120px 87px;
  max-width: 1065px;
  text-align: left;
  box-shadow: 0px 1px 4px 1px rgb(199 199 199 / 80%);
}

.legacy-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--cream);
  margin-bottom: 30px;
}

.legacy-card p {
  font-size: 15.4px;
  color: rgba(249, 241, 221, 0.85);
  line-height: 1.5;
  margin-bottom: 24px;
}

.legacy-card p:last-of-type {
  margin-bottom: 40px;
}

.legacy-signature {
  display: flex;
  justify-content: flex-start;
}

.legacy-sig-img {
  height: 55px;
  width: auto;
  display: block;
  margin: 0;
}

/* ====== INTRO (GIỚI THIỆU VỀ EVERGREEN) ====== */
.intro {
  padding: 130px 0;
  background: var(--brown-700);
}

.intro-new-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr 1fr;
  gap: 60px;
  align-items: stretch;
  max-width: 1274px;
}

.intro-col-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.intro-eyebrow {
  display: none;
}

.intro-large-title {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.2;
  font-weight: 400;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: .04em;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.intro-large-title span:first-child {
  font-weight: 300;
}

.intro-col-center {
  position: relative;
}

.intro-img-frame {
  position: relative;
  border: none;
  padding: 0;
  background: transparent;
}

.intro-img-frame img {
  width: 100%;
  aspect-ratio: 3/4.2;
  object-fit: cover;
  transition: all 0.5s ease;
}

.intro-col-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 30px;
}

.intro-text p {
  font-size: 16px;
  color: rgba(249, 241, 221, 0.8);
  line-height: 1.5;
  margin-bottom: 24px;
  text-align: justify;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.intro-sub-img {
  border: none;
  padding: 0;
  background: transparent;
  align-self: flex-end;
  width: 100%;
  max-width: 240px;
}

.intro-sub-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ====== LOCATION MAP ====== */
.location-map {
  width: 100%;
  overflow: hidden;
  background: var(--brown-900);
}

.location-map img {
  width: 100%;
  height: auto;
  display: block;
}

/* ====== VALUES & BANNER (MỘT CHUẨN SỐNG MỚI) ====== */
.values {
  padding: 116px 0;
  background: var(--brown-800);
  border-top: 1px solid rgba(201, 172, 140, 0.1);
  border-bottom: 1px solid rgba(201, 172, 140, 0.1);
}

.values .wrap{
    max-width: 1280px;
    padding: 0;
}

.values-head {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 120px;
}

.values-head .eyebrow {
  display: none;
}

.values-head h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4.2vw, 40px);
  text-transform: uppercase;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: .02em;
  line-height: 1.2;
}

.values-subdesc {
  color: rgba(249, 241, 221, 0.7);
  font-family: var(--sans);
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.5;
  font-weight: 400;
}

/* Tabs Slider */
.values-tabs-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-bottom: 60px;
  border-bottom: none;
}

.value-tab {
  padding: 20px 10px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: self-start;
  gap: 12px;
  position: relative;
  opacity: 0.5;
}

.value-tab::after {
  display: none;
}

.value-tab:hover {
  opacity: 0.85;
}

.value-tab.active {
  opacity: 1;
}

.value-tab .v-num {
  font-family: var(--display);
  font-size: clamp(24px, 2.5vw, 40px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  transition: color 0.3s ease;
}

.value-tab .v-title {
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--cream);
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.value-tab.active .v-title {
  color: var(--tan);
}

/* Active Value Detail */
.value-content-panel {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.value-active-title {
  font-family: var(--sans);
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--tan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  font-weight: 400;
}

.value-active-desc {
  font-size: 16px;
  color: rgba(249, 241, 221, 0.7);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
  transition: opacity 0.3s ease;
}

.value-dots {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  justify-content: center;
}

/* ── Shared dot style — áp cho mọi pagination trong site ── */
.v-dot,
.swiper-gallery-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(255 255 255);
  opacity: 1;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  margin: 0;
}

.v-dot.active,
.swiper-gallery-pagination .swiper-pagination-bullet-active {
  background: var(--white);
  box-shadow: 0 0 0 4px var(--brown-900), 0 0 0 5.5px #F2C94C;
}

/* Value large banner overlay */
.values-banner {
  position: relative;
  width: 1271px;
  max-width: 100%;
  height: 667px;
  aspect-ratio: 1271 / 667;
  margin: 0 auto;
  overflow: hidden;
}

@media (max-width: 1271px) {
  .values-banner {
    height: auto;
  }
}

.values-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 11, 9, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.banner-logo-img {
  height: 90px;
  width: auto;
  display: block;
}

.banner-title {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 64px);
  font-style: italic;
  color: var(--tan);
  font-weight: 400;
}

/* ====== DẤU ẤN ĐƯỢC GHI NHẬN ====== */
.dau-an-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-top: 170px;
}

.dau-an-img-col {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 10;
}

.dau-an-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dau-an-text-col {
  max-width: 518px;
  padding: 0;
  margin-left: 125px;
}

.dau-an-title {
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--cream);
  margin-bottom: 4px;
}

.dau-an-lead {
  font-family: var(--sans);
  font-size: 14px;
  text-transform: uppercase;
  color: #7C6959;
  line-height: 1.8;
  margin-bottom: 32px;
}

.dau-an-body p {
  font-size: 16px;
  color: rgba(249, 241, 221, 0.75);
  line-height: 1.5;
  margin-bottom: 20px;
  text-align: justify;
}

.dau-an-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .dau-an-wrap {
    grid-template-columns: 1fr;
  }

  .dau-an-img-col {
    aspect-ratio: 16 / 9;
  }

  .dau-an-text-col {
    padding: 60px 40px;
  }
}

@media (max-width: 600px) {
  .dau-an-text-col {
    padding: 50px 20px;
  }
}

/* ====== MASTERPLAN (PLAN) ====== */
.plan {
  position: relative;
  padding: 130px 0;
  background: var(--brown-900);
  overflow: hidden;
}

.plan-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.plan-head .eyebrow {
  justify-content: center;
}

.plan-head .eyebrow::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--tan);
}

.plan-head h2 {
  margin-top: 20px;
}

.plan-figure {
  position: relative;
  border: 1px solid rgba(201, 172, 140, 0.35);
  padding: 10px;
  background: rgba(26, 17, 13, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.plan-figure img {
  width: 100%;
  display: block;
}

.poi {
  position: absolute;
  transform: translate(-50%, -50%);
}

.poi .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tan);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 0 rgba(201, 172, 140, 0.8);
  animation: pulse 2.4s infinite;
  cursor: pointer;
  display: block;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 172, 140, 0.7);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(201, 172, 140, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(201, 172, 140, 0);
  }
}

.poi .label {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(17, 11, 9, 0.95);
  border: 1px solid rgba(201, 172, 140, 0.3);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: .08em;
  padding: 7px 14px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.poi:hover .label {
  opacity: 1;
  bottom: 32px;
}

.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
  justify-content: center;
  margin-top: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.amenity {
  font-size: 13px;
  letter-spacing: .05em;
  color: rgba(249, 241, 221, 0.85);
  display: flex;
  align-items: center;
  gap: 10px;
}

.amenity i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tan);
  display: inline-block;
}

/* ====== PRODUCT TYPES (Những không gian sống) ====== */
.types {
  padding: 130px 0;
  background: var(--brown-800);
  border-top: 1px solid rgba(201, 172, 140, 0.1);
  border-bottom: 1px solid rgba(201, 172, 140, 0.1);
}

.types-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  gap: 30px;
  flex-wrap: wrap;
}

.types-head h2 {
  margin-top: 15px;
  max-width: 600px;
}

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

.type-card {
  position: relative;
  height: 440px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(201, 172, 140, 0.15);
}

.type-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(0.16, 1, 0.3, 1);
}

.type-card:hover img {
  transform: scale(1.06);
}

.type-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 11, 9, 0) 40%, rgba(17, 11, 9, 0.9) 100%);
  z-index: 1;
}

.type-card .cap {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 34px;
  width: 100%;
}

.type-card .cap h3 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .02em;
}

.type-card .cap span {
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tan);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  transform: translateY(10px);
  opacity: 0;
  transition: all .4s ease;
}

.type-card:hover .cap span {
  transform: none;
  opacity: 1;
}

.type-card.tall {
  grid-row: span 2;
  height: auto;
}

/* ====== LEED GLOBAL STANDARDS SECTION ====== */
.leed-section {
  padding: 130px 0;
  background: var(--cream-2);
  color: var(--ink);
}

.leed-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}

.leed-img-col {
  border: 1px solid rgba(170, 133, 108, 0.3);
  padding: 12px;
  background: var(--white);
  box-shadow: 0 20px 45px rgba(64, 45, 29, 0.12);
}

.leed-img-col img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.leed-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.leed-eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.leed-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--brown-900);
  margin-bottom: 22px;
}

.leed-subtitle {
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--gold);
  margin-bottom: 25px;
}

.leed-info-col p {
  font-size: 15px;
  color: #4c443c;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.leed-info-col p:last-child {
  margin-bottom: 0;
}

/* ====== GALLERY (THƯ VIỆN ẢNH) ====== */
.gallery {
  position: relative;
  padding: 242px 0 160px;
  overflow: hidden;
}

.gallery-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gallery-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(17, 11, 9, 0.68);
}

/* Outer wrap — kiểm soát max-width duy nhất */
.gallery-inner {
  position: relative;
  z-index: 2;
  max-width: 1213px;
  margin: 0 auto;
}

/* Swiper wrapper */
.gallery-swiper-wrap {
  position: relative;
  margin-bottom: 80px;
}

.gallery-swiper {
  overflow: hidden;
}

.gallery-swiper .swiper-wrapper {
  align-items: center;
}

.gallery-swiper .swiper-slide {
  height: 260px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .4s ease;
}

.gallery-swiper .swiper-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
}

.gallery-swiper .swiper-slide:hover img {
  transform: scale(1.05);
}

/* Prev / Next arrows — ngoài swiper, hai bên wrap */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201, 172, 140, 0.4);
  background: rgba(17, 11, 9, 0.7);
  color: var(--tan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s ease;
  backdrop-filter: blur(6px);
}

.gallery-arrow:hover {
  background: var(--tan);
  color: var(--brown-900);
  border-color: var(--tan);
}

.gallery-arrow--prev {left: -22px;}
.gallery-arrow--next {right: -22px;}

/* Footer */
.gallery-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Swiper custom pagination (dots) */
.swiper-gallery-pagination {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction{
  width: auto;
}

.gallery-outline-title {
  font-family: var(--display), Georgia, serif;
  font-size: clamp(36px, 4.5vw, 48px);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.92;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .gallery-inner {
    padding: 50px 40px 40px;
  }
}

@media (max-width: 600px) {
  .gallery-inner {
    padding: 40px 20px 30px;
  }

  .gallery-footer {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .gallery-swiper .swiper-slide {
    height: 200px;
  }

}

/* ====== NEWS ACCORDION ====== */
.news {
  background: var(--brown-900);
  border-top: 1px solid rgba(201, 172, 140, 0.1);
  border-bottom: 1px solid rgba(201, 172, 140, 0.1);
}

/* Accordion strip */
.news-accordion {
  display: flex;
  height: 620px;
  overflow: hidden;
}

.na-item {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  transition: flex .6s cubic-bezier(0.4, 0, 0.2, 1);
}

.na-item.active {
  flex: 3.2;
}

.na-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
  display: block;
}

.na-item:hover img,
.na-item.active img {
  transform: scale(1.04);
}

/* Overlay gradient */
.na-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 11, 9, 0.92) 0%, rgba(17, 11, 9, 0.3) 55%, transparent 100%);
  transition: background .4s ease;
  z-index: 1;
}

.na-item:not(.active) .na-overlay {
  background: rgba(17, 11, 9, 0.6);
}

/* Content at bottom */
.na-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 142px;
}

.na-tag {
  display: inline-flex;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(17, 11, 9, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  padding: 5px 14px;
  margin-bottom: 25px;
  backdrop-filter: blur(4px);
  width: auto;
}

.na-title {
  font-family: var(--sans), Georgia, serif;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 700;
  color: var(--cream);
  text-transform: uppercase;
  line-height: 1.5;
  margin-bottom: 14px;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 32px;
}

/* desc & button hidden on collapsed */
.na-desc,
.na-more {
  /* opacity: 0; */
  /* visibility: hidden; */
  /* transform: translateY(10px); */
  transition: opacity .35s ease .1s, transform .35s ease .1s, visibility 0s ease .45s;
  pointer-events: none;
}

.na-item.active .na-desc,
.na-item.active .na-more {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition: opacity .35s ease .1s, transform .35s ease .1s, visibility 0s ease 0s;
}

.na-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 48px;
}

.na-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  letter-spacing: .14em;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 30px;
  padding: 8px 20px;
  transition: background .3s ease, opacity .35s ease .1s, transform .35s ease .1s;
}

.na-more:hover {
  background: var(--tan);
  border-color: var(--tan);
  color: var(--brown-900);
}

@media (max-width: 1024px) {
  .news-accordion {
    height: 500px;
  }

  .na-body {
    padding: 24px 18px;
  }
}

@media (max-width: 600px) {
  .news-accordion {
    flex-direction: column;
    height: auto;
  }

  .na-item {
    height: 220px;
    flex: none;
  }

  .na-item.active {
    height: 420px;
    flex: none;
  }

  .na-desc {
    -webkit-line-clamp: 2;
  }
}

/* ====== CONTACT (LIÊN HỆ) ====== */
.contact {
  background: var(--brown-900);
}

.contact-split-container {
  display: flex;
  min-height: 640px;
}

.contact-visual-col {
  width: 50%;
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(201, 172, 140, 0.15);
}

.contact-visual-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-visual-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 11, 9, 0) 50%, rgba(17, 11, 9, 0.4) 100%);
}

.contact-form-col {
  width: 50%;
  background: #1e1510;
  display: flex;
  align-items: center;
  padding: 80px 10%;
}

.contact-form-wrapper {
  width: 100%;
}

.contact-form-title {
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 42px);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 12px;
  line-height: 1.2;
}

.contact-form-subtitle {
  font-size: 16px;
  color: rgba(249, 241, 221, 0.55);
  margin-bottom: 44px;
}

.form-new .field-new {
  margin-bottom: 32px;
  position: relative;
}

.form-new input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(249, 241, 221, 0.25);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 14px;
  padding: 10px 0;
  outline: none;
  transition: border-color .3s ease;
}

.form-new input::placeholder {
  color: rgba(249, 241, 221, 0.45);
  font-size: 14px;
}

.form-new input:focus {
  border-color: rgba(249, 241, 221, 0.7);
}

.form-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.btn-pill-submit {
  background: #AA856C;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-pill-submit:hover {
  background: #AA856C;
  transform: translateY(-2px);
}

/* ====== FOOTER ====== */
.footer {
  background: #1e1510;
  color: rgba(249, 241, 221, 0.6);
  padding: 80px 0 0;
}

.footer-wrap-new {
  display: flex;
  flex-direction: column;
}

.footer-branding {
  display: flex;
  justify-content: center;
  margin-bottom: 70px;
}

.footer-logo-img {
  height: 120px;
  width: auto;
  display: block;
}

.footer-main-new {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col-new h4 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--tan-light);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  line-height: 1.5;
}

.footer-col-new p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 14px;
  color: var(--tan-light);
}

.footer-col-new .mst {
  font-size: 13px;
  color: var(--tan-light);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.footer-contact-list li {
  font-size: 16px;
  color: var(--tan-light);
  line-height: 1.6;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list > li > a {
  font-size: 16px;
  color: var(--tan-light);
  transition: color 0.3s ease;
  display: block;
}

.footer-links-list > li > a:hover {
  color: var(--cream);
}

.footer-links-parent {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links-sub {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 16px;
  margin-top: 4px;
}

.footer-links-sub a {
  font-size: 16px;
  color: var(--tan-light);
  transition: color 0.3s ease;
  display: block;
}

.footer-links-sub a:hover {
  color: var(--cream);
}

.footer-bottom-new {
  border-top: 1px solid rgba(201, 172, 140, 0.1);
  padding: 28px 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: .05em;
  color: rgba(249, 241, 221, 0.3);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .wrap {
    padding: 0 30px;
  }

  .menu {
    display: none;
  }

  .burger {
    display: flex;
  }

  .intro-new-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .intro-col-left {
    position: relative;
    top: 0;
  }

  .intro-col-center {
    max-width: 550px;
    margin: 0 auto;
  }

  .intro-col-right {
    max-width: 650px;
    margin: 0 auto;
  }

  .values-tabs-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    border-bottom: none;
  }

  .value-tab {
    border: 1px solid rgba(201, 172, 140, 0.15);
    background: rgba(26, 17, 13, 0.3);
  }

  .value-tab::after {
    display: none;
  }

  .value-tab.active {
    border-color: var(--tan);
    background: rgba(26, 17, 13, 0.6);
  }

  .plan-figure {
    overflow-x: auto;
  }

  .plan-figure img {
    min-width: 800px;
  }

  .types-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .type-card.tall {
    grid-row: auto;
    height: 440px;
  }

  .leed-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .leed-img-col {
    max-width: 600px;
    margin: 0 auto;
  }

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

  .gallery-col {
    height: 380px;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .contact-split-container {
    flex-direction: column;
  }

  .contact-visual-col {
    width: 100%;
    height: 360px;
  }

  .contact-form-col {
    width: 100%;
    padding: 60px 40px;
    justify-content: center;
  }

  .contact-form-wrapper {
    max-width: 100%;
  }

  .footer-main-new {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .wrap {
    padding: 0 20px;
  }

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

  .types-grid,
  .gallery-row,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .gallery-col {
    height: 320px;
  }

  .values-banner {
    height: 300px;
  }

  .sidebar-contact {
    right: 12px;
  }

  .sidebar-item {
    width: 40px;
    height: 40px;
  }

  .contact-visual-col {
    height: 280px;
  }

  .contact-form-col {
    padding: 50px 20px;
  }
}

/* ===================================================================
   RESPONSIVE TINH CHỈNH — bổ sung sau khi kiểm tra thực tế
   =================================================================== */

/* ---- MENU MOBILE (drawer xổ xuống) ---- */
.menu.is-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(17, 11, 9, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(201, 172, 140, 0.15);
  padding: 8px 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.menu.is-open a {
  padding: 14px 30px;
  border-bottom: 1px solid rgba(201, 172, 140, 0.08);
  text-align: left;
  opacity: 0.9;
  white-space: normal;
}

.menu.is-open a::after { display: none; }

.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---- TABLET ngang & nhỏ (≤900px) ---- */
@media (max-width: 900px) {
  /* News: accordion ngang bị nén quá hẹp -> chuyển sang xếp dọc, mỗi tin 1 hàng */
  .news-accordion {
    flex-direction: column;
    height: auto;
  }
  .na-item,
  .na-item.active {
    flex: none;
    height: 300px;
    width: 100%;
  }
  .na-body {
    margin-bottom: 0;
    padding: 28px 26px;
  }
  /* mọi tin đều hiện đủ nội dung khi đã xếp dọc */
  .na-desc,
  .na-more {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .na-title { height: auto; -webkit-line-clamp: 2; }
  .na-desc  { height: auto; }
}

/* ---- TABLET (≤1024px) — tinh chỉnh thêm cho các media query sẵn có ---- */
@media (max-width: 1024px) {
  /* Legacy card: padding cố định 120/87 quá lớn -> co lại */
  .legacy {
    padding: 110px 0;
  }
  .legacy-card {
    padding: 60px 44px;
  }
  .legacy-title {
    margin-bottom: 24px;
  }

  /* Intro: tiêu đề nằm ngang trên cùng cho gọn */
  .intro {
    padding: 90px 0;
  }
  .intro-large-title {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 12px;
    justify-content: center;
    text-align: center;
  }
  .intro-col-left {
    justify-content: center;
    align-items: center;
  }
  .intro-sub-img {
    max-width: 320px;
    align-self: center;
  }
  .intro-text p { text-align: left; }

  /* Dấu ấn: bỏ margin-left cố định 125px */
  .dau-an-wrap {
    margin-top: 90px;
  }
  .dau-an-text-col {
    margin-left: 0;
    max-width: 100%;
  }
  .dau-an-body p { text-align: left; }

  /* Values spacing gọn lại */
  .values {
    padding: 90px 0;
  }
  .values-head {
    margin-bottom: 60px;
  }
  .value-content-panel {
    margin-bottom: 40px;
  }

  /* Section padding chung */
  .plan,
  .types,
  .leed-section {
    padding: 90px 0;
  }
  .gallery {
    padding: 120px 0 90px;
  }
}

/* ---- MOBILE (≤600px) — tinh chỉnh bổ sung ---- */
@media (max-width: 600px) {
  /* HERO: banner có chữ in sẵn -> hiện trọn ảnh (contain) để không mất chữ.
     Nền nâu đậm lấp phần trên/dưới cho liền mạch với header. */
  .hero {
    min-height: 0;
    height: auto;
    background: var(--brown-900);
    padding-top: 76px; /* chừa chỗ cho header cố định */
  }
  .hero-bg {
    position: relative;
    inset: auto;
    z-index: 0;
  }
  .hero-bg img {
    object-fit: contain;
    object-position: center center;
    height: auto;
    width: 100%;
  }
  /* ẩn nút cuộn chuột trên mobile (ảnh contain đã đủ ngữ cảnh) */
  .scroll-hint-new {
    display: none;
  }

  /* Legacy card gọn cho điện thoại */
  .legacy {
    padding: 70px 0;
  }
  .legacy-card {
    padding: 40px 24px;
  }
  .legacy-card p {
    font-size: 14.5px;
  }
  .legacy-sig-img {
    height: 44px;
  }

  /* Intro */
  .intro {
    padding: 64px 0;
  }
  .intro-new-grid {
    gap: 36px;
  }

  /* Values */
  .values {
    padding: 64px 0;
  }
  .values-head {
    margin-bottom: 44px;
  }
  .value-tab {
    padding: 16px 12px;
    gap: 8px;
  }
  .value-tab .v-title {
    font-size: 14px;
  }
  .value-content-panel {
    min-height: 0;
  }

  /* Dấu ấn */
  .dau-an-wrap {
    margin-top: 60px;
  }
  .dau-an-img-col {
    aspect-ratio: 4 / 3;
  }

  /* Section padding chung cho mobile */
  .plan,
  .types,
  .leed-section {
    padding: 64px 0;
  }
  .gallery {
    padding: 80px 0 64px;
  }

  /* Plan figure: cho cuộn ngang xem bản đồ */
  .plan-figure img {
    min-width: 640px;
  }

  /* News dọc: chiều cao vừa phải */
  .na-item,
  .na-item.active {
    height: 260px;
  }

  /* Contact */
  .contact-split-container {
    min-height: 0;
  }

  /* Footer */
  .footer {
    padding: 60px 0 0;
  }
  .footer-branding {
    margin-bottom: 44px;
  }
  .footer-logo-img {
    height: 90px;
  }
  .footer-main-new {
    gap: 36px;
    margin-bottom: 44px;
  }
}

/* ---- MOBILE NHỎ (≤380px) ---- */
@media (max-width: 380px) {
  .values-tabs-row {
    grid-template-columns: 1fr;
  }
  .value-tab {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }
}
