:root {
  --ink: #101e31;
  --deep: #0b1626;
  --blue: #07597c;
  --sky: #9ae3ff;
  --paper: #f5f7f9;
  --muted: #44556a;
  --border: #d6dfe8;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 3px solid #1b9ed0; outline-offset: 4px; }
section[id] { scroll-margin-top: 20px; }
.wrap { width: min(1160px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: absolute; top: 10px; left: 12px; padding: 12px; background: white; z-index: 5; transform: translateY(-150%); }
.skip:focus { transform: none; }
.header { background: var(--deep); color: white; border-bottom: 1px solid #ffffff22; }
.nav { display: flex; min-height: 77px; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { flex: none; }
.brand span { font-size: 15px; font-weight: 800; letter-spacing: .08em; line-height: 1.1; }
.brand small { display: block; margin-top: 5px; font-size: 9px; font-weight: 600; letter-spacing: .29em; }
nav { display: flex; gap: clamp(20px, 3vw, 40px); }
nav a { font-size: .91rem; text-decoration: none; color: #e2ebf5; }
nav a:hover, .text-link:hover { color: var(--sky); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 11px 17px; border-radius: 7px; border: 1px solid transparent; font: inherit; font-size: .91rem; font-weight: 750; text-decoration: none; cursor: pointer; }
.nav-button { border-color: #b3d7e96b; }
.nav-button:hover { border-color: var(--sky); }
.primary { color: var(--deep); background: var(--sky); }
.primary:hover { background: #c3efff; }
.hero { color: white; background: radial-gradient(ellipse at 77% 53%, #1c3b53 0%, transparent 62%), var(--deep); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(25px, 5vw, 72px); padding-block: 68px 76px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--blue); font-size: .73rem; font-weight: 800; letter-spacing: .16em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.hero .eyebrow, .contact .eyebrow { color: var(--sky); }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 5.6vw, 5.15rem); margin: 18px 0; }
.intro { color: #cedce8; font-size: clamp(1.05rem, 1.7vw, 1.21rem); line-height: 1.55; max-width: 39ch; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 23px; margin-top: 27px; }
.text-link { font-size: .92rem; font-weight: 650; text-decoration: none; padding-block: 10px; }
.hero-media { position: relative; min-width: 0; overflow: hidden; border-radius: 15px; border: 1px solid #bde8ff51; background: #18364a; }
.hero-media img { aspect-ratio: 1.16; width: 100%; object-fit: cover; object-position: 53% 50%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#061424a1,transparent 48%); pointer-events: none; }
.hero-media figcaption { position: absolute; bottom: 16px; left: 16px; z-index: 1; display: flex; align-items: center; gap: 9px; border: 1px solid #c1d8ec70; background: #0b1929ed; color: white; padding: 9px 12px; border-radius: 5px; font-size: .76rem; font-weight: 650; }
.hero-media .dot { color: var(--sky); }
.section { padding-block: clamp(50px, 6.5vw, 94px); }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 16px 36px; margin: 13px 0 28px; }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); }
.section-title p, .service p, .work p, .contact p, address { line-height: 1.55; }
.section-title p { max-width: 35ch; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.service { display: flex; flex-direction: column; align-items: start; background: white; border: 1px solid var(--border); border-radius: 11px; padding: 24px; }
.card-top { display: flex; justify-content: space-between; width: 100%; align-items: start; color: var(--blue); font-size: .73rem; font-weight: 800; }
.card-top svg { box-sizing: content-box; width: 23px; height: 23px; padding: 10px; border-radius: 8px; background: #e5f5fb; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
h3 { font-size: clamp(1.24rem, 2vw, 1.52rem); letter-spacing: -.029em; }
.service h3 { margin-top: 20px; }
.service p { margin: 9px 0 13px; color: var(--muted); font-size: .95rem; }
.service a { margin-top: auto; padding-block: 7px; font-size: .87rem; font-weight: 750; color: var(--blue); }
.work { background: #e8eff5; border-block: 1px solid var(--border); }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.work figure { overflow: hidden; background: white; border-radius: 11px; border: 1px solid var(--border); }
.work img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: var(--position, center); }
.work figcaption { padding: 21px 24px; }
.work figcaption p { color: var(--muted); margin-top: 7px; }
.contact { background: var(--ink); color: white; border-radius: 15px; padding: clamp(24px, 5vw, 61px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(25px, 7vw, 92px); }
.contact h2 { margin: 14px 0; }
.contact-copy > p:not(.eyebrow) { color: #d2deea; max-width: 38ch; }
address { font-style: normal; margin-top: 20px; }
address a { display: inline-block; margin-top: 7px; color: var(--sky); }
form { display: grid; gap: 7px; align-content: start; }
label { font-size: .9rem; font-weight: 700; }
input, select, textarea { width: 100%; min-width: 0; font: inherit; font-size: 1rem; border: 1px solid #b2c6d6; border-radius: 6px; padding: 10px 12px; background: #fff; color: var(--ink); margin-bottom: 6px; }
textarea { resize: vertical; }
.form-note { font-size: .8rem; color: #d2deea; }
footer { background: var(--deep); color: #e2ebf5; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding-block: 24px; font-size: .88rem; }
.foot > a:last-child { white-space: nowrap; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
  .wrap { width: calc(100% - 34px); }
  .nav { flex-wrap: wrap; gap: 0 12px; padding-top: 12px; }
  nav { order: 3; width: 100%; gap: 20px; margin-top: 12px; border-top: 1px solid #ffffff22; }
  nav a { padding-block: 12px; }
  .hero-grid, .work-grid, .contact { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 39px 44px; gap: 29px; }
  .hero-media img { aspect-ratio: 1.65; }
  .section-title { display: block; }
  .section-title p { margin-top: 9px; }
  .foot { align-items: start; flex-direction: column; }
}
@media (max-width: 460px) { .service-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
