:root {
  --navy: #05305c;
  --navy-deep: #021a33;
  --blue: #1961a7;
  --sky: #5cc8f0;
  --gold: #d3b574;
  --ink: #1b2533;
  --muted: #5b6678;
  --line: #e3e8ef;
  --soft: #f3f6fa;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(5, 48, 92, .12);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.ico { width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: -.125em; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: #000; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* Top bar */
.topbar { background: #000; color: #d7dde6; font-size: .85rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; }
.topbar-info, .topbar-side { display: flex; align-items: center; gap: 18px; }
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--gold); }
.social { display: flex; gap: 12px; }
.social a { display: inline-flex; }
.social .ico { width: 16px; height: 16px; }
.lang { display: flex; gap: 2px; }
.lang a { padding: 3px 8px; border-radius: 6px; font-weight: 600; font-size: .78rem; letter-spacing: .04em; text-decoration: none; color: inherit; opacity: .75; }
.lang a:hover { opacity: 1; color: var(--gold); }
.lang a[aria-current="true"] { background: var(--gold); color: #000; opacity: 1; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(90deg, rgba(2, 26, 51, .96), rgba(10, 74, 138, .94)), url(/img/hero.webp) center 40% / cover;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .25);
}
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand img { width: 190px; }
.mainnav { display: flex; align-items: center; gap: 6px; }
.mainnav a { color: #fff; text-decoration: none; font-weight: 600; padding: 10px 14px; border-radius: 8px; letter-spacing: .02em; }
.mainnav a:hover { background: rgba(255, 255, 255, .1); }
.mainnav .nav-cta { background: var(--gold); color: #1a1406; margin-left: 6px; }
.mainnav .nav-cta:hover { background: #e2c78b; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle .ico { width: 28px; height: 28px; }

/* Hero */
.hero {
  color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(100deg, rgba(2, 26, 51, .92) 0%, rgba(5, 48, 92, .7) 55%, rgba(5, 48, 92, .25) 100%), url(/img/hero.webp) center / cover var(--navy);
}
.hero .hero-in { padding: clamp(64px, 12vw, 140px) 20px clamp(64px, 10vw, 120px); max-width: 1200px; }
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); font-weight: 800; max-width: 15ch; letter-spacing: -.01em; }
.hero .lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 56ch; color: #dce7f3; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 700; color: var(--gold); margin: 0 0 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #1a1406; }
.btn-primary:hover { background: #e2c78b; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-ghost-dark { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost-dark:hover { border-color: var(--blue); }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); color: var(--navy); }
.section-head p { color: var(--muted); margin: 0; }
.section-head .kicker { color: var(--blue); }

/* Services */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.svc {
  all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; height: 100%;
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-deep);
  aspect-ratio: 16 / 10; box-shadow: var(--shadow);
}
.svc img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; opacity: .9; }
.svc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 26, 51, 0) 20%, rgba(2, 26, 51, .55) 55%, rgba(2, 26, 51, .96) 100%); }
.svc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; z-index: 1; color: #fff; display: flex; flex-direction: column; gap: 4px; }
.svc-title { text-shadow: 0 1px 8px rgba(0, 0, 0, .6); font-weight: 700; font-size: 1.08rem; line-height: 1.25; }
.svc-more { font-size: .82rem; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.svc:hover img, .svc:focus-visible img { transform: scale(1.06); opacity: 1; }
.svc:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

.svc-cta { grid-column: span 2; }
.svc-cta a {
  display: flex; flex-direction: column; justify-content: center; gap: 8px; height: 100%; min-height: 100%;
  padding: 24px 28px; border-radius: var(--radius); text-decoration: none; color: #fff;
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); box-shadow: var(--shadow);
}
.svc-cta strong { font-size: 1.2rem; }
.svc-cta span { color: #d6e2f0; }
.svc-cta em { font-style: normal; color: var(--gold); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.svc-cta a:hover { background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 100%); }

/* Dialog */
dialog { border: 0; padding: 0; border-radius: 18px; width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); color: var(--ink); overflow: auto; }
dialog::backdrop { background: rgba(2, 26, 51, .7); backdrop-filter: blur(3px); }
.dlg-media img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.dlg-body { padding: 24px clamp(20px, 4vw, 36px) 28px; }
.dlg-body h3 { font-size: 1.5rem; color: var(--navy); }
.dlg-body > p { color: var(--muted); }
.dlg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.dlg-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; display: grid; place-items: center; }
.dlg-x .ico { width: 20px; height: 20px; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 20px; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }

/* Sectors */
.sector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.sector { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.sector img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sector-body { padding: 20px 22px 24px; border-top: 4px solid var(--gold); }
.sector h3 { color: var(--navy); font-size: 1.15rem; }
.sector p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Company */
.company { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.company h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); color: var(--navy); }
.company .kicker { color: var(--blue); }
.company-text > p { color: #374152; }
blockquote { margin: 28px 0 0; padding: 20px 24px; border-left: 4px solid var(--gold); background: var(--soft); border-radius: 0 var(--radius) var(--radius) 0; }
blockquote p { margin: 0 0 6px; font-size: 1.15rem; font-style: italic; color: var(--navy); }
cite { color: var(--muted); font-style: normal; font-size: .9rem; }
.company-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.stat { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 18px; }
.stat strong { display: block; font-size: 1.35rem; color: var(--gold); line-height: 1.2; }
.stat span { font-size: .85rem; color: #c9d6e6; }
.partners { margin-top: clamp(48px, 7vw, 80px); text-align: center; }
.partners h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: 20px; }
.partners-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: inline-block; max-width: 100%; }
.partners-card img { width: 550px; }
.partners-more { color: var(--muted); font-size: .9rem; margin-top: 12px; }

/* Contact */
.contact { color: #fff; background: radial-gradient(ellipse at 80% 0%, #0a4a8a 0%, var(--navy) 45%, var(--navy-deep) 100%); }
.section-head-light h2 { color: #fff; }
.section-head-light p { color: #c9d6e6; }
.section-head-light .kicker { color: var(--gold); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.cbox { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 22px; }
.cbox h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin: 12px 0 6px; }
.cbox p { margin: 0; }
.cbox a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.cbox a:hover { color: var(--gold); border-color: var(--gold); }
.cico { width: 28px; height: 28px; fill: var(--sky); }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* Footer */
.footer { background: var(--navy-deep); color: #b8c5d6; font-size: .92rem; padding-top: 56px; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand img { width: 200px; margin-bottom: 16px; }
.footer h3 { color: var(--gold); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
.social-lg .ico { width: 22px; height: 22px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 18px; padding-bottom: 24px; font-size: .82rem; }

/* Responsive */
@media (max-width: 900px) {
  .company { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .hide-sm { display: none !important; }
  .nav-toggle { display: inline-flex; }
  .brand img { width: 150px; }
  .header-in { min-height: 64px; }
  .mainnav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px;
    background: var(--navy-deep); box-shadow: 0 12px 24px rgba(0, 0, 0, .3);
  }
  .mainnav.open { display: flex; }
  .mainnav a { padding: 14px 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }
  .mainnav .nav-cta { margin: 12px 0 0; border-radius: 8px; text-align: center; border: 0; }
  .hero .hero-in { padding: 56px 16px 64px; }
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc { aspect-ratio: 1 / 1; }
  .svc-body { padding: 12px; }
  .svc-title { font-size: .92rem; }
  .svc-more { display: none; }
  .svc-cta { grid-column: 1 / -1; }
  .svc-cta a { aspect-ratio: auto; padding: 22px; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hide-xs { display: none !important; }
  .footer-in { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .dlg-actions .btn { width: auto; flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
