* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  background: #f7f7f4;
  color: #1f2937;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.ui-link {
  color: #163a59;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 160ms ease;
}

.ui-link:hover {
  color: #0f2f49;
}

.ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.ui-btn-primary {
  background: #163a59;
  border-color: #163a59;
  color: #fff;
}

.ui-btn-primary:hover {
  background: #0f2f49;
  border-color: #0f2f49;
  color: #fff;
}

.ui-btn-ghost {
  background: transparent;
  border-color: #d1d5db;
  color: #111827;
}

.ui-btn-ghost:hover {
  border-color: #111827;
  background: #f8fafc;
}

.container {
  width: min(1160px, 100% - 28px);
  margin: 0 auto;
}

.utility-bar {
  border-top: 3px solid #111827;
  border-bottom: 1px solid #d1d5db;
  background: #f2f3f1;
}

.utility-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

.domain-link {
  color: #163a59;
  text-decoration: underline;
}

.lang-links {
  display: flex;
  gap: 8px;
  font-weight: 600;
}

.lang-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #334155;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.lang-links a:hover {
  color: #0f2f49;
  background: rgba(22, 58, 89, 0.08);
  border-color: rgba(22, 58, 89, 0.2);
}

.lang-links a.is-active {
  background: rgba(22, 58, 89, 0.14);
  border-color: rgba(22, 58, 89, 0.34);
  color: #163a59;
}

.main-nav-wrap {
  background: linear-gradient(180deg, #151d2a 0%, #101723 100%);
  border-top: 1px solid #000;
  border-bottom: 1px solid #0a0f17;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 9px 2px 11px;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: #e5e7eb;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 2px;
  background: #9fbad7;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.main-nav a:hover {
  color: #ffffff;
  border-color: rgba(159, 186, 215, 0.34);
  background: rgba(159, 186, 215, 0.1);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav a.is-active {
  border-color: rgba(159, 186, 215, 0.58);
  background: rgba(159, 186, 215, 0.16);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.main-nav a.is-active::after {
  transform: scaleX(1);
  background: #d8e8f8;
}

.brand-wrap {
  min-height: 148px;
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 12px 20px;
  padding: 18px 0 24px;
}

.brand-logo {
  width: 124px;
  max-width: 100%;
  height: auto;
}

.brand-copy h1 {
  margin: 0 0 2px;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: #111827;
}

.brand-copy p {
  margin: 6px 0 0;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.35;
}

.services-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  padding-bottom: 34px;
}

.service-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: #000;
  aspect-ratio: 4/3;
  border: 1px solid #0b0b0b;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12, 21, 31, 0.16) 0%, rgba(12, 21, 31, 0.2) 48%, rgba(12, 21, 31, 0.44) 100%);
  z-index: 1;
  pointer-events: none;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 -36px 40px rgba(0, 0, 0, 0.3);
  z-index: 2;
  pointer-events: none;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.06);
  transition: transform 220ms ease, filter 220ms ease;
}

.service-card span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  z-index: 3;
}

.service-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.02) contrast(1.08);
}

.about-section {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 30px;
  padding-bottom: 34px;
}

.about-main,
.about-facts {
  background: #ffffff;
  border: 1px solid #d1d5db;
  padding: 22px;
}

.about-main h2,
.accreditations h2 {
  margin: 0 0 14px;
  font-size: 31px;
  color: #111827;
  line-height: 1.2;
}

.about-main p {
  margin: 0 0 14px;
  font-size: 17px;
  color: #1f2937;
}

.about-main p:last-child {
  margin-bottom: 0;
}

.about-facts h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: #111827;
}

.about-facts ul {
  margin: 0;
  padding-left: 18px;
  color: #1f2937;
}

.about-facts li {
  margin-bottom: 8px;
}

.accreditations {
  padding-bottom: 34px;
}

.accreditation-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.accreditation-grid div {
  min-height: 86px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.accreditation-grid img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  filter: grayscale(8%);
}

.page-head {
  display: grid;
  grid-template-columns: 360px 1fr;
  border-top: 2px solid #111827;
  border-bottom: 2px solid #111827;
  background: #ffffff;
  margin-bottom: 16px;
}

.page-head-image {
  position: relative;
  overflow: hidden;
  background: #101723;
}

.page-head-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(16, 23, 35, 0.12) 0%, rgba(16, 23, 35, 0.14) 50%, rgba(16, 23, 35, 0.26) 100%);
  z-index: 1;
  pointer-events: none;
}

.page-head-image::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 -30px 36px rgba(0, 0, 0, 0.24);
  z-index: 2;
  pointer-events: none;
}

.page-head-image img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.06);
}

.page-head-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #fafaf8 100%);
}

.breadcrumbs {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #6b7280;
}

.breadcrumbs a {
  color: #163a59;
  text-decoration: underline;
}

.page-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 36px);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #111827;
}

.inline-accreditations {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  padding-bottom: 16px;
}

.inline-accreditations img {
  max-height: 52px;
  width: auto;
}

.content-page {
  position: relative;
  overflow: hidden;
  border-top: 2px solid #111827;
  border-bottom: 2px solid #111827;
  background: #ffffff;
  padding: 20px 22px 22px;
  margin-bottom: 24px;
}

.page-watermark {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  max-width: min(50%, 360px);
  max-height: min(100%, 600px);
  pointer-events: none;
  filter: grayscale(35%);
}

.content-page.has-watermark {
  min-height: 260px;
}

.content-page ul {
  margin: 0;
  padding-left: 18px;
  position: relative;
  z-index: 1;
}

.content-page li {
  margin-bottom: 10px;
  font-size: 18px;
}

.content-article {
  position: relative;
  z-index: 1;
  color: #1f2937;
  line-height: 1.68;
}

.content-article > *:last-child {
  margin-bottom: 0;
}

.content-article p {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.72;
}

.content-article h1,
.content-article h2,
.content-article h3 {
  color: #111827;
  line-height: 1.25;
  margin: 22px 0 12px;
}

.content-article h1 {
  font-size: clamp(30px, 4vw, 40px);
}

.content-article h2 {
  font-size: clamp(24px, 3vw, 32px);
}

.content-article h3 {
  font-size: clamp(20px, 2.4vw, 26px);
}

.content-article ul,
.content-article ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

.content-article li {
  margin-bottom: 8px;
  font-size: 17px;
}

.wysiwyg ul,
.wysiwyg ol {
  margin: 0 0 18px;
  padding-left: 24px;
  list-style-position: outside;
}

.wysiwyg li {
  position: static;
  margin: 0 0 10px;
  padding-left: 0;
}

.wysiwyg ul {
  list-style-type: disc;
}

.wysiwyg ol {
  list-style-type: decimal;
}

.wysiwyg ul ul {
  list-style-type: circle;
}

.wysiwyg ul ul,
.wysiwyg ul ol,
.wysiwyg ol ul,
.wysiwyg ol ol {
  margin-top: 8px;
  margin-bottom: 8px;
}

.wysiwyg ol ol {
  list-style-type: lower-alpha;
}

.content-article blockquote {
  margin: 0 0 18px;
  padding: 10px 14px;
  border-left: 3px solid #163a59;
  background: #f7fafc;
  color: #1f2937;
}

.content-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 18px;
  font-size: 15px;
}

.content-article th,
.content-article td {
  border: 1px solid #d1d5db;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.content-article th {
  background: #f9fafb;
  color: #111827;
}

.content-article img {
  max-width: 100%;
  height: auto;
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-card {
  border: 1px solid #d1d5db;
  padding: 14px 14px 14px;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.news-card:hover {
  border-color: #b8c3cf;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.news-card-main {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 14px;
  align-items: stretch;
}

.news-card-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.news-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 10px;
  row-gap: 8px;
  margin-bottom: 10px;
}

.news-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
}

.news-card h3 a {
  color: #111827;
}

.news-card h3 a:hover {
  color: #163a59;
  text-decoration: underline;
}

.news-card-media {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 156px;
  overflow: hidden;
  border: 1px solid #d1d5db;
  background: #f3f4f6;
}

.news-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13, 20, 30, 0.08) 0%, rgba(13, 20, 30, 0.16) 100%);
  z-index: 1;
  pointer-events: none;
}

.news-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 -20px 24px rgba(0, 0, 0, 0.2);
  z-index: 2;
  pointer-events: none;
}

.news-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.06);
  transition: transform 220ms ease, filter 220ms ease;
}

.content-article .news-card-image {
  max-width: none;
  height: 100%;
}

.news-card:hover .news-card-image {
  transform: scale(1.035);
  filter: saturate(1.02) contrast(1.08);
}

.news-date {
  margin: 1px 0 0;
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid #d7dce2;
  background: #f8fafc;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  justify-self: end;
}

.news-card-excerpt {
  margin: 0 0 12px;
  color: #1f2937;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-read-more {
  margin-top: 2px;
}

@media (max-width: 980px) {
  .news-card-main {
    grid-template-columns: 170px 1fr;
  }
}
.locale-note {
  background: #f3f5f7;
  border: 1px solid #d1d5db;
  color: #4b5563;
  padding: 10px 12px;
  font-size: 14px;
}

.hero-image {
  padding-bottom: 24px;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #d1d5db;
}

.site-footer {
  border-top: 3px solid #111827;
  background: #f1f1ef;
  margin-top: auto;
}

.footer-inner {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.footer-inner a {
  color: #163a59;
  text-decoration: underline;
}

.error404-body {
  background: #0b1723;
}

.error404-page {
  flex: 1 0 auto;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: url("/uploads/images/404.png") center center/cover no-repeat;
}

.error404-card {
  width: min(760px, 100%);
  background: rgba(12, 22, 33, 0.6);
  backdrop-filter: blur(3px);
  padding: clamp(22px, 4vw, 40px);
  color: #f2f6fa;
  text-align: center;
}

.error404-code {
  margin: 0 0 8px;
  font: 700 clamp(56px, 10vw, 94px)/0.9 "Merriweather", "Georgia", serif;
  letter-spacing: 0.03em;
  color: #dbe9f6;
}

.error404-card h1 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.8vw, 38px);
  line-height: 1.15;
  color: #ffffff;
}

.error404-lead {
  margin: 0;
  max-width: 52ch;
  margin-inline: auto;
  color: #d6e1ea;
  font-size: clamp(16px, 2vw, 19px);
}

.error404-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.error404-btn {
  display: inline-block;
  border: 1px solid #c5d0dc;
  color: #eff5fb;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 14px;
}

.error404-btn:hover {
  background: rgba(197, 208, 220, 0.14);
}

.error404-btn.is-primary {
  border-color: #e6edf5;
  background: #e6edf5;
  color: #0f2436;
}

.error404-btn.is-primary:hover {
  background: #f6f9fc;
}

@media (max-width: 980px) {
  .about-section {
    grid-template-columns: 1fr;
  }
  .accreditation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-head {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .utility-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 10px 0;
    gap: 8px;
  }
  .lang-links a {
    min-height: 30px;
  }
  .brand-wrap {
    grid-template-columns: 1fr;
    padding: 14px 0 18px;
  }
  .brand-logo {
    width: 110px;
  }
  .brand-copy p {
    font-size: 16px;
  }
  .services-strip {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
  .accreditation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .news-card-main {
    grid-template-columns: 1fr;
  }
  .news-card-media {
    width: min(100%, 280px);
    height: auto;
    min-height: 0;
    aspect-ratio: 16/9;
  }
  .page-head h2 {
    font-size: 24px;
  }
  .content-page {
    padding: 16px;
  }
  .content-page li {
    font-size: 17px;
  }
  .page-watermark {
    max-width: 55%;
    right: 8px;
    bottom: 8px;
  }
  .error404-page {
    padding: 16px;
  }
  .error404-actions {
    flex-direction: column;
  }
  .error404-btn {
    text-align: center;
  }
}
@media (max-width: 430px) {
  .page-head-body {
    padding: 18px;
  }
  .breadcrumbs {
    font-size: 12px;
    line-height: 1.45;
  }
  .page-head h2 {
    font-size: 22px;
    line-height: 1.2;
  }
  .content-page {
    padding: 18px;
  }
  .content-article p {
    font-size: 16px;
    line-height: 1.72;
  }
  .content-article li {
    font-size: 16px;
    line-height: 1.62;
  }
  .wysiwyg ul,
  .wysiwyg ol {
    padding-left: 22px;
  }
  .news-card {
    padding: 16px;
  }
  .news-card-main {
    gap: 10px;
  }
  .news-card h3 {
    font-size: 20px;
  }
  .news-card-head {
    grid-template-columns: 1fr;
  }
  .news-date {
    justify-self: start;
  }
  .news-card-excerpt {
    font-size: 16px;
    line-height: 1.62;
  }
  .news-card-media {
    width: 100%;
  }
}