/* ==========================================================================
   TRUNG TÂM PHỤC VỤ HÀNH CHÍNH CÔNG XÃ LONG ĐIỀN - THÀNH PHỐ HỒ CHÍ MINH
   Bộ nhận diện chuẩn Hành chính Nhà nước: Đỏ cờ / Đỏ đô (#991b1b) & Vàng hoàng gia (#d97706)
   ========================================================================== */

:root {
  --primary: #991b1b;
  --primary-hover: #7f1d1d;
  --primary-dark: #660e0e;
  --primary-light: #b91c1c;
  --primary-gradient: linear-gradient(135deg, #a51d24 0%, #821217 100%);
  --accent-gold: #f59e0b;
  --accent-gold-dark: #d97706;
  --accent-yellow: #fde047;
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --text-light: #6b7280;
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --border-color: #e5e7eb;
  --border-light: #f3f4f6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-red: 0 10px 25px -5px rgba(153, 27, 27, 0.25);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --container-width: 1200px;
  --font-base: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-base);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   TOP BAR (Tiêu ngữ & Giờ làm việc)
   ========================================================================== */
.topbar {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 0;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent-gold);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-hotline {
  color: var(--accent-yellow);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   HEADER CHÍNH (Logo, Nền Banner Trống Đồng xoay nhẹ, Tên cơ quan, Tìm kiếm)
   ========================================================================== */
@keyframes drumRotateCenter {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) rotate(180deg) scale(1.03);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) scale(1);
  }
}

@keyframes drumRotateReverse {
  0% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@keyframes drumRotateHero {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}

.site-header {
  background: url('../images/banner-bg.webp') center center / cover no-repeat,
              linear-gradient(180deg, #fff3d1 0%, #fffdf8 100%);
  border-bottom: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 100;
  overflow: hidden;
}

/* Họa tiết trống đồng trung tâm xoay nhẹ tinh tế trên nền banner */
.site-header::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 340px;
  height: 340px;
  background: url('../images/trong-dong.png') center center / contain no-repeat;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
  animation: drumRotateCenter 65s linear infinite;
}

/* Họa tiết trống đồng phụ phía sau cụm thương hiệu */
.site-header::after {
  content: '';
  position: absolute;
  left: 12%;
  top: 50%;
  width: 220px;
  height: 220px;
  background: url('../images/trong-dong.png') center center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  animation: drumRotateReverse 90s linear infinite;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.national-emblem {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 6px rgba(153, 27, 27, 0.2));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-wrapper:hover .national-emblem {
  transform: scale(1.06) rotate(4deg);
}

.brand-text h1 {
  font-size: 18.5px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.25;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.brand-text .unit-sub {
  font-size: 13.5px;
  font-weight: 700;
  color: #b45309;
  text-transform: uppercase;
  margin-top: 2px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.brand-text .unit-tagline {
  font-size: 12px;
  color: #475569;
  font-style: italic;
  margin-top: 1px;
}

/* Header Search */
.header-search {
  flex: 1;
  max-width: 380px;
  position: relative;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(217, 119, 6, 0.35);
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 16px;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.08);
  transition: all 0.25s ease;
}

.search-box:focus-within {
  background-color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(153, 27, 27, 0.15);
}

.search-box input {
  flex: 1;
  background: transparent;
  padding: 6px 8px;
  font-size: 13.5px;
  color: var(--text-main);
}

.search-box button {
  background: var(--primary);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.search-box button:hover {
  background: var(--primary-hover);
}

.search-box button svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.main-nav {
  background: var(--primary-gradient);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 99;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  color: #ffffff;
  font-weight: 600;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  position: relative;
  transition: all 0.25s ease;
}

.nav-link svg {
  width: 17px;
  height: 17px;
  opacity: 0.9;
}

.nav-link:hover,
.nav-link.active {
  background-color: rgba(0, 0, 0, 0.22);
  color: var(--accent-yellow);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--accent-yellow);
}

.nav-right-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--accent-gold);
  color: #831419;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: transform 0.2s, background-color 0.2s;
}

.nav-right-btn:hover {
  background-color: #fbbf24;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: transparent;
  color: #fff;
  padding: 10px;
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(130, 18, 23, 0.95) 0%, rgba(100, 10, 15, 0.96) 100%),
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23ffffff" stroke-width="0.75" stroke-opacity="0.08"/><polygon points="50,15 60,35 85,35 65,50 72,75 50,60 28,75 35,50 15,35 40,35" fill="none" stroke="%23ffffff" stroke-width="0.5" stroke-opacity="0.06"/></svg>');
  color: #ffffff;
  padding: 55px 0 65px;
  overflow: hidden;
  border-bottom: 4px solid var(--accent-gold);
}

.hero-pattern-drum {
  position: absolute;
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  opacity: 0.14;
  filter: brightness(0) invert(1) sepia(1) saturate(4) hue-rotate(5deg);
  pointer-events: none;
  animation: drumRotateHero 75s linear infinite;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid var(--accent-gold);
  color: var(--accent-yellow);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-title span {
  color: var(--accent-yellow);
}

.hero-tagline {
  font-size: 18px;
  color: #fef08a;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero-desc {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s ease;
}

.btn-primary-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #7f1d1d;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
}

.btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.5);
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 100%);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Quick Stats / Box */
.hero-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(10px);
}

.hero-box-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-yellow);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-stat-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-stat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-gold);
}

.hero-stat-label {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-stat-value {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

/* ==========================================================================
   CAM KẾT PHỤC VỤ (4 HIGHLIGHTS)
   ========================================================================== */
.highlights-section {
  margin-top: -30px;
  position: relative;
  z-index: 10;
  margin-bottom: 45px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.highlight-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--primary);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.hl-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #fef2f2;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hl-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.hl-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.hl-content p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   DANH MỤC THỦ TỤC HÀNH CHÍNH (CARD ĐỎ ĐÔ ĐÚNG NHƯ ẢNH)
   ========================================================================== */
.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
}

.section-title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title-bar {
  width: 5px;
  height: 24px;
  background-color: var(--primary);
  border-radius: 2px;
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  color: #7f1d1d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.2s;
}

.view-all-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Grid danh mục 4 cột */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 45px;
}

/* THẺ DANH MỤC MÀU ĐỎ TRẦM CHUẨN XÁC THEO ẢNH + TRỐNG ĐỒNG GÓC TRÁI XOAY NHẸ & HIỆU ỨNG CHUYỂN CẢNH */
@keyframes catDrumSpinSlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes catDrumSpinReverse {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes catRippleWave {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.65;
  }
  100% {
    transform: translate(-50%, -50%) scale(3.6);
    opacity: 0;
  }
}

@keyframes catFullscreenProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@keyframes catFullscreenPulseRing {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.55;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.45);
    opacity: 0;
  }
}

.category-card {
  background: var(--primary-gradient);
  border-radius: var(--radius-lg);
  padding: 18px 20px 14px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(130, 18, 23, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.14);
  isolation: isolate;
}

/* Luồng sáng vàng kim lướt qua khi rê chuột vào thẻ */
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 75%;
  height: 100%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(253, 224, 71, 0.22) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-22deg);
  transition: left 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 1;
}

.category-card:hover::before {
  left: 145%;
}

.category-card:hover {
  transform: translateY(-7px) scale(1.02);
  border-color: rgba(253, 224, 71, 0.72);
  box-shadow:
    0 16px 34px rgba(130, 18, 23, 0.42),
    0 0 22px rgba(245, 158, 11, 0.3),
    inset 0 0 20px rgba(251, 191, 36, 0.12);
}

.category-card:active {
  transform: translateY(-2px) scale(0.985);
}

/* Họa tiết ánh sáng góc dưới phải */
.category-card::after {
  content: '';
  position: absolute;
  right: -25px;
  bottom: -25px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(253, 224, 71, 0.18) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.45s ease, opacity 0.45s ease;
  z-index: 0;
}

.category-card:hover::after {
  transform: scale(1.3);
}

/* Trống đồng Đông Sơn nhỏ ở góc trái xoay nhẹ liên tục & bừng sáng khi rê chuột vào */
.cat-drum-left-wrap {
  position: absolute;
  left: -18px;
  top: -18px;
  width: 108px;
  height: 108px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.24;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease,
    filter 0.4s ease;
  filter: brightness(0) invert(1) sepia(1) saturate(4) hue-rotate(8deg);
}

.cat-drum-left {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  animation: catDrumSpinSlow 24s linear infinite;
}

.category-card:hover .cat-drum-left-wrap {
  opacity: 0.52;
  transform: scale(1.2) rotate(24deg);
  filter: brightness(0) invert(1) sepia(1) saturate(6) hue-rotate(6deg) drop-shadow(0 0 10px rgba(253, 224, 71, 0.65));
}

/* Trống đồng nhỏ phụ ở góc dưới trái xoay ngược chiều tinh tế */
.cat-drum-bottom-left-wrap {
  position: absolute;
  left: -26px;
  bottom: -26px;
  width: 92px;
  height: 92px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.14;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease;
  filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(8deg);
}

.cat-drum-bottom-left {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  animation: catDrumSpinReverse 32s linear infinite;
}

.category-card:hover .cat-drum-bottom-left-wrap {
  opacity: 0.32;
  transform: scale(1.18) rotate(-20deg);
}

.cat-card-body,
.cat-footer {
  position: relative;
  z-index: 2;
}

.cat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cat-icon-box {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  backdrop-filter: blur(4px);
  transition:
    transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease;
}

.category-card:hover .cat-icon-box {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(253, 224, 71, 0.26);
  border-color: #fde047;
  color: #fef08a;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.38);
}

.cat-icon-box svg {
  width: 22px;
  height: 22px;
}

.cat-badge {
  background-color: #ffffff;
  color: #991b1b;
  font-weight: 800;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.3px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, color 0.3s ease;
}

.category-card:hover .cat-badge {
  transform: scale(1.07);
  background-color: #fef08a;
  color: #7f1d1d;
  box-shadow: 0 4px 10px rgba(251, 191, 36, 0.4);
}

.cat-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 6px;
  line-height: 1.3;
  transition: color 0.28s ease, transform 0.28s ease;
}

.category-card:hover .cat-title {
  color: #fef08a;
  transform: translateX(2px);
}

.cat-desc {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: border-color 0.3s ease;
}

.category-card:hover .cat-footer {
  border-top-color: rgba(253, 224, 71, 0.45);
}

.cat-agency {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cat-agency svg {
  width: 13px;
  height: 13px;
}

.cat-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, color 0.3s ease;
}

.category-card:hover .cat-arrow {
  transform: translateX(4px) scale(1.1);
  background-color: rgba(253, 224, 71, 0.25);
  color: #fde047;
}

/* Sóng lan tỏa khi click vào thẻ */
.cat-click-ripple {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 224, 71, 0.65) 0%, rgba(253, 224, 71, 0) 70%);
  pointer-events: none;
  z-index: 3;
  animation: catRippleWave 0.55s ease-out forwards;
}

/* THẺ ĐẶC BIỆT: TẤT CẢ LĨNH VỰC */
.category-card-all {
  border: 2px dashed #991b1b;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  min-height: 190px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.category-card-all .cat-drum-left-wrap {
  filter: none;
  opacity: 0.1;
}

.category-card-all:hover {
  background-color: #fffbeb;
  border-color: #b45309;
  border-style: solid;
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 14px 30px rgba(153, 27, 27, 0.18);
}

.category-card-all:hover .cat-drum-left-wrap {
  opacity: 0.22;
  transform: scale(1.2) rotate(24deg);
  filter: drop-shadow(0 0 8px rgba(217, 119, 6, 0.35));
}

.cat-all-icon {
  width: 48px;
  height: 48px;
  color: #991b1b;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-card-all:hover .cat-all-icon {
  transform: scale(1.12) rotate(-5deg);
}

.cat-all-icon svg {
  width: 38px;
  height: 38px;
  margin: 0 auto;
}

.cat-all-title {
  font-size: 17px;
  font-weight: 800;
  color: #991b1b;
  text-transform: uppercase;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

.cat-all-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.cat-all-arrow {
  color: #991b1b;
  font-size: 16px;
  font-weight: bold;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.category-card-all:hover .cat-all-arrow {
  transform: translateX(5px);
}

/* ==========================================================================
   HIỆU ỨNG FULL MÀN HÌNH CHUYỂN CẢNH MƯỢT MÀ KHI CLICK CATEGORY-CARD
   ========================================================================== */
.cat-fullscreen-portal {
  position: fixed;
  z-index: 99999;
  background: linear-gradient(135deg, #8b141a 0%, #63090e 55%, #450509 100%);
  color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
  pointer-events: all;
  will-change: top, left, width, height, border-radius, opacity, transform;
  transition:
    top 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    left 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.cat-fullscreen-portal.is-expanded {
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  border-radius: 0 !important;
}

.cat-fullscreen-portal.is-fading-out {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.cat-fs-drum-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 480px;
  height: 480px;
  margin-left: -240px;
  margin-top: -240px;
  object-fit: contain;
  opacity: 0.16;
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(8deg);
  animation: catDrumSpinSlow 18s linear infinite;
  pointer-events: none;
}

.cat-fs-drum-corner-tl {
  position: absolute;
  left: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  object-fit: contain;
  opacity: 0.22;
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(8deg);
  animation: catDrumSpinSlow 20s linear infinite;
  pointer-events: none;
}

.cat-fs-drum-corner-br {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 240px;
  height: 240px;
  object-fit: contain;
  opacity: 0.22;
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(8deg);
  animation: catDrumSpinReverse 22s linear infinite;
  pointer-events: none;
}

.cat-fs-pulse-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 2px solid rgba(253, 224, 71, 0.38);
  pointer-events: none;
  animation: catFullscreenPulseRing 1.4s ease-out infinite;
}

.cat-fs-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px;
  max-width: 560px;
  opacity: 0;
  transform: translateY(14px) scale(0.92);
  transition: opacity 0.34s ease 0.08s, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.cat-fullscreen-portal.is-expanded .cat-fs-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cat-fs-icon-box {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: rgba(253, 224, 71, 0.2);
  border: 2px solid #fde047;
  color: #fef08a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.35);
}

.cat-fs-icon-box svg {
  width: 38px;
  height: 38px;
}

.cat-fs-badge {
  display: inline-block;
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 100%);
  color: #7f1d1d;
  font-weight: 800;
  font-size: 13px;
  padding: 5px 16px;
  border-radius: 999px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.cat-fs-title {
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.cat-fs-subtitle {
  font-size: 14.5px;
  color: rgba(254, 240, 138, 0.92);
  font-weight: 500;
  margin-bottom: 22px;
}

.cat-fs-progress-track {
  width: 220px;
  height: 5px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  margin: 0 auto;
  overflow: hidden;
}

.cat-fs-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #fde047, #f59e0b, #fef08a);
  border-radius: 999px;
  animation: catFullscreenProgress 0.52s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ==========================================================================
   THỦ TỤC PHỔ BIẾN / TRA CỨU NHIỀU NHẤT
   ========================================================================== */
.procedures-section {
  margin-bottom: 50px;
}

.procedures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.procedure-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.procedure-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.proc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.proc-code {
  font-size: 12px;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.proc-category {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

.proc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 14px;
}

.proc-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  background: #f8fafc;
  padding: 10px 12px;
  border-radius: var(--radius-md);
}

.proc-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.proc-detail-row span.val {
  font-weight: 600;
  color: var(--text-main);
}

.proc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-detail {
  flex: 1;
  background: #f1f5f9;
  color: var(--text-main);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-align: center;
  transition: background 0.2s;
}

.btn-detail:hover {
  background: #e2e8f0;
}

.btn-submit-online {
  flex: 1.2;
  background: var(--primary);
  color: #fff;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-align: center;
  transition: background 0.2s;
}

.btn-submit-online:hover {
  background: var(--primary-hover);
}

/* ==========================================================================
   QUY TRÌNH 4 BƯỚC GIẢI QUYẾT TTHC
   ========================================================================== */
.workflow-section {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 50px;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 25px;
}

.workflow-step {
  text-align: center;
  position: relative;
  padding: 15px;
}

.step-number {
  width: 52px;
  height: 52px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 14px;
  box-shadow: 0 4px 10px rgba(153, 27, 27, 0.25);
  border: 3px solid #fef2f2;
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   TIN TỨC & THÔNG BÁO MỚI
   ========================================================================== */
.news-section {
  margin-bottom: 50px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
}

.news-badge {
  display: inline-block;
  background: #fef2f2;
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.news-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.news-date {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   GIỜ LÀM VIỆC & ĐỊA ĐIỂM TIẾP CÔNG DÂN
   ========================================================================== */
.office-info-section {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 35px;
  margin-bottom: 55px;
  box-shadow: var(--shadow-lg);
}

.office-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.office-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-yellow);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.office-desc {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 20px;
  line-height: 1.6;
}

.office-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.office-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
}

.office-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.office-cta-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.office-hotline-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-yellow);
  margin: 10px 0 16px;
  letter-spacing: 1px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #111827;
  color: #9ca3af;
  font-size: 13.5px;
  margin-top: auto;
  border-top: 3px solid var(--primary);
}

.footer-top {
  padding: 45px 0 35px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  border-left: 3px solid var(--accent-gold);
  padding-left: 10px;
}

.footer-col p {
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, transform 0.2s;
}

.footer-links a:hover {
  color: var(--accent-yellow);
  transform: translateX(3px);
}

.footer-bottom {
  background-color: #030712;
  padding: 16px 0;
  border-top: 1px solid #1f2937;
  text-align: center;
  font-size: 12.5px;
  color: #6b7280;
}

/* ==========================================================================
   MODAL XEM CHI TIẾT THỦ TỤC HÀNH CHÍNH
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-header {
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.modal-body {
  padding: 24px;
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
}

.modal-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
}

.modal-info-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
}

.modal-info-table td.label {
  width: 35%;
  background: #f8fafc;
  font-weight: 700;
  color: #475569;
}

.modal-section-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  margin: 18px 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-list {
  padding-left: 20px;
  list-style: disc;
  margin-bottom: 16px;
}

.modal-list li {
  margin-bottom: 6px;
}

.modal-footer {
  padding: 16px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* ==========================================================================
   FORM & TRANG CHỨC NĂNG (ĐẶT LỊCH, TRA CỨU)
   ========================================================================== */
.page-header-banner {
  background: var(--primary-gradient);
  color: #fff;
  padding: 40px 0;
  margin-bottom: 35px;
  border-bottom: 3px solid var(--accent-gold);
  position: relative;
  overflow: hidden;
}

.page-header-banner::after {
  content: '';
  position: absolute;
  right: -40px;
  top: 50%;
  width: 310px;
  height: 310px;
  background: url('../images/trong-dong.png') center center / contain no-repeat;
  opacity: 0.14;
  filter: brightness(0) invert(1) sepia(1) saturate(4) hue-rotate(5deg);
  pointer-events: none;
  animation: drumRotateHero 75s linear infinite;
  z-index: 1;
}

.page-header-banner .container {
  position: relative;
  z-index: 2;
}

.page-header-banner h2 {
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.page-header-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.content-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-group label .required {
  color: #dc2626;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.form-control:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(153, 27, 27, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Phiếu hẹn in (Appointment Slip) */
.appointment-slip {
  border: 2px dashed #991b1b;
  background: #fffdfa;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 25px;
}

.slip-header {
  text-align: center;
  border-bottom: 2px solid #991b1b;
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.slip-title {
  font-size: 18px;
  font-weight: 800;
  color: #991b1b;
  text-transform: uppercase;
}

.slip-code {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 2px;
  margin-top: 6px;
}

/* Timeline tra cứu */
.tracking-timeline {
  position: relative;
  padding-left: 30px;
  margin-top: 25px;
}

.tracking-timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #cbd5e1;
}

.timeline-item {
  position: relative;
  margin-bottom: 22px;
}

.timeline-dot {
  position: absolute;
  left: -30px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #94a3b8;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #cbd5e1;
}

.timeline-item.completed .timeline-dot {
  background: #16a34a;
  box-shadow: 0 0 0 2px #16a34a;
}

.timeline-item.active .timeline-dot {
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(153, 27, 27, 0.3);
}

.timeline-time {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
}

.timeline-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 2px;
}

/* TOAST NOTIFICATION */
.toast-msg {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #1e293b;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-msg.success {
  background: #166534;
  border-left: 4px solid #22c55e;
}

/* ==========================================================================
   PRINT MEDIA STYLES
   ========================================================================== */
@media print {
  body * {
    visibility: hidden;
  }
  .printable-area, .printable-area * {
    visibility: visible;
  }
  .printable-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
  .no-print {
    display: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .procedures-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-search {
    max-width: 100%;
    width: 100%;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 10px 0;
  }
  .nav-menu.show {
    display: flex;
  }
  .nav-link {
    width: 100%;
    padding: 12px 16px;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .procedures-grid {
    grid-template-columns: 1fr;
  }
  .workflow-steps {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .office-info-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
