/* ==========================================================================
   Chuỗi Resort Dưỡng Lão Vina — style.css
   Palette: emerald green + gold (theo logo), cream nền sáng
   ========================================================================== */

:root {
  --green-950: #052b20;
  --green-900: #07362a;
  --green-800: #0a4a37;
  --green-700: #0d5c44;
  --green-600: #118a63;
  --green-500: #16a075;
  --gold: #c6a15b;
  --gold-dark: #a9854a;
  --gold-light: #e3c98f;
  --cream: #faf7f0;
  --cream-2: #f3eee2;
  --ink: #1c2a24;
  --muted: #5c6b63;
  --white: #ffffff;
  --shadow-sm: 0 4px 16px rgba(7, 54, 42, .08);
  --shadow-md: 0 12px 40px rgba(7, 54, 42, .14);
  --shadow-lg: 0 24px 64px rgba(7, 54, 42, .22);
  --radius: 14px;
  --font-serif: "Playfair Display", "Times New Roman", serif;
  --font-sans: "Be Vietnam Pro", "Segoe UI", sans-serif;
  --header-h: 84px;
}

/* CJK font fallbacks */
:lang(zh) { --font-serif: "Playfair Display", "Songti SC", "SimSun", serif; --font-sans: "Be Vietnam Pro", "PingFang SC", "Microsoft YaHei", sans-serif; }
:lang(ja) { --font-serif: "Playfair Display", "Yu Mincho", "Hiragino Mincho ProN", serif; --font-sans: "Be Vietnam Pro", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif; }

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
svg { width: 1em; height: 1em; }

.container { width: min(1240px, 92%); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-dark);
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--gold); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.22;
  color: var(--green-900);
  margin: 14px 0 18px;
}
.section-sub { color: var(--muted); max-width: 640px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section-head .eyebrow::after { content: ""; width: 42px; height: 1px; background: var(--gold); }
.section-head .section-sub { margin-inline: auto; }
.lead { font-size: 18.5px; color: var(--green-800); font-weight: 500; margin-bottom: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px;
  font-family: var(--font-sans); font-size: 14.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .35s ease;
  white-space: nowrap;
}
.btn-gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: #fff; box-shadow: 0 8px 24px rgba(198, 161, 91, .38); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(198, 161, 91, .5); }
.btn-outline { border-color: rgba(255,255,255,.75); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.btn-outline:hover { background: #fff; color: var(--green-900); }
.btn-green { background: var(--green-800); color: #fff; box-shadow: 0 8px 24px rgba(10, 74, 55, .3); }
.btn-green:hover { background: var(--green-700); transform: translateY(-2px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .4s ease, box-shadow .4s ease;
}
.header-inner {
  width: min(1360px, 94%); margin-inline: auto;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand-logo { height: 60px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); transition: height .35s ease; }

.main-nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav-link {
  position: relative; font-size: 14.5px; font-weight: 500; letter-spacing: .02em;
  color: rgba(255,255,255,.92); padding: 8px 2px;
  transition: color .3s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.btn-header { padding: 12px 24px; font-size: 12.5px; }

/* scrolled state */
.site-header.scrolled { background: rgba(7, 54, 42, .96); backdrop-filter: blur(12px); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.site-header.scrolled .brand-logo { height: 48px; }

/* language switcher */
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  color: #fff; padding: 9px 14px; border-radius: 999px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .3s;
}
.lang-btn:hover { background: rgba(255,255,255,.22); }
.lang-btn svg { width: 17px; height: 17px; }
.lang-btn .chev { width: 13px; height: 13px; transition: transform .3s; }
.lang-switch.open .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 172px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-md);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all .3s ease;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 12px; border: 0; background: transparent; border-radius: 8px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: var(--ink);
  cursor: pointer; transition: background .25s;
}
.lang-menu button:hover { background: var(--cream-2); }
.lang-menu button.active { background: var(--green-800); color: #fff; }
.lang-code {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--cream-2); color: var(--green-800);
  font-size: 11.5px; font-weight: 700;
}
.lang-menu button.active .lang-code { background: rgba(255,255,255,.18); color: #fff; }

/* hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: transparent; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: all .35s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; height: 100svh; min-height: 640px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease;
}
.hero-slide.is-active { opacity: 1; animation: kenburns 7.5s ease forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,43,32,.55) 0%, rgba(5,43,32,.28) 40%, rgba(5,43,32,.62) 100%);
}

.hero-content { position: relative; z-index: 2; text-align: center; color: #fff; width: min(900px, 92%); padding-top: 40px; }
.hero-caption { display: none; }
.hero-caption.is-active { display: block; animation: heroIn 1s ease both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-family: var(--font-sans); line-height: 1.6;
  font-size: 13.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 22px;
  text-shadow: none;
}
.hero-title-main { display: block; }
.hero-eyebrow .line { width: 48px; height: 1px; background: var(--gold-light); opacity: .8; }
.hero-title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(38px, 6.4vw, 72px); line-height: 1.14;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  max-width: 640px; margin: 22px auto 0; font-size: clamp(15.5px, 1.6vw, 18px);
  font-weight: 300; color: rgba(255,255,255,.92); text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }

.hero-nav {
  position: absolute; bottom: 42px; right: max(5%, 100px); z-index: 3;
  display: flex; align-items: center; gap: 18px;
}
.hero-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.08);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  backdrop-filter: blur(4px); transition: all .3s;
}
.hero-arrow svg { width: 20px; height: 20px; }
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); }
.hero-dots { display: flex; gap: 10px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #fff; background: transparent; cursor: pointer; padding: 0; transition: all .3s; }
.hero-dot.active { background: var(--gold); border-color: var(--gold); transform: scale(1.25); }

.hero-scroll {
  position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 28px; height: 46px; border: 1.5px solid rgba(255,255,255,.65); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero-scroll span { width: 4px; height: 10px; border-radius: 4px; background: var(--gold-light); animation: scrollHint 1.8s infinite; }
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { background: linear-gradient(120deg, var(--green-900) 0%, var(--green-700) 60%, var(--green-600) 100%); padding: 58px 0; position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 10%, rgba(227,201,143,.14), transparent 55%);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.stat { text-align: center; color: #fff; padding: 6px 10px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.14); }
.stat-num { font-family: var(--font-serif); font-size: clamp(40px, 4.6vw, 58px); font-weight: 600; color: var(--gold-light); line-height: 1.1; }
.stat-unit { font-size: .55em; }
.stat-label { margin-top: 6px; font-size: 14.5px; color: rgba(255,255,255,.85); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { background: var(--cream); position: relative; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }

.about-media { position: relative; padding-bottom: 74px; }
.about-img-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.about-img-main img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about-img-sub {
  position: absolute; right: -6%; bottom: 0; width: 56%;
  border-radius: var(--radius); overflow: hidden;
  border: 6px solid var(--cream); box-shadow: var(--shadow-md);
}
.about-img-sub img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about-badge {
  position: absolute; left: 4%; bottom: 26px;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: #fff; border-radius: var(--radius);
  padding: 20px 24px; display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-md); max-width: 250px;
}
.badge-num { font-family: var(--font-serif); font-size: 44px; font-weight: 700; color: var(--gold-light); line-height: 1; }
.badge-label { font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.92); }

.about-body .btn { margin-top: 28px; }
.about-body p { margin-bottom: 8px; }

.check-list { margin-top: 16px; display: grid; gap: 11px; }
.check-list li { position: relative; padding-left: 32px; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.4-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.4-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z"/></svg>') center/contain no-repeat;
}

/* ==========================================================================
   LEGACY QUOTE BAND
   ========================================================================== */
.legacy { position: relative; padding: clamp(84px, 10vw, 130px) 0; overflow: hidden; }
.legacy-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; background-attachment: fixed; }
.legacy-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5,43,32,.9) 25%, rgba(5,43,32,.72) 100%); }
.legacy-inner { position: relative; z-index: 2; text-align: center; color: #fff; max-width: 860px; }
.legacy-mark { width: 54px; height: 54px; color: var(--gold); margin-bottom: 22px; opacity: .9; }
.legacy-quote {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(26px, 3.6vw, 42px); line-height: 1.32; color: #fff;
}
.legacy-quote::before { content: "\201C"; color: var(--gold-light); }
.legacy-quote::after { content: "\201D"; color: var(--gold-light); }
.legacy-sub { margin-top: 22px; color: rgba(255,255,255,.82); font-weight: 300; max-width: 720px; margin-inline: auto; }

/* ==========================================================================
   WHY
   ========================================================================== */
.why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  background: var(--cream); border-radius: var(--radius);
  padding: 38px 28px; text-align: center;
  border: 1px solid rgba(198,161,91,.16);
  transition: transform .4s ease, box-shadow .4s ease, background .4s ease;
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); background: #fff; }
.why-icon {
  width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: var(--gold-light);
  box-shadow: 0 10px 24px rgba(10,74,55,.25);
}
.why-icon svg { width: 34px; height: 34px; }
.why-card h3 { font-family: var(--font-serif); font-size: 20.5px; color: var(--green-900); margin-bottom: 10px; font-weight: 600; }
.why-card p { font-size: 14.8px; color: var(--muted); }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { background: var(--cream); }
.svc-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px);
  align-items: center; margin-bottom: clamp(56px, 7vw, 96px);
}
.svc-row:last-child { margin-bottom: 0; }
.svc-row-rev .svc-media { order: 2; }
.svc-row-rev .svc-body { order: 1; }

.svc-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.svc-media img { aspect-ratio: 7/5; object-fit: cover; width: 100%; transition: transform .8s ease; }
.svc-media:hover img { transform: scale(1.05); }
.svc-no {
  position: absolute; top: 18px; left: 18px;
  font-family: var(--font-serif); font-size: 15px; font-weight: 600; letter-spacing: .1em;
  color: var(--green-900); background: rgba(255,255,255,.92);
  padding: 8px 16px; border-radius: 999px;
}
.svc-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-dark); background: rgba(198,161,91,.12);
  border: 1px solid rgba(198,161,91,.35);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.svc-title { font-family: var(--font-serif); font-size: clamp(24px, 2.8vw, 34px); color: var(--green-900); font-weight: 600; line-height: 1.25; margin-bottom: 12px; }
.svc-desc { color: var(--muted); margin-bottom: 6px; }

/* ==========================================================================
   AMENITIES (dark)
   ========================================================================== */
.amenities { background: linear-gradient(160deg, var(--green-950) 0%, var(--green-800) 100%); position: relative; overflow: hidden; }
.amenities::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,201,143,.1), transparent 65%);
  top: -180px; right: -120px;
}
.amenities .eyebrow { color: var(--gold-light); }
.amenities .eyebrow::before, .amenities .section-head .eyebrow::after { background: var(--gold-light); }
.amenities .section-title { color: #fff; }
.amenities .section-sub { color: rgba(255,255,255,.75); }

.amen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.amen-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius); padding: 32px 24px;
  backdrop-filter: blur(6px);
  transition: transform .4s ease, background .4s ease, border-color .4s ease;
}
.amen-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); border-color: rgba(227,201,143,.45); }
.amen-icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: rgba(227,201,143,.14); color: var(--gold-light);
  border: 1px solid rgba(227,201,143,.3);
}
.amen-icon svg { width: 28px; height: 28px; }
.amen-card h3 { font-size: 17.5px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.amen-card p { font-size: 14px; color: rgba(255,255,255,.72); }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery { background: var(--white); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px; gap: 14px;
}
.g-item { position: relative; border-radius: 12px; overflow: hidden; display: block; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.g-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5,43,32,.55));
  opacity: 0; transition: opacity .4s;
}
.g-item:hover::after { opacity: 1; }
.g-item:hover img { transform: scale(1.07); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* ==========================================================================
   LOCATIONS
   ========================================================================== */
.locations { background: var(--cream); }
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.loc-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s ease, box-shadow .4s ease;
  display: flex; flex-direction: column;
}
.loc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.loc-media { overflow: hidden; }
.loc-media img { aspect-ratio: 16/10; object-fit: cover; width: 100%; transition: transform .7s ease; }
.loc-card:hover .loc-media img { transform: scale(1.06); }
.loc-body { padding: 24px 26px 28px; }
.loc-body h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--green-900); margin-bottom: 10px; }
.loc-addr { display: flex; gap: 10px; font-size: 14.5px; color: var(--muted); align-items: flex-start; }
.loc-addr svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--gold-dark); }

.loc-card-cta {
  background: linear-gradient(150deg, var(--green-800), var(--green-600));
  display: grid; place-items: center; text-align: center; color: #fff;
  min-height: 300px;
}
.loc-cta-inner { padding: 36px 30px; display: grid; gap: 14px; justify-items: center; }
.loc-cta-inner h3 { font-family: var(--font-serif); font-size: 23px; font-weight: 600; line-height: 1.3; }
.loc-cta-inner p { color: rgba(255,255,255,.82); font-size: 15px; }
.loc-cta-inner .btn { margin-top: 6px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--white); }
.faq-list { max-width: 880px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--cream);
  border: 1px solid rgba(198,161,91,.22);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .35s ease, border-color .35s ease;
}
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: rgba(198,161,91,.5); background: #fff; }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 62px 22px 26px;
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.9vw, 20px); font-weight: 600; line-height: 1.45;
  color: var(--green-900);
  transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-600); }
.faq-item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%;
  width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  transition: transform .35s ease;
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M11 5h2v14h-2z"/><path fill="black" d="M5 11h14v2H5z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M11 5h2v14h-2z"/><path fill="black" d="M5 11h14v2H5z"/></svg>') center/contain no-repeat;
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-answer { padding: 0 26px 24px; }
.faq-answer p { color: var(--muted); font-size: 16px; }
.faq-item[open] .faq-answer { animation: faqIn .4s ease both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { position: relative; padding: clamp(84px, 10vw, 140px) 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,43,32,.92) 0%, rgba(7,54,42,.72) 55%, rgba(7,54,42,.45) 100%); }
.cta-inner { position: relative; z-index: 2; color: #fff; }
.cta-title { font-family: var(--font-serif); font-size: clamp(30px, 4.4vw, 50px); font-weight: 600; line-height: 1.2; max-width: 700px; }
.cta-sub { margin: 18px 0 30px; color: rgba(255,255,255,.88); font-weight: 300; font-size: 17px; max-width: 560px; }
.cta-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--green-950); color: rgba(255,255,255,.78); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: clamp(32px, 4vw, 56px);
  padding: clamp(56px, 7vw, 84px) 0 48px;
}
.f-logo { height: 74px; width: auto; margin-bottom: 20px; }
.f-brand p { font-size: 14.5px; line-height: 1.75; }
.f-col h4 {
  font-family: var(--font-serif); color: #fff; font-size: 18px; font-weight: 600;
  margin-bottom: 20px; padding-bottom: 12px; position: relative;
}
.f-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--gold); }
.f-links { display: grid; gap: 11px; }
.f-links a { font-size: 14.5px; transition: color .3s, padding-left .3s; }
.f-links a:hover { color: var(--gold-light); padding-left: 5px; }
.f-contact { display: grid; gap: 15px; }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.f-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; color: var(--gold); }
.f-contact a:hover { color: var(--gold-light); }
.footer-bar { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bar a { color: var(--gold-light); }
.footer-bar a:hover { text-decoration: underline; }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 26, 19, .94);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: opacity .35s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 88vw; max-height: 84vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lb-close {
  position: absolute; top: 24px; right: 30px;
  background: transparent; border: 0; color: #fff; font-size: 44px; line-height: 1;
  cursor: pointer; opacity: .8; transition: opacity .3s;
}
.lb-close:hover { opacity: 1; }
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08);
  color: #fff; cursor: pointer; display: grid; place-items: center; transition: all .3s;
}
.lb-prev { left: 26px; } .lb-next { right: 26px; }
.lb-prev:hover, .lb-next:hover { background: var(--gold); border-color: var(--gold); }
.lb-prev svg, .lb-next svg { width: 22px; height: 22px; }

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
/* ==========================================================================
   NÚT LIÊN HỆ NHANH (Zalo) — tên class trung tính để không bị
   các phần mềm chặn quảng cáo ẩn nhầm
   ========================================================================== */
.nut-lien-he {
  position: fixed; right: 22px; bottom: 24px; z-index: 95;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(0, 104, 255, .4);
  transition: transform .3s ease, box-shadow .3s ease;
}
.nut-lien-he svg { width: 56px; height: 56px; display: block; }
.nut-lien-he:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0, 104, 255, .55); }
.nut-lien-he::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(0, 104, 255, .5);
  animation: nhipLienHe 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes nhipLienHe {
  0% { transform: scale(1); opacity: 1; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .nut-lien-he::before { animation: none; } }
.nut-lien-he-tip {
  position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%) translateX(8px);
  background: #fff; color: var(--ink);
  font-size: 13px; font-weight: 600; white-space: nowrap;
  padding: 9px 14px; border-radius: 999px;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.nut-lien-he:hover .nut-lien-he-tip { opacity: 1; visibility: visible; transform: translateY(-50%); }

.back-top {
  position: fixed; right: 26px; bottom: 94px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff;
  box-shadow: 0 10px 26px rgba(198,161,91,.45);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .4s ease;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top svg { width: 22px; height: 22px; }
.back-top:hover { transform: translateY(-3px); }

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal[data-delay="4"] { transition-delay: .48s; }
.reveal[data-delay="5"] { transition-delay: .6s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .btn-header { display: none; }

  .main-nav.open {
    display: flex; position: fixed; inset: var(--header-h) 0 auto;
    flex-direction: column; gap: 0;
    background: rgba(7,54,42,.98); backdrop-filter: blur(14px);
    padding: 18px 6%; box-shadow: 0 20px 40px rgba(0,0,0,.3);
  }
  .main-nav.open .nav-link { padding: 15px 0; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .amen-grid { grid-template-columns: repeat(2, 1fr); }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
  .stat:nth-child(3) { border-left: 0; }
}

@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .brand-logo { height: 48px; }
  .site-header.scrolled .brand-logo { height: 42px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .svc-row { grid-template-columns: 1fr; gap: 28px; }
  .svc-row-rev .svc-media { order: 0; }
  .svc-row-rev .svc-body { order: 1; }
  .legacy-bg { background-attachment: scroll; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .hero { min-height: 560px; }
  .hero-ctas .btn { width: 100%; }
  .hero-nav { right: 50%; transform: translateX(50%); bottom: 88px; display: none; }
  .why-grid, .amen-grid, .loc-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .g-wide, .g-tall { grid-column: auto; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat + .stat { border-left: 0; }
  .about-img-sub { right: 0; }
  .footer-bar-inner { justify-content: center; text-align: center; }
}
