/* ==========================================================================
   Cẩm nang du lịch Nha Trang — chuyên mục của Gỏi Cá Mai Cô Hằng
   Design tokens bám theo design system goicamaicohang.com
   ========================================================================== */

:root {
	--c-cream: #faf9f6;
	--c-cream-warm: #f7f1e3;
	--c-mint-wash: #ecf4ee;
	--c-green: #0b5d3f;
	--c-green-deep: #0b4a34;
	--c-green-leaf: #0d6e17;
	--c-red: #b64a34;
	--c-red-bright: #d84f35;
	--c-red-grad-a: #a13a26;
	--c-red-grad-b: #c75b40;
	--c-gold: #e9b949;
	--c-brown-text: rgba(123, 79, 57, .82);
	--c-cream-text: #fff8e7;

	--font-serif: 'Source Serif 4', Georgia, serif;
	--font-sans: 'Be Vietnam Pro', -apple-system, 'Segoe UI', sans-serif;

	--container: 1160px;
	--radius: 18px;
	--shadow-card: 0 10px 30px rgba(11, 74, 52, .08);
	--shadow-card-hover: 0 18px 44px rgba(11, 74, 52, .16);
}

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

html { scroll-behavior: smooth; }

body {
	font-family: var(--font-sans);
	background: var(--c-cream);
	color: var(--c-brown-text);
	font-size: 16.5px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, .serif { font-family: var(--font-serif); color: var(--c-green); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* ------------------------------------------------------------ header/nav */

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(250, 249, 246, .92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(11, 93, 63, .1);
}

.site-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 18px; padding: 14px 22px;
	max-width: var(--container); margin: 0 auto;
}

.site-brand { display: flex; flex-direction: column; line-height: 1.25; }
.site-brand__top { font-family: var(--font-serif); font-weight: 800; font-size: 19px; color: var(--c-green); }
.site-brand__top em { color: var(--c-red); font-style: normal; }
.site-brand__sub { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-red); font-weight: 600; }

.site-nav { display: flex; gap: 26px; align-items: center; }
.site-nav a { font-weight: 600; font-size: 14.5px; color: var(--c-green); position: relative; }
.site-nav a:hover { color: var(--c-red); }
.site-nav a.is-cta {
	background: var(--c-green-leaf); color: #fff;
	padding: 9px 18px; border-radius: 99px; font-size: 13.5px;
	transition: background .2s;
}
.site-nav a.is-cta:hover { background: var(--c-green); color: #fff; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--c-green); margin: 5px 0; border-radius: 2px; transition: .25s; }

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: flex-start; gap: 0;
		background: var(--c-cream); border-bottom: 1px solid rgba(11, 93, 63, .12);
		max-height: 0; overflow: hidden; transition: max-height .3s ease;
	}
	.site-nav.is-open { max-height: 360px; }
	.site-nav a { padding: 13px 24px; width: 100%; border-top: 1px solid rgba(11, 93, 63, .07); }
	.site-nav a.is-cta { border-radius: 0; background: var(--c-green-deep); }
}

/* ----------------------------------------------------------------- hero */

.hero {
	background: linear-gradient(180deg, var(--c-mint-wash) 0%, var(--c-cream) 100%);
	padding: 76px 0 60px;
	text-align: center;
	position: relative; overflow: hidden;
}
.hero__eyebrow {
	display: inline-block; font-size: 12.5px; font-weight: 700;
	letter-spacing: .22em; text-transform: uppercase; color: var(--c-red);
	margin-bottom: 18px;
}
.hero h1 {
	font-size: clamp(40px, 7.4vw, 84px);
	font-weight: 800; line-height: 1.04; letter-spacing: -.01em;
	margin-bottom: 22px;
}
.hero h1 .grad {
	background: linear-gradient(120deg, var(--c-red-grad-a), var(--c-red-grad-b));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { max-width: 640px; margin: 0 auto 34px; font-size: 18px; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
	display: inline-block; font-weight: 700; font-size: 15px;
	padding: 14px 30px; border-radius: 99px;
	transition: transform .18s, box-shadow .18s, background .18s;
}
.btn--primary { background: var(--c-green-leaf); color: #fff; box-shadow: 0 8px 22px rgba(13, 110, 23, .25); }
.btn--primary:hover { background: var(--c-green); transform: translateY(-2px); }
.btn--ghost { border: 2px solid rgba(11, 93, 63, .3); color: var(--c-green); }
.btn--ghost:hover { border-color: var(--c-green); background: rgba(11, 93, 63, .05); }
.btn--gold { background: var(--c-gold); color: var(--c-green-deep); box-shadow: 0 8px 22px rgba(233, 185, 73, .35); }
.btn--gold:hover { transform: translateY(-2px); }

/* ------------------------------------------------------- chapter marker */

.section { padding: 74px 0; }
.section--warm { background: var(--c-cream-warm); }
.section--deep { background: var(--c-green-deep); }
.section--deep h2, .section--deep h3 { color: var(--c-cream-text); }
.section--deep p { color: rgba(255, 248, 231, .78); }

.chapter { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.chapter__roman {
	font-family: var(--font-serif); font-weight: 800; font-size: 15px;
	color: var(--c-gold); letter-spacing: .3em;
}
.chapter__eyebrow {
	font-size: 12.5px; font-weight: 700; letter-spacing: .2em;
	text-transform: uppercase; color: var(--c-red); margin: 6px 0 12px;
}
.section--deep .chapter__eyebrow { color: var(--c-gold); }
.chapter h2 { font-size: clamp(30px, 5.2vw, 52px); font-weight: 800; line-height: 1.1; margin-bottom: 16px; }

/* ------------------------------------------------------------ card grid */

.card-grid {
	display: grid; gap: 26px;
	grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

.place-card {
	background: #fff; border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow-card);
	transition: transform .22s, box-shadow .22s;
	display: flex; flex-direction: column;
	position: relative;
}
.place-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.place-card__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.place-card__body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.place-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 7px; }
.place-card p { font-size: 14.5px; line-height: 1.6; flex: 1; }
.place-card__meta { margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--c-green); display: flex; gap: 12px; flex-wrap: wrap; }
.place-card__badge {
	position: absolute; top: 14px; left: 14px;
	background: var(--c-red-bright); color: #fff;
	font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
	padding: 6px 13px; border-radius: 99px;
	box-shadow: 0 4px 14px rgba(216, 79, 53, .4);
}

/* ------------------------------------------------------------ tag pills */
/* 3 nhóm màu: exp = loại trải nghiệm, time = thời điểm vàng, perk = điểm đáng tiền */

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
	display: inline-block; font-size: 11.5px; font-weight: 700;
	letter-spacing: .03em; padding: 4px 11px; border-radius: 99px;
	line-height: 1.5; white-space: nowrap;
}
.tag--exp  { background: rgba(11, 93, 63, .1); color: var(--c-green); }
.tag--time { background: rgba(233, 185, 73, .22); color: #8a6710; }
.tag--perk { background: rgba(182, 74, 52, .1); color: var(--c-red); }

/* Trên card trang chủ: pill nằm hẳn trong ảnh, góc dưới trái, nền kính mờ */
.place-card__media { position: relative; }
.place-card__media::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
	background: linear-gradient(180deg, transparent, rgba(11, 74, 52, .45));
	pointer-events: none;
}
.place-card__tags {
	position: absolute; left: 12px; right: 12px; bottom: 11px; z-index: 2;
}
.place-card__tags .tag {
	background: rgba(250, 249, 246, .9);
	backdrop-filter: blur(5px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.place-card__tags .tag--exp  { color: var(--c-green); }
.place-card__tags .tag--time { color: #8a6710; }
.place-card__tags .tag--perk { color: var(--c-red); }

/* Trên hero trang profile (nền ảnh tối) */
.place-hero__tags { margin-top: 16px; }
.place-hero__tags .tag {
	background: rgba(255, 248, 231, .16); color: var(--c-cream-text);
	border: 1px solid rgba(255, 248, 231, .35);
	backdrop-filter: blur(6px);
}
.place-hero__tags .tag--time { border-color: rgba(233, 185, 73, .65); color: var(--c-gold); }

/* Card "sắp cập nhật" (nhóm tour đảo sẽ bổ sung dần) */
.place-card--soon { cursor: default; }
.place-card--soon:hover { transform: none; box-shadow: var(--shadow-card); }
.place-card__media--soon {
	aspect-ratio: 16 / 10;
	display: flex; align-items: center; justify-content: center;
	background:
		repeating-linear-gradient(-45deg, rgba(11, 93, 63, .05) 0 14px, transparent 14px 28px),
		var(--c-mint-wash);
}
.place-card__media--soon span {
	font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
	color: var(--c-green); border: 1.5px dashed rgba(11, 93, 63, .4);
	padding: 8px 18px; border-radius: 99px; background: rgba(250, 249, 246, .8);
}
.place-card--soon h3 { color: rgba(11, 93, 63, .65); }
.place-card__media--soon::after { display: none; }

/* ------------------------------------------------------ itinerary cards */

.iti-group { margin-bottom: 44px; }
.iti-group__title {
	font-family: var(--font-serif); font-weight: 800; font-size: 24px;
	color: var(--c-cream-text); margin-bottom: 6px;
}
.iti-group__sub { font-size: 14px; color: rgba(255, 248, 231, .65); margin-bottom: 20px; }

.iti-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1080px) { .iti-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .iti-grid { grid-template-columns: repeat(2, 1fr); } }

.iti-card {
	background: rgba(255, 248, 231, .07);
	border: 1px solid rgba(233, 185, 73, .25);
	border-radius: 14px; padding: 20px 18px;
	text-align: center; transition: background .2s, transform .2s, border-color .2s;
}
.iti-card:hover { background: rgba(233, 185, 73, .14); transform: translateY(-4px); border-color: var(--c-gold); }
.iti-card__days { font-family: var(--font-serif); font-weight: 800; font-size: 34px; color: var(--c-gold); line-height: 1; }
.iti-card__label { font-size: 13px; font-weight: 600; color: var(--c-cream-text); margin-top: 6px; }
.iti-card__hint { font-size: 11.5px; color: rgba(255, 248, 231, .55); margin-top: 3px; }

/* -------------------------------------------------------- place profile */

.place-hero { position: relative; min-height: 440px; display: flex; align-items: flex-end; overflow: hidden; }
.place-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.place-hero::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(11, 74, 52, 0) 30%, rgba(11, 74, 52, .82) 100%);
}
.place-hero__content { position: relative; z-index: 2; padding: 60px 0 44px; width: 100%; }
.place-hero__cat {
	display: inline-block; background: var(--c-gold); color: var(--c-green-deep);
	font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	padding: 6px 15px; border-radius: 99px; margin-bottom: 16px;
}
.place-hero__cat--featured { background: var(--c-red-bright); color: #fff; }
.place-hero h1 { color: #fff; font-size: clamp(34px, 5.6vw, 62px); font-weight: 800; line-height: 1.06; margin-bottom: 10px; }
.place-hero__tagline { color: rgba(255, 248, 231, .92); font-size: 18px; max-width: 640px; }

.place-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 880px) { .place-layout { grid-template-columns: 1fr; } }

.place-desc p { margin-bottom: 18px; font-size: 17px; }

.info-box {
	background: #fff; border-radius: var(--radius); padding: 26px 26px 22px;
	box-shadow: var(--shadow-card); position: sticky; top: 90px;
}
.info-box h3 { font-size: 17px; font-weight: 800; margin-bottom: 16px; letter-spacing: .02em; }
.info-box dl { display: grid; gap: 13px; }
.info-box dt { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-red); }
.info-box dd { font-size: 15px; color: var(--c-green-deep); font-weight: 500; margin-top: 2px; }
.info-box .btn { width: 100%; text-align: center; margin-top: 18px; }

.why-list { display: grid; gap: 12px; margin-top: 8px; }
.why-list li {
	background: #fff; border-left: 4px solid var(--c-gold);
	border-radius: 10px; padding: 14px 18px;
	font-size: 15px; color: var(--c-green-deep); font-weight: 500;
	box-shadow: 0 4px 14px rgba(11, 74, 52, .05);
}

.tip-box {
	background: var(--c-green-deep); color: var(--c-cream-text);
	border-radius: var(--radius); padding: 24px 28px; margin-top: 34px;
	position: relative;
}
.tip-box::before {
	content: 'MẸO ĐỊA PHƯƠNG'; display: block;
	font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--c-gold);
	margin-bottom: 8px;
}
.tip-box p { color: rgba(255, 248, 231, .9); font-size: 15.5px; }

.subheading {
	font-family: var(--font-serif); font-weight: 800; font-size: 26px;
	color: var(--c-green); margin: 44px 0 18px;
}

/* mini cards (nearby / itinerary links) */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 720px) { .mini-grid { grid-template-columns: 1fr; } }
.mini-card {
	display: flex; gap: 14px; align-items: center;
	background: #fff; border-radius: 14px; padding: 12px;
	box-shadow: var(--shadow-card); transition: transform .2s, box-shadow .2s;
}
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.mini-card img { width: 74px; height: 74px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.mini-card__name { font-weight: 700; font-size: 15px; color: var(--c-green); line-height: 1.3; }
.mini-card__cat { font-size: 12px; color: var(--c-red); font-weight: 600; margin-top: 3px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
	background: #fff; border: 1.5px solid rgba(11, 93, 63, .18);
	border-radius: 99px; padding: 8px 18px;
	font-size: 13.5px; font-weight: 600; color: var(--c-green);
	transition: border-color .2s, background .2s;
}
.chip:hover { border-color: var(--c-red); color: var(--c-red); background: rgba(182, 74, 52, .05); }

/* ------------------------------------------------------ itinerary page */

.iti-hero {
	background: linear-gradient(160deg, var(--c-green-deep) 0%, var(--c-green) 100%);
	padding: 66px 0 54px; color: var(--c-cream-text);
	position: relative; overflow: hidden;
}
.iti-hero::after {
	content: ''; position: absolute; right: -120px; top: -120px;
	width: 380px; height: 380px; border-radius: 50%;
	background: radial-gradient(circle, rgba(233, 185, 73, .22), transparent 70%);
}
.iti-hero__eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--c-gold); margin-bottom: 14px; }
.iti-hero h1 { color: #fff; font-size: clamp(32px, 5.4vw, 58px); font-weight: 800; line-height: 1.08; margin-bottom: 16px; }
.iti-hero p { max-width: 680px; color: rgba(255, 248, 231, .85); font-size: 17px; }

.iti-facts { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 30px; }
.iti-fact__num { font-family: var(--font-serif); font-weight: 800; font-size: 30px; color: var(--c-gold); line-height: 1.1; }
.iti-fact__label { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 248, 231, .65); font-weight: 600; }

/* switcher pills */
.switcher { margin: 26px 0 0; display: flex; flex-direction: column; gap: 10px; }
.switcher__label { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 248, 231, .6); }
.switcher__row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
	border: 1.5px solid rgba(255, 248, 231, .3); color: var(--c-cream-text);
	border-radius: 99px; padding: 7px 17px; font-size: 13.5px; font-weight: 600;
	transition: background .2s, border-color .2s;
}
.pill:hover { border-color: var(--c-gold); }
.pill.is-active { background: var(--c-gold); color: var(--c-green-deep); border-color: var(--c-gold); }

/* timeline */
.day-block { margin-bottom: 54px; }
.day-block__header { display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.day-block__num {
	font-family: var(--font-serif); font-weight: 800; font-size: 15px;
	color: var(--c-gold); letter-spacing: .24em; text-transform: uppercase;
}
.day-block h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; }
.day-block__sub { font-size: 15px; margin-bottom: 26px; }

.timeline { position: relative; padding-left: 30px; }
.timeline::before {
	content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px;
	width: 2px; background: linear-gradient(180deg, var(--c-gold), rgba(11, 93, 63, .25));
}
.tl-item { position: relative; margin-bottom: 22px; }
.tl-item::before {
	content: ''; position: absolute; left: -28px; top: 22px;
	width: 14px; height: 14px; border-radius: 50%;
	background: var(--c-cream); border: 3.5px solid var(--c-red-bright);
}
.tl-card {
	background: #fff; border-radius: 14px; padding: 18px 22px;
	box-shadow: var(--shadow-card);
	display: flex; gap: 18px; align-items: center;
	transition: transform .2s, box-shadow .2s;
}
a.tl-card:hover { transform: translateX(6px); box-shadow: var(--shadow-card-hover); }
.tl-card img { width: 86px; height: 86px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.tl-card__time {
	font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: var(--c-red); margin-bottom: 3px;
}
.tl-card__name { font-family: var(--font-serif); font-weight: 800; font-size: 18.5px; color: var(--c-green); line-height: 1.25; }
.tl-card__note { font-size: 14px; margin-top: 4px; line-height: 1.55; }
.tl-card--featured { border: 2px solid var(--c-gold); background: linear-gradient(120deg, #fffdf5, #fff8e7); }
.tl-card--featured .tl-card__name { color: var(--c-red); }
@media (max-width: 560px) {
	.tl-card { flex-direction: column; align-items: flex-start; }
	.tl-card img { width: 100%; height: 150px; }
}

/* tips */
.tips-list { display: grid; gap: 14px; max-width: 780px; }
.tips-list li {
	background: #fff; border-radius: 12px; padding: 16px 20px 16px 52px;
	position: relative; font-size: 15px; color: var(--c-green-deep);
	box-shadow: 0 4px 14px rgba(11, 74, 52, .05);
}
.tips-list li::before {
	content: '✓'; position: absolute; left: 20px; top: 15px;
	color: var(--c-red-bright); font-weight: 800; font-size: 17px;
}

/* ------------------------------------------------- profile: facts bar */

.facts-bar { background: var(--c-green-deep); }
.facts-bar__inner {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
	padding-top: 14px; padding-bottom: 14px;
}
@media (max-width: 860px) { .facts-bar__inner { grid-template-columns: repeat(2, 1fr); } }
.fact { display: flex; gap: 10px; align-items: center; min-width: 0; }
.fact__ico { font-size: 20px; flex-shrink: 0; }
.fact b { display: block; color: var(--c-cream-text); font-size: 13.5px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; }
.fact small { color: rgba(255, 248, 231, .55); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }

/* ------------------------------------------------- profile: page nav */

.page-nav {
	position: sticky; top: 61px; z-index: 40;
	background: rgba(250, 249, 246, .95); backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(11, 93, 63, .1);
}
.page-nav__inner { display: flex; gap: 4px; overflow-x: auto; padding-top: 0; padding-bottom: 0; }
.page-nav a {
	padding: 12px 14px; font-size: 13.5px; font-weight: 600; color: var(--c-green);
	white-space: nowrap; border-bottom: 2.5px solid transparent;
}
.page-nav a:hover { color: var(--c-red); border-bottom-color: var(--c-red); }
.page-nav__cta { margin-left: auto; color: var(--c-red) !important; font-weight: 700 !important; }
@media (max-width: 860px) { .page-nav { top: 0; } }

/* --------------------------------------------- profile: map explorer */

.map-explorer {
	background: #fff; border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow-card);
}
.map-tabs {
	display: flex; gap: 8px; padding: 10px;
	background: var(--c-cream-warm); border: 1px solid rgba(11, 93, 63, .1);
	border-radius: var(--radius); margin-bottom: 14px;
}
.map-tab {
	flex: 1; display: flex; align-items: center; gap: 10px; text-align: left;
	border: 1.5px solid rgba(11, 93, 63, .15); border-radius: 14px; background: #fff; cursor: pointer;
	font-family: var(--font-sans); padding: 10px 14px;
	transition: border-color .2s, background .2s, transform .15s, box-shadow .2s;
}
.map-tab__ico { font-size: 22px; flex-shrink: 0; }
.map-tab__txt b { display: block; font-size: 14px; color: rgba(11, 93, 63, .8); line-height: 1.25; }
.map-tab__txt small { font-size: 11.5px; color: rgba(123, 79, 57, .65); }
.map-tab:hover { border-color: var(--c-green); transform: translateY(-1px); }
.map-tab.is-active {
	background: var(--c-green-deep); border-color: var(--c-green-deep);
	box-shadow: 0 6px 18px rgba(11, 74, 52, .25);
}
.map-tab.is-active .map-tab__txt b { color: var(--c-gold); }
.map-tab.is-active .map-tab__txt small { color: rgba(255, 248, 231, .7); }
@media (max-width: 720px) {
	.map-tabs { flex-direction: row; }
	.map-tab { flex-direction: column; text-align: center; gap: 4px; padding: 10px 6px; }
	.map-tab__txt small { display: none; }
}

/* bản đồ 3D MapLibre (OpenFreeMap liberty — cùng chất liệu map web quán) */
#ml-map { height: 460px; background: var(--c-mint-wash); }
@media (max-width: 720px) { #ml-map { height: 340px; } }

.ml-marker { text-align: center; cursor: pointer; text-decoration: none; z-index: 5 !important; }
.ml-marker--near { z-index: 3 !important; }
.ml-marker__label {
	background: linear-gradient(135deg, var(--c-red-grad-a), var(--c-red-grad-b));
	color: #fff8e7; font-family: var(--font-sans); font-size: 14px; font-weight: 800;
	padding: 8px 16px; border-radius: 12px; white-space: nowrap;
	box-shadow: 0 6px 20px rgba(161, 58, 38, .45);
}
.ml-marker__tail {
	width: 0; height: 0; margin: 0 auto;
	border-left: 8px solid transparent; border-right: 8px solid transparent;
	border-top: 9px solid var(--c-red-grad-b);
}
.ml-marker__dot { font-size: 26px; line-height: 1; margin-top: -2px; filter: drop-shadow(0 3px 5px rgba(0,0,0,.35)); }
.ml-marker--near .ml-marker__label {
	background: var(--c-green-deep); color: var(--c-cream-text);
	font-size: 12px; font-weight: 700; padding: 6px 13px;
	box-shadow: 0 4px 14px rgba(11, 74, 52, .35);
}
.ml-marker--near .ml-marker__tail { border-top-color: var(--c-green-deep); }
.ml-marker--near:hover .ml-marker__label { background: var(--c-green); }
.ml-marker__dist {
	display: none;
	font-size: 10.5px; font-weight: 600; letter-spacing: .01em;
	color: rgba(255, 248, 231, .72); margin-top: 3px;
}
.ml-marker--near:hover .ml-marker__dist,
.ml-marker--near.is-close .ml-marker__dist { display: block; }
.ml-marker--home .ml-marker__dist { color: rgba(11, 74, 52, .7); }

/* quán nhà — nhãn vàng nổi bật */
.ml-marker--home .ml-marker__label { background: var(--c-gold); color: var(--c-green-deep); box-shadow: 0 4px 16px rgba(233, 185, 73, .5); }
.ml-marker--home .ml-marker__tail { border-top-color: var(--c-gold); }

/* zoom quá xa: thu nhãn phụ thành chấm nhỏ cho đỡ rối */
.ml-marker--near.is-zoomed-out .ml-marker__label,
.ml-marker--near.is-zoomed-out .ml-marker__tail { display: none; }
.ml-marker--near.is-zoomed-out::after {
	content: ''; display: block; width: 11px; height: 11px; border-radius: 50%;
	background: var(--c-green-deep); border: 2.5px solid #fff8e7; margin: 0 auto;
	box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.ml-marker--home.is-zoomed-out::after { background: var(--c-gold); }

/* footer chỉ đường dưới bản đồ */

.map-pane { display: none; }
.map-pane.is-active { display: block; }
.map-pane iframe { width: 100%; height: 430px; border: 0; display: block; background: var(--c-mint-wash); }
@media (max-width: 720px) { .map-pane iframe { height: 320px; } }
.map-pane__hint { font-size: 12.5px; padding: 10px 16px; color: rgba(123, 79, 57, .7); }
.map-pane__hint a { color: var(--c-green); font-weight: 600; text-decoration: underline; }

/* pano 360 teaser */

/* ------------------------------------------ profile: masonry gallery */

.subheading__count {
	font-family: var(--font-sans); font-size: 12.5px; font-weight: 700;
	background: rgba(11, 93, 63, .1); color: var(--c-green);
	border-radius: 99px; padding: 4px 12px; vertical-align: middle; margin-left: 8px;
}
.gallery-masonry { columns: 3 260px; column-gap: 14px; }
.gallery-masonry .gallery-item {
	display: block; margin-bottom: 14px; border-radius: 12px; overflow: hidden;
	box-shadow: var(--shadow-card); break-inside: avoid; cursor: zoom-in;
	transition: transform .18s, box-shadow .18s;
}
.gallery-masonry .gallery-item:hover { transform: scale(1.015); box-shadow: var(--shadow-card-hover); }
.gallery-masonry .gallery-item img { width: 100%; display: block; }

/* lightbox */
.lightbox {
	position: fixed; inset: 0; z-index: 100; display: none;
	background: rgba(8, 30, 22, .93); backdrop-filter: blur(6px);
	align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 80px rgba(0,0,0,.5); }
.lightbox__btn {
	position: absolute; top: 50%; transform: translateY(-50%);
	background: rgba(255, 248, 231, .12); border: none; color: #fff; cursor: pointer;
	font-size: 26px; width: 52px; height: 52px; border-radius: 50%;
	transition: background .2s;
}
.lightbox__btn:hover { background: rgba(233, 185, 73, .4); }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }
.lightbox__close { position: absolute; top: 16px; right: 18px; transform: none; font-size: 20px; width: 44px; height: 44px; }
.lightbox__count {
	position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
	color: rgba(255, 248, 231, .85); font-size: 13.5px; font-weight: 600; letter-spacing: .08em;
}

/* -------------------------------------------------------- photo gallery */

.gallery-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 720px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item {
	display: block; border-radius: 14px; overflow: hidden;
	box-shadow: var(--shadow-card);
	transition: transform .2s, box-shadow .2s;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

/* --------------------------------------------------------- promo (quán) */

.promo {
	background: var(--c-green-deep); border-radius: var(--radius);
	padding: 40px 42px; margin-top: 60px;
	display: flex; gap: 30px; align-items: center; flex-wrap: wrap;
	position: relative; overflow: hidden;
}
.promo::before {
	content: '1977'; position: absolute; right: 18px; bottom: -34px;
	font-family: var(--font-serif); font-weight: 900; font-size: 150px;
	color: rgba(233, 185, 73, .1); line-height: 1; pointer-events: none;
}
.promo__text { flex: 1; min-width: 260px; }
.promo__eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--c-gold); margin-bottom: 10px; }
.promo h3 { color: var(--c-cream-text); font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; line-height: 1.2; margin-bottom: 10px; }
.promo p { color: rgba(255, 248, 231, .8); font-size: 15px; max-width: 520px; }
.promo .btn { flex-shrink: 0; }

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--c-green-deep); margin-top: 84px; padding: 54px 0 30px; }
.site-footer__grid {
	display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
	padding-bottom: 36px; border-bottom: 1px solid rgba(255, 248, 231, .14);
}
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h4 { font-family: var(--font-serif); color: var(--c-cream-text); font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.site-footer p, .site-footer a { color: rgba(255, 248, 231, .72); font-size: 14.5px; }
.site-footer a:hover { color: var(--c-gold); }
.site-footer ul { display: grid; gap: 8px; }
.site-footer__bottom { padding-top: 22px; text-align: center; font-size: 13px; color: rgba(255, 248, 231, .5); }
.site-footer__bottom a { color: var(--c-gold); }

/* --------------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}

/* breadcrumb */
.crumbs { font-size: 13px; font-weight: 600; padding: 18px 0 0; color: rgba(123, 79, 57, .6); }
.crumbs a { color: var(--c-green); }
.crumbs a:hover { color: var(--c-red); }
.crumbs span { margin: 0 7px; color: rgba(123, 79, 57, .35); }

/* ---- Nút riêng trên bản đồ 3D: nghiêng 3D & toàn màn hình ---- */
.ml-ctrl-extra button.ml-ctrl-btn {
	display: flex; align-items: center; justify-content: center;
	width: 29px; height: 29px; padding: 0;
	background: #fff; border: 0; cursor: pointer;
	font: 700 14px/1 var(--font-sans); color: var(--c-green-deep);
}
.ml-ctrl-extra button.ml-ctrl-btn--3d { font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.ml-ctrl-extra button.ml-ctrl-btn:hover { background: var(--c-mint-wash); }
.ml-ctrl-extra button.ml-ctrl-btn.is-on { background: var(--c-gold); color: var(--c-green-deep); }

/* Toàn màn hình: bản gốc (Fullscreen API) + bản dự phòng cho iPhone */
.map-pane:fullscreen, .map-pane:-webkit-full-screen { background: var(--c-cream); }
.map-pane:fullscreen #ml-map, .map-pane:-webkit-full-screen #ml-map { height: 100%; }
body.map-is-fs { overflow: hidden; }
body.map-is-fs .reveal { transform: none !important; }
#ml-map.is-fs {
	position: fixed; top: 0; right: 0; bottom: 0; left: 0;
	width: 100%; height: 100%; z-index: 9999; border-radius: 0;
}

/* ---- Bảng quảng cáo 2 trụ cắm cạnh địa danh (chỉ dựng khi zoom gần) ---- */
.ml-board { display: block; width: 104px; text-decoration: none; pointer-events: none; z-index: 2 !important; }
.ml-board__in {
	display: block;
	opacity: 0; visibility: hidden;
	transform: translateY(6px) scale(.9); transform-origin: 50% 100%;
	transition: opacity .28s ease, transform .32s cubic-bezier(.2, .9, .3, 1), visibility 0s linear .3s;
}
.ml-board.is-up { pointer-events: auto; z-index: 6 !important; }
.ml-board.is-up .ml-board__in {
	opacity: 1; visibility: visible;
	transform: translateY(0) scale(1);
	transition: opacity .28s ease, transform .32s cubic-bezier(.2, .9, .3, 1), visibility 0s;
}
.ml-board__panel {
	display: block; position: relative;
	border: 3px solid #fff; border-radius: 5px; overflow: hidden;
	background: var(--c-mint-wash);
	box-shadow: 0 6px 16px rgba(11, 74, 52, .3), inset 0 0 0 1px rgba(0, 0, 0, .06);
}
.ml-board__panel img { display: block; width: 100%; height: 66px; object-fit: cover; }
.ml-board__panel b {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 8px 5px 3px;
	font: 700 9.5px/1.2 var(--font-sans); color: #fff8e7; text-align: center;
	background: linear-gradient(transparent, rgba(11, 74, 52, .88));
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ml-board__legs { display: flex; justify-content: space-between; width: 56px; height: 20px; margin: 0 auto; }
.ml-board__legs i { width: 4px; border-radius: 0 0 1px 1px; background: linear-gradient(#cfcbc4, #8b8781); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12); }
.ml-board__shadow {
	display: block; width: 62px; height: 7px; margin: -2px auto 0;
	background: radial-gradient(ellipse at center, rgba(0, 0, 0, .28), transparent 70%);
}
.ml-board:hover .ml-board__panel { box-shadow: 0 10px 22px rgba(11, 74, 52, .4); }
.ml-board--home .ml-board__panel { border-color: var(--c-gold); }
@media (max-width: 720px) {
	.ml-board { width: 86px; }
	.ml-board__panel img { height: 56px; }
	.ml-board__legs { width: 46px; height: 16px; }
}

/* Zoom rất gần: bảng quảng cáo lên, nhãn tên các địa danh khác nhường chỗ */
#ml-map.boards-on .ml-marker--near { pointer-events: none; }
#ml-map.boards-on .ml-marker--near .ml-marker__label,
#ml-map.boards-on .ml-marker--near .ml-marker__tail { opacity: 0; transition: opacity .25s ease; }

/* Nhãn thả xuống dưới chân công trình 3D — đuôi quay ngược lên trên */
.ml-marker--below { display: flex; flex-direction: column-reverse; align-items: center; }
.ml-marker--below .ml-marker__tail { transform: rotate(180deg); }
.ml-marker--below .ml-marker__dot { display: none; }
