:root {
  --blue: #1d3c72;
  --blue-deep: #0e2346;
  --blue-soft: #eaf0f8;
  --yellow: #fab50d;
  --yellow-dark: #d99800;
  --ink: #12213a;
  --muted: #617087;
  --line: #dce3ec;
  --white: #fff;
  --max: 1180px;
  --shadow: 0 22px 70px rgba(14, 35, 70, 0.13);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: #fff;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}
.narrow {
  max-width: 780px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(29, 60, 114, 0.1);
}
.nav-wrap {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand img {
  width: 245px;
  height: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 650;
  color: #263956;
}
.main-nav a {
  text-decoration: none;
  position: relative;
}
.main-nav a:not(.nav-cta):after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  height: 3px;
  bottom: -10px;
  background: var(--yellow);
  transition: 0.2s;
}
.main-nav a:hover:after,
.main-nav a.active:after {
  right: 0;
}
.nav-cta {
  background: var(--yellow);
  color: var(--blue-deep);
  padding: 12px 18px;
  border-radius: 7px;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 13px;
  border-radius: 6px;
  font-weight: 700;
}
.hero {
  min-height: 650px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(8, 27, 57, 0.97) 0%,
      rgba(16, 43, 83, 0.9) 48%,
      rgba(16, 43, 83, 0.28) 100%
    ),
    var(--hero-image, linear-gradient(130deg, var(--blue-deep), var(--blue)));
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.hero:after {
  content: "";
  position: absolute;
  inset: auto -5% -120px 40%;
  height: 210px;
  background: var(--yellow);
  transform: skewY(-5deg);
  opacity: 0.92;
}
.hero-inner {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-block: 95px;
}
.hero h1,
.page-intro h1,
.article-head h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 1.01;
  letter-spacing: -0.045em;
  max-width: 900px;
  margin: 0.25em 0;
}
.hero p {
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  max-width: 680px;
  color: #e8eef8;
}
.eyebrow {
  display: block;
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 11px 22px;
  border-radius: 7px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  font: inherit;
}
.button.primary {
  background: var(--yellow);
  color: var(--blue-deep);
}
.button.primary:hover {
  background: #ffc52e;
}
.button.ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.button.light {
  background: #fff;
  color: var(--blue-deep);
}
.section {
  padding: 100px 0;
}
.section-head {
  max-width: 730px;
  margin-bottom: 44px;
}
.section h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0.25em 0;
}
.section p {
  color: var(--muted);
}
.services {
  background: #f4f7fb;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: #fff;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(14, 35, 70, 0.04);
  transition: 0.2s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card .card-number {
  display: block;
  color: var(--yellow-dark);
  font-weight: 900;
  margin-bottom: 36px;
}
.service-card h3 {
  font-size: 1.45rem;
  margin: 0 0 12px;
}
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 74px;
}
.image-frame {
  position: relative;
}
.image-frame:before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  background: var(--yellow);
  z-index: -1;
  border-radius: 12px;
}
.image-frame img {
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.cta {
  background: var(--blue);
  color: #fff;
  padding: 52px 58px;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta:after {
  content: "★";
  position: absolute;
  right: 160px;
  font-size: 190px;
  color: rgba(255, 255, 255, 0.05);
  transform: rotate(-12deg);
  pointer-events: none;
}
.cta > * {
  position: relative;
  z-index: 1;
}
.cta h2 {
  margin: 0.2em 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}
.cta p {
  color: #dfe9f8;
  margin: 0;
}
.page-intro,
.article-head {
  background: var(--blue-deep);
  color: #fff;
  padding: 115px 0 90px;
}
.page-intro p,
.article-head p {
  color: #d9e4f4;
  font-size: 1.2rem;
  max-width: 720px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.news-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.news-card > div {
  padding: 26px;
}
.news-card time,
.article-head time {
  font-size: 0.82rem;
  color: var(--yellow-dark);
  font-weight: 800;
}
.news-card h2 {
  font-size: 1.4rem;
  margin: 8px 0;
}
.news-card h2 a {
  text-decoration: none;
}
.text-link {
  font-weight: 800;
  color: var(--blue);
}
.article-head .back-link {
  display: inline-block;
  color: #dbe6f6;
  margin-bottom: 40px;
}
.article-image {
  margin-top: -48px;
  position: relative;
}
.article-image img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.richtext {
  font-size: 1.1rem;
  color: #40516a;
}
.contact-section {
  background: #f4f7fb;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
}
.contact-details {
  margin-top: 35px;
  display: grid;
  gap: 10px;
  font-size: 1.12rem;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--blue);
  text-decoration: none;
}
.contact-link:hover span,
.contact-link:hover strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-link svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--yellow-dark);
}
.contact-details strong {
  font-size: 1.5rem;
  color: var(--blue);
}
.contact-hours {
  margin-left: 34px;
  color: var(--muted);
}
.contact-form {
  background: #fff;
  padding: 36px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
  margin-bottom: 17px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  padding: 12px 13px;
  border: 1px solid #bac5d5;
  border-radius: 6px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(250, 181, 13, 0.28);
  border-color: var(--yellow-dark);
}
.contact-form small {
  font-weight: 400;
  color: var(--muted);
}
.contact-form .checkbox {
  display: block;
  position: relative;
  padding-left: 28px;
  font-size: 0.9rem;
  font-weight: 500;
}
.checkbox input {
  position: absolute;
  top: 4px;
  left: 0;
  width: 17px;
  height: 17px;
  margin: 0;
}
.trap {
  position: absolute !important;
  left: -9999px !important;
}
.form-message {
  padding: 13px 15px;
  border-radius: 6px;
  margin-bottom: 18px;
}
.form-message.success {
  background: #e5f7ed;
  color: #176237;
}
.form-message.error {
  background: #fff0f0;
  color: #9d2525;
}
.site-footer {
  background: #091a34;
  color: #d9e4f2;
  padding: 70px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 45px;
}
.footer-grid img {
  width: 230px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.footer-grid h3 {
  color: #fff;
  font-size: 1rem;
}
.footer-grid a,
.cookie-settings {
  display: block;
  color: #d9e4f2;
  margin: 6px 0;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.footer-contact {
  display: grid;
  gap: 8px;
}
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}
.footer-contact a:hover span {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-contact svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--yellow);
}
.footer-address {
  display: block;
  margin: 5px 0 0 28px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 45px;
  padding-top: 20px;
  font-size: 0.88rem;
}
.cookie-banner {
  position: fixed;
  z-index: 90;
  left: 24px;
  right: 24px;
  bottom: 24px;
  margin: auto;
  max-width: 900px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 22px 25px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner p {
  margin: 4px 0;
  color: var(--muted);
}
.cookie-actions {
  display: flex;
  gap: 9px;
  flex-shrink: 0;
}
.cookie-actions button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 10px 14px;
  font-weight: 750;
  cursor: pointer;
}
.cookie-actions .primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
@media (max-width: 920px) {
  .nav-wrap {
    height: 76px;
  }
  .brand img {
    width: 205px;
  }
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 68px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 18px;
    border-radius: 9px;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    padding: 11px;
  }
  .hero {
    min-height: 580px;
  }
  .card-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .split {
    gap: 45px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .cta:after {
    right: -20px;
  }
  .image-frame:before {
    inset: 15px -10px -15px 15px;
  }
}
@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }
  .hero {
    min-height: 540px;
  }
  .hero h1,
  .page-intro h1,
  .article-head h1 {
    font-size: 2.7rem;
  }
  .section {
    padding: 70px 0;
  }
  .service-card,
  .contact-form {
    padding: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .cta {
    padding: 34px 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: block;
  }
  .cookie-actions {
    margin-top: 14px;
  }
  .cookie-actions button {
    flex: 1;
  }
  .brand img {
    width: 180px;
  }
}
