:root {
  --navy-950: #06121e;
  --navy-900: #0a1e31;
  --navy-800: #12324d;
  --blue-700: #0874b9;
  --blue-600: #0d8ed8;
  --blue-500: #38afe9;
  --blue-100: #dff4ff;
  --ink: #102235;
  --muted: #607182;
  --line: #dce6ed;
  --surface: #f5f8fa;
  --white: #ffffff;
  --success: #147a4b;
  --danger: #a22b2b;
  --shadow: 0 24px 70px rgba(5, 31, 52, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100% - 40px));
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  animation: page-in .55s ease both;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy-950);
  box-shadow: var(--shadow);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.container { width: var(--container); margin-inline: auto; }
.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.section-surface { background: var(--surface); }
.section-dark { color: #000000; background: var(--navy-950); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--blue-700);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-dark .eyebrow { color: #7ed6ff; }

h1, h2, h3, h4 {
  margin: 0 0 .55em;
  color: var(--navy-950);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.section-dark h2, .section-dark h3 { color: #0d8ed8; }
h1 { font-size: clamp(2.9rem, 7vw, 5.8rem); max-width: 980px; }
h2 { font-size: clamp(2.15rem, 4vw, 3.65rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -.02em; }

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.section-dark .lead { color: #bfd0dd; }
.section-heading { display: grid; grid-template-columns: 1fr .8fr; gap: 48px; align-items: end; margin-bottom: 54px; }
.section-heading p { margin: 0; color: var(--muted); }
.section-dark .section-heading p { color: #bfd0dd; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--blue-600);
  color: var(--white);
  font-weight: 800;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(13, 142, 216, .24); background: var(--blue-700); }
.btn-secondary { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.08); }
.btn-secondary:hover { background: rgba(255,255,255,.16); }
.btn-light { background: var(--white); color: var(--navy-950); }
.btn-light:hover { background: var(--blue-100); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-700); font-weight: 800; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(220,230,237,.85);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  transition: min-height .25s ease, box-shadow .25s ease, background .25s ease;
}

.site-header.is-scrolled {
  background: rgba(255,255,255,.98);
  box-shadow: 0 12px 36px rgba(6,18,30,.09);
}

.header-inner { display: flex; min-height: 94px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo {
  width: auto;
  height: 74px;
  object-fit: contain;
  transition: transform .25s ease, height .25s ease;
}
.brand:hover .brand-logo { transform: translateY(-1px) scale(1.025); }
.site-header.is-scrolled .brand-logo { height: 64px; }
.brand-mark {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 16px 16px 20px 20px;
  background: linear-gradient(145deg, var(--blue-600), var(--navy-800));
  color: var(--white);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: -.04em;
}
.site-nav { display: flex; align-items: center; gap: 8px; }
.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-list a { display: inline-flex; padding: 12px 14px; border-radius: 999px; color: #31485b; font-size: .94rem; font-weight: 750; }
.nav-list a:hover, .nav-list a[aria-current="page"] { background: var(--blue-100); color: var(--blue-700); }
.nav-cta { margin-left: 6px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--surface); color: var(--navy-950); cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; content: ""; transition: transform .2s ease, opacity .2s ease; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 118px 0 104px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(56,175,233,.32), transparent 25%),
    linear-gradient(132deg, var(--navy-950) 0%, #0b2d49 62%, #0e679d 130%);
}

.hero::after {
  position: absolute;
  right: -120px;
  bottom: -170px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018);
  content: "";
}

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.22fr .78fr; gap: 64px; align-items: center; }
.hero h1 { color: var(--white); }
.hero .lead { color: #ccdae5; }
.hero .eyebrow { color: #78d5ff; }
.hero-panel { position: relative; padding: 22px; border: 1px solid rgba(255,255,255,.15); border-radius: 34px; background: rgba(255,255,255,.08); box-shadow: 0 30px 80px rgba(0,0,0,.22); backdrop-filter: blur(12px); }
.hero-panel picture { display: block; }
.hero-photo {
  width: 100%;
  min-height: 430px;
  border-radius: 22px;
  object-fit: cover;
  object-position: center;
  animation: hero-settle 1.1s cubic-bezier(.2,.75,.25,1) both;
}
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 44px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.14); }
.hero-stat { padding: 18px; background: rgba(5,24,39,.46); }
.hero-stat strong { display: block; color: var(--white); font-size: 1.1rem; }
.hero-stat span { color: #afc3d2; font-size: .8rem; }

.page-hero { padding: 92px 0 76px; background: linear-gradient(135deg, var(--navy-950), #0b3859); color: var(--white); }
.page-hero h1 { max-width: 880px; color: var(--white); font-size: clamp(2.7rem, 6vw, 5rem); }
.page-hero .lead { color: #c5d5e0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: #aac0cf; font-size: .86rem; font-weight: 700; }
.breadcrumb a:hover { color: var(--white); }

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

.card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.card-elevated { box-shadow: var(--shadow); }
.service-card { display: flex; min-height: 100%; flex-direction: column; overflow: hidden; padding: 0; }
.service-card { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.service-card:hover { transform: translateY(-8px); border-color: #b8d9eb; box-shadow: 0 24px 56px rgba(5,31,52,.13); }
.service-card .card-body { display: flex; flex: 1; flex-direction: column; padding: 30px; }
.service-card p { color: var(--muted); }
.service-card .text-link { margin-top: auto; padding-top: 18px; }
.service-number { display: inline-grid; width: 46px; height: 46px; margin-bottom: 24px; place-items: center; border-radius: 14px; background: var(--blue-100); color: var(--blue-700); font-weight: 900; }

.card-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.75,.25,1), filter .35s ease;
}
.service-card:hover .card-photo { transform: scale(1.045); filter: saturate(1.05); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-reverse .media-wrap { order: 2; }
.media-wrap { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.media-wrap > img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.75,.25,1);
}
.media-wrap:hover > img { transform: scale(1.035); }
.photo-collage {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: repeat(2, minmax(190px, 1fr));
  gap: 14px;
}
.photo-collage img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.photo-collage img:first-child { grid-row: 1 / 3; }
.check-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { position: absolute; top: .28em; left: 0; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); content: "✓"; font-size: .8rem; font-weight: 900; }

.process { counter-reset: step; }
.process-card { position: relative; padding-top: 72px; }
.process-card::before { position: absolute; top: 24px; left: 28px; color: var(--blue-600); content: "0" counter(step); counter-increment: step; font-size: 1.05rem; font-weight: 900; letter-spacing: .06em; }

.band { position: relative; overflow: hidden; padding: 64px; border-radius: 32px; background: linear-gradient(125deg, var(--navy-950), var(--blue-700)); color: var(--white); }
.band::after { position: absolute; right: -90px; bottom: -180px; width: 380px; height: 380px; border: 70px solid rgba(255,255,255,.06); border-radius: 50%; content: ""; }
.band-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 44px; }
.band h2 { max-width: 690px; margin-bottom: 0; color: var(--white); }

.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.trust-card {
  display: grid;
  min-height: 310px;
  align-content: center;
  justify-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.trust-card:hover { transform: translateY(-6px); border-color: #abd8ef; box-shadow: var(--shadow); }
.trust-card img { width: min(210px, 75%); height: 180px; object-fit: contain; }
.trust-card strong { display: block; margin-top: 18px; color: var(--navy-950); }
.trust-card span { color: var(--muted); font-size: .88rem; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease var(--reveal-delay, 0ms), transform .7s cubic-bezier(.2,.75,.25,1) var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hero-settle {
  from { opacity: 0; transform: scale(1.055) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.faq summary { padding: 20px 52px 20px 22px; cursor: pointer; color: var(--navy-950); font-weight: 800; }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.contact-list { display: grid; gap: 18px; margin-top: 32px; }
.contact-item { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.contact-item small { display: block; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-item a, .contact-item address { margin-top: 5px; color: var(--navy-950); font-style: normal; font-weight: 750; }
.contact-item a:hover { color: var(--blue-700); }

.form-card { padding: 38px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--navy-950); font-size: .88rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cbd9e3; border-radius: 11px; background: #fbfdfe; color: var(--ink); padding: 14px 15px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-600); outline: 3px solid rgba(56,175,233,.16); }
.form-note { margin: 18px 0; color: var(--muted); font-size: .82rem; }
.form-note a { color: var(--blue-700); text-decoration: underline; }
.form-status { display: none; margin-bottom: 22px; padding: 14px 16px; border-radius: 10px; font-weight: 700; }
.form-status.is-success { display: block; background: #e8f7ef; color: var(--success); }
.form-status.is-error { display: block; background: #fff0f0; color: var(--danger); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.legal { max-width: 900px; }
.legal h2 { margin-top: 2.2em; font-size: 1.7rem; }
.legal h3 { margin-top: 1.8em; font-size: 1.2rem; }
.legal a { color: var(--blue-700); text-decoration: underline; }
.notice { padding: 18px 20px; border-left: 4px solid var(--blue-600); background: var(--blue-100); }

.site-footer { padding: 76px 0 28px; color: #c2d0db; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 48px; }
.site-footer .brand-logo { height: 132px; padding: 9px; border-radius: 20px; background: var(--white); }
.site-footer p { max-width: 390px; color: #9fb2c1; }
.footer-title { margin-bottom: 18px; color: var(--white); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: #879eaf; font-size: .8rem; }
.footer-legal { display: flex; gap: 18px; }

@media (max-width: 1040px) {
  .header-inner { min-height: 74px; }
  .brand-logo { height: 58px; }
  .site-header.is-scrolled .brand-logo { height: 52px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; top: 74px; right: 0; left: 0; display: none; height: calc(100dvh - 74px); padding: 24px 20px 40px; align-items: stretch; flex-direction: column; overflow: auto; border-top: 1px solid var(--line); background: var(--white); }
  .site-nav.is-open { display: flex; }
  .nav-list { align-items: stretch; flex-direction: column; }
  .nav-list a { padding: 15px 16px; font-size: 1.05rem; }
  .nav-cta { margin: 10px 0 0; }
  .menu-open .menu-toggle span { opacity: 0; }
  .menu-open .menu-toggle::before { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle::after { transform: translateY(-7px) rotate(-45deg); }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 88px; }
  .hero-panel { max-width: 680px; }
  .split-reverse .media-wrap { order: initial; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 28px, 1180px); }
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .section-sm { padding: 54px 0; }
  .brand-mark { width: 44px; height: 44px; }
  .media-wrap > img { min-height: 0; aspect-ratio: 4 / 5; object-position: center; }
  .card-photo { height: auto; aspect-ratio: 4 / 3; object-position: center; }
  .hero-photo { min-height: 0; aspect-ratio: 4 / 5; object-position: 68% center; }
  .hero { padding: 72px 0; }
  .hero-grid { gap: 44px; }
  .hero-photo { min-height: 300px; }
  .hero-stats { grid-template-columns: 1fr; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; margin-bottom: 36px; }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .split { gap: 38px; }
  .band { padding: 38px 26px; }
  .band-inner { align-items: flex-start; flex-direction: column; }
  .form-card { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-legal { flex-wrap: wrap; }
  .photo-collage { grid-template-columns: 1fr 1fr; grid-template-rows: 270px 170px; }
  .photo-collage img:first-child { grid-column: 1 / -1; grid-row: auto; }
}

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