/* ==========================================================================
   MODESA — modesa.vn
   Stylesheet chính. Sửa biến màu ở :root để đổi toàn bộ tông màu website.
   ========================================================================== */

:root {
  /* Bảng màu thương hiệu */
  --plum-900: #2E0F26;
  --plum-800: #3D1531;
  --plum-700: #5B2447;
  --plum-600: #7A3560;
  --gold-600: #B08843;
  --gold-500: #C8A063;
  --gold-300: #E4CDA3;
  --cream-50: #FCFAF7;
  --cream-100: #F7F1E9;
  --cream-200: #EFE6DA;
  --line: #E4D9CB;
  --ink: #1E1B1C;
  --ink-70: #4A4446;
  --ink-50: #7A7274;
  --white: #FFFFFF;

  /* Typography */
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --wrap: 1180px;
  --gutter: 24px;
  --radius: 4px;
  --radius-lg: 8px;

  /* Hiệu ứng */
  --shadow-sm: 0 1px 2px rgba(46, 15, 38, .06), 0 2px 8px rgba(46, 15, 38, .04);
  --shadow-md: 0 4px 16px rgba(46, 15, 38, .08), 0 12px 40px rgba(46, 15, 38, .06);
  --shadow-lg: 0 8px 32px rgba(46, 15, 38, .12), 0 24px 64px rgba(46, 15, 38, .08);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-70);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--plum-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-600); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--plum-900); font-weight: 600; line-height: 1.22; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.1vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ---------- Tiện ích bố cục ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--cream { background: var(--cream-100); }
.section--plum { background: var(--plum-900); color: rgba(255,255,255,.76); }
.section--plum h2, .section--plum h3, .section--plum h4 { color: var(--white); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.text-center { text-align: center; }
.lead { font-size: 1.075rem; line-height: 1.8; color: var(--ink-70); }

/* ---------- Nhãn & tiêu đề mục ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--plum .eyebrow { color: var(--gold-300); }

.section-head { max-width: 680px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { margin-top: 16px; }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border: 1px solid transparent; border-radius: var(--radius);
  font-size: .9rem; font-weight: 600; letter-spacing: .02em; cursor: pointer;
  transition: all .25s var(--ease); text-align: center;
}
.btn--primary { background: var(--plum-700); color: var(--white); }
.btn--primary:hover { background: var(--plum-900); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold-500); color: var(--plum-900); }
.btn--gold:hover { background: var(--gold-300); color: var(--plum-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { border-color: var(--line); color: var(--plum-800); background: transparent; }
.btn--ghost:hover { border-color: var(--plum-700); color: var(--plum-900); background: var(--white); }
.btn--ghost-light { border-color: rgba(255,255,255,.32); color: var(--white); background: transparent; }
.btn--ghost-light:hover { border-color: var(--gold-300); color: var(--gold-300); background: rgba(255,255,255,.06); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(252, 250, 247, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 20px rgba(46,15,38,.05); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 700; color: var(--plum-900); letter-spacing: .06em; }
.logo__tag { font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-600); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; padding: 10px 12px; font-size: .875rem; font-weight: 500;
  color: var(--ink-70); white-space: nowrap;
}
/* Nút CTA trong nav chỉ dùng cho menu mobile — ẩn ở màn hình rộng vì
   header đã có nút riêng trong .header__cta */
.nav > .btn { display: none; }
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav a:hover { color: var(--plum-900); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--plum-900); font-weight: 600; }

.header__cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
  background: transparent; cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span { position: absolute; left: 12px; width: 18px; height: 1.5px; background: var(--plum-800); transition: all .28s var(--ease); }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .header__cta .btn { display: none; }
  .nav {
    position: fixed; inset: 76px 0 auto; display: block; background: var(--cream-50);
    border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 28px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .3s var(--ease);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { display: block; padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--cream-200); white-space: normal; }
  .nav a::after { display: none; }
  .nav > .btn { display: flex; margin-top: 20px; border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--plum-900) 0%, var(--plum-700) 58%, var(--plum-600) 100%);
  color: rgba(255,255,255,.78);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 78% 12%, rgba(200,160,99,.26), transparent 62%),
    radial-gradient(620px 420px at 10% 92%, rgba(228,205,163,.14), transparent 60%);
}
.hero__inner { position: relative; z-index: 2; padding: clamp(80px, 11vw, 148px) 0 clamp(72px, 9vw, 120px); }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--gold-300); }
.hero__lead { max-width: 54ch; margin-top: 24px; font-size: 1.1rem; line-height: 1.8; }
.hero .btn-row { margin-top: 40px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 40px; margin-top: clamp(56px, 7vw, 88px);
  padding-top: 36px; border-top: 1px solid rgba(255,255,255,.14);
}
.hero__meta div strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--gold-300); line-height: 1.1; }
.hero__meta div span { font-size: .82rem; letter-spacing: .06em; color: rgba(255,255,255,.62); }

.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--plum-900), var(--plum-700));
  color: rgba(255,255,255,.74); padding: clamp(64px, 8vw, 108px) 0 clamp(56px, 7vw, 88px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(760px 420px at 82% 20%, rgba(200,160,99,.24), transparent 62%);
}
.page-hero > .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero p { max-width: 60ch; margin-top: 20px; }
.breadcrumb { font-size: .8rem; color: rgba(255,255,255,.55); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb span { margin-inline: 8px; }

/* ---------- Thẻ ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }
.card__icon {
  width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--cream-100); border-radius: var(--radius); color: var(--plum-700);
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: .95rem; }

/* Thẻ thương hiệu */
.brand-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.brand-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.brand-card__visual { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.brand-card__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.brand-card__fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.brand-card--lachimi .brand-card__fallback { background: linear-gradient(140deg, #F3D9E4, #E8B9CE 55%, #C98BAC); }
.brand-card--aecenta .brand-card__fallback { background: linear-gradient(140deg, #DCE6EC, #B9C9D8 55%, #8FA3BA); }
.brand-card__fallback span { font-family: var(--font-display); font-size: 2rem; letter-spacing: .22em; color: rgba(255,255,255,.92); text-transform: uppercase; }
.brand-card__body { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.brand-card__body h3 { font-size: 1.6rem; letter-spacing: .04em; }
.brand-card__cat { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); margin: 8px 0 16px; }
.brand-card__body p { font-size: .95rem; flex: 1; }
.brand-card__link { margin-top: 22px; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; }
.brand-card__link svg { transition: transform .25s var(--ease); }
.brand-card__link:hover svg { transform: translateX(4px); }

/* ---------- Khối ảnh + chữ ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.placeholder-visual {
  border-radius: var(--radius-lg); aspect-ratio: 4/3; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--cream-200), var(--cream-100) 50%, var(--gold-300));
  color: var(--plum-700); box-shadow: var(--shadow-md);
}
.placeholder-visual span { font-family: var(--font-display); letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; opacity: .7; }

/* ---------- Số liệu ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stats > div { background: var(--white); padding: 34px 26px; text-align: center; }
.stats strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.7rem); color: var(--plum-800); line-height: 1.1; }
.stats span { display: block; margin-top: 8px; font-size: .84rem; letter-spacing: .04em; color: var(--ink-50); }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Danh sách có dấu tick ---------- */
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 32px; font-size: .96rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 16px; height: 16px;
  border-radius: 50%; background: var(--gold-500);
  box-shadow: inset 0 0 0 3px var(--gold-500), inset 0 0 0 4px rgba(46,15,38,.85), inset 0 0 0 5px var(--gold-500);
}
.section--plum .check-list li::before { background: var(--gold-300); box-shadow: inset 0 0 0 3px var(--gold-300), inset 0 0 0 4px rgba(46,15,38,.9), inset 0 0 0 5px var(--gold-300); }

/* ---------- Dòng thời gian ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline__item { position: relative; padding-bottom: 40px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -34px; top: 8px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--cream-50); border: 2px solid var(--gold-500);
}
.timeline__year { font-family: var(--font-display); font-size: 1.35rem; color: var(--plum-700); }
.timeline__item p { margin-top: 6px; font-size: .95rem; }

/* ---------- Kênh bán ---------- */
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.channel {
  display: flex; align-items: center; gap: 14px; padding: 20px 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: all .28s var(--ease);
}
.channel:hover { border-color: var(--gold-500); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.channel__icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: var(--radius); background: var(--cream-100); color: var(--plum-700); }
.channel strong { display: block; font-size: .95rem; color: var(--plum-900); font-weight: 600; }
.channel span { font-size: .78rem; color: var(--ink-50); }

/* ---------- Chứng nhận ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.cert {
  padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  border-left: 3px solid var(--gold-500);
}
.cert h4 { color: var(--plum-800); margin-bottom: 6px; }
.cert p { font-size: .88rem; color: var(--ink-50); }

/* ---------- Tin tức ---------- */
.news-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: all .3s var(--ease); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card__visual { aspect-ratio: 16/10; background: linear-gradient(140deg, var(--cream-200), var(--gold-300)); }
.news-card__visual img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.news-card__meta { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 12px; }
.news-card__body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.news-card__body p { font-size: .92rem; flex: 1; }
.news-card__body > a { margin-top: 18px; font-size: .88rem; font-weight: 600; }

/* ---------- Tuyển dụng ---------- */
.job {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  padding: 26px 28px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); transition: all .28s var(--ease);
}
.job + .job { margin-top: 14px; }
.job:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.job h3 { font-size: 1.2rem; margin-bottom: 8px; }
.job__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: .74rem; letter-spacing: .04em; padding: 4px 12px; border-radius: 999px;
  background: var(--cream-100); color: var(--ink-70); border: 1px solid var(--cream-200);
}
@media (max-width: 640px) { .job { grid-template-columns: 1fr; } }

/* ---------- Form ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 600; color: var(--plum-800); }
.field label .req { color: #C0392B; }
.field input, .field select, .field textarea {
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--cream-50); font-size: .94rem; transition: all .2s var(--ease); width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--plum-600); background: var(--white);
  box-shadow: 0 0 0 3px rgba(122, 53, 96, .1);
}
.field .hint { font-size: .78rem; color: var(--ink-50); }
.form-note { font-size: .82rem; color: var(--ink-50); margin-top: 18px; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: var(--radius); font-size: .9rem; display: none; }
.form-status.is-ok { display: block; background: #EAF6EE; border: 1px solid #B7DFC6; color: #1E6B3A; }
.form-status.is-err { display: block; background: #FCEDEC; border: 1px solid #F0C2BD; color: #A83228; }

/* ---------- Liên hệ ---------- */
.contact-list { list-style: none; display: grid; gap: 26px; }
.contact-list li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; }
.contact-list__icon { width: 42px; height: 42px; display: grid; place-items: center; background: var(--cream-100); border-radius: var(--radius); color: var(--plum-700); }
.contact-list strong { display: block; color: var(--plum-900); font-size: .95rem; margin-bottom: 3px; }
.contact-list p { font-size: .94rem; margin: 0; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 340px; background: var(--cream-200); }
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 44px 22px 0; position: relative; font-size: 1.02rem; font-weight: 600;
  color: var(--plum-900); font-family: var(--font-display);
}
.faq__q::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 1.6px solid var(--gold-600); border-bottom: 1.6px solid var(--gold-600);
  transform: translateY(-70%) rotate(45deg); transition: transform .28s var(--ease);
}
.faq__item.is-open .faq__q::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding-bottom: 22px; font-size: .95rem; margin: 0; }

/* ---------- CTA dải ---------- */
.cta-band {
  background: linear-gradient(140deg, var(--plum-800), var(--plum-600));
  border-radius: var(--radius-lg); padding: clamp(40px, 5vw, 64px); text-align: center;
  color: rgba(255,255,255,.78); position: relative; overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 70% 0%, rgba(200,160,99,.28), transparent 65%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-900); color: rgba(255,255,255,.6); padding: clamp(56px, 6vw, 80px) 0 0; font-size: .9rem; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--gold-300); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo__name { color: var(--white); }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.footer-links { list-style: none; display: grid; gap: 11px; }
.footer-links a { font-size: .9rem; }
.footer-about p { margin-top: 20px; max-width: 34ch; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0 30px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: .82rem;
}
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.16); transition: all .25s var(--ease);
}
.socials a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--plum-900); }

/* ---------- Nút liên hệ nổi ---------- */
.float-contact { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: grid; gap: 10px; }
.float-contact a {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--plum-700); color: var(--white); box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.float-contact a:hover { transform: scale(1.08); background: var(--gold-600); color: var(--plum-900); }
@media (max-width: 560px) { .float-contact a { width: 46px; height: 46px; } }

/* ---------- Hiệu ứng xuất hiện ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Khả năng truy cập ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--plum-900); color: var(--white); padding: 12px 20px;
}
.skip-link:focus { left: 12px; top: 12px; color: var(--white); }
:focus-visible { outline: 2px solid var(--gold-600); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
