/* ============================================================
   OXH 02 Nha Trang — Landing Page
   Art direction: LADI blue — clean white/blue lead-gen,
   pale-cyan tints · deep blue headings · orange CTAs
   ============================================================ */

:root {
  /* Blues (brand) */
  --blue-900: #093f73;
  --blue-700: #0e60ac;   /* dark blue — headings, dark bands */
  --blue-500: #0087d8;   /* primary blue — brand, icons, links */
  --cyan-300: #98d9e6;   /* light cyan — borders, accents */
  --cyan-100: #cdeef5;
  --cyan-50:  #ebf7fa;   /* pale cyan — tinted sections */

  /* Orange (CTA) */
  --orange-500: #ff6700;
  --orange-400: #ff9640;
  --grad-cta: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  --grad-blue: linear-gradient(135deg, var(--blue-500), var(--blue-700));

  /* Neutrals */
  --surface: #ffffff;
  --line: #d9ecf3;
  --ink:   #0d2b4e;
  --body:  #33546f;
  --muted: #62809a;

  --font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(14, 96, 172, .08);
  --shadow:    0 14px 34px rgba(14, 96, 172, .13);
  --shadow-lg: 0 30px 64px rgba(9, 63, 115, .22);
  --ring: 0 0 0 3px var(--cyan-300), 0 0 0 5px rgba(0, 135, 216, .3);

  --container: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--surface);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink); line-height: 1.16; margin: 0; font-weight: 800; letter-spacing: -.01em;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  background: var(--blue-700); color: #fff; padding: 10px 16px; border-radius: 12px;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 10px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue-500); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 13px 24px; min-height: 48px;
  border: 1.5px solid var(--bd); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background-color .18s var(--ease), filter .18s var(--ease);
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* orange gradient primary CTA */
.btn-primary {
  background: var(--grad-cta); color: #fff;
  box-shadow: 0 10px 22px rgba(255, 103, 0, .32);
}
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 14px 28px rgba(255, 103, 0, .4); }

.btn-blue { --bg: var(--blue-500); --fg: #fff; box-shadow: 0 8px 18px rgba(0, 135, 216, .3); }
.btn-blue:hover { --bg: var(--blue-700); }

.btn-outline { --bg: #fff; --fg: var(--blue-700); --bd: var(--cyan-300); }
.btn-outline:hover { --bg: var(--cyan-50); --bd: var(--blue-500); }

.btn-light { --bg: #fff; --fg: var(--blue-700); box-shadow: var(--shadow-sm); }
.btn-light:hover { --bg: var(--cyan-50); }

.btn-sm { padding: 10px 18px; min-height: 42px; font-size: .92rem; }
.btn-lg { padding: 15px 30px; min-height: 54px; font-size: 1.05rem; }

/* big hotline pill: icon + stacked label/number */
.btn-hotline { gap: 12px; padding: 12px 28px 12px 16px; min-height: 60px; border-radius: 999px; }
.btn-hotline .ic {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .22);
}
.btn-hotline .tx { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn-hotline .tx small { font-family: var(--font-body); font-weight: 500; font-size: .72rem; opacity: .92; letter-spacing: .04em; }
.btn-hotline .tx strong { font-size: 1.22rem; font-weight: 800; letter-spacing: .03em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header[data-state="scrolled"] {
  background: rgba(255, 255, 255, .95); box-shadow: var(--shadow-sm); border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-logo { height: 38px; width: auto; display: block; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-text strong { font-family: var(--font-display); color: var(--blue-700); font-size: 1.14rem; font-weight: 800; letter-spacing: .01em; }
.brand-text small { color: var(--muted); font-size: .72rem; font-weight: 500; }

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  position: relative; padding: 9px 12px; border-radius: 999px;
  font-weight: 500; font-size: .95rem; color: var(--body); white-space: nowrap;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav a:hover { color: var(--blue-700); background: var(--cyan-50); }
.nav a.is-active { color: var(--blue-700); background: var(--cyan-50); }

.nav-hotline { margin-left: 6px; }
.nav-cta { margin-left: 2px; }

.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  cursor: pointer; padding: 0; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--blue-700); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--cyan-50);
  display: flex; align-items: center;
  min-height: 100vh;
  min-height: 100svh; /* mobile browsers: exclude dynamic UI bars */
  padding-top: calc(var(--header-h) + 32px); padding-bottom: 48px;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 72% 100%;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(235, 247, 250, .96) 0%, rgba(235, 247, 250, .82) 34%, rgba(235, 247, 250, .1) 68%, transparent 100%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy { max-width: 620px; }
.hero-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .02em; }
.hero-title .hero-big {
  display: block; margin: 6px 0 4px;
  font-size: clamp(2.5rem, 5.6vw, 4rem); font-weight: 900; color: var(--blue-700); letter-spacing: 0;
}
.hero-title .hero-tail { display: block; font-size: clamp(1.02rem, 2vw, 1.35rem); font-weight: 700; color: var(--blue-500); letter-spacing: .22em; }

.hero-sub {
  margin-top: 20px; max-width: 44ch; font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--body);
  border-left: 3px solid var(--cyan-300); padding-left: 16px; font-style: italic;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; }

/* ---------- Stats ---------- */
.stats { position: relative; background: var(--grad-blue); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding-block: clamp(38px, 5.5vw, 56px); text-align: center; }
.stat { position: relative; padding: 6px; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 18%; height: 64%; width: 1px; background: rgba(255, 255, 255, .25); }
.stat-num { display: block; font-family: var(--font-display); font-weight: 900; color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-num .u { color: var(--cyan-300); font-size: .55em; font-weight: 800; }
.stat-label { display: block; margin-top: 8px; font-size: .86rem; color: var(--cyan-100); font-weight: 500; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(64px, 9vw, 104px); }
.section-tint { background: var(--cyan-50); }

/* PDF-style bordered pill label */
.eyebrow {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-500); background: #fff; border: 1.5px solid var(--cyan-300);
  padding: 7px 18px; border-radius: 999px;
}
.section-title { margin-top: 16px; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--blue-700); text-transform: uppercase; }
.section-head { max-width: 720px; margin: 0 auto clamp(38px, 5vw, 54px); text-align: center; }
.section-desc { margin-top: 16px; color: var(--muted); font-size: 1.06rem; }
.lead { margin-top: 18px; font-size: 1.08rem; color: var(--body); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split-media { position: relative; margin: 0; }
.split-media img {
  width: 100%; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- Story (Câu chuyện dự án) ---------- */
.story-media img { box-shadow: none; border-radius: 0; object-fit: contain; }
.story-points { display: grid; gap: 18px; margin-top: 28px; }
.story-point {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.story-point .point-icon {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad-blue); color: #fff;
}
.story-point .point-icon svg { width: 26px; height: 26px; }
.story-point h3 { font-size: 1.02rem; text-transform: uppercase; color: var(--blue-700); letter-spacing: .02em; }
.story-point p { margin-top: 5px; font-size: .95rem; color: var(--body); }

/* ---------- Location ---------- */
.loc-map-full { position: relative; margin: 0; }
.loc-map-full img {
  width: 100%; height: auto; display: block; background: var(--cyan-50);
  border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow);
}

.loc-benefits { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.loc-benefits li {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--blue-700);
  background: #fff; border: 1.5px solid var(--cyan-300); border-radius: 999px;
  padding: 12px 22px; box-shadow: var(--shadow-sm);
}
.loc-benefits li::before {
  content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: var(--cyan-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230087d8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.loc-streets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.loc-street {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue-500);
  border-radius: var(--radius-sm); padding: 15px 18px; box-shadow: var(--shadow-sm);
}
.loc-street .dir { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .03em; color: var(--blue-500); }
.loc-street strong { display: block; margin-top: 3px; font-family: var(--font-display); color: var(--ink); }
.loc-actions { margin-top: 26px; text-align: center; }

/* ---------- Feature cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-icon {
  display: grid; place-items: center; width: 60px; height: 60px;
  border-radius: 50%; background: var(--cyan-50); color: var(--blue-500); margin-bottom: 20px;
  border: 1px solid var(--cyan-100);
}
.feature-icon svg { width: 30px; height: 30px; }
.feature:nth-child(2) .feature-icon { background: #fff1e6; color: var(--orange-500); border-color: #ffd9b8; }
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--blue-700); }
.feature p { color: var(--muted); }

/* ---------- Overview (Tổng quan — dark photo band) ---------- */
.overview { position: relative; overflow: hidden; color: #fff; }
.overview-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.overview-scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(9, 63, 115, .95) 0%, rgba(14, 96, 172, .82) 45%, rgba(14, 96, 172, .38) 100%); }
.overview-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 64px); align-items: center; }
.overview .eyebrow { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .45); color: #fff; }
.overview .section-title { color: #fff; }
.overview-copy .lead { color: rgba(255, 255, 255, .9); }

.specs-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 10px 26px; color: var(--body);
}
.spec { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 13px 0; align-items: baseline; }
.spec + .spec { border-top: 1px solid var(--line); }
.spec dt { font-family: var(--font-display); font-weight: 700; color: var(--blue-500); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.spec dd { margin: 0; color: var(--ink); font-weight: 500; }

/* ---------- Amenities ---------- */
.amen-intro { margin-bottom: clamp(36px, 5vw, 52px); }
.amen-checklist { display: grid; gap: 0; margin-top: 26px; }
.amen-check {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--blue-700);
  text-transform: uppercase; letter-spacing: .02em;
}
.amen-check .ck {
  flex: none; width: 28px; height: 28px; border-radius: 50%; position: relative;
  background: var(--grad-blue); margin-top: 1px;
}
.amen-check .ck::after {
  content: ""; position: absolute; left: 10px; top: 6px; width: 6px; height: 12px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; rotate: 45deg;
}
.amen-check small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .82rem; color: var(--muted); text-transform: none; letter-spacing: 0; }

.amenity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.amenity {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); aspect-ratio: 1 / 1; background: var(--blue-900); cursor: pointer;
}
.amenity img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.amenity:hover img { transform: scale(1.07); }
.amenity figcaption {
  position: absolute; inset: auto 0 0 0; padding: 20px 18px 14px; color: #fff;
  background: linear-gradient(to top, rgba(9, 63, 115, .92), rgba(9, 63, 115, .1) 78%, transparent);
}
.amenity figcaption h3 { color: #fff; font-size: 1.02rem; }

.amenity-more { text-align: center; margin-top: 36px; font-family: var(--font-display); font-weight: 700; color: var(--blue-700); }
.amenity-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 16px; }
.amenity-list li {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--cyan-300); border-radius: 999px;
  padding: 10px 18px 10px 12px; font-weight: 500; color: var(--ink); box-shadow: var(--shadow-sm);
}
.amenity-list li::before {
  content: ""; width: 19px; height: 19px; flex: none; border-radius: 50%;
  background: var(--cyan-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230087d8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Units ---------- */
.unit-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.unit {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.unit:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.unit-tag { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: .76rem; letter-spacing: .04em; color: var(--blue-700); background: var(--cyan-50); border: 1px solid var(--cyan-300); padding: 5px 12px; border-radius: 999px; }
.unit h3 { font-size: 1.06rem; margin-top: 16px; color: var(--blue-700); }
.unit-area { font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; color: var(--ink); margin-top: 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.unit-note { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.unit-feature { background: var(--grad-blue); border-color: transparent; }
.unit-feature .unit-tag { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .4); color: #fff; }
.unit-feature h3, .unit-feature .unit-area { color: #fff; }
.unit-feature .unit-note { color: var(--cyan-100); }

/* ---------- Plans ---------- */
.plan-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.plan { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.plan img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #fff; padding: 12px; }
.plan figcaption { padding: 14px 18px 18px; text-align: center; font-weight: 500; color: var(--body); border-top: 1px solid var(--line); }

/* ---------- Eligibility & documents ---------- */
.eligible-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 860px; margin-inline: auto; }
.eligible-chips li {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem; letter-spacing: .02em;
  color: var(--blue-700); background: #fff; border: 1.5px solid var(--cyan-300);
  padding: 11px 20px; border-radius: 999px; box-shadow: var(--shadow-sm); text-transform: uppercase;
}
.eligible-chips li.is-hot { background: var(--grad-blue); border-color: transparent; color: #fff; }
.eligible-note { text-align: center; margin-top: 18px; color: var(--muted); font-size: .95rem; }
.eligible-cta { margin-top: 28px; text-align: center; }

.docs-head {
  margin: clamp(48px, 7vw, 72px) auto 8px; text-align: center; max-width: 720px;
}
.docs-head h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--blue-700); text-transform: uppercase; }
.docs-head p { margin-top: 10px; color: var(--muted); }
.doc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 30px; }
.doc-card {
  position: relative; background: #fff; border: 1.5px solid var(--cyan-300); border-radius: var(--radius);
  padding: 26px 18px 20px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.doc-num {
  display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--grad-cta); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
}
.doc-card h4 { font-size: .98rem; color: var(--blue-700); text-transform: uppercase; letter-spacing: .02em; }
.doc-card p { margin-top: 8px; font-size: .86rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 18px; }
.gallery-item { margin: 0; padding: 0; border: none; cursor: pointer; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--blue-900); grid-column: span 2; }
.gi-tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }

/* ---------- Register (Đăng ký) ---------- */
.register { position: relative; overflow: hidden; padding-block: clamp(70px, 10vw, 110px); color: #fff; }
.register-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.register-scrim { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(9, 63, 115, .96), rgba(14, 96, 172, .9)); }
.register-inner { position: relative; z-index: 2; text-align: center; max-width: 820px; margin-inline: auto; }
.register .section-title { color: #fff; margin-top: 0; }
.register-sub { margin-top: 14px; color: rgba(255, 255, 255, .92); font-size: 1.08rem; }
.register-benefits {
  display: flex; flex-wrap: wrap; gap: 10px 0; justify-content: center; margin-top: 22px;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--cyan-300);
}
.register-benefits span { padding-inline: 16px; }
.register-benefits span + span { border-left: 1px solid rgba(255, 255, 255, .35); }

.form {
  margin: 34px auto 0; max-width: 560px; text-align: left;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(24px, 4vw, 36px); display: grid; gap: 16px;
}
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--blue-700); }
.field label .req { color: var(--orange-500); }
.field input, .field select {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--cyan-50); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 12px 16px; min-height: 48px; transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue-500); background: #fff; }
.field input.is-invalid { border-color: var(--orange-500); background: #fff5ee; }
.form .btn { width: 100%; }
.form-note {
  display: none; margin-top: 2px; text-align: center; font-size: .92rem; color: var(--blue-700);
  background: var(--cyan-50); border: 1px solid var(--cyan-300); border-radius: 12px; padding: 12px 14px;
}
.form-note.is-visible { display: block; }
.register-hotline { margin-top: 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-700); color: rgba(255, 255, 255, .8); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.4fr; gap: 44px; padding-bottom: 44px; }
.footer-brand .brand-logo { background: #fff; padding: 6px 10px; border-radius: 12px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: rgba(255, 255, 255, .65); }
.footer-tagline {
  margin-top: 18px; font-family: var(--font-display); font-weight: 800; font-size: 1.02rem;
  color: #fff; text-transform: uppercase; letter-spacing: .04em; max-width: 30ch;
}
.footer-note { margin-top: 12px; font-size: .92rem; max-width: 38ch; }
.footer-contact { margin-top: 16px; display: grid; gap: 8px; font-size: .95rem; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, .88); }
.footer-contact svg { flex: none; color: var(--cyan-300); }
.footer-contact a:hover { color: #fff; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 15px; text-transform: uppercase; letter-spacing: .04em; }
.footer-col a { display: block; padding: 5px 0; color: rgba(255, 255, 255, .78); transition: color .15s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: .94rem; }
.footer-col p + p { margin-top: 10px; }
.footer-col p strong { color: #fff; }
.footer-cta { color: var(--orange-400) !important; font-family: var(--font-display); font-weight: 700; margin-top: 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .16); padding-block: 24px; }
.footer-bottom p { font-size: .84rem; color: rgba(255, 255, 255, .6); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(7, 38, 66, .93); padding: 24px; opacity: 0; animation: fade .2s var(--ease) forwards; }
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: 94vw; max-height: 88vh; border-radius: 16px; box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; cursor: pointer; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); }
.lightbox-close:hover { background: rgba(255, 255, 255, .26); }
@keyframes fade { to { opacity: 1; } }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .unit-grid { grid-template-columns: repeat(3, 1fr); }
  .doc-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-hotline .tx small { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav, .nav-cta, .nav-hotline { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open {
    display: flex; position: fixed; inset: var(--header-h) 0 auto 0; z-index: 100; flex-direction: column; gap: 2px;
    padding: 14px 18px 20px; margin: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); animation: drop .22s var(--ease);
  }
  .nav.is-open a { padding: 13px 14px; font-size: 1.05rem; }
  @keyframes drop { from { opacity: 0; transform: translateY(-10px); } }

  .hero-scrim { background: linear-gradient(180deg, rgba(235, 247, 250, .94) 0%, rgba(235, 247, 250, .86) 55%, rgba(235, 247, 250, .55) 100%); }
  .hero-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .story-media { max-width: 420px; margin-inline: auto; }
  .overview-inner { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 26px 10px; }
  .stat:nth-child(4)::before, .stat:nth-child(5)::before { display: none; }
  .plan-row { grid-template-columns: 1fr; }
  .loc-streets { grid-template-columns: 1fr 1fr; }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  /* map is 2200px wide — crop-zoom on phones so labels stay legible */
  .loc-map-full img { height: 340px; object-fit: cover; object-position: 46% center; }
  .amenity-grid { grid-template-columns: 1fr; }
  .amenity { aspect-ratio: 16 / 11; }
  .unit-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .unit { padding: 18px 14px; }
  .unit-area { font-size: 1.12rem; }
  .unit:last-child { grid-column: 1 / -1; }
  .eligible-chips li { width: 100%; justify-content: center; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(5) { grid-column: 1 / -1; }
  .stat::before { display: none !important; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery-item { grid-column: span 1; }
  .gi-tall { grid-column: span 2; grid-row: span 1; }
  .hero-actions .btn, .eligible-cta .btn, .register-hotline .btn { width: 100%; }
  .spec { grid-template-columns: 1fr; gap: 2px; }
  .loc-streets { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
  .register-benefits { flex-direction: column; gap: 6px; }
  .register-benefits span + span { border-left: none; }
}

/* ---------- Reduced motion ----------
   Keep safe opacity fades + hover feedback; remove vestibular motion:
   parallax, large slides, smooth-scroll. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { transform: none; }
  .hero-bg, .register-bg, .overview-bg { transform: none !important; }
}
