:root {
  --bg: #f4f7fb;
  --paper: #fbfdff;
  --paper-strong: #ffffff;
  --sand: #dce6f4;
  --slate: #1e3653;
  --slate-soft: #556d88;
  --accent: #0d4fb8;
  --accent-dark: #083a89;
  --gold: #6d8fc6;
  --line: rgba(30, 54, 83, 0.12);
  --shadow: 0 24px 60px rgba(13, 79, 184, 0.12);
  --radius: 28px;
  --radius-sm: 18px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--slate);
  background: var(--bg);
  line-height: 1.6;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(251, 253, 255, 0.88);
  border-bottom: 1px solid rgba(30, 54, 83, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand strong,
h1,
h2,
h3,
h4 {
  font-family: "Manrope", sans-serif;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
}

.brand small {
  display: block;
  color: var(--slate-soft);
  font-size: 0.82rem;
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 16px;
  background:
    linear-gradient(140deg, rgba(130, 170, 233, 0.2), rgba(13, 79, 184, 0.22)),
    linear-gradient(180deg, #1b5fc6, #0c3f9a);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 12px 13px 16px;
  background: var(--paper);
  clip-path: polygon(50% 0, 100% 42%, 85% 42%, 85% 100%, 15% 100%, 15% 42%, 0 42%);
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 16px;
  background: rgba(13, 79, 184, 0.92);
  left: 21px;
  bottom: 16px;
  border-radius: 4px 4px 0 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--slate-soft);
  font-weight: 600;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--slate);
}

.site-nav a.button {
  color: #ffffff;
}

.site-nav a.button.button-secondary,
.site-nav a.button.button-light {
  color: var(--slate);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(13, 79, 184, 0.22);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
  box-shadow: 0 18px 36px rgba(13, 79, 184, 0.26);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.button-secondary {
  background: #ffffff;
  color: var(--slate);
  border: 1px solid rgba(30, 54, 83, 0.14);
  box-shadow: none;
}

.button-secondary:hover {
  background: #eaf2ff;
}

.button-light {
  background: #fff;
  color: var(--slate);
  box-shadow: none;
}

.button-light:hover {
  background: #eaf2ff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(13, 79, 184, 0.08);
  color: var(--slate);
}

.hero {
  position: relative;
  min-height: 76svh;
  display: grid;
  align-items: stretch;
  overflow: clip;
  background: #173962;
}

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

.hero-media img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #173962;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 26, 46, 0.64) 0%, rgba(10, 26, 46, 0.48) 42%, rgba(10, 26, 46, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 84px 0 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 76svh;
  max-width: 690px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(13, 79, 184, 0.1);
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero .eyebrow,
.section-contrast .eyebrow,
.quote-banner .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #dbe9ff;
}

.eyebrow-light {
  background: rgba(255, 255, 255, 0.14);
  color: #dbe9ff;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  color: #fff6eb;
}

.hero-copy {
  margin: 24px 0 0;
  max-width: 610px;
  color: rgba(255, 247, 236, 0.82);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 42px 0 0;
}

.hero-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.09);
  color: #fff6eb;
  backdrop-filter: blur(12px);
}

.hero-points .material-symbols-outlined {
  color: var(--gold);
}

.section {
  padding: 92px 0;
}

.section-intro {
  background: #ffffff;
  padding-bottom: 30px;
}

.section-slate {
  background: linear-gradient(180deg, #dbe8fb 0%, #edf4ff 100%);
}

.category-heading {
  margin-bottom: 26px;
}

.category-heading h2 {
  white-space: nowrap;
}

.section-contrast {
  position: relative;
  background:
    linear-gradient(120deg, rgba(11, 33, 61, 0.86), rgba(8, 26, 48, 0.82)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.statement h2,
.quote-banner h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-heading p,
.panel p,
.page-hero p,
.intro-copy p,
.service-card p,
.feature-block p,
.step p,
.content-block p,
.contact-card p,
.site-footer p,
.quote-banner p,
.info-list li,
.check-list li {
  color: var(--slate-soft);
}

.split-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.feature-grid,
.steps,
.detail-grid,
.contact-grid,
.policy-grid {
  display: grid;
  gap: 24px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.feature-block,
.step,
.contact-card,
.content-block,
.policy-card {
  padding: 28px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}

.feature-block .material-symbols-outlined {
  font-size: 2rem;
  color: var(--accent);
}

.feature-block h3,
.step h3,
.service-card h3,
.content-block h3,
.contact-card h3,
.policy-card h3 {
  margin: 16px 0 10px;
  font-size: 1.3rem;
}

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

.service-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.service-card img {
  height: 100%;
  object-fit: cover;
}

.service-card div {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-grid .service-card {
  grid-template-columns: 1fr;
  min-height: auto;
}

.category-grid .service-card div {
  padding: 30px;
}

.card-kicker {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dual-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}

.panel {
  border-radius: var(--radius);
  padding: 38px;
}

.statement {
  background: linear-gradient(160deg, #e8f1ff, #fafdff);
}

.list-panel {
  background: #fff;
  box-shadow: var(--shadow);
}

.check-list,
.info-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li,
.info-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
}

.check-list li::before,
.info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(180deg, #7ca5ea, var(--accent));
}

.quote-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px;
  border-radius: var(--radius);
  background: rgba(12, 39, 71, 0.5);
  backdrop-filter: blur(2px);
}

.quote-banner h2,
.quote-banner p {
  color: #fff7ea;
}

.quote-banner p {
  margin-bottom: 0;
  max-width: 720px;
  color: rgba(255, 247, 234, 0.78);
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.step strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e7f0ff;
  color: var(--accent);
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}

.page-hero {
  position: relative;
  padding: 64px 0 44px;
  background:
    linear-gradient(120deg, rgba(9, 31, 63, 0.94), rgba(10, 46, 99, 0.9));
}

.page-hero-inner {
  max-width: 900px;
}

.page-hero p {
  max-width: 680px;
  color: rgba(224, 236, 255, 0.9);
}

.page-hero .reveal {
  max-width: 760px;
}

.page-hero .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #dbe9ff;
}

.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-block h3 {
  margin-top: 0;
}

.accent-strip {
  padding: 24px 28px;
  border-radius: var(--radius-sm);
  background: linear-gradient(120deg, rgba(13, 79, 184, 0.12), rgba(125, 164, 234, 0.16));
}

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

.contact-card form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(32, 56, 79, 0.12);
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--slate);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(13, 79, 184, 0.1);
  color: var(--slate);
  font-size: 0.95rem;
}

.site-footer {
  padding: 72px 0 24px;
  background: #10263f;
  color: rgba(255, 247, 234, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.7fr 0.9fr;
  gap: 24px;
}

.footer-grid > div:last-child {
  display: flex;
  flex-direction: column;
}

.footer-grid > div:last-child .button {
  margin-top: 8px;
  align-self: flex-start;
}

.footer-brand {
  margin-bottom: 16px;
}

.site-footer .brand strong,
.site-footer h4,
.site-footer a:hover {
  color: #fff7ea;
}

.site-footer .brand small,
.site-footer p,
.site-footer a {
  color: rgba(232, 240, 255, 0.78);
}

.site-footer .button {
  color: #ffffff;
}

.site-footer .button.button-light,
.site-footer .button.button-secondary {
  color: var(--slate);
}

.site-footer h4 {
  margin: 0 0 14px;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 247, 234, 0.72);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1024px) {
  .hero-points,
  .feature-grid,
  .steps,
  .detail-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .split-intro,
  .dual-panel,
  .page-hero-grid,
  .contact-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .quote-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    border-radius: 24px;
    background: rgba(251, 253, 255, 0.98);
    box-shadow: var(--shadow);
  }

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

  .hero-content {
    padding-top: 94px;
  }

  .hero-points,
  .feature-grid,
  .steps,
  .detail-grid,
  .footer-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .service-card img {
    height: 240px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 26px, 1180px);
    --radius: 24px;
  }

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

  h1 {
    font-size: 2.8rem;
  }

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

  .panel,
  .feature-block,
  .step,
  .contact-card,
  .content-block,
  .policy-card {
    padding: 22px;
  }

  .category-heading h2 {
    white-space: normal;
  }
}
