/* ===== CSS VARIABLES ===== */
:root {
  --teal: #0D9488;
  --teal-dark: #065F46;
  --teal-light: #CCFBF1;
  --amber: #D97706;
  --amber-light: #FEF3C7;
  --navy: #0F172A;
  --navy-light: #1E293B;
  --slate: #64748B;
  --bg: #FAFAF9;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 2px 4px rgba(0,0,0,0.04), 0 12px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 4px 6px rgba(0,0,0,0.04), 0 24px 60px rgba(0,0,0,0.12);
  --radius: 12px;
  --max-w: 1200px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: #1E293B;
  background: #FAFAF9;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
ul { list-style: none; }

/* ===== PREMIUM GLOBAL ===== */
/* Noise texture overlay for depth */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* Selection highlight */
::selection { background: rgba(13,148,136,0.2); color: var(--navy); }

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}
/* WP admin bar offset */
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
  body.admin-bar .mobile-nav-panel { padding-top: 110px; }
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.header.scrolled .header__logo-name { color: var(--navy); }
.header.scrolled .header__logo-tagline { color: var(--slate); }
.header.scrolled .header__nav a { color: var(--navy); }
.header.scrolled .header__nav a:hover { color: var(--teal); }
.header.scrolled .mobile-menu-btn span { background: var(--navy); }
/* Pages without dark hero: auto-apply scrolled header */
body.error404 .header,
body.search .header,
body.page:not(.home) .header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
body.error404 .header .header__logo-name,
body.search .header .header__logo-name,
body.page:not(.home) .header .header__logo-name { color: var(--navy); }
body.error404 .header .header__nav a,
body.search .header .header__nav a,
body.page:not(.home) .header .header__nav a { color: var(--navy); }
body.error404 .header .header__nav a:hover,
body.search .header .header__nav a:hover,
body.page:not(.home) .header .header__nav a:hover { color: var(--teal); }
body.error404 .header .mobile-menu-btn span,
body.search .header .mobile-menu-btn span,
body.page:not(.home) .header .mobile-menu-btn span { background: var(--navy); }
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__logo-icon { width: 38px; height: 38px; flex-shrink: 0; }
.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.header__logo-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  letter-spacing: -0.02em;
}
.header__logo-name b { color: var(--amber); }
.header__logo-tagline {
  font-family: 'Manrope', sans-serif;
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.header__nav {
  display: flex;
  gap: 36px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* WP menu outputs <li> items — style them inline */
.header__nav li {
  list-style: none;
  display: inline-flex;
  align-items: center;
}
.header__nav a {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  transition: color 0.3s;
  position: relative;
}
.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.3s ease;
}
.header__nav a:hover { color: #fff; }
.header__nav a:hover::after { width: 100%; }
.header__nav a.active::after { width: 100%; }
.header__nav a.header__cta {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-dark);
  background: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.header__nav a.header__cta::after { display: none; }
.header__nav a.header__cta:hover {
  background: var(--amber);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(217,119,6,0.4);
}
.header.scrolled .header__nav a.header__cta {
  background: var(--teal);
  color: #fff;
}
.header.scrolled .header__nav a.header__cta:hover {
  background: var(--teal-dark);
}
/* WP menu: style last item as CTA button automatically */
.header__nav li:last-child a {
  font-weight: 600;
  color: var(--teal-dark);
  background: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.header__nav li:last-child a::after { display: none; }
.header__nav li:last-child a:hover {
  background: var(--amber);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(217,119,6,0.4);
}
.header.scrolled .header__nav li:last-child a {
  background: var(--teal);
  color: #fff;
}
.header.scrolled .header__nav li:last-child a:hover {
  background: var(--teal-dark);
}
/* Subpages without dark hero */
body.error404 .header__nav li:last-child a,
body.search .header__nav li:last-child a,
body.page:not(.home) .header__nav li:last-child a {
  background: var(--teal);
  color: #fff;
}

/* ===== SECTION SHARED ===== */
.section {
  position: relative;
  padding: 100px 40px;
}
.section--gray { background: #F1F5F9; }
.section--dark { background: #F1F5F9; color: var(--navy); }
.section--teal { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff; }
.section__container {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section__eyebrow {
  position: relative;
  display: inline-block;
  padding-left: 20px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section__eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}
.section--dark .section__eyebrow { color: var(--teal); }
.section__title {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.section__subtitle {
  font-size: 16px;
  color: var(--slate);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.section--dark .section__subtitle { color: rgba(241,245,249,0.5); }

/* ===== BUTTONS ===== */
.btn {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn:hover::after { transform: translateX(100%); }
.btn--primary {
  background: #fff !important;
  color: var(--teal-dark) !important;
}
.btn--primary:hover {
  background: var(--amber) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217,119,6,0.35);
}
.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}
.btn--amber {
  background: var(--amber);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.btn--amber:hover {
  background: #B45309;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217,119,6,0.3);
}
.btn--white {
  background: #fff;
  color: var(--teal-dark);
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ===== BLOG CARDS ===== */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.blog-card__image {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.blog-card__image-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  object-fit: cover;
  display: block;
}
.blog-card:hover .blog-card__image-inner { transform: scale(1.05); }
.blog-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 6px;
}
.blog-card__body { padding: 24px; }
.blog-card__date {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 8px;
}
.blog-card__title {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 8px;
  transition: color 0.3s;
}
.blog-card:hover .blog-card__title { color: var(--teal); }
.blog-card__excerpt {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq__grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,0.05);
  border-radius: 16px;
  padding: 0 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.faq-item:hover {
  border-color: rgba(13,148,136,0.15);
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.faq-item.active {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(13,148,136,0.1);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-question__text {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  transition: color 0.3s;
}
.faq-item.active .faq-question__text { color: var(--teal); }
.faq-question__icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 10px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-question__icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--slate);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item:hover .faq-question__icon { background: var(--teal-light); }
.faq-item:hover .faq-question__icon svg { stroke: var(--teal); }
.faq-item.active .faq-question__icon {
  background: var(--teal);
  border-radius: 10px;
  transform: rotate(0deg);
}
.faq-item.active .faq-question__icon svg {
  stroke: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.active .faq-answer {
  max-height: 300px;
}
.faq-answer__content {
  padding-bottom: 22px;
  font-size: 14px;
  color: #64748B;
  line-height: 1.8;
  border-top: 1px solid #F1F5F9;
  padding-top: 16px;
}

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  background: linear-gradient(145deg, #0F766E, #0D9488 40%, #065F46);
  padding: 120px 40px 60px;
  overflow: hidden;
}
.page-hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.page-hero__container {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-hero__breadcrumb {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-hero__breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}
.page-hero__breadcrumb a:hover { color: #fff; }
.page-hero__breadcrumb span { color: rgba(255,255,255,0.35); }
.page-hero__breadcrumb .current { color: rgba(255,255,255,0.9); }
.page-hero__title {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.page-hero__subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.7;
}

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-pill {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.filter-pill:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.filter-pill.active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination__btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--navy);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.pagination__btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.pagination__btn.active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.pagination__btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.pagination__dots {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* WP the_posts_pagination() */
.navigation.pagination {
  margin-top: 48px;
}
.navigation.pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.navigation.pagination .nav-links a.page-numbers,
.navigation.pagination .nav-links span.page-numbers {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--navy);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.navigation.pagination .nav-links a.page-numbers:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.navigation.pagination .nav-links span.page-numbers.current {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.navigation.pagination .nav-links span.dots {
  border: none;
  background: transparent;
  color: var(--slate);
}
.navigation.pagination .nav-links a.prev,
.navigation.pagination .nav-links a.next {
  width: auto;
  padding: 0 12px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(241,245,249,0.55);
  padding: 80px 40px 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13,148,136,0.3), rgba(217,119,6,0.2), transparent);
}
.footer::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13,148,136,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.footer__container {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer__brand-name { display: none; }
.footer__brand-desc {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 280px;
}
.footer__socials {
  display: flex;
  gap: 10px;
}
.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: rgba(241,245,249,0.45);
}
.footer__social-link:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}
.footer__col-title {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(241,245,249,0.35);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer__col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
}
.footer__links li { margin-bottom: 10px; }
.footer__links a {
  font-size: 14px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.footer__links a:hover { color: var(--teal); gap: 4px; }
.footer__links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width 0.3s;
  display: inline-block;
}
.footer__links a:hover::before { width: 8px; }
.footer__contact-item {
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(241,245,249,0.3);
}

/* ===== MOBILE NAV OVERLAY ===== */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-nav-overlay.active,
.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}
.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: var(--white);
  padding: 64px 24px 32px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  overflow-y: auto;
}
.mobile-nav-overlay.active .mobile-nav-panel,
.mobile-nav-overlay.open .mobile-nav-panel {
  transform: translateX(0);
}
.mobile-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-nav__list li {
  list-style: none;
}
.mobile-nav__list a {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #F1F5F9;
  transition: color 0.3s;
}
.mobile-nav__list a:hover {
  color: var(--teal);
}
.mobile-nav__cta {
  display: inline-block;
  margin-top: 16px;
  background: var(--teal);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  border-bottom: none !important;
}
.mobile-nav__cta:hover {
  background: var(--teal-dark);
  color: #fff !important;
}
/* WP menu: style last item as CTA in mobile nav */
.mobile-nav__list li:last-child a {
  display: inline-block;
  margin-top: 16px;
  background: var(--teal);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  border-bottom: none !important;
}
.mobile-nav__list li:last-child a:hover {
  background: var(--teal-dark);
  color: #fff !important;
}

/* ===== 404 PAGE ===== */
.error-main {
  min-height: calc(100vh - 260px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
}
.error-watermark {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(120px, 20vw, 200px);
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  opacity: 0.08;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.error-content {
  max-width: 600px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
}
.error-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 28px;
}
.error-icon svg { width: 80px; height: 80px; }
.error-heading {
  font-family: 'Source Serif 4', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.error-desc {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.7;
  max-width: 450px;
  margin: 0 auto 28px;
}
.error-search {
  max-width: 420px;
  margin: 0 auto 28px;
}
.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.error-btn {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}
.error-btn--primary {
  background: var(--teal);
  color: #fff;
}
.error-btn--primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,148,136,0.25);
}
.error-btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.error-btn--outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.error-helpful__label {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.error-helpful__pills {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.error-pill {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--navy);
  transition: all 0.3s;
}
.error-pill:hover {
  border-color: var(--teal);
  color: var(--teal);
}
@media (max-width: 768px) {
  .error-heading { font-size: 28px; }
  .error-main { padding: 100px 16px 60px; }
}
@media (max-width: 480px) {
  .error-actions { flex-direction: column; }
  .error-btn { width: 100%; justify-content: center; }
}

/* ===== FLOATING CONTACT ===== */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  animation: floatingPulse 3s ease-in-out infinite;
}
.floating-btn:hover { transform: scale(1.12) translateY(-2px); animation: none; }
.floating-btn--zalo { background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.12); animation: none; border: none; padding: 0; overflow: hidden; }
.floating-btn--zalo img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.floating-btn--phone { background: var(--teal); box-shadow: 0 4px 20px rgba(13,148,136,0.3); }
@keyframes floatingPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
  50% { box-shadow: 0 4px 24px rgba(0,0,0,0.25); }
}

/* ===== MOBILE MENU BUTTON ===== */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px auto;
  transition: all 0.3s;
}
/* Hamburger → X when menu open */
body.mobile-menu-open .header {
  z-index: 1002;
}
body.mobile-menu-open .header__logo {
  visibility: hidden;
}
body.mobile-menu-open .mobile-menu-btn span {
  background: var(--navy);
}
body.mobile-menu-open .mobile-menu-btn span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.mobile-menu-open .mobile-menu-btn span:nth-child(2) {
  opacity: 0;
}
body.mobile-menu-open .mobile-menu-btn span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== RESPONSIVE: 1024px ===== */
@media (max-width: 1024px) {
  .blog__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== RESPONSIVE: 768px ===== */
@media (max-width: 768px) {
  /* Header */
  .header { padding: 0 16px; }
  .header__nav { display: none; }
  .mobile-menu-btn { display: block; }

  /* Sections */
  .section { padding: 56px 16px; }
  .section__title { font-size: clamp(24px, 6vw, 32px); }
  .section__subtitle { font-size: 14px; }

  /* Page Hero */
  .page-hero { padding: 90px 16px 40px; }
  .page-hero__title { font-size: clamp(26px, 6vw, 34px); }
  .page-hero__subtitle { font-size: 14px; }

  /* Blog cards */
  .blog__grid { grid-template-columns: 1fr; }

  /* FAQ */
  .faq-item { padding: 0 16px; }
  .faq-question__text { font-size: 14px; }

  /* Pagination */
  .pagination { margin-top: 32px; }

  /* Footer */
  .footer { padding: 48px 16px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* Floating buttons */
  .floating-contact { bottom: 16px; right: 12px; gap: 8px; }
  .floating-btn { width: 44px; height: 44px; font-size: 16px; }
}

/* ===== RESPONSIVE: 480px ===== */
@media (max-width: 480px) {
  .page-hero__title { font-size: 26px; }
  .pagination__btn { width: 36px; height: 36px; font-size: 13px; }
  .pagination__dots { width: 36px; height: 36px; font-size: 13px; }
  .floating-contact { bottom: 12px; right: 8px; gap: 6px; }
  .floating-btn { width: 40px; height: 40px; font-size: 14px; }
}
