:root {
  --ink: #172145;
  --navy: #252b83;
  --blue: #218ed1;
  --cyan: #25afe4;
  --sky: #eaf7fd;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --line: #dce5ef;
  --muted: #66708b;
  --shadow: 0 18px 50px rgba(25, 39, 82, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}
a {
  color: var(--navy);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
a:hover { color: var(--blue); }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 200;
  left: 16px;
  top: -100px;
  padding: 10px 16px;
  background: var(--navy);
  color: white;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: relative;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(29, 47, 104, .1);
}
.header-inner {
  width: min(1440px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(390px, 33vw);
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 170px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}
.brand span {
  max-width: 200px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .02em;
  color: var(--muted);
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
}
.nav-home,
.nav-dropdown > summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 9px;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::after {
  content: "⌄";
  margin-left: 5px;
  color: var(--blue);
  font-size: 12px;
}
.nav-home:hover,
.nav-dropdown > summary:hover,
.nav-home.current,
.nav-dropdown.current > summary,
.nav-dropdown[open] > summary {
  color: var(--navy);
  background: var(--sky);
}
.nav-dropdown { position: relative; }
.dropdown-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 310px;
  max-height: min(68vh, 570px);
  overflow: auto;
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.dropdown-panel a {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  line-height: 1.35;
}
.dropdown-panel a:hover,
.dropdown-panel a[aria-current="page"] {
  color: var(--navy);
  background: var(--sky);
}
.menu-toggle {
  display: none;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  color: white;
  background: var(--navy);
  cursor: pointer;
}

.home-hero {
  position: relative;
  background: #15204d;
}
.slides {
  position: relative;
  height: clamp(500px, 67vw, 720px);
  max-height: calc(100vh - 92px);
  min-height: 520px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 24, 69, .9) 0%, rgba(21, 35, 88, .66) 42%, rgba(18, 31, 73, .12) 75%),
    linear-gradient(0deg, rgba(8, 18, 48, .5), transparent 45%);
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: max(40px, calc((100vw - 1240px) / 2));
  top: 50%;
  width: min(590px, calc(100% - 80px));
  color: white;
  transform: translateY(-48%);
}
.hero-copy p,
.eyebrow,
.page-hero-inner > p {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(54px, 7vw, 104px);
  line-height: .92;
  letter-spacing: -.055em;
}
.hero-copy span {
  display: block;
  margin: 24px 0 34px;
  font-size: clamp(18px, 2vw, 25px);
}
.hero-copy a,
.button-link,
.mail-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: white;
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 9px 26px rgba(33, 142, 209, .3);
}
.hero-copy a:hover,
.button-link:hover,
.mail-form button:hover { color: white; background: var(--navy); }
.slider-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}
.slider-controls > button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: white;
  background: rgba(16, 27, 71, .55);
  cursor: pointer;
}
.slider-dots { display: flex; gap: 8px; }
.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
}
.slider-dots button.is-active {
  width: 30px;
  border-radius: 9px;
  background: var(--cyan);
}

.intro-section,
.area-grid,
.home-contact,
.site-map,
.article-shell,
.related,
.back-link {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.intro-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  padding: 100px 0 64px;
}
.intro-section h2 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.intro-section > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 19px;
}
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-bottom: 100px;
}
.area-card {
  min-height: 310px;
  padding: 30px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.area-card:hover {
  color: white;
  background: var(--navy);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.area-card > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .15em;
}
.area-card h2 {
  margin: 54px 0 12px;
  font-size: 27px;
  line-height: 1.08;
}
.area-card p { color: var(--muted); font-size: 15px; }
.area-card:hover p { color: #d9e4ff; }
.area-card strong { display: block; margin-top: 25px; font-size: 14px; }

.home-contact {
  margin-bottom: 96px;
  padding: 56px;
  background: var(--sky);
  border-radius: 30px;
}
.home-contact > .content-row { margin: 0; }
.social-card {
  display: flex;
  min-height: 100px;
  margin-top: 20px;
  padding: 25px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cce7f4;
  border-radius: 16px;
  background: white;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}
.site-map {
  margin-bottom: 96px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.site-map summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 800;
  background: var(--soft);
}
.site-map > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 22px;
}
.site-map a {
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
}
.site-map a:hover { background: var(--sky); }

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  color: white;
  background:
    radial-gradient(circle at 76% 14%, rgba(37,175,228,.75), transparent 25%),
    linear-gradient(118deg, #171e63, #263c97 58%, #198fc7);
}
.hero-orb {
  position: absolute;
  right: -90px;
  bottom: -180px;
  width: 480px;
  height: 480px;
  border: 80px solid rgba(255,255,255,.06);
  border-radius: 50%;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  padding: 82px 0 68px;
}
.page-hero-inner > p { color: #75d6f6; }
.page-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1;
  letter-spacing: -.045em;
}

.article-shell { padding: 78px 0 96px; }
.article-content { min-width: 0; }
.content-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  margin: 0 0 28px;
}
.content-column { grid-column: span 12; min-width: 0; }
.width-1-2, .width-6-12 { grid-column: span 6; }
.width-1-3, .width-4-12 { grid-column: span 4; }
.width-2-3, .width-8-12 { grid-column: span 8; }
.width-1-4, .width-3-12 { grid-column: span 3; }
.width-3-4, .width-9-12 { grid-column: span 9; }
.width-5-6, .width-10-12 { grid-column: span 10; }
.width-1-6, .width-2-12 { grid-column: span 2; }
.inner-row {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.content-heading {
  margin: 18px 0 10px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.accent-line {
  width: 72px;
  height: 5px;
  margin: 12px 0 34px;
  background: var(--cyan);
  border-radius: 999px;
}
.rich-text {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.rich-text > * { max-width: 100%; }
.rich-text p { margin: 0 0 1.25em; }
.rich-text h2, .rich-text h3, .rich-text h4 {
  margin: 1.65em 0 .6em;
  line-height: 1.25;
}
.rich-text ul, .rich-text ol { padding-left: 24px; }
.rich-text blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 5px solid var(--cyan);
  background: var(--sky);
}
.rich-text img,
.wp-media img {
  width: auto;
  max-width: min(100%, 820px);
  height: auto !important;
  max-height: 760px;
  margin: 26px auto;
  object-fit: contain;
  border-radius: 10px;
}
.rich-text table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}
.rich-text td, .rich-text th {
  padding: 10px 12px;
  border: 1px solid var(--line);
}
.wp-caption {
  margin: 28px auto;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.wp-caption img { margin-bottom: 8px; }
.button-link { margin: 8px 8px 8px 0; }

.accordion { display: grid; gap: 12px; margin: 24px 0; }
.accordion-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.accordion-item > summary {
  padding: 18px 22px;
  color: var(--ink);
  background: var(--soft);
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}
.accordion-item[open] > summary {
  color: white;
  background: var(--navy);
}
.accordion-body { padding: 24px; }
.team-card {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--sky);
  border-radius: 16px;
}
.team-card img,
.portrait-placeholder {
  flex: 0 0 128px;
  width: 128px;
  height: 128px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--cyan), var(--navy));
}
.team-card h3 { margin: 0 0 4px; font-size: 23px; }
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 30px 0;
}
.image-gallery a {
  display: flex;
  min-height: 240px;
  padding: 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}
.image-gallery img {
  width: 100%;
  height: 260px;
  object-fit: contain;
}
.notice {
  margin-bottom: 28px;
  padding: 20px 22px;
  border-left: 5px solid var(--blue);
  border-radius: 10px;
  background: var(--sky);
}
.mail-form {
  display: grid;
  gap: 18px;
  max-width: 860px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 12px 36px rgba(25,39,82,.08);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mail-form label { display: grid; gap: 7px; font-weight: 700; }
.mail-form input, .mail-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdff;
  border: 1px solid #cbd7e5;
  border-radius: 10px;
}
.mail-form input:focus, .mail-form textarea:focus {
  outline: 3px solid rgba(37,175,228,.2);
  border-color: var(--blue);
}
.mail-form button { justify-self: start; }
.form-note { margin: 0; color: var(--muted); font-size: 13px; }
.media-missing, .unavailable {
  display: inline-block;
  padding: 8px 12px;
  color: #7c4350;
  background: #fff1f3;
  border-radius: 8px;
}

.related {
  margin-bottom: 90px;
  padding: 32px;
  background: var(--soft);
  border-radius: 22px;
}
.related h2 { margin: 0 0 18px; font-size: 24px; }
.related > div { display: flex; flex-wrap: wrap; gap: 8px; }
.related a {
  padding: 9px 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
}
.back-link { margin-top: -55px; margin-bottom: 90px; }
.news-list { display: grid; gap: 26px; }
.news-card {
  display: grid;
  grid-template-columns: minmax(260px, 38%) 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.news-card > img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; }
.news-card > div { padding: 36px; }
.news-card h2 { margin: 4px 0 14px; font-size: 34px; }
.news-card span { display: block; margin-bottom: 24px; color: var(--muted); }

.site-footer {
  position: relative;
  z-index: 3;
  color: #dfe8ff;
  background: #151b42;
}
.footer-main {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  padding: 66px 0 44px;
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  gap: 70px;
}
.footer-about > img {
  width: 210px;
  height: 70px;
  padding: 9px;
  object-fit: contain;
  background: white;
  border-radius: 10px;
}
.footer-about p { max-width: 470px; color: #aebddd; font-size: 14px; }
.footer-main h2 {
  margin: 0 0 14px;
  color: white;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.footer-main a {
  display: block;
  margin: 8px 0;
  color: #dfe8ff;
  text-decoration: none;
  font-size: 14px;
}
.footer-main a:hover { color: #72d7fa; }
.partner-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.partner-logos img {
  width: 100%;
  height: 84px;
  padding: 14px;
  object-fit: contain;
  background: white;
  border-radius: 10px;
}
.footer-bottom {
  padding: 20px 24px;
  color: #8291b5;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: 12px;
}

@media (max-width: 1160px) {
  .header-inner { min-height: 82px; }
  .brand { width: auto; }
  .brand span { display: none; }
  .brand img { width: 150px; }
  .site-nav { font-size: 12px; }
  .nav-home, .nav-dropdown > summary { padding-inline: 7px; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .header-inner { width: min(100% - 32px, 1180px); }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 1px);
    max-height: calc(100vh - 100px);
    overflow: auto;
    padding: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 0 0 16px 16px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: block; }
  .nav-home, .nav-dropdown > summary {
    width: 100%;
    min-height: 46px;
    padding: 8px 12px;
  }
  .nav-dropdown { width: 100%; }
  .dropdown-panel {
    position: static;
    width: 100%;
    max-height: none;
    margin-bottom: 8px;
    padding: 5px 8px 8px 20px;
    border: 0;
    box-shadow: none;
  }
  .intro-section { grid-template-columns: 1fr; gap: 28px; padding-top: 72px; }
  .content-row { gap: 18px; }
  .width-1-2, .width-6-12,
  .width-1-3, .width-4-12,
  .width-2-3, .width-8-12,
  .width-1-4, .width-3-12,
  .width-3-4, .width-9-12,
  .width-5-6, .width-10-12,
  .width-1-6, .width-2-12 { grid-column: span 12; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .header-inner { min-height: 74px; }
  .brand img { width: 134px; height: 48px; }
  .slides { min-height: 520px; height: 73vh; max-height: 650px; }
  .hero-copy {
    left: 24px;
    width: calc(100% - 48px);
    top: 48%;
  }
  .hero-copy h1 { font-size: clamp(48px, 17vw, 74px); }
  .hero-shade {
    background: linear-gradient(90deg, rgba(13,22,64,.9), rgba(18,31,73,.42)),
                linear-gradient(0deg, rgba(8,18,48,.65), transparent 55%);
  }
  .intro-section, .area-grid, .home-contact, .site-map,
  .article-shell, .related, .back-link {
    width: calc(100% - 32px);
  }
  .intro-section h2 { font-size: 42px; }
  .area-grid { grid-template-columns: 1fr; }
  .area-card { min-height: 250px; }
  .area-card h2 { margin-top: 38px; }
  .home-contact { padding: 26px 18px; border-radius: 20px; }
  .site-map > div { grid-template-columns: 1fr; }
  .page-hero { min-height: 270px; }
  .page-hero-inner { width: calc(100% - 32px); padding: 64px 0 54px; }
  .page-hero h1 { font-size: 43px; overflow-wrap: anywhere; }
  .article-shell { padding: 52px 0 70px; }
  .accordion-body { padding: 16px; }
  .inner-row { padding: 16px 0; }
  .team-card { align-items: flex-start; gap: 16px; padding: 15px; }
  .team-card img, .portrait-placeholder { flex-basis: 82px; width: 82px; height: 82px; }
  .team-card h3 { font-size: 19px; }
  .team-card a { overflow-wrap: anywhere; font-size: 13px; }
  .form-grid { grid-template-columns: 1fr; }
  .mail-form { padding: 20px; }
  .image-gallery { grid-template-columns: 1fr; }
  .image-gallery img { height: 230px; }
  .news-card { grid-template-columns: 1fr; }
  .news-card > img { min-height: 240px; height: 240px; }
  .news-card > div { padding: 24px; }
  .related { padding: 22px 16px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; padding-top: 50px; }
  .footer-about { grid-column: auto; }
  .partner-logos { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
