:root {
  --ink: #172437;
  --navy: #152438;
  --navy-light: #1a2e45;
  --muted: #5e6d7e;
  --blue: #5783a9;
  --border: #dbe1e6;
  --background: #ffffff;
  --soft: #f5f7f8;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; font-family: var(--font); background: var(--background); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #7099b9; outline-offset: 3px; }
.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 10px; padding: 12px 16px; background: #fff; z-index: 100; }
.skip-link:focus { top: 10px; }

/* Navigation */
.site-header { height: 76px; background: #fff; border-bottom: 1px solid var(--border); position: relative; z-index: 20; }
.header-content { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { display: inline-flex; align-items: center; white-space: nowrap; color: var(--ink); }
.wordmark-name { font-size: 27px; line-height: 1; font-weight: 800; letter-spacing: -.065em; }
.wordmark-division { margin-left: 18px; padding-left: 18px; border-left: 1px solid #aeb8c4; font-size: 11px; line-height: 1.4; font-weight: 700; letter-spacing: .16em; }
.primary-navigation { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 34px); }
.primary-navigation a { font-size: 13px; font-weight: 550; color: #3d4c5f; transition: color .15s; }
.primary-navigation a:hover { color: #111827; }
.primary-navigation .nav-contact { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
.menu-toggle { display: none; }

/* Main banner */
.hero { background: var(--navy); color: #fff; }
.hero-content { padding-top: clamp(94px, 10vw, 143px); padding-bottom: clamp(94px, 11vw, 151px); }
.section-label { color: #567fa1; margin: 0 0 24px; text-transform: uppercase; font-size: 11px; font-weight: 750; letter-spacing: .13em; }
.hero-label { color: #a2bfd4; margin-bottom: 29px; }
.hero h1 { margin: 0; max-width: 980px; font-size: clamp(42px, 5.4vw, 74px); line-height: 1.12; font-weight: 650; letter-spacing: -.048em; }
.hero h1 span { color: #adc0d0; }
.hero-description { max-width: 620px; margin: 29px 0 34px; font-size: 17px; line-height: 1.8; color: #d0dae4; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 29px; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 2px; padding: 15px 23px; min-height: 48px; font-size: 13px; font-weight: 650; transition: background .15s, border-color .15s; }
.button-primary { background: #fff; color: var(--navy); }
.button-primary:hover { background: #e4edf3; }
.hero-link { font-size: 13px; font-weight: 550; color: #e2eaf0; }
.hero-link span, .inline-link span { padding-left: 7px; }
.hero-link:hover { color: #fff; }

/* Content */
.section { padding: 102px 0; }
h2 { font-size: clamp(32px, 3.5vw, 46px); letter-spacing: -.042em; line-height: 1.17; font-weight: 650; margin: 0; }
h3 { font-size: 21px; letter-spacing: -.022em; font-weight: 650; margin: 0; }
.section-introduction { display: flex; justify-content: space-between; align-items: end; gap: 45px; margin-bottom: 46px; }
.section-introduction > p { max-width: 370px; font-size: 15px; line-height: 1.75; margin: 0; color: var(--muted); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.service { padding: 39px 41px 35px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.service h3 { margin-bottom: 14px; }
.service p { margin: 0; max-width: 410px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.service ul { padding: 23px 0 0 19px; margin: 0; list-style: disc; color: #3f5163; }
.service li { padding: 4px 0 4px 3px; font-size: 13px; line-height: 1.6; }
.service li::marker { color: #6087a7; font-size: 10px; }

/* Working process */
.approach { background: var(--soft); }
.approach-layout { display: grid; grid-template-columns: .94fr 1.06fr; gap: 10%; }
.approach-description { margin: 28px 0 23px; max-width: 460px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.inline-link { font-size: 14px; font-weight: 650; border-bottom: 1px solid #9daebc; padding-bottom: 7px; }
.inline-link:hover { border-color: var(--ink); }
.process { border-top: 1px solid #cdd6df; }
.process-item { padding: 24px 0 26px; border-bottom: 1px solid #cdd6df; display: grid; grid-template-columns: 130px 1fr; gap: 25px; }
.process-item h3 { font-size: 18px; }
.process-item p { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0; }

/* Industries */
.sectors h2 { margin-bottom: 47px; }
.sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.sectors-grid article { padding: 32px 29px 6px 0; }
.sectors-grid article + article { border-left: 1px solid var(--border); padding-left: 29px; }
.sectors-grid h3 { font-size: 18px; margin-bottom: 13px; }
.sectors-grid p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; }

/* Company */
.about { background: #22354a; color: #fff; }
.about .section-label { color: #b0c9dc; }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; }
.about-layout > div:last-child { padding-top: 35px; }
.about-layout > div:last-child p { font-size: 16px; line-height: 1.8; color: #d2dce6; margin: 0 0 20px; }

/* Contact */
.contact { background: #f8f9fa; }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9%; }
.contact-layout > div > p:not(.section-label) { font-size: 15px; color: var(--muted); line-height: 1.8; max-width: 430px; }
.contact-layout .contact-caution { font-size: 12px !important; border-left: 2px solid #a8b7c4; margin-top: 40px; padding-left: 14px; }
.contact-form { display: flex; flex-direction: column; gap: 19px; padding: 34px; border: 1px solid var(--border); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; color: #2a394a; font-size: 13px; font-weight: 650; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #cbd5df; background: #fff; color: #142338; font-size: 14px; font-weight: 400; padding: 12px; border-radius: 2px; }
.contact-form textarea { resize: vertical; }
.button-dark { background: var(--navy); color: #fff; align-self: flex-start; }
.button-dark:hover { background: #2a4561; }
.form-help { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 0; }

/* Footer */
.footer { background: #112032; color: #fff; padding: 30px 0; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-wordmark { color: #fff; }
.footer-wordmark .wordmark-name { font-size: 22px; }
.footer-wordmark .wordmark-division { font-size: 9px; border-left-color: #607182; }
.footer-content p { font-size: 11px; line-height: 1.7; color: #b8c6d3; margin: 0; }

@media (max-width: 980px) {
  .primary-navigation { gap: 16px; }
  .primary-navigation a { font-size: 12px; }
  .wordmark-name { font-size: 24px; }
  .wordmark-division { margin-left: 12px; padding-left: 12px; font-size: 10px; }
  .approach-layout, .contact-layout { gap: 6%; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 38px, 1160px); }
  .site-header { height: 68px; }
  .wordmark-name { font-size: 25px; }
  .wordmark-division { font-size: 10px; }
  .menu-toggle { display: flex; width: 44px; height: 44px; border: 1px solid var(--border); background: #fff; border-radius: 2px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
  .menu-toggle span { width: 20px; height: 2px; background: var(--ink); display: block; }
  .primary-navigation { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; box-shadow: 0 10px 20px #17243716; border-bottom: 1px solid var(--border); padding: 13px 19px 21px; flex-direction: column; align-items: stretch; gap: 0; }
  .primary-navigation.is-open { display: flex; }
  .primary-navigation a { font-size: 15px; padding: 12px 0; }
  .primary-navigation .nav-contact { align-self: flex-start; }
  .hero-content { padding: 83px 0 96px; }
  .hero h1 { font-size: clamp(38px, 8.5vw, 55px); }
  .hero h1 br { display: none; }
  .hero-description { font-size: 15px; line-height: 1.75; }
  .hero-actions { gap: 22px; }
  .section { padding: 72px 0; }
  .section-introduction { display: block; margin-bottom: 30px; }
  .section-introduction > p { margin-top: 18px; }
  .services-grid { grid-template-columns: 1fr; }
  .service { padding: 28px 25px; }
  .approach-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 35px; }
  .about-layout > div:last-child { padding: 0; }
  .sectors-grid { grid-template-columns: 1fr; }
  .sectors-grid article { padding: 22px 0 24px; }
  .sectors-grid article + article { border-left: 0; border-top: 1px solid var(--border); padding-left: 0; }
  .sectors h2 { margin-bottom: 30px; }
  .footer-content { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 420px) {
  .process-item { grid-template-columns: 1fr; gap: 7px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
