:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --text: #1a2b42;
  --muted: #5a6b82;
  --border: rgba(26, 43, 66, 0.1);

  /* Bảng màu đỏ chủ đạo */
  --red-700: #7a1823;
  --red-600: #8f1e2b;
  --red-500: #a82535;
  --red-400: #b83542;
  --red-300: #cc5a66;
  --red-soft: rgba(168, 37, 53, 0.08);
  --red-soft-strong: rgba(168, 37, 53, 0.14);
  --red-glow: rgba(168, 37, 53, 0.28);

  --accent: var(--red-500);
  --accent-light: var(--red-400);
  --accent-dark: var(--red-700);
  --accent-hover: var(--red-600);

  --header-bg: rgba(255, 255, 255, 0.97);
  --header-text: #1a2b42;
  --header-muted: #5a6b82;
  --header-border: rgba(26, 43, 66, 0.08);
  --header-accent: var(--red-500);
  --header-accent-hover: var(--red-700);
  --brand-color: var(--red-500);
  --dropdown-shadow: 0 24px 60px rgba(15, 29, 49, 0.14);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}
main {
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

/* ===== HEADER BAR ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 4px 24px rgba(15, 29, 49, 0.06);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 32px rgba(15, 29, 49, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--header-text);
}
.brand-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(190px, 44vw);
  object-fit: contain;
}
.brand-logo--footer {
  height: 52px;
  max-width: 220px;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--header-text);
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover,
.nav-item.is-open > .nav-link,
.nav-item.is-open > .nav-link-dropdown {
  color: var(--header-accent);
  background: var(--red-soft);
}
.nav-link-icon {
  padding: 0.55rem 0.65rem;
  color: var(--header-accent);
}
.nav-link-icon svg { width: 20px; height: 20px; }
.nav-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
}
.nav-item.is-open .nav-chevron { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 320px;
  max-width: 420px;
  padding-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.nav-item.is-open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%);
}
.dropdown-inner {
  background: #fff;
  border: 1px solid var(--header-border);
  border-radius: 16px;
  box-shadow: var(--dropdown-shadow);
  overflow: hidden;
  animation: dropdownFade 0.3s ease;
}
@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.dropdown-header {
  padding: 1rem 1.15rem 0.65rem;
  border-bottom: 1px solid var(--header-border);
}
.dropdown-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--header-muted);
}
.dropdown-label-link {
  display: inline-block;
  transition: color 0.2s ease;
}
.dropdown-label-link:hover {
  color: var(--header-accent);
}
.dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  display: grid;
  gap: 0.15rem;
}
.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 0.85rem;
  border-radius: 10px;
  color: var(--header-text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.dropdown-link:hover {
  background: linear-gradient(90deg, var(--red-soft), rgba(168, 37, 53, 0.04));
  color: var(--header-accent);
  transform: translateX(4px);
}
.dropdown-link-text { flex: 1; }
.dropdown-arrow {
  width: 16px;
  height: 16px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
  color: var(--header-accent);
}
.dropdown-link:hover .dropdown-arrow {
  opacity: 1;
  transform: translateX(0);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.search-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(26, 43, 66, 0.05);
  color: var(--header-text);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.search-btn:hover {
  background: var(--red-soft-strong);
  color: var(--brand-color);
}
.search-btn svg { width: 20px; height: 20px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.82rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus,
.button:focus-visible,
.button:active {
  outline: none;
}
.button:active {
  transform: translateY(0);
}
.button-primary {
  background: linear-gradient(90deg, var(--red-600), var(--red-400));
  color: #fff;
  box-shadow: 0 8px 24px var(--red-glow);
}
.button-primary:hover {
  background: linear-gradient(90deg, var(--red-700), var(--red-500));
}
.button-primary:active {
  box-shadow: 0 4px 14px var(--red-glow);
}
.button-secondary {
  border: 2px solid var(--accent);
  background: #fff;
  color: var(--accent);
}
.button-secondary:hover {
  background: var(--red-soft);
  border-color: var(--red-600);
  color: var(--red-600);
}
.button-cta {
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: var(--header-accent);
  box-shadow: 0 8px 24px var(--red-glow);
}
.button-cta:hover {
  background: var(--header-accent-hover);
  box-shadow: 0 12px 28px rgba(122, 24, 35, 0.35);
}
.button-cta:active {
  box-shadow: 0 4px 14px var(--red-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: rgba(26, 43, 66, 0.06);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--header-text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== PAGE CONTENT ===== */
.hero {
  padding: 4rem 0 4.5rem;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero-copy,
.hero-card {
  opacity: 1 !important;
  transform: none !important;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--header-accent);
  font-weight: 700;
}
h1, h2, h3 {
  line-height: 1.25;
  color: var(--text);
}
h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin: 0.5rem 0 1rem;
  font-weight: 800;
  color: #0f1d31;
}
h2 { font-weight: 700; color: #0f1d31; }
h3 { font-weight: 700; color: #1a2b42; }
.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 620px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; margin-top: 1.75rem; flex-wrap: wrap; }
.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-points li {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(15, 29, 49, 0.06);
}
.hero-card, .info-card, .step-card, .testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(15, 29, 49, 0.08);
}
.hero-card { padding: 1.75rem; position: relative; overflow: hidden; }
.hero-card p { color: var(--muted); }
.card-glow {
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--red-soft-strong), transparent 70%);
  filter: blur(6px);
}
.stat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.2rem; }
.stat-list strong {
  display: block;
  font-size: 1.6rem;
  color: var(--accent);
}
.stat-list span { color: var(--muted); font-size: 0.9rem; }
.section { padding: 4.5rem 0; }
.alt-bg { background: var(--surface-2); }
.section-heading { max-width: 720px; margin-bottom: 2rem; }
.section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0.4rem 0 0; }
.section-heading p.eyebrow { margin-bottom: 0.25rem; }
.card-grid, .steps-grid, .testimonial-grid { display: grid; gap: 1.25rem; }
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ===== FEATURED SERVICES ===== */
.services-section {
  scroll-margin-top: 84px;
}
.services-section > .container {
  padding-top: 1.5rem;
}

/* ===== SERVICES MARQUEE ===== */
.services-marquee-wrap {
  position: relative;
  overflow-x: hidden;
  padding: 0 0 2.5rem;
  margin-bottom: 1rem;
  background: var(--surface);
}
.services-marquee-bg {
  position: relative;
  height: clamp(3.5rem, 10vw, 7.5rem);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: flex-end;
}
.services-marquee-bg-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marquee-bg-scroll 40s linear infinite;
  white-space: nowrap;
  padding-top: 0;
}
.services-marquee-bg-track span {
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 43, 66, 0.028);
  line-height: 1;
  flex-shrink: 0;
}
@keyframes marquee-bg-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.services-marquee {
  position: relative;
  z-index: 1;
  margin-top: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.services-marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee-services-scroll 40s linear infinite;
}
.services-marquee-wrap:hover .services-marquee-bg-track,
.services-marquee-wrap:hover .services-marquee-track {
  animation-play-state: paused;
}
@keyframes marquee-services-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.service-marquee-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: min(340px, 78vw);
  flex-shrink: 0;
  padding: 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 29, 49, 0.06);
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.service-marquee-card:hover {
  border-color: rgba(168, 37, 53, 0.25);
  box-shadow: 0 12px 32px rgba(15, 29, 49, 0.1);
  transform: translateY(-2px);
}
.service-marquee-card-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f3ebe3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.service-marquee-card-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}
.service-marquee-card-icon-fallback {
  font-size: 1.25rem;
  color: var(--red-600);
  line-height: 1;
}
.service-marquee-card-body {
  min-width: 0;
  flex: 1;
}
.service-marquee-card-title {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
.service-marquee-card-intro {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.services-section-heading {
  text-align: center;
  margin-bottom: 2rem;
}
.services-section-heading h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red-700);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.services-empty {
  text-align: center;
  color: var(--muted);
}
.service-card {
  border-radius: 14px;
  overflow: hidden;
  min-height: 260px;
  box-shadow: 0 10px 28px rgba(15, 29, 49, 0.1);
}
.service-card-link {
  display: block;
  height: 100%;
  color: #fff;
  position: relative;
}
.service-card-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.service-card-media img,
.service-card-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.service-card-placeholder {
  background: linear-gradient(135deg, #1a2b42 0%, #2d4a6f 55%, var(--red-600) 120%);
}
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 29, 49, 0.08) 20%, rgba(15, 29, 49, 0.72) 100%);
  transition: background 0.35s ease;
}
.service-card:hover .service-card-media img,
.service-card:hover .service-card-placeholder {
  transform: scale(1.1);
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(180deg, rgba(122, 24, 35, 0.82) 0%, rgba(90, 15, 22, 0.94) 100%);
}
.service-card-content {
  position: relative;
  z-index: 1;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.15rem 1rem 1rem;
}
.service-card-number {
  position: absolute;
  left: 0.85rem;
  bottom: 4.5rem;
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.75);
  transition: color 0.35s ease, -webkit-text-stroke 0.35s ease, transform 0.35s ease;
}
.service-card:hover .service-card-number {
  color: var(--red-300);
  -webkit-text-stroke: 0 transparent;
  transform: translateY(-6px);
}
.service-card-copy {
  transition: transform 0.35s ease;
}
.service-card:hover .service-card-copy {
  transform: translateY(-6px);
}
.service-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: capitalize;
}
.service-card-desc,
.service-card-cta {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin 0.35s ease;
}
.service-card-desc {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}
.service-card-cta {
  display: inline-block;
  margin-top: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-300);
}
.service-card:hover .service-card-desc,
.service-card:hover .service-card-cta {
  max-height: 120px;
  opacity: 1;
}
.service-card:hover .service-card-desc {
  margin-top: 0.55rem;
}
.service-card:hover .service-card-cta {
  margin-top: 0.75rem;
}
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card,
  .service-card-content {
    min-height: 240px;
  }
}

.testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card, .step-card, .testimonial-card { padding: 1.5rem; }
.info-card p, .step-card p, .testimonial-card { color: var(--muted); }
.info-card:hover, .step-card:hover {
  transform: translateY(-4px);
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 16px 40px rgba(15, 29, 49, 0.12);
}
.step-card span { color: var(--accent); font-weight: 800; font-size: 1.2rem; }
.testimonial-card footer { margin-top: 1rem; color: var(--accent); font-weight: 600; }
.testimonial-card--client {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid rgba(168, 37, 53, 0.18);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 29, 49, 0.06);
}
.testimonial-card--client p {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.75;
  text-align: left;
}
.testimonial-card-name {
  display: block;
  font-style: normal;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}
.testimonial-card-role {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}
.testimonial-card-quote-mark {
  display: block;
  margin: 0.85rem 0 0.65rem;
  font-size: 3rem;
  line-height: 1;
  color: #f5a623;
  font-family: Georgia, "Times New Roman", serif;
}
.testimonial-card-stars {
  margin-top: 1.15rem;
  color: #f5a623;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
}

/* ===== SITE FOOTER ===== */
.site-footer {
  background: linear-gradient(135deg, var(--red-700) 0%, var(--red-600) 45%, var(--red-500) 100%);
  color: rgba(255, 255, 255, 0.94);
  margin-top: 0;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding: 3rem 0 2.5rem;
}
.footer-col {
  min-width: 0;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  margin-bottom: 1.25rem;
}
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin: 1rem 0 1.25rem;
}
.footer-heading {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-heading-accent {
  color: #fff;
}
.footer-contact-list,
.footer-nav-list,
.footer-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-contact-list li,
.footer-nav-list > li {
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.65;
}
.footer-contact-list strong {
  color: #fff;
  font-weight: 600;
}
.footer-contact-list a,
.footer-nav-list a {
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s ease;
}
.footer-contact-list a:hover,
.footer-nav-list a:hover {
  color: #fff;
  opacity: 0.85;
}
.footer-contact-note {
  opacity: 0.88;
  font-size: 0.86rem;
}
.footer-nav-item.has-children .footer-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.footer-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-nav-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}
.footer-nav-item.is-open .footer-nav-toggle svg {
  transform: rotate(180deg);
}
.footer-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}
.footer-submenu {
  margin-top: 0.45rem;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  display: none;
}
.footer-nav-item.is-open .footer-submenu {
  display: block;
}
.footer-submenu li {
  margin-bottom: 0.45rem;
}
.footer-submenu a {
  font-size: 0.88rem;
  opacity: 0.92;
}
.footer-commitment {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}
.footer-commitment-quote {
  color: #fff;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.footer-social-link:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}
.footer-social-link svg {
  width: 18px;
  height: 18px;
}
.footer-social-facebook { background: #1877f2; }
.footer-social-email { background: #222; }
.footer-social-phone { background: var(--red-500); border: 1px solid rgba(255, 255, 255, 0.25); }
.footer-social-linkedin { background: #0a66c2; }
.footer-social-youtube { background: #ff0000; }
.footer-empty {
  opacity: 0.7;
  font-size: 0.88rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0 1.5rem;
}
.footer-bottom p {
  margin: 0;
  text-align: center;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ===== PAGE WITH SIDEBAR ===== */
.page-with-sidebar {
  padding: 2.5rem 0 3rem;
  background: #fff;
}
.page-with-sidebar-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
.page-with-sidebar-inner.has-sidebar {
  grid-template-columns: minmax(0, 1fr) min(320px, 100%);
  gap: 2rem;
}
.page-main {
  min-width: 0;
}
.page-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 1rem;
}
.sidebar-widget {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 29, 49, 0.06);
}
.sidebar-widget-header {
  background: linear-gradient(135deg, var(--red-700), var(--red-500));
  color: #fff;
  padding: 0.85rem 1rem;
}
.sidebar-widget-header h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}
.sidebar-services-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}
.sidebar-services-list a {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.65rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.45;
  transition: background 0.2s ease, color 0.2s ease;
}
.sidebar-services-list a:hover {
  background: var(--red-soft);
  color: var(--accent);
}
.sidebar-services-list svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--accent);
}
.sidebar-empty {
  padding: 0.85rem 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.sidebar-recent-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}
.sidebar-recent-list li + li {
  border-top: 1px solid var(--border);
}
.sidebar-recent-list a {
  display: block;
  padding: 0.85rem 1rem;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
}
.sidebar-recent-list a:hover {
  background: var(--red-soft);
  color: var(--accent);
}
.sidebar-recent-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}
.sidebar-recent-title::before {
  content: "›";
  margin-right: 0.35rem;
  color: var(--accent);
  font-weight: 700;
}
.sidebar-recent-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.sidebar-recent-date svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.sidebar-recent-list a:hover .sidebar-recent-date {
  color: var(--header-muted);
}

/* ===== PAGE BANNER ===== */
.page-banner {
  margin: 0 0 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 29, 49, 0.12);
}
.page-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
}

/* ===== SEARCH ===== */
.search-modal[hidden] {
  display: none;
}
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}
.search-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 29, 49, 0.45);
}
.search-modal-panel {
  position: relative;
  width: min(560px, calc(100% - 2rem));
  margin: 12vh auto 0;
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(15, 29, 49, 0.18);
}
.search-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}
.search-modal-panel h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}
.search-modal-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}
.search-modal-form input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font: inherit;
}
body.search-modal-open {
  overflow: hidden;
}

/* ===== CONSULTATION MODAL ===== */
.consultation-modal[hidden] {
  display: none;
}
.consultation-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.consultation-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 29, 49, 0.5);
}
.consultation-modal-panel {
  position: relative;
  width: min(630px, 100%);
  margin: 0;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 20px 50px rgba(15, 29, 49, 0.18);
  overflow: hidden;
}
.consultation-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.7rem;
  z-index: 2;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.92;
}
.consultation-modal-close:hover {
  opacity: 1;
}
.consultation-modal-header {
  padding: 0.85rem 1.15rem;
  background: linear-gradient(135deg, var(--red-700), var(--red-500));
  color: #fff;
}
.consultation-modal-eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.88rem;
  opacity: 0.9;
}
.consultation-hotline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
}
.consultation-hotline svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.consultation-modal-body {
  padding: 1rem 1.3rem 1.25rem;
}
.consultation-modal-body h2 {
  margin: 0 0 0.75rem;
  font-size: 1.12rem;
  font-weight: 700;
}
.consultation-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.25rem;
}
.consultation-field-full {
  grid-column: 1 / -1;
}
.consultation-field label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.consultation-field .required {
  color: var(--accent);
}
.consultation-field input,
.consultation-field select,
.consultation-field textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid rgba(26, 43, 66, 0.14);
  border-radius: 0;
  padding: 0.45rem 0;
  font: inherit;
  font-size: 1rem;
  background: transparent;
  transition: border-color 0.15s ease;
}
.consultation-field input::placeholder,
.consultation-field textarea::placeholder {
  color: #9aa8b8;
}
.consultation-field input:focus,
.consultation-field select:focus,
.consultation-field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.consultation-field select {
  appearance: none;
  padding-right: 1.5rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23a82535' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.1rem center;
}
.consultation-field textarea {
  resize: none;
  min-height: 3rem;
  line-height: 1.45;
}
.consultation-error {
  margin: 0.12rem 0 0;
  color: var(--accent);
  font-size: 0.75rem;
  line-height: 1.3;
}
.consultation-error:empty {
  display: none;
}
.consultation-form-message {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  line-height: 1.4;
}
.consultation-form-message.is-success {
  color: #2e7d32;
}
.consultation-form-message.is-error {
  color: var(--accent);
}
.consultation-submit {
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.8rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
}
.consultation-submit svg {
  width: 18px;
  height: 18px;
}
.consultation-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
@media (max-width: 540px) {
  .consultation-form-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .consultation-modal-body {
    padding: 0.85rem 0.95rem 1rem;
  }
}
body.consultation-modal-open {
  overflow: hidden;
}

.search-inline-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
}
.search-inline-form input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font: inherit;
}
.search-results-summary {
  color: var(--muted);
  margin-top: 0.5rem;
}
.search-results-list {
  display: grid;
  gap: 1rem;
}
.search-result-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: #fff;
}
.search-result-category {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}
.search-result-item h2 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
}
.search-result-item h2 a:hover {
  color: var(--accent);
}
.search-result-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.search-result-link {
  display: inline-block;
  margin-top: 0.65rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.88rem;
}
.search-empty {
  color: var(--muted);
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
  color: var(--muted);
}
.pagination a {
  color: var(--accent);
  font-weight: 600;
}
.section-compact {
  padding: 0;
}

/* ===== FLOATING ACTIONS ===== */
.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.floating-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: none;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(15, 29, 49, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: floatingWiggle 3.2s ease-in-out infinite;
  cursor: pointer;
}
.floating-action:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 28px rgba(15, 29, 49, 0.22);
}
.floating-action:nth-child(1) { animation-delay: 0s; }
.floating-action:nth-child(2) { animation-delay: 0.4s; }
.floating-action:nth-child(3) { animation-delay: 0.8s; }
.floating-action:nth-child(4) { animation-delay: 1.2s; animation: none; }
.floating-action > svg:not(.floating-progress) {
  width: 22px;
  height: 22px;
}
.floating-action-zalo {
  background: #0068ff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}
.floating-zalo-text {
  line-height: 1;
}
.floating-action-messenger {
  background: linear-gradient(135deg, #0099ff, #006aff);
}
.floating-action-phone {
  background: linear-gradient(135deg, var(--red-700), var(--red-500));
}
.floating-action-top {
  position: relative;
  background: #fff;
  color: var(--muted);
  animation: none;
  overflow: visible;
}
.floating-action-top[hidden] {
  display: none;
}
.floating-progress {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  pointer-events: none;
}
.floating-progress-bg {
  stroke: rgba(26, 43, 66, 0.14);
}
.floating-progress-fill {
  stroke: var(--accent);
  transition: stroke-dashoffset 0.12s linear;
}
.floating-top-arrow {
  position: relative;
  z-index: 1;
  width: 20px !important;
  height: 20px !important;
}
@keyframes floatingWiggle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.cta-panel {
  background: linear-gradient(135deg, var(--red-soft), rgba(168, 37, 53, 0.04));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
}
.cta-panel h2 { margin-top: 0; }
.cta-panel p { color: var(--muted); }
.text-accent { color: var(--accent); }

/* ===== ARTICLES ===== */
.featured-articles-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.featured-articles-head-copy h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  line-height: 1.2;
}
.featured-articles-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.featured-articles-eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.featured-articles-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1.35rem;
  flex: 1 1 320px;
}
.category-tab--featured {
  padding: 0.35rem 0 0.55rem;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: none;
  border-bottom: 3px solid transparent;
}
.category-tab--featured:hover {
  color: var(--accent);
  background: transparent;
  box-shadow: none;
  border-bottom-color: rgba(168, 37, 53, 0.35);
}
.category-tab--featured.is-active {
  color: var(--accent);
  background: transparent;
  box-shadow: none;
  border-bottom-color: var(--accent);
}
.article-grid--featured {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}
.featured-article-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 29, 49, 0.07);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.featured-article-card:hover {
  box-shadow: 0 16px 36px rgba(122, 24, 35, 0.16);
  transform: translateY(-3px);
}
.featured-article-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.featured-article-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}
.featured-article-card-media img,
.featured-article-card-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.featured-article-card-placeholder {
  background: linear-gradient(135deg, #dce3ec 0%, #eef2f7 45%, var(--red-soft) 100%);
}
.featured-article-card:hover .featured-article-card-media img,
.featured-article-card:hover .featured-article-card-placeholder {
  transform: scale(1.1);
}
.featured-article-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem 1.15rem 1rem;
  background: #eef1f5;
  transition: background 0.35s ease, color 0.35s ease;
}
.featured-article-card:hover .featured-article-card-body {
  background: linear-gradient(135deg, var(--red-700), var(--red-500));
}
.featured-article-card-content {
  transition: transform 0.35s ease;
}
.featured-article-card:hover .featured-article-card-content {
  transform: translateY(-5px);
}
.featured-article-card-category {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.35s ease;
}
.featured-article-card:hover .featured-article-card-category {
  color: rgba(255, 255, 255, 0.82);
}
.featured-article-card-title {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 700;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.35s ease;
}
.featured-article-card:hover .featured-article-card-title {
  color: #fff;
}
.featured-article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}
.featured-article-card-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  flex-shrink: 0;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}
.featured-article-card-arrow svg {
  width: 15px;
  height: 15px;
}
.featured-article-card:hover .featured-article-card-arrow {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: translate(2px, -2px);
}
.featured-article-card-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.35s ease;
}
.featured-article-card-date svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.featured-article-card:hover .featured-article-card-date {
  color: rgba(255, 255, 255, 0.88);
}

.category-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  flex: 1;
  pointer-events: auto;
}
.category-tab {
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 1;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, background 0.2s;
}
.category-tab:hover,
.category-tab.is-active {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 4px 16px var(--red-soft);
}
.category-tab.is-active {
  background: rgba(168, 37, 53, 0.04);
}
.category-view-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.category-view-more:hover {
  background: var(--accent);
  color: #fff;
  transform: translateX(2px);
}
.category-view-more svg {
  width: 18px;
  height: 18px;
}
.article-panels {
  position: relative;
  min-height: 200px;
}
.article-panel {
  display: none;
}
.article-panel.is-active {
  display: block;
  animation: tabFadeIn 0.28s ease;
}
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.article-empty {
  grid-column: 1 / -1;
  color: var(--muted);
  text-align: center;
  padding: 2rem 0;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(15, 29, 49, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 29, 49, 0.12);
}
.article-card-link {
  display: block;
  height: 100%;
  color: inherit;
}
.article-card-cover {
  min-height: 180px;
  padding: 1.25rem;
  background: linear-gradient(135deg, #1a2b42 0%, #2d4a6f 55%, var(--accent) 120%);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.article-card-cover--image {
  min-height: 0;
  padding: 0;
  background: var(--surface-2);
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.article-card-cover--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.article-card:hover .article-card-cover--image img {
  transform: scale(1.04);
}
.article-card-body .article-card-title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--text);
}
.article-card-cover::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, transparent 50%, rgba(168, 37, 53, 0.85) 50%);
}
.article-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.5rem;
}
.article-card-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
  color: #fff;
}
.article-card-body {
  padding: 1.1rem 1.2rem 1.25rem;
}
.article-card-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}
.article-card-body p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 0.75rem;
}
.article-card-cta {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}
.section-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}
.article-page {
  padding: 2.5rem 0 3rem;
  background: #fff;
}
.article-container {
  max-width: 860px;
}
.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}
.article-breadcrumb a:hover { color: var(--accent); }
.article-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0.5rem 0 1rem;
}
.article-category-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.article-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}
.article-excerpt {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 1.25rem 0 1.75rem;
  line-height: 1.75;
}
.article-cover {
  margin: 0 0 1.75rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 29, 49, 0.12);
}
.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}
.article-content {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.85;
}
.article-content > *:first-child {
  margin-top: 0;
}
.article-content > *:last-child {
  margin-bottom: 0;
}
.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--text);
  line-height: 1.35;
  font-weight: 700;
}
.article-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}
.article-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
  font-size: 1.18rem;
}
.article-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}
.article-content p {
  margin: 0 0 1rem;
}
.article-content ul,
.article-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}
.article-content li + li {
  margin-top: 0.35rem;
}
.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-content a:hover {
  color: var(--text);
}
.article-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: var(--red-soft);
  border-radius: 0 12px 12px 0;
  color: var(--muted);
}
.article-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  border-radius: 12px;
}
.article-content figure {
  margin: 1.5rem 0;
}
.article-content figcaption {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.article-content table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  font-size: 0.95rem;
  overflow-x: auto;
  display: block;
}
.article-content th,
.article-content td {
  border: 1px solid var(--header-border);
  padding: 0.65rem 0.85rem;
  text-align: left;
}
.article-content th {
  background: var(--red-soft);
  font-weight: 700;
}
.article-content hr {
  border: none;
  border-top: 1px solid var(--header-border);
  margin: 2rem 0;
}
.article-content mark,
.article-content .marker-yellow {
  background-color: #fff59d;
  padding: 0 0.15em;
  border-radius: 2px;
}
.article-content .marker-green {
  background-color: #c8e6c9;
  padding: 0 0.15em;
  border-radius: 2px;
}
.article-content .marker-pink {
  background-color: #f8bbd0;
  padding: 0 0.15em;
  border-radius: 2px;
}
.article-content .marker-blue {
  background-color: #bbdefb;
  padding: 0 0.15em;
  border-radius: 2px;
}
.article-content .text-align-left {
  text-align: left;
}
.article-content .text-align-center {
  text-align: center;
}
.article-content .text-align-right {
  text-align: right;
}
.article-content .text-align-justify {
  text-align: justify;
}
.article-content sub,
.article-content sup {
  font-size: 0.75em;
  line-height: 0;
}
.article-content code {
  padding: 0.15em 0.35em;
  border-radius: 4px;
  background: var(--surface-2);
  font-size: 0.9em;
}

/* Team page */
.team-page .article-container {
  max-width: 860px;
}
.team-page .team-org {
  margin: 2rem 0;
}
.team-org {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.team-level {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.75rem;
  width: 100%;
  justify-items: center;
}
.team-level-single {
  grid-template-columns: minmax(180px, 220px);
  justify-content: center;
}
.team-level-0 .employee-card {
  max-width: 220px;
}
.employee-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 200px;
}
.employee-photo {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: 0 8px 22px rgba(15, 29, 49, 0.1);
}
.employee-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.employee-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--red-soft), #fff);
  color: var(--accent);
  font-size: 2.2rem;
  font-weight: 800;
}
.employee-info {
  margin-top: 0.85rem;
  width: 100%;
}
.employee-level {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.employee-name {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.35;
}
.employee-position {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
}
.employee-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}
.employee-contact a {
  font-size: 0.84rem;
  color: var(--muted);
  transition: color 0.2s ease;
}
.employee-contact a:hover {
  color: var(--accent);
}
.employee-bio {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}
.team-empty {
  color: var(--muted);
  padding: 2rem 0;
}

@media (max-width: 1200px) {
  .article-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .featured-articles-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .featured-articles-tabs {
    justify-content: flex-start;
    flex: none;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
  }
  .category-tab--featured {
    flex-shrink: 0;
  }
  .article-grid--featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .page-with-sidebar-inner {
    grid-template-columns: 1fr;
  }
  .page-with-sidebar-inner.has-sidebar {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .page-sidebar {
    position: static;
    order: 2;
  }
  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header-inner {
    gap: 0.65rem;
    min-height: 60px;
  }
  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }
  .brand-logo {
    height: 40px;
    max-width: min(160px, 40vw);
  }
  .header-actions {
    margin-left: auto;
    flex-shrink: 0;
    gap: 0.4rem;
  }
  .header-actions .button-cta {
    padding: 0.52rem 0.95rem;
    font-size: 0.82rem;
    box-shadow: 0 4px 14px var(--red-glow);
  }
  .main-nav {
    position: fixed;
    inset: 60px 0 auto 0;
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    box-shadow: var(--dropdown-shadow);
    padding: 1rem;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    z-index: 99;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }
  .nav-item { width: 100%; }
  .nav-link,
  .nav-link-dropdown {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 1rem;
  }
  .dropdown-panel {
    position: static;
    left: auto;
    transform: none;
    min-width: 100%;
    max-width: none;
    width: 100%;
    padding-top: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    margin-top: 0.25rem;
  }
  .nav-item.is-open .dropdown-panel {
    display: block;
    left: auto;
    transform: none;
  }
  .dropdown-inner { box-shadow: none; border: 1px solid var(--header-border); }
  .nav-toggle { display: flex; }
  .search-btn { display: none; }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 0.45rem;
    min-height: 56px;
  }
  .brand-logo {
    height: 36px;
    max-width: min(140px, 38vw);
  }
  .header-actions .button-cta {
    padding: 0.48rem 0.75rem;
    font-size: 0.78rem;
  }
  .nav-toggle {
    width: 36px;
    height: 36px;
  }
  .main-nav {
    inset: 56px 0 auto 0;
    max-height: calc(100vh - 56px);
  }
}

@media (max-width: 360px) {
  .header-actions .button-cta {
    display: none;
  }
}

@media (max-width: 860px) {
  .floating-actions {
    right: 0.75rem;
    bottom: 0.85rem;
    gap: 0.5rem;
  }
  .floating-action {
    width: 44px;
    height: 44px;
  }
  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.5rem;
  }
  .hero-grid, .card-grid, .steps-grid, .testimonial-grid, .article-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
  .category-tabs-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .category-tabs {
    justify-content: flex-start;
  }
  .category-view-more {
    justify-content: center;
  }
}
