/* =========================================================
   Thắng Hòa Law — thiết kế lấy cảm hứng từ cổng dịch vụ công
   Bảng màu: navy thương hiệu + vàng đồng
   ========================================================= */
:root {
  --navy-900: #062842;
  --navy-800: #0b3a66;
  --navy-700: #12497c;
  --navy-600: #1a5a94;
  --navy-100: #e8eff7;
  --navy-50: #f4f8fc;
  --gold-500: #c9a227;
  --gold-600: #b08d1e;
  --gold-100: #faf3dd;
  --ink: #1c2833;
  --ink-soft: #4c5b6b;
  --line: #dbe4ee;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(6, 40, 66, 0.08);
  --shadow-md: 0 10px 30px rgba(6, 40, 66, 0.12);
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
svg { fill: currentColor; }

.shell { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold-500); color: var(--navy-900);
  padding: 10px 18px; z-index: 200; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Nút ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 26px; border: 0; border-radius: 8px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.button--gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: var(--white); }
.button--navy { background: var(--navy-800); color: var(--white); }

/* ---------- Dải liên hệ trên cùng ---------- */
.topbar { background: var(--navy-900); color: #c8d6e5; font-size: 13.5px; }
.topbar__inner {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 38px; gap: 16px; flex-wrap: wrap;
}
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__item svg { width: 14px; height: 14px; fill: var(--gold-500); flex: none; }
.topbar__item:hover { color: var(--white); }
.topbar__divider { width: 1px; height: 14px; background: rgba(255,255,255,0.25); }

/* ---------- Banner định danh ---------- */
.masthead {
  background:
    radial-gradient(circle at 88% 20%, rgba(201, 162, 39, 0.10), transparent 42%),
    linear-gradient(180deg, var(--white) 0%, var(--navy-50) 100%);
  border-bottom: 1px solid var(--line);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 18px; padding-bottom: 18px;
}
.masthead__brand { display: flex; align-items: center; gap: 16px; }
.masthead__logo {
  width: 84px; height: 84px; object-fit: contain;
  background: var(--white); border-radius: 50%;
  border: 3px solid var(--navy-100);
  box-shadow: var(--shadow-sm);
  flex: none;
}
.masthead__copy { display: flex; flex-direction: column; line-height: 1.3; }
.masthead__copy small {
  font-size: 13px; letter-spacing: 0.22em; color: var(--ink-soft);
  text-transform: uppercase; font-weight: 600;
}
.masthead__copy strong {
  font-family: var(--font-display); font-size: 34px;
  color: var(--navy-800); letter-spacing: 0.04em;
}
.masthead__copy em {
  font-style: normal; font-size: 13.5px; color: var(--gold-600);
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.masthead__side { display: flex; align-items: center; gap: 22px; }
.masthead__hotline { display: flex; align-items: center; gap: 12px; }
.masthead__hotline > svg {
  width: 40px; height: 40px; padding: 9px; flex: none;
  background: var(--navy-100); color: var(--navy-800); border-radius: 50%;
}
.masthead__hotline small { display: block; font-size: 12px; color: var(--ink-soft); }
.masthead__hotline a { font-size: 20px; font-weight: 800; color: var(--navy-800); }

/* ---------- Thanh điều hướng ---------- */
.navbar {
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 3px 12px rgba(6, 40, 66, 0.25);
}
.navbar__inner { display: flex; align-items: stretch; }
.navbar__inner > a {
  color: #dbe7f3; font-weight: 600; font-size: 14.5px;
  padding: 15px 18px; display: inline-flex; align-items: center; gap: 7px;
  border-bottom: 3px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.navbar__inner > a:hover,
.navbar__inner > a.is-active {
  background: rgba(255, 255, 255, 0.08); color: var(--white);
  border-bottom-color: var(--gold-500);
}
.navbar__home svg { width: 17px; height: 17px; }
.navbar__home-text { display: none; }
.navbar__cta {
  margin-left: auto; background: var(--gold-500); color: var(--navy-900) !important;
  font-weight: 800 !important;
}
.navbar__cta:hover { background: var(--gold-600) !important; border-bottom-color: var(--gold-600) !important; }

.menu-toggle {
  display: none; background: var(--navy-800); border: 0;
  width: 46px; height: 46px; border-radius: 10px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span:not(.sr-only) {
  width: 22px; height: 2px; background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero: băng tìm kiếm ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 110%, rgba(201, 162, 39, 0.16), transparent 52%),
    linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--white);
}
.hero__pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image:
    radial-gradient(circle at 82% 30%, rgba(255,255,255,0.06) 0 120px, transparent 121px),
    radial-gradient(circle at 92% 75%, rgba(255,255,255,0.045) 0 180px, transparent 181px),
    radial-gradient(circle at 70% 90%, rgba(201,162,39,0.08) 0 90px, transparent 91px);
}
.hero__grid {
  position: relative; display: grid;
  grid-template-columns: 320px 1fr; gap: 48px; align-items: center;
  padding-top: 64px; padding-bottom: 72px;
}
.hero__pledge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius); padding: 26px 24px;
  backdrop-filter: blur(4px);
}
.hero__pledge h4 {
  font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 14px;
}
.hero__pledge ul { list-style: none; }
.hero__pledge li {
  position: relative; padding: 7px 0 7px 22px;
  font-size: 14.5px; color: #dce7f2;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
}
.hero__pledge li:last-child { border-bottom: 0; }
.hero__pledge li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--gold-500); transform: rotate(45deg);
}
.hero__eyebrow {
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-500); font-weight: 700; margin-bottom: 14px;
}
.hero__main h1 {
  font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.15; margin-bottom: 30px; letter-spacing: 0.01em;
}
.hero__search {
  position: relative; display: flex; align-items: center;
  background: var(--white); border-radius: 12px;
  padding: 6px 6px 6px 18px; box-shadow: var(--shadow-md);
  max-width: 640px;
}
.hero__search-icon { width: 20px; height: 20px; color: var(--navy-700); flex: none; }
.hero__search input {
  flex: 1; border: 0; outline: none; padding: 12px 14px;
  font-family: inherit; font-size: 15.5px; color: var(--ink);
  background: transparent; min-width: 0;
}
.hero__search-btn {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--white); border: 0; border-radius: 9px;
  padding: 12px 26px; font-weight: 700; font-size: 15px; flex: none;
  transition: filter 0.15s ease;
}
.hero__search-btn:hover { filter: brightness(1.08); }
.hero__suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--white); border-radius: 12px; box-shadow: var(--shadow-md);
  list-style: none; overflow: hidden; z-index: 50;
  max-height: 280px; overflow-y: auto;
}
.hero__suggest li {
  padding: 12px 18px; color: var(--ink); font-size: 14.5px;
  cursor: pointer; border-bottom: 1px solid var(--navy-50);
  display: flex; align-items: center; gap: 10px;
}
.hero__suggest li:hover { background: var(--navy-50); }
.hero__suggest li::before { content: "→"; color: var(--gold-600); font-weight: 700; }
.hero__suggest li.no-result { color: var(--ink-soft); cursor: default; }
.hero__suggest li.no-result::before { content: "·"; }
.hero__tags {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 10px; margin-top: 18px; font-size: 13.5px; color: #b9c9d9;
}
.hero__tags button {
  background: rgba(255,255,255,0.09); color: #e6eef6;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 999px;
  padding: 6px 16px; font-size: 13px; font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.hero__tags button:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }

/* ---------- Bản tin (ticker) ---------- */
.ticker { background: var(--white); border-bottom: 1px solid var(--line); padding: 26px 0 30px; }
.ticker__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ticker__crane {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--gold-100); color: var(--gold-600);
  display: inline-flex; align-items: center; justify-content: center;
}
.ticker__crane svg { width: 18px; height: 18px; }
.ticker__head h3 {
  font-size: 18px; color: var(--navy-800);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.ticker__nav { margin-left: auto; display: flex; gap: 8px; }
.ticker__nav button {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--navy-800);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.ticker__nav button:hover { background: var(--navy-800); color: var(--white); }
.ticker__nav svg { width: 16px; height: 16px; }
.ticker__track {
  display: flex; gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 6px; scrollbar-width: thin;
}
.ticker__item {
  flex: 0 0 340px; scroll-snap-align: start;
  background: var(--navy-50); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.ticker__item:hover { border-color: var(--gold-500); transform: translateY(-2px); }
.ticker__item time {
  font-size: 12px; font-weight: 700; color: var(--gold-600);
  letter-spacing: 0.08em;
}
.ticker__item p { font-size: 14px; color: var(--ink); margin-top: 6px; line-height: 1.55; }

/* ---------- Khung section chung ---------- */
.section { padding: 76px 0; }
.section--tint { background: var(--navy-50); }
.eyebrow {
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-600); font-weight: 700; margin-bottom: 10px;
}
.eyebrow--light { color: var(--gold-500); }
.section-heading h2 {
  font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 38px);
  color: var(--navy-900); line-height: 1.2;
}
.section-heading > p:not(.eyebrow) { margin-top: 14px; color: var(--ink-soft); }
.section-heading--center { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-heading--light h2 { color: var(--white); }

/* ---------- Giới thiệu ---------- */
.intro__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.intro__lead { font-size: 17px; }
.intro__principles { display: grid; gap: 18px; }
.intro__principles article {
  display: grid; grid-template-columns: 54px 1fr; column-gap: 18px;
  padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.intro__principles article:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.intro__principles span {
  grid-row: span 2; font-family: var(--font-display);
  font-size: 30px; font-weight: 700; color: var(--gold-500);
  border-right: 2px solid var(--navy-100); padding-right: 16px;
  display: flex; align-items: center;
}
.intro__principles h3 { font-size: 17px; color: var(--navy-800); }
.intro__principles p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Lưới lĩnh vực ---------- */
.fields__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.field {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative; overflow: hidden;
}
.field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy-800), var(--gold-500));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.field:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.field:hover::after { transform: scaleX(1); }
.field__icon {
  width: 68px; height: 68px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--navy-100); color: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.field:hover .field__icon { background: var(--navy-800); color: var(--gold-500); }
.field__icon svg { width: 32px; height: 32px; }
.field h3 { font-size: 17.5px; color: var(--navy-900); margin-bottom: 8px; }
.field p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Dịch vụ thường gặp ---------- */
.services__list {
  margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.services__list a {
  padding: 15px 20px 15px 46px; position: relative;
  border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
  font-size: 15px; color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}
.services__list a::before {
  content: ""; position: absolute; left: 20px; top: 50%;
  width: 9px; height: 9px; transform: translateY(-50%) rotate(45deg);
  border-top: 2px solid var(--gold-500); border-right: 2px solid var(--gold-500);
}
.services__list a:hover {
  background: var(--navy-50); color: var(--navy-800);
  font-weight: 600; padding-left: 52px;
}
.services__list a.is-hit { background: var(--gold-100); font-weight: 600; }

/* ---------- Thống kê ---------- */
.stats {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(201, 162, 39, 0.14), transparent 50%),
    linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: var(--white);
}
.stats__grid {
  display: grid; grid-template-columns: 260px 1fr; gap: 56px;
  align-items: center; max-width: 980px; margin: 0 auto;
}
.stats__gauge { position: relative; width: 220px; margin: 0 auto; }
.stats__gauge svg { width: 100%; transform: rotate(-90deg); }
.gauge-bg { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 14; }
.gauge-fg {
  fill: none; stroke: var(--gold-500); stroke-width: 14; stroke-linecap: round;
  stroke-dasharray: 414.7; stroke-dashoffset: 414.7;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.25, 0.7, 0.3, 1);
}
.stats__gauge-label {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.stats__gauge-label strong { font-size: 38px; font-weight: 800; color: var(--gold-500); }
.stats__gauge-label span { font-size: 13px; color: #c8d6e5; max-width: 120px; }
.stats__cells { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.stat {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius); padding: 22px 26px;
}
.stat strong {
  display: block; font-size: 36px; font-weight: 800; color: var(--white);
  font-variant-numeric: tabular-nums; line-height: 1.2;
}
.stat strong::after { content: "+"; color: var(--gold-500); }
.stat span { font-size: 14px; color: #c8d6e5; }

/* ---------- Luật sư ---------- */
.counsel__grid {
  display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center;
}
.counsel__monogram {
  aspect-ratio: 1; border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 25%, rgba(201,162,39,0.25), transparent 55%),
    linear-gradient(145deg, var(--navy-800), var(--navy-900));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-md);
}
.counsel__monogram::before {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(201, 162, 39, 0.45); border-radius: 10px;
}
.counsel__monogram span {
  font-family: var(--font-display); font-size: 110px; font-weight: 700;
  color: var(--gold-500); letter-spacing: 0.04em;
}
.counsel__content h2 {
  font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px);
  color: var(--navy-900); margin-bottom: 14px;
}
.counsel__content > p { color: var(--ink-soft); max-width: 560px; }
.counsel__points { list-style: none; margin: 22px 0 28px; }
.counsel__points li {
  position: relative; padding: 8px 0 8px 30px; font-size: 15px;
}
.counsel__points li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 16px; height: 8px;
  border-left: 2.5px solid var(--gold-500); border-bottom: 2.5px solid var(--gold-500);
  transform: rotate(-45deg) scale(0.9);
}

/* ---------- Quy trình ---------- */
.process__list {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; counter-reset: step;
}
.process__list li {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 28px 28px;
  position: relative; box-shadow: var(--shadow-sm);
}
.process__list li span {
  position: absolute; top: -20px; left: 26px;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: var(--gold-500); font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--white); box-shadow: var(--shadow-sm);
}
.process__list h3 { color: var(--navy-800); font-size: 18px; margin: 8px 0 8px; }
.process__list p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.faq__grid .section-heading a { color: var(--navy-800); }
.faq__list details {
  border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 12px; background: var(--white); overflow: hidden;
  transition: box-shadow 0.15s ease;
}
.faq__list details[open] { box-shadow: var(--shadow-sm); border-color: var(--navy-100); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 16px 20px; font-weight: 600; color: var(--navy-900); font-size: 15.5px;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary span {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy-100); position: relative; transition: transform 0.2s ease, background 0.2s ease;
}
.faq__list summary span::before, .faq__list summary span::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2px; background: var(--navy-800);
  transform: translate(-50%, -50%);
}
.faq__list summary span::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__list details[open] summary span { transform: rotate(45deg); background: var(--gold-100); }
.faq__list details p {
  padding: 0 20px 18px; color: var(--ink-soft); font-size: 14.5px;
}

/* ---------- Liên hệ ---------- */
.contact {
  background:
    radial-gradient(ellipse at 10% 100%, rgba(201, 162, 39, 0.12), transparent 50%),
    linear-gradient(120deg, var(--navy-900), var(--navy-800));
  color: var(--white);
}
.contact__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: start; }
.contact__info h2 {
  font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px;
}
.contact__info > p { color: #c8d6e5; font-size: 15px; }
.contact__info dl { margin-top: 30px; display: grid; gap: 18px; }
.contact__info dl > div {
  border-left: 3px solid var(--gold-500); padding-left: 16px;
}
.contact__info dt {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em;
  color: #9fb3c8; font-weight: 700;
}
.contact__info dd { font-size: 16.5px; font-weight: 600; }
.contact__info dd a:hover { color: var(--gold-500); }

.contact__form {
  background: var(--white); border-radius: var(--radius);
  padding: 34px 32px; color: var(--ink); box-shadow: var(--shadow-md);
}
.contact__form label {
  display: block; font-size: 13.5px; font-weight: 600;
  color: var(--navy-800); margin-bottom: 16px;
}
.contact__form label > span { color: #c0392b; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact__form input:not([type="checkbox"]),
.contact__form select,
.contact__form textarea {
  display: block; width: 100%; margin-top: 6px;
  border: 1.5px solid var(--line); border-radius: 9px;
  padding: 11px 14px; font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--navy-50); outline: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus {
  border-color: var(--navy-700); background: var(--white);
  box-shadow: 0 0 0 3px rgba(18, 73, 124, 0.12);
}
.contact__form textarea { resize: vertical; }
.form-trap { position: absolute; left: -9999px; }
.consent {
  display: flex !important; gap: 10px; align-items: flex-start;
  font-weight: 400 !important; color: var(--ink-soft) !important; font-size: 13px !important;
}
.consent input { margin-top: 3px; accent-color: var(--navy-800); }
.form-submit { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { font-size: 14px; font-weight: 600; color: var(--navy-800); }
.form-status.is-error { color: #c0392b; }

/* ---------- Chân trang ---------- */
.footer { background: var(--navy-900); color: #b6c6d6; }
.footer__top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px;
  padding-top: 54px; padding-bottom: 44px;
}
.footer__brand { display: flex; gap: 18px; align-items: flex-start; }
.footer__brand img {
  width: 64px; height: 64px; object-fit: contain;
  background: var(--white); border-radius: 50%; padding: 4px; flex: none;
}
.footer__brand strong { color: var(--white); display: block; font-size: 16px; letter-spacing: 0.03em; }
.footer__brand p { font-size: 14px; margin-top: 8px; }
.footer__col { display: grid; gap: 9px; align-content: start; font-size: 14.5px; }
.footer__col h4 {
  color: var(--gold-500); font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.16em; margin-bottom: 6px;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 18px; padding-bottom: 18px; font-size: 13px;
}
.footer__totop {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.footer__totop:hover { background: var(--gold-500); color: var(--navy-900); }
.footer__totop svg { width: 18px; height: 18px; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__pledge { order: 2; max-width: 560px; }
  .fields__grid { grid-template-columns: repeat(2, 1fr); }
  .intro__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .counsel__grid { grid-template-columns: 240px 1fr; gap: 36px; }
  .stats__grid { grid-template-columns: 1fr; gap: 40px; }
  .stats__gauge { margin: 0 auto; }
}

@media (max-width: 860px) {
  .topbar__item--clock { display: none; }
  .masthead__side { display: none; }
  .menu-toggle { display: inline-flex; }
  .masthead__logo { width: 66px; height: 66px; }
  .masthead__copy strong { font-size: 26px; }

  .navbar { position: sticky; }
  .navbar__inner {
    flex-direction: column; align-items: stretch;
    max-height: 0; overflow: hidden; padding: 0;
    transition: max-height 0.3s ease;
  }
  .navbar__inner.is-open { max-height: 480px; }
  .navbar__inner > a { border-bottom: 1px solid rgba(255,255,255,0.08); padding: 14px 22px; }
  .navbar__home-text { display: inline; }
  .navbar__cta { margin-left: 0; }

  .section { padding: 56px 0; }
  .process__list { grid-template-columns: 1fr; gap: 34px; }
  .counsel__grid { grid-template-columns: 1fr; }
  .counsel__monogram { max-width: 260px; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 560px) {
  .topbar__inner { justify-content: center; }
  .topbar__left { display: none; }
  .fields__grid { grid-template-columns: 1fr; }
  .services__list { grid-template-columns: 1fr; }
  .stats__cells { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero__search { flex-wrap: wrap; padding: 10px; }
  .hero__search input { flex: 1 1 100%; order: -1; padding: 10px 6px; }
  .hero__search-icon { display: none; }
  .hero__search-btn { width: 100%; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
