:root {
  --ink: #111319;
  --ink-soft: #252a32;
  --muted: #66717d;
  --line: #dde2e7;
  --paper: #ffffff;
  --paper-soft: #f5f7f8;
  --blue: #1c66a6;
  --blue-dark: #154f82;
  --red: #ba1f2b;
  --red-dark: #911722;
  --green: #097d2c;
  --green-dark: #066522;
  --gold: #a6762a;
  --shadow: 0 18px 60px rgba(17, 19, 25, 0.14);
  --radius: 8px;
  --shell: min(1180px, calc(100vw - 40px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 78px;
  padding: 9px max(20px, calc((100vw - 1180px) / 2));
  color: var(--paper);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(17, 19, 25, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 172px;
}

.site-header .brand-text {
  display: none;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  background: var(--paper);
  border-radius: 6px;
}

.brand-logo {
  width: 160px;
  height: auto;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  max-width: 210px;
  color: var(--blue-dark);
  font-size: 0.74rem;
  font-weight: 800;
}

.header-contact {
  display: grid;
  gap: 2px;
  margin-left: auto;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.2;
}

.header-contact a:first-child {
  color: var(--blue);
  font-size: 1rem;
}

.header-contact a:hover {
  color: var(--green);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 0.92rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink-soft);
  border-radius: 6px;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue-dark);
  background: rgba(28, 102, 166, 0.08);
}

.site-nav .nav-cta {
  color: var(--paper);
  background: var(--green);
}

.site-nav .nav-cta:hover {
  color: var(--paper);
  background: var(--green-dark);
}

.menu-button {
  display: none;
  width: 44px;
  aspect-ratio: 1;
  padding: 10px;
  color: var(--ink);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(700px, calc(82svh - 4px));
  padding: 48px max(20px, calc((100vw - 1180px) / 2));
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(17, 19, 25, 0.94) 0%, rgba(17, 19, 25, 0.72) 42%, rgba(17, 19, 25, 0.08) 78%),
    var(--hero-image) center / cover;
}

.hero--home {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 36px;
}

.hero--subpage {
  min-height: min(610px, calc(78svh - 4px));
  grid-template-columns: minmax(0, 760px);
}

.hero__content {
  max-width: 760px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero .kicker {
  color: #8ee39a;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.45rem, 5.2vw, 4.6rem);
  font-weight: 900;
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 880;
}

h3 {
  font-size: 1.22rem;
  font-weight: 850;
}

p {
  margin: 0;
}

.hero__intro {
  max-width: 710px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: var(--paper);
  background: var(--green);
}

.button--primary:hover {
  background: var(--green-dark);
}

.button--ghost {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.button--light {
  color: var(--ink);
  background: var(--paper);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.88rem;
}

.hero__form {
  align-self: end;
  color: var(--ink);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  padding: 24px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lead-form--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 22px;
}

.lead-form__headline {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
}

.lead-form__headline strong {
  font-size: 1.1rem;
}

.lead-form__headline span {
  color: var(--muted);
  font-size: 0.92rem;
}

.lead-form label {
  display: grid;
  gap: 6px;
}

.lead-form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-form label > span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 850;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--green);
  background: var(--paper);
}

.lead-form__wide,
.lead-form .button,
.form-status {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 22px;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 750;
}

.section {
  padding: 88px max(20px, calc((100vw - 1180px) / 2));
}

.section--tight {
  padding-top: 48px;
  padding-bottom: 48px;
}

.section--band {
  background: var(--paper-soft);
  border-block: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 800px;
  margin-bottom: 34px;
}

.section-heading p:not(.kicker),
.split > div > p:not(.kicker),
.proof-grid p,
.process-list p,
.process-cards p,
.audience-grid p,
.case-grid p,
.content-grid p,
.detail-grid p {
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.trust-strip div {
  display: grid;
  gap: 3px;
  min-height: 96px;
  padding: 20px;
  background: var(--paper);
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong {
  font-size: 1.08rem;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.service-card,
.process-cards article,
.proof-grid article,
.content-grid article,
.audience-grid article,
.case-grid article,
.location-grid a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.service-card {
  display: grid;
  gap: 18px;
  min-height: 290px;
  padding: 22px;
}

.service-card p {
  color: var(--muted);
}

.service-card h3 a:hover,
.text-link:hover,
.related-links a:hover,
.location-grid a:hover {
  color: var(--green);
}

.service-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
}

.service-card__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  color: var(--green);
  background: #edf7f0;
  border: 1px solid rgba(9, 125, 44, 0.18);
  border-radius: 8px;
}

.service-card__icon svg,
.compact-service-link__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  color: var(--blue-dark);
  background: #eaf3fb;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
}

.text-link {
  align-self: end;
  color: var(--ink);
  font-weight: 850;
}

.additional-services {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 22px;
  margin-top: 22px;
  padding: 22px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.additional-services > div:first-child {
  display: grid;
  align-content: start;
  gap: 10px;
}

.additional-services p:not(.kicker) {
  color: var(--muted);
}

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

.compact-service-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 820;
}

.compact-service-link:hover {
  color: var(--green);
  border-color: rgba(9, 125, 44, 0.28);
}

.compact-service-link__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  color: var(--green);
  background: #edf7f0;
  border-radius: 7px;
}

.compact-service-link__icon svg {
  width: 19px;
  height: 19px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 48px;
  align-items: start;
}

.split > div {
  display: grid;
  gap: 16px;
}

.proof-panel {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 4px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-list span,
.process-cards span,
.case-grid span {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  color: var(--paper);
  background: var(--ink);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 900;
}

.process-list p {
  grid-column: 2;
}

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

.location-grid a {
  display: grid;
  gap: 8px;
  min-height: 145px;
  padding: 22px;
}

.location-grid strong {
  font-size: 1.12rem;
}

.location-grid span {
  color: var(--muted);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.proof-grid article {
  display: grid;
  gap: 12px;
  min-height: 190px;
  padding: 24px;
}

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

.content-grid article,
.detail-grid article {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.detail-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.audience-grid,
.case-grid,
.visual-grid {
  display: grid;
  gap: 16px;
}

.audience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.visual-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.audience-grid article,
.case-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 210px;
  padding: 24px;
}

.visual-grid article {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.visual-grid picture,
.visual-grid img {
  width: 100%;
}

.visual-grid img {
  height: 220px;
  object-fit: cover;
}

.visual-grid div {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.visual-grid p {
  color: var(--muted);
  font-size: 0.95rem;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
}

.process-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-cards article {
  display: grid;
  gap: 14px;
  min-height: 220px;
  padding: 22px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 850;
}

.faq-list p {
  padding: 0 22px 20px;
  color: var(--muted);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.related-links a {
  min-height: 34px;
  padding: 7px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
}

.section--cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--paper);
  background: linear-gradient(135deg, #111319, #153623);
}

.section--cta p:not(.kicker) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 56px max(20px, calc((100vw - 1180px) / 2)) 26px;
  color: rgba(255, 255, 255, 0.78);
  background: #0c0d10;
}

.mobile-quick-actions {
  display: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid h2 {
  color: var(--paper);
  font-size: 0.95rem;
}

.footer-grid a:hover {
  color: var(--paper);
}

.brand--footer {
  min-width: 0;
  color: var(--paper);
}

.brand--footer .brand-logo-wrap {
  width: fit-content;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .header-contact {
    display: none;
  }

  .hero--home {
    grid-template-columns: 1fr;
  }

  .hero__form {
    align-self: start;
    max-width: 760px;
  }

  .service-grid,
  .location-grid,
  .process-cards,
  .audience-grid,
  .case-grid,
  .visual-grid,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 66px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 66px 0 auto 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px 20px 22px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(17, 19, 25, 0.12);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    justify-content: space-between;
    min-height: 50px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .site-nav .nav-cta {
    justify-content: center;
    margin-top: 12px;
    border-bottom: 0;
    border-radius: 6px;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
    padding-bottom: 46px;
    background:
      linear-gradient(90deg, rgba(17, 19, 25, 0.94) 0%, rgba(17, 19, 25, 0.78) 72%, rgba(17, 19, 25, 0.44) 100%),
      var(--hero-image) center / cover;
  }

  .split,
  .content-grid,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .additional-services {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100vw - 28px, 1180px);
  }

  .site-header,
  .hero,
  .section,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 150px;
  }

  .brand-text small {
    display: none;
  }

  h1 {
    font-size: clamp(2.05rem, 10.8vw, 3.05rem);
  }

  h2 {
    font-size: clamp(1.78rem, 9vw, 2.45rem);
  }

  .hero__actions,
  .section--cta {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button,
  .section--cta .button {
    width: 100%;
  }

  .hero-proof {
    display: none;
  }

  .lead-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .compact-service-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .service-grid,
  .location-grid,
  .process-cards,
  .audience-grid,
  .case-grid,
  .visual-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .service-card,
  .location-grid a,
  .process-cards article,
  .audience-grid article,
  .case-grid article,
  .visual-grid article,
  .proof-grid article {
    min-height: auto;
  }

  .visual-grid img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .process-list div {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
  }

  .mobile-quick-actions {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(17, 19, 25, 0.2);
    backdrop-filter: blur(14px);
  }

  .mobile-quick-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 6px;
    font-weight: 850;
  }

  .mobile-quick-actions a:first-child {
    color: var(--blue-dark);
    background: var(--paper-soft);
  }

  .mobile-quick-actions a:last-child {
    color: var(--paper);
    background: var(--green);
  }

  body {
    padding-bottom: 78px;
  }
}
