:root {
  --primary: #12355B;
  --secondary: #4A6FA5;
  --accent: #6FA8DC;
  --white: #FFFFFF;
  --surface: #F6F8FA;
  --border: #D9E1E8;
  --text: #1F2933;
  --muted: #52606D;
  --success: #2E8B57;
  --warning: #D9A441;
  --error: #C0392B;
  --shadow: 0 20px 48px rgba(18, 53, 91, 0.10);
  --shadow-soft: 0 10px 28px rgba(18, 53, 91, 0.06);
  --navy-900: #0E2A49;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 18px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

body.reveal-ready .section,
body.reveal-ready .page-hero,
body.reveal-ready .cta-band {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 200ms ease, transform 200ms ease;
}

body.reveal-ready .section.is-visible,
body.reveal-ready .page-hero.is-visible,
body.reveal-ready .cta-band.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

p {
  margin: 0 0 24px;
  max-width: 740px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 24px;
  color: var(--primary);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  font-size: 56px;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 32px;
}

h4 {
  font-size: 24px;
}

h5 {
  font-size: 20px;
}

h6 {
  font-size: 18px;
}

.container {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  width: 116px;
}

.brand-logo {
  width: 116px;
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  color: var(--text);
  font-size: 16px;
}

.nav a {
  position: relative;
  transition: color 150ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 150ms ease;
}

.nav a:hover {
  color: var(--primary);
  text-decoration: none;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  opacity: 1;
}

.nav a[aria-current="page"] {
  color: var(--primary);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle svg,
.icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 26px;
  border-radius: 8px;
  border: 1px solid var(--primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(18, 53, 91, 0.06);
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(18, 53, 91, 0.12);
}

.button-primary {
  color: var(--white);
  background: var(--primary);
}

.button-primary:hover {
  background: #0E2A49;
  border-color: #0E2A49;
}

.button-secondary {
  color: var(--primary);
  background: var(--white);
}

.button-secondary:hover {
  background: var(--surface);
}

.hero {
  position: relative;
  min-height: calc(100svh - 80px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 42, 73, 0.94) 0%, rgba(18, 53, 91, 0.80) 40%, rgba(18, 53, 91, 0.30) 72%, rgba(18, 53, 91, 0.10) 100%),
    linear-gradient(180deg, rgba(14, 42, 73, 0.12) 0%, rgba(14, 42, 73, 0.44) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 96px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--white) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 104px 0 120px;
  color: var(--white);
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-brand::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  color: var(--white);
  max-width: 740px;
  margin-bottom: 24px;
  font-size: 60px;
  line-height: 1.12;
  letter-spacing: 0;
  animation: rise 180ms ease both;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  animation: rise 200ms ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
  animation: rise 200ms ease both;
}

.hero .button-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: none;
}

.hero .button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.section {
  padding: 120px 0;
}

.section-surface {
  background:
    linear-gradient(180deg, rgba(246, 248, 250, 0.72) 0%, var(--surface) 100%);
}

.section-header {
  max-width: 860px;
  margin-bottom: 64px;
}

.eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 88px;
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(18, 53, 91, 0.09);
  background: var(--surface);
  aspect-ratio: 16 / 9;
  position: relative;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 6px;
  pointer-events: none;
}

.media-frame img {
  height: 100%;
  object-fit: cover;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 40px 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, var(--white) 0%, rgba(246, 248, 250, 0.72) 100%);
  box-shadow: 0 8px 24px rgba(18, 53, 91, 0.05);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 150ms ease;
}

.service-card:hover {
  border-color: rgba(111, 168, 220, 0.64);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(18, 53, 91, 0.10);
}

.service-card:hover::before {
  opacity: 1;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 12px 28px rgba(18, 53, 91, 0.14);
}

.service-card h3 {
  font-size: 23px;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 16px;
}

.section-action {
  margin-top: 48px;
}

.text-link {
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
}

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.process-step {
  position: relative;
  padding: 32px 0 0;
  border-top: 1px solid var(--border);
}

.process-number {
  display: block;
  margin-bottom: 16px;
  color: var(--secondary);
  font-size: 16px;
  font-weight: 700;
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 40px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.list-grid li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  padding: 4px 0;
}

.list-grid li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 12px;
  border-radius: 8px;
  background: var(--accent);
}

.page-hero {
  padding: 104px 0 80px;
  background:
    radial-gradient(circle at 82% 18%, rgba(111, 168, 220, 0.14), rgba(111, 168, 220, 0) 32%),
    linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero p {
  color: var(--muted);
}

.narrow {
  max-width: 760px;
}

.split-list {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 88px;
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.split-list:first-child {
  border-top: 0;
  padding-top: 0;
}

.split-list p:last-child {
  margin-bottom: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 88px;
  align-items: start;
}

.contact-panel {
  position: sticky;
  top: 120px;
  padding: 40px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--white), var(--surface));
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(18, 53, 91, 0.05);
}

.contact-panel dl {
  margin: 0;
}

.contact-panel dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-panel dd {
  margin: 8px 0 24px;
}

.form {
  display: grid;
  gap: 32px;
}

.form-row {
  display: grid;
  gap: 8px;
}

label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

input,
textarea {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(217, 225, 232, 0.92);
  border-radius: 8px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

textarea {
  min-height: 184px;
  resize: vertical;
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(111, 168, 220, 0.56);
  outline-offset: 3px;
}

input:focus,
textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(111, 168, 220, 0.16);
}

.form-note {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.form-status {
  display: none;
  padding: 32px;
  border-radius: 8px;
  border: 1px solid rgba(46, 139, 87, 0.32);
  background: rgba(46, 139, 87, 0.08);
  color: var(--text);
}

.form-status.is-visible {
  display: block;
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  margin-top: 48px;
  font-size: 32px;
}

.legal-content ul {
  margin: 0 0 24px;
  padding-left: 24px;
}

.cta-band {
  padding: 80px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(111, 168, 220, 0.20), rgba(111, 168, 220, 0) 32%),
    var(--primary);
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.site-footer {
  padding: 72px 0 32px;
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(180deg, #0E2A49 0%, #0A233D 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(160px, 1fr));
  gap: 48px;
}

.footer-company p {
  max-width: 360px;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
}

.site-footer h2 {
  font-size: 24px;
}

.footer-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 152px;
  min-height: 84px;
  margin-bottom: 24px;
  padding: 14px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.footer-logo-card img {
  width: 124px;
  height: auto;
}

.site-footer h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-links {
  display: grid;
  gap: 10px;
  font-size: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  transition: color 150ms ease, transform 150ms ease;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: none;
  transform: translateX(4px);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  body.reveal-ready .section,
  body.reveal-ready .page-hero,
  body.reveal-ready .cta-band {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 24px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand,
  .brand-logo {
    width: 104px;
  }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav a::after {
    display: none;
  }

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

  .header-actions .button {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 72px);
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(14, 42, 73, 0.96) 0%, rgba(18, 53, 91, 0.84) 58%, rgba(18, 53, 91, 0.46) 100%);
  }

  .section,
  .page-hero {
    padding: 80px 0;
  }

  .two-column,
  .contact-layout,
  .split-list {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-grid,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .contact-panel {
    position: static;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .brand,
  .brand-logo {
    width: 96px;
  }

  .hero-content {
    padding: 72px 0 88px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .service-grid,
  .process,
  .list-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .contact-panel {
    padding: 24px;
  }
}
