﻿@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  src: url('../fonts/material-symbols-outlined.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/Montserrat_2.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Montserrat_0.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/Montserrat_1.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 800;
  src: url('../fonts/Montserrat_3.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  src: url('../fonts/CormorantGaramond_cyrillicext.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  src: url('../fonts/CormorantGaramond_cyrillic.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  src: url('../fonts/CormorantGaramond_latinext.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  src: url('../fonts/CormorantGaramond_latin.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {

  --gov-navy-950: #060D17;
  --gov-navy-900: #0A1726;
  --gov-navy-850: #0E1F33;
  --gov-navy-800: #152A42;
  --gov-navy-700: #1E3857;

  --gov-gold-base: #C5A869;
  --gov-gold-light: #DFC995;
  --gov-gold-dim: rgba(197, 168, 105, 0.08);
  --gov-gold-border: rgba(197, 168, 105, 0.28);

  --kaz-sky: #009EDB;
  --arg-sky: #74ACDF;

  --canvas-main: #F8F9FA;
  --canvas-card: #FFFFFF;
  --canvas-subtle: #F1F4F8;
  --border-subtle: #E2E8F0;
  --border-card: #E2E8F0;

  --text-heading: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --text-dim: #94A3B8;

  --icon-light-surface: #1E293B;
  --icon-dark-surface: #E2E8F0;
  --icon-muted: #64748B;

  --font-heading: 'Cormorant Garamond', Garamond, 'Georgia', serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);

  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;

  --transition: all 0.2s ease-in-out;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: 200;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--canvas-main);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 168, 75, 0.3);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-title {
  font-family: var(--font-heading);
  line-height: 1.15;
  text-align: left;
}

.nav-title strong {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  display: block;
  white-space: nowrap;
}

.nav-title .nav-city {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--gov-gold-base);
  display: block;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
  padding: 4px 0;
  white-space: nowrap;
}

nav.scrolled {
  background: rgba(6, 13, 23, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  border-bottom-color: rgba(197, 168, 105, 0.35);
}

.nav-links a.active {
  color: var(--gov-gold-base);
  border-bottom: 2px solid var(--gov-gold-base);
}

.nav-links a:hover {
  color: var(--gov-gold-base);
}

.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(200, 168, 75, 0.35);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-sans);
  border-radius: var(--radius-xs);
}

.lang-btn:hover {
  color: var(--gov-gold-base);
  border-color: var(--gov-gold-base);
}

.lang-btn.active {
  background: var(--gov-gold-base);
  color: var(--gov-navy-950);
  border-color: var(--gov-gold-base);
  font-weight: 700;
}

.hamburger {
  display: none;
}

.hamburger span {
  pointer-events: none;
}

.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 6.5rem 2rem 5.5rem;
  overflow: hidden;
  background-color: #141414;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/Placa.jpg');
  background-size: cover;
  background-position: center center;
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.38);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 880px;
  margin: 0 auto;
  padding: 2.2rem 1.8rem;
  background: transparent;
  border-radius: var(--radius-md);
}

.hero-emblem-wrap {
  margin-bottom: 2rem;
  display: inline-block;
}

.hero-emblem {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: none;
}

.hero-subtitle {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.1rem;
  text-shadow: none;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: #FFFFFF;
  margin-bottom: 1.6rem;
  text-shadow: none;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: var(--gov-gold-base);
  margin: 0 auto 1.6rem;
  box-shadow: none;
}

.hero-location {
  font-size: 0.96rem;
  color: #FFFFFF;
  margin-bottom: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  letter-spacing: 0.02em;
  text-shadow: none;
}

.hero-location .material-symbols-outlined {
  font-size: 19px;
  color: var(--icon-dark-surface);
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 2.2rem;
  background: #FFFFFF;
  color: var(--gov-navy-950);
  border: 1px solid #FFFFFF;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-xs);
  transition: var(--transition);
  box-shadow: none;
  min-width: 240px;
}

.btn-primary .material-symbols-outlined {
  font-size: 18px;
  color: var(--gov-navy-950);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-xs);
  transition: var(--transition);
  min-width: 240px;
}

.btn-secondary .material-symbols-outlined {
  font-size: 18px;
  color: var(--icon-dark-surface);
}

.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.flags-strip {
  background: var(--gov-navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.15rem 0;
}

.flags-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.flag-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.flag-visual {
  width: 36px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none !important;
  overflow: hidden;
  flex-shrink: 0;
  background: transparent;
}

.flag-visual svg,
.flag-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.kaz-b1 { width: 36px; height: 12px; background: var(--kaz-sky); }
.kaz-b2 { width: 36px; height: 12px; background: var(--gov-gold-base); }

.arg-b1 { width: 36px; height: 8px; background: var(--arg-sky); }
.arg-b2 { width: 36px; height: 8px; background: #FFFFFF; }
.arg-b3 { width: 36px; height: 8px; background: var(--arg-sky); }

.flags-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
}

section {
  padding: 6.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.8rem;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #475569;
  font-weight: 700;
  margin-bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.section-label.light {
  color: #94A3B8;
}

.section-label .material-symbols-outlined {
  font-size: 18px;
  color: inherit;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
  line-height: 1.25;
}

.section-title.light {
  color: #FFFFFF;
}

.section-divider {
  width: 44px;
  height: 2px;
  background: #334155;
  margin: 0 auto;
}

.section-header.reveal .section-title.light + .section-divider {
  background: rgba(255, 255, 255, 0.3);
}

.section-intro {
  margin-top: 1.4rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.about-section {
  background: #FFFFFF;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.about-card-left {
  background: var(--canvas-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.about-img-box {
  position: relative;
  width: 100%;
  flex-grow: 1;
  overflow: hidden;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.about-card-left:hover .about-img {
  transform: scale(1.02);
}

.about-card-left-footer {
  padding: 1.2rem 1.6rem;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-badge-minimal {
  color: var(--text-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.about-badge-minimal .material-symbols-outlined {
  font-size: 16px;
  color: var(--icon-light-surface);
}

.about-card-right {
  background: var(--canvas-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2.8rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.highlight-box {
  background: #FFFFFF;
  border-left: 3px solid #334155;
  padding: 1.4rem 1.8rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.75;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.about-text p {
  margin-bottom: 1.2rem;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--text-body);
}

.about-text p strong {
  color: var(--text-heading);
  font-weight: 600;
}

.about-legal-foot {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}

.about-legal-foot .material-symbols-outlined {
  font-size: 16px;
  color: var(--icon-light-surface);
}

.consul-section {
  background: var(--gov-navy-900);
  color: #fff;
}

.consul-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.consul-card-left {
  background: var(--gov-navy-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 2.8rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  text-align: center;
}

.consul-photo-wrap {
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 1.5rem;
  background: var(--gov-navy-950);
}

.consul-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.consul-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.consul-role {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.consul-meta {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

.consul-meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: left;
}

.consul-meta-icon {
  color: var(--icon-dark-surface);
  font-size: 18px;
  flex-shrink: 0;
}

.consul-card-right {
  background: var(--gov-navy-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 2.8rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.consul-info-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.2rem;
  margin-bottom: 1.5rem;
}

.consul-info-header h3 {
  font-size: 1.35rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.consul-info-body p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.85;
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.consul-info-body p strong {
  color: #fff;
  font-weight: 600;
}

.legal-lines-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.legal-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.76rem;
  color: #CBD5E1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-line .material-symbols-outlined {
  font-size: 18px;
  color: var(--icon-dark-surface);
  flex-shrink: 0;
}

.services-section {
  background: var(--canvas-subtle);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #fff;
  padding: 2.6rem 2.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid #334155;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-align: center;
  height: 100%;
}

.service-card:hover {
  border-top-color: #0F172A;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-icon-minimal {
  font-size: 28px;
  color: var(--icon-light-surface);
  margin-bottom: 1.2rem;
  display: inline-block;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.85rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 400;
  flex-grow: 1;
}

.gallery-section {
  background: var(--gov-navy-950);
  color: #fff;
  padding: 5.5rem 0;
}

.gallery-single-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.gallery-flag-frame {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3/2;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  background: #000;
}

.gallery-flag-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.gallery-flag-frame:hover img {
  transform: scale(1.02);
}

.kaz-section {
  background: var(--canvas-main);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  margin-bottom: 2.2rem;
}

.stat-box {
  background: #fff;
  text-align: center;
  padding: 2.4rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  transition: var(--transition);
}

.stat-box:hover {
  border-color: #0F172A;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-icon-minimal {
  font-size: 24px;
  color: var(--icon-light-surface);
  margin-bottom: 0.8rem;
  display: inline-block;
}

.stat-value {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.4;
  display: block;
}

.stat-source {
  font-size: 0.65rem;
  color: #94A3B8;
  margin-top: 0.8rem;
  font-style: italic;
}

.live-data-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.74rem;
  color: var(--text-muted);
  padding: 0.95rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  text-align: center;
  max-width: 100%;
  margin: 0 auto 3.5rem;
}

.live-data-note .material-symbols-outlined {
  color: var(--icon-light-surface);
}

.kaz-editorial {
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  padding: 3.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.kaz-editorial p {
  color: var(--text-body);
  font-size: 0.94rem;
  line-height: 1.9;
  font-weight: 400;
  margin-bottom: 1.35rem;
  text-align: justify;
  text-justify: inter-word;
}

.kaz-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2.2rem;
  background: var(--gov-navy-950);
  color: #fff;
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.kaz-cta-btn .material-symbols-outlined {
  font-size: 18px;
  color: #fff;
}

.kaz-cta-btn:hover {
  background: #000;
  transform: translateY(-2px);
}

.org-section {
  background: var(--canvas-subtle);
}

.gov-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

.gov-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 1.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid #334155;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: var(--transition);
  height: 100%;
}

.gov-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-left-color: #0F172A;
}

.gov-card--featured {
  border-left-color: #0F172A;
  background: linear-gradient(to right, #FFFFFF, #F8FAFD);
}

.gov-card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.gov-icon-minimal {
  color: var(--icon-light-surface);
  font-size: 22px;
}

.gov-link-icon-minimal {
  color: var(--text-muted);
  font-size: 16px;
  transition: color 0.2s;
}

.gov-card:hover .gov-link-icon-minimal {
  color: #0F172A;
}

.gov-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.2rem;
  line-height: 1.35;
}

.gov-name-kz {
  font-size: 0.72rem;
  color: #94A3B8;
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.gov-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.2rem;
}

.gov-link-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: auto;
}

.org-note {
  margin-top: 3.5rem;
  padding: 1.4rem 1.8rem;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid #334155;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
  text-align: center;
}

.cak-section {
  background: var(--gov-navy-900);
  color: #fff;
}

.cak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.cak-card-left {
  background: var(--gov-navy-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.8rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.cak-tag-row {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.cak-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.3rem 0.8rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
}

.cak-left-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
}

.cak-left-body p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.cak-btn-row {
  display: flex;
  gap: 1.2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cak-card-right {
  background: var(--gov-navy-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.8rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.cak-box-title {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #CBD5E1;
  margin-bottom: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cak-box-title .material-symbols-outlined {
  color: var(--icon-dark-surface);
}

.cak-pillar-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cak-pillar-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.cak-pillar-icon-minimal {
  color: var(--icon-dark-surface);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.cak-pillar-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.cak-pillar-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.62;
}

.cak-meta-box {
  margin-top: 1.8rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border-left: 2px solid #CBD5E1;
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.75;
}

.cak-meta-box .material-symbols-outlined {
  font-size: 15px;
  color: var(--icon-dark-surface);
  margin-right: 4px;
}

.contact-section {
  background: var(--gov-navy-950);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.contact-card-left {
  background: var(--gov-navy-850);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 2.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.contact-card-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
  line-height: 1.35;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.contact-icon-minimal {
  color: var(--icon-dark-surface);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-value {
  font-size: 0.92rem;
  color: #fff;
  line-height: 1.5;
}

.contact-value a {
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
}

.contact-value a:hover {
  text-decoration: underline;
}

.contact-card-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 100%;
}

.jurisdiction-card {
  background: var(--gov-navy-850);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 2.8rem;
  flex-grow: 1;
}

.circ-title {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #CBD5E1;
  margin-bottom: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.circ-title .material-symbols-outlined {
  color: var(--icon-dark-surface);
}

.jurisdiction-table {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.jurisdiction-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
}

.jurisdiction-key {
  color: var(--text-dim);
  font-weight: 500;
}

.jurisdiction-val {
  color: #fff;
  font-weight: 600;
  text-align: right;
}

.embassy-card {
  background: var(--gov-navy-850);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 2.8rem;
}

.embassy-card h4 {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #CBD5E1;
  margin-bottom: 1rem;
  font-weight: 700;
}

.embassy-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.embassy-loc {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: #CBD5E1;
}

.embassy-loc .material-symbols-outlined {
  color: var(--icon-dark-surface);
}

footer {
  background: #02070D;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 2.5rem;
  color: var(--text-dim);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.footer-emblem {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-brand-text {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}

.footer-nav {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.72rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom span span {
  color: var(--text-dim);
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top-btn {
  position: fixed;
  bottom: 2.2rem;
  right: 2.2rem;
  width: 46px;
  height: 46px;
  background-color: var(--gov-navy-950);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.scroll-top-btn .material-symbols-outlined {
  font-size: 21px;
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 20;
  color: #FFFFFF;
  transition: transform 0.2s ease, color 0.2s ease;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: #0c1a2c;
  border-color: var(--gov-gold-base);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.scroll-top-btn:hover .material-symbols-outlined {
  transform: translateY(-2px);
  color: var(--gov-gold-base);
}

.scroll-top-btn:focus-visible {
  outline: 2px solid var(--gov-gold-base);
  outline-offset: 3px;
}

@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 1.75rem;
  }
  .nav-links {
    gap: 1.3rem;
  }
  .nav-links a {
    font-size: 0.68rem;
  }
  .stats-grid {
    gap: 1.2rem;
  }
}

@media (max-width: 1024px) {
  section {
    padding: 5rem 0;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .about-grid,
  .consul-grid,
  .cak-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .gov-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }
  .about-card-right,
  .consul-card-right,
  .consul-card-left,
  .cak-card-left,
  .cak-card-right,
  .contact-card-left,
  .jurisdiction-card {
    padding: 2.2rem;
  }
}

@media (max-width: 1280px) {
  nav {
    padding: 0 1.5rem;
  }
  .nav-title {
    max-width: 280px;
  }
  .nav-title strong {
    font-size: 0.96rem;
    line-height: 1.18;
    white-space: normal;
  }
  .nav-title .nav-city {
    font-size: 0.62rem;
    letter-spacing: 0.05em;
  }
  .lang-switcher {
    margin-left: auto;
    margin-right: 0.75rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(10, 23, 38, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.8rem 1.6rem;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(200, 168, 75, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    z-index: 9999;
  }
  .nav-links.mobile-open {
    display: flex !important;
  }
  .nav-links a {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    padding: 0.5rem 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 4px;
    z-index: 1001;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #FFFFFF;
    transition: var(--transition);
  }
  .hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 768px) {
  p,
  .about-text p,
  .consul-body p,
  .cak-left-body p,
  .section-intro,
  .highlight-box,
  .service-card p,
  .gov-desc,
  .org-note,
  .jurisdiction-card p,
  .schedule-desc {
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
  }

  section {
    padding: 4rem 0;
  }
  .container {
    padding: 0 1.25rem;
  }
  .hero {
    min-height: 80vh;
    padding: 6rem 1.25rem 4.5rem;
  }
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.35;
  }
  .hero-content {
    padding: 1.8rem 1.2rem;
  }
  .hero-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
  }
  .hero-location {
    font-size: 0.88rem;
    margin-bottom: 2.2rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .gov-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .flags-inner {
    gap: 1.8rem;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.2rem;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 0.8rem 1.6rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
  .scroll-top-btn {
    bottom: 1.4rem;
    right: 1.4rem;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 580px) {
  nav {
    padding: 0 1rem;
    height: 66px;
  }
  .nav-title {
    max-width: 220px;
  }
  .nav-title strong {
    font-size: 0.86rem;
    line-height: 1.16;
  }
  .nav-title .nav-city {
    font-size: 0.56rem;
    letter-spacing: 0.04em;
  }
  .lang-switcher {
    gap: 3px;
    margin-right: 0.4rem;
  }
  .lang-btn {
    font-size: 0.58rem;
    padding: 3px 6px;
  }
  .hero {
    padding: 5.5rem 1rem 3.8rem;
  }
  .hero-emblem {
    width: 90px;
    height: 90px;
    margin-bottom: 1.4rem;
  }
  .hero-title {
    font-size: 1.85rem;
    line-height: 1.36;
    letter-spacing: 0;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    min-width: 0;
    padding: 0.85rem 1.4rem;
    font-size: 0.74rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .about-card-right,
  .consul-card-right,
  .consul-card-left,
  .cak-card-left,
  .cak-card-right,
  .contact-card-left,
  .jurisdiction-card {
    padding: 1.8rem 1.4rem;
  }
  .about-card-left-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem 1.4rem;
  }
  .cak-btn-row {
    flex-direction: column;
    width: 100%;
  }
  .cak-btn-row a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 380px) {
  nav {
    padding: 0 0.65rem;
    height: 62px;
  }
  .nav-title {
    max-width: 175px;
  }
  .nav-title strong {
    font-size: 0.78rem;
    line-height: 1.15;
  }
  .nav-title .nav-city {
    font-size: 0.52rem;
    letter-spacing: 0.04em;
  }
  .lang-switcher {
    gap: 2px;
    margin-right: 0.2rem;
  }
  .lang-btn {
    font-size: 0.54rem;
    padding: 2px 4px;
  }
  .hero {
    padding: 5rem 0.75rem 3.2rem;
  }
  .hero-content {
    padding: 1.2rem 0.5rem;
  }
  .hero-emblem {
    width: 76px;
    height: 76px;
  }
  .hero-title {
    font-size: 1.55rem;
    line-height: 1.34;
    letter-spacing: 0;
  }
  .hero-subtitle {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }
  .hero-location {
    font-size: 0.78rem;
  }
  .flags-inner {
    flex-direction: column;
    gap: 0.75rem;
  }
  .flags-divider {
    display: none;
  }
  .section-title {
    font-size: 1.45rem;
  }
  .about-card-right,
  .consul-card-right,
  .consul-card-left,
  .cak-card-left,
  .cak-card-right,
  .contact-card-left,
  .jurisdiction-card {
    padding: 1.4rem 1rem;
  }
  .stat-value {
    font-size: 1.9rem;
  }
  .footer-nav {
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-start;
  }
  .scroll-top-btn {
    bottom: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
  }
}


