/* ============================================================
   CÔNG THỌ 1 — congtho1.vn
   Stylesheet chính — HTML/CSS thuần, không framework
   ============================================================ */

:root {
  --brown-900: #2e2318;
  --brown-800: #3e2f1c;
  --brown-700: #5a4326;
  --brown-600: #6b4f2a;
  --brown-500: #8a6a3f;
  --tan-400:   #b08d57;
  --tan-300:   #c8ab7c;
  --cream-100: #f7f2e8;
  --cream-200: #efe6d4;
  --cream-300: #e4d6bc;
  --gold:      #c9a227;
  --gold-dark: #a5841c;
  --red-accent:#8c1c13;
  --white:     #ffffff;
  --text:      #33291b;
  --text-soft: #5f5442;
  --shadow-sm: 0 1px 4px rgba(46, 35, 24, .12);
  --shadow-md: 0 6px 18px rgba(46, 35, 24, .16);
  --shadow-lg: 0 14px 40px rgba(46, 35, 24, .22);
  --radius: 10px;
  --font-heading: Cambria, 'Times New Roman', 'Segoe UI', serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--tan-400) var(--cream-200); }

/* ---------- Scrollbar (tông nâu-vàng Công Thọ) ---------- */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--cream-200); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--tan-400), var(--brown-600));
  border-radius: 999px; border: 3px solid var(--cream-200);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--gold), var(--brown-700)); }
::-webkit-scrollbar-corner { background: var(--cream-200); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream-100);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brown-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--brown-800);
  line-height: 1.3;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }

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

.section { padding: 56px 0; }
.section--alt { background: var(--cream-200); }

/* ---------- Topbar ---------- */
.topbar {
  background: linear-gradient(90deg, #bd9a5d 0%, #8a6a3f 100%);
  color: var(--brown-900);
  font-size: .85rem;
  padding: 6px 0;
}
.topbar__inner {
  display: flex; flex-wrap: wrap; gap: 6px 22px;
  align-items: center; justify-content: space-between;
}
.topbar a { color: #3a2c19; white-space: nowrap; }
.topbar a:hover { color: #fff; }
.topbar__phones { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.topbar__phones a::before { content: "\260E\FE0E"; margin-right: 7px; color: #5a1109; font-size: .95em; }
.topbar__left { display: flex; align-items: center; gap: 14px; }
.topbar__social { display: flex; align-items: center; gap: 4px; }
.topbar__social a {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; color: #3a2c19;
  transition: background .2s ease, color .2s ease;
}
.topbar__social a:hover { background: #3a2c19; color: var(--gold); }
.topbar__social svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 242, 232, .96);
  box-shadow: var(--shadow-sm);
}
/* backdrop-filter chỉ bật trên desktop: trên mobile nó biến header thành
   "containing block" khiến menu position:fixed bị nhốt/che trong header */
@media (min-width: 881px) {
  .header { backdrop-filter: blur(8px); }
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 210px; height: auto; }

/* ---------- Nav ---------- */
.nav { display: flex; align-items: center; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav li { position: relative; }
.nav a {
  display: block; padding: 10px 14px;
  font-weight: 600; font-size: .92rem; letter-spacing: .02em;
  color: var(--brown-800); border-radius: 6px;
  text-transform: uppercase; white-space: nowrap;
}
/* Mục cấp 1: icon riêng + hover/active gạch chân đỏ logo */
.nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 8px;
  position: relative; background: transparent;
}
.nav > ul > li > a::before {
  content: ""; flex: 0 0 18px; width: 18px; height: 18px; opacity: .85;
  background-color: currentColor;
  -webkit-mask: var(--nav-ic) center / contain no-repeat;
          mask: var(--nav-ic) center / contain no-repeat;
}
.nav > ul > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px;
  height: 2px; border-radius: 2px; background: var(--red-accent);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav > ul > li:hover > a, .nav > ul > li > a.active { color: var(--red-accent); background: transparent; }
.nav > ul > li:hover > a::after, .nav > ul > li > a.active::after { transform: scaleX(1); }

.nav > ul > li > a[href="./"]         { --nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9.5 20v-6h5v6'/%3E%3C/svg%3E"); }
.nav > ul > li > a[href="gioi-thieu"] { --nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5'/%3E%3Cpath d='M12 7.7h.01'/%3E%3C/svg%3E"); }
.nav > ul > li > a[href="dich-vu"]    { --nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4c1.8 2.4 1.8 5.6 0 9-1.8-3.4-1.8-6.6 0-9z'/%3E%3Cpath d='M11.2 12.4C8.2 9.8 4.6 10 3 12.4c1.3 2.9 4.9 3.4 8.2.9z'/%3E%3Cpath d='M12.8 12.4c3-2.6 6.6-2.4 8.2 0-1.3 2.9-4.9 3.4-8.2.9z'/%3E%3Cpath d='M4.5 13.8c1.9 2.7 4.7 3.6 7.5 3.6s5.6-.9 7.5-3.6'/%3E%3C/svg%3E"); }
.nav > ul > li > a[href="hoat-dong"]  { --nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.6-7-9.4A3.7 3.7 0 0112 8a3.7 3.7 0 017 2.6C19 15.4 12 20 12 20z'/%3E%3C/svg%3E"); }
.nav > ul > li > a[href="kien-thuc-tang-le"] { --nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 014 4v13a3 3 0 00-3-3H2z'/%3E%3Cpath d='M22 4h-6a4 4 0 00-4 4v13a3 3 0 013-3h7z'/%3E%3C/svg%3E"); }
.nav > ul > li > a[href="ban-do"]     { --nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s6.5-5.6 6.5-10.5A6.5 6.5 0 105.5 10.5C5.5 15.4 12 21 12 21z'/%3E%3Ccircle cx='12' cy='10.3' r='2.4'/%3E%3C/svg%3E"); }
.nav > ul > li > a[href="lien-he"]    { --nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 01-2.2 2 19.8 19.8 0 01-8.6-3.1 19.5 19.5 0 01-6-6A19.8 19.8 0 012 4.2 2 2 0 014 2h3a2 2 0 012 1.7c.1.9.3 1.8.6 2.7a2 2 0 01-.5 2.1L8 9.6a16 16 0 006 6l1.1-1.1a2 2 0 012.1-.5c.9.3 1.8.5 2.7.6a2 2 0 011.7 2z'/%3E%3C/svg%3E"); }

/* Submenu: nền kem gradient, viền đỏ, hoa sen Công Thọ đầu dòng */
.nav .submenu {
  position: absolute; top: 100%; left: 0; min-width: 264px;
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--white) 60%);
  border-radius: 12px; border-top: 3px solid var(--red-accent);
  box-shadow: var(--shadow-md); padding: 10px;
  display: flex; flex-direction: column; gap: 2px; z-index: 120;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.nav > ul > li:hover > .submenu,
.nav > ul > li:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .submenu a {
  text-transform: none; font-weight: 500;
  padding: 9px 14px 9px 36px; border-radius: 8px;
  position: relative; color: var(--brown-800);
  transition: background .18s ease, color .18s ease, padding .18s ease;
}
.nav .submenu a::before {
  content: ""; position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; opacity: .92;
  background: url("../img/logo-congtho1/congthoi-icon-trong-suot.png") center / contain no-repeat;
}
.nav .submenu a:hover, .nav .submenu a:focus, .nav .submenu a.active {
  background: var(--cream-200); color: var(--red-accent); padding-left: 42px;
}

.nav-toggle {
  display: none; background: none; border: 2px solid var(--brown-600);
  border-radius: 8px; padding: 7px 11px; cursor: pointer;
  color: var(--brown-800); font-size: 1.15rem; line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(rgba(46,35,24,.72), rgba(46,35,24,.72)),
              url('../img/gallery/goi-5-tang-le-song-song.jpg') center 30% / cover no-repeat;
  color: var(--cream-100);
  text-align: center;
  padding: 84px 20px;
}
.hero--page {
  padding: 66px 20px 58px; position: relative; overflow: hidden;
  background:
    radial-gradient(62% 95% at 50% 0%, rgba(201,162,39,.20), transparent 60%),
    linear-gradient(120deg, #3a2c19 0%, #6b4f2a 55%, #8a6a3f 100%);
  border-width: 2px 0; border-style: solid;
  border-image: linear-gradient(90deg, transparent 4%, var(--gold) 22%, var(--gold) 78%, transparent 96%) 1;
}
/* Hoa sen mờ trung tâm */
.hero--page::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: .07; background: center / 320px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 22 C64 34 62 46 60 60 C58 46 56 34 60 22 Z M40 34 C50 42 55 52 60 60 C48 60 36 54 30 46 C30 40 34 36 40 34 Z M80 34 C70 42 65 52 60 60 C72 60 84 54 90 46 C90 40 86 36 80 34 Z M30 54 C42 58 52 60 60 60 C50 66 38 68 26 66 C24 62 26 58 30 54 Z M90 54 C78 58 68 60 60 60 C70 66 82 68 94 66 C96 62 94 58 90 54 Z' fill='%23c9a227'/%3E%3C/svg%3E");
}
.hero--page h1 {
  display: block; position: relative; z-index: 2;
  color: var(--cream-100); text-shadow: 0 2px 14px rgba(0,0,0,.45);
  margin: 0; padding-bottom: 34px;
}
.hero--page h1 strong { color: var(--gold); }
/* Hoa văn vàng dưới tiêu đề */
.hero--page h1::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%);
  width: 210px; height: 20px; background: center / contain no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 210 20'%3E%3Cpath d='M18 10 H82' stroke='%23c9a227' stroke-width='1.4' fill='none'/%3E%3Cpath d='M128 10 H192' stroke='%23c9a227' stroke-width='1.4' fill='none'/%3E%3Ccircle cx='82' cy='10' r='2.6' fill='%23c9a227'/%3E%3Ccircle cx='128' cy='10' r='2.6' fill='%23c9a227'/%3E%3Cpath d='M105 2 C109 7 109 13 105 18 C101 13 101 7 105 2 Z' fill='%23c9a227'/%3E%3Cpath d='M105 18 C97 15 92 12 91 7 C97 8 102 12 105 18 Z' fill='%23c9a227'/%3E%3Cpath d='M105 18 C113 15 118 12 119 7 C113 8 108 12 105 18 Z' fill='%23c9a227'/%3E%3C/svg%3E");
}
.hero--page .breadcrumb {
  display: inline-block; margin-top: 18px; position: relative; z-index: 2;
  color: var(--cream-200); background: rgba(255,255,255,.10);
  border: 1px solid rgba(201,162,39,.4); padding: 6px 18px; border-radius: 999px;
}
.hero--page .breadcrumb a { color: var(--cream-300); }

/* Home hero: Ivory Elegance — nền kem sáng, hoa sen SVG mờ 2 góc */
.hero--home {
  background: var(--cream-100);
  color: var(--brown-800);
  padding: 90px 20px 108px;
  overflow: hidden;
}
.hero--home::before,
.hero--home::after {
  content: ""; position: absolute; pointer-events: none;
  width: 240px; height: 240px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 22 C64 34 62 46 60 60 C58 46 56 34 60 22 Z M40 34 C50 42 55 52 60 60 C48 60 36 54 30 46 C30 40 34 36 40 34 Z M80 34 C70 42 65 52 60 60 C72 60 84 54 90 46 C90 40 86 36 80 34 Z M30 54 C42 58 52 60 60 60 C50 66 38 68 26 66 C24 62 26 58 30 54 Z M90 54 C78 58 68 60 60 60 C70 66 82 68 94 66 C96 62 94 58 90 54 Z' fill='%235a4326'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  opacity: .08;
}
.hero--home::before { top: 30px; left: 30px; }
.hero--home::after  { bottom: 30px; right: 30px; transform: rotate(180deg); }
.hero--home .hero__inner {
  position: relative; z-index: 1;
  max-width: 880px; margin: 0 auto;
  padding: 42px 30px 46px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(201,162,39,.42);
  border-radius: 14px;
  box-shadow:
    inset 0 0 0 4px rgba(255,255,255,.35),
    inset 0 0 0 5px rgba(201,162,39,.14),
    0 12px 32px rgba(90,67,38,.10);
}
@media (max-width: 720px) {
  .hero--home { padding: 60px 14px 72px; }
  .hero--home .hero__inner { padding: 30px 20px; }
  .hero--home::before, .hero--home::after { width: 130px; height: 130px; top: 12px; left: 12px; }
  .hero--home::after { top: auto; left: auto; bottom: 12px; right: 12px; }
}
.hero--home h1 { color: var(--brown-800); margin-bottom: .35em; text-shadow: none; }
.hero--home .hero__logo {
  width: 220px; height: auto; margin: 0 auto 16px;
  background: var(--white); padding: 16px 20px; border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.hero--home .hero-co {
  display: block; font-family: var(--font-body);
  font-size: clamp(.8rem, 1.8vw, 1.05rem); font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase; color: var(--brown-600);
  margin-bottom: .45em;
}
.hero--home .hero-name {
  display: block; font-size: clamp(2.3rem, 7vw, 3.9rem); line-height: 1.1;
  background: linear-gradient(180deg, #d4b23c 0%, var(--gold) 45%, #8b6d10 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(255,255,255,.6));
  letter-spacing: .04em;
}
.hero--home .tagline {
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  color: var(--text-soft); max-width: 760px; margin: 0 auto 1.4em;
  font-style: italic;
}
.hero--home .hero-address {
  display: inline-block; font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  color: var(--gold-dark); letter-spacing: .02em; font-weight: 700;
}
.hero--home .hero-phones {
  margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center;
  font-weight: 700; font-size: clamp(.95rem, 2.2vw, 1.15rem);
}
.hero--home .hero-phones a { color: var(--brown-700); }
.hero--home .hero-phones a:hover { color: var(--gold-dark); }
.hero--home .btn--outline {
  border-color: var(--brown-700); color: var(--brown-800);
}
.hero--home .btn--outline:hover {
  background: var(--brown-700); color: var(--cream-100);
}
.hero--home .btn-group { margin-top: 26px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .btn-group { margin-top: 26px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.breadcrumb {
  font-size: .85rem; color: var(--tan-300); margin-top: 10px;
}
.breadcrumb a { color: var(--cream-300); }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:active { transform: scale(.97); }
.btn--gold { background: var(--gold); color: var(--brown-900); }
.btn--gold:hover { background: var(--gold-dark); color: var(--white); box-shadow: var(--shadow-md); }
.btn--outline { border: 2px solid var(--tan-300); color: var(--cream-100); }
.btn--outline:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn--brown { background: var(--brown-600); color: var(--white); }
.btn--brown:hover { background: var(--brown-800); color: var(--white); box-shadow: var(--shadow-md); }

/* ---------- Section heading ---------- */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 38px; }
.sec-head .kicker {
  display: inline-block; font-size: .8rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: 8px;
}
.sec-head h2::after {
  content: ""; display: block; width: 64px; height: 3px;
  background: var(--gold); margin: 14px auto 0; border-radius: 2px;
}
.sec-head p { color: var(--text-soft); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card__body h3 a { color: var(--brown-800); }
.card__body h3 a:hover { color: var(--gold-dark); }
.card__body p { color: var(--text-soft); font-size: .95rem; flex: 1; }
.card__link { font-weight: 700; font-size: .9rem; color: var(--gold-dark); }
.card__link:hover { color: var(--brown-800); }
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card__video { aspect-ratio: 16/10; object-fit: cover; width: 100%; display: block; background: var(--brown-900); }

.icon-circle {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--cream-200); color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}

/* ---------- Feature (why us) ---------- */
.feature { background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature h3 { font-size: 1.15rem; }
.feature p, .feature li { color: var(--text-soft); font-size: .95rem; }
.feature ul { padding-left: 20px; margin: 8px 0 0; }

/* ---------- Why-card: "Tại sao chọn" với số thứ tự + icon vàng gradient ---------- */
.why-card {
  background: var(--white); border-radius: var(--radius);
  padding: 40px 24px 28px; box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
  position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.why-card__num {
  position: absolute; top: 12px; right: 18px;
  font-family: var(--font-heading); font-size: 3.2rem; font-weight: 700;
  color: var(--cream-200); line-height: 1; user-select: none;
}
.why-card__icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(201,162,39,.35);
  position: relative; z-index: 1;
}
.why-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why-card p { color: var(--text-soft); font-size: .95rem; margin: 0; }

/* ---------- Pack-card: "Gói dịch vụ" với ảnh top + badge + 2 CTA ---------- */
.pack-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.pack-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pack-card__img {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: var(--brown-900);
}
.pack-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.pack-card:hover .pack-card__img img { transform: scale(1.08); }
.pack-card__badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: var(--brown-900);
  padding: 8px 16px; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 700; font-size: .92rem;
  letter-spacing: .02em; box-shadow: var(--shadow-md);
}
.pack-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pack-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.pack-card h3 a { color: var(--brown-800); }
.pack-card h3 a:hover { color: var(--gold-dark); }
.pack-card p { color: var(--text-soft); font-size: .95rem; margin: 0 0 18px; flex: 1; }
.pack-card__actions {
  display: flex; gap: 10px; padding-top: 16px;
  border-top: 1px dashed var(--cream-300);
}
.pack-card__actions a {
  flex: 1; text-align: center; padding: 10px 14px;
  border-radius: 999px; font-weight: 700; font-size: .85rem;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pack-card__see { color: var(--brown-800); border: 1.5px solid var(--tan-300); }
.pack-card__see:hover { background: var(--cream-200); color: var(--brown-900); border-color: var(--gold); }
.pack-card__call { background: var(--gold); color: var(--brown-900); }
.pack-card__call:hover { background: var(--gold-dark); color: var(--white); }
@media (max-width: 480px) {
  .pack-card__actions { flex-direction: column; gap: 8px; }
}

/* ---------- Content page ---------- */
.content-page { max-width: 860px; margin: 0 auto; }
.content-page ul { padding-left: 22px; }
.content-page li { margin-bottom: 6px; }
.content-page .lead { font-size: 1.08rem; color: var(--text-soft); }

/* ---------- Article sidebar (bài viết Kiến thức tang lễ) ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.article-layout .content-page { max-width: none; margin: 0; }
.article-aside { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 100px; }
.aside-box {
  background: var(--white); border-radius: var(--radius); border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-sm); padding: 22px 22px 8px;
}
.aside-box h3 { font-size: 1.02rem; margin-bottom: 4px; }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list li { border-bottom: 1px dashed var(--cream-300); }
.aside-list li:last-child { border-bottom: none; }
.aside-list a { display: block; padding: 10px 2px; font-size: .92rem; color: var(--text); line-height: 1.4; }
.aside-list a:hover { color: var(--gold-dark); }
.aside-list a.is-current { color: var(--gold-dark); font-weight: 700; }
.aside-list--other li { padding-bottom: 6px; }
.aside-list--other a { padding-bottom: 2px; }
.aside-list__meta { display: block; font-size: .76rem; color: var(--text-soft); padding: 0 2px 10px; }
.sec-head[id] { scroll-margin-top: 96px; }

/* ---------- Box Kiến thức tang lễ trên trang chủ ---------- */
.kt-home-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 26px; align-items: start; }
.kt-home-cats, .kt-home-feat {
  background: var(--white); border: 1px solid var(--cream-300); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 22px 24px;
}
.kt-home-cats h3, .kt-home-feat h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--brown-800); }
.kt-home-cats ul { list-style: none; margin: 0; padding: 0; }
.kt-home-cats li { border-bottom: 1px dashed var(--cream-300); }
.kt-home-cats li:last-child { border-bottom: none; }
.kt-home-cats a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 11px 2px; color: var(--text); font-weight: 600; font-size: .95rem;
}
.kt-home-cats a:hover { color: var(--gold-dark); }
.kt-home-count {
  font-size: .78rem; font-weight: 700; color: var(--brown-600);
  background: var(--cream-200); border-radius: 20px; padding: 2px 10px; white-space: nowrap;
}
.kt-home-feat ol { list-style: none; margin: 0; padding: 0; counter-reset: kt; }
.kt-home-feat li { counter-increment: kt; border-bottom: 1px dashed var(--cream-300); }
.kt-home-feat li:last-child { border-bottom: none; }
.kt-home-feat a { display: flex; gap: 14px; align-items: baseline; padding: 12px 2px; color: var(--text); line-height: 1.45; }
.kt-home-feat a::before {
  content: counter(kt, decimal-leading-zero);
  font-weight: 800; font-size: 1.15rem; color: var(--gold); min-width: 32px;
}
.kt-home-feat a:hover { color: var(--gold-dark); }

.notice {
  background: var(--cream-200); border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0; padding: 18px 22px; margin: 28px 0;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white); border: 1px solid var(--tan-300);
  border-radius: var(--radius); padding: 0 24px; transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 0;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--brown-800);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 24px; text-align: center;
  font-size: 1.3rem; font-weight: 400; line-height: 1; color: var(--gold-dark);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer {
  margin: 0; padding: 0 0 20px; border-top: 1px solid var(--cream-300);
  padding-top: 14px; color: var(--text-soft); line-height: 1.75; text-wrap: pretty;
}

/* ---------- Timeline (gioi thieu) ---------- */
.timeline { list-style: none; padding: 0; margin: 30px 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px;
  width: 2px; background: var(--tan-300);
}
.timeline li { position: relative; padding: 0 0 26px 38px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); border: 4px solid var(--cream-100);
  box-shadow: 0 0 0 2px var(--tan-300);
}
.timeline .year { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--brown-700); display: block; }

/* ---------- Service detail ---------- */
.service-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.service-box {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 28px; position: sticky; top: 100px;
}
.service-box .price { font-family: var(--font-heading); font-size: 1.3rem; color: var(--red-accent); margin-bottom: 4px; }
.service-box .note { font-size: .88rem; color: var(--text-soft); margin-bottom: 18px; }
.service-box .btn { width: 100%; text-align: center; margin-bottom: 10px; }
.service-list { list-style: none; padding: 0; margin: 20px 0; }
.service-list li { padding: 10px 0 10px 34px; border-bottom: 1px dashed var(--cream-300); position: relative; }
.service-list li::before {
  content: "✔"; position: absolute; left: 4px; color: var(--gold-dark); font-weight: 700;
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-grid a {
  display: block; padding: 7px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: var(--shadow-sm); transition: box-shadow .3s ease, transform .3s ease;
}
.gallery-grid a:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.gallery-grid__frame {
  display: block; position: relative; overflow: hidden;
  border-radius: 7px; border: 1px solid rgba(255,255,255,.35);
}
.gallery-grid img {
  aspect-ratio: 1/1; object-fit: cover; width: 100%; display: block;
  transition: transform .35s ease;
}
.gallery-grid a:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(30, 22, 12, .93);
  display: none; align-items: center; justify-content: center;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; border-radius: 6px; box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute; background: rgba(255,255,255,.12); border: none;
  color: var(--white); font-size: 1.6rem; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,.3); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Loi nhan (Sinh Lao Benh Tu) ---------- */
.quote-section {
  background: var(--brown-900);
  padding: 66px 0;
  position: relative;
  overflow: hidden;
}
.quote-section::before,
.quote-section::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(201,162,39,0.13) 0%, transparent 70%);
}
.quote-section::before { top: -90px; left: -90px; width: 320px; height: 320px; }
.quote-section::after  { bottom: -110px; right: -110px; width: 380px; height: 380px; }
/* Dai ruy bang vang - noi giua Hero va Loi nhan */
.hero--home + .quote-section {
  border-top: 3px solid var(--gold);
  border-image: linear-gradient(90deg, transparent 5%, var(--gold) 25%, var(--gold) 75%, transparent 95%) 1;
}
.quote-card {
  position: relative;
  max-width: 800px; margin: 0 auto;
  color: var(--cream-100);
  padding: 20px 46px 10px;
  text-align: center;
}
.quote-card__mark {
  position: absolute;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 7rem; line-height: 1;
  color: rgba(201,162,39,.32);
  pointer-events: none; user-select: none;
}
.quote-card__mark--top { top: -22px; left: -14px; }
.quote-card__mark--bottom {
  bottom: -60px; right: -14px; transform: rotate(180deg);
}
.quote-card__kicker {
  font-family: var(--font-heading);
  color: var(--gold);
  letter-spacing: .28em;
  font-size: .82rem;
  margin-bottom: 22px;
  text-transform: uppercase;
  position: relative;
}
.quote-card__kicker::before,
.quote-card__kicker::after {
  content: ""; display: inline-block;
  width: 32px; height: 1px; background: var(--gold);
  vertical-align: middle; margin: 0 12px;
  opacity: .55;
}
.quote-card__body {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.06rem;
  line-height: 1.9;
  color: var(--cream-200);
}
.quote-card__body p { margin: 0 0 14px; }
.quote-card__body strong {
  color: var(--gold); font-style: normal; font-weight: 700;
}
.quote-card__signoff {
  margin-top: 6px !important;
  color: var(--white) !important;
  font-size: 1.02rem;
}
.quote-card__cta {
  margin-top: 22px;
  border-radius: 999px;
  padding: 12px 26px;
}

/* ---------- Stat band (Gioi thieu) ---------- */
.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: 30px 0 36px;
}
.stat-card {
  background: var(--white);
  padding: 16px 16px;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-card__icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--cream-200); color: var(--brown-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.stat-card__meta { min-width: 0; }
.stat-card__num {
  font-family: var(--font-heading); font-size: 1.7rem; font-weight: 700;
  color: var(--brown-700); line-height: 1;
}
.stat-card__label {
  font-size: .84rem; color: var(--text-soft); margin-top: 3px;
}

/* ---------- Video tabs + card grid (trang chu) ---------- */
.video-tabs {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin: 6px 0 30px;
}
.video-tab {
  background: transparent; color: var(--brown-700);
  padding: 8px 20px; border-radius: 999px;
  border: 1px solid var(--tan-400);
  font-family: var(--font-body); font-size: .94rem; font-weight: 500;
  cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.video-tab:hover { background: var(--cream-200); color: var(--brown-800); }
.video-tab.is-active {
  background: var(--brown-700); color: var(--cream-100); border-color: var(--brown-700);
}
.video-card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.video-card {
  background: var(--cream-200); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.video-card.is-hidden { display: none; }
.video-card__media {
  position: relative; aspect-ratio: 16 / 10;
  background: var(--brown-900); overflow: hidden;
}
.video-card__media > video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.video-card .video-frame {
  padding-top: 0; aspect-ratio: 16 / 10;
  border-radius: 0; box-shadow: none;
}
.video-card__caption {
  padding: 12px 16px 16px; margin: 0;
  font-family: var(--font-heading); font-weight: 700;
  color: var(--brown-800); font-size: 1rem; line-height: 1.4;
}
.video-card__caption span {
  display: block; font-family: var(--font-body); font-weight: 400;
  font-size: .82rem; color: var(--text-soft); margin-top: 4px;
}

/* ---------- Video ---------- */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.video-frame {
  position: relative; padding-top: 56.25%; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-md); background: var(--brown-900);
}
.video-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* ---------- YouTube facade (click-to-play) ---------- */
.yt-facade { cursor: pointer; }
.yt-facade > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .35s ease;
}
.yt-facade:hover > img { transform: scale(1.04); }
.yt-facade__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 52px; border: 0; border-radius: 14px;
  background: rgba(190, 25, 25, .92); color: #fff; font-size: 1.45rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: background .2s ease, transform .2s ease;
}
.yt-facade:hover .yt-facade__play { background: #d40000; transform: translate(-50%, -50%) scale(1.08); }
.yt-facade__ext {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  background: rgba(0, 0, 0, .65); color: #fff !important;
  font-size: .78rem; font-weight: 600; padding: 6px 13px; border-radius: 999px;
}
.yt-facade__ext:hover { background: rgba(0, 0, 0, .9); }

/* HTML5 video (mp4 offline) */
.video-el {
  width: 100%; display: block; border-radius: var(--radius);
  box-shadow: var(--shadow-md); background: var(--brown-900);
  aspect-ratio: 16/9; object-fit: cover;
}

/* ---------- Photo carousel (slide) ---------- */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 14px; overflow-x: auto;
  scroll-snap-type: x proximity; scroll-behavior: smooth;
  padding: 4px 4px 10px; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track a {
  flex: 0 0 auto; width: 235px; scroll-snap-align: start;
  border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.carousel__track img {
  width: 235px; height: 195px; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.carousel__track a:hover img { transform: scale(1.07); }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--brown-700); color: var(--cream-100); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: background .2s ease;
}
.carousel__btn:hover { background: var(--gold-dark); }
.carousel__btn--prev { left: -10px; }
.carousel__btn--next { right: -10px; }
@media (max-width: 720px) {
  .carousel__track a, .carousel__track img { width: 170px; }
  .carousel__track img { height: 145px; }
}

/* ---------- Hotline card (chen vao section Gioi thieu) ---------- */
.hotline-card {
  margin-top: 22px;
  background: linear-gradient(135deg, var(--brown-900) 0%, var(--brown-700) 100%);
  color: var(--cream-100);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.hotline-card::before {
  content: ""; position: absolute; top: -34px; right: -34px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,.28) 0%, transparent 70%);
  pointer-events: none;
}
.hotline-card__ping {
  display: flex; align-items: center; gap: 12px;
  font-size: .76rem; font-weight: 600;
  color: var(--tan-300); letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 6px; position: relative;
}
.hotline-card__ping::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 5px rgba(201,162,39,0.25);
  animation: hotlinePulse 1.8s ease-in-out infinite;
}
@keyframes hotlinePulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(201,162,39,0.25); }
  50%      { box-shadow: 0 0 0 9px rgba(201,162,39,0.08); }
}
.hotline-card__main {
  display: block; position: relative;
  font-family: var(--font-heading); font-size: 2.05rem; font-weight: 700;
  color: var(--gold) !important; letter-spacing: .02em; line-height: 1.05;
}
.hotline-card__main:hover { color: var(--white) !important; }
.hotline-card__main-sub {
  font-size: .9rem; color: var(--cream-100); margin-top: 2px;
  position: relative;
}
.hotline-card__extras {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin: 16px 0 14px; position: relative;
}
.hotline-card__extra {
  display: block;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,162,39,.35);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--cream-100) !important;
  transition: background .2s ease, border-color .2s ease;
}
.hotline-card__extra:hover {
  background: rgba(201,162,39,.14);
  border-color: rgba(201,162,39,.7);
  color: var(--gold) !important;
}
.hotline-card__extra strong {
  display: block;
  font-family: var(--font-heading); font-size: 1.02rem; font-weight: 700;
  letter-spacing: .02em;
}
.hotline-card__extra em {
  display: block;
  font-style: normal; font-size: .78rem; color: var(--tan-300);
  margin-top: 1px;
}
.hotline-card__btn {
  width: 100%; text-align: center;
  border-radius: 999px; position: relative;
  padding: 12px 18px;
}

/* ---------- Form dang ky tu van ---------- */
.form-grid { align-items: center; }
.form-intro h2 { margin-top: .3em; }
.form-intro .kicker {
  display: inline-block; font-size: .8rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: 6px;
}
.form-intro p { color: var(--text-soft); }
.form-features { list-style: none; padding: 0; margin: 20px 0; }
.form-features li {
  padding: 8px 0; color: var(--brown-800); font-weight: 600;
  border-bottom: 1px dashed var(--cream-300);
}
.form-intro__hotline {
  background: var(--cream-100); border-left: 4px solid var(--gold);
  padding: 12px 16px; border-radius: 0 8px 8px 0; margin-top: 18px;
}
.form-intro__hotline a { color: var(--red-accent); font-family: var(--font-heading); font-size: 1.25rem; }

/* ---------- Contact channels (lấp trống dưới form-intro) ---------- */
.contact-channels {
  margin-top: 22px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
}
.contact-channels__title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
  color: var(--brown-800); text-transform: uppercase; letter-spacing: .08em;
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px dashed var(--cream-300);
}
.contact-channels__title span {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: var(--brown-900);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.contact-channels__list { list-style: none; padding: 0; margin: 0 0 14px; }
.contact-channels__list li { padding: 6px 0; }
.contact-channels__list a {
  display: flex; align-items: baseline; gap: 10px;
  color: var(--brown-800); font-size: .96rem;
}
.contact-channels__list a:hover { color: var(--gold-dark); }
.contact-channels__list strong {
  font-family: var(--font-heading); font-size: 1.1rem;
  color: var(--red-accent); letter-spacing: .02em;
}
.contact-channels__list em {
  font-style: normal; font-size: .82rem; color: var(--text-soft);
}
.contact-channels__social {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding-top: 12px; border-top: 1px dashed var(--cream-300);
}
.contact-channels__social a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 4px; border-radius: 8px;
  color: var(--brown-700); font-size: .74rem; font-weight: 600;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.contact-channels__social a:hover {
  background: var(--cream-200); color: var(--gold-dark);
  transform: translateY(-2px);
}
.contact-channels__social svg {
  width: 22px; height: 22px; fill: currentColor;
}

.tuvan-form {
  background: var(--white); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-md);
  border-top: 4px solid var(--gold);
}
.tuvan-form__title {
  font-size: 1.2rem; color: var(--brown-800);
  margin: 0 0 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--cream-300);
}
.form-row { margin-bottom: 16px; }
.form-row label, .form-label {
  display: block; font-weight: 600; font-size: .92rem;
  color: var(--brown-700); margin-bottom: 6px;
}
.form-row .req { color: var(--red-accent); }
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row textarea {
  width: 100%; padding: 11px 14px; font-family: inherit; font-size: 1rem;
  border: 1.5px solid var(--cream-300); border-radius: 8px;
  background: var(--cream-100); color: var(--text);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none; border-color: var(--gold);
  background: var(--white); box-shadow: 0 0 0 3px rgba(201,162,39,.18);
}
.form-row textarea { resize: vertical; min-height: 90px; }

.form-radio-group {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px;
  background: var(--cream-100); border-radius: 8px; padding: 12px 14px;
  border: 1.5px solid var(--cream-300);
}
.form-radio-group label {
  display: flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: .95rem; color: var(--text);
  cursor: pointer; margin: 0;
}
.form-radio-group input[type="radio"] { accent-color: var(--gold-dark); width: 16px; height: 16px; }
@media (max-width: 520px) {
  .form-radio-group { grid-template-columns: 1fr; }
}

.form-row--submit { margin-top: 22px; margin-bottom: 0; text-align: center; }
.btn--wide { min-width: 220px; padding: 15px 34px; font-size: 1rem; letter-spacing: .08em; }
.form-note { font-size: .78rem; color: var(--text-soft); margin: 10px 0 0; }

.tuvan-form__msg {
  margin-top: 16px; padding: 14px 16px; border-radius: 8px;
  font-weight: 600; text-align: center;
}
.tuvan-form__msg.ok  { background: #e5f6e5; color: #196b1f; border: 1px solid #a5d9a8; }
.tuvan-form__msg.err { background: #fbe8e7; color: #8f1e15; border: 1px solid #f0b4af; }

/* ---------- Year divider (hoat dong) ---------- */
.year-divider { display: flex; align-items: center; gap: 16px; margin: 46px 0 24px; }
.year-divider .badge {
  font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700;
  color: var(--white); background: var(--brown-700);
  padding: 5px 24px; border-radius: 999px; box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.year-divider::before, .year-divider::after {
  content: ""; flex: 1; height: 2px; background: var(--tan-300); border-radius: 2px;
}

/* ---------- Video caption ---------- */
.video-caption {
  text-align: center; margin: 12px 0 0;
  font-family: var(--font-heading); font-weight: 700;
  color: var(--brown-800); font-size: 1.05rem;
}
.video-caption span {
  display: block; font-family: var(--font-body); font-weight: 500;
  font-size: .85rem; color: var(--text-soft);
}

/* ---------- Gallery hover overlay ---------- */
.gallery-grid__frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(46,35,24,.55));
  opacity: 0; transition: opacity .3s ease;
}
.gallery-grid a:hover .gallery-grid__frame::before { opacity: 1; }

/* ---------- Map ---------- */
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.map-frame iframe { width: 100%; height: 440px; border: 0; display: block; }

/* ---------- Domain chips (các website liên quan) ---------- */
.domain-chips {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-top: 30px;
}
.domain-chips a {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--red-accent); color: var(--cream-100);
  font-weight: 700; font-size: .88rem; padding: 10px 18px; border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.domain-chips a:hover {
  background: var(--brown-800); color: var(--gold);
  transform: translateY(-3px); box-shadow: var(--shadow-md);
}

/* ---------- Contact ---------- */
.contact-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 28px;
}
.contact-card h3 { display: flex; align-items: center; gap: 10px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 9px 0; border-bottom: 1px dashed var(--cream-300); }
.contact-list li:last-child { border-bottom: none; }
.contact-list strong { color: var(--brown-700); }
.contact-list a { font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brown-800), var(--brown-600));
  color: var(--cream-100); text-align: center; padding: 52px 20px;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--tan-300); max-width: 640px; margin: 0 auto 24px; }
.cta-band .phone-big {
  font-family: var(--font-heading); font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--gold); display: block; margin-bottom: 18px; letter-spacing: .03em;
}

/* ---------- Footer ---------- */
.footer { background: var(--brown-900); color: var(--cream-300); font-size: .93rem; }
.footer__grid {
  display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.1fr; gap: 32px;
  padding: 52px 0 36px;
}
.footer__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.footer__tags a {
  font-size: .76rem; background: rgba(255,255,255,.08);
  padding: 4px 11px; border-radius: 999px; white-space: nowrap;
}
.footer__tags a:hover { background: rgba(255,255,255,.18); }
.footer__badges { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.footer__badges img { background: transparent; }
.footer h4 {
  color: var(--gold); font-size: 1.02rem; text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 16px;
}
.footer a { color: var(--cream-300); }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 5px 0; }
.footer__brandimg {
  width: 190px; margin-bottom: 14px;
  background: var(--cream-100); padding: 10px 16px; border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 16px 0; text-align: center; font-size: .84rem; color: var(--tan-300);
}

/* ---------- Floating call button ---------- */
.call-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--gold); color: var(--brown-900);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; box-shadow: var(--shadow-lg);
  animation: pulse-ring 1.8s ease-out infinite;
}
.call-fab:hover { background: var(--gold-dark); color: var(--white); }
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(201, 162, 39, .55), var(--shadow-lg); }
  70%  { box-shadow: 0 0 0 20px rgba(201, 162, 39, 0), var(--shadow-lg); }
  100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0), var(--shadow-lg); }
}

/* ---------- Back to top ---------- */
.top-fab {
  position: fixed; right: 22px; bottom: 96px; z-index: 200;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--brown-700); color: var(--cream-100); font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, background .2s ease, visibility .3s;
}
.top-fab.show { opacity: 1; visibility: visible; transform: none; }
.top-fab:hover { background: var(--gold-dark); color: var(--white); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .call-fab { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .service-layout { grid-template-columns: 1fr; }
  .service-box { position: static; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .top-fab { right: 18px; bottom: 92px; }
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    background: var(--cream-100); box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .3s ease;
    padding: 84px 18px 24px; overflow-y: auto; z-index: 150;
  }
  .nav.open { transform: none; }
  .nav ul { flex-direction: column; width: 100%; }
  .nav a { padding: 13px 14px; font-size: 1rem; }
  .nav .submenu {
    position: static; display: flex; box-shadow: none; border-top: none;
    background: var(--cream-200); margin: 4px 0 6px; min-width: 0;
    opacity: 1; visibility: visible; transform: none;
  }
  .nav .submenu a { white-space: normal; line-height: 1.35; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .kt-home-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .video-card-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat-card__num { font-size: 1.5rem; }
  .stat-card__icon { width: 42px; height: 42px; font-size: 1.2rem; }
  .video-tab { padding: 7px 14px; font-size: .88rem; }
  .quote-section { padding: 46px 0; }
  .quote-card { padding: 14px 24px 6px; }
  .quote-card__mark { font-size: 4.6rem; }
  .quote-card__mark--top { top: -8px; left: -6px; }
  .quote-card__mark--bottom { bottom: -46px; right: -6px; }
  .quote-card__body { font-size: .98rem; line-height: 1.8; }
  .quote-card__kicker::before, .quote-card__kicker::after { width: 18px; margin: 0 8px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; padding: 40px 0 26px; }
  .section { padding: 42px 0; }
  .topbar__inner { justify-content: center; }
}

@media (max-width: 430px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .brand img { width: 170px; }
}
