@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --bg: #dfdfe1;
  --text: #23242a;
  --muted: #c8c8cf;
  --surface: #ffffff;
  --brand-red: #b50f23;
  --navy: #1e2037;
  --navy-deep: #18192d;
  --border: #ccccd1;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: 'Open Sans', Calibri, Arial, sans-serif;
  font-size: 20px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

.container {
  width: min(1260px, calc(100% - 2.25rem));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--brand-red);
  color: #fff;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 118px;
}

.branding {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-title {
  margin: 0;
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1.05;
  text-transform: lowercase;
}

.site-description {
  margin: 0.35rem 0 0;
  font-size: 1.32rem;
  color: #f2f2f5;
  text-transform: lowercase;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 46px;
  border: 0;
  border-radius: 8px;
  background: #ececef;
  color: #62636a;
  font-size: 1.95rem;
  line-height: 1;
  cursor: pointer;
}

.main-menu,
.sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.main-menu > li {
  position: relative;
  border-bottom: 0;
}

.main-menu > li > a {
  display: inline-block;
  padding: 2.2rem 1.1rem;
  font-size: 1.08rem;
  font-weight: 400;
  color: #ffffff;
}

.main-menu > li > a:hover,
.main-menu > li.active > a {
  color: #fff;
}

.has-submenu > a::after {
  content: '▾';
  margin-left: 0.35rem;
  font-size: 0.92rem;
}

.sub-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  min-width: 220px;
  background: var(--navy);
  border: 1px solid #35364a;
  display: none;
  z-index: 25;
}

.sub-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: #cfd0d8;
  border-bottom: 1px dotted #4f5060;
  font-size: 0.95rem;
}

.sub-menu a:hover,
.sub-menu li.active a {
  background: transparent;
  color: #fff;
}

.has-submenu.open .sub-menu {
  display: block;
}

@media (min-width: 901px) {
  .has-submenu:hover .sub-menu {
    display: block;
  }
}

.site-nav {
  position: static;
  background: transparent;
  border: 0;
  display: block;
}

.site-nav.open {
  display: block;
}

.page-hero {
  color: #737883;
  background: transparent;
}

.page-hero .container {
  display: block;
  padding: 0.65rem 0 0.45rem;
}

.page-title {
  margin: 0;
  font-size: 2.35rem;
  font-weight: 400;
}

.breadcrumb {
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
  display: none;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 1rem;
}

.breadcrumb li::after {
  content: '/';
  margin-left: 0.4rem;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb li:last-child::after {
  content: '';
  margin: 0;
}

.page-main {
  flex: 1;
  padding: 0.35rem 0 0;
}

.content-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.hero-image {
  width: 100%;
  max-width: 470px;
  border-radius: 0;
  display: block;
  margin: 0 auto 0.8rem;
}

.content-card p,
.content-card li {
  font-size: 1.18rem;
}

.centered {
  text-align: center;
}

.content-card ul {
  margin-top: 0.4rem;
}

.site-footer {
  background: var(--navy);
  border-top: 3px solid var(--brand-red);
  margin-top: auto;
  color: #babcca;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 1.5rem;
  padding: 1.4rem 0 0.9rem;
}

.footer-figure {
  max-width: 300px;
  width: 100%;
  height: auto;
  display: block;
}

.site-footer h3 {
  margin: 0 0 0.55rem;
  color: #f2f3f7;
  font-size: 1.75rem;
  font-weight: 400;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  margin: 0.65rem 0;
  position: relative;
  padding-left: 1.15rem;
}

.footer-menu li::before {
  content: '+';
  color: #d20e29;
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 0;
}

.footer-menu a {
  color: #babcca;
  font-size: 1.12rem;
}

.footer-menu .sub-menu {
  position: static;
  display: block;
  border: 0;
  background: transparent;
  padding-left: 1rem;
}

.footer-menu .sub-menu a {
  color: #babcca;
  border: 0;
  padding: 0.35rem 0;
}

.footer-note {
  border-top: 1px solid #343650;
  text-align: center;
  padding: 0.95rem 0;
  color: #9ea0b0;
  font-size: 1.05rem;
}

.footer-note a {
  color: #c5c7d5;
}

.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 900px) {
  body {
    font-size: 17px;
  }

  .container {
    width: min(1260px, calc(100% - 1.4rem));
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 2px solid #a90f23;
    border-bottom: 1px solid #2c2f4a;
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .main-menu {
    display: block;
  }

  .main-menu > li {
    border-bottom: 1px dotted #4f5060;
  }

  .main-menu > li > a {
    display: block;
    padding: 1rem 1.25rem;
    font-size: 1.2rem;
    color: #d2d3dc;
  }

  .has-submenu > a::after {
    content: '+';
  }

  .sub-menu {
    position: static;
    background: transparent;
    border: 0;
    min-width: 0;
  }

  .sub-menu a {
    padding: 0.95rem 1.75rem;
    font-size: 1.12rem;
  }

  .site-title {
    font-size: 1.9rem;
  }

  .site-description {
    font-size: 1.05rem;
  }

  .page-title {
    font-size: 1.2rem;
  }

  .content-card p,
  .content-card li,
  .footer-menu a {
    font-size: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
