:root {
  color: #20272b;
  background: #ffffff;
  font-family: Inter, Manrope, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  --brand: #0878d1;
  --brand-dark: #0565b2;
  --ink: #20272b;
  --muted: #5b6469;
  --line: #d9dfe3;
  --soft: #f3f7f9;
  --soft-ink: #20272b;
  --soft-muted: #3e484d;
  --soft-line: #d9dfe3;
  --soft-blue: #eef5f8;
  --deep: #123247;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: #fff;
  font-family: Inter, Manrope, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  top: 32px;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 16px;
  color: #fff;
  background: var(--deep);
}

.site-header {
  min-height: 92px;
  padding: 14px clamp(24px, 5vw, 84px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #edf0f2;
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand,
.footer-brand {
  display: inline-flex;
  text-decoration: none;
}

.brand-logo {
  width: 188px;
  height: 64px;
  object-fit: contain;
}

.primary-nav,
.primary-nav-links,
.primary-menu {
  display: flex;
  align-items: center;
}

.primary-nav {
  gap: clamp(24px, 3vw, 52px);
}

.primary-nav-links,
.primary-menu {
  gap: clamp(24px, 3vw, 52px);
}

.primary-menu,
.footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a,
.site-footer a {
  text-decoration: none;
}

.primary-nav-links > a,
.primary-menu a {
  color: #2f373b;
  font-size: 14px;
  font-weight: 600;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--brand);
}

.menu-toggle {
  display: none;
  color: var(--ink);
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle .dashicons {
  width: 28px;
  height: 28px;
  font-size: 28px;
}

.menu-toggle .dashicons-no-alt,
.menu-toggle[aria-expanded="true"] .dashicons-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .dashicons-no-alt {
  display: block;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button:focus-visible,
.menu-toggle:focus-visible,
.modal-close:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(8, 120, 209, 0.27);
  outline-offset: 3px;
}

.button-primary {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.button-primary:hover {
  color: #fff;
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.button-secondary {
  color: var(--brand);
  background: #fff;
  border-color: var(--brand);
}

.button-secondary:hover {
  color: var(--brand-dark);
  background: #f3f9fe;
}

.nav-cta {
  margin-left: clamp(6px, 2vw, 28px);
  min-height: 50px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.15fr);
  min-height: 660px;
  max-width: 1600px;
  margin: 0 auto;
}

.hero-copy {
  padding: clamp(80px, 8vw, 138px) clamp(32px, 6vw, 112px) 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(48px, 4.25vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.hero-lede {
  margin: 34px 0 0;
  font-size: clamp(20px, 1.6vw, 27px);
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 62px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.trust-points span {
  min-height: 48px;
  padding: 0 18px;
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 650;
}

.trust-points span:first-child {
  padding-left: 0;
}

.trust-points span + span {
  border-left: 1px solid var(--line);
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: cover;
  object-position: center;
}

.section {
  padding: 74px clamp(24px, 5vw, 80px);
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(31px, 3vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.section-heading > span {
  width: 54px;
  height: 3px;
  margin-top: 18px;
  background: var(--brand);
}

.services-section {
  background: var(--soft);
  color: var(--soft-ink);
}

.services-grid {
  width: min(1240px, 100%);
  margin: 58px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service {
  padding: 0 clamp(22px, 3vw, 52px);
  text-align: center;
}

.service-link {
  min-height: 100%;
  padding: 8px 4px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: inherit;
  border-radius: 2px;
  text-decoration: none;
  transition: transform 160ms ease;
}

.service-link:hover {
  transform: translateY(-3px);
}

.service-link:focus-visible {
  outline: 3px solid rgba(8, 120, 209, 0.32);
  outline-offset: 6px;
}

.service + .service {
  border-left: 1px solid var(--soft-line);
}

.service-icon.dashicons {
  width: 58px;
  height: 58px;
  margin: 0 auto 26px;
  color: var(--brand);
  font-size: 54px;
  line-height: 58px;
}

.service h3,
.process-step h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

.service p,
.process-step p {
  margin: 16px auto 0;
  max-width: 270px;
  color: #3e484d;
  font-size: 15px;
}

.services-section .service p {
  color: var(--soft-muted);
}

.service-read-more {
  margin-top: auto;
  padding-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.service-read-more .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.service-note {
  width: min(800px, 100%);
  margin: 48px auto 0;
  text-align: center;
  color: var(--soft-muted);
  font-size: 14px;
}

.work-section {
  background: #fff;
}

.work-grid {
  width: min(1240px, 100%);
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.work-grid figure {
  margin: 0;
}

.work-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.work-grid figcaption {
  padding: 15px 4px 0;
  font-size: 18px;
  font-weight: 750;
}

.image-disclaimer {
  margin: 18px auto 0;
  text-align: center;
  color: #727b80;
  font-size: 12px;
}

.text-link {
  width: max-content;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
}

.process-section {
  background: var(--soft-blue);
}

.process-grid {
  width: min(1120px, 100%);
  margin: 46px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr) 32px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.process-step {
  text-align: center;
}

.process-arrow.dashicons {
  width: 32px;
  height: 32px;
  margin-top: 4px;
  color: var(--brand);
  font-size: 28px;
  line-height: 32px;
}

.step-number {
  width: 38px;
  height: 38px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  font-weight: 800;
}

.contact-band {
  padding: 48px clamp(28px, 7vw, 110px);
  display: grid;
  grid-template-columns: 1.25fr 0.9fr auto;
  align-items: center;
  gap: 58px;
  color: #fff;
  background: var(--deep);
}

.contact-band h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
}

.contact-band p {
  max-width: 520px;
  margin: 14px 0 0;
  color: #e4edf2;
}

.contact-links {
  display: grid;
  gap: 13px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 17px;
  color: #fff;
  text-decoration: none;
  font-size: 21px;
  font-weight: 750;
}

.contact-links .dashicons {
  width: 34px;
  height: 34px;
  font-size: 32px;
  line-height: 34px;
  flex: 0 0 auto;
}

.site-footer {
  min-height: 215px;
  padding: 40px clamp(28px, 7vw, 110px) 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: 38px 50px;
  background: #fff;
}

.footer-logo {
  width: 200px;
  height: 88px;
  object-fit: contain;
}

.footer-company,
.footer-nav,
.footer-menu {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.site-copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
}

.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 24px;
  display: none;
  place-items: center;
  background: rgba(17, 29, 36, 0.72);
}

.modal-backdrop.is-open {
  display: grid;
}

.quote-modal {
  width: min(610px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  position: relative;
  padding: clamp(32px, 5vw, 58px);
  background: #fff;
  box-shadow: 0 24px 80px rgba(4, 25, 39, 0.25);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.modal-close .dashicons {
  width: 28px;
  height: 28px;
  font-size: 28px;
}

.eyebrow {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.quote-modal h2 {
  margin: 10px 0 0;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.modal-intro {
  color: var(--muted);
}

.form-message {
  padding: 12px 14px;
  border-left: 3px solid var(--brand);
}

.form-message-error {
  color: #7a1c1c;
  background: #fff2f2;
  border-color: #b53333;
}

.quote-form {
  margin-top: 26px;
  display: grid;
  gap: 18px;
}

.quote-form label:not(.consent-row):not(.honeypot) {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #aeb8bd;
  border-radius: 1px;
}

.quote-form textarea {
  resize: vertical;
}

.consent-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.success-state p a {
  color: var(--brand);
  font-weight: 800;
}

.success-state .button {
  margin-top: 20px;
}

.content-shell {
  width: min(920px, calc(100% - 48px));
  min-height: 55vh;
  margin: 0 auto;
  padding: 72px 0;
}

.content-article h1 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.08;
}

.entry-content {
  font-size: 17px;
}

.service-page-hero {
  padding: 76px clamp(24px, 7vw, 110px) 84px;
  color: #fff;
  background: var(--deep);
}

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

.service-back-link {
  width: max-content;
  margin-bottom: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dbeaf2;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.service-back-link:hover,
.service-back-link:focus-visible {
  color: #fff;
}

.service-page-hero .eyebrow {
  margin: 0 0 12px;
  color: #8fcfff;
}

.service-page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.service-page-excerpt {
  max-width: 780px;
  margin: 28px 0 0;
  color: #e4edf2;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.5;
}

.service-page-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: start;
  gap: clamp(52px, 8vw, 104px);
}

.service-entry-content {
  color: #313b40;
  font-size: 18px;
  line-height: 1.75;
}

.service-entry-content > *:first-child {
  margin-top: 0;
}

.service-entry-content .service-lead {
  color: var(--ink);
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.55;
}

.service-entry-content h2 {
  margin: 52px 0 18px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.service-entry-content ul {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
}

.service-entry-content li {
  position: relative;
  padding-left: 30px;
}

.service-entry-content li::before {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  top: 0.62em;
  left: 0;
  background: var(--brand);
  border-radius: 50%;
}

.service-contact-card {
  position: sticky;
  top: 118px;
  padding: 34px;
  color: #fff;
  background: var(--deep);
}

.service-contact-card .eyebrow {
  color: #8fcfff;
}

.service-contact-card h2 {
  margin: 10px 0 0;
  font-size: 30px;
  line-height: 1.18;
}

.service-contact-card > p {
  margin: 18px 0 0;
  color: #dbe6eb;
}

.service-contact-card > .button {
  width: 100%;
  margin-top: 26px;
}

.service-direct-contact {
  margin-top: 26px;
  padding-top: 24px;
  display: grid;
  gap: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.service-direct-contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.service-direct-contact .dashicons {
  color: #8fcfff;
}

.service-more-section {
  padding: 72px clamp(24px, 5vw, 80px) 82px;
  background: var(--soft-blue);
}

.service-page-links {
  width: min(1120px, 100%);
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-page-links a {
  min-height: 70px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dde5e9;
  text-decoration: none;
  font-weight: 750;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.service-page-links a:hover,
.service-page-links a:focus-visible {
  color: var(--brand);
  border-color: var(--brand);
  transform: translateY(-1px);
}

.service-page-links a[aria-current="page"] {
  color: #fff;
  background: var(--deep);
  border-color: var(--deep);
}

@media (max-width: 1100px) {
  .site-header {
    padding-inline: 28px;
  }

  .primary-nav,
  .primary-nav-links,
  .primary-menu {
    gap: 22px;
  }

  .nav-cta {
    margin-left: 0;
    padding-inline: 18px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  }

  .hero-copy {
    padding-inline: 42px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 48px;
  }

  .service:nth-child(3) {
    border-left: 0;
  }

  .contact-band {
    grid-template-columns: 1fr 1fr;
  }

  .contact-band > .button {
    grid-column: 1 / -1;
    width: max-content;
  }
}

@media (max-width: 820px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .site-header {
    min-height: 78px;
  }

  .brand-logo {
    width: 154px;
    height: 54px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 24px 28px 30px;
    display: none;
    align-items: stretch;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(17, 37, 48, 0.08);
  }

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

  .primary-nav-links,
  .primary-menu {
    display: grid;
    align-items: stretch;
    gap: 6px;
  }

  .primary-nav-links > a,
  .primary-menu a {
    display: block;
    padding: 8px 0;
    font-size: 17px;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding: 56px 28px 40px;
  }

  .hero h1 {
    font-size: clamp(40px, 10.5vw, 56px);
    line-height: 1.07;
  }

  .hero-lede {
    margin-top: 24px;
    font-size: 19px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .trust-points {
    margin-top: 40px;
    padding-top: 14px;
  }

  .hero-image {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .section {
    padding: 62px 24px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .process-arrow.dashicons {
    transform: rotate(90deg);
    margin: 0 auto 8px;
  }

  .contact-band {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-band > .button {
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-nav {
    grid-column: 1 / -1;
  }

  .service-page-hero {
    padding: 56px 28px 64px;
  }

  .service-back-link {
    margin-bottom: 38px;
  }

  .service-page-shell {
    padding-block: 60px 68px;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-contact-card {
    position: static;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 600px) {
  body.admin-bar .site-header {
    top: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 72px;
    padding: 9px 18px;
  }

  .brand-logo {
    width: 144px;
    height: 52px;
  }

  .primary-nav {
    padding-inline: 22px;
  }

  .hero-copy {
    padding: 46px 22px 34px;
  }

  .hero h1 {
    font-size: clamp(38px, 10.8vw, 46px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-points {
    grid-template-columns: 1fr;
  }

  .trust-points span {
    min-height: 0;
    padding: 13px 0;
  }

  .trust-points span + span {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .service {
    padding: 0 12px 38px;
  }

  .service + .service,
  .service:nth-child(3) {
    padding-top: 38px;
    border-top: 1px solid var(--soft-line);
    border-left: 0;
  }

  .contact-links a {
    font-size: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-nav,
  .site-copyright {
    grid-column: auto;
  }

  .quote-modal {
    padding: 42px 22px 28px;
  }

  .service-page-hero {
    padding: 44px 22px 54px;
  }

  .service-page-hero h1 {
    font-size: clamp(40px, 12vw, 52px);
  }

  .service-page-excerpt {
    font-size: 18px;
  }

  .service-page-shell {
    width: min(calc(100% - 40px), 1180px);
    padding-block: 50px 58px;
  }

  .service-entry-content {
    font-size: 17px;
  }

  .service-contact-card {
    padding: 28px 24px;
  }

  .service-more-section {
    padding: 58px 20px 64px;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
