/* =========================================================
   Monrei Saigon — Landing page
   Mobile-first. Màu/font lấy từ tokens.css.
   ========================================================= */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-ivory);
  -webkit-font-smoothing: antialiased;
}

img, iframe { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--space-2);
  color: var(--c-primary-dark);
}
h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 var(--space-2); }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.section { padding: var(--space-5) 0; }
.section--sand { background: var(--c-sand); }
.section--dark { background: var(--c-primary-dark); color: var(--c-mist); }
.section--dark h2,
.section--dark h3 { color: var(--c-white); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--space-1);
}
.section--dark .eyebrow,
.hero .eyebrow { color: var(--c-tint); }

.section-head { max-width: 680px; margin-bottom: var(--space-4); }
.section-head p { color: var(--c-muted); }
.section--dark .section-head p { color: var(--c-mist); }

.note { font-size: 0.82rem; color: var(--c-muted); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 0.95rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn--primary { background: var(--c-accent); color: var(--c-white); }
.btn--primary:hover { background: var(--c-accent-hover); }
.btn--ghost { border-color: currentColor; color: var(--c-white); background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn--outline { border-color: var(--c-primary-dark); color: var(--c-primary-dark); background: transparent; }
.btn--outline:hover { background: var(--c-primary-dark); color: var(--c-white); }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn:disabled { opacity: 0.6; cursor: wait; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
}
.header.is-scrolled,
.header.is-open { background: var(--c-primary-dark); box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--c-white);
  text-decoration: none;
}
.logo img { height: 34px; width: auto; }

.nav { display: none; }
.nav a {
  color: var(--c-mist);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 0;
}
.nav a:hover { color: var(--c-white); }

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--c-white);
  cursor: pointer;
}
.menu-toggle svg { width: 26px; height: 26px; }

.header.is-open .nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--c-primary-dark);
  padding: var(--space-1) 16px var(--space-3);
}
.header.is-open .nav a { padding: 0.8rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.header__cta { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--c-white);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(145, 170, 207, 0.35), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(0, 70, 156, 0.55), transparent 60%),
    linear-gradient(160deg, #1c2150 0%, #2f356b 45%, #00469c 100%);
  overflow: hidden;
  padding: 110px 0 var(--space-4);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 18, 48, 0.7) 0%, rgba(14, 18, 48, 0.2) 65%, transparent 100%),
    linear-gradient(180deg, rgba(14, 18, 48, 0.35) 0%, rgba(14, 18, 48, 0.1) 35%, rgba(14, 18, 48, 0.8) 100%);
  z-index: 1;
}
.hero__content { position: relative; z-index: 2; }
.hero__logo { width: clamp(200px, 50vw, 340px); height: auto; margin: var(--space-1) 0 var(--space-2); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.hero__tagline {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1.15rem, 3.6vw, 1.6rem);
  color: var(--c-mist);
  margin-bottom: var(--space-2);
}
.hero__lead { max-width: 560px; color: rgba(255, 255, 255, 0.85); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-3) 0 var(--space-4); }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: rgba(20, 24, 60, 0.5); padding: var(--space-2); backdrop-filter: blur(6px); }
.stat__num { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--c-white); line-height: 1.1; }
.stat__label { font-size: 0.8rem; color: var(--c-mist); }

/* ---------- Ảnh ---------- */
.media {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-mist);
}
.media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.media:hover img { transform: scale(1.03); }
.media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem var(--space-2) var(--space-2);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-white);
  background: linear-gradient(180deg, transparent, rgba(14, 18, 48, 0.75));
}
/* Ảnh bản đồ / mặt bằng: hiển thị trọn, không cắt */
.media--contain { background: var(--c-white); }
.media--contain img { aspect-ratio: auto; height: auto; object-fit: contain; }
.media--contain:hover img { transform: none; }
.media--contain figcaption { position: static; background: none; color: var(--c-muted); padding: var(--space-1) var(--space-2); }

/* ---------- Tổng quan ---------- */
.overview { display: grid; gap: var(--space-4); }
.overview__media { display: grid; gap: var(--space-2); margin-top: var(--space-4); }
.spec { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec th,
.spec td { text-align: left; padding: 0.8rem 0; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.spec th { width: 42%; font-weight: 500; color: var(--c-muted); padding-right: var(--space-2); }


/* ---------- Logo chủ đầu tư, đối tác, ngân hàng ---------- */
/* Logo giữ nguyên màu gốc trên nền trắng, có khoảng trống quanh logo (theo quy định thương hiệu Mitsubishi) */
.partners { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
.partners__title {
  margin: 0 0 var(--space-2);
  font: 600 0.78rem var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  text-align: center;
}
.logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
.logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 0;
  min-height: 150px;
  padding: var(--space-3) var(--space-2) var(--space-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-white);
}
.logo-card img { width: auto; height: auto; max-width: 80%; max-height: 64px; object-fit: contain; }
.logo-card figcaption { font-size: 0.8rem; color: var(--c-muted); text-align: center; }
.logo-card--lead { grid-column: 1 / -1; }
.logo-card--lead img { max-width: 70%; max-height: 48px; }
.logo-card--bank { min-height: 96px; padding: var(--space-2); }
.logo-card--bank img { max-height: 40px; max-width: 78%; }
.banks { margin-top: var(--space-4); }

/* ---------- Vị trí ---------- */
.location { display: grid; gap: var(--space-4); }
.location .media { box-shadow: var(--shadow); }
.location__maps { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.location__maps .media { box-shadow: var(--shadow); }
.map-embed { margin: 0; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--c-white); box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; flex: 1; min-height: 360px; border: 0; }
.map-embed figcaption { padding: var(--space-1) var(--space-2); font-size: 0.85rem; color: var(--c-muted); }
.map-embed a { color: var(--c-accent); font-weight: 600; }
.connect { list-style: none; margin: 0 0 var(--space-1); padding: 0; }
.connect li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--c-line);
}
.connect strong { color: var(--c-primary); white-space: nowrap; font-weight: 600; }
.highlights { display: grid; gap: var(--space-1); margin: 0 0 var(--space-3); padding: 0; list-style: none; }
.highlights li { padding-left: 1.6rem; position: relative; }
.highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--c-primary);
}

/* ---------- Tiện ích ---------- */
.hydro { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); margin-bottom: var(--space-4); }
.hydro__item {
  padding: var(--space-3) var(--space-2);
  border: 1px solid rgba(230, 236, 245, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}
.hydro__item svg { width: 34px; height: 34px; color: var(--c-tint); margin-bottom: var(--space-1); }
.hydro__item h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.hydro__item p { font-size: 0.85rem; margin: 0; color: var(--c-mist); opacity: 0.85; }
.amenities { display: flex; flex-wrap: wrap; gap: var(--space-1); padding: 0; margin: 0; list-style: none; }
.amenities li {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(145, 170, 207, 0.16);
  font-size: 0.88rem;
}
.amenities__title { margin-top: var(--space-4); }

/* Thẻ ảnh tiện ích */
.amenity-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); margin-bottom: var(--space-3); }
.amenity-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-primary-deep);
}
.amenity-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; cursor: zoom-in; transition: transform 0.6s ease; }
.amenity-card:hover img { transform: scale(1.05); }
.amenity-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.2rem var(--space-2) 0.8rem;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--c-white);
  background: linear-gradient(180deg, transparent, rgba(14, 18, 48, 0.85));
  pointer-events: none;
}
.amenity-card__floor {
  display: block;
  width: fit-content;
  margin-bottom: 0.3rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--c-accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.amenities--more { opacity: 0.9; }
.amenity-gallery { display: grid; gap: var(--space-2); margin-top: var(--space-2); }
.siteplan { margin-top: var(--space-2); }
.siteplan,
.siteplan figcaption { background: var(--c-primary-deep); color: var(--c-tint); }
.note--light { color: var(--c-tint); margin-top: var(--space-3); }

/* Họa tiết đường sóng nước của bộ nhận diện trên nền tối */
.section--dark {
  background-image: url("../images/song-nuoc.svg");
  background-repeat: no-repeat;
  background-position: right -120px top -40px;
  background-size: 900px auto;
}

/* ---------- Sản phẩm ---------- */
.towers { display: grid; gap: var(--space-3); margin-bottom: var(--space-1); }
.tower {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-white);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tower:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(31, 35, 80, 0.18); }
.tower__media { position: relative; margin: 0; overflow: hidden; }
.tower__media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s ease; }
.tower:hover .tower__media img { transform: scale(1.05); }
.tower__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 18, 48, 0.55));
}
.tower__badge {
  position: absolute;
  left: var(--space-2);
  bottom: var(--space-1);
  z-index: 1;
  font-family: var(--font-head);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--c-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.tower__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-3); }
.tower__code { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; color: var(--c-primary); }
.tower h3 { margin: 0.2rem 0 0.5rem; }
.tower p { margin: 0 0 0.4rem; font-size: 0.92rem; color: var(--c-muted); }
.tower__feature { padding-left: 1.4rem; position: relative; color: var(--c-primary-dark) !important; font-weight: 500; }
.tower__feature::before { content: "≈"; position: absolute; left: 0; color: var(--c-primary); font-weight: 700; }
.tower__link {
  align-self: flex-start;
  margin-top: auto;
  padding: var(--space-1) 0 0;
  border: 0;
  background: none;
  font: 600 0.9rem var(--font-body);
  color: var(--c-accent);
  text-decoration: none;
  cursor: pointer;
}
.tower__link:hover { color: var(--c-accent-hover); text-decoration: underline; }
.towers + .note { margin-bottom: var(--space-4); }

.units { display: grid; gap: var(--space-2); }
.unit {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-1) var(--space-2);
  padding: var(--space-3);
  border-radius: var(--radius);
  background: var(--c-white);
  box-shadow: var(--shadow);
}
.unit h3 { margin: 0; font-size: 1.3rem; }
.unit__area { font-size: 1.05rem; font-weight: 600; color: var(--c-primary-dark); }
.unit__meta { grid-column: 1 / -1; font-size: 0.85rem; color: var(--c-muted); }
.unit .btn { grid-column: 1 / -1; }
.unit__plan {
  grid-column: 1 / -1;
  margin: 0 0 var(--space-1);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--c-white);
}
.unit__plan img { width: 100%; height: auto; cursor: zoom-in; transition: transform 0.4s ease; }
.unit__plan:hover img { transform: scale(1.04); }
.unit__alt {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  font: 500 0.82rem var(--font-body);
  color: var(--c-primary);
  cursor: pointer;
}
.unit__alt:hover { text-decoration: underline; }
#san-pham .note { margin-top: var(--space-2); }

/* Xem mặt bằng: tab tháp + nút tầng / loại căn */
.plan-viewer { margin-top: var(--space-5); }
.plan-viewer__title { font-size: 1.5rem; }
.tabs { display: flex; gap: 0.25rem; border-bottom: 1px solid var(--c-line); margin-bottom: var(--space-2); overflow-x: auto; }
.tab {
  flex-shrink: 0;
  padding: 0.75rem 1.1rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font: 500 0.95rem var(--font-body);
  color: var(--c-muted);
  cursor: pointer;
}
.tab.is-active { color: var(--c-primary-dark); border-bottom-color: var(--c-accent); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-2); }
.chip-btn {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-white);
  font: 500 0.85rem var(--font-body);
  color: var(--c-ink);
  cursor: pointer;
}
.chip-btn:hover { border-color: var(--c-primary); }
.chip-btn.is-active { background: var(--c-primary-dark); border-color: var(--c-primary-dark); color: var(--c-white); }
.plan-figure { border: 1px solid var(--c-line); }
.plan-figure img,
.masonry img,
.progress-grid img { cursor: zoom-in; }

/* ---------- Nhà mẫu ---------- */
.masonry { columns: 2 160px; column-gap: var(--space-2); }
.masonry .media { break-inside: avoid; margin-bottom: var(--space-2); }
.masonry .media img { aspect-ratio: auto; height: auto; }
.center { text-align: center; margin-top: var(--space-3); }

/* ---------- Tiến độ ---------- */
.progress-list { list-style: none; padding: 0; margin: 0 0 var(--space-4); display: grid; gap: var(--space-2); }
.progress-list li { padding: var(--space-2); border-left: 3px solid var(--c-accent); background: rgba(255, 255, 255, 0.05); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.progress-list strong { display: block; color: var(--c-white); margin-bottom: 0.2rem; }
.progress-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
.progress-grid .media img { aspect-ratio: 1; }

/* ---------- Phóng to ảnh ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(14, 18, 48, 0.9); }
.lightbox img { display: block; max-width: 96vw; max-height: 92vh; width: auto; height: auto; border-radius: var(--radius-sm); }
.lightbox__close {
  position: fixed;
  top: 12px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--c-white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Thư viện ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
.gallery .media:first-child,
.gallery .media:last-child { grid-column: 1 / -1; }

/* ---------- Chính sách & pháp lý ---------- */
.policy { display: grid; gap: var(--space-3); }
.card {
  padding: var(--space-3);
  border-radius: var(--radius);
  background: var(--c-white);
  border: 1px solid var(--c-line);
}
.card ul { margin: 0; padding-left: 1.2rem; }
.card li { margin-bottom: 0.5rem; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 var(--space-2) 1.5rem; border-left: 2px solid var(--c-tint); margin-left: 6px; }
.timeline li:last-child { border-color: transparent; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.35em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-primary);
}
.timeline strong { display: block; color: var(--c-primary-dark); }

/* ---------- Form ---------- */
.register { display: grid; gap: var(--space-4); align-items: start; }
.register__contact { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.contact-line {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--c-white);
}
.contact-line__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(145, 170, 207, 0.2);
  flex-shrink: 0;
}
.contact-line__icon svg { width: 20px; height: 20px; }
.contact-line small { display: block; color: var(--c-tint); font-size: 0.78rem; }

.form {
  padding: var(--space-3);
  border-radius: var(--radius);
  background: var(--c-ivory);
  color: var(--c-ink);
  box-shadow: var(--shadow);
}
.form h3 { margin-bottom: var(--space-2); }
.field { margin-bottom: var(--space-2); }
.field label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.35rem; }
.field input,
.field select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-white);
  font: 400 1rem var(--font-body);
  color: var(--c-ink);
}
.field input:focus,
.field select:focus { outline: 2px solid var(--c-primary); outline-offset: 1px; border-color: transparent; }
.field.has-error input { border-color: #b3261e; }
.field__error { display: none; margin-top: 0.3rem; font-size: 0.8rem; color: #b3261e; }
.field.has-error .field__error { display: block; }
.form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: var(--space-2) 0 0; font-size: 0.9rem; min-height: 1.4em; }
.form__status.is-ok { color: var(--c-primary); }
.form__status.is-error { color: #b3261e; }
.form__privacy { font-size: 0.76rem; color: var(--c-muted); margin: var(--space-2) 0 0; }

/* ---------- Footer ---------- */
.footer { background: var(--c-primary-deep); color: rgba(230, 236, 245, 0.8); padding: var(--space-4) 0 96px; font-size: 0.88rem; }
.footer__grid { display: grid; gap: var(--space-3); }
.footer__logo { height: 40px; width: auto; margin-bottom: var(--space-2); }
.footer a { color: var(--c-white); text-decoration: none; }
.footer h3 { color: var(--c-white); font-size: 1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: var(--space-1); }
.footer p { margin-bottom: 0.4rem; }
.footer__legal { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.78rem; opacity: 0.75; }

/* ---------- Nút nổi gọi điện / Zalo ---------- */
.float-actions {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--c-white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  font: 700 0.75rem var(--font-body);
}
.float-btn svg { width: 24px; height: 24px; }
.float-btn--call { background: var(--c-accent); animation: pulse 2.2s infinite; }
.float-btn--zalo { background: #0068ff; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(156, 102, 48, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(156, 102, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(156, 102, 48, 0); }
}

@media (max-width: 767px) {
  .gallery .media:not(:first-child):not(:last-child) figcaption { font-size: 0.72rem; padding: 1.5rem 0.6rem 0.5rem; }
}

/* ---------- Tablet ---------- */
@media (min-width: 768px) {
  .section { padding: var(--space-6) 0; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .hydro { grid-template-columns: repeat(3, 1fr); }
  .towers { grid-template-columns: repeat(3, 1fr); }
  .units { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery .media:last-child { grid-column: auto; }
  .gallery .media:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery .media img { aspect-ratio: auto; min-height: 200px; }
  .amenity-gallery { grid-template-columns: repeat(3, 1fr); }
  .overview__media { grid-template-columns: repeat(2, 1fr); }
  .logo-grid--3 { grid-template-columns: 1.4fr 1fr 1fr; }
  .logo-card--lead { grid-column: auto; }
  .logo-grid--4,
  .logo-grid--banks { grid-template-columns: repeat(4, 1fr); }
  .masonry { columns: 3; }
  .amenity-cards { grid-template-columns: repeat(3, 1fr); }
  .progress-grid { grid-template-columns: repeat(3, 1fr); }
  .progress-list { grid-template-columns: repeat(2, 1fr); }
  .policy { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .nav { display: flex; gap: var(--space-3); }
  .header__cta { display: inline-flex; }
  .header__inner { height: 76px; }
  .hero { align-items: center; padding-top: 120px; }
  .overview { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .location { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .location__maps { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .units { grid-template-columns: repeat(4, 1fr); }
  .unit { grid-template-columns: 1fr; }
  .register { grid-template-columns: 1fr 1fr; }
  .policy { grid-template-columns: repeat(3, 1fr); }
  .masonry { columns: 4; }
  .progress-list { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-btn--call { animation: none; }
}
