/* Thiết kế hiện đại, chủ đạo đỏ - xanh lá */
:root {
  --primary-red: #c62828;
  --primary-red-dark: #8e0000;
  --primary-green: #2e7d32;
  --primary-gold: #f9a825;
  --bg-light: #fff9f0;
  --bg-dark: #1a1a1a;
  --text-main: #222222;
  --text-muted: #666666;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.15);
  --radius-lg: 18px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #ffe7e7 0, #fff9f0 30%, #fff 60%, #e8f5e9 100%);
  color: var(--text-main);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Layout chung */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

/* Header & Navigation */
.top-bar {
  background: linear-gradient(90deg, var(--primary-red-dark), var(--primary-red));
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.box {
  width: 300px;
  height: 200px;
  overflow: hidden;
}

.box img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* QUAN TRỌNG */
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 20%, #ffe57f, var(--primary-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red-dark);
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.nav-title {
  display: flex;
  flex-direction: column;
}

.nav-title-main {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav-title-sub {
  font-size: 0.78rem;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.nav-link {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.15));
  backdrop-filter: blur(10px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.nav-link span.icon-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #fff;
}

.nav-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.3));
  border-color: rgba(255, 255, 255, 0.35);
}

.nav-link--primary {
  background: linear-gradient(135deg, var(--primary-gold), #ffcc80);
  color: var(--primary-red-dark);
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.nav-link--primary:hover {
  background: linear-gradient(135deg, #ffe57f, var(--primary-gold));
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero / Banner */
.hero {
  padding: 2.8rem 0 2.2rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2.4rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(198, 40, 40, 0.08);
  color: var(--primary-red-dark);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-gold), #ffea00);
  box-shadow: 0 0 10px rgba(249, 168, 37, 0.9);
}

.hero-title {
  font-size: clamp(2.2rem, 3vw + 1rem, 3.2rem);
  margin: 1rem 0 0.6rem;
  line-height: 1.08;
}

.hero-title span.highlight {
  background: linear-gradient(120deg, var(--primary-red-dark), var(--primary-gold));
  background-clip: text;          /* chuẩn */
  -webkit-background-clip: text;  /* hỗ trợ Chrome/Safari cũ */
  color: transparent;
}

.hero-subtitle {
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 1.7rem 0;
}

.chip {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-red);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.62rem 1.4rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-red-dark), var(--primary-red));
  color: #fff;
  box-shadow: 0 16px 40px rgba(198, 40, 40, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(198, 40, 40, 0.8);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--primary-red-dark);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.btn-ghost:hover {
  background: #fff;
  transform: translateY(-1px);
}

.btn-icon {
  font-size: 1.1rem;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-note span {
  color: var(--primary-green);
  font-weight: 600;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  background: radial-gradient(circle at top left, #ffe7e7 0, #fff9f0 40%, #fff 100%);
  border-radius: 26px;
  padding: 1.6rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(198, 40, 40, 0.1);
  font-size: 0.72rem;
  color: var(--primary-red-dark);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-badge-tag {
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
}

.hero-visual-main {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 1rem;
}

.hero-photo {
  border-radius: 22px;
  background: linear-gradient(135deg, #e53935, #fdd835, #2e7d32);
  padding: 3px;
  position: relative;
  overflow: hidden;
  
}
.hero-photo-inner img { width:100%; height:110%; object-fit:cover; }

.hero-photo-inner {
  height: 100%;
  border-radius: 19px;
  overflow: hidden;
   background: none;/*radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), #fbe9e7 40%, #e3f2fd 100%); */
  display: block;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-photo-placeholder {
  text-align: center;
  padding: 0.4rem;
}

.hero-photo-placeholder-title {
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--primary-red-dark);
}

.hero-photo-placeholder-text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-photo-hint {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.stat-card {
  padding: 0.6rem 0.7rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-value {
  font-weight: 700;
  color: var(--primary-red-dark);
}

.stat-tag {
  font-size: 0.78rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(46, 125, 50, 0.08);
  color: var(--primary-green);
}

.hero-floating-card {
  position: absolute;
  right: -6px;
  bottom: -10px;
  background: #111827;
  color: #e5e7eb;
  border-radius: 16px;
  padding: 0.5rem 0.65rem;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.55);
}

.hero-floating-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
}

.hero-floating-text {
  display: flex;
  flex-direction: column;
}

.hero-floating-main {
  font-weight: 600;
}

.hero-floating-sub {
  font-size: 0.7rem;
  color: #9ca3af;
}

.hero-floating-year {
  padding-left: 0.5rem;
  border-left: 1px solid rgba(156, 163, 175, 0.4);
  font-size: 0.78rem;
  color: #facc15;
  display: flex;
  flex-direction: column;
}

.hero-floating-year span:first-child {
  font-weight: 700;
}

/* Section chung */
.section {
  padding: 2rem 0 2.4rem;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--primary-red-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.section-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-red-dark));
}

.section-title {
  font-size: 1.4rem;
  margin: 0.2rem 0 0.4rem;
}

.section-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 28rem;
}

.section-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Grid cards chủ đề nổi bật */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.feature-media {
  height: 120px;
  background: radial-gradient(circle at top left, #fbe9e7 0, #f1f8e9 40%, #e3f2fd 100%);
  position: relative;
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ảnh lấp đầy khung 120px, không méo */
  display: block;
}

.feature-media-note {
  position: absolute;
  inset: 8px 10px;
  border-radius: 14px;
  border: 1px dashed rgba(198, 40, 40, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.feature-body {
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.feature-label {
  font-size: 0.78rem;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.feature-title {
  font-weight: 700;
}

.feature-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.feature-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-weight: 600;
  color: var(--primary-red-dark);
}

.feature-link-icon {
  font-size: 0.9rem;
}

/* Dải ảnh tiêu biểu */
.gallery-strip {
  margin-top: 2.2rem;
  background: radial-gradient(circle at top left, rgba(198, 40, 40, 0.1), rgba(46, 125, 50, 0.08));
  border-radius: 22px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.gallery-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.gallery-strip-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.gallery-strip-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.gallery-strip-link {
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--primary-red-dark);
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #111827;
  min-height: 100px;
  width: 100%;
  height: 220px;      /* chỉnh chiều cao theo ý bạn */
  overflow: hidden;
  border-radius: 15px; /* nếu card có bo góc */
 
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* QUAN TRỌNG */
  display: block;
}

.gallery-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0.5rem;
  color: #f9fafb;
  font-size: 0.72rem;
  background: linear-gradient(135deg, rgba(198, 40, 40, 0.85), rgba(46, 125, 50, 0.85));
}

.gallery-caption {
  max-width: 80%;
}

.gallery-tag {
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(249, 250, 251, 0.7);
}

/* Trích dẫn */
.quote-section {
  padding: 1.6rem 0 2.8rem;
}

.quote-card {
  background: radial-gradient(circle at top left, #111827, #020617);
  color: #e5e7eb;
  border-radius: 24px;
  padding: 1.6rem 1.7rem;
  display: grid;
  grid-template-columns: minmax(0, 3.5fr) minmax(0, 2fr);
  gap: 1.4rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.quote-mark {
  font-size: 2.2rem;
  line-height: 0.5;
  color: #facc15;
}

.quote-text {
  font-size: 1.05rem;
  line-height: 1.8;
}

.quote-author {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.quote-author span {
  color: #facc15;
}

.quote-meta {
  align-self: center;
  text-align: right;
  font-size: 0.82rem;
  color: #9ca3af;
}

.quote-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.5);
  margin-bottom: 0.5rem;
}

.quote-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
}

/* Footer */
.footer {
  margin-top: auto;
  background: #0b0b0b;
  color: #9ca3af;
  padding: 1.3rem 0 1.2rem;
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-pill {
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #f97316;
}

.footer-link {
  color: #e5e7eb;
}

/* Trang trong (giới thiệu, phong tục, ...) */
.inner-header {
  padding: 1.5rem 0 1rem;
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.breadcrumb a {
  color: var(--primary-red-dark);
}

.inner-title {
  font-size: 1.8rem;
  margin: 0.4rem 0 0.3rem;
}

.inner-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 32rem;
}

.inner-layout {
  display: grid;
  grid-template-columns: minmax(0, 3.1fr) minmax(0, 2.2fr);
  gap: 1.8rem;
  padding-bottom: 2.2rem;
}

.inner-main {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.inner-section-block {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.inner-section-title {
  font-size: 1.05rem;
  margin: 0 0 0.2rem;
}

.inner-section-tag {
  font-size: 0.8rem;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.4rem;
}

.inner-section-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.inner-list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.inner-list li + li {
  margin-top: 0.25rem;
}

.inner-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aside-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.03);
  font-size: 0.88rem;
}

.aside-title {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.aside-list {
  list-style: none;
  padding: 0;
  margin: 0.2rem 0 0;
}

.aside-list li + li {
  margin-top: 0.25rem;
}

.aside-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--primary-red-dark);
}

/* Lưới phong tục / ẩm thực / văn hoá */
.timeline {
  border-left: 2px dashed rgba(198, 40, 40, 0.4);
  padding-left: 1rem;
  margin-top: 0.6rem;
}

.timeline-item {
  position: relative;
  padding-left: 0.4rem;
  margin-bottom: 0.8rem;
}

.timeline-dot {
  position: absolute;
  left: -1.25rem;
  top: 0.3rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--primary-red);
}

.timeline-title {
  font-weight: 600;
  font-size: 0.92rem;
}

.timeline-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Gallery */
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.album-card {
 
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
 
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
}

.album-media {

  height: 160px;
 
  overflow: hidden;
  position: relative;
 
  background: radial-gradient(circle at top left, #fbe9e7 0, #f1f8e9 40%, #e3f2fd 100%);
}
.album-media img {
  
  width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.album-media-note {
  position: absolute;
  inset: 8px 10px;
  border-radius: 14px;
  border: 1px dashed rgba(198, 40, 40, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  width: 100%;
  height: 100%;
}
.album-media-note img {
  width: 200%;
  height: 200%;
  object-fit: cover;   /* QUAN TRỌNG NHẤT */
  display: block;
}

.album-body {
  padding: 0.8rem 0.9rem 0.9rem;
}

.album-title {
  font-size: 0.98rem;
  font-weight: 600;
}

.album-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Video list */
.video-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.6rem;
}

.video-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.6rem;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.96);
}

.video-thumb {
  width: 56px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #111827, #020617);
  position: relative;
}

.video-thumb::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  font-size: 0.8rem;
}

.video-info {
  font-size: 0.82rem;
}

.video-title {
  font-weight: 600;
}

.video-meta {
  color: var(--text-muted);
}

/* Câu chuyện & ký ức */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.6fr) minmax(0, 1.3fr);
  gap: 1.2rem;
}

.story-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
  font-size: 0.9rem;
}

.story-label {
  font-size: 0.78rem;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.3rem;
}

.story-title {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.story-text {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Liên hệ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 3fr);
  gap: 1.6rem;
  padding-bottom: 2.6rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 18px;
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.03);
}
.image-box {
  position: relative;
  width: 400px; /* tùy chỉnh */
}

.image-box img {
  width: 100%;
  display: block;
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 0.9rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-label {
  font-weight: 600;
}

.form-input,
.form-textarea {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.5rem 0.6rem;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 1px rgba(198, 40, 40, 0.4);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.map-wrapper {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.map-legend {
  padding: 0.5rem 0.8rem;
  background: #0b0b0b;
  color: #e5e7eb;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.map-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.map-iframe {
  border: 0;
  width: 100%;
  height: 260px;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr);
  }

  .quote-card {
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1.6fr);
  }

  .inner-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.5fr);
  }

  .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-top: 0.6rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quote-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote-meta {
    text-align: left;
  }

  .inner-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 2rem, 540px);
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .album-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
