/* =========================================================
   Hải Châu — Tạp chí biển
   Phong cách: biên tập / tạp chí, giấy ấm + mực xanh biển
   ========================================================= */

:root {
  --ink: #16242c;
  --ink-2: #223a45;
  --ink-soft: #4d6572;
  --paper: #f5efe3;
  --paper-2: #ece3d2;
  --cream: #faf6ee;
  --white: #fffdf9;
  --coral: #dd5f3c;
  --coral-dark: #b8462a;
  --gold: #c8993f;
  --teal: #1f7a72;
  --sea: #123f4a;
  --line: rgba(22, 36, 44, 0.14);
  --line-soft: rgba(22, 36, 44, 0.08);

  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 10px 30px rgba(18, 63, 74, 0.08);
  --shadow: 0 26px 60px rgba(18, 63, 74, 0.16);

  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --container: 1240px;
  --nav-h: 74px;
}

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

* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

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

/* ---------- Kiểu chữ chung ---------- */
.section { padding: clamp(64px, 8vw, 118px) 0; position: relative; }

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.sec-label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.sec-label--light { color: rgba(245, 239, 227, 0.7); }
.sec-label--light span { background: var(--gold); color: var(--ink); }

.sec-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 4.6vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 16ch;
}
.sec-title--light { color: var(--cream); }

.sec-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: clamp(34px, 5vw, 58px);
}
.sec-head .sec-title { max-width: 20ch; }
.sec-lead {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- Nút ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 14px 30px rgba(221, 95, 60, 0.32);
}
.btn-primary:hover { transform: translateY(-3px); background: var(--coral-dark); box-shadow: 0 20px 40px rgba(221, 95, 60, 0.4); }
.btn-ghost {
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-3px); }
.btn-block { width: 100%; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(250, 246, 238, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  z-index: 100;
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(18, 63, 74, 0.1); background: rgba(250, 246, 238, 0.96); }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand-text small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative;
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .25s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav-cta {
  margin-left: 10px;
  padding: 11px 22px !important;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper) !important;
  font-weight: 600;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--coral); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Bìa tạp chí (cover)
   ========================================================= */
.cover {
  padding: calc(var(--nav-h) + clamp(28px, 5vw, 60px)) 0 clamp(40px, 6vw, 70px);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(31, 122, 114, 0.1), transparent 60%),
    var(--cream);
}
.cover-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.cover-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.cover-kicker span {
  background: var(--coral);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.14em;
}

.cover-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 8.5vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.cover-title em {
  display: block;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.6vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--coral);
  margin-top: 16px;
  max-width: 22ch;
}

.cover-desc {
  margin-top: 22px;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.cover-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 52px);
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1;
  color: var(--ink);
}
.stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  max-width: 20ch;
}

.cover-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.cover-figure img { width: 100%; height: 100%; object-fit: cover; }
.cover-figure figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px;
  background: linear-gradient(180deg, transparent, rgba(18, 63, 74, 0.9));
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cover-tag {
  align-self: flex-start;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.cover-cap { font-size: 0.9rem; color: rgba(250, 246, 238, 0.86); }

/* =========================================================
   Ticker
   ========================================================= */
.ticker {
  background: var(--ink);
  color: var(--gold);
  overflow: hidden;
  border-block: 1px solid rgba(200, 153, 63, 0.4);
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 14px 0;
  white-space: nowrap;
  animation: ticker 34s linear infinite;
}
.ticker-track span {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.ticker-track i { color: rgba(200, 153, 63, 0.55); font-size: 0.6rem; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   About
   ========================================================= */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-index {
  position: absolute;
  top: 18px; left: 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  background: var(--cream);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
}

.about-text p { color: var(--ink-soft); margin-top: 18px; }
.drop::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.6rem;
  line-height: 0.8;
  padding: 6px 12px 0 0;
  color: var(--coral);
}
.pull {
  margin-top: 26px;
  padding-left: 20px;
  border-left: 3px solid var(--coral);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--ink);
}

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 46px);
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.fact-row b {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--teal);
  line-height: 1;
}
.fact-row span { font-size: 0.82rem; color: var(--ink-soft); }

/* =========================================================
   Destinations — bento
   ========================================================= */
.destinations { background: var(--paper-2); }
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 190px;
  gap: 16px;
}
.bento-item {
  position: relative;
  grid-column: span 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.bento-item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.bento-item:nth-child(2),
.bento-item:nth-child(3) { grid-column: span 3; }
.bento-item:nth-child(n+4) { grid-column: span 2; }

.bento-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.bento-item:hover img { transform: scale(1.06); }

.bento-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px;
  background: linear-gradient(180deg, transparent, rgba(18, 63, 74, 0.92));
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bento-tag {
  align-self: flex-start;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}
.bento-cap h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.15;
}
.bento-item:nth-child(1) .bento-cap h3 { font-size: 1.7rem; }
.bento-cap p {
  font-size: 0.88rem;
  color: rgba(250, 246, 238, 0.82);
  max-width: 44ch;
  display: none;
}
.bento-item:nth-child(1) .bento-cap p,
.bento-item:nth-child(2) .bento-cap p,
.bento-item:nth-child(3) .bento-cap p { display: block; }

/* =========================================================
   Areas — tạp chí cuộn dọc
   ========================================================= */
.areas { background: var(--cream); padding-bottom: clamp(60px, 8vw, 110px); }
.area-list { display: grid; gap: 0; }

.area { border-top: 1px solid var(--line); }
.area:last-child { border-bottom: 1px solid var(--line); }

.area-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(28px, 5vw, 68px);
  padding: clamp(40px, 6vw, 76px) 0;
  align-items: center;
}
.area--flip .area-head { order: 2; }
.area--flip .area-media { order: 1; }

.area-no {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--coral);
  margin-bottom: 12px;
}
.area-head h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.05;
  color: var(--ink);
}
.area-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--coral);
  margin-top: 6px;
}
.area-intro { color: var(--ink-soft); margin-top: 16px; max-width: 46ch; }
.area-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.area-facts li {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--sea);
  background: rgba(31, 122, 114, 0.1);
  padding: 8px 15px;
  border-radius: 999px;
}

.area-media { display: grid; gap: 16px; }
.lm {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.lm:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.lm img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 11;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.lm:hover img { transform: scale(1.05); }
.lm--lead img { aspect-ratio: 16 / 10; }
.lm figcaption { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.lm figcaption h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--ink);
  line-height: 1.2;
}
.lm--lead figcaption h4 { font-size: 1.45rem; }
.lm figcaption p { font-size: 0.9rem; color: var(--ink-soft); }
.src {
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--coral);
  transition: color .25s ease;
}
.src:hover { color: var(--coral-dark); text-decoration: underline; }

.lm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lm-row .lm img { aspect-ratio: 4 / 3; }
.lm-row .lm figcaption p { font-size: 0.85rem; }

.area-note {
  margin-top: clamp(30px, 4vw, 46px);
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
  background: rgba(200, 153, 63, 0.12);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* =========================================================
   Food
   ========================================================= */
.food {
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(31, 122, 114, 0.28), transparent 55%),
    linear-gradient(160deg, var(--ink), #0c1a21);
  color: var(--cream);
}
.food-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}
.food-lead { color: rgba(250, 246, 238, 0.72); margin-top: 20px; max-width: 46ch; }

.dishes { margin-top: 34px; display: grid; }
.dish {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(250, 246, 238, 0.14);
}
.dish:last-child { border-bottom: 1px solid rgba(250, 246, 238, 0.14); }
.dish-no {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--gold);
  min-width: 34px;
}
.dish-body { flex: 1 1 auto; min-width: 0; }
.dish h4 { font-size: 1.08rem; font-weight: 700; color: var(--cream); }
.dish p { font-size: 0.9rem; color: rgba(250, 246, 238, 0.66); margin-top: 2px; }
.dish-thumb {
  flex: 0 0 auto;
  width: clamp(76px, 20vw, 108px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.food-media { position: relative; }
.food-media > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.food-media-small {
  position: absolute;
  right: -20px;
  bottom: -28px;
  width: 52%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 6px solid var(--ink);
}

/* =========================================================
   Experiences
   ========================================================= */
.experiences { background: var(--paper); }
.exp-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.exp {
  padding: 34px 26px 30px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background .3s ease;
}
.exp:last-child { border-right: none; }
.exp:hover { background: var(--white); }
.exp-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  color: var(--coral);
}
.exp h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--ink);
}
.exp p { font-size: 0.92rem; color: var(--ink-soft); }
.exp-time {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

/* =========================================================
   Gallery
   ========================================================= */
.gallery { background: var(--paper-2); overflow: hidden; }
.gallery .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.gallery-nav { display: flex; gap: 10px; }
.gallery-nav button {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-size: 1.2rem;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.gallery-nav button:hover { background: var(--ink); color: var(--paper); transform: translateY(-3px); }

.gallery-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px max(24px, calc((100vw - var(--container)) / 2)) 22px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  cursor: grab;
}
.gallery-track::-webkit-scrollbar { height: 6px; }
.gallery-track::-webkit-scrollbar-thumb { background: rgba(22, 36, 44, 0.22); border-radius: 99px; }
.shot {
  flex: none;
  width: min(78vw, 400px);
  scroll-snap-align: start;
}
.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.shot figcaption {
  margin-top: 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-2);
}

/* =========================================================
   Reviews
   ========================================================= */
.reviews { background: var(--cream); }
.review-slider { overflow: hidden; margin-top: 34px; }
.review-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
}
.review {
  flex: 0 0 100%;
  padding-right: 8px;
}
.review p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.35;
  color: var(--ink);
  max-width: 34ch;
}
.review footer {
  margin-top: 26px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.review footer b { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.review footer span { font-size: 0.84rem; color: var(--ink-soft); }
.review-dots { display: flex; gap: 10px; margin-top: 30px; }
.review-dots button {
  width: 34px; height: 4px;
  border-radius: 99px;
  background: rgba(22, 36, 44, 0.18);
  transition: background .3s ease, width .3s ease;
}
.review-dots button.active { background: var(--coral); width: 52px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(250, 246, 238, 0.78);
  padding: clamp(50px, 7vw, 84px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
}
.brand--footer .brand-mark { background: var(--gold); color: var(--ink); }
.brand--footer .brand-text { color: var(--cream); }
.brand--footer .brand-text small { color: rgba(250, 246, 238, 0.5); }
.footer-desc { margin-top: 20px; font-size: 0.92rem; max-width: 34ch; color: rgba(250, 246, 238, 0.6); }
.footer-school-credit { margin-top: 12px; font-size: 0.84rem; font-weight: 600; color: var(--gold); }
.site-footer h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.site-footer ul { display: grid; gap: 12px; }
.site-footer ul a { font-size: 0.94rem; transition: color .25s ease; }
.site-footer ul a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(250, 246, 238, 0.22);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background .25s ease, color .25s ease;
}
.socials a:hover { background: var(--gold); color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid rgba(250, 246, 238, 0.14);
  font-size: 0.82rem;
  color: rgba(250, 246, 238, 0.5);
}
.footer-bottom b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.01em;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 1.25rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s ease, background .3s ease;
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--coral); }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .cover-grid { grid-template-columns: 1fr; }
  .cover-figure { aspect-ratio: 16 / 10; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; aspect-ratio: 4 / 3; }
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; }
  .bento-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .bento-item:nth-child(2),
  .bento-item:nth-child(3),
  .bento-item:nth-child(n+4) { grid-column: span 2; }
  .area-grid { grid-template-columns: 1fr; gap: 28px; }
  .area--flip .area-head,
  .area--flip .area-media { order: 0; }
  .food-grid { grid-template-columns: 1fr; }
  .food-media { max-width: 520px; }
  .exp-list { grid-template-columns: repeat(2, 1fr); }
  .exp:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 104px 26px 40px;
    background: var(--ink);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
    z-index: 120;
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav a { color: var(--cream); padding: 14px 16px; font-size: 1.05rem; border-radius: 8px; }
  .nav a::after { display: none; }
  .nav a:hover { background: rgba(250, 246, 238, 0.08); }
  .nav-cta { text-align: center; margin: 12px 0 0; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 32px, var(--container)); }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .bento-item:nth-child(1),
  .bento-item:nth-child(2),
  .bento-item:nth-child(3),
  .bento-item:nth-child(n+4) { grid-column: span 1; grid-row: span 1; }
  .lm-row { grid-template-columns: 1fr; }
  .exp-list { grid-template-columns: 1fr; }
  .exp { border-right: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cover-stats { gap: 26px; }
  .food-media-small { right: 0; bottom: -20px; width: 46%; }
}

/* =========================================================
   Lễ hội & Làng nghề — thẻ bấm được
   ========================================================= */
.festivals { background: var(--paper-2); }
.crafts { background: var(--cream); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(18px, 2.2vw, 26px);
}

.fest-card,
.craft-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.fest-card:hover,
.craft-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.fc-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.fc-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.fest-card:hover .fc-media img,
.craft-card:hover .fc-media img { transform: scale(1.06); }

.fc-no {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--coral);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: 999px;
}

.fc-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 22px;
  flex: 1;
}
.fc-kind {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}
.fc-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  line-height: 1.2;
  color: var(--ink);
}
.fc-sub { font-size: 0.88rem; color: var(--ink-soft); }
.fc-more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}

/* Thẻ có lớp phủ bấm được (giữ link "Dẫn chứng" bên trong vẫn bấm riêng) */
.lm { position: relative; }
.lm-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
}
.lm .src { position: relative; z-index: 6; }

/* Ảnh trong thư viện trang chủ cũng mở được chi tiết */
a.shot { display: block; }

/* Liên kết "Xem chi tiết" trong mỗi vùng đất */
.area-more {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  transition: color .25s ease, transform .25s ease;
}
.area-more:hover { color: var(--coral-dark); transform: translateX(4px); }

/* Món ăn bấm được + lớp phủ ảnh ẩm thực */
a.dish { display: flex; }
a.dish:hover h4 { color: var(--gold); }
.food-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: var(--radius-lg);
}

/* =========================================================
   Trang chi tiết
   ========================================================= */
.detail-page { background: var(--cream); }
.detail-root { padding-top: var(--nav-h); }

.detail-loading { padding: clamp(70px, 12vw, 140px) 0; color: var(--ink-soft); }

.detail-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 26px 0 6px;
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.detail-crumb a { color: var(--ink-soft); transition: color .25s ease; }
.detail-crumb a:hover { color: var(--coral); }
.detail-crumb b { color: var(--ink); font-weight: 600; }
.detail-crumb span { opacity: .45; }

/* Hero chi tiết */
.detail-hero { padding: clamp(18px, 3vw, 38px) 0 clamp(28px, 4vw, 52px); }
.detail-hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
}
.detail-hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.detail-hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* Trang không có ảnh phù hợp: để chữ toàn chiều rộng, không chèn ảnh minh họa sai */
.detail-hero-grid--text { grid-template-columns: 1fr; max-width: 860px; }

.detail-kind {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.detail-kind span {
  background: var(--coral);
  color: #fff;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.1em;
}
.detail-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.detail-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--coral);
  margin-top: 12px;
}
.detail-lead { margin-top: 20px; color: var(--ink-soft); font-size: 1.05rem; max-width: 52ch; }
.detail-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Dải thông tin nhanh */
.detail-facts { padding-bottom: clamp(30px, 4vw, 50px); }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.fact {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.fact dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.fact dd {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--ink);
}

/* Bố cục thân bài + cột phụ */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(30px, 4vw, 64px);
  padding: clamp(16px, 2vw, 30px) 0 clamp(60px, 8vw, 110px);
  align-items: start;
}
.detail-main { min-width: 0; }

.detail-block { margin-bottom: clamp(34px, 4vw, 54px); }
.detail-block:last-child { margin-bottom: 0; }

.detail-h {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.detail-h::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 64px; height: 3px;
  background: var(--coral);
}

.detail-block p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.78;
  margin-bottom: 16px;
}
.detail-block p:last-child { margin-bottom: 0; }

.detail-fig { margin: 24px 0 6px; }
.detail-fig img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.detail-fig figcaption {
  margin-top: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Thư viện ảnh chi tiết */
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.detail-shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.detail-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.detail-shot:hover img { transform: scale(1.05); }
.detail-shot figcaption { padding: 12px 15px; font-size: 0.85rem; color: var(--ink-soft); }

/* Nguồn tham khảo */
.detail-sources ul { display: grid; gap: 10px; }
.detail-sources a { font-size: 0.95rem; color: var(--coral); transition: color .25s ease; }
.detail-sources a:hover { color: var(--coral-dark); text-decoration: underline; }

/* Cột "Xem tiếp" */
.detail-aside { position: sticky; top: calc(var(--nav-h) + 20px); }
.detail-aside-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.detail-aside-card .detail-h { font-size: 1.25rem; margin-bottom: 18px; }
.related-list { display: grid; gap: 16px; }
.related-list a {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
}
.related-list a.rel-text-only { grid-template-columns: 1fr; }
.rel-media {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.rel-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.related-list a:hover .rel-media img { transform: scale(1.08); }
.rel-text small {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.rel-text b {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.22;
  color: var(--ink);
  transition: color .25s ease;
}
.related-list a:hover .rel-text b { color: var(--coral); }

/* Trường hợp không tìm thấy */
.detail-missing { padding: clamp(60px, 12vw, 140px) 0; max-width: 60ch; }
.detail-missing .detail-title { font-size: clamp(1.8rem, 4vw, 2.8rem); }

@media (max-width: 1024px) {
  .detail-hero-grid { grid-template-columns: 1fr; }
  .detail-hero-media { aspect-ratio: 16 / 10; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
}

@media (max-width: 620px) {
  .card-grid { grid-template-columns: 1fr; }
  .detail-gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

/* =========================================================
   Bản đồ & số liệu
   ========================================================= */
.mapsec { background: var(--cream); }
.map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: start;
}
.map-frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 42vw, 480px);
  border: 0;
  background: #e9e5d9;
}
.map-frame figcaption {
  padding: 12px 16px 46px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.map-open {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--coral-dark);
}
.map-open:hover { text-decoration: underline; }
.map-side { display: grid; gap: 20px; }
.map-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.map-stat {
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.map-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.1;
  color: var(--coral-dark);
}
.map-stat span {
  display: block;
  margin-top: 5px;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--ink-soft);
}
.map-sub {
  font-size: 0.78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.map-legend { list-style: none; display: grid; gap: 8px; }
.map-legend li {
  display: grid;
  grid-template-columns: 12px auto 1fr;
  align-items: baseline;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius);
  background: rgba(255, 253, 249, .7);
  font-size: 0.86rem;
}
.map-legend b { color: var(--ink); }
.map-legend span { color: var(--ink-soft); font-size: 0.78rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot--sea { background: var(--teal); }
.dot--land { background: var(--gold); }
.map-note {
  display: grid;
  gap: 5px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.map-note a { color: var(--teal); }
.map-note a:hover { text-decoration: underline; }

/* =========================================================
   Lịch trình đoàn
   ========================================================= */
.itinerary { background: var(--paper); }
.sub-title {
  margin: 34px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  color: var(--ink);
}
.itin-days {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.itin-day {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.itin-day-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.itin-day-no {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.4rem;
}
.itin-day-head small {
  display: block;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--coral-dark);
}
.itin-day-head h3 {
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 1.16rem;
  line-height: 1.35;
  color: var(--ink);
}
.itin-stops { list-style: none; margin-top: 8px; }
.itin-stops li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.itin-stops li:last-child { border-bottom: 0; }
.itin-time {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--coral-dark);
  padding-top: 2px;
}
.itin-stops b, .itin-stops a {
  display: inline-block;
  font-size: .94rem;
  font-weight: 600;
  color: var(--ink);
}
.itin-stops a:hover { color: var(--coral); }
.itin-stops p {
  margin-top: 3px;
  font-size: .81rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.meal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.meal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.meal-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.meal-body { padding: 13px 14px 16px; }
.meal-body > span {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--coral-dark);
}
.meal-body a {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
}
.meal-body a:hover { color: var(--coral); }
.meal-body p {
  margin-top: 5px;
  font-size: .8rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.itin-foot {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 32px;
  margin-top: 12px;
  padding-top: 8px;
}
.itin-foot .sub-title { margin-top: 20px; }
.itin-tips { list-style: none; display: grid; gap: 8px; }
.itin-tips li {
  position: relative;
  padding-left: 20px;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.itin-tips li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--coral);
  font-size: .7rem;
}
.itin-source {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 18px;
  border-left: 2px solid var(--gold);
  background: rgba(236, 227, 210, .45);
  font-size: .8rem;
}
.itin-source b { color: var(--ink); }
.itin-source a { color: var(--teal); line-height: 1.5; }
.itin-source a:hover { text-decoration: underline; }

/* =========================================================
   Tri ân & thiếu niên
   ========================================================= */
.heritage { background: var(--ink); color: var(--cream); }
.heritage .sec-title, .heritage .sub-title { color: var(--cream); }
.heritage .sec-lead { color: rgba(250, 246, 238, .72); }
.heritage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.heritage-card {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  border: 1px solid rgba(250, 246, 238, .14);
  transition: transform .3s ease, border-color .3s ease;
}
.heritage-card:hover { transform: translateY(-5px); border-color: var(--coral); }
.heritage-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.heritage-body { padding: 18px 20px 22px; }
.heritage-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.heritage-tag--gold { background: var(--gold); }
.heritage-tag--teal { background: var(--teal); }
.heritage-body h3 {
  margin: 12px 0 7px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--cream);
}
.heritage-body p {
  font-size: .85rem;
  line-height: 1.6;
  color: rgba(250, 246, 238, .72);
}
.heritage-more {
  display: inline-block;
  margin-top: 14px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold);
}
.heritage-note {
  display: grid;
  gap: 5px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(250, 246, 238, .16);
  font-size: .78rem;
  line-height: 1.6;
  color: rgba(250, 246, 238, .68);
}
.heritage-note a { color: var(--gold); }
.heritage-note a:hover { text-decoration: underline; }

/* =========================================================
   Phim ảnh (photo-story) & tương tác
   ========================================================= */
.videos { background: var(--cream); }
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 20px;
}
.story-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.story-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink);
}
.story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.92);
  transition: transform .8s ease;
}
.story-stage.playing .story-img { transform: scale(1.045); }
.story-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 25, 32, .82), transparent 58%);
  pointer-events: none;
}
.story-len {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(10, 25, 32, .7);
  color: var(--cream);
  font-size: .68rem;
  letter-spacing: .05em;
}
.story-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 253, 249, .7);
  border-radius: 50%;
  background: rgba(18, 63, 74, .86);
  color: var(--cream);
  font-size: 1rem;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.story-play:hover { background: var(--coral); transform: translate(-50%, -50%) scale(1.08); }
.story-cap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 24px;
  color: var(--cream);
  font-size: .82rem;
  line-height: 1.45;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}
.story-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: rgba(255, 253, 249, .28);
}
.story-progress i { display: block; width: 0; height: 100%; background: var(--coral); }
.story-dots {
  position: absolute;
  right: 12px;
  bottom: 9px;
  display: flex;
  gap: 4px;
}
.story-dots b {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255, 253, 249, .5);
  cursor: pointer;
}
.story-dots b.on { background: var(--gold); transform: scale(1.3); }
.story-info { padding: 15px 16px 18px; }
.story-kind {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--coral-dark);
}
.story-info h3 {
  margin: 7px 0 5px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.3;
  color: var(--ink);
}
.story-info p { font-size: .8rem; color: var(--ink-soft); }
.story-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  font-size: .78rem;
  font-weight: 600;
}
.story-links a { color: var(--teal); }
.story-links a:hover { text-decoration: underline; }
.story-grid--detail { margin-top: 6px; }

.engage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.engage-copy { display: grid; gap: 4px; }
.engage-copy b { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.engage-copy span { font-size: .8rem; color: var(--ink-soft); }
.engage-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.engage-views, .engage-likes {
  font-size: .82rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.engage-views b, .engage-likes b { color: var(--ink); }
.engage-like {
  padding: 9px 18px;
  border: 1px solid var(--coral);
  border-radius: 999px;
  background: transparent;
  color: var(--coral-dark);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.engage-like:hover { background: rgba(221, 95, 60, .1); }
.engage-like.liked { background: var(--coral); color: var(--white); }
.engage-heart { font-size: 1.1rem; }
.engage--detail {
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(236, 227, 210, .55);
}
.engage--detail .engage-actions { gap: 12px; }
.engage--detail .engage-like { padding: 7px 14px; }

/* ---------- Responsive cho các section mới ---------- */
@media (max-width: 1024px) {
  .map-grid { grid-template-columns: 1fr; }
  .map-frame iframe { height: 380px; }
  .itin-foot { grid-template-columns: 1fr; gap: 8px; }
  .heritage-grid { grid-template-columns: 1fr 1fr; }
  .heritage-card:last-child { grid-column: span 2; }
}
@media (max-width: 880px) {
  .itin-days { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .map-stats { grid-template-columns: 1fr 1fr; }
  .map-frame iframe { height: 300px; }
  .heritage-grid { grid-template-columns: 1fr; }
  .heritage-card:last-child { grid-column: span 1; }
  .story-grid { grid-template-columns: 1fr; }
  .engage { padding: 16px; }
  .engage-actions { width: 100%; }
}

/* =========================================================
   Video thật · gợi ý món · tri ân · bình luận cảm xúc
   ========================================================= */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --- Video thật --- */
.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0d1b21;
  overflow: hidden;
}
.video-frame iframe,
.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0d1b21;
  object-fit: contain;
}
.video-frame--fb iframe { background: var(--cream); }
.video-error::after {
  content: "Video tạm thời không tải được. Dùng liên kết “Xem tại nguồn” bên dưới.";
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(10, 25, 32, .86);
  color: var(--cream);
  font-size: .78rem;
  line-height: 1.45;
}
.video-info { padding: 15px 16px 18px; }
.video-info h3 {
  margin: 7px 0 6px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.3;
  color: var(--ink);
}
.video-sub { font-size: .82rem; font-weight: 600; color: var(--teal); }
.video-note { margin-top: 8px; font-size: .8rem; color: var(--ink-soft); line-height: 1.5; }

.video-inline {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.video-inline-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 10px 14px 13px;
}
.video-inline-bottom p { flex: 1 1 220px; font-size: .78rem; color: var(--ink-soft); }
.video-inline-bottom a { font-size: .76rem; font-weight: 700; color: var(--coral); }
.video-inline-bottom a:hover { text-decoration: underline; }
.area-video { margin-top: 22px; }
.area-video .video-inline { margin-top: 0; }
.fest-video-wrap, .itin-video-wrap { margin-top: clamp(28px, 4vw, 44px); }
.fest-video-wrap .video-inline, .itin-video-wrap .video-inline { max-width: 760px; }

/* --- Ảnh tri ân --- */
.martyr-strip {
  margin-top: clamp(30px, 4vw, 46px);
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.martyr-head p { margin-top: 8px; max-width: 64ch; color: var(--ink-soft); font-size: .92rem; }
.martyr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}
.martyr-item {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--cream);
}
.martyr-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.martyr-item figcaption { padding: 14px 16px 16px; }
.martyr-item h4 { font-size: 1rem; color: var(--ink); line-height: 1.35; }
.martyr-item p { margin-top: 7px; font-size: .82rem; color: var(--ink-soft); }
.martyr-item a { display: inline-block; margin-top: 9px; font-size: .78rem; font-weight: 700; color: var(--coral); }
.martyr-item a:hover { text-decoration: underline; }

/* --- Chọn số người & gợi ý món --- */
.people-picker {
  margin-bottom: clamp(34px, 5vw, 52px);
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream);
}
.people-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.people-head .sec-label { margin-bottom: 8px; }
.people-head .sub-title { margin: 0; }
.people-head p:not(.sec-label) { margin-top: 8px; color: var(--ink-soft); font-size: .9rem; max-width: 54ch; }
.people-control { display: flex; align-items: stretch; gap: 8px; }
.people-control button {
  width: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 1.3rem;
  color: var(--sea);
  transition: background .2s ease, color .2s ease;
}
.people-control button:hover { background: var(--sea); color: var(--white); }
.people-control label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.people-control input {
  width: 64px;
  padding: 11px 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  -moz-appearance: textfield;
}
.people-control input::-webkit-inner-spin-button,
.people-control input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.people-control small { font-size: .8rem; color: var(--ink-soft); }
.people-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.people-presets button {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.people-presets button:hover { border-color: var(--coral); background: var(--coral); color: var(--white); }
.suggest-rule {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(200, 153, 63, .12);
}
.suggest-rule b { font-size: .95rem; color: var(--ink); }
.suggest-rule p { margin-top: 4px; font-size: .86rem; color: var(--ink-soft); }
.suggest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.suggest-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .25s ease, box-shadow .25s ease;
}
.suggest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.suggest-media { position: relative; display: block; }
.suggest-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.suggest-qty {
  position: absolute;
  left: 8px; bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(10, 25, 32, .82);
  color: var(--cream);
  font-size: .7rem;
  font-weight: 600;
}
.suggest-body { display: flex; flex-direction: column; gap: 5px; padding: 12px 13px 14px; }
.suggest-body b { font-size: .95rem; color: var(--ink); }
.suggest-body small { font-size: .78rem; color: var(--ink-soft); line-height: 1.45; }
.suggest-more { margin-top: 5px; font-size: .76rem; font-weight: 700; color: var(--coral); }
.suggest-note { margin-top: 14px; font-size: .78rem; color: var(--ink-soft); }

/* --- Bình luận cảm xúc --- */
.comments { background: var(--cream); }
.comments-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.comment-hint { display: grid; gap: 10px; margin-top: 24px; }
.comment-hint li {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: .86rem;
  color: var(--ink-soft);
}
.comments-box {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.comment-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.comment-form label { display: grid; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--ink); }
.comment-form label small { font-weight: 400; color: var(--ink-soft); }
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  font-size: .9rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31, 122, 114, .12); }
.comment-form textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
.mood-field { margin-top: 16px; padding: 0; border: 0; }
.mood-field legend { margin-bottom: 8px; font-size: .8rem; font-weight: 600; color: var(--ink); }
.mood-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mood-chip {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  font-size: .8rem;
  color: var(--ink-soft);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.mood-chip span { margin-right: 3px; }
.mood-chip:hover { border-color: var(--coral); }
.mood-chip.active { border-color: var(--coral); background: var(--coral); color: #fff; font-weight: 600; }
.comment-text-wrap { position: relative; margin-top: 16px; }
.comment-count { position: absolute; right: 10px; bottom: 8px; font-size: .72rem; font-weight: 400; color: var(--ink-soft); }
.comment-count.over { color: var(--coral); }
.comment-error { min-height: 1.1em; margin: 8px 0; font-size: .78rem; color: var(--coral-dark); }
.comment-list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.comment-list-head b { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.comment-list-head span { font-size: .75rem; color: var(--ink-soft); }
.comment-list { display: grid; gap: 14px; margin-top: 16px; }
.comment {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--cream);
}
.comment--mine { border-color: rgba(31, 122, 114, .36); background: rgba(31, 122, 114, .06); }
.comment-avatar {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--sea);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
}
.comment--mine .comment-avatar { background: var(--teal); }
.comment-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.comment-top b { font-size: .9rem; color: var(--ink); }
.comment-from { font-size: .74rem; color: var(--teal); }
.comment-top time { margin-left: auto; font-size: .72rem; color: var(--ink-soft); }
.comment-mood {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(221, 95, 60, .1);
  color: var(--coral-dark);
  font-size: .72rem;
  font-weight: 600;
}
.comment-text { margin-top: 8px; font-size: .88rem; color: var(--ink-2); line-height: 1.6; white-space: pre-wrap; }
.comment-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.comment-like, .comment-reply {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: .74rem;
  color: var(--ink-soft);
  transition: color .2s ease, border-color .2s ease;
}
.comment-like:hover, .comment-reply:hover { border-color: var(--coral); color: var(--coral-dark); }
.comment-like.liked { border-color: var(--coral); color: var(--coral-dark); font-weight: 700; }
.comment-toast {
  margin-top: 14px;
  padding: 0 14px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-radius: var(--radius);
  background: rgba(31, 122, 114, .12);
  color: var(--teal);
  font-size: .82rem;
  transition: opacity .25s ease, max-height .25s ease, padding .25s ease;
}
.comment-toast.show { padding: 11px 14px; max-height: 120px; opacity: 1; }

/* --- Responsive bổ sung --- */
@media (max-width: 1024px) {
  .comments-layout { grid-template-columns: 1fr; }
  .comment-hint { grid-template-columns: repeat(3, 1fr); }
  .martyr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .story-grid { grid-template-columns: 1fr 1fr; }
  .comments-layout { gap: 26px; }
}
@media (max-width: 620px) {
  .story-grid { grid-template-columns: 1fr; }
  .martyr-grid { grid-template-columns: 1fr; }
  .comment-hint { grid-template-columns: 1fr; }
  .people-head { align-items: stretch; }
  .people-control { width: 100%; }
  .people-control label { flex: 1; }
  .comment-form-row { grid-template-columns: 1fr; }
  .comments-box { padding: 16px; }
  .comment { grid-template-columns: 32px 1fr; gap: 10px; padding: 12px; }
  .comment-avatar { width: 32px; height: 32px; }
  .video-inline-bottom { padding: 10px 12px 12px; }
}
