* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #2c3e50;
  background: #f0f4f9;
  margin: 0;
  padding: 0;
}

.header {
  background: linear-gradient(135deg, #1a3a6e 0%, #2563a8 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.header .container-fluid {
  padding: 0;
}

.top-header {
  display: flex;
  align-items: center;
  padding: 14px 28px;
  gap: 18px;
}

.top-header .fig {
  flex-shrink: 0;
}

.top-header .fig img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.45);
  object-fit: cover;
  display: block;
}

.top-header .logo {
  flex: 1;
  min-width: 0;
}

.top-header .logo span {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  display: block;
  line-height: 1.2;
}

.top-header .logo p {
  margin: 5px 0 0 !important;
  color: rgba(255,255,255,0.92) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

.top-header .logo p b {
  font-weight: 500 !important;
  color: rgba(255,255,255,0.92) !important;
}

.top-header .logo p a,
.top-header .logo p a:visited,
.top-header .logo p a:hover {
  color: rgba(255,255,255,0.9) !important;
  text-decoration: none !important;
  pointer-events: none;
}

.top-header .insite {
  flex-shrink: 0;
}

.top-header .insite a,
.top-header .insite a:visited {
  display: inline-block;
  padding: 8px 22px;
  background: rgba(255,255,255,0.15);
  color: #ffffff !important;
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 22px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.top-header .insite a:hover {
  background: rgba(255,255,255,0.28);
}

nav {
  background: #14306b;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

nav .conteiner,
nav .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

nav ul li {
  position: relative;
}

nav ul li a,
nav ul li a:visited {
  display: block;
  padding: 13px 22px;
  color: rgba(255,255,255,0.85) !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  border-bottom: 3px solid transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
}

nav ul li a:hover {
  background: rgba(255,255,255,0.1);
  color: #ffffff !important;
  border-bottom-color: #f0c040;
}

.section,
.section_01 {
  padding: 30px 0;
}

.section .conteiner,
.section .container,
.section_01 .conteiner,
.section_01 .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.conteiner-gluid {
  background: #1a3a6e;
  padding: 24px 0;
}

.conteiner-gluid .conteiner,
.conteiner-gluid .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#main-text {
  background: #ffffff;
  border-radius: 10px;
  padding: 32px 36px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  margin-bottom: 10px;
}

#main-text h1 {
  font-size: 22px;
  font-weight: 700;
  color: #1a3a6e;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid #2563a8;
  line-height: 1.3;
}

#main-text h2 {
  font-size: 19px;
  font-weight: 700;
  color: #1a3a6e;
  margin: 30px 0 12px;
  padding-top: 6px;
}

#main-text p {
  color: #374a5c;
  margin-bottom: 15px;
  text-align: justify;
}

#main-text ul,
#main-text ol {
  padding-left: 22px;
  margin-bottom: 14px;
}

#main-text ul li,
#main-text ol li {
  margin-bottom: 8px;
  color: #374a5c;
}

.bloc_01 {
  background: #ffffff;
  border-radius: 8px;
  padding: 22px 20px 18px;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  border-top: 4px solid #2563a8;
  transition: box-shadow 0.2s, transform 0.2s;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bloc_01:hover {
  box-shadow: 0 8px 22px rgba(37,99,168,0.18);
  transform: translateY(-3px);
}

.bloc_01 p {
  margin-bottom: 12px;
}

.bloc_01 h8 {
  font-size: 15px;
  font-weight: 600;
  color: #1a3a6e;
  display: block;
  margin-bottom: 12px;
  line-height: 1.4;
}

.bloc_02 {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  border-top: 4px solid #2563a8;
  overflow: hidden;
  min-height: 160px;
}

.bloc_02 p:first-child {
  font-size: 15px;
  font-weight: 600;
  color: #1a3a6e;
  margin-bottom: 10px;
  border-bottom: 1px solid #e0e8f5;
  padding-bottom: 8px;
}

.bloc_02 img {
  border-radius: 6px;
  margin: 0 14px 10px 0;
  float: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.bloc_02 p,
.bloc_02 br {
  font-size: 14px;
  color: #374a5c;
  line-height: 1.7;
}

a.dalee,
a.dalee:visited {
  display: inline-block;
  padding: 7px 18px;
  background: #2563a8;
  color: #ffffff !important;
  border-radius: 5px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
  align-self: flex-start;
}

a.dalee:hover {
  background: #14306b;
  color: #ffffff !important;
  transform: translateY(-1px);
}

body > h1,
body > h2 {
  max-width: 1200px;
  margin: 28px auto 16px;
  padding: 0 20px 12px;
  font-size: 24px;
  font-weight: 700;
  color: #1a3a6e;
  border-bottom: 3px solid #2563a8;
  display: block;
}

body > h2 {
  font-size: 21px;
}

body > h4 {
  max-width: 1200px;
  margin: 20px auto 6px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  color: #2c3e50;
  display: block;
}

body > p {
  max-width: 1200px;
  margin: 0 auto 8px;
  padding: 0 20px;
  color: #374a5c;
  font-size: 14px;
  display: block;
}

body > a:not(.topbutton):not(.dalee),
body > a:not(.topbutton):not(.dalee):visited {
  display: block;
  max-width: 1200px;
  margin: 0 auto 14px;
  padding: 12px 20px 12px 52px;
  color: #2563a8 !important;
  text-decoration: none;
  font-size: 14px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232563a8' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3C/svg%3E") no-repeat 18px center;
  border-left: 4px solid #2563a8;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  line-height: 1.5;
  transition: background-color 0.15s, transform 0.1s;
}

body > a:not(.topbutton):not(.dalee):hover {
  background-color: #e8f0fb;
  color: #14306b !important;
  transform: translateX(3px);
}

a.topbutton,
a.topbutton:visited {
  display: inline-block;
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #2563a8;
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(37,99,168,0.35);
  transition: background 0.2s, transform 0.15s;
  z-index: 200;
}

a.topbutton:hover {
  background: #14306b;
  transform: translateY(-2px);
}

footer,
.footer {
  background: #14306b;
  padding: 20px;
  margin-top: 30px;
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
}

footer p,
.footer p {
  margin: 0;
  color: rgba(255,255,255,0.65) !important;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  margin-bottom: 20px;
}

table th {
  background: #1a3a6e;
  color: #ffffff;
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}

table td {
  padding: 10px 16px;
  font-size: 14px;
  color: #374a5c;
  border-bottom: 1px solid #e0e8f5;
}

table tr:last-child td {
  border-bottom: none;
}

table tr:hover td {
  background: #f4f8ff;
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 992px) {
  .top-header {
    padding: 12px 16px;
    gap: 12px;
  }

  .top-header .fig img {
    width: 60px;
    height: 60px;
  }

  .top-header .logo span {
    font-size: 20px;
  }

  nav ul li a {
    padding: 11px 14px;
    font-size: 13px;
  }

  #main-text {
    padding: 22px 20px;
  }
}

@media (max-width: 768px) {
  .top-header {
    flex-direction: column;
    text-align: center;
    padding: 14px 12px;
  }

  .top-header .fig img {
    width: 64px;
    height: 64px;
  }

  .top-header .logo span {
    font-size: 19px;
  }

  .top-header .logo p {
    font-size: 12px !important;
  }

  nav {
    position: relative;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li a {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    border-left: 3px solid transparent;
    font-size: 14px;
  }

  nav ul li a:hover {
    border-left-color: #f0c040;
    border-bottom-color: rgba(255,255,255,0.08) !important;
  }

  #main-text {
    padding: 16px 14px;
    border-radius: 6px;
  }

  #main-text h1 {
    font-size: 18px;
  }

  #main-text h2 {
    font-size: 16px;
  }

  .bloc_01,
  .bloc_02 {
    margin-bottom: 14px;
  }

  .section,
  .section_01 {
    padding: 18px 0;
  }

  body > h1 {
    font-size: 20px;
  }

  body > h2 {
    font-size: 17px;
  }

  body > a:not(.topbutton):not(.dalee) {
    padding: 10px 16px 10px 44px;
    background-position: 12px center;
  }

  a.topbutton {
    bottom: 16px;
    right: 16px;
    padding: 8px 14px;
  }

  .bloc_02 img {
    float: none;
    display: block;
    margin: 0 0 12px 0;
    width: 100px;
    height: auto;
  }
}

@media (max-width: 480px) {
  .top-header .fig img {
    width: 52px;
    height: 52px;
  }

  .top-header .logo span {
    font-size: 17px;
  }

  .top-header .insite a {
    padding: 6px 14px;
    font-size: 13px;
  }

  body > a:not(.topbutton):not(.dalee) {
    font-size: 13px;
  }
}