:root {
  --navy: #06164a;
  --navy-soft: #0c2b6d;
  --blue: #005be8;
  --cyan: #08a5c8;
  --teal: #0d8d7d;
  --yellow: #ffdf14;
  --red: #d82032;
  --ink: #10182f;
  --muted: #5f6b84;
  --paper: #f4f8fc;
  --mist: #e8f3fb;
  --white: #ffffff;
  --line: #dce6f2;
  --warm: #fff7df;
  --shadow: 0 20px 54px rgba(6, 22, 74, 0.14);
  --soft-shadow: 0 12px 34px rgba(6, 22, 74, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

button {
  border: 0;
}

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

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px 32px;
  border-bottom: 1px solid rgba(220, 230, 242, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
}

.brand-logo {
  width: 214px;
  max-height: 58px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 42px;
  padding: 10px 13px;
  border-radius: 8px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 780;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--blue);
  background: #edf5ff;
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle svg,
.button svg,
.contact-link svg,
.contact-methods svg,
.service-icon svg,
.detail-icon svg,
.panel-label svg,
.benefit-list svg,
.media-badge svg,
.operations-grid svg,
.outcome-grid svg,
.workflow-grid svg,
.form-heading svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(430px, 1.06fr);
  gap: 46px;
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: 68px 0 48px;
}

.page-hero,
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.8fr);
  gap: 46px;
  align-items: center;
  padding: 70px 0;
}

.compact-hero {
  grid-template-columns: minmax(0, 880px);
  justify-content: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.83rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(2.55rem, 5vw, 4.45rem);
  line-height: 0.98;
  font-weight: 950;
}

h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1.08;
  font-weight: 900;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 860;
}

.hero-lede,
.page-hero-copy p:not(.eyebrow),
.contact-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-lede,
.page-hero-copy p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 28px;
}

.hero-actions,
.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.section-cta {
  justify-content: center;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button-primary {
  color: #111217;
  background: var(--yellow);
  box-shadow: 0 14px 30px rgba(255, 223, 20, 0.3);
}

.button-secondary {
  color: var(--navy);
  border-color: var(--line);
  background: var(--white);
}

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

.button:hover,
.button:focus-visible,
.contact-link:hover,
.contact-link:focus-visible,
.contact-methods a:hover,
.contact-methods a:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  max-width: 650px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.proof-strip div {
  min-height: 104px;
  padding: 18px;
  background: var(--white);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  color: var(--blue);
  font-size: 1.45rem;
  line-height: 1;
}

.proof-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 760;
}

.hero-media,
.page-hero-visual {
  position: relative;
}

.hero-media::before,
.page-hero-visual::before {
  position: absolute;
  inset: -16px;
  z-index: -1;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 223, 20, 0.24), transparent 44%),
    linear-gradient(315deg, rgba(8, 165, 200, 0.2), transparent 45%);
  content: "";
}

.hero-media img,
.page-hero-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(220, 230, 242, 0.95);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 270px;
  padding: 12px 14px;
  border: 1px solid rgba(220, 230, 242, 0.95);
  border-radius: 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 26px rgba(5, 22, 74, 0.13);
  font-weight: 850;
  animation: floatBadge 5s ease-in-out infinite;
}

.media-badge-top {
  top: 18px;
  left: 18px;
}

.media-badge-bottom {
  right: 18px;
  bottom: 18px;
  animation-delay: 600ms;
}

.support-band {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 22, 74, 0.98), rgba(12, 43, 109, 0.98)),
    var(--navy);
}

.support-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 0;
}

.support-inner > span {
  font-size: 1.05rem;
  font-weight: 900;
}

.support-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.support-items a {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 780;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.support-items a:hover,
.support-items a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
  outline: none;
}

.section-block {
  padding: 88px 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 0.9fr);
  gap: 38px;
  align-items: center;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.center {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.metric-grid,
.outcome-grid,
.workflow-grid,
.process-grid {
  display: grid;
  gap: 14px;
}

.metric-grid {
  grid-template-columns: repeat(2, 1fr);
}

.metric-grid article,
.outcome-grid article,
.workflow-grid article,
.process-grid article,
.service-card,
.tool-card,
.booking-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.metric-grid article {
  min-height: 156px;
  padding: 22px;
}

.metric-grid svg,
.outcome-grid svg,
.workflow-grid svg {
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
  color: var(--teal);
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1;
}

.metric-grid span {
  margin-top: 9px;
  color: var(--muted);
  font-weight: 740;
}

.service-preview {
  background:
    linear-gradient(180deg, var(--paper), #ffffff 68%),
    var(--paper);
}

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

.service-card {
  min-height: 252px;
  padding: 22px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card:hover {
  border-color: #b9d0ef;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-icon,
.detail-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: #eaf3ff;
}

.service-icon {
  margin-bottom: 18px;
}

.service-card p,
.tool-card p,
.process-grid p,
.outcome-grid p,
.workflow-grid p,
.detail-row p,
.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

.comparison-section {
  padding: 88px 0;
  background:
    linear-gradient(135deg, rgba(232, 243, 251, 0.8), rgba(255, 247, 223, 0.74)),
    var(--paper);
}

.comparison-page {
  padding-top: 20px;
}

.comparison-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.compare-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.inhouse-panel {
  border-top: 5px solid var(--red);
}

.outsourced-panel {
  border-top: 5px solid var(--blue);
}

.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.inhouse-panel .panel-label svg {
  color: var(--red);
}

.outsourced-panel .panel-label svg {
  color: var(--blue);
}

.cost-list,
.benefit-list,
.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.cost-list li {
  display: grid;
  grid-template-columns: minmax(116px, 0.42fr) 1fr;
  gap: 14px;
  align-items: center;
  min-height: 62px;
  padding: 12px;
  border: 1px solid #f2ced4;
  border-radius: 8px;
  background: #fff7f8;
}

.cost-list strong {
  color: var(--red);
  font-size: 1.18rem;
}

.cost-list span {
  color: var(--ink);
  font-weight: 740;
}

.benefit-list li,
.check-list li {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #cfe1ff;
  border-radius: 8px;
  color: var(--navy);
  background: #f4f8ff;
  font-weight: 760;
}

.benefit-list svg {
  color: var(--teal);
}

.check-list li::before {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.versus {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 6px solid var(--paper);
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 1.3rem;
  font-weight: 950;
  transform: translate(-50%, -50%);
}

.operations-band {
  padding: 78px 0;
  color: var(--white);
  background:
    linear-gradient(rgba(6, 22, 74, 0.9), rgba(6, 22, 74, 0.9)),
    url("assets/yakp-brochure.jpeg") center / cover;
}

.operations-inner {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 34px;
  align-items: start;
}

.operations-inner .eyebrow,
.operations-inner h2 {
  color: var(--white);
}

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

.operations-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
}

.operations-grid svg {
  width: 26px;
  height: 26px;
  margin-bottom: 18px;
  color: var(--yellow);
}

.operations-grid h3 {
  color: var(--white);
}

.operations-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.service-detail-list {
  display: grid;
  gap: 18px;
  padding-bottom: 88px;
}

.detail-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(280px, 0.68fr);
  gap: 22px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.detail-row .eyebrow {
  margin-bottom: 6px;
}

.detail-row h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.process-section,
.workflow-section,
.timeline-section {
  padding: 84px 0;
  background: var(--paper);
}

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

.process-grid article {
  min-height: 224px;
  padding: 24px;
}

.process-grid span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--yellow);
  font-weight: 950;
}

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

.outcome-grid article,
.workflow-grid article {
  min-height: 218px;
  padding: 24px;
}

.timeline-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.timeline div {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  min-height: 66px;
}

.timeline div:not(:last-child)::after {
  position: absolute;
  top: 28px;
  bottom: -2px;
  left: 8px;
  width: 2px;
  background: var(--line);
  content: "";
}

.timeline span {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border: 4px solid var(--yellow);
  border-radius: 50%;
  background: var(--navy);
}

.tool-orbit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 243, 251, 0.92)),
    var(--white);
  box-shadow: var(--shadow);
}

.tool-logo,
.tool-mark {
  display: grid;
  place-items: center;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.tool-logo {
  animation: floatBadge 5.6s ease-in-out infinite;
}

.tool-logo:nth-child(2),
.tool-logo:nth-child(4) {
  animation-delay: 700ms;
}

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

.tool-card {
  min-height: 254px;
  padding: 22px;
}

.tool-mark {
  min-height: 92px;
  margin-bottom: 18px;
}

.quickbooks {
  color: #15803d;
}

.xero {
  color: #168ebf;
  font-size: 2rem;
}

.dext {
  color: #f26b2f;
  font-size: 2rem;
}

.bill {
  color: #f26b2f;
  font-size: 2rem;
}

.bill span {
  color: #8b929d;
}

.workflow-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1fr);
  gap: 42px;
}

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

.contact-section {
  padding: 72px 0;
  background: var(--yellow);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.62fr);
  gap: 42px;
  align-items: center;
}

.contact-inner .eyebrow,
.contact-section .eyebrow {
  color: var(--navy);
}

.contact-inner h2 {
  margin-bottom: 0;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-link,
.contact-methods a {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(6, 22, 74, 0.18);
  border-radius: 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.68);
  font-weight: 850;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.contact-hero {
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 104px;
}

.contact-methods {
  display: grid;
  max-width: 420px;
  gap: 12px;
}

.booking-card {
  padding: 24px;
}

.form-heading {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.form-heading svg {
  width: 34px;
  height: 34px;
  color: var(--blue);
}

.form-heading h2 {
  margin-bottom: 4px;
  font-size: 1.45rem;
}

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

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

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 820;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfdced;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  padding: 10px 12px;
  outline: none;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 91, 232, 0.12);
}

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

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 700;
}

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

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 760;
}

.form-status.is-success {
  color: var(--teal);
}

.form-status.is-error {
  color: var(--red);
}

.site-footer {
  color: var(--white);
  background: var(--navy);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 86px;
  padding: 22px 0;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner a {
  font-weight: 850;
}

.booking-modal[hidden] {
  display: none;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 22, 74, 0.66);
  backdrop-filter: blur(12px);
}

.booking-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(88vh, 850px);
  overflow: auto;
  border: 1px solid rgba(220, 230, 242, 0.92);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  transform: translateY(16px) scale(0.98);
  animation: modalIn 220ms ease forwards;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-form-shell {
  padding: 28px;
}

.thank-you-shell {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(232, 243, 251, 0.95), rgba(255, 247, 223, 0.9)),
    var(--paper);
}

.thank-you-panel {
  width: min(760px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.thank-you-panel .brand-logo {
  margin-bottom: 28px;
}

.thank-you-panel h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 640ms ease,
    transform 640ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes modalIn {
  to {
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1080px) {
  .hero,
  .page-hero,
  .contact-hero,
  .split-section,
  .operations-inner,
  .contact-inner,
  .timeline-inner,
  .workflow-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .service-grid,
  .process-grid,
  .outcome-grid,
  .tool-grid,
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .detail-row .check-list {
    grid-column: 2;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 12px 20px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    display: none;
    width: min(330px, calc(100vw - 40px));
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    width: 100%;
  }

  .hero,
  .page-hero,
  .contact-hero {
    padding-top: 48px;
  }

  .support-inner {
    display: grid;
  }

  .support-items {
    justify-content: start;
  }

  .proof-strip,
  .comparison-grid,
  .operations-grid {
    grid-template-columns: 1fr;
  }

  .versus {
    position: static;
    margin: -8px auto;
    transform: none;
  }

  .service-grid,
  .process-grid,
  .outcome-grid,
  .tool-grid,
  .workflow-grid,
  .metric-grid,
  .tool-orbit,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .detail-row {
    grid-template-columns: 1fr;
  }

  .detail-row .check-list {
    grid-column: auto;
  }

  .contact-inner {
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .brand-logo {
    width: 168px;
    max-height: 48px;
  }

  .hero-actions,
  .section-cta {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .media-badge {
    position: static;
    max-width: none;
    margin-top: 10px;
  }

  .section-block,
  .comparison-section,
  .process-section,
  .workflow-section,
  .timeline-section {
    padding: 64px 0;
  }

  .cost-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .booking-modal {
    padding: 10px;
  }

  .modal-form-shell,
  .booking-card,
  .thank-you-panel {
    padding: 20px;
  }

  .footer-inner {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
