:root {
  --ink: #172033;
  --muted: #637087;
  --line: #dde5ee;
  --panel: #f7f9fc;
  --brand: #1664b3;
  --brand-dark: #0f457d;
  --accent: #16a085;
  --warm: #f4b24d;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 46px;
  height: 46px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 44px;
  padding: 11px 14px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-dark);
  background: #edf5ff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--brand);
  border-radius: 6px;
  background: var(--brand);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: var(--white);
  color: var(--brand-dark);
}

.mobile-bottom-nav {
  display: none;
}

.hero {
  background:
    linear-gradient(90deg, rgba(12, 29, 53, 0.94), rgba(12, 29, 53, 0.78), rgba(12, 29, 53, 0.2)),
    url("img/hero-home.png") center right / cover no-repeat;
  color: var(--white);
}

.hero-inner,
.page-hero-inner,
.section,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  min-height: 620px;
  display: grid;
  align-items: center;
  padding: 76px 0;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  color: var(--warm);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 18px;
}

.lead {
  color: #dce8f5;
  font-size: 1.2rem;
  max-width: 650px;
}

.hero-actions,
.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.metric {
  padding: 30px 20px;
  background: var(--panel);
  text-align: center;
}

.metric strong {
  display: block;
  color: var(--brand-dark);
  font-size: 2rem;
}

.section {
  padding: 76px 0;
}

.section.tight {
  padding-top: 40px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head p,
.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card .icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #e9f5f1;
  color: var(--accent);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: center;
}

.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.band {
  background: var(--panel);
}

.work-list {
  display: grid;
  gap: 18px;
}

.work-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.work-item:hover,
.work-item:focus-visible {
  border-color: #9cc6ed;
  box-shadow: 0 14px 30px rgba(16, 26, 42, 0.08);
  transform: translateY(-2px);
  outline: none;
}

.work-item img {
  width: 150px;
  height: 100px;
  object-fit: contain;
  border-radius: 6px;
  background: #f2f6fb;
  padding: 10px;
}

.detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.45fr);
  gap: 42px;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 34px;
}

.detail-main h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.detail-main h3 {
  margin-top: 0;
}

.detail-main ul,
.detail-card ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.detail-main li,
.detail-card li {
  margin-bottom: 9px;
}

.detail-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f2f6fb;
}

.detail-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.quote {
  margin: 0;
  padding: 24px;
  border-left: 5px solid var(--warm);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 800;
}

.detail-card {
  position: sticky;
  top: 100px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.detail-card h3 {
  margin: 22px 0 12px;
  font-size: 1rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-study-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-tile {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.case-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #eaf3fb;
  position: relative;
}

.case-icon::before,
.case-icon::after {
  content: "";
  position: absolute;
}

.case-icon-crm::before {
  width: 22px;
  height: 16px;
  border: 2px solid var(--brand);
  border-radius: 4px;
}

.case-icon-crm::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: -8px 0 0 var(--brand), 8px 0 0 var(--brand);
}

.case-icon-shield::before {
  width: 22px;
  height: 25px;
  background: var(--brand);
  clip-path: polygon(50% 0, 88% 14%, 82% 66%, 50% 100%, 18% 66%, 12% 14%);
}

.case-icon-chart::before {
  width: 22px;
  height: 20px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
}

.case-icon-chart::after {
  width: 4px;
  height: 8px;
  left: 15px;
  bottom: 12px;
  background: var(--brand);
  box-shadow: 7px -5px 0 var(--brand), 14px -10px 0 var(--brand);
}

.case-icon-grid::before {
  width: 22px;
  height: 22px;
  background:
    linear-gradient(var(--brand) 0 0) left 10px top 0 / 2px 100% no-repeat,
    linear-gradient(var(--brand) 0 0) left 0 top 10px / 100% 2px no-repeat;
  border: 2px solid var(--brand);
  border-radius: 3px;
}

.case-link {
  display: grid;
  align-content: start;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.case-link:hover,
.case-link:focus-visible {
  border-color: #9cc6ed;
  box-shadow: 0 14px 30px rgba(16, 26, 42, 0.08);
  transform: translateY(-2px);
  outline: none;
}

.case-link img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  padding: 14px;
  border-radius: 6px;
  background: #f2f6fb;
}

.case-link h3,
.case-link p {
  margin: 0;
}

.download-list {
  display: grid;
  gap: 16px;
}

.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.download-card h2,
.download-card p {
  margin: 0;
}

.download-card h2 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(16, 26, 42, 0.62);
}

.auth-modal.active {
  display: flex;
}

.auth-modal-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 20px);
  overflow: auto;
  padding: 24px 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(16, 26, 42, 0.28);
}

.auth-modal-panel h2 {
  margin-top: 0;
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #edf5ff;
  color: var(--brand-dark);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.auth-tabs button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.auth-tabs button.active {
  border-color: var(--brand);
  background: #edf5ff;
  color: var(--brand-dark);
}

.auth-form {
  display: none;
  gap: 12px;
}

.auth-form.active {
  display: grid;
}

.auth-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 800;
}

.auth-form input {
  min-height: 44px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.auth-consent {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.auth-consent input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 2px;
  padding: 0;
}

.auth-consent a {
  color: var(--brand-dark);
}

.form-success,
.form-error {
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 800;
}

.form-success {
  background: #eaf8f3;
  color: #0f6d50;
}

.form-error {
  background: #fff0f0;
  color: #a33a3a;
}

.case-detail-list {
  display: grid;
  gap: 28px;
}

.case-detail {
  scroll-margin-top: 110px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.case-detail img {
  width: 100%;
  max-height: 170px;
  object-fit: contain;
  padding: 16px;
  border-radius: 6px;
  background: #f2f6fb;
}

.case-detail h2 {
  margin-top: 0;
}

.case-detail h3 {
  margin: 22px 0 8px;
}

.case-detail ul {
  margin: 0;
  padding-left: 22px;
}

.case-detail li {
  margin-bottom: 8px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.client-logo {
  min-height: 154px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  position: relative;
}

.client-logo img {
  max-width: 150px;
  max-height: 95px;
  object-fit: contain;
  transition: transform 180ms ease, opacity 180ms ease;
}

.client-logo::after {
  content: attr(data-client);
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 10px;
  border-radius: 6px;
  background: rgba(17, 24, 39, 0.92);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.client-logo:hover img,
.client-logo:focus img {
  opacity: 0.72;
  transform: translateY(-8px);
}

.client-logo:hover::after,
.client-logo:focus::after {
  opacity: 1;
  transform: translateY(0);
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: start;
}

.login-shell {
  display: grid;
  place-items: center;
}

.login-card {
  width: min(460px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 35px rgba(16, 26, 42, 0.08);
}

.contact-card {
  padding: 30px;
  border-radius: 8px;
  background: var(--brand-dark);
  color: var(--white);
}

.contact-card a {
  display: block;
  margin: 10px 0;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

form {
  display: grid;
  gap: 14px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-message {
  padding: 14px 16px;
  border: 1px solid #f4b24d;
  border-radius: 6px;
  background: #fff8e8;
  color: #7a4b00;
  font-weight: 800;
}

.form-message.success {
  border-color: #16a085;
  background: #e9f8f4;
  color: #0d6b5a;
}

.captcha-code {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: repeating-linear-gradient(135deg, #edf5ff, #edf5ff 8px, #ffffff 8px, #ffffff 16px);
  color: var(--brand-dark);
  font-family: "Courier New", Courier, monospace;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  user-select: none;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

fieldset {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

legend {
  padding: 0 8px;
  color: var(--ink);
  font-weight: 900;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 700;
}

.choice input {
  width: 18px;
  min-height: 18px;
}

.estimate {
  position: sticky;
  top: 96px;
  padding: 30px;
  border-radius: 8px;
  background: var(--brand-dark);
  color: var(--white);
}

.estimate strong {
  display: block;
  margin: 14px 0;
  font-size: 2rem;
  line-height: 1.1;
}

.estimate p,
.estimate .muted {
  color: #d8e3ef;
}

.questionnaire {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 30px;
  align-items: start;
}

.full-width {
  grid-column: 1 / -1;
}

.terms-acceptance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 700;
}

.terms-acceptance input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  flex: 0 0 auto;
}

.text-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-dark);
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer;
}

.modal-backdrop-custom {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 26, 42, 0.68);
}

.modal-backdrop-custom[hidden] {
  display: none !important;
}

.modal-backdrop-custom.is-open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.modal-panel h2 {
  margin-right: 34px;
}

.modal-panel h3 {
  margin-top: 24px;
}

.modal-panel ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 900;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(12, 29, 53, 0.94), rgba(12, 29, 53, 0.78), rgba(12, 29, 53, 0.28)),
    url("img/hero-about.png") center right / cover no-repeat;
  color: var(--white);
}

.page-hero-about {
  background-image:
    linear-gradient(90deg, rgba(12, 29, 53, 0.94), rgba(12, 29, 53, 0.78), rgba(12, 29, 53, 0.28)),
    url("img/hero-about.png");
}

.page-hero-work {
  background-image:
    linear-gradient(90deg, rgba(12, 29, 53, 0.94), rgba(12, 29, 53, 0.78), rgba(12, 29, 53, 0.28)),
    url("img/hero-work.png");
}

.page-hero-clients {
  background-image:
    linear-gradient(90deg, rgba(12, 29, 53, 0.94), rgba(12, 29, 53, 0.78), rgba(12, 29, 53, 0.28)),
    url("img/hero-clients-developers.png");
}

.page-hero-contact {
  background-image:
    linear-gradient(90deg, rgba(12, 29, 53, 0.94), rgba(12, 29, 53, 0.78), rgba(12, 29, 53, 0.28)),
    url("img/hero-contact.png");
}

.page-hero-start {
  background-image:
    linear-gradient(90deg, rgba(12, 29, 53, 0.94), rgba(12, 29, 53, 0.78), rgba(12, 29, 53, 0.28)),
    url("img/hero-start-now.png");
}

.page-hero-inner {
  padding: 72px 0;
}

.page-hero p {
  max-width: 720px;
  color: #d8e3ef;
}

.site-footer {
  background: #101a2a;
  color: #d8e3ef;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.footer-brand img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.footer-inner a {
  color: #d8e3ef;
  text-decoration: none;
}

@media (max-width: 820px) {
  body {
    padding-bottom: 78px;
  }

  .nav {
    min-height: 66px;
  }

  .nav-links {
    display: none;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -10px 30px rgba(16, 26, 42, 0.12);
  }

  .mobile-bottom-nav a {
    min-width: 0;
    display: grid;
    place-items: center;
    gap: 4px;
    padding: 6px 2px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
  }

  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav a:focus-visible,
  .mobile-bottom-nav a.active {
    color: var(--brand-dark);
    background: #edf5ff;
    outline: none;
  }

  .mobile-nav-icon {
    width: 21px;
    height: 21px;
    display: block;
    position: relative;
  }

  .mobile-nav-icon::before,
  .mobile-nav-icon::after {
    content: "";
    position: absolute;
    border-color: currentColor;
  }

  .mobile-nav-home::before {
    left: 4px;
    top: 8px;
    width: 13px;
    height: 10px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 2px;
  }

  .mobile-nav-home::after {
    left: 4px;
    top: 3px;
    width: 13px;
    height: 13px;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
  }

  .mobile-nav-work::before {
    left: 3px;
    top: 4px;
    width: 15px;
    height: 13px;
    border: 2px solid currentColor;
    border-radius: 2px;
  }

  .mobile-nav-work::after {
    left: 7px;
    top: 2px;
    width: 7px;
    height: 4px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 2px 2px 0 0;
  }

  .mobile-nav-downloads::before {
    left: 9px;
    top: 3px;
    width: 3px;
    height: 11px;
    background: currentColor;
  }

  .mobile-nav-downloads::after {
    left: 5px;
    top: 8px;
    width: 9px;
    height: 9px;
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(45deg);
  }

  .mobile-nav-contact::before {
    left: 3px;
    top: 5px;
    width: 15px;
    height: 11px;
    border: 2px solid currentColor;
    border-radius: 2px;
  }

  .mobile-nav-contact::after {
    left: 5px;
    top: 7px;
    width: 11px;
    height: 8px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
  }

  .mobile-nav-login::before {
    left: 7px;
    top: 3px;
    width: 7px;
    height: 7px;
    border: 2px solid currentColor;
    border-radius: 50%;
  }

  .mobile-nav-login::after {
    left: 4px;
    top: 13px;
    width: 13px;
    height: 6px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
  }

  .hero-inner {
    min-height: 560px;
  }

  .metrics,
  .grid,
  .split,
  .client-grid,
  .contact-panel,
  .questionnaire,
  .detail-shell,
  .detail-media-grid,
  .case-grid,
  .case-study-list,
  .case-detail,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .estimate {
    position: static;
  }

  .detail-card {
    position: static;
  }

  .work-item {
    grid-template-columns: 1fr;
  }

  .download-card {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .nav-links a {
    padding-inline: 10px;
  }

  .section {
    padding: 54px 0;
  }

  .metric {
    text-align: left;
  }
}
