:root {
  --blue: #083c84;
  --blue-dark: #062b5d;
  --green: #12b3a6;
  --bg: #f4f7fb;
  --text: #183153;
  --muted: #667085;
  --border: #e5edf6;
  --white: #ffffff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Noto Sans", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}
.rnp-container {
  max-width: 1320px;
}
.site-header {
  background: #fff;
}
.header-top {
  background: #fff;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.header-grid {
  display: grid;
  grid-template-columns: 330px 1fr 500px;
  gap: 28px;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--blue);
  min-width: 0;
}
.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text {
  min-width: 0;
}
.brand-title {
  font-weight: 900;
  font-size: 15px;
  line-height: 1.22;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--blue);
  word-break: normal;
}
.brand-subtitle {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.25;
}
.header-search {
  position: relative;
}
.header-search input {
  width: 100%;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 54px 0 18px;
  background: #f8fbff;
  outline: none;
  font-family: inherit;
}
.header-search button {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: white;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.vision-link,
.login-link {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.vision-link:hover,
.login-link:hover {
  background: #f8fbff;
  color: var(--blue);
}
.phone-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone-box i {
  color: var(--green);
  font-size: 22px;
}
.phone-box strong {
  display: block;
  font-size: 14px;
  white-space: nowrap;
}
.phone-box span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.lang {
  display: flex;
  gap: 4px;
}
.lang form {
  margin: 0;
}
.lang button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
  font-family: inherit;
}
.lang button.active {
  background: var(--blue);
  color: white;
}
.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  font-size: 24px;
  color: var(--blue);
}
.mega-nav {
  background: var(--blue);
  position: relative;
  z-index: 50;
}
.mega-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
.menu-item > a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 700;
  padding: 19px 20px;
  transition: 0.2s;
}
.menu-item > a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}
.menu-item > a i {
  font-size: 12px;
}
.has-mega {
  position: relative;
}
.mega-panel {
  position: absolute;
  left: 0;
  top: 100%;
  width: 760px;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  background: white;
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 22px 55px rgba(16, 24, 40, 0.18);
  overflow: hidden;
}
.mega-panel.wide {
  width: 980px;
  grid-template-columns: repeat(4, 1fr);
}
.has-mega:hover .mega-panel {
  display: grid;
}
.mega-col {
  padding: 28px;
  border-right: 1px solid var(--border);
}
.mega-col h5 {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.mega-col a {
  display: block;
  color: #344054;
  padding: 7px 0;
  font-size: 15px;
  line-height: 1.35;
}
.mega-col a:hover {
  color: var(--green);
  padding-left: 4px;
}
.mega-feature {
  padding: 28px;
  background: #f8fbff;
}
.mega-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: white;
  border-radius: 16px;
  font-size: 24px;
  margin-bottom: 14px;
}
.mega-feature strong {
  display: block;
  color: var(--blue);
  margin-bottom: 8px;
  line-height: 1.35;
}
.mega-feature p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}
.appointment-link {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--green);
  color: white;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.appointment-link:hover {
  color: white;
  filter: brightness(0.95);
}
.mobile-menu a {
  display: block;
  padding: 13px 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-primary {
  margin-top: 14px;
  background: var(--blue);
  color: white !important;
  border-radius: 12px;
  text-align: center;
}
.mobile-search {
  position: relative;
  margin-bottom: 12px;
}
.mobile-search input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 44px 0 12px;
}
.mobile-search button {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: white;
}
.hero {
  padding: 36px 0 24px;
}
.hero-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 52px;
  box-shadow: 0 12px 40px rgba(16, 24, 40, 0.08);
  overflow: hidden;
}
.hero-label {
  display: inline-flex;
  padding: 8px 14px;
  background: #e8fbf8;
  color: #078678;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 18px;
}
.hero-title {
  color: var(--blue);
  font-size: 52px;
  line-height: 1.08;
  font-weight: 900;
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}
.hero-text {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
  max-width: 580px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.btn-main,
.btn-secondary-rnp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 14px 20px;
  font-weight: 900;
  border: 0;
  font-family: inherit;
}
.btn-main {
  background: var(--blue);
  color: white;
}
.btn-main:hover {
  color: white;
  filter: brightness(0.95);
}
.btn-secondary-rnp {
  background: #eef5ff;
  color: var(--blue);
}
.hero-map img {
  max-height: 420px;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(8, 60, 132, 0.12));
}
.quick-services {
  padding: 8px 0 36px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 138px;
  color: var(--text);
  box-shadow: 0 7px 24px rgba(16, 24, 40, 0.05);
  transition: 0.25s ease;
  min-width: 0;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: #b8d3f2;
}
.service-icon {
  min-width: 58px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 25px;
}
.service-icon.green {
  background: var(--green);
}
.service-icon.blue {
  background: var(--blue);
}
.service-card h4 {
  font-size: 19px;
  color: var(--blue);
  margin-bottom: 6px;
  font-weight: 900;
  line-height: 1.25;
}
.service-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}
.service-arrow {
  margin-left: auto;
  color: var(--green);
  font-size: 20px;
  transition: 0.25s;
}
.service-card:hover .service-arrow {
  transform: translateX(5px);
}
.content-section {
  padding: 28px 0;
}
.panel,
.rnp-panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 7px 24px rgba(16, 24, 40, 0.05);
}
.section-head,
.rnp-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.section-head h2,
.rnp-panel-header h2 {
  margin: 0;
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}
.section-head a,
.rnp-panel-header a {
  color: var(--green);
  font-weight: 900;
  white-space: nowrap;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.news-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  background: #fff;
  min-width: 0;
  overflow: hidden;
}
.news-img {
  height: 150px;
  border-radius: 14px;
  margin-bottom: 14px;
}
.news-real-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
  display: block;
}
.gradient-1 {
  background: linear-gradient(135deg, #083c84, #12b3a6);
}
.gradient-2 {
  background: linear-gradient(135deg, #2b65b1, #72c8ef);
}
.gradient-3 {
  background: linear-gradient(135deg, #0f766e, #99f6e4);
}
.news-body {
  padding: 0;
}
.news-date {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}
.news-title,
.news-card h5 {
  color: var(--blue);
  font-weight: 900;
  font-size: 16px;
  line-height: 1.35;
  margin: 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.news-text,
.news-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.news-link,
.news-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 900;
}
.announcement-card {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f4fbff, #eefaf8);
  border: 1px solid var(--border);
  min-width: 0;
  overflow: hidden;
}
.announcement-icon {
  min-width: 58px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.announcement-content {
  min-width: 0;
}
.announcement-card h5 {
  font-weight: 900;
  color: var(--blue);
  line-height: 1.35;
  margin-top: 7px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.announcement-card p {
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.announcement-card a {
  font-weight: 900;
  color: var(--green);
}
.mini-announcement {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
}
.mini-announcement strong {
  display: block;
  color: var(--blue);
}
.mini-announcement span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}
.region-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.region-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 15px 16px;
  color: var(--text);
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  transition: 0.25s;
  min-width: 0;
  overflow: hidden;
  word-break: break-word;
}
.region-card i {
  color: var(--green);
}
.region-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  color: var(--blue);
}
.document-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.document-card,
.rnp-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  color: var(--text);
  background: #fff;
  transition: 0.25s;
  min-width: 0;
  overflow: hidden;
  height: 100%;
}
.document-card:hover,
.rnp-card:hover {
  transform: translateY(-4px);
  border-color: #b8d3f2;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
}
.document-card i {
  font-size: 34px;
  color: var(--green);
}
.document-card h5,
.rnp-card h4,
.rnp-card h5 {
  color: var(--blue);
  font-weight: 900;
  margin-top: 14px;
  line-height: 1.3;
  word-break: break-word;
}
.document-card p,
.rnp-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
  word-break: break-word;
}
.empty-box,
.rnp-empty {
  padding: 22px;
  border: 1px dashed var(--border);
  border-radius: 16px;
  color: var(--muted);
  background: #fff;
}
.page-section {
  padding: 40px 0;
}
.page-head {
  margin-bottom: 24px;
}
.page-title,
.page-head h1 {
  color: var(--blue);
  font-size: 42px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 10px;
  word-break: break-word;
}
.page-subtitle,
.page-head p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 780px;
}
.rnp-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: white;
  margin-bottom: 18px;
}
.rnp-card-icon.blue {
  background: var(--blue);
}
.rnp-card-icon.green {
  background: var(--green);
}
.rnp-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.rnp-info-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #f8fbff;
  min-width: 0;
}
.rnp-info-card i {
  color: var(--green);
  font-size: 26px;
  flex-shrink: 0;
}
.rnp-info-card strong {
  display: block;
  color: var(--blue);
  margin-bottom: 4px;
  line-height: 1.35;
}
.rnp-info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  word-break: break-word;
}
.rnp-alert {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #f8fbff;
}
.rnp-alert-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 18px;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.rnp-alert strong {
  display: block;
  color: var(--blue);
  margin-bottom: 4px;
}
.rnp-alert p {
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.form-control {
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  font-family: inherit;
}
textarea.form-control {
  height: auto;
}
.form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(18, 179, 166, 0.12);
}
.form-label {
  color: var(--blue);
  font-weight: 800;
}
.search-page-form {
  display: flex;
  gap: 12px;
  background: white;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
}
.search-page-form input {
  flex: 1;
  border: 0;
  outline: none;
  font-size: 18px;
  padding: 0 12px;
  font-family: inherit;
}
.search-page-form button {
  border: 0;
  background: var(--blue);
  color: white;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 900;
}
.search-group {
  margin-top: 28px;
}
.search-group h4 {
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 14px;
}
.search-result {
  display: block;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
  margin-bottom: 10px;
  background: #fff;
}
.search-result strong {
  display: block;
  color: var(--blue);
  margin-bottom: 4px;
}
.search-result span {
  color: var(--muted);
}
.doc-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.doc-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--text);
  background: white;
  transition: 0.25s;
}
.doc-row:hover {
  transform: translateY(-2px);
  border-color: var(--green);
}
.doc-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 16px;
  background: #e8fbf8;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.doc-info {
  min-width: 0;
}
.doc-info h5 {
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 4px;
  word-break: break-word;
}
.doc-info p {
  color: var(--muted);
  margin-bottom: 4px;
  word-break: break-word;
}
.doc-info span {
  color: var(--muted);
  font-size: 13px;
}
.doc-arrow {
  margin-left: auto;
  color: var(--green);
  font-size: 22px;
}
.download-box {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f8fbff;
}
.download-box i {
  font-size: 42px;
  color: var(--green);
}
.download-box h5 {
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 4px;
}
.download-box p {
  color: var(--muted);
  margin-bottom: 0;
}
.download-box .btn-main {
  margin-left: auto;
}
.article-layout {
  max-width: 900px;
  margin: 0 auto;
}
.article-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 38px;
  box-shadow: 0 7px 24px rgba(16, 24, 40, 0.05);
}
.article-title {
  color: var(--blue);
  font-size: 42px;
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 24px;
  word-break: break-word;
}
.article-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 28px;
}
.article-content {
  font-size: 18px;
  line-height: 1.8;
  color: #344054;
  word-break: break-word;
}
.region-detail-head {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-bottom: 30px;
}
.region-detail-icon {
  width: 78px;
  height: 78px;
  border-radius: 24px;
  background: #e8fbf8;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  flex-shrink: 0;
}
.region-chairman {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}
.region-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.region-info-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #f8fbff;
}
.region-info-card i {
  color: var(--green);
  font-size: 26px;
}
.region-info-card strong {
  display: block;
  color: var(--blue);
  margin-bottom: 4px;
}
.region-info-card p {
  margin: 0;
  color: var(--muted);
  word-break: break-word;
}
.map-placeholder {
  min-height: 220px;
  border: 1px dashed var(--border);
  border-radius: 20px;
  background: #f8fbff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.footer {
  margin-top: 42px;
  padding: 54px 0 24px;
  background: var(--blue-dark);
  color: white;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 34px;
}
.footer a {
  display: block;
  color: #d8e6f8;
  margin-bottom: 10px;
}
.footer h6,
.footer h5 {
  font-weight: 900;
  margin-bottom: 16px;
}
.footer p {
  color: #d8e6f8;
}
.footer-brand img {
  width: 72px;
  margin-bottom: 14px;
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 34px;
  padding-top: 20px;
  color: #c9d8ee;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer-bottom span:last-child {
  display: flex;
  gap: 18px;
}
.footer-bottom a {
  display: inline;
  color: #d8e6f8;
  margin: 0;
}
body.vision-mode {
  --bg: #ffffff;
  --text: #000000;
  --muted: #000000;
  --border: #000000;
  background: #ffffff;
  color: #000000;
  font-size: 120%;
}
body.vision-mode .header-top,
body.vision-mode .panel,
body.vision-mode .rnp-panel,
body.vision-mode .hero-card,
body.vision-mode .service-card,
body.vision-mode .document-card,
body.vision-mode .news-card,
body.vision-mode .region-card,
body.vision-mode .article-card {
  box-shadow: none !important;
  border: 2px solid #000 !important;
}
body.vision-mode .mega-nav,
body.vision-mode .btn-main,
body.vision-mode .appointment-link {
  background: #000 !important;
  color: #fff !important;
}
body.vision-mode a {
  text-decoration: underline;
}
body.vision-mode img {
  filter: grayscale(100%);
}
.error-page {
  text-align: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 70px 30px;
  box-shadow: 0 7px 24px rgba(16, 24, 40, 0.05);
}
.error-code {
  font-size: 120px;
  line-height: 1;
  font-weight: 900;
  color: var(--blue);
  opacity: 0.18;
}
@media (max-width: 1200px) {
  .header-grid {
    grid-template-columns: 280px 1fr;
    gap: 18px;
  }
  .header-actions {
    grid-column: 1/3;
    justify-content: space-between;
  }
  .hero-title {
    font-size: 42px;
  }
}
@media (max-width: 992px) {
  .mega-nav {
    display: none;
  }
  .header-search,
  .vision-link span,
  .phone-box {
    display: none;
  }
  .header-grid {
    display: flex;
    justify-content: space-between;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .service-grid,
  .news-grid,
  .region-grid,
  .document-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-card {
    padding: 32px;
  }
}
@media (max-width: 768px) {
  .rnp-info-grid,
  .region-info-grid {
    grid-template-columns: 1fr;
  }
  .section-head,
  .rnp-panel-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .download-box {
    flex-direction: column;
    align-items: flex-start;
  }
  .download-box .btn-main {
    margin-left: 0;
  }
}
@media (max-width: 576px) {
  .brand-logo {
    width: 56px;
    height: 56px;
  }
  .brand-title {
    font-size: 12px;
  }
  .brand-subtitle {
    font-size: 11px;
  }
  .login-link span {
    display: none;
  }
  .header-actions .lang-tabs {
    display: none;
  }
  .hero-title {
    font-size: 31px;
  }
  .hero-text {
    font-size: 16px;
  }
  .service-grid,
  .news-grid,
  .region-grid,
  .document-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom span:last-child {
    flex-direction: column;
    gap: 8px;
  }
  .article-card {
    padding: 24px;
  }
  .article-title {
    font-size: 30px;
  }
  .page-title,
  .page-head h1 {
    font-size: 32px;
  }
  .error-code {
    font-size: 82px;
  }
}


/* lang */
.lang-tabs{
    display:flex;
    background:#eef5ff;
    border:1px solid var(--border);
    border-radius:14px;
    padding:3px;
    gap:3px;
}

.lang-tab{
    min-width:44px;
    height:36px;
    padding:0 10px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--blue);
    font-size:13px;
    font-weight:900;
    text-decoration:none;
}

.lang-tab.active{
    background:var(--blue);
    color:white;
    box-shadow:0 4px 12px rgba(8,60,132,.22);
}

.lang-tab:hover{
    color:var(--blue);
    background:white;
}

.lang-tab.active:hover{
    color:white;
    background:var(--blue);
}

/* responsive polish */
@media (max-width: 576px) {
  .header-actions { gap: 8px; }
  .hero-card, .panel, .rnp-panel { padding: 22px; border-radius: 18px; }
  .hero-actions, .search-page-form { flex-direction: column; align-items: stretch; }
  .hero-actions a, .search-page-form button { width: 100%; }
  .service-card { min-height: 0; }
  .doc-row { align-items: flex-start; }
  .doc-arrow { display: none; }
}

.mobile-lang-tabs {
  display: flex;
  width: 100%;
  gap: 6px;
  margin-bottom: 14px;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #eef5ff;
}
.mobile-lang-tabs .lang-tab {
  flex: 1;
}

/* Critical news and region layout fixes */
.news-list-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}
.news-list-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}
.news-card .news-real-img,
.news-card .news-img {
  width: 100% !important;
  height: 210px !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  flex: 0 0 auto !important;
}
.news-detail-card {
  overflow: visible !important;
}
.news-detail-image {
  width: 100% !important;
  height: auto !important;
  max-height: 520px !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  margin: 0 0 28px !important;
  border-radius: 14px !important;
  background: #f3f6f8 !important;
}
.regions-directory {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
}
.region-directory-card,
.regions-directory .region-card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 220px !important;
  padding: 24px !important;
  gap: 12px !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(23, 38, 57, 0.08) !important;
}
.region-directory-card .region-card-footer,
.regions-directory .region-card .region-card-footer {
  margin-top: auto !important;
}
.region-portal-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 340px !important;
  gap: 28px !important;
  align-items: stretch !important;
  margin-bottom: 32px !important;
}
.region-portal-card {
  padding: 28px !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(23, 38, 57, 0.08) !important;
}
.region-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 28px !important;
  align-items: start !important;
}
.region-layout-main,
.region-layout-side {
  min-width: 0 !important;
}
.region-layout-side {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}
.region-contact-panel,
.region-sidebar-card {
  margin-top: 0 !important;
  padding: 24px !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(23, 38, 57, 0.08) !important;
}
.region-contact-panel .contact-item,
.region-sidebar-card .contact-item {
  display: flex !important;
  gap: 12px !important;
  align-items: flex-start !important;
  padding: 12px 0 !important;
}
.region-contact-panel .contact-item + .contact-item,
.region-sidebar-card .contact-item + .contact-item {
  border-top: 1px solid #edf1f4 !important;
}
@media (max-width: 1199px) {
  .regions-directory { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .region-portal-hero,
  .region-layout { grid-template-columns: 1fr !important; }
}
@media (max-width: 767px) {
  .news-card .news-real-img,
  .news-card .news-img { height: 190px !important; }
  .regions-directory { grid-template-columns: 1fr !important; }
  .region-portal-card,
  .region-contact-panel,
  .region-sidebar-card { padding: 20px !important; }
}



/* Header alignment polish */
.header-search {
  display: flex;
  align-items: center;
  margin: 0;
}
.header-search button,
.vision-link,
.login-link,
.mobile-toggle,
.lang-tabs,
.lang-tab {
  box-sizing: border-box;
}
.header-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.header-search button i,
.vision-link i,
.login-link i,
.mobile-toggle i,
.lang-tab {
  line-height: 1;
}
.header-actions {
  min-height: 52px;
}
.vision-link,
.login-link {
  height: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
}
.vision-link span,
.login-link span {
  line-height: 1.15;
}
.lang-tabs {
  align-items: center;
  justify-content: center;
  height: 42px;
  flex-shrink: 0;
}
.lang-tab {
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}
.mobile-lang-tabs {
  align-items: center;
}
.mobile-lang-tabs .lang-tab {
  height: 42px;
  min-height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
}
.mobile-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

@media (max-width: 992px) {
  .header-actions {
    min-height: 42px;
    align-items: center;
  }
  .vision-link {
    width: 42px;
    padding: 0;
    flex-shrink: 0;
  }
}


/* Header spacing and tablet/mobile behavior */
@media (max-width: 1500px) {
  .header-grid {
    grid-template-columns: 320px minmax(260px, 1fr) max-content;
    gap: 20px;
  }
  .header-actions {
    gap: 8px;
  }
  .phone-box span {
    display: none;
  }
}

@media (max-width: 1200px) {
  .header-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }
  .header-search {
    display: none !important;
  }
  .phone-box,
  .vision-link span {
    display: none !important;
  }
  .vision-link {
    width: 42px;
    padding: 0;
    flex-shrink: 0;
  }
  .header-actions {
    grid-column: auto;
    justify-content: flex-end;
    flex-shrink: 0;
  }
}

/* Hero action overflow polish */

@media (max-width: 1200px) {
  .hero-actions {
    flex-wrap: wrap;
  }
  .hero-actions a,
  .appointment-link,
  .btn-secondary-rnp {
    max-width: 100%;
  }
}


/* Compact vision button on desktop */
@media (min-width: 1201px) {
  .vision-link {
    width: 148px;
    height: 46px;
    padding: 0 10px;
    flex-shrink: 0;
    justify-content: center;
  }
  .vision-link span {
    max-width: 92px;
    white-space: normal;
    line-height: 1.08;
    text-align: left;
  }
}
