:root {
  --navy: #142d4c;
  --blue: #2b65b1;
  --blue-dark: #1c4f91;
  --red: #d94c49;
  --cream: #f6f2e9;
  --paper: #fffdf9;
  --ink: #172234;
  --muted: #687384;
  --line: #dfe4e8;
  --white: #fff;
  --shadow: 0 18px 50px rgba(20, 45, 76, .11);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: "Manrope", sans-serif; line-height: 1.15; letter-spacing: -.035em; }
p { margin: 0; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--navy); color: #fff; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,253,249,.96); border-bottom: 1px solid rgba(20,45,76,.09); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark { display: grid; grid-template-rows: 1fr 1fr; overflow: hidden; width: 48px; height: 46px; color: #fff; background: var(--navy); border-radius: 9px; font: 800 13px/1 "Manrope"; letter-spacing: .06em; }
.brand__mark strong, .brand__mark span { display: grid; place-items: center; }
.brand__mark span { color: #fff; background: var(--red); font-size: 11px; }
.brand__text { font: 800 18px/1 "Manrope"; color: var(--navy); }
.brand__text small { display: block; margin-top: 4px; color: var(--red); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a { position: relative; padding: 27px 0; color: #344052; font-weight: 600; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 18px; height: 2px; background: var(--red); transition: right .2s; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a[aria-current="page"] { color: var(--navy); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle > span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px; background: var(--navy); transition: .2s; }
.language-picker { position: relative; margin-left: 6px; }
.language-picker__button { display: flex; align-items: center; gap: 7px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); background: #fff; font: 700 .78rem "DM Sans"; cursor: pointer; }
.language-picker__button img, .language-menu img { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(20,45,76,.12); }
.language-menu { position: absolute; top: calc(100% + 10px); right: 0; display: none; min-width: 180px; padding: 7px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.language-picker.is-open .language-menu { display: block; }
.language-menu button { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px; border: 0; border-radius: 7px; color: var(--ink); background: transparent; font: 600 .9rem "DM Sans"; text-align: left; cursor: pointer; }
.language-menu button:hover, .language-menu button.is-active { color: var(--blue-dark); background: var(--cream); }

.hero { min-height: 690px; display: grid; place-items: center; background: linear-gradient(90deg, rgba(12,32,57,.91) 0%, rgba(12,32,57,.72) 52%, rgba(12,32,57,.16) 100%), url("/images/placeholders/home-hero.svg") center/cover; color: #fff; }
.hero__content { padding: 110px 0; }
.hero h1 { max-width: 760px; margin: 17px 0 24px; font-size: clamp(3rem, 6vw, 5.5rem); }
.hero p { max-width: 650px; color: rgba(255,255,255,.84); font-size: 1.22rem; }
.hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 25px; height: 2px; background: currentColor; }
.hero .eyebrow, .eyebrow--light { color: #ff8985; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 27px; border: 0; border-radius: 7px; color: #fff; background: var(--red); box-shadow: 0 9px 25px rgba(217,76,73,.24); font: 700 .95rem "DM Sans"; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: #c63e3b; }
.button--light { color: var(--navy); background: #fff; box-shadow: none; }
.text-link, .card-link, .back-link { color: var(--blue); font-weight: 700; text-decoration: none; }
.hero .text-link { color: #fff; }

.section { padding: 100px 0; }
.section--tint { background: var(--cream); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 42px; }
.section-heading h2 { margin-top: 10px; color: var(--navy); font-size: clamp(2rem, 4vw, 3rem); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.news-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-card > img { width: 100%; height: 220px; object-fit: cover; }
.news-card__body { padding: 26px; }
.news-card h3 { margin: 14px 0 12px; color: var(--navy); font-size: 1.35rem; }
.news-card p { margin-bottom: 22px; color: var(--muted); }
.tag { display: inline-block; color: var(--blue-dark); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.notice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.notice { padding: 32px; background: #fff; border-left: 4px solid var(--red); border-radius: 5px var(--radius) var(--radius) 5px; }
.notice__top { display: flex; justify-content: space-between; color: var(--muted); font-size: .82rem; }
.notice h3 { margin: 17px 0 10px; font-size: 1.4rem; color: var(--navy); }
.notice p { color: var(--muted); }
.notice .notice__contact { margin-top: 15px; color: var(--blue); font-weight: 600; }
.cta { padding: 72px 0; color: #fff; background: var(--navy); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.cta h2 { margin: 10px 0; font-size: 2.5rem; }
.cta p { color: rgba(255,255,255,.72); }

.page-hero { padding: 95px 0 82px; text-align: center; background: var(--cream); }
.page-hero--compact { padding-block: 80px; }
.page-hero h1 { margin: 13px 0 18px; color: var(--navy); font-size: clamp(2.8rem, 6vw, 4.8rem); }
.page-hero p { max-width: 680px; margin-inline: auto; color: var(--muted); font-size: 1.18rem; }
.article-list { display: grid; gap: 90px; }
.article-row { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.article-row--reverse { grid-template-columns: .92fr 1.08fr; }
.article-row--reverse .article-row__image { order: 2; }
.article-row__image { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-row__image img { width: 100%; height: 380px; object-fit: cover; transition: transform .4s; }
.article-row__image:hover img { transform: scale(1.025); }
.article-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 15px; color: var(--muted); font-size: .84rem; }
.article-row h2 { margin-bottom: 17px; color: var(--navy); font-size: clamp(1.75rem, 3vw, 2.55rem); }
.article-row h2 a { text-decoration: none; }
.article-row p { margin-bottom: 24px; color: var(--muted); font-size: 1.08rem; }
.empty-state { padding: 70px; text-align: center; background: var(--cream); border-radius: var(--radius); }
.single-article { padding: 80px 0 110px; }
.single-article__header { max-width: 850px; }
.back-link { display: inline-block; margin-bottom: 45px; }
.single-article h1 { margin: 18px 0; color: var(--navy); font-size: clamp(2.5rem, 6vw, 4.5rem); }
.lead { color: var(--muted); font-size: 1.25rem; }
.single-article__image { margin-top: 45px; }
.single-article__image img { width: 100%; max-height: 610px; object-fit: cover; border-radius: var(--radius); }
.prose { max-width: 780px; padding-top: 55px; font-size: 1.1rem; }
.prose h2, .prose h3 { margin: 2em 0 .7em; color: var(--navy); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.4em; }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.contact-info h2 { margin: 15px 0 18px; color: var(--navy); font-size: 2.2rem; }
.contact-info > p { color: var(--muted); }
.contact-detail { padding-top: 25px; margin-top: 25px; border-top: 1px solid var(--line); }
.contact-detail span { display: block; margin-bottom: 5px; color: var(--muted); font-size: .82rem; text-transform: uppercase; }
.contact-detail a, .contact-detail strong { color: var(--blue-dark); text-decoration: none; }
.contact-form { padding: 38px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-field { margin-bottom: 21px; }
.form-field label { display: block; margin-bottom: 7px; color: var(--navy); font-weight: 600; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 13px 14px; border: 1px solid #cfd6dc; border-radius: 7px; background: #fff; color: var(--ink); font: inherit; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid rgba(43,101,177,.13); border-color: var(--blue); }
.consent { display: flex; align-items: start; gap: 10px; margin-bottom: 24px; color: var(--muted); font-size: .85rem; }
.consent input { margin-top: 5px; }
.honeypot { display: none; }

.site-footer { padding-top: 64px; color: rgba(255,255,255,.66); background: #0d2039; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .65fr 1fr; gap: 70px; padding-bottom: 48px; }
.brand--footer { margin-bottom: 18px; }
.brand--footer .brand__mark { background: #fff; color: var(--navy); }
.brand--footer .brand__text { color: #fff; }
.footer-grid h2 { margin-bottom: 16px; color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid a:not(.brand) { display: block; margin: 7px 0; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .83rem; }
.footer-bottom a { color: inherit; text-decoration: none; }

@media (max-width: 850px) {
  .nav-toggle { display: block; z-index: 2; }
  .main-nav { position: fixed; inset: 78px 0 auto; display: none; flex-direction: column; gap: 0; padding: 18px 20px 28px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { width: 100%; padding: 14px; text-align: center; }
  .main-nav a::after { display: none; }
  .language-picker { width: 100%; margin: 12px 0 0; }
  .language-picker__button { justify-content: center; width: 100%; }
  .language-menu { position: static; width: 100%; margin-top: 7px; box-shadow: none; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card:last-child { grid-column: 1 / -1; }
  .article-row, .article-row--reverse, .contact-layout { grid-template-columns: 1fr; gap: 38px; }
  .article-row--reverse .article-row__image { order: initial; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
  .container { width: min(100% - 30px, 1160px); }
  .hero { min-height: 620px; background-position: 62% center; }
  .hero__content { padding: 80px 0; }
  .hero h1 { font-size: 3rem; }
  .hero__actions, .cta__inner, .section-heading { align-items: flex-start; flex-direction: column; }
  .section { padding: 72px 0; }
  .news-grid, .notice-grid, .footer-grid { grid-template-columns: 1fr; }
  .news-card:last-child, .footer-grid > div:first-child { grid-column: auto; }
  .article-list { gap: 65px; }
  .article-row__image img { height: 245px; }
  .contact-form { padding: 25px 20px; }
  .footer-grid { gap: 35px; }
  .footer-bottom { flex-direction: column; gap: 7px; }
}
