:root {
  --white: #ffffff;
  --paper: #f9fafb;
  --ink: #111827;
  --muted: #68707f;
  --line: #e4e7ec;
  --crimson: #991b1b;
  --crimson-dark: #7f1d1d;
  --header-height: 78px;
  --shell: min(1180px, calc(100% - 40px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--white);
  background: var(--crimson);
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--crimson);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  z-index: 120;
  inset: 0 0 auto;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-height);
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  color: var(--white);
  border-bottom: 1px solid rgb(255 255 255 / 18%);
  transition: height 350ms var(--ease), color 350ms ease, background 350ms ease,
    border-color 350ms ease, box-shadow 350ms ease;
}

.site-header.scrolled {
  height: 68px;
  color: var(--ink);
  background: rgb(255 255 255 / 90%);
  border-color: rgb(17 24 39 / 8%);
  box-shadow: 0 12px 36px rgb(17 24 39 / 5%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--crimson);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.brand-name {
  white-space: nowrap;
}

.brand-dot {
  color: #d52e2e;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 12px;
  font-weight: 500;
}

.desktop-nav a:not(.nav-cta) {
  position: relative;
  padding: 12px 0;
}

.desktop-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 20px;
  color: var(--white);
  background: var(--crimson);
  transition: background 200ms ease, transform 200ms ease;
}

.nav-cta:hover {
  background: var(--crimson-dark);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: width 250ms ease;
}

.menu-toggle span:last-child {
  width: 16px;
  margin-right: 11px;
}

.menu-toggle:hover span:last-child {
  width: 24px;
}

.drawer-backdrop {
  position: fixed;
  z-index: 130;
  inset: 0;
  visibility: hidden;
  background: rgb(17 24 39 / 52%);
  opacity: 0;
  transition: opacity 350ms ease, visibility 350ms;
}

.mobile-drawer {
  position: fixed;
  z-index: 140;
  top: calc(var(--header-height) + 10px);
  right: 16px;
  display: flex;
  flex-direction: column;
  width: min(420px, calc(100% - 32px));
  max-height: calc(100dvh - var(--header-height) - 26px);
  padding: 22px 24px 24px;
  overflow-y: auto;
  color: var(--white);
  visibility: hidden;
  background: rgb(17 24 39 / 96%);
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgb(0 0 0 / 34%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px) scale(0.98);
  transform-origin: top right;
  transition: transform 420ms var(--ease), opacity 280ms ease, visibility 420ms;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.menu-open .drawer-backdrop {
  visibility: visible;
  opacity: 1;
}

.menu-open .mobile-drawer {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
}

.drawer-label {
  color: #aeb4bf;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.drawer-close {
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid rgb(255 255 255 / 20%);
  cursor: pointer;
}

.drawer-close span {
  position: absolute;
  top: 20px;
  left: 10px;
  width: 20px;
  height: 1px;
  background: var(--white);
  transform: rotate(45deg);
}

.drawer-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  padding: 14px 0;
}

.mobile-drawer nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 12px 4px;
  border-bottom: 1px solid rgb(255 255 255 / 9%);
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.04em;
  transition: color 180ms ease, padding 280ms var(--ease);
}

.mobile-drawer nav a:last-child {
  border-bottom: 0;
}

.mobile-drawer nav a:hover,
.mobile-drawer nav a:focus-visible {
  padding-left: 12px;
  color: #ff8a8a;
}

.mobile-drawer nav span {
  color: #e45b5b;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.mobile-drawer > p {
  margin: 0;
  color: #9ca3af;
  font-size: 12px;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(0.7) contrast(1.08);
  animation: hero-scale 16s ease-out both;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgb(17 24 39 / 85%) 0%, rgb(17 24 39 / 63%) 46%, rgb(67 10 10 / 25%) 100%),
    linear-gradient(0deg, rgb(17 24 39 / 56%) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin: 42px auto 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--crimson);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero-eyebrow {
  color: #ff8a8a;
  opacity: 0;
  animation: rise-in 700ms 150ms var(--ease) forwards;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(48px, 7.2vw, 104px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.98;
  opacity: 0;
  animation: rise-in 900ms 280ms var(--ease) forwards;
}

.hero h1 span {
  color: #c93434;
}

.hero-copy {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgb(255 255 255 / 82%);
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.75;
  opacity: 0;
  animation: rise-in 800ms 450ms var(--ease) forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 36px;
  opacity: 0;
  animation: rise-in 800ms 600ms var(--ease) forwards;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 24px;
  border: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.button svg,
.back-to-top svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 250ms var(--ease);
}

.button-primary {
  color: var(--white);
  background: var(--crimson);
  box-shadow: 0 16px 34px rgb(127 29 29 / 30%);
}

.button-primary:hover {
  background: var(--crimson-dark);
  box-shadow: 0 20px 44px rgb(127 29 29 / 40%);
  transform: translateY(-3px);
}

.button:hover svg {
  transform: translateX(4px);
}

.text-link {
  position: relative;
  padding: 10px 0 7px;
  font-size: 12px;
  font-weight: 500;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform-origin: left;
  transition: transform 250ms var(--ease);
}

.text-link:hover::after {
  transform: scaleX(0.45);
}

.text-link-light {
  color: rgb(255 255 255 / 78%);
}

.hero-footer {
  position: absolute;
  z-index: 2;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 25px;
  left: max(20px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgb(255 255 255 / 50%);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 10px;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 34px;
  height: 1px;
  overflow: hidden;
  background: rgb(255 255 255 / 25%);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  background: var(--white);
  content: "";
  animation: scroll-line 2s ease-in-out infinite;
}

.section {
  padding: 120px 0;
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.section-heading,
.pricing-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: end;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.pricing-heading h2,
.services-intro h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.section-heading > p,
.pricing-heading > p {
  max-width: 460px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.expect {
  background: var(--white);
}

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

.expect-item {
  display: grid;
  grid-template-columns: 44px 50px 1fr;
  gap: 20px;
  min-height: 190px;
  align-items: start;
  padding: 40px 34px 36px 0;
  border-bottom: 1px solid var(--line);
}

.expect-item:nth-child(odd) {
  padding-right: 50px;
  border-right: 1px solid var(--line);
}

.expect-item:nth-child(even) {
  padding-left: 50px;
}

.item-number {
  color: var(--crimson);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.line-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--crimson);
  background: #fff5f5;
}

.line-icon svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.expect-item h3 {
  margin: -3px 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.expect-item p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

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

.services .section-shell {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 100px;
}

.eyebrow-light {
  color: #dc6565;
}

.services-intro {
  align-self: start;
  position: sticky;
  top: 120px;
}

.services-intro h2 em {
  color: #d24a4a;
  font-style: normal;
}

.services-intro > p:last-child {
  max-width: 380px;
  margin: 30px 0 0;
  color: #aeb4bf;
  font-size: 14px;
  line-height: 1.85;
}

.service-matrix {
  border-top: 1px solid rgb(255 255 255 / 16%);
}

.service-row {
  display: grid;
  grid-template-columns: 42px 1fr 1fr 32px;
  gap: 22px;
  align-items: center;
  min-height: 145px;
  border-bottom: 1px solid rgb(255 255 255 / 16%);
  transition: padding 350ms var(--ease), background 350ms ease;
}

.service-row > span {
  color: #dc6565;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.service-row h3 {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.service-row p {
  margin: 0;
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.75;
}

.service-row svg {
  width: 22px;
  fill: none;
  stroke: #8b929e;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
  transition: stroke 250ms ease, transform 350ms var(--ease);
}

.service-row:hover {
  padding: 0 16px;
  background: rgb(255 255 255 / 3%);
}

.service-row:hover svg {
  stroke: #dc6565;
  transform: translateX(5px);
}

.pricing {
  background: var(--paper);
}

.pricing-heading {
  border: 0;
}

.rates-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #dfe2e7;
  border-left: 1px solid #dfe2e7;
  background: var(--white);
}

.rate-row {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 30px;
  border-right: 1px solid #dfe2e7;
  border-bottom: 1px solid #dfe2e7;
  transition: color 280ms ease, background 280ms ease, padding 350ms var(--ease);
}

.rate-row:last-child {
  grid-column: 1 / -1;
}

.rate-row:hover {
  color: var(--white);
  background: var(--crimson);
  padding-right: 36px;
  padding-left: 36px;
}

.rate-row > div {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: baseline;
  min-width: 0;
}

.rate-row > div > span {
  grid-row: 1 / 3;
  color: var(--crimson);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: color 280ms ease;
}

.rate-row:hover > div > span {
  color: #ffb3b3;
}

.rate-row strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.rate-row div small {
  grid-column: 2;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  transition: color 280ms ease;
}

.rate-row:hover div small {
  color: rgb(255 255 255 / 65%);
}

.rate-row > p {
  display: flex;
  flex-shrink: 0;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: var(--crimson);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.05em;
  transition: color 280ms ease;
}

.rate-row > p small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 280ms ease;
}

.rate-row:hover > p,
.rate-row:hover > p small {
  color: var(--white);
}

.rate-row > .quote-rate {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 28px 30px;
  color: var(--white);
  background: var(--ink);
}

.pricing-meta p {
  margin: 0;
  color: #c1c6ce;
  font-size: 12px;
  font-style: italic;
}

.pricing-meta a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-meta a span {
  font-size: 18px;
  transition: transform 250ms var(--ease);
}

.pricing-meta a:hover span {
  transform: translateX(5px);
}

.policies {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  margin-top: 90px;
  overflow: hidden;
  color: var(--white);
  background: var(--crimson);
}

.policies-heading {
  padding: 48px 42px;
}

.policies-heading .eyebrow {
  color: #ffb3b3;
}

.policies-heading h3 {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
}

.policy-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-content: center;
  min-height: 118px;
  padding: 24px 28px;
  color: var(--ink);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.policy-item span {
  color: var(--crimson);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.policy-item p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.policy-item strong {
  color: var(--ink);
  font-weight: 600;
}

.payment-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px 30px;
  color: var(--white);
  background: var(--ink);
}

.payment-strip > span {
  color: #9ca3af;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.payment-strip > p {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
}

.payment-strip strong {
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
}

.payment-strip i {
  width: 1px;
  height: 24px;
  background: rgb(255 255 255 / 24%);
}

.payment-strip small {
  color: #aeb4bf;
  font-size: 9px;
  text-align: right;
}

.contact {
  color: var(--white);
  background:
    linear-gradient(115deg, rgb(17 24 39 / 99%), rgb(17 24 39 / 96%)),
    repeating-linear-gradient(90deg, transparent 0 79px, rgb(255 255 255 / 3%) 80px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(60px, 10vw, 140px);
  align-items: start;
}

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

.contact-copy > p:not(.eyebrow) {
  max-width: 420px;
  margin: 28px 0 0;
  color: #aeb4bf;
  font-size: 13px;
  line-height: 1.85;
}

.contact-promise {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 13px 12px;
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid rgb(255 255 255 / 14%);
}

.contact-promise span {
  color: #dc6565;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.contact-promise p {
  margin: 0;
  color: #c0c5cd;
  font-size: 11px;
}

.contact-form {
  display: grid;
  gap: 24px;
  padding: clamp(26px, 4vw, 50px);
  color: var(--ink);
  background: var(--white);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label {
  display: grid;
  gap: 9px;
}

.contact-form label > span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #e1e4e9;
  border-radius: 0;
  outline: 0;
  font-size: 12px;
  font-weight: 300;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form input,
.contact-form select {
  height: 52px;
  padding: 0 15px;
}

.contact-form textarea {
  min-height: 132px;
  padding: 14px 15px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: var(--white);
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgb(153 27 27 / 9%);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9da4af;
}

.form-submit {
  width: 100%;
  min-height: 58px;
  margin-top: 4px;
  color: var(--white);
  background: var(--crimson);
}

.form-submit:hover {
  background: var(--crimson-dark);
  box-shadow: 0 12px 26px rgb(127 29 29 / 22%);
  transform: translateY(-2px);
}

.form-submit:active {
  box-shadow: none;
  transform: translateY(1px);
}

.site-footer {
  padding: 50px max(20px, calc((100vw - 1180px) / 2)) 24px;
  color: var(--white);
  background: #090d15;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.footer-top nav {
  display: flex;
  gap: 30px;
  color: #9ca3af;
  font-size: 11px;
}

.footer-top nav a {
  transition: color 180ms ease;
}

.footer-top nav a:hover {
  color: var(--white);
}

.back-to-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: #c9cdd4;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.back-to-top:hover svg {
  transform: translateY(-4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  color: #6b7280;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 750ms var(--ease), transform 750ms var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-scale {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@keyframes scroll-line {
  0% { transform: translateX(-105%); }
  60%, 100% { transform: translateX(105%); }
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 40px, 720px);
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .section {
    padding: 92px 0;
  }

  .services .section-shell,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services .section-shell {
    gap: 58px;
  }

  .services-intro,
  .contact-copy {
    position: static;
  }

  .contact-grid {
    gap: 60px;
  }

  .rates-table {
    grid-template-columns: 1fr;
  }

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

  .policies-heading {
    padding: 42px;
  }

  .payment-strip {
    grid-column: auto;
  }

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

  .footer-top nav {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 70px;
    --shell: calc(100% - 32px);
  }

  .site-header {
    padding: 0 16px;
  }

  .brand {
    gap: 9px;
    font-size: 13px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
    font-size: 14px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-video {
    object-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgb(17 24 39 / 86%), rgb(17 24 39 / 60%)),
      linear-gradient(0deg, rgb(17 24 39 / 65%), transparent 55%);
  }

  .hero-content {
    margin-top: 20px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 68px);
    line-height: 1;
  }

  .hero-copy {
    max-width: 95%;
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
  }

  .button-primary {
    width: 100%;
  }

  .hero-footer > span:first-child {
    display: none;
  }

  .hero-footer {
    justify-content: flex-end;
    bottom: 18px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading,
  .pricing-heading {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-bottom: 44px;
  }

  .section-heading h2,
  .pricing-heading h2,
  .services-intro h2,
  .contact-copy h2 {
    font-size: clamp(39px, 12vw, 54px);
  }

  .section-heading > p,
  .pricing-heading > p {
    font-size: 13px;
  }

  .expect-list {
    grid-template-columns: 1fr;
  }

  .expect-item,
  .expect-item:nth-child(odd),
  .expect-item:nth-child(even) {
    grid-template-columns: 32px 42px 1fr;
    gap: 12px;
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
  }

  .line-icon {
    width: 38px;
    height: 38px;
  }

  .line-icon svg {
    width: 21px;
  }

  .expect-item h3 {
    font-size: 16px;
  }

  .service-row {
    grid-template-columns: 28px 1fr 22px;
    gap: 12px;
    min-height: 120px;
  }

  .service-row p {
    display: none;
  }

  .service-row:hover {
    padding: 0 8px;
  }

  .rate-row {
    min-height: 104px;
    padding: 22px 18px;
  }

  .rate-row:hover {
    padding-right: 22px;
    padding-left: 22px;
  }

  .rate-row > div {
    grid-template-columns: 24px 1fr;
  }

  .rate-row strong {
    font-size: 14px;
  }

  .rate-row > p {
    gap: 5px;
    font-size: 24px;
  }

  .rate-row > p small {
    font-size: 7px;
  }

  .rate-row > .quote-rate {
    max-width: 78px;
    font-size: 10px;
    line-height: 1.4;
    text-align: right;
  }

  .pricing-meta {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 20px;
  }

  .policies {
    margin-top: 68px;
  }

  .policies-heading {
    padding: 36px 26px;
  }

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

  .policy-item {
    min-height: 104px;
    padding: 22px 20px;
    border-right: 0;
  }

  .payment-strip {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 25px 20px;
  }

  .payment-strip small {
    text-align: left;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-form {
    gap: 24px;
  }

  .footer-top {
    gap: 18px;
  }

  .footer-brand .brand-name {
    display: none;
  }

  .footer-bottom {
    gap: 20px;
  }

  .footer-bottom p:last-child {
    text-align: right;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
