:root {
  color-scheme: light;
  --blue: #16477f;
  --blue-deep: #123b6a;
  --navy: #102b47;
  --muted: #647386;
  --line: #dce4ec;
  --paper: #ffffff;
  --soft: #f3f7fa;
  --gray: #999fa7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #6ca8e2; outline-offset: 4px; }
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 100; padding: 12px 18px; color: white; background: var(--blue); }
.skip-link:focus { top: 16px; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid #e9eef3; background: white; }
.header-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { flex: 0 0 auto; width: 172px; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 45px); margin-left: auto; }
.main-nav a { position: relative; font-size: 13px; font-weight: 600; color: #364d63; transition: color .2s ease; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.main-nav a:hover, .text-link:hover, .footer-top a:hover { color: #2c76bc; }
.header-contact { display: inline-flex; align-items: center; gap: 22px; padding: 13px 18px; border: 1px solid #b8cadb; border-radius: 4px; font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .2s ease, border-color .2s ease; }
.header-contact:hover { background: var(--soft); border-color: var(--blue); }
.header-contact span { display: inline-block; font-size: 17px; font-weight: 400; transition: transform .2s ease; }
.header-contact:hover span, .button:hover span { transform: translate(3px, -3px); }

.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(circle at 88% 48%, #e7f0f7 0%, #f7fafc 34%, #fff 68%); }
.hero-grid { position: relative; z-index: 1; min-height: 550px; display: flex; align-items: center; padding-block: 68px; }
.hero-copy { max-width: 700px; width: 62%; }
.hero-watermark { position: absolute; z-index: 0; top: 50%; right: -6%; width: min(57vw, 760px); height: auto; opacity: var(--watermark-opacity, .12); transform: translateY(-50%); pointer-events: none; user-select: none; -webkit-mask-image: radial-gradient(ellipse at 52% 50%, #000 43%, transparent 78%); mask-image: radial-gradient(ellipse at 52% 50%, #000 43%, transparent 78%); }
.eyebrow, .section-kicker { margin: 0 0 27px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow-line { width: 28px; height: 2px; background: var(--blue); flex: 0 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.048em; }
h1 { max-width: 650px; margin-bottom: 26px; font-size: clamp(44px, 5vw, 68px); line-height: 1.08; font-weight: 700; }
h1 em, .contact-section h2 em { color: var(--blue); font-style: normal; }
.hero-description { max-width: 545px; margin-bottom: 32px; color: #596b7e; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 15px 21px; border-radius: 4px; font-size: 13px; font-weight: 700; line-height: 1.3; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button span { display: inline-block; font-size: 18px; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.button-primary { color: white; background: var(--blue); }
.button-primary:hover { background: #0e3866; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); font-size: 13px; font-weight: 700; transition: color .2s ease; }
.text-link span { font-size: 18px; font-weight: 400; }
.hero-principles { position: relative; z-index: 1; color: white; background: var(--blue-deep); }
.principles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.principle { display: grid; grid-template-columns: 25px 1fr; gap: 15px; padding: 27px 26px 27px 0; }
.principle + .principle { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.19); }
.principle > span { padding-top: 3px; color: #94b7d9; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.principle strong { display: block; margin-bottom: 5px; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.principle p { margin: 0; color: #c5d8e9; font-size: 12px; line-height: 1.55; }

.section { padding-block: 90px; }
.services { background: #f2f7fa; }
.section-intro { display: grid; grid-template-columns: 1fr 360px; align-items: end; gap: 90px; margin-bottom: 45px; }
.section-intro h2, .method h2, .about h2, .contact-section h2 { margin-bottom: 0; font-size: clamp(36px, 4vw, 54px); line-height: 1.14; font-weight: 700; }
.section-intro h2 { max-width: 680px; }
.section-intro > p { margin: 0 0 5px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-card { min-height: 290px; position: relative; padding: 27px 30px 31px; border: 1px solid #dbe6ef; background: white; box-shadow: 0 16px 40px rgba(27,68,108,.045); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card::before { content: ""; position: absolute; top: -1px; left: -1px; width: 68px; height: 3px; background: var(--blue); }
.service-number { color: #a5b3c2; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.service-icon { width: 46px; height: 46px; display: grid; place-items: center; margin: 24px 0 21px; border: 1px solid #c8d8e8; border-radius: 50%; color: var(--blue); background: #f6f9fc; }
.icon-grid { width: 18px; height: 18px; border: 2px solid currentColor; background: linear-gradient(90deg, transparent 46%, currentColor 46%, currentColor 54%, transparent 54%), linear-gradient(transparent 46%, currentColor 46%, currentColor 54%, transparent 54%); }
.icon-atom { width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.icon-atom::before, .icon-atom::after { content: ""; position: absolute; width: 26px; height: 10px; left: -5px; top: 3px; border: 1.5px solid currentColor; border-radius: 50%; transform: rotate(55deg); }
.icon-atom::after { transform: rotate(-55deg); }
.icon-arrows { font-size: 27px; line-height: 1; }
.service-card h3 { margin-bottom: 13px; color: var(--navy); font-size: 21px; letter-spacing: -.025em; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.method { background: white; }
.method-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(70px, 12vw, 170px); }
.method-heading h2 { max-width: 500px; margin-bottom: 25px; }
.method-heading > p:not(.section-kicker) { max-width: 470px; margin-bottom: 29px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.method-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid #d4dfe9; }
.method-steps li { display: grid; grid-template-columns: 55px 1fr; gap: 24px; padding: 25px 0; border-bottom: 1px solid #d4dfe9; }
.method-steps li > span { padding-top: 5px; color: var(--blue); font-size: 12px; font-weight: 800; }
.method-steps h3 { margin-bottom: 8px; font-size: 21px; letter-spacing: -.02em; }
.method-steps p { max-width: 390px; margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.about { padding-block: 90px; color: #fff; background: var(--blue-deep); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 10vw, 135px); }
.about .section-kicker { color: #b1cbe4; }
.about h2 { max-width: 530px; }
.about-copy { padding-top: 34px; }
.about-copy > p { color: #d9e5f0; font-size: 16px; line-height: 1.75; }
.result-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 23px; margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.24); }
.result-stats > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.24); }
.result-stats strong { display: block; color: white; font-size: 45px; font-weight: 700; line-height: 1; letter-spacing: -.06em; }
.result-stats strong span { color: #9fc4e7; }
.result-stats p { max-width: 165px; margin: 10px 0 0; color: #d9e5f0; font-size: 12px; line-height: 1.5; }
.stats-note { margin: 19px 0 0; color: #b1cbe4; font-size: 11px; }

.contact-section { padding-block: 82px; background: linear-gradient(110deg, #eaf2f8 0%, #dbeaf5 100%); }
.contact-inner { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.contact-section .section-kicker { margin-bottom: 20px; }
.contact-section h2 { max-width: 660px; }
.contact-section p:not(.section-kicker) { margin: 18px 0 0; color: #61748a; font-size: 15px; line-height: 1.7; }
.button-light { flex: 0 0 auto; color: white; background: var(--blue); }
.button-light:hover { background: #0e3866; }

.site-footer { background: #fff; }
.footer-top { min-height: 176px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.footer-top > a:first-child { flex: 0 0 155px; }
.footer-top p { margin: 0; color: #6a7a8a; font-size: 13px; line-height: 1.7; }
.footer-top > a:last-child { color: var(--blue); font-size: 14px; font-weight: 700; transition: color .2s ease; }
.footer-top > a:last-child span { margin-left: 8px; font-size: 17px; font-weight: 400; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 21px; border-top: 1px solid var(--line); color: #82909d; font-size: 11px; }

@media (max-width: 900px) {
  .container { width: min(100% - 48px, 1180px); }
  .main-nav { gap: 17px; }
  .main-nav a { font-size: 12px; }
  .hero-grid { min-height: 500px; }
  .hero-copy { width: 68%; }
  .hero-watermark { right: -16%; width: 64vw; --watermark-opacity: .09; }
  .section-intro { grid-template-columns: 1fr 280px; gap: 40px; }
  .service-card { padding: 25px 23px; }
  .method-grid { gap: 55px; }
}

@media (max-width: 800px) {
  .main-nav { display: none; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 40px, 540px); }
  .header-inner { min-height: 73px; gap: 15px; }
  .brand { width: 135px; }
  .header-contact { padding: 10px 13px; gap: 8px; font-size: 12px; }
  .header-contact span { font-size: 15px; }
  .hero-grid { min-height: 0; padding-block: 55px 62px; }
  .hero-copy { width: 100%; }
  .hero-watermark { top: 58%; right: -195px; width: 410px; --watermark-opacity: .055; }
  .eyebrow { margin-bottom: 22px; font-size: 10px; letter-spacing: .12em; }
  h1 { margin-bottom: 22px; font-size: clamp(42px, 10vw, 57px); }
  .hero-description { font-size: 15px; line-height: 1.7; }
  .hero-actions { gap: 21px; }
  .principles-grid { display: block; }
  .principle { padding: 17px 0; }
  .principle + .principle { padding: 17px 0; border-top: 1px solid rgba(255,255,255,.19); border-left: 0; }
  .section { padding-block: 69px; }
  .section-intro { display: block; margin-bottom: 33px; }
  .section-intro h2, .method h2, .about h2, .contact-section h2 { font-size: clamp(35px, 9vw, 45px); }
  .section-intro > p { margin-top: 20px; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { min-height: 0; padding: 23px 25px 28px; }
  .service-icon { margin: 20px 0 18px; }
  .service-card p { max-width: 440px; }
  .method-grid, .about-grid { display: block; }
  .method-heading { margin-bottom: 38px; }
  .method-steps li { grid-template-columns: 36px 1fr; gap: 16px; }
  .about { padding-block: 69px; }
  .about-copy { padding-top: 20px; }
  .contact-section { padding-block: 69px; }
  .contact-inner { display: block; }
  .contact-section .button { margin-top: 26px; }
  .footer-top { min-height: 0; display: block; padding-block: 43px 35px; }
  .footer-top > a:first-child { display: inline-block; width: 145px; margin-bottom: 25px; }
  .footer-top p { margin-bottom: 22px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 360px) {
  .brand { width: 120px; }
  .header-inner { gap: 10px; }
}

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

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-card:hover { transform: translateY(-5px); border-color: #b8cde0; box-shadow: 0 23px 48px rgba(27,68,108,.11); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: reveal-up .7s ease-out both; }
  .hero-watermark { animation: watermark-in 1s .12s ease-out both; }
  [data-reveal].is-visible { animation: reveal-up .65s ease-out backwards; animation-delay: var(--reveal-delay, 0s); }
  .principle:nth-child(2), .service-card:nth-child(2), .method-steps li:nth-child(2) { --reveal-delay: .08s; }
  .principle:nth-child(3), .service-card:nth-child(3), .method-steps li:nth-child(3) { --reveal-delay: .16s; }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes watermark-in {
  from { opacity: 0; transform: translateY(-47%); }
  to { opacity: var(--watermark-opacity, .12); transform: translateY(-50%); }
}
