/* =========================================================
   TRƯỜNG GIANG — Design tokens
   Ivory / Charcoal / Wood Brown / Muted Olive
   Heading: Lora (serif) — Body: Be Vietnam Pro (sans)
   ========================================================= */

:root {
  --ivory: #F6F2EA;
  --ivory-deep: #EDE5D5;
  --charcoal: #262320;
  --charcoal-soft: #4A453E;
  --wood: #8A5A38;
  --wood-dark: #5E3B22;
  --wood-light: #C99A6C;
  --olive: #5B6A4C;
  --olive-dark: #414D36;
  --line: rgba(38, 35, 32, 0.12);

  --font-head: "Lora", "Times New Roman", serif;
  --font-body: "Be Vietnam Pro", "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(.16,.84,.44,1);
  --dur: 900ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wood);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--wood);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform 400ms var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--wood); color: var(--ivory); border-color: var(--wood); }
.btn-primary:hover { background: var(--wood-dark); border-color: var(--wood-dark); }
.btn-outline { background: transparent; color: currentColor; border-color: currentColor; }
.btn-outline:hover { background: currentColor; color: var(--wood-dark); }
.btn-outline.on-dark:hover { color: var(--charcoal); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wood-dark);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.link-arrow svg { transition: transform 400ms var(--ease); width: 14px; height: 14px; }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Reveal / motion utilities ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1000ms var(--ease), transform 1000ms var(--ease);
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 120ms; }
[data-reveal-delay="2"] { transition-delay: 240ms; }
[data-reveal-delay="3"] { transition-delay: 360ms; }

.reveal-img { overflow: hidden; position: relative; }
.reveal-img::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--ivory);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 1100ms var(--ease);
  z-index: 2;
}
.reveal-img.in-view::after { transform: scaleX(0); }
.reveal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reveal-img img, .reveal-img .ph-surface {
  transform: scale(1.14);
  transition: transform 1400ms var(--ease);
}
.reveal-img.in-view img, .reveal-img.in-view .ph-surface { transform: scale(1); }

/* ---------- Wood-grain placeholder art ---------- */
/* Dùng để thay thế tạm thời cho ảnh thật — xem hướng dẫn ở cuối phản hồi */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--ivory-deep);
}
.ph-surface {
  position: absolute; inset: -4%;
  width: 108%; height: 108%;
}
.ph-label {
  position: absolute;
  left: 14px; bottom: 14px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.72);
  z-index: 3;
  font-weight: 600;
}
.ph--1 .ph-surface { background: linear-gradient(120deg, #7c5636 0%, #a97b4e 30%, #6b4527 55%, #93683f 78%, #5c3c22 100%); }
.ph--2 .ph-surface { background: linear-gradient(135deg, #4a3a2a 0%, #8a6a45 40%, #3c2e20 70%, #6f5334 100%); }
.ph--3 .ph-surface { background: linear-gradient(150deg, #5b4530 0%, #9c7a4f 35%, #443422 65%, #b08a58 100%); }
.ph--4 .ph-surface { background: linear-gradient(110deg, #3f4b36 0%, #6d5636 45%, #2c3524 75%, #82653f 100%); }
.ph--5 .ph-surface { background: linear-gradient(125deg, #6a4b30 0%, #b3865a 30%, #4b3220 60%, #8a6640 100%); }
.ph--6 .ph-surface { background: linear-gradient(140deg, #55432f 0%, #a48257 35%, #362a1c 70%, #7c5c39 100%); }
.ph--dark .ph-surface { background: linear-gradient(160deg, #2a2521 0%, #453a2e 45%, #1c1815 80%); }
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.05) 0px, rgba(0,0,0,0.05) 1px, transparent 1px, transparent 7px),
                     repeating-linear-gradient(92deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 2px, transparent 2px, transparent 11px);
  mix-blend-mode: overlay;
  z-index: 1;
}
.ph::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 -60px 80px rgba(0,0,0,0.25);
  z-index: 2;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 26px 0;
  transition: padding 500ms var(--ease), background 500ms var(--ease), box-shadow 500ms var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header.scrolled {
  padding: 14px 0;
  background: rgba(246, 242, 234, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.logo {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-header:not(.scrolled) .logo { color: var(--ivory); }
.logo small {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--wood-light);
  margin-top: 3px;
}
.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav ul { display: flex; gap: 34px; }
.main-nav a {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory);
  position: relative;
  padding-bottom: 4px;
}
.site-header.scrolled .main-nav a { color: var(--charcoal); }
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: currentColor;
  transition: right 400ms var(--ease);
}
.main-nav a:hover::after { right: 0; }
.header-cta.btn-outline { color: var(--ivory); border-color: var(--ivory); padding: 12px 22px; font-size: 11.5px; }
.site-header.scrolled .header-cta.btn-outline { color: var(--charcoal); border-color: var(--charcoal); }
.site-header.scrolled .header-cta.btn-outline:hover { color: var(--ivory); background: var(--charcoal); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 200;
}
.nav-toggle span { width: 24px; height: 1.5px; background: var(--ivory); transition: all 400ms var(--ease); }
.site-header.scrolled .nav-toggle span { background: var(--charcoal); }
.nav-open .nav-toggle span { background: var(--charcoal) !important; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 118%;
  overflow: hidden;
  /* Màu nền dự phòng — hiển thị trong lúc anh1.jpg đang tải hoặc nếu thiếu ảnh */
  background: linear-gradient(115deg, #40301f 0%, #8a6238 22%, #4c3620 42%, #a17b4c 58%, #33261a 78%, #6e5030 100%);
  will-change: transform;
}
.hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-bg::after {
  /* Lớp phủ tối để chữ hero luôn dễ đọc trên mọi ảnh nền */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,14,0.15) 0%, rgba(20,17,14,0.35) 55%, rgba(15,13,11,0.86) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--ivory);
  padding: 0 var(--gutter) 78px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wood-light);
  margin-bottom: 22px;
  display: block;
}
.hero h1 {
  font-size: clamp(40px, 7.4vw, 92px);
  line-height: 0.98;
  margin: 0 0 22px;
}
.hero h1 em {
  font-style: normal;
  display: block;
  color: var(--wood-light);
   margin-top: 10px;
}
.hero-lead {
  max-width: 560px;
  font-size: clamp(15px, 1.4vw, 17px);
  color: rgba(246,242,234,0.86);
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.hero-scrollcue {
  position: absolute;
  right: var(--gutter); bottom: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(246,242,234,0.6);
}
.hero-scrollcue .line { width: 1px; height: 46px; background: rgba(246,242,234,0.35); position: relative; overflow: hidden; }
.hero-scrollcue .line::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--wood-light);
  animation: scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }
.hero-scrollcue span { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; writing-mode: vertical-rl; }

/* =========================================================
   SECTION shell
   ========================================================= */
.section { padding: clamp(72px, 11vw, 148px) 0; position: relative; }
.section--tight { padding: clamp(56px, 8vw, 100px) 0; }
.section-head {
  max-width: 640px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  margin-top: 18px;
}
.section-head p { margin-top: 20px; font-size: 16px; color: var(--charcoal-soft); max-width: 520px; }
.section-head.center p { margin-left: auto; margin-right: auto; }

.grain-divider { width: 100%; height: 42px; overflow: hidden; }
.grain-divider svg { width: 100%; height: 100%; display: block; }
.grain-divider path {
  fill: none;
  stroke: var(--wood);
  stroke-width: 1;
  opacity: 0.55;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 1600ms var(--ease);
}
.grain-divider.in-view path { stroke-dashoffset: 0; }

/* =========================================================
   ABOUT — 02
   ========================================================= */
.about {
  background: var(--ivory-deep);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.about-media { aspect-ratio: 4/5; border-radius: 2px; }
.about-copy h2 { font-size: clamp(28px, 3.4vw, 38px); margin-top: 16px; line-height: 1.2; }
.about-copy p { margin-top: 20px; color: var(--charcoal-soft); font-size: 16px; }
.about-copy p + p { margin-top: 14px; }
.about-stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 32px 0 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.about-stat strong {
  font-family: var(--font-head);
  font-size: 56px;
  color: var(--olive-dark);
  line-height: 1;
}
.about-stat span { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--charcoal-soft); max-width: 140px; }

/* =========================================================
   PILLARS — 03
   ========================================================= */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
}
.pillar-card {
  background: var(--ivory);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pillar-media { aspect-ratio: 3/4; position: relative; overflow: hidden; }
.pillar-media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 900ms var(--ease);
}
.pillar-card:hover .pillar-media img,
.pillar-card:hover .pillar-media .ph-surface { transform: scale(1.06); }
.pillar-num {
  position: absolute; top: 20px; left: 20px; z-index: 3;
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--ivory);
  letter-spacing: 0.08em;
}
.pillar-body { padding: 30px clamp(18px, 2vw, 30px) 36px; flex: 1; display: flex; flex-direction: column; }
.pillar-body .eyebrow { margin-bottom: 14px; }
.pillar-body h3 { font-size: 21px; line-height: 1.28; margin-bottom: 14px; }
.pillar-body p { font-size: 14.5px; color: var(--charcoal-soft); margin-bottom: 22px; flex: 1; }

/* =========================================================
   WOOD CAROUSEL — 04
   ========================================================= */
.wood-gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.gallery-nav { display: flex; gap: 10px; }
.gallery-nav button {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 300ms var(--ease), border-color 300ms var(--ease);
}
.gallery-nav button:hover { background: var(--wood); border-color: var(--wood); color: var(--ivory); }
.gallery-nav svg { width: 16px; height: 16px; }

.wood-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 6px 0 26px;
  margin: 0 calc(var(--gutter) * -1);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  scrollbar-width: none;
  cursor: grab;
}
.wood-track:active { cursor: grabbing; }
.wood-track::-webkit-scrollbar { display: none; }
.wood-card {
  flex: 0 0 auto;
  width: min(72vw, 300px);
  scroll-snap-align: start;
  background: var(--ivory-deep);
}
.wood-card-media { aspect-ratio: 1/1; overflow: hidden; }
.wood-card-media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 700ms var(--ease);
}
.wood-card:hover .wood-card-media img,
.wood-card:hover .wood-card-media .ph-surface { transform: scale(1.08); }
.wood-card-body { padding: 22px 22px 26px; }
.wood-card-body h4 { font-size: 19px; margin-bottom: 4px; }
.wood-card-body .origin { font-size: 12px; color: var(--wood); font-style: italic; margin-bottom: 10px; display: block; }
.wood-card-body p { font-size: 13.5px; color: var(--charcoal-soft); margin-bottom: 16px; }
.wood-card-body .link-arrow { font-size: 11.5px; }
.wood-more { text-align: center; margin-top: 10px; }

/* =========================================================
   STATS BANNER — 05
   ========================================================= */
.stats {
  background: var(--charcoal);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.stats-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.stats::before {
  /* Lớp phủ tối trên ảnh nhà xưởng để số liệu luôn nổi bật, dễ đọc */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, #241f1aee 0%, #362b1de0 45%, #1c1815f2 100%);
  z-index: 1;
}
.stats::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(85deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 18px);
  z-index: 2;
}
.stats-inner { position: relative; z-index: 3; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat-item { text-align: left; border-left: 1px solid rgba(246,242,234,0.18); padding-left: 22px; }
.stat-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(30px, 3.4vw, 44px);
  color: var(--wood-light);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-item span { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(246,242,234,0.72); }

/* =========================================================
   PROJECTS — 06
   ========================================================= */
.projects-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 36px; }
.project-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.project-tags button {
  padding: 9px 16px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--charcoal-soft);
  border-radius: 30px;
  transition: all 300ms var(--ease);
}
.project-tags button.active, .project-tags button:hover { background: var(--wood); border-color: var(--wood); color: var(--ivory); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, minmax(220px, auto));
  gap: 18px;
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.project-card.large { grid-row: span 2; }
.project-card .ph, .project-card img { height: 100%; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.project-card .ph-surface { transition: transform 900ms var(--ease); }
.project-card:hover img,
.project-card:hover .ph-surface { transform: scale(1.07); }
.project-overlay {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background: linear-gradient(0deg, rgba(20,17,14,0.82) 0%, rgba(20,17,14,0.05) 55%);
  color: var(--ivory);
  z-index: 3;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.project-card:hover .project-overlay,
.project-card:focus-within .project-overlay { opacity: 1; transform: translateY(0); }
.project-overlay .cat { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wood-light); margin-bottom: 8px; }
.project-overlay h3 { font-size: 21px; margin-bottom: 6px; }
.project-overlay .meta { font-size: 12.5px; color: rgba(246,242,234,0.78); }

/* =========================================================
   CTA — 07
   ========================================================= */
.cta-block {
  background: var(--olive-dark);
  color: var(--ivory);
  text-align: center;
  padding: clamp(64px, 10vw, 120px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.06), transparent 45%),
              radial-gradient(circle at 80% 80%, rgba(0,0,0,0.25), transparent 50%);
}
.cta-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-block h2 { font-size: clamp(28px, 4vw, 44px); margin: 18px 0 20px; line-height: 1.18; }
.cta-block p { color: rgba(246,242,234,0.82); font-size: 16px; margin-bottom: 38px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-block .eyebrow { color: var(--wood-light); }
.cta-block .eyebrow::before { background: var(--wood-light); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--charcoal); color: rgba(246,242,234,0.75); padding: clamp(56px, 8vw, 90px) 0 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(246,242,234,0.12);
}
.footer-brand .logo { color: var(--ivory); margin-bottom: 14px; }
.logo-img {
  max-height: 45px;       /* Gioi han chieu cao toi da (co the chinh tu 35px - 50px tuy y) */
  width: auto;            /* Tu dong tinh chieu rong theo dung ty le anh */
  max-width: 100%;        /* Khong vuot qua chieu rong khung chua */
  object-fit: contain;    /* Giu nguyen ty le anh, khong bi be hay meo */
  display: block;
  margin-bottom: 12px;
   margin-left: 0;
  margin-right: auto;
}
.footer-brand p { max-width: 260px; font-size: 14px; }
.footer-col h5 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wood-light); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 14.5px; transition: color 300ms var(--ease); }
.footer-col a:hover { color: var(--ivory); }
.footer-col.footer-cta .btn { margin-top: 6px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 0; font-size: 12.5px; color: rgba(246,242,234,0.5);
  flex-wrap: wrap; gap: 10px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 16/10; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-media { aspect-ratio: 16/9; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .projects-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .project-card.large { grid-row: auto; aspect-ratio: 16/10; }
  .project-card { aspect-ratio: 16/10; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; inset: 0; background: var(--ivory); flex-direction: column; justify-content: center; align-items: center; gap: 46px; transform: translateY(-100%); transition: transform 500ms var(--ease); }
  .nav-open .main-nav { transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: center; gap: 26px; }
  .main-nav a { color: var(--charcoal); font-size: 16px; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .hero-content { padding-bottom: 56px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .hero-scrollcue { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .projects-head, .wood-gallery-head { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   ABOUT PAGE (vetruonggiang.html)
   ========================================================= */
.main-nav a[aria-current="page"] { color: var(--wood-light); }
.site-header.scrolled .main-nav a[aria-current="page"] { color: var(--wood-dark); }
.main-nav a[aria-current="page"]::after { right: 0; }

.page-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--ivory);
}
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 112%; }
.page-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,14,0.25) 0%, rgba(20,17,14,0.42) 45%, rgba(15,13,11,0.9) 100%);
  z-index: 1;
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 0 var(--gutter) 70px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.page-hero-tag { font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--wood-light); margin-bottom: 20px; display: block; }
.page-hero h1 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.16; margin-bottom: 18px; max-width: 780px; }
.page-hero-lead { max-width: 600px; font-size: 16px; color: rgba(246,242,234,0.85); }

/* Tầm nhìn / Sứ mệnh */
.compass { background: var(--ivory); }
.compass-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  padding-bottom: clamp(50px, 7vw, 90px);
  border-bottom: 1px solid var(--line);
}
.compass-item h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; margin: 16px 0 18px; }
.compass-item p { color: var(--charcoal-soft); font-size: 15.5px; }
.compass-item .tagline { margin-top: 18px; font-family: var(--font-head); font-style: italic; color: var(--wood-dark); font-size: 16px; line-height: 1.5; }

.values-strip { padding-top: clamp(50px, 7vw, 90px); }
.values-strip > .eyebrow { margin-bottom: 30px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); margin-top: 30px; }
.value-item { background: var(--ivory); padding: clamp(28px, 3vw, 42px) clamp(18px, 2vw, 28px); }
.value-item .num { font-size: 12px; color: var(--wood); letter-spacing: 0.1em; margin-bottom: 18px; display: block; }
.value-item h3 { font-family: var(--font-head); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; margin-bottom: 14px; }
.value-item p { font-size: 13.5px; color: var(--charcoal-soft); }

/* Lịch sử hình thành */
.history { background: var(--ivory-deep); }
.history-highlight { display: flex; align-items: baseline; gap: 20px; margin-bottom: 4px; }
.history-highlight strong { font-family: var(--font-head); font-size: clamp(44px, 6vw, 72px); color: var(--wood-dark); line-height: 1; }
.history-highlight span { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--charcoal-soft); max-width: 190px; }

.timeline { position: relative; margin-top: clamp(40px, 6vw, 70px); padding-left: 26px; max-width: 720px; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: clamp(30px, 4vw, 48px); padding-left: 30px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -26px; top: 4px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--wood); border: 2px solid var(--ivory-deep);
}
.timeline-item.is-emphasis::before { width: 13px; height: 13px; left: -28px; background: var(--wood-dark); }
.timeline-year { font-family: var(--font-head); font-size: 22px; color: var(--wood-dark); margin-bottom: 8px; }
.timeline-item h4 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 10px; }
.timeline-item p { font-size: 14.5px; color: var(--charcoal-soft); max-width: 560px; }

.focus-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(50px, 6vw, 80px); }
.focus-mini-card { background: var(--ivory); padding: 28px 26px; border: 1px solid var(--line); transition: border-color 300ms var(--ease), transform 300ms var(--ease); }
.focus-mini-card:hover { border-color: var(--wood); transform: translateY(-4px); }
.focus-mini-card .eyebrow { margin-bottom: 14px; }
.focus-mini-card h4 { font-size: 18px; margin-bottom: 10px; }
.focus-mini-card p { font-size: 13.5px; color: var(--charcoal-soft); margin-bottom: 16px; }

/* Cơ sở vật chất */
.facilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.facility-card { display: flex; flex-direction: column; }
.facility-media { aspect-ratio: 4/5; overflow: hidden; }
.facility-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.facility-card:hover .facility-media img { transform: scale(1.05); }
.facility-info { padding-top: 18px; }
.facility-info .tag { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wood); margin-bottom: 8px; display: block; }
.facility-info p { font-size: 14.5px; color: var(--charcoal-soft); }

@media (max-width: 980px) {
  .compass-grid { grid-template-columns: 1fr; gap: 44px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-mini-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .page-hero-content { padding-bottom: 50px; }
}

/* =========================================================
   WOOD CATALOGUE PAGE (gotunhien.html)
   ========================================================= */
.page-hero .hero-ctas { margin-top: 6px; }

/* Hai dạng gỗ cung cấp */
.supply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.supply-card {
  display: block;
  background: var(--ivory-deep);
  cursor: pointer;
  transition: transform 400ms var(--ease);
}
.supply-card:hover { transform: translateY(-4px); }
.supply-media { aspect-ratio: 16/10; overflow: hidden; }
.supply-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); display: block; }
.supply-card:hover .supply-media img { transform: scale(1.06); }
.supply-body { padding: 28px 30px 32px; }
.supply-body .num { font-family: var(--font-head); font-size: 13px; color: var(--wood); letter-spacing: 0.08em; margin-bottom: 12px; display: block; }
.supply-body h3 { font-size: clamp(21px, 2.2vw, 25px); margin-bottom: 12px; }
.supply-body p { font-size: 14.5px; color: var(--charcoal-soft); margin-bottom: 18px; }

/* Catalogue head: search + filter */
.catalog-head {
  display: flex; flex-wrap: wrap; gap: 20px;
  align-items: center; justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.catalog-search { position: relative; flex: 0 0 auto; width: min(100%, 320px); }
.catalog-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--charcoal-soft); pointer-events: none; }
.catalog-search input {
  width: 100%;
  padding: 13px 16px 13px 42px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--charcoal);
  outline: none;
  transition: border-color 300ms var(--ease);
}
.catalog-search input::placeholder { color: var(--charcoal-soft); }
.catalog-search input:focus { border-color: var(--wood); }
.catalog-filter { display: flex; gap: 10px; flex-wrap: wrap; }
.catalog-filter button, .project-tags button {
  padding: 9px 16px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--charcoal-soft);
  border-radius: 30px;
  transition: all 300ms var(--ease);
}
.catalog-filter button.active, .catalog-filter button:hover { background: var(--wood); border-color: var(--wood); color: var(--ivory); }

/* Catalogue grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
.catalog-media { aspect-ratio: 1/1; overflow: hidden; }
.catalog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); display: block; }
.catalog-card:hover .catalog-media img { transform: scale(1.08); }
.catalog-body { padding-top: 14px; }
.catalog-body h4 { font-size: 15.5px; line-height: 1.3; margin-bottom: 3px; }
.catalog-alt { font-size: 11px; color: var(--wood); font-style: italic; display: block; margin-bottom: 7px; }
.catalog-supply { font-size: 10.5px; letter-spacing: 0.03em; color: var(--charcoal-soft); text-transform: uppercase; }
.catalog-empty { display: none; text-align: center; padding: 70px 20px; color: var(--charcoal-soft); font-size: 15px; }

@media (max-width: 980px) {
  .supply-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-head { flex-direction: column; align-items: stretch; }
  .catalog-search { width: 100%; }
}

/* =========================================================
   PRODUCT PAGE (gothanhpham.html)
   ========================================================= */

/* Nội thất: 5 mini sub-category cards */
.subcat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 28px; }
.subcat-card { display: block; }
.subcat-media { aspect-ratio: 3/4; overflow: hidden; }
.subcat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); display: block; }
.subcat-card:hover .subcat-media img { transform: scale(1.06); }
.subcat-body { padding-top: 14px; }
.subcat-body h4 { font-size: 15px; margin-bottom: 4px; }
.subcat-body p { font-size: 12.5px; color: var(--charcoal-soft); }

/* Đồ thờ / Sàn & Ốp tường: banner lớn, trang trọng */
.showcase-banner { position: relative; display: block; aspect-ratio: 21/9; overflow: hidden; margin-top: 20px; }
.showcase-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); display: block; }
.showcase-banner:hover img { transform: scale(1.05); }
.showcase-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(24px, 4vw, 46px);
  background: linear-gradient(0deg, rgba(20,17,14,0.8) 0%, rgba(20,17,14,0.05) 60%);
  color: var(--ivory);
}
.showcase-overlay .eyebrow { color: var(--wood-light); margin-bottom: 12px; }
.showcase-overlay .eyebrow::before { background: var(--wood-light); }
.showcase-overlay h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; max-width: 480px; }
.showcase-overlay .link-arrow { color: var(--ivory); }

.product-group + .product-group { margin-top: clamp(50px, 6vw, 80px); }

/* Đặt hàng theo yêu cầu — section nổi bật nhất trang */
.custom-order { background: var(--charcoal); color: var(--ivory); overflow: hidden; }
.custom-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.custom-media { position: relative; min-height: 440px; overflow: hidden; }
.custom-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.custom-copy { padding: clamp(44px, 6vw, 84px) clamp(28px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.custom-copy .eyebrow { color: var(--wood-light); }
.custom-copy .eyebrow::before { background: var(--wood-light); }
.custom-copy h2 { font-size: clamp(26px, 3.2vw, 40px); margin: 16px 0 10px; line-height: 1.18; }
.custom-copy .custom-sub { font-family: var(--font-head); font-style: italic; color: var(--wood-light); font-size: 17px; margin-bottom: 22px; }
.custom-copy > p.custom-desc { color: rgba(246,242,234,0.82); font-size: 15.5px; margin-bottom: 26px; max-width: 520px; }
.custom-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.custom-chip {
  font-size: 12.5px;
  padding: 9px 16px;
  border: 1px solid rgba(246,242,234,0.3);
  border-radius: 30px;
  color: rgba(246,242,234,0.9);
}
.custom-copy .btn-primary { align-self: flex-start; }

/* Quy trình đặt hàng — 5 bước timeline ngang */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; position: relative; margin-top: 30px; }
.process-grid::before {
  content: "";
  position: absolute; top: 32px; left: 32px; right: 32px;
  height: 1px; background: var(--line); z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.process-media {
  width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
  margin-bottom: 22px; border: 1px solid var(--line); background: var(--ivory);
}
.process-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.process-num { font-family: var(--font-head); font-size: 13px; color: var(--wood); letter-spacing: 0.08em; margin-bottom: 10px; display: block; }
.process-step h4 { font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 10px; line-height: 1.35; }
.process-step p { font-size: 13.5px; color: var(--charcoal-soft); }

/* Cá nhân hóa sản phẩm — big typography, 5 mục */
.personalize-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--line); margin-top: 30px; }
.personalize-item { background: var(--ivory); padding: clamp(26px, 3vw, 38px) clamp(16px, 2vw, 22px); }
.personalize-item h3 { font-family: var(--font-head); font-size: clamp(18px, 1.8vw, 22px); margin-bottom: 12px; line-height: 1.15; }
.personalize-item p { font-size: 13px; color: var(--charcoal-soft); }

@media (max-width: 980px) {
  .subcat-grid { grid-template-columns: repeat(3, 1fr); }
  .custom-grid { grid-template-columns: 1fr; }
  .custom-media { min-height: 280px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process-grid::before { display: none; }
  .personalize-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .subcat-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-banner { aspect-ratio: 4/3; }
  .process-grid { grid-template-columns: 1fr; }
  .personalize-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   CÔNG TRÌNH GỖ PAGE (congtrinhgo.html)
   ========================================================= */
.process-grid--6 { grid-template-columns: repeat(6, 1fr); }
.project-overlay .link-arrow { color: var(--ivory); margin-top: 12px; }
.project-overlay .meta { display: block; }

@media (max-width: 980px) {
  .process-grid--6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .process-grid--6 { grid-template-columns: 1fr; }
}

/* =========================================================
   TIN TỨC PAGE (tintuc.html)
   ========================================================= */
.news-filter { display: flex; gap: 10px; flex-wrap: wrap; }
.news-filter button, .catalog-filter button, .project-tags button {
  padding: 9px 16px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--charcoal-soft);
  border-radius: 30px;
  transition: all 300ms var(--ease);
}
.news-filter button.active, .news-filter button:hover { background: var(--wood); border-color: var(--wood); color: var(--ivory); }

/* Bài viết nổi bật */
.featured-article { display: block; margin-bottom: clamp(50px, 6vw, 80px); }
.featured-media { aspect-ratio: 21/9; overflow: hidden; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); display: block; }
.featured-article:hover .featured-media img { transform: scale(1.04); }
.featured-body { padding-top: 28px; max-width: 720px; }
.featured-body .eyebrow { margin-bottom: 14px; }
.featured-body h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; line-height: 1.25; }
.featured-body p { font-size: 15.5px; color: var(--charcoal-soft); margin-bottom: 18px; }

/* Lưới bài viết */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.news-card { display: block; }
.news-media { aspect-ratio: 4/3; overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); display: block; }
.news-card:hover .news-media img { transform: scale(1.06); }
.news-body { padding-top: 18px; }
.news-body .eyebrow { margin-bottom: 10px; font-size: 11px; }
.news-body h3 { font-size: 17px; line-height: 1.35; margin-bottom: 10px; }
.news-body p { font-size: 13.5px; color: var(--charcoal-soft); margin-bottom: 14px; }

.news-loadmore-wrap { text-align: center; margin-top: clamp(40px, 5vw, 64px); }

@media (max-width: 980px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-media { aspect-ratio: 16/10; }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   LIÊN HỆ PAGE (lienhe.html)
   ========================================================= */

/* Thông tin liên hệ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.contact-media { aspect-ratio: 4/5; overflow: hidden; }
.contact-list { display: flex; flex-direction: column; gap: 0; }
.contact-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-item:first-child { padding-top: 0; }
.contact-item:last-child { border-bottom: none; }
.contact-item h4 { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wood); margin-bottom: 8px; }
.contact-item p, .contact-item a { font-size: 15.5px; color: var(--charcoal); line-height: 1.5; }
.contact-item a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--wood-light); }
.contact-item a:hover { color: var(--wood-dark); }

/* Bạn đang quan tâm đến điều gì? */
.interest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.interest-card { background: var(--ivory); padding: clamp(30px, 3vw, 42px) clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; }
.interest-card .eyebrow { margin-bottom: 16px; }
.interest-card h3 { font-size: 20px; margin-bottom: 14px; line-height: 1.3; }
.interest-card p { font-size: 14.5px; color: var(--charcoal-soft); margin-bottom: 24px; flex: 1; }
.interest-card .btn { align-self: flex-start; }

/* Form liên hệ */
.contact-form-wrap { max-width: 760px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.form-field { display: flex; flex-direction: column; gap: 9px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.03em; color: var(--charcoal); }
.form-field label .req { color: var(--wood); }
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field textarea {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--charcoal);
  outline: none;
  transition: border-color 300ms var(--ease);
  width: 100%;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--wood); }
.form-field textarea { resize: vertical; min-height: 140px; }
.radio-group, .checkbox-group { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 4px; }
.radio-option, .checkbox-option {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; color: var(--charcoal-soft); cursor: pointer;
}
.radio-option input, .checkbox-option input { accent-color: var(--wood); width: 16px; height: 16px; cursor: pointer; }
.form-submit-row { margin-top: 8px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-submit-row .btn { border: none; }
.form-note { font-size: 12.5px; color: var(--charcoal-soft); }
.form-success {
  display: none;
  background: var(--ivory-deep);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wood);
  padding: 20px 24px;
  border-radius: 2px;
  margin-top: 28px;
  font-size: 14.5px;
  color: var(--charcoal);
}
.form-success.show { display: block; }

/* Bản đồ */
.map-embed { position: relative; width: 100%; aspect-ratio: 16/7; overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-intro { max-width: 640px; margin-bottom: 28px; }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-media { aspect-ratio: 16/9; }
  .interest-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .map-embed { aspect-ratio: 4/3; }
}

/* =========================================================
   ARTICLE TEMPLATE (tin-tuc/*.html)
   ========================================================= */
.article-top { padding-top: calc(96px + 3vw); }

.breadcrumb { font-size: 12.5px; color: var(--charcoal-soft); margin-bottom: 30px; }
.breadcrumb a { color: var(--charcoal-soft); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--wood-dark); }
.breadcrumb .sep { margin: 0 8px; color: var(--line); }
.breadcrumb .current { color: var(--charcoal); }

.article-head { max-width: 760px; margin: 0 auto 40px; }
.article-head h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.2; margin: 16px 0 20px; }
.article-lead { font-size: 17px; color: var(--charcoal-soft); margin-bottom: 22px; }
.article-meta { font-size: 13px; color: var(--charcoal-soft); padding-top: 18px; border-top: 1px solid var(--line); }

.article-hero-media { max-width: 900px; margin: 0 auto; aspect-ratio: 16/8; overflow: hidden; }
.article-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.article-content { max-width: 760px; margin: 0 auto; }
.article-content h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 48px 0 18px; line-height: 1.3; }
.article-content h2:first-child { margin-top: 0; }
.article-content h3 { font-size: 18px; margin: 32px 0 14px; color: var(--wood-dark); }
.article-content p { font-size: 16px; line-height: 1.8; color: var(--charcoal); margin-bottom: 20px; }
.article-content ul { margin: 0 0 22px; padding-left: 20px; }
.article-content li { font-size: 16px; line-height: 1.8; color: var(--charcoal); margin-bottom: 10px; }
.article-content li strong { color: var(--wood-dark); }
.article-content strong { color: var(--charcoal); font-weight: 700; }

.article-figure { margin: 34px 0; }
.article-figure img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.article-figure figcaption { font-size: 12.5px; color: var(--charcoal-soft); margin-top: 10px; font-style: italic; }

.article-table-wrap { overflow-x: auto; margin: 28px 0 34px; border: 1px solid var(--line); }
.article-table { width: 100%; border-collapse: collapse; min-width: 580px; }
.article-table th, .article-table td { padding: 14px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.article-table th { background: var(--wood); color: var(--ivory); font-weight: 600; font-size: 12.5px; letter-spacing: 0.03em; text-transform: uppercase; }
.article-table tr:last-child td { border-bottom: none; }
.article-table tr:nth-child(even) td { background: var(--ivory-deep); }

.article-closing-note {
  background: var(--ivory-deep);
  border-left: 3px solid var(--wood);
  padding: 26px 28px;
  margin: 44px 0;
  font-size: 15.5px;
  color: var(--charcoal-soft);
}
.article-closing-note strong { color: var(--charcoal); }
.article-closing-note p:last-child { margin-bottom: 0; }

.article-back { max-width: 760px; margin: 54px auto 0; }
.article-back .link-arrow svg { transform: rotate(180deg); }

@media (max-width: 640px) {
  .article-hero-media { aspect-ratio: 4/3; }
}

/* Bỏ padding dưới của phần đầu bài viết */
.article-top {
  padding-bottom: 0;
}

/* Giảm padding trên của section chứa nội dung ngay sau đó */
.article-top + .section--tight {
  padding-top: 40px; /* Hoặc 30px tùy mức độ khoảng cách bạn muốn */
}

/* Thêm dòng này vào CSS để test xem có đúng do data-reveal không */
[data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
