@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #07182f;
  --navy: #003580;
  --navy-deep: #002456;
  --blue: #0094f0;
  --muted: #3d5168;
  --line: rgba(0, 53, 128, 0.14);
  --paper: #f4f8fc;
  --danger: #9d1c2f;
  --font: Outfit, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
}

img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin-top: 0; }
a { color: var(--navy); }

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
}
.skip:focus { top: 0.6rem; }

.wrap {
  width: min(980px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.05em;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.05rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.btn-primary, .btn-primary:visited { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost, .btn-ghost:visited {
  background: #fff;
  color: var(--navy);
  border-color: rgba(0, 53, 128, 0.28);
}
.btn-block { width: 100%; }

.intro { padding: 1.6rem 0 0.4rem; }

.kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
  color: #0068b8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--navy);
  box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 4px var(--blue);
}

h1 {
  margin-bottom: 0.7rem;
  font-size: clamp(2.15rem, 7vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 640;
}

h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.lead { max-width: 38rem; color: var(--muted); }
.contact-mail { margin: 0.15rem 0 0; font-weight: 650; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.1rem 0 0.4rem;
}

.services {
  display: grid;
  gap: 1.35rem;
  padding: 1.6rem 0 0.4rem;
}

.service { scroll-margin-top: 88px; }

.tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 -1px 0.85rem;
  padding: 0.42rem 0.95rem 0.48rem 0.48rem;
  border-radius: 14px 14px 0 0;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  box-shadow: 0 -8px 16px rgba(0, 36, 86, 0.06);
}

.tab span {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 0.92rem;
}

.service:nth-child(2) .tab { margin-left: clamp(0.85rem, 18%, 6.5rem); }
.service:nth-child(3) .tab { margin-left: clamp(0.85rem, 32%, 12rem); }
.service:nth-child(4) .tab { margin-left: clamp(0.85rem, 38%, 17.5rem); }
.service:nth-child(5) .tab { margin-left: clamp(0.85rem, 44%, 23rem); }
.service:nth-child(6) .tab { margin-left: clamp(0.85rem, 50%, 28.5rem); }

@media (min-width: 640px) {
  .service:nth-child(4) .tab { margin-left: 17.5rem; }
  .service:nth-child(5) .tab { margin-left: 23rem; }
  .service:nth-child(6) .tab { margin-left: 28.5rem; }
}

.extras {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.extras li {
  padding: 0.75rem 0.95rem;
  background: #fff;
  border-radius: 14px;
  font-weight: 650;
}

.service-body {
  display: grid;
  overflow: hidden;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(7, 24, 47, 0.06);
}

.service-body > img,
.pair img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: var(--navy-deep);
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.pair figure { margin: 0; position: relative; }

.pair figcaption {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  margin: 0;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(7, 24, 47, 0.62);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.service-copy { padding: 1rem 1rem 1.15rem; }

.service-copy p:last-child { margin-bottom: 0; color: var(--muted); }

.quote {
  display: grid;
  gap: 1rem;
  padding: 2rem 0 1rem;
}

.ig {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--navy);
  border: 1.5px solid rgba(0, 53, 128, 0.28);
}

.ig:hover { background: var(--paper); }

.gear-label {
  margin: 0.8rem 0 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gear {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.6rem;
  margin: 0 0 0.9rem;
  padding: 0;
  list-style: none;
}

.gear a {
  display: block;
  line-height: 0;
}

.gear img {
  height: 52px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
}

form, .success {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--paper);
  border-radius: 22px;
}

.field label, .consent { font-weight: 640; font-size: 0.95rem; }

.field input, .field select, .field textarea {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid #c5d4e6;
  border-radius: 12px;
  background: #fff;
}

.field textarea { min-height: 90px; resize: vertical; }

.is-invalid { border-color: var(--danger) !important; }

.consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 500;
}

.consent input { width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; accent-color: var(--navy); }

.form-error { margin: 0; color: var(--danger); font-weight: 650; }

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.success p { margin-bottom: 0; color: var(--muted); }

.success pre {
  margin: 0;
  padding: 0.8rem;
  white-space: pre-wrap;
  font-family: inherit;
  background: #fff;
  border-radius: 12px;
}

.site-footer {
  padding: 1.4rem 0 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-row p { margin: 0 0 0.35rem; }
.footer-row a { font-weight: 650; }

section[id] { scroll-margin-top: 88px; }

@media (min-width: 800px) {
  .service-body {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }
  .service-body.is-plain { grid-template-columns: 1fr; }
  .service-body > img,
  .pair img { height: 100%; min-height: 300px; }
  .service-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.6rem 1.5rem;
  }
  .quote {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
    gap: 2rem;
    padding-top: 2.4rem;
  }
}

@media (max-width: 420px) {
  .brand-name { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
