:root {
  --ink: #10212d;
  --paper: #f5f7f8;
  --white: #ffffff;
  --blue: #287299;
  --blue-deep: #0b2739;
  --line: #dce5e9;
  --muted: #58707f;
  --shadow: 0 18px 55px rgba(10, 35, 49, .14);
}

@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-300.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-400-italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.is-programmatic-scroll { scroll-behavior: auto; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #2f81ae; outline-offset: 4px; }
.news-page-arrow { text-decoration: none; }
.news-page-arrow[aria-disabled="true"] { opacity: .35; cursor: not-allowed; }

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 100;
  padding: .65rem 1rem;
  color: var(--white);
  background: var(--blue-deep);
  transform: translateY(-120%);
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; }
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  color: var(--white);
  transition: background-color .22s ease, box-shadow .22s ease, color .22s ease;
}
.site-header--solid { background: var(--blue-deep); }
.site-header.is-scrolled { color: var(--ink); background: rgba(255, 255, 255, .97); box-shadow: 0 2px 18px rgba(10, 35, 49, .14); }
.header-inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: inline-flex; flex-shrink: 0; align-items: center; }
.brand img { width: 147px; height: auto; }
.brand-dark { display: none; }
.site-header.is-scrolled .brand-light { display: none; }
.site-header.is-scrolled .brand-dark { display: block; }
.nav-toggle {
  display: none;
  padding: .55rem;
  border: 1px solid rgba(255,255,255,.55);
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.main-nav ul { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.main-nav { margin-left: auto; }
.main-nav a {
  display: block;
  padding: .65rem .8rem;
  color: inherit;
  font-family: "Open Sans", Arial, sans-serif;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 300;
  letter-spacing: 0;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #bde5f7; }
.site-header.is-scrolled .main-nav a:hover, .site-header.is-scrolled .main-nav a[aria-current="page"] { color: var(--blue); }
.language-switch { display: inline-flex; flex-shrink: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.48); border-radius: 999px; line-height: 1; }
.language-switch a, .language-switch span { display: grid; min-width: 34px; min-height: 28px; place-items: center; padding: .2rem .45rem; color: inherit; font-family: "Montserrat", Arial, sans-serif; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; }
.language-switch a:hover, .language-switch a[aria-current="true"], .language-switch span[aria-current="true"] { color: var(--blue-deep); background: var(--white); }
.site-header.is-scrolled .language-switch { border-color: #bed1da; }
.site-header.is-scrolled .language-switch a:hover, .site-header.is-scrolled .language-switch a[aria-current="true"], .site-header.is-scrolled .language-switch span[aria-current="true"] { color: var(--white); background: var(--blue); }

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: #142c3c url("images/security.jpg") center / cover no-repeat;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  content: "";
}
.hero-content { max-width: 820px; padding: 10rem 0 5rem; text-align: center; }
.eyebrow { margin: 0 0 1rem; color: #bde5f7; font-family: "Montserrat", Arial, sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 300; line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 800px; margin-bottom: 1.25rem; font-size: clamp(2.75rem, 7vw, 5.75rem); }
.hero h1 { max-width: none; font-size: clamp(2.5rem, 4vw, 4rem); letter-spacing: -.02em; }
h2 { margin-bottom: 1.25rem; font-size: clamp(2rem, 4vw, 3.15rem); }
h3 { margin-bottom: .65rem; font-size: 1.2rem; }
.hero-lead { max-width: 640px; margin: 0 auto 2rem; font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 300; }
.hero .button { min-height: 38px; padding: .45rem 1.1rem; font-size: .65rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .2);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.button:hover { background: #1e6f99; transform: translateY(-2px); }
.button--ghost { border-color: rgba(255,255,255,.7); background: transparent; box-shadow: none; }
.button--ghost:hover { background: rgba(255,255,255,.13); }

.feature { display: grid; min-height: 570px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; background: var(--white); }
section[id] { scroll-margin-top: 70px; }
.feature-copy p { color: var(--muted); }
[data-reveal] { --reveal-delay: 0ms; }
html.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .7s ease var(--reveal-delay), transform .7s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay); }
html.js [data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
.feature--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.feature-media { display: grid; min-height: 100%; place-items: center; background: var(--white); }
.feature-media img { display: block; width: auto; max-width: 100%; height: auto; min-height: 0; object-fit: contain; }
#over-ons .feature-media { align-items: end; }
.feature-copy.shell { width: min(570px, calc(100% - 6rem)); margin: auto; padding: 4.5rem 0; }

.page-hero { padding: 5.25rem 0 3.5rem; color: var(--white); background: linear-gradient(120deg, #0b2739, #1b5575); }
.page-hero h1 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.35rem); }
.page-hero p { max-width: 650px; margin: 1rem 0 0; color: #c3d6df; font-size: 1.15rem; }
.page-content { min-height: 60vh; padding: 4.75rem 0 6.5rem; background: var(--white); }
.prose { max-width: 760px; }
.prose p { color: var(--muted); }
.prose h2 { margin-top: 3rem; font-size: 1.75rem; }
.prose h3 { margin-top: 1.9rem; font-size: 1.12rem; }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.news-card { display: flex; min-height: 260px; flex-direction: column; padding: 1.7rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 8px 23px rgba(10, 35, 49, .07); transition: transform .22s cubic-bezier(.2, .7, .2, 1), box-shadow .22s ease, border-color .22s ease; }
.news-card:hover { border-color: #bed6e1; box-shadow: 0 18px 35px rgba(10, 35, 49, .15); transform: translateY(-6px); }
.news-card h2 { margin-bottom: .9rem; font-size: 1.38rem; font-weight: 600; }
.news-card p { color: var(--muted); }
.news-tags, .article-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.news-tags { margin-top: auto; padding-top: 1.4rem; }
.article-tags { margin-top: 2.25rem; }
.news-tag { display: inline-flex; align-items: center; min-height: 28px; padding: .25rem .7rem; border: 1px solid #c6d9e2; border-radius: 999px; color: var(--blue-deep); background: #f7fbfd; font-size: .78rem; font-weight: 600; line-height: 1.3; text-decoration: none; transition: border-color .16s ease, color .16s ease, background .16s ease; }
.news-tag:hover { border-color: var(--blue); color: var(--white); background: var(--blue); }
.news-filter { margin: 0 0 2rem; color: var(--muted); }
.news-filter a { color: var(--blue-deep); font-weight: 700; }
.news-card time { margin-top: auto; padding-top: 1rem; color: #24688e; font-size: .85rem; font-weight: 800; }
.news-card .news-tags + time { margin-top: 0; }
.news-pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 3rem; }
.news-pagination--top { margin: 0 0 2.5rem; }
.news-page-arrow { display: grid; width: 42px; height: 42px; place-items: center; padding: 0 0 2px; border: 1px solid var(--line); border-radius: 50%; color: var(--blue-deep); background: var(--white); font-size: 1.2rem; line-height: 1; cursor: pointer; transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease; }
.news-page-arrow:hover:not(:disabled):not([aria-disabled]) { border-color: var(--blue); color: var(--white); background: var(--blue); transform: translateY(-2px); }
.news-page-arrow:disabled { cursor: not-allowed; opacity: .35; }
.loading { grid-column: 1 / -1; color: var(--muted); }
.article-meta { color: #c3d6df; font-size: .95rem; font-weight: 700; }
.article-back { display: inline-flex; margin-bottom: 1.5rem; color: var(--blue); font-weight: 800; text-decoration: none; }
.article-back:hover { text-decoration: underline; }
.prose .article-tag-link { color: var(--blue-deep); font-weight: 600; text-decoration-color: rgba(47,129,174,.45); text-decoration-thickness: 1px; text-underline-offset: .16em; }
.prose .article-tag-link:hover { color: var(--blue); text-decoration-color: currentColor; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1.25rem; }
.contact-card { padding: 2rem; border-radius: 14px; background: var(--paper); }
.contact-card h2 { font-size: 1.55rem; }
.contact-card a { color: var(--blue-deep); font-weight: 700; }
.contact-card--accent { color: var(--white); background: #266c94; }
.contact-card--accent p { margin: 0; line-height: 1.55; }
.contact-card--accent a { color: var(--white); }
.contact-layout { display: grid; gap: 2.2rem; align-items: start; }
.contact-form-shell { max-width: 760px; }
.contact-form-shell .contact-form { margin-top: 0; }
.contact-form { margin-top: 2.2rem; padding: clamp(1.4rem, 4vw, 2.4rem); border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 8px 23px rgba(10, 35, 49, .07); }
.contact-confirmation { padding: clamp(1.4rem, 4vw, 2.4rem); border: 1px solid #b9d9c8; border-radius: 14px; background: #f4fbf6; box-shadow: 0 8px 23px rgba(10, 35, 49, .07); }
.contact-confirmation:focus { outline: 3px solid rgba(47, 129, 174, .35); outline-offset: 3px; }
.contact-confirmation h2 { margin-bottom: .65rem; font-size: clamp(1.55rem, 3vw, 2rem); }
.contact-confirmation p { max-width: 540px; margin-bottom: 0; color: var(--muted); }
.contact-form h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2rem); }
.form-intro { margin: .55rem 0 1.6rem; color: var(--muted); }
.form-field { display: grid; gap: .42rem; margin-top: 1.1rem; }
.form-field label { color: var(--blue-deep); font-size: .9rem; font-weight: 600; }
.form-field input, .form-field textarea { width: 100%; padding: .75rem .85rem; border: 1px solid #b7cbd3; border-radius: 6px; color: var(--ink); background: var(--white); line-height: 1.5; transition: border-color .16s ease, box-shadow .16s ease; }
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--blue); outline: 0; box-shadow: 0 0 0 3px rgba(43, 157, 213, .18); }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.turnstile-container { min-height: 65px; margin-top: 1.45rem; }
.form-status { min-height: 1.5rem; margin: .8rem 0; color: var(--muted); font-size: .9rem; }
.form-status.is-error { color: #a73a36; }
.form-status.is-success { color: #176d4b; }
.contact-form .button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.contact-map { min-height: 300px; overflow: hidden; border-radius: 14px; background: #dfe8ea; box-shadow: var(--shadow); }
.contact-map--wide { min-height: min(56svh, 520px); border-radius: 0; box-shadow: none; }
.contact-map .mapboxgl-ctrl-attrib { font-size: 11px; }
.contact-map .mapboxgl-popup-content { padding: .75rem 1rem; color: var(--ink); font-family: "Open Sans", Arial, sans-serif; font-size: .9rem; }
.contact-map.is-unavailable { display: grid; place-items: center; padding: 2rem; color: var(--muted); text-align: center; }

.site-footer { padding: 4.5rem 0 1.5rem; color: #d4d4d4; background: #222; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: minmax(190px, 1.1fr) minmax(330px, 2.05fr) minmax(180px, .85fr); gap: clamp(2rem, 4vw, 4rem); }
.footer-title { position: relative; margin-bottom: 1.25rem; padding-bottom: .7rem; color: var(--white); font-family: "Montserrat", Arial, sans-serif; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-title::after { position: absolute; bottom: 0; left: 0; width: 32px; border-bottom: 2px solid #444; content: ""; }
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list li + li { margin-top: .35rem; }
.footer-links { margin-top: 1.25rem; }
.footer-contact p { margin-bottom: .55rem; }
.footer-address-label { margin: 1.25rem 0 .35rem !important; color: var(--white); font-family: "Montserrat", Arial, sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.footer-address-label span { color: #aabec7; font-family: "Open Sans", Arial, sans-serif; font-size: .76rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.footer-address { margin: 0; color: #d4d4d4; font-style: normal; line-height: 1.55; }
.footer-meta { margin-top: 1.25rem; color: #aabec7; font-size: .84rem; line-height: 1.5; }
.footer-list a { color: inherit; text-decoration: none; }
.footer-list a:hover { color: var(--white); text-decoration: underline; }
.footer-news[hidden] { display: none; }
.footer-news-item + .footer-news-item { margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px solid rgba(195,214,223,.14); }
.footer-news-item h3 { margin: 0 0 .38rem; font-family: "Open Sans", Arial, sans-serif; font-size: .86rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.footer-news-item h3 a { color: var(--white); text-decoration: none; }
.footer-news-item h3 a:hover, .footer-news-read-more:hover, .footer-news-more:hover { color: #bde5f7; }
.footer-news-item p { margin: 0 0 .4rem; color: #aabec7; font-size: .8rem; line-height: 1.55; }
.footer-news-read-more, .footer-news-more { color: #bde5f7; font-size: .78rem; font-weight: 700; text-decoration: none; }
.footer-news-more { display: inline-block; margin-top: 1.4rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(195,214,223,.2); color: #93aeb9; font-size: .85rem; }

@media (min-width: 761px) and (max-width: 1050px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-news { grid-column: span 2; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 2rem, 1180px); }
  .header-inner { min-height: 70px; gap: .75rem; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; top: 70px; right: 1rem; left: 1rem; display: none; padding: .5rem; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: #0b2739; box-shadow: var(--shadow); }
  .main-nav[data-open="true"] { display: block; }
  .site-header.is-scrolled .main-nav { border-color: var(--line); background: var(--white); }
  .main-nav ul { display: block; }
  .main-nav a { padding: .8rem; }
  .main-nav { margin-left: 0; }
  .language-switch { margin-left: auto; }
  .hero-content { padding-top: 8rem; }
  .feature, .feature--reverse, .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 330px; }
  .contact-map--wide { min-height: 52svh; }
  .feature { gap: 0; min-height: 0; }
  .feature-media { order: -1; }
  .feature-media img { min-height: 0; max-height: none; }
  .feature-copy.shell { width: min(100% - 2rem, 570px); padding: 4rem 0; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
}

@media (min-width: 761px) {
  .contact-layout { grid-template-columns: minmax(0, 1.6fr) minmax(240px, .75fr); gap: clamp(2.8rem, 7vw, 6rem); }
}

@media (max-width: 380px) {
  .brand img { width: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
