/* =========================================================
   CCN Minh Tiến – Landing page
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face { font-family: "Beautique"; src: url("../fonts/BeautiqueDisplay-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Beautique"; src: url("../fonts/BeautiqueDisplay-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Beautique"; src: url("../fonts/BeautiqueDisplay-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "FzPhotograph"; src: url("../fonts/Fz-Photograph.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --brown-900: #1f1612;
  --brown-800: #2d1f17;
  --brown-700: #4a3020;
  --brown-600: #5b3b25;
  --brown-500: #6b4a32;
  --gold-700: #8f5f22;
  --gold-600: #a8783a;
  --gold-500: #c09253;
  --gold-300: #e9cd8b;
  --cream-100: #fdfbf6;
  --cream-200: #f8f1e4;
  --cream-300: #f2e6d3;
  --line: #e7dccb;
  --text: #4d4038;
  --muted: #7a6c61;
  --gold-gradient: linear-gradient(90deg, #8f5f22 0%, #c09253 30%, #e9cd8b 52%, #c09253 72%, #8f5f22 100%);
  --gold-text: linear-gradient(90deg, #a87430 0%, #cfa25a 35%, #eed596 55%, #c79a52 80%, #a87430 100%);
  --gold-text-light: linear-gradient(90deg, #dcb167 0%, #f1d896 40%, #fbeac0 58%, #e6c27c 100%);
  --radius: 18px;
  --shadow: 0 20px 45px -20px rgba(70, 45, 20, .35);
  --header-h: 86px;
  --font-head: "Beautique", "Times New Roman", serif;
  --font-script: "FzPhotograph", cursive;
  --font-body: "Montserrat", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { font-family: var(--font-body); color: var(--text); background: var(--cream-100); font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--gold-600); transition: color .2s; }
a:hover { color: var(--gold-700); text-decoration: none; }
h1, h2, h3 { margin: 0; }
p { margin-bottom: 1rem; }
/* Side gutters = 60% of Bootstrap default: width = 100vw - 0.6 * (100vw - default container) */
@media (min-width: 576px) { .container { max-width: calc(40vw + 324px); } }
@media (min-width: 768px) { .container { max-width: calc(40vw + 432px); } }
@media (min-width: 992px) { .container { max-width: calc(40vw + 576px); } }
@media (min-width: 1200px) { .container { max-width: min(calc(40vw + 720px), 1520px); } }

.hero .text-gold, .section-dark .text-gold { background: var(--gold-text-light); -webkit-background-clip: text; background-clip: text; }
.text-gold { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.text-gold-solid { color: var(--gold-500); }
.text-white-80 { color: rgba(255, 255, 255, .82); }
.text-body-muted { color: var(--muted); }
.max-w-600 { max-width: 600px; }
.max-w-640 { max-width: 640px; }
.max-w-820 { max-width: 820px; }

.bg-cream { background-color: var(--cream-200); background-image: repeating-radial-gradient(circle at 50% -10%, transparent 0 46px, rgba(176, 134, 72, .07) 46px 47px); }
.bg-light-cream { background: var(--cream-100); }

.section { position: relative; padding: 110px 0; }
.section-head { margin-bottom: 56px; }
.section-head .text-body-muted { margin-bottom: 0; }

.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; flex: none; }
.eyebrow-light { color: var(--gold-300); }

.section-title { font-family: var(--font-head); font-weight: 700; font-size: 54px; line-height: 1.12; color: var(--brown-600); letter-spacing: -.01em; margin-bottom: 22px; }
.section-title .script, .hero-title .script { font-family: var(--font-script); font-weight: 400; color: #c99d58; font-size: 1.2em; letter-spacing: 0; margin-right: .12em; line-height: 1; }
.section-dark .section-title .script { color: #f3dca0; }

.img-card { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
/* Left images in Overview & Infrastructure: taller to match the template (~5:4) */
.img-tall { aspect-ratio: 5 / 4; object-fit: cover; object-position: center; }

/* Each .ln is one line as in the template; kept on one line on desktop, wraps naturally on mobile */
.section-title .ln, .hero-title .ln { display: block; }
.br-m { display: none; }
@media (min-width: 1200px) { .section-title .ln, .hero-title .ln { white-space: nowrap; } }

/* ---------- Buttons ---------- */
.btn-gold, .btn-ghost, .btn-white { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; font-weight: 600; font-size: 15px; padding: 16px 30px; line-height: 1.2; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background-position .4s; white-space: nowrap; }
.btn-gold { background: linear-gradient(90deg, #9c6a2c, #c99a55 45%, #e7c886 70%, #c99a55); background-size: 200% 100%; color: #fff; box-shadow: 0 12px 24px -12px rgba(143, 95, 34, .8); }
.btn-gold:hover { color: #fff; background-position: 100% 0; transform: translateY(-2px); }
.btn-gold .arrow { transition: transform .2s; }
.btn-gold:hover .arrow { transform: translateX(4px); }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.btn-white { background: #fff; color: var(--brown-600); }
.btn-white:hover { color: var(--gold-700); transform: translateY(-2px); }
.btn-sm-gold { padding: 12px 24px; font-size: 14px; }
.btn-block-gold { width: 100%; padding: 17px 20px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; height: var(--header-h); display: flex; align-items: center; transition: background .3s, height .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(31, 22, 18, .94); backdrop-filter: blur(10px); height: 70px; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.brand { gap: 16px; }
.brand-xgroup { height: 40px; width: auto; }
.brand-hvg { height: 42px; width: auto; }
.brand-divider { width: 1px; height: 34px; background: rgba(255, 255, 255, .4); }
.main-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
/* Desktop: menu fills the space between logo and button, centered within it */
@media (min-width: 992px) {
  .site-header .main-nav { flex: 1 1 auto; display: flex; justify-content: center; margin: 0 24px !important; }
  .site-header .btn-gold { margin-left: 0 !important; }
}
.main-nav a { display: block; color: rgba(255, 255, 255, .88); font-size: 14.5px; font-weight: 500; padding: 8px 12px; position: relative; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-300); }
.main-nav ul a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--gold-300); transform: scaleX(0); transition: transform .25s; }
.main-nav ul a.active::after { transform: scaleX(1); }

.nav-toggle { width: 44px; height: 44px; margin-left: 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; }
.nav-toggle span { width: 18px; height: 1.5px; background: #fff; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; color: #fff; background: var(--brown-900); display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 13, 8, .88) 0%, rgba(20, 13, 8, .6) 45%, rgba(20, 13, 8, .1) 80%), linear-gradient(0deg, rgba(20, 13, 8, .9) 0%, rgba(20, 13, 8, 0) 35%), linear-gradient(180deg, rgba(20, 13, 8, .6) 0%, rgba(20, 13, 8, 0) 18%); }
.hero-inner { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 70px); }
.hero-title { font-family: var(--font-head); font-weight: 700; font-size: 70px; line-height: 1.04; letter-spacing: -.015em; margin-bottom: 30px; }
.hero-title .script { display: block; font-size: 55px; color: #f3dca0; margin-bottom: -6px; }
.hero-lead { font-size: 18px; line-height: 1.65; max-width: 660px; color: rgba(255, 255, 255, .95); margin-bottom: 18px; }
.hero-desc { font-size: 14.5px; line-height: 1.7; max-width: 660px; color: rgba(255, 255, 255, .72); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .15); }
.stat { padding: 26px 0 40px 0; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .15); padding-left: 24px; }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: 44px; line-height: 1.1; background: linear-gradient(90deg, #e2bb72 0%, #f6e3a8 45%, #fff1c8 60%, #ecc982 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .78); margin-top: 6px; }

/* ---------- Overview ---------- */
.overview-media { position: relative; margin-right: 20px; }
.overview-badge { position: absolute; right: -20px; bottom: -28px; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px; padding: 18px 24px; box-shadow: var(--shadow); }
.badge-num { font-family: var(--font-head); font-weight: 700; font-size: 54px; line-height: 1; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.badge-text { font-size: 13px; line-height: 1.45; color: var(--muted); }
.info-table { margin: 28px 0 36px; border-top: 1px solid var(--line); }
.info-table > div { display: flex; border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 15px; }
.info-table dt { flex: 0 0 34%; font-weight: 600; color: var(--brown-600); }
.info-table dd { margin: 0; color: var(--text); }
.mini-title { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brown-600); margin-bottom: 16px; }
.spec-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.spec-card { background: var(--cream-100); border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px 20px; }
.spec-num { font-family: var(--font-head); font-weight: 700; font-size: 38px; line-height: 1.1; color: var(--gold-600); }
.spec-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* ---------- Location ---------- */
.map-card { margin-bottom: 26px; }
.map-card img { width: 100%; height: auto; display: block; }
.map-card { position: relative; }
/* QR overlay on the map: white card so the full code (incl. quiet zone) is always visible */
.map-qr { display: block; position: absolute; right: 2.2%; bottom: 3.5%; width: clamp(120px, 13%, 180px); padding: 0 0 8px; background: #fff; border-radius: 12px; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35); overflow: hidden; text-align: center; }
.map-qr-label { display: block; padding: 6px 4px; margin-bottom: 6px; background: #f5c242; color: #3b2a1c; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; }
.map-card .map-qr img { width: calc(100% - 16px); height: auto; margin: 0 auto; }
.distance-row > div { margin-bottom: 24px; }
.distance-card { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 12px; }
.distance-title { font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); padding-bottom: 14px; border-bottom: 1px solid var(--line); line-height: 1.6; }
.distance-list { list-style: none; padding: 0; margin: 0; }
.distance-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); line-height: 1.5; }
.distance-list li:last-child { border-bottom: 0; }
.distance-list li { cursor: default; transition: color .25s; }
.distance-list b { font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--brown-600); white-space: nowrap; display: inline-block; transform-origin: right center; transition: transform .25s ease, color .25s ease; }
.distance-list li:hover { color: var(--text); }
.distance-list li:hover b { color: var(--gold-500); transform: scale(1.25); }

/* ---------- Dark sections ---------- */
.section-dark { color: #fff; background: var(--brown-900); overflow: hidden; }
.section-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.section-dark::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20, 13, 8, .9) 0%, rgba(20, 13, 8, .7) 55%, rgba(20, 13, 8, .45) 100%); }
.section-dark .container { z-index: 2; }
.minhson .swiper { margin-top: 56px; }
.glass-card { height: 100%; padding: 34px 30px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(233, 205, 139, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .3s, border-color .3s; }
.glass-card:hover { transform: translateY(-6px); border-color: rgba(233, 205, 139, .55); }
.glass-num { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--gold-300); }
.glass-card h3 { font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; margin: 18px 0 14px; color: #fff; }
.glass-card p { font-size: 14.5px; color: rgba(255, 255, 255, .78); margin: 0; }

/* ---------- Mobile swipers (grid on desktop) ---------- */
.js-mobile-swiper .swiper-pagination { position: static; margin-top: 22px; display: none; }
.js-mobile-swiper .swiper-pagination-bullet { background: var(--gold-500); opacity: .35; }
.js-mobile-swiper .swiper-pagination-bullet-active { opacity: 1; width: 22px; border-radius: 4px; }
@media (min-width: 768px) {
  .js-mobile-swiper { overflow: visible; }
  .js-mobile-swiper > .swiper-wrapper { display: flex; flex-wrap: wrap; transform: none !important; gap: 22px; }
  .glass-swiper .swiper-slide { width: calc((100% - 44px) / 3); height: auto; }
  .industry-swiper > .swiper-wrapper { justify-content: center; }
  .industry-swiper .swiper-slide { width: calc((100% - 66px) / 4); height: auto; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .glass-swiper .swiper-slide { width: 100%; }
  .industry-swiper .swiper-slide { width: calc((100% - 44px) / 3); }
}

/* ---------- Industries ---------- */
.industry-card { height: 100%; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--brown-600); box-shadow: var(--shadow); transition: transform .3s; }
.industry-card:hover { transform: translateY(-6px); }
.industry-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #fff; }
.industry-cap { flex: 1; display: flex; align-items: center; gap: 12px; padding: 18px 20px; min-height: 96px; background: linear-gradient(180deg, #6e4a2f 0%, #5b3b25 100%); }
.industry-cap span { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--gold-300); }
.industry-cap h3 { font-size: 14.5px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .02em; line-height: 1.4; }

/* ---------- Plan ---------- */
.plan-card { display: block; position: relative; background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 24px 24px 16px; overflow: hidden; }
.plan-map { position: relative; }
.plan-map img { width: 100%; display: block; }
.plan-zones { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan-zone { fill: rgba(233, 205, 139, 0); stroke: rgba(192, 146, 83, 0); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; cursor: pointer; transition: fill .25s, stroke .25s; outline: none; }
.plan-zone:hover, .plan-zone:focus { fill: rgba(233, 205, 139, .28); stroke: rgba(192, 146, 83, .9); }
.plan-zone.active { fill: rgba(192, 146, 83, .32); stroke: #a8783a; stroke-dasharray: none; }
.zone-chip { position: absolute; transform: translate(-50%, -50%); padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--gold-500); color: var(--brown-600); font-size: 12px; font-weight: 700; white-space: nowrap; cursor: pointer; box-shadow: 0 6px 14px -6px rgba(70, 45, 20, .45); transition: background .25s, color .25s; user-select: none; }
.zone-chip.active { background: var(--brown-600); border-color: var(--brown-600); color: #fff; }
.plan-hint { margin: 12px 0 0; padding-right: 110px; font-size: 13px; color: var(--muted); }
.zoom-hint { position: absolute; right: 20px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; background: var(--brown-600); color: #fff; font-size: 12.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.zoom-hint:hover { color: #fff; background: var(--gold-700); }
.zoom-hint svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.total-area { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 28px; border-radius: 16px; background: var(--gold-gradient); color: #fff; margin-bottom: 18px; }
.total-label { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.6; }
.total-num { font-family: var(--font-head); font-weight: 700; font-size: 40px; line-height: 1; white-space: nowrap; }
.lot-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.lot-tab { border: 1px solid var(--brown-500); background: #fff; color: var(--brown-600); border-radius: 14px; padding: 12px 10px; font-weight: 600; font-size: 14.5px; line-height: 1.4; cursor: pointer; transition: background .25s, color .25s; }
.lot-tab small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.lot-tab.active { background: var(--brown-600); color: #fff; border-color: var(--brown-600); }
.lot-tab.active small { color: var(--gold-300); }
.lot-tab:focus { outline: none; box-shadow: 0 0 0 3px rgba(192, 146, 83, .35); }
.lot-panel { display: none; animation: fadeIn .35s ease; }
.lot-panel.active { display: block; }
.lot-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.lot-table th { background: var(--cream-300); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brown-600); padding: 16px 18px; }
.lot-table th:first-child { border-top-left-radius: 14px; }
.lot-table th:last-child { border-top-right-radius: 14px; }
.lot-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.lot-table td:last-child { font-weight: 600; color: var(--brown-600); }
.lot-table tbody tr { transition: background .2s; }
.lot-table tbody tr:hover { background: var(--cream-200); }
.lot-table tfoot td { background: var(--cream-300); font-weight: 700; color: var(--brown-600); border: 0; }
.lot-table tfoot td:first-child { border-bottom-left-radius: 14px; }
.lot-table tfoot td:last-child { border-bottom-right-radius: 14px; }
.lot-note { font-size: 13.5px; color: var(--muted); margin-top: 18px; }
.lot-note a { font-weight: 600; }

/* ---------- Infrastructure ---------- */
.infra-list { list-style: none; padding: 0; margin: 26px 0 18px; }
.infra-list li { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin-bottom: 14px; font-size: 14.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--brown-600); line-height: 1.5; transition: transform .25s, box-shadow .25s; }
.infra-list li:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.icon-gold { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--gold-gradient); display: flex; align-items: center; justify-content: center; }
.icon-gold svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.handover { background: var(--cream-300); border-left: 3px solid var(--gold-600); border-radius: 0 12px 12px 0; padding: 16px 22px; font-size: 14.5px; }
.handover b { color: var(--brown-600); }

/* ---------- Benefits ---------- */
.card-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 8px; }
.tax-card { position: relative; overflow: hidden; height: 100%; background: linear-gradient(160deg, #5b3b25 0%, #3d281b 100%); color: #fff; border-radius: 20px; padding: 40px 34px; box-shadow: var(--shadow); }
.tax-card .card-eyebrow { color: var(--gold-300); }
.tax-title { font-family: var(--font-head); font-weight: 700; font-size: 40px; line-height: 1.15; margin-bottom: 10px; }
.tax-sub { color: rgba(255, 255, 255, .75); font-size: 14.5px; margin-bottom: 24px; }
.tax-row { position: relative; z-index: 1; display: flex; align-items: center; gap: 24px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 14px 20px; margin-bottom: 12px; font-size: 14.5px; }
.tax-year { flex: 0 0 96px; white-space: nowrap; font-family: var(--font-head); font-size: 32px; line-height: 1.1; color: var(--gold-300); }
.tax-bar { position: relative; z-index: 1; display: flex; gap: 0; height: 8px; border-radius: 8px; overflow: hidden; margin-top: 26px; }
.tax-bar span:nth-child(1) { background: #ecd08e; }
.tax-bar span:nth-child(2) { background: #c4964f; }
.tax-bar span:nth-child(3) { background: #8f5f22; }
.tax-bar-label { position: relative; z-index: 1; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255, 255, 255, .6); margin-top: 8px; }
.tax-bg-num { position: absolute; right: -10px; bottom: -70px; font-family: var(--font-head); font-size: 300px; line-height: 1; color: rgba(233, 205, 139, .08); pointer-events: none; }
.benefit-col { gap: 22px; }
.benefit-card { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 34px; transition: transform .25s, box-shadow .25s; }
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 30px; color: var(--brown-600); margin-bottom: 10px; line-height: 1.2; }
.benefit-card p:last-child { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Payment ---------- */
.line-title { display: flex; align-items: center; gap: 16px; font-size: 13.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brown-600); margin-bottom: 28px; }
.line-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; display: flex; gap: 24px; padding-bottom: 26px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 1px; background: var(--gold-500); }
.tl-num { flex: none; width: 63px; height: 63px; border-radius: 50%; border: 1px solid var(--gold-500); background: var(--cream-100); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 300; font-size: 24px; color: var(--brown-600); }
.tl-label { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); margin: 6px 0 4px; }
.tl-text { font-size: 15px; color: var(--text); margin: 0; }
.tl-text b { font-family: var(--font-head); font-weight: 300; font-size: 24px; color: var(--brown-600); }
.promo-card { display: flex; align-items: flex-start; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-bottom: 14px; transition: transform .25s, box-shadow .25s; }
.promo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.promo-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--cream-300); display: flex; align-items: center; justify-content: center; }
.promo-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-700); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.promo-card h3 { font-size: 16px; font-weight: 700; color: var(--brown-600); margin-bottom: 6px; }
.promo-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }
.fee-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 20px; margin-top: 70px; overflow: hidden; }
.fee { padding: 30px 26px; }
.fee + .fee { border-left: 1px solid var(--line); }
.fee-label { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; line-height: 1.6; }
.fee-num { font-family: var(--font-head); font-weight: 700; font-size: 34px; line-height: 1.15; color: var(--brown-600); margin-bottom: 4px; }
.fee-unit { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- Legal ---------- */
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.legal-item { display: flex; gap: 26px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.legal-num { flex: 0 0 44px; font-family: var(--font-head); font-weight: 300; font-size: 34px; line-height: 1; color: var(--gold-500); }
.legal-item p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.legal-item b { color: var(--brown-600); font-weight: 600; }
.cta-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 44px; padding: 32px 36px; border-radius: 20px; background: var(--gold-gradient); color: #fff; }
.cta-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin: 0; }
.cta-title { font-family: var(--font-head); font-weight: 700; font-size: 44px; line-height: 1.1; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-swiper a { display: block; height: 100%; border-radius: 16px; overflow: hidden; }
.gallery-swiper img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.gallery-swiper a:hover img { transform: scale(1.06); }
@media (min-width: 768px) {
  .gallery-swiper > .gallery-grid { display: grid !important; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; }
  .gallery-swiper .swiper-slide { width: auto !important; height: auto; }
  .gallery-swiper .g-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
  .gallery-swiper .g-wide { grid-column: span 2; }
}
@media (min-width: 1200px) { .gallery-swiper > .gallery-grid { grid-auto-rows: 214px; } }

/* ---------- Register ---------- */
.register .section-title { font-size: 46px; }
.register::before { background: linear-gradient(90deg, rgba(20, 13, 8, .88) 0%, rgba(20, 13, 8, .7) 55%, rgba(20, 13, 8, .35) 100%); }
.hotline-box { display: inline-flex; flex-direction: column; padding: 20px 26px; min-width: 300px; margin: 18px 0 30px; border-radius: 14px; border: 1px solid rgba(233, 205, 139, .35); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); color: rgba(255, 255, 255, .8); font-size: 13.5px; }
.hotline-box b { font-family: var(--font-head); font-weight: 700; font-size: 34px; color: var(--gold-300); line-height: 1.2; }
.hotline-box:hover { color: #fff; border-color: var(--gold-300); }
.dev-info { display: flex; gap: 14px; }
.dev-info svg { flex: none; width: 20px; height: 20px; margin-top: 3px; fill: none; stroke: var(--gold-300); stroke-width: 1.6; }
.dev-label { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); margin: 0; }
.dev-name { font-weight: 700; margin: 2px 0; text-transform: uppercase; }
.dev-addr { color: rgba(255, 255, 255, .8); font-size: 14.5px; margin: 0; }

.lead-form { background: var(--cream-100); color: var(--text); border-radius: 22px; padding: 36px 34px 28px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }
.form-title { font-family: var(--font-head); font-weight: 700; font-size: 31px; color: var(--brown-600); line-height: 1.2; }
.form-sub { font-size: 15px; margin-bottom: 18px; }
.lead-form label { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brown-600); margin-bottom: 6px; }
.lead-form .form-group { margin-bottom: 16px; }
.lead-form .form-control, .lead-form .custom-select { height: 50px; border-radius: 10px; border: 1px solid #ded3c3; background-color: #fff; font-size: 15px; color: var(--text); padding: 10px 16px; transition: border-color .2s, box-shadow .2s; }
.lead-form textarea.form-control { height: auto; min-height: 66px; resize: vertical; }
.lead-form .form-control::placeholder { color: #a99b8f; }
.lead-form .form-control:focus, .lead-form .custom-select:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(192, 146, 83, .2); }
.lead-form .form-control.is-invalid { border-color: #c0392b; background-image: none; padding-right: 16px; }
.lead-form .form-control.is-invalid:focus { box-shadow: 0 0 0 3px rgba(192, 57, 43, .15); }
.lead-form .invalid-feedback { font-size: 12.5px; color: #c0392b; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { font-size: 14px; color: #a2301f; background: #fbe9e6; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; }
.lead-form .btn-gold { margin-top: 6px; }
.btn-loading { display: none; align-items: center; gap: 10px; }
.is-loading .btn-text { display: none; }
.is-loading .btn-loading { display: inline-flex; }
.is-loading { pointer-events: none; opacity: .85; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.form-foot { text-align: center; font-size: 13.5px; color: var(--muted); margin: 16px 0 0; }
.form-foot a { font-weight: 700; }

/* ---------- Thanks modal ---------- */
.thanks-modal { border: 0; border-radius: 22px; padding: 44px 34px 34px; text-align: center; background: var(--cream-100); }
.thanks-modal .close { position: absolute; right: 18px; top: 12px; font-size: 30px; font-weight: 300; }
.thanks-icon { width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%; background: var(--gold-gradient); display: flex; align-items: center; justify-content: center; }
.thanks-icon svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.thanks-modal h3 { font-family: var(--font-head); font-weight: 700; font-size: 32px; color: var(--brown-600); margin-bottom: 12px; }
.thanks-modal p { color: var(--muted); }
.thanks-modal .small-muted { font-size: 14px; }
.thanks-modal .btn-gold { min-width: 160px; margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-900); color: rgba(255, 255, 255, .72); padding: 70px 0 26px; font-size: 14.5px; }
.site-footer p { line-height: 1.8; }
.footer-title { font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; line-height: 1.6; }
.footer-links a { color: rgba(255, 255, 255, .72); }
.footer-links a:hover { color: var(--gold-300); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; margin-top: 20px; font-size: 13px; color: rgba(255, 255, 255, .55); }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1199.98px) {
  .hero-title { font-size: 62px; }
  .section-title { font-size: 46px; }
  .main-nav a { padding: 8px 9px; font-size: 14px; }
}

@media (max-width: 991.98px) {
  :root { --header-h: 70px; }
  .site-header { background: rgba(31, 22, 18, .9); backdrop-filter: blur(10px); height: 70px; }
  .brand-xgroup { height: 32px; }
  .brand-hvg { height: 34px; }
  .main-nav { position: fixed; top: 70px; left: 0; right: 0; height: calc(100vh - 70px); height: calc(100dvh - 70px); background: rgba(31, 22, 18, .98); padding: 24px 24px 40px; transform: translateX(100%); transition: transform .35s ease; overflow-y: auto; margin: 0 !important; }
  .nav-open .main-nav { transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { font-size: 16px; padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .main-nav ul a::after { display: none; }
  .nav-hotline { display: block; margin-top: 26px; text-align: center; padding: 14px; border-radius: 999px; border: 1px solid var(--gold-300); color: var(--gold-300) !important; font-weight: 600; }
  body.nav-open { overflow: hidden; }

  .section { padding: 80px 0; }
  .hero-title { font-size: 52px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .15); }
  .stat { padding: 20px 0 22px; }
  .overview-media { margin: 40px 0 30px; }
  .overview-badge { right: 16px; }
  .fee-grid { grid-template-columns: 1fr 1fr; }
  .fee:nth-child(3) { border-left: 0; }
  .fee:nth-child(n+3) { border-top: 1px solid var(--line); }
  .legal-grid { column-gap: 32px; }
  .tax-bg-num { font-size: 220px; }
}

@media (max-width: 767.98px) {
  body { font-size: 14.5px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .section-title, .register .section-title { font-size: var(--tm); text-wrap: balance; }
  .section-title br { display: none; }
  .section-title .ln { display: inline; }
  .section-title br.br-m { display: inline; }
  .section-title .script { font-size: 46px; }
  .eyebrow { font-size: 11px; letter-spacing: .18em; }
  .eyebrow::before { width: 24px; }

  .hero { min-height: auto; }
  .hero-inner { padding-top: 120px; }
  .hero-title { font-size: var(--th); margin-bottom: 20px; }
  .hero-title .ln { white-space: nowrap; }
  .hero-title .script { font-size: 46px; margin-bottom: 4px; }
  .hero-lead { font-size: 16px; }
  .hero-desc { font-size: 13.5px; }
  .hero-actions { margin-bottom: 36px; }
  .hero-actions a { flex: 1 1 100%; }
  .hero::after { background: linear-gradient(180deg, rgba(20, 13, 8, .55) 0%, rgba(20, 13, 8, .75) 40%, rgba(20, 13, 8, .95) 100%); }
  .stat-num { font-size: 32px; }
  .stat-label { font-size: 11px; }
  .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { padding-left: 0; }

  .info-table > div { flex-direction: column; padding: 12px 0; }
  .info-table dt { flex: none; }
  .spec-cards { gap: 10px; }
  .spec-card { padding: 14px 12px; }
  .spec-num { font-size: 30px; }
  .spec-label { font-size: 10.5px; }
  .overview-badge { right: 12px; bottom: -22px; padding: 12px 16px; }
  .badge-num { font-size: 40px; }
  .badge-text { font-size: 12px; }

  .distance-card { padding: 22px 20px 6px; }
  .distance-list b { font-size: 22px; }

  .js-mobile-swiper { overflow: hidden; padding-bottom: 4px; }
  .js-mobile-swiper .swiper-pagination { display: block; }
  .js-mobile-swiper .swiper-slide { height: auto; }
  .minhson .swiper { margin-top: 36px; }
  .industry-cap { min-height: 84px; }

  .plan-card { padding: 12px 12px 14px; border-radius: 16px; }
  .zone-chip { font-size: 10.5px; padding: 3px 8px; }
  .plan-hint { font-size: 12px; padding-right: 0; margin-bottom: 40px; }
  .zoom-hint { right: 12px; bottom: 12px; }
  .total-area { padding: 20px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .total-num { font-size: 34px; }
  .lot-tab { font-size: 13px; padding: 10px 6px; }
  .lot-table { font-size: 13.5px; }
  .lot-table th, .lot-table td { padding: 12px 10px; }
  .lot-table th { font-size: 10.5px; letter-spacing: .08em; }

  .infra-list li { font-size: 13px; padding: 16px; gap: 14px; }
  .icon-gold { width: 42px; height: 42px; }

  .tax-card { padding: 30px 20px; }
  .tax-title { font-size: 32px; }
  .tax-row { gap: 14px; padding: 12px 14px; font-size: 13.5px; }
  .tax-year { flex-basis: 74px; font-size: 26px; }
  .benefit-card { padding: 24px 22px; }
  .benefit-card h3 { font-size: 25px; }

  .tl-num { width: 52px; height: 52px; font-size: 20px; }
  .timeline li { gap: 16px; }
  .timeline li:not(:last-child)::before { left: 26px; top: 53px; }
  .tl-label { font-size: 11px; letter-spacing: .1em; }
  .tl-text b { font-size: 21px; }
  .promo-card { padding: 18px; gap: 14px; }
  .fee-grid { margin-top: 44px; }
  .fee { padding: 20px 16px; }
  .fee-label { font-size: 10.5px; letter-spacing: .08em; }
  .fee-num { font-size: 25px; }
  .fee-unit { font-size: 12px; }

  .legal-grid { grid-template-columns: 1fr; }
  .legal-item { gap: 16px; padding: 18px 0; }
  .legal-num { flex-basis: 36px; font-size: 28px; }
  .cta-banner { padding: 26px 22px; }
  .cta-title { font-size: 34px; }
  .cta-banner .btn-white { width: 100%; }

  .gallery-swiper .swiper-slide { aspect-ratio: 4 / 3; }

  .hotline-box { min-width: 0; width: 100%; }
  .lead-form { padding: 28px 20px 22px; border-radius: 18px; }
  .form-title { font-size: 28px; }
  .site-footer { padding-top: 54px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 575.98px) { .nav-toggle { margin-left: auto; } }

@media (max-width: 400px) {
  .brand { gap: 10px; }
  .brand-xgroup { height: 28px; }
  .brand-hvg { height: 30px; }
}

/* Mobile type scale: --th = hero title size, --tm = section title size (sized so each requested title line fits).
   Large text inside sections never exceeds the section title; hero stats never exceed the hero title. */
@media (max-width: 767.98px) {
  :root {
    --th: min(38px, calc((100vw - 30px) * .087));
    --tm: min(29px, calc((100vw - 30px) / 16.3));
  }
  .stat-num { font-size: min(32px, calc(var(--th) * .9)); }
  .badge-num { font-size: min(40px, var(--tm)); }
  .spec-num { font-size: min(30px, calc(var(--tm) * .92)); }
  .total-num { font-size: min(34px, calc(var(--tm) * .92)); }
  .tax-title { font-size: min(32px, calc(var(--tm) * .92)); }
  .tax-year { font-size: min(26px, calc(var(--tm) * .85)); }
  .benefit-card h3 { font-size: min(25px, calc(var(--tm) * .85)); }
  .fee-num { font-size: var(--tm); }
  .legal-num { font-size: min(28px, calc(var(--tm) * .85)); }
  .cta-title { font-size: min(34px, calc(var(--tm) * .92)); }
  .hotline-box b { font-size: calc(var(--tm) * .92 * 1.5); }
  .form-title { font-size: min(28px, calc(var(--tm) * .92)); }
  .distance-list b { font-size: min(22px, calc(var(--tm) * .85)); }
  .tl-text b { font-size: min(21px, calc(var(--tm) * .85)); }

  /* Tighter vertical rhythm on mobile */
  .section { padding: 46px 0; }
  .section-head { margin-bottom: 26px; }

  /* Compact lead form on mobile */
  .lead-form { padding: 22px 16px 18px; }
  .form-sub { font-size: 14px; margin-bottom: 12px; }
  .lead-form label { font-size: 11px; letter-spacing: .1em; margin-bottom: 4px; }
  .lead-form .form-group { margin-bottom: 10px; }
  .lead-form .form-control, .lead-form .custom-select { height: 42px; padding: 6px 12px; font-size: 16px; border-radius: 8px; }
  .lead-form textarea.form-control { min-height: 56px; }
  .lead-form .custom-select { padding-right: 32px; }
  .form-foot { margin-top: 12px; }

  /* Fee cards: label on top, value + unit pinned together at the bottom so values line up across a row */
  .fee { display: flex; flex-direction: column; }
  .fee-label { flex: 1 0 auto; }
  .fee-num { line-height: 1.05; margin-bottom: 0; }
  .fee-unit { margin-top: 3px; line-height: 1.35; }

  /* Location cards: tighter padding so each label stays on one line */
  .distance-row > [class*="col-"] { padding-left: 15px; padding-right: 15px; }
  .distance-card { padding: 16px 12px 4px; }
  .distance-title { font-size: 12.5px; letter-spacing: .08em; padding-bottom: 10px; white-space: nowrap; }
  .distance-list li { gap: 12px; padding: 11px 0; font-size: 13px; }
  .distance-list li span { flex: 1 1 auto; min-width: 0; }
  .distance-list b { flex: 0 0 4.2em; text-align: right; }

  /* QR moves below the map on mobile so it does not cover the map */
  .map-qr { position: static; width: 170px; margin: 16px auto 0; }
}
