:root {
  --white: #FFFFFF;
  --grey: #F2F4F7;
  --ink: #1A2433;
  --muted: #5A6A7D;
  --line: #E2E7ED;
  --blue: #1063C0;
  --blue-bright: #2E8BE6;
  --blue-pale: #9CC6F0;
  --navy: #0A1F3C;
  --navy-2: #0E2A50;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16.5px; line-height: 1.65;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue);
}

/* logotype */
.logotype {
  display: inline-flex; align-items: center; line-height: 1;
  font-weight: 800; letter-spacing: 0.05em; color: var(--ink);
  text-decoration: none; white-space: nowrap;
}
.logotype svg.o { height: 0.78em; width: 0.78em; margin: 0 0.07em; transform: translateY(0.01em); }
.logotype b { color: var(--blue); font-weight: inherit; }
.logotype.inverse { color: #FFFFFF; }
.logotype.inverse b { color: var(--blue-pale); }
.logo-img { display: block; height: 34px; width: auto; }
.foot-brand .logo-img { height: 30px; }

/* arrow link */
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.arrow-link .ar { transition: transform 160ms ease; }
.arrow-link:hover .ar { transform: translateX(5px); }
.arrow-link.inverse { color: #FFFFFF; }

/* top bar */
.topbar { background: var(--navy); color: #B9C7DA; font-size: 0.82rem; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 28px; padding: 8px 32px; }
.topbar a { color: #D7E2F0; text-decoration: none; }
.topbar a:hover { color: #FFFFFF; text-decoration: underline; }

/* header */
header.main {
  background: var(--white); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 30;
}
.nav { display: flex; align-items: center; gap: 34px; padding: 18px 0; }
.nav .logotype { font-size: 1.35rem; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  color: var(--ink); text-decoration: none; font-size: 0.94rem; font-weight: 600;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover { border-bottom-color: var(--blue); color: var(--blue); }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 0.95rem;
  padding: 13px 28px; border: 1px solid transparent;
}
.btn-blue { background: var(--blue); color: #FFFFFF; }
.btn-blue:hover { background: #0C4E99; }
.btn-outline-w { border-color: rgba(255,255,255,0.5); color: #FFFFFF; }
.btn-outline-w:hover { border-color: #FFFFFF; background: rgba(255,255,255,0.08); }
.btn-white { background: #FFFFFF; color: var(--navy); }
.btn-white:hover { background: #E4EDF8; }
.nav .btn { padding: 10px 22px; }
@media (max-width: 860px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* hero */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.hero-geo { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .wrap { position: relative; padding-top: 110px; padding-bottom: 150px; }
.hero .label { color: var(--blue-pale); }
.hero h1 {
  color: #FFFFFF; font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 750;
  letter-spacing: -0.02em; margin: 22px 0 26px; max-width: 18ch; text-wrap: balance;
}
.hero p.sub { color: #C0CDDE; font-size: 1.15rem; max-width: 54ch; margin: 0 0 40px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.fade { opacity: 0; transform: translateY(14px); animation: rise 700ms ease forwards; }
.fade.f2 { animation-delay: 120ms; }
.fade.f3 { animation-delay: 240ms; }
.fade.f4 { animation-delay: 360ms; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade { animation: none; opacity: 1; transform: none; } }

/* quick cards overlapping hero */
.quick { position: relative; z-index: 2; margin-top: -78px; padding-bottom: 8px; }
.quick .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; box-shadow: 0 18px 50px rgba(10, 31, 60, 0.18); }
@media (max-width: 800px) { .quick .grid { grid-template-columns: 1fr; } }
.qcard {
  background: var(--white); padding: 30px 30px 26px; text-decoration: none;
  border-top: 4px solid var(--blue); display: block;
}
.qcard h3 { font-size: 1.12rem; margin-bottom: 8px; }
.qcard p { margin: 0 0 18px; color: var(--muted); font-size: 0.92rem; }
.qcard:hover h3 { color: var(--blue); }

/* sections */
section { padding: 96px 0; }
.sec-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 54px; flex-wrap: wrap; }
.sec-top h2, .sec-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 750; margin-top: 14px; }
.sec-head p { color: var(--muted); max-width: 60ch; margin: 12px 0 0; }

/* services */
.services { background: var(--grey); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  background: var(--white); padding: 34px 30px; position: relative;
  border-bottom: 4px solid transparent; transition: border-color 160ms ease;
  display: flex; flex-direction: column; gap: 10px;
}
.svc:hover { border-bottom-color: var(--blue); }
.svc h3 { font-size: 1.15rem; }
.svc p { margin: 0; color: var(--muted); font-size: 0.94rem; flex: 1; }
.svc .arrow-link { margin-top: 14px; }

/* approach */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 4px solid var(--blue); padding-top: 22px; }
.step .k { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; color: var(--muted); }
.step h3 { font-size: 1.2rem; margin: 10px 0 10px; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* about split */
.about { background: var(--grey); }
.about-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2px; }
@media (max-width: 880px) { .about-split { grid-template-columns: 1fr; } }
.about-visual { background: var(--navy); position: relative; min-height: 340px; overflow: hidden; }
.about-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.about-visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(10, 31, 60, 0.45) 0%, rgba(10, 31, 60, 0.05) 60%);
}
.about-body { background: var(--white); padding: 56px 56px; }
@media (max-width: 880px) { .about-body { padding: 40px 30px; } }
.about-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 14px 0 20px; }
.about-body p { color: var(--muted); margin: 0 0 16px; }
.about-body p strong { color: var(--ink); }

/* faq */
.faq .wrap { max-width: 860px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  cursor: pointer; font-weight: 600; color: var(--ink); padding: 22px 0;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 1.05rem;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font-size: 1.5rem; font-weight: 300; flex: none; }
details[open] summary::after { content: "\2013"; }
details p { margin: 0 0 24px; color: var(--muted); max-width: 68ch; }

/* cta band */
.cta { background: var(--blue); padding: 80px 0; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #FFFFFF; font-size: clamp(1.7rem, 3.2vw, 2.4rem); max-width: 24ch; }
.cta p { color: #D4E4F6; margin: 12px 0 0; max-width: 50ch; }
.cta .side { text-align: center; }
.cta .side .mail { display: block; margin-top: 14px; color: #D4E4F6; font-size: 0.92rem; }
.cta .side .mail a { color: #FFFFFF; }

/* footer */
footer { background: var(--navy); color: #93A5BD; }
.foot-main { display: flex; gap: 64px; flex-wrap: wrap; padding: 60px 0 44px; }
.foot-brand { max-width: 300px; }
.foot-brand .logotype { font-size: 1.25rem; }
.foot-brand p { font-size: 0.92rem; margin: 14px 0 0; }
.foot-main .spacer { flex: 1; }
.foot-col { display: flex; flex-direction: column; gap: 10px; min-width: 140px; }
.foot-col strong { color: #E8EEF6; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 6px; }
.foot-col a { color: #93A5BD; text-decoration: none; font-size: 0.93rem; }
.foot-col a:hover { color: #FFFFFF; }
.foot-legal {
  border-top: 1px solid rgba(255,255,255,0.12); padding: 22px 0 34px;
  display: flex; gap: 24px; flex-wrap: wrap; font-size: 0.83rem;
}
.foot-legal .spacer { flex: 1; }

/* services detail page */
.page-hero { background: var(--navy); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; padding-top: 80px; padding-bottom: 88px; }
.page-hero .label { color: var(--blue-pale); }
.page-hero h1 {
  color: #FFFFFF; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 750;
  letter-spacing: -0.02em; margin: 18px 0 18px;
}
.page-hero p { color: #C0CDDE; font-size: 1.1rem; max-width: 56ch; margin: 0; }
.detail { padding: 78px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.detail:nth-of-type(even) { background: var(--grey); }
.detail .wrap { max-width: 900px; }
.detail h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 750; margin: 12px 0 16px; }
.detail p { color: var(--muted); margin: 0 0 18px; max-width: 66ch; }
.detail ul { margin: 0 0 26px; padding-left: 22px; color: var(--muted); }
.detail li { margin-bottom: 8px; }
