/* ==========================================================================
   Inner pages, forms, portal, checklist
   ========================================================================== */

/* Page hero */

.page-hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(2.75rem, 5vw, 4.5rem) clamp(2.5rem, 4vw, 3.75rem);
  background:
    radial-gradient(760px 420px at 92% 6%, rgba(255, 49, 49, 0.1), transparent 62%),
    radial-gradient(620px 380px at 4% 100%, rgba(255, 161, 120, 0.14), transparent 66%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(35, 34, 40, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 34, 40, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 92%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 1.3rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--red);
}

.breadcrumb .sep {
  color: var(--muted-2);
}

.page-hero h1 {
  max-width: 900px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.4vw, 4.35rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
  text-wrap: balance;
}

.page-hero h1 em {
  color: var(--red);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.page-hero .lead {
  max-width: 680px;
  margin-top: 1.15rem;
  color: var(--ink-3);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.page-hero .btn-row {
  margin-top: 1.5rem;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.page-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-hero-meta .icon {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.page-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.page-hero-copy {
  position: relative;
  z-index: 2;
}

/* Animated service map beside the services hero copy */

.service-map {
  --radius: clamp(120px, 12vw, 158px);
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  margin-inline: auto;
  isolation: isolate;
}

.service-map::before {
  content: "";
  position: absolute;
  inset: 8%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 38%, rgba(255, 49, 49, 0.16), transparent 58%),
    radial-gradient(circle at 68% 72%, rgba(28, 115, 87, 0.12), transparent 56%);
  filter: blur(18px);
}

.service-map-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  aspect-ratio: 1;
  border: 1px dashed rgba(201, 31, 38, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: service-map-orbit 42s linear infinite;
}

.service-map-orbit--inner {
  width: 62%;
  border-style: solid;
  border-color: rgba(28, 115, 87, 0.14);
  animation-duration: 30s;
  animation-direction: reverse;
}

.service-map-orbit i {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow:
    0 0 0 4px rgba(201, 31, 38, 0.1),
    0 0 18px rgba(201, 31, 38, 0.3);
  transform: translateX(-50%);
}

.service-map-orbit--inner i {
  background: var(--green);
  box-shadow:
    0 0 0 4px rgba(28, 115, 87, 0.1),
    0 0 18px rgba(28, 115, 87, 0.28);
}

.service-map-scan {
  position: absolute;
  top: -8%;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 31, 38, 0.14) 18%,
    rgba(201, 31, 38, 0.5) 50%,
    rgba(201, 31, 38, 0.14) 82%,
    transparent
  );
  box-shadow: 0 0 16px rgba(201, 31, 38, 0.16);
  animation: service-map-scan 7.8s ease-in-out 1.1s infinite;
}

.service-map-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: clamp(104px, 30%, 140px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 248, 242, 0.14);
  border-radius: 50%;
  background: #211f26;
  color: var(--cream);
  text-align: center;
  box-shadow:
    0 24px 54px rgba(35, 34, 40, 0.22),
    0 0 0 10px rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
}

.service-map-core::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(201, 31, 38, 0.16);
  border-radius: 50%;
  animation: service-map-core-pulse 4.5s ease-out infinite;
}

.service-map-seal {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 800;
  box-shadow: 0 0 0 4px rgba(255, 49, 49, 0.12);
}

.service-map-core strong {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-map-core > span:last-child {
  color: rgba(255, 248, 242, 0.5);
  font-size: 0.54rem;
  line-height: 1.2;
}

.service-map-chip {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  width: clamp(104px, 30%, 136px);
  padding: 7px 8px 7px 7px;
  border: 1px solid rgba(35, 34, 40, 0.1);
  border-radius: 14px;
  background: rgba(255, 253, 251, 0.94);
  box-shadow: 0 12px 28px rgba(35, 34, 40, 0.08);
  transform:
    translate(-50%, -50%)
    rotate(var(--angle))
    translate(var(--radius))
    rotate(calc(-1 * var(--angle)));
  animation: service-map-chip-pulse 10s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.service-map-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 8px;
  background: var(--red-soft);
  color: var(--red);
}

.service-map-icon .icon {
  width: 15px;
  height: 15px;
}

.service-map-copy {
  min-width: 0;
}

.service-map-copy strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.service-map-copy small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.46rem;
  line-height: 1.2;
}

@keyframes service-map-orbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes service-map-scan {
  0% {
    top: -8%;
    opacity: 0;
  }
  12%,
  82% {
    opacity: 1;
  }
  100% {
    top: 108%;
    opacity: 0;
  }
}

@keyframes service-map-core-pulse {
  0% {
    opacity: 0.45;
    transform: scale(0.92);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}

@keyframes service-map-chip-pulse {
  0%,
  20%,
  100% {
    border-color: rgba(35, 34, 40, 0.1);
    box-shadow: 0 12px 28px rgba(35, 34, 40, 0.08);
  }
  3%,
  15% {
    border-color: rgba(201, 31, 38, 0.3);
    box-shadow:
      0 16px 34px rgba(35, 34, 40, 0.1),
      0 0 0 4px rgba(201, 31, 38, 0.08);
  }
}

@media (max-width: 1000px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .service-map {
    --radius: 150px;
    width: min(100%, 440px);
    margin-top: 0.5rem;
  }
}

@media (max-width: 620px) {
  .page-hero-grid {
    gap: 1.2rem;
  }

  .service-map {
    --radius: clamp(96px, 29vw, 120px);
    width: min(100%, 360px);
  }

  .service-map-chip {
    width: clamp(84px, 27%, 108px);
    gap: 5px;
    padding: 6px;
    border-radius: 12px;
  }

  .service-map-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }

  .service-map-icon .icon {
    width: 13px;
    height: 13px;
  }

  .service-map-copy strong {
    font-size: 0.54rem;
  }

  .service-map-copy small {
    font-size: 0.44rem;
  }

  .service-map-core {
    width: 96px;
  }

  .service-map-seal {
    width: 27px;
    height: 27px;
    font-size: 0.58rem;
  }

  .service-map-core strong {
    font-size: 0.64rem;
  }

  .service-map-core > span:last-child {
    font-size: 0.48rem;
  }
}

/* Services listing */

.filter-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 25;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 248, 242, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-3);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.chip:hover {
  border-color: var(--line-strong);
  background: var(--white);
}

.chip[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.search-field {
  position: relative;
  min-width: 230px;
  flex: 1;
  max-width: 320px;
}

.search-field .icon {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 16px;
  height: 16px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.search-field input {
  width: 100%;
  min-height: 40px;
  padding: 0.45rem 0.8rem 0.45rem 2.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.8rem;
}

.search-field input::placeholder {
  color: var(--muted-2);
}

.results-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-top: 1.25rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.results-meta strong {
  color: var(--ink);
  font-weight: 600;
}

.service-group {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.service-group + .service-group {
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

.group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 0.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.group-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.group-head p {
  max-width: 620px;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.group-count {
  flex: none;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  white-space: nowrap;
}

.service-group.is-hidden {
  display: none;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 1.1rem;
}

.listing-card {
  scroll-margin-top: calc(var(--header-h) + 92px);
}

.listing-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.listing-card:hover {
  border-color: rgba(201, 31, 38, 0.28);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.listing-card.is-hidden {
  display: none;
}

.listing-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.category-tag--green {
  color: var(--green);
}

.category-tag--indigo {
  color: var(--indigo);
}

.category-tag--gold {
  color: var(--gold);
}

.category-tag--violet {
  color: var(--violet);
}

.listing-top .icon {
  width: 18px;
  height: 18px;
  color: var(--muted-2);
}

.listing-card h3 {
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.listing-card p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.listing-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 1.05rem;
}

.listing-price {
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.3;
}

.listing-price strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.empty-state {
  display: none;
  padding: 4rem 1rem;
  text-align: center;
}

.empty-state.is-visible {
  display: block;
}

.empty-state .icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 0.8rem;
  color: var(--muted-2);
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.empty-state p {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Pricing page */

.pricing-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 1.75rem;
}

.summary-box {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
}

.summary-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.summary-box span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.7rem;
}

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

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.price-table th {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.price-table th:last-child,
.price-table td:last-child {
  text-align: right;
}

.price-table td {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  vertical-align: middle;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table tbody tr:hover {
  background: #fffaf6;
}

.price-table .cat-row td {
  padding: 0.7rem 1.25rem;
  background: var(--cream-2);
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.price-table .cat-row span {
  float: right;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

.price-table .service-name {
  color: var(--ink);
}

.price-table .service-name:hover {
  color: var(--red);
}

.price-table .service-name {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
}

.price-table .service-note {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 400;
}

.price-table .amount {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

.price-table .amount span {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 500;
}

.price-table .row-link {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.price-table .row-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.price-table .row-link .icon {
  width: 13px;
  height: 13px;
}

.pricing-factors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 1.5rem;
}

.factor {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink-3);
  font-size: 0.8rem;
  line-height: 1.45;
}

.factor .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--red);
}

/* About */

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-quote {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(460px 260px at 100% 0%, rgba(255, 49, 49, 0.13), transparent 70%),
    var(--white);
  box-shadow: var(--shadow-sm);
}

.about-quote::before {
  content: "\201C";
  position: absolute;
  top: 0.2rem;
  left: 1.2rem;
  color: rgba(201, 31, 38, 0.18);
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
}

.about-quote blockquote {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.about-quote p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.about-logo-card {
  display: grid;
  place-items: center;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream-2);
}

.about-logo-card img {
  width: min(100%, 310px);
}

.about-logo-card span {
  margin-top: 1rem;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.stat-card {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

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

.value-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.value-card .service-icon {
  width: 42px;
  height: 42px;
}

.value-card h3 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.value-card p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.5rem;
}

.audience-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-3);
  font-size: 0.8rem;
}

.audience-tag .icon {
  width: 15px;
  height: 15px;
  color: var(--red);
}

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

.location-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.location-card p {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.location-card .icon {
  width: 18px;
  height: 18px;
  color: var(--red);
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 10px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.contact-card:hover {
  border-color: rgba(201, 31, 38, 0.28);
  transform: translateY(-1px);
}

.contact-card-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: var(--red-soft);
  color: var(--red);
}

.contact-card-icon--green {
  background: var(--green-soft);
  color: var(--green);
}

.contact-card-icon .icon {
  width: 18px;
  height: 18px;
}

.contact-card-body {
  min-width: 0;
}

.contact-card-body span {
  display: block;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card-body strong,
.contact-card-body a {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-card-body a:hover {
  color: var(--red);
}

.contact-card-body small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.contact-note {
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: var(--gold-soft);
  color: #72501a;
  font-size: 0.76rem;
  line-height: 1.55;
}

.contact-form-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.form-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.form-head p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 1.25rem;
}

.field {
  display: grid;
  gap: 6px;
}

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

.field label {
  color: var(--ink-3);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
}

.field label .req {
  color: var(--red);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.87rem;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

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

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23726d78' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.2rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 31, 38, 0.12);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--red);
  background: #fff8f7;
}

.field-error {
  min-height: 1em;
  color: var(--red);
  font-size: 0.68rem;
  line-height: 1.3;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.check-row input {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 1px;
  accent-color: var(--red);
}

.check-row a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 1rem;
}

.form-note {
  margin-top: 0.8rem;
  color: var(--muted-2);
  font-size: 0.68rem;
  line-height: 1.5;
}

.form-success {
  display: none;
  align-items: flex-start;
  gap: 10px;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(28, 115, 87, 0.2);
  border-radius: 12px;
  background: var(--green-soft);
  color: #145c45;
  font-size: 0.8rem;
  line-height: 1.5;
}

.form-success.is-visible {
  display: flex;
}

.form-success .icon {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  flex: none;
}

.map-card {
  margin-top: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.map-frame {
  position: relative;
  aspect-ratio: 16 / 7;
  min-height: 280px;
  background: var(--cream-2);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.map-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

.map-foot .icon {
  width: 15px;
  height: 15px;
  color: var(--red);
}

/* Resources */

.resource-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

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

.resource-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.resource-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.resource-card--accent {
  background:
    radial-gradient(460px 260px at 100% 0%, rgba(255, 49, 49, 0.2), transparent 70%),
    var(--ink);
  color: var(--cream);
}

.resource-card h2 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.resource-card p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.resource-card--accent p {
  color: rgba(255, 248, 242, 0.62);
}

.resource-card--accent .service-icon {
  background: rgba(255, 248, 242, 0.1);
  color: #ff9c97;
}

.resource-card .btn-row {
  margin-top: 1.3rem;
}

.resource-list {
  display: grid;
  gap: 7px;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.resource-card--accent .resource-list {
  border-color: rgba(255, 248, 242, 0.14);
}

.resource-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-3);
  font-size: 0.8rem;
  line-height: 1.5;
}

.resource-card--accent .resource-list li {
  color: rgba(255, 248, 242, 0.72);
}

.resource-list .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--green);
  flex: none;
}

.resource-card--accent .resource-list .icon {
  color: #75e3ba;
}

.gst-resource-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(460px 240px at 100% 0%, rgba(255, 49, 49, 0.13), transparent 70%),
    var(--cream-2);
  color: var(--ink);
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.gst-resource-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(35, 34, 40, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 34, 40, 0.025) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to right, #000, transparent 82%);
  -webkit-mask-image: linear-gradient(to right, #000, transparent 82%);
  pointer-events: none;
}

.gst-resource-banner:hover {
  border-color: rgba(201, 31, 38, 0.32);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.gst-resource-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 10px 22px rgba(35, 34, 40, 0.18);
}

.gst-resource-icon .icon {
  width: 22px;
  height: 22px;
}

.gst-resource-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.1rem;
  flex: 1;
  min-width: 0;
}

.gst-resource-copy .eyebrow {
  margin-bottom: 0.15rem;
  font-size: 0.56rem;
}

.gst-resource-copy strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.gst-resource-copy > span:last-child {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.gst-resource-action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  color: var(--red-deep);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.gst-resource-action .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}

.gst-resource-banner:hover .gst-resource-action .icon {
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .gst-resource-banner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.75rem;
    padding: 1rem;
  }

  .gst-resource-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .gst-resource-action {
    grid-column: 2;
    justify-self: start;
    margin-top: 0.15rem;
  }
}

@media (max-width: 420px) {
  .gst-context-link {
    align-items: flex-start;
  }

  .gst-context-link > .icon {
    margin-top: 10px;
  }
}

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

.step-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
}

.step-card h3 {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
}

.step-card p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* Client portal */

.portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.portal-aside h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.portal-aside h2 em {
  color: var(--red);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.portal-aside p {
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.portal-points {
  display: grid;
  gap: 10px;
  margin-top: 1.4rem;
}

.portal-points li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-3);
  font-size: 0.86rem;
  line-height: 1.5;
}

.portal-points .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--green);
  flex: none;
}

.portal-note {
  margin-top: 1.5rem;
  padding: 0.95rem 1rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: var(--gold-soft);
  color: #6f4c12;
  font-size: 0.76rem;
  line-height: 1.55;
}

.portal-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.portal-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.portal-card-head h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.portal-card-head p {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  white-space: nowrap;
}

.lock-badge .icon {
  width: 12px;
  height: 12px;
}

.auth-form {
  display: grid;
  gap: 12px;
  margin-top: 1.1rem;
}

.auth-form .btn {
  margin-top: 2px;
}

.auth-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

.auth-help a {
  color: var(--red);
  font-weight: 600;
}

.preview-banner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(155, 100, 21, 0.2);
  border-radius: 10px;
  background: var(--gold-soft);
  color: #6f4c12;
  font-size: 0.7rem;
  line-height: 1.5;
}

.preview-banner .icon {
  width: 15px;
  height: 15px;
  margin-top: 1px;
  flex: none;
}

.portal-upload[hidden] {
  display: none;
}

.dropzone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 6px;
  margin-top: 1.1rem;
  padding: 2rem 1rem;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--cream);
  text-align: center;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.dropzone.is-dragover {
  border-color: var(--red);
  background: var(--red-soft);
}

.dropzone .icon {
  width: 30px;
  height: 30px;
  color: var(--red);
}

.dropzone strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
}

.dropzone span {
  color: var(--muted);
  font-size: 0.72rem;
}

.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-list {
  display: grid;
  gap: 7px;
  margin-top: 1rem;
}

.file-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
}

.file-row .file-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 8px;
  background: var(--cream-2);
  color: var(--red);
}

.file-row .file-icon .icon {
  width: 15px;
  height: 15px;
}

.file-meta {
  min-width: 0;
  flex: 1;
}

.file-meta strong {
  display: block;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.66rem;
}

.file-remove {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
}

.file-remove:hover {
  background: var(--red-soft);
  color: var(--red);
}

.file-remove .icon {
  width: 14px;
  height: 14px;
}

.upload-error {
  display: none;
  margin-top: 0.6rem;
  color: var(--red);
  font-size: 0.7rem;
  line-height: 1.4;
}

.upload-error.is-visible {
  display: block;
}

.portal-submit {
  margin-top: 1rem;
}

.portal-status {
  display: none;
  align-items: flex-start;
  gap: 9px;
  margin-top: 0.9rem;
  padding: 0.85rem 0.95rem;
  border-radius: 11px;
  background: var(--green-soft);
  color: #145c45;
  font-size: 0.76rem;
  line-height: 1.5;
}

.portal-status.is-visible {
  display: flex;
}

.portal-status .icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex: none;
}

.portal-bottom-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 1rem;
  color: var(--muted-2);
  font-size: 0.68rem;
  line-height: 1.5;
}

.portal-bottom-note .icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  flex: none;
}

/* Checklist sheet */

.checklist-page {
  padding-block: clamp(2rem, 5vw, 3.5rem);
  background: var(--cream-2);
}

/* Guided ITR checklist */

#itr-builder,
#checklist-progress,
#checklist-sheet {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.itr-builder {
  position: relative;
  max-width: 860px;
  margin: 0 auto 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 31, 38, 0.08), transparent 34%),
    linear-gradient(180deg, var(--white) 0%, #fffaf6 100%);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.itr-builder-head {
  max-width: 640px;
}

.itr-builder .eyebrow {
  margin-bottom: 0.55rem;
}

.itr-builder h1 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.itr-builder-head > p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.itr-builder-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 0.85rem;
}

.itr-builder-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.4rem;
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.itr-question {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.itr-question:nth-of-type(3) {
  grid-column: 1 / -1;
}

.itr-question legend {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.itr-question legend > span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 800;
}

.itr-question-hint {
  margin-top: 0.3rem;
  color: var(--muted-2);
  font-size: 0.68rem;
  line-height: 1.45;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 0.7rem;
}

.choice-chip {
  position: relative;
  display: inline-flex;
}

.choice-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.choice-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.4rem 0.78rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-3);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.choice-chip span:hover {
  border-color: rgba(201, 31, 38, 0.45);
  color: var(--red);
}

.choice-chip input:checked + span {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
  box-shadow: 0 7px 16px rgba(201, 31, 38, 0.2);
}

.choice-chip input:focus-visible + span {
  outline: 3px solid rgba(201, 31, 38, 0.28);
  outline-offset: 2px;
}

.choice-chip input:active + span {
  transform: scale(0.98);
}

.itr-builder-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  grid-column: 1 / -1;
  margin-top: 0.1rem;
}

.itr-builder-actions .text-link {
  font-size: 0.78rem;
}

.itr-builder-status {
  grid-column: 1 / -1;
  padding: 0.72rem 0.9rem;
  border-left: 3px solid var(--red);
  border-radius: 0 10px 10px 0;
  background: var(--cream);
  color: var(--ink-3);
  font-size: 0.76rem;
  line-height: 1.55;
}

.itr-builder-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  grid-column: 1 / -1;
  color: var(--muted-2);
  font-size: 0.68rem;
  line-height: 1.5;
}

.itr-builder-note .icon {
  width: 15px;
  height: 15px;
  margin-top: 1px;
  flex: none;
  color: var(--green);
}

.checklist-progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem 1.5rem;
  max-width: 860px;
  margin: 0 auto 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-md);
}

.checklist-progress:focus {
  outline: none;
}

.checklist-progress-copy {
  flex: 1 1 330px;
  min-width: 0;
}

.checklist-progress .eyebrow {
  margin-bottom: 0.35rem;
  color: #ff9c97;
  font-size: 0.62rem;
}

.checklist-progress-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
}

.checklist-progress-head strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.checklist-progress-head span {
  color: rgba(255, 248, 242, 0.64);
  font-size: 0.72rem;
}

.checklist-progress-track {
  height: 8px;
  margin-top: 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.checklist-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red-bright), #ff8a7f);
  transition: width 0.35s var(--ease);
}

.checklist-progress-note {
  margin-top: 0.5rem;
  color: rgba(255, 248, 242, 0.6);
  font-size: 0.68rem;
  line-height: 1.5;
}

.checklist-progress-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.9rem;
}

.checklist-progress-actions .btn--outline {
  --btn-fg: var(--cream);
  --btn-border: rgba(255, 248, 242, 0.28);
}

.checklist-progress-actions .btn--outline:hover {
  --btn-bg: var(--cream);
  --btn-fg: var(--ink);
  --btn-border: var(--cream);
}

.checklist-progress-actions .text-link {
  color: #ff9c97;
  font-size: 0.72rem;
}

@media (max-width: 820px) {
  .itr-builder-form {
    grid-template-columns: 1fr;
  }

  .itr-question:nth-of-type(3) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .itr-builder {
    padding: 1.15rem;
    border-radius: var(--radius);
  }

  .itr-builder-actions .btn,
  .itr-builder-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .checklist-progress {
    padding: 1rem;
    border-radius: var(--radius);
  }

  .checklist-progress-actions {
    width: 100%;
  }

  .checklist-progress-actions .btn,
  .checklist-progress-actions .text-link {
    width: 100%;
    justify-content: center;
  }
}

.checklist-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto 1.25rem;
}

.checklist-toolbar p {
  color: var(--muted);
  font-size: 0.8rem;
}

.checklist-sheet {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.checklist-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--ink);
}

.checklist-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checklist-brand img {
  height: 42px;
  width: auto;
}

.checklist-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.checklist-brand span {
  display: block;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.checklist-title {
  text-align: right;
}

.checklist-title h1,
.checklist-title h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.checklist-title p {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.checklist-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.checklist-meta div {
  display: grid;
  gap: 7px;
}

.checklist-meta span {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.checklist-meta i {
  display: block;
  height: 1px;
  border-bottom: 1px solid var(--line-strong);
  font-style: normal;
}

.checklist-intro {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--red);
  border-radius: 0 10px 10px 0;
  background: var(--cream);
  color: var(--ink-3);
  font-size: 0.8rem;
  line-height: 1.6;
}

.checklist-section {
  margin-top: 1.5rem;
  break-inside: avoid;
}

.checklist-section h2,
.checklist-section h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.checklist-section h2 span,
.checklist-section h3 span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 800;
}

.checklist-items {
  display: grid;
  gap: 0;
  margin-top: 0.35rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1.5;
}

.checklist-item:hover {
  background: #fffaf6;
}

.checklist-item input {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--red);
}

.checklist-item span {
  flex: 1;
}

.checklist-item small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.68rem;
}

.checklist-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.55;
}

.checklist-foot strong {
  color: var(--ink);
}

/* Legal pages */

.prose {
  max-width: 800px;
}

.prose h2 {
  margin-top: 2.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.prose p,
.prose li {
  color: var(--ink-3);
  font-size: 0.92rem;
  line-height: 1.75;
}

.prose p {
  margin-top: 0.8rem;
}

.prose ul {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.8rem;
  padding-left: 1.2rem;
  list-style: disc;
}

.prose a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-note {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: var(--gold-soft);
  color: #6f4c12;
  font-size: 0.82rem;
  line-height: 1.6;
}

.legal-meta {
  margin-top: 0.75rem;
  color: var(--muted-2);
  font-size: 0.76rem;
}

/* 404 */

.error-page {
  display: grid;
  place-items: center;
  min-height: 60vh;
  padding-block: 4rem;
  text-align: center;
}

.error-code {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: clamp(5rem, 16vw, 10rem);
  font-style: italic;
  line-height: 0.9;
}

.error-page h1 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.error-page p {
  max-width: 480px;
  margin-top: 0.7rem;
  color: var(--muted);
}

.error-page .btn-row {
  justify-content: center;
  margin-top: 1.4rem;
}

/* Toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 32px);
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-lg);
  font-size: 0.8rem;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition:
    opacity 0.25s var(--ease),
    visibility 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast .icon {
  width: 16px;
  height: 16px;
  color: #75e3ba;
}

@media (max-width: 1000px) {
  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .popular-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

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

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .portal-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .filter-bar {
    position: static;
  }

  .search-field {
    max-width: none;
    flex-basis: 100%;
  }

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

  .value-cards {
    grid-template-columns: 1fr;
  }

  .pricing-factors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-cards {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .listing-grid {
    grid-template-columns: 1fr;
  }

  .map-frame {
    aspect-ratio: auto;
    height: 280px;
    min-height: 0;
  }

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

  .form-actions .btn {
    width: 100%;
  }

  .checklist-head {
    flex-direction: column;
  }

  .checklist-title {
    text-align: left;
  }

  .checklist-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checklist-meta div:last-child {
    grid-column: 1 / -1;
  }

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

  .location-card .btn {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .stat-grid,
  .pricing-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-factors {
    grid-template-columns: 1fr;
  }

  .price-table {
    min-width: 0;
  }

  .price-table thead {
    display: none;
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table tr {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }

  .price-table td {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.9rem;
    padding: 0.3rem 1rem;
    border: 0;
    text-align: left;
  }

  .price-table td::before {
    flex: 0 0 96px;
    content: attr(data-label);
    color: var(--muted);
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: left;
    text-transform: uppercase;
  }

  .price-table td:first-child {
    display: block;
    padding-bottom: 0.45rem;
    text-align: left;
  }

  .price-table td:first-child::before {
    display: none;
  }

  .price-table .cat-row {
    padding: 0;
    border-bottom: 0;
  }

  .price-table .cat-row td {
    display: block;
    padding: 0.7rem 1rem;
    text-align: left;
  }

  .price-table .cat-row td::before {
    display: none;
  }

  .price-table .cat-row td:last-child {
    display: block;
  }

  .price-table td:last-child {
    display: none;
  }
}

/* Print: checklist + any page */

@media print {
  @page {
    size: A4;
    margin: 14mm;
  }

  body {
    background: #fff !important;
    color: #111 !important;
    font-size: 11pt;
  }

  .announce,
  .site-header,
  .mobile-menu,
  .footer,
  .wa-float,
  .no-print,
  .toast {
    display: none !important;
  }

  .checklist-page {
    padding: 0;
    background: #fff;
  }

  .checklist-sheet {
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .checklist-section {
    break-inside: auto;
  }

  .checklist-section h2,
  .checklist-section h3 {
    break-after: avoid;
  }

  .checklist-item {
    padding-block: 0.45rem;
    break-inside: avoid;
  }

  .checklist-foot {
    margin-top: 1rem;
    padding-top: 0.75rem;
    break-inside: avoid;
  }

  .checklist-intro {
    background: #f7f7f7 !important;
  }

  a[href]::after {
    content: "";
  }
}

/* ==========================================================================
   Enquiry form refinements
   ========================================================================== */

.enquiry-section {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.contact-form-card {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.form-head h2:focus {
  outline: none;
}

.selected-service {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(28, 115, 87, 0.2);
  border-radius: 13px;
  background: var(--green-soft);
  color: #145c45;
}

.selected-service[hidden] {
  display: none;
}

.selected-service-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: none;
  border-radius: 9px;
  background: var(--white);
  color: var(--green);
}

.selected-service-icon .icon {
  width: 17px;
  height: 17px;
}

.selected-service-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1.25;
}

.selected-service-copy > span {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.78;
}

.selected-service-copy strong {
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
}

.selected-service-change {
  margin-left: auto;
  padding: 0.3rem 0.2rem;
  border: 0;
  background: transparent;
  color: var(--red-deep);
  font-family: var(--font-display);
  font-size: 0.71rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.selected-service-change:hover {
  color: var(--red);
}

.field-hint {
  color: var(--muted-2);
  font-size: 0.66rem;
  line-height: 1.4;
}

.select-shell {
  position: relative;
}

.select-shell select {
  min-height: 52px;
  padding: 0.8rem 3.15rem 0.8rem 0.95rem;
  border-color: var(--line-strong);
  border-radius: 14px;
  background: var(--white);
  background-image: none;
  box-shadow: var(--shadow-xs);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
}

.select-shell:hover select {
  border-color: rgba(201, 31, 38, 0.38);
}

.select-shell select:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 31, 38, 0.1);
}

.select-chevron {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--cream);
  color: var(--ink-3);
  pointer-events: none;
  transform: translateY(-50%);
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.select-chevron .icon {
  width: 16px;
  height: 16px;
}

.select-shell:focus-within .select-chevron {
  background: var(--red-soft);
  color: var(--red);
  transform: translateY(-50%) rotate(180deg);
}

.field.has-error .select-shell select {
  border-color: var(--red);
  background: #fff8f7;
}

.check-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 0.35rem;
  color: var(--ink-3);
  font-size: 0.76rem;
  line-height: 1.55;
}

.check-row input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 1px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--red);
}

.check-row-text {
  display: block;
  padding-top: 1px;
}

.check-row-text a {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-field .field-error {
  padding-left: 28px;
}

.field.has-error .check-row input {
  border: 0;
  background: transparent;
  outline: 2px solid rgba(201, 31, 38, 0.32);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==========================================================================
   Content review dates and service guide links
   ========================================================================== */

.content-review {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.4;
}

.content-review .icon {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--green);
}

.faq-aside .content-review {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.listing-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 0.65rem;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.71rem;
  font-weight: 700;
  line-height: 1.3;
}

.listing-guide-link .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}

.listing-guide-link:hover .icon {
  transform: translateX(3px);
}

/* ==========================================================================
   Service guide pages
   ========================================================================== */

.guide-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  box-shadow: var(--shadow-sm);
}

.guide-fact {
  min-width: 0;
  padding: 1.15rem 1.25rem;
  background: var(--white);
}

.guide-fact > span {
  display: block;
  color: var(--muted-2);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-fact strong {
  display: block;
  margin-top: 0.38rem;
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.guide-fact small {
  display: block;
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.4;
}

.gst-context-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 227, 216, 0.45), transparent 62%),
    var(--white);
  color: var(--ink);
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.gst-context-link:hover {
  border-color: rgba(201, 31, 38, 0.3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.gst-context-link-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: var(--red-soft);
  color: var(--red-deep);
}

.gst-context-link-icon .icon {
  width: 18px;
  height: 18px;
}

.gst-context-link-copy {
  flex: 1;
  min-width: 0;
}

.gst-context-link-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.gst-context-link-copy span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.gst-context-link > .icon {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--red);
  transition: transform 0.2s var(--ease);
}

.gst-context-link:hover > .icon {
  transform: translateX(3px);
}

.guide-section {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.guide-section + .guide-section {
  margin-top: clamp(2.4rem, 4.6vw, 3.8rem);
  padding-top: clamp(2.4rem, 4.6vw, 3.8rem);
  border-top: 1px solid var(--line);
}

.guide-section h2 {
  max-width: 820px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-wrap: balance;
}

.guide-section h2 em {
  color: var(--red);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.guide-section > p {
  max-width: 72ch;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.72;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.6rem;
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
}

.guide-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-3);
  font-size: 0.84rem;
  line-height: 1.55;
}

.guide-list li::before {
  content: "";
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}

.guide-list--compact {
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 1.3rem;
}

.document-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.document-item > .icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
  color: var(--green);
}

.document-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.document-item span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin-top: 1.3rem;
}

.process-step {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.process-step > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 26px;
  padding-inline: 8px;
  border-radius: 8px;
  background: var(--red-soft);
  color: var(--red-deep);
  font-family: var(--font-display);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.process-step h3 {
  margin-top: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.process-step p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.guide-timeline {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
  margin-top: 1.3rem;
}

.guide-timeline h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.guide-timeline-note {
  padding: 1.2rem;
  border: 1px solid rgba(155, 100, 21, 0.2);
  border-radius: var(--radius);
  background: var(--gold-soft);
  color: #5f410d;
}

.guide-timeline-note > span {
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}

.guide-timeline-note strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.55;
}

.guide-timeline-note p {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(155, 100, 21, 0.18);
  font-size: 0.7rem;
  line-height: 1.5;
  opacity: 0.86;
}

.mistake-list {
  display: grid;
  gap: 8px;
  margin-top: 1.25rem;
}

.mistake-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.78rem 0.9rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 11px 11px 0;
  background: var(--gold-soft);
  color: #62430f;
  font-size: 0.82rem;
  line-height: 1.5;
}

.mistake-item .icon {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 1px;
}

.guide-faqs {
  max-width: 900px;
  margin-top: 1.25rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 1.35rem;
}

.related-card {
  display: flex;
  flex-direction: column;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.related-card:hover {
  border-color: rgba(201, 31, 38, 0.3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.related-tag {
  color: var(--red);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.related-card h3 {
  margin-top: 0.45rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.related-card p {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.related-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-family: var(--font-display);
  font-size: 0.71rem;
  font-weight: 700;
}

.related-link .icon {
  width: 14px;
  height: 14px;
  color: var(--red);
  transition: transform 0.2s var(--ease);
}

.related-card:hover .related-link .icon {
  transform: translateX(3px);
}

/* ==========================================================================
   Pricing inclusions
   ========================================================================== */

.inclusion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 1.5rem;
}

.inclusion-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.inclusion-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inclusion-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--red-deep);
}

.inclusion-icon--green {
  background: var(--green-soft);
  color: var(--green);
}

.inclusion-icon--indigo {
  background: var(--indigo-soft);
  color: var(--indigo);
}

.inclusion-icon--gold {
  background: var(--gold-soft);
  color: var(--gold);
}

.inclusion-icon--violet {
  background: var(--violet-soft);
  color: var(--violet);
}

.inclusion-icon .icon {
  width: 18px;
  height: 18px;
}

.inclusion-head > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.inclusion-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.inclusion-from {
  color: var(--muted-2);
  font-size: 0.64rem;
}

.inclusion-card h3 {
  margin-top: 0.8rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.inclusion-block {
  margin-top: 1rem;
}

.inclusion-block h4 {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.inclusion-block--excluded h4 {
  color: var(--muted);
}

.inclusion-block ul {
  display: grid;
  gap: 5px;
  margin-top: 0.45rem;
  padding: 0;
  list-style: none;
}

.inclusion-block li {
  position: relative;
  padding-left: 15px;
  color: var(--ink-3);
  font-size: 0.76rem;
  line-height: 1.45;
}

.inclusion-block li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.inclusion-block--excluded li::before {
  background: var(--muted-2);
}

.inclusion-callout {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 1.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(155, 100, 21, 0.2);
  border-radius: 12px;
  background: var(--gold-soft);
  color: #62430f;
  font-size: 0.76rem;
  line-height: 1.55;
}

.inclusion-callout .icon {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 1px;
}

/* ==========================================================================
   Resource checklist cards
   ========================================================================== */

#checklists {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 1.5rem;
}

.checklist-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.checklist-card:hover {
  border-color: rgba(201, 31, 38, 0.26);
  box-shadow: var(--shadow-sm);
}

.checklist-card-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 0.7rem;
  border-radius: 11px;
  background: var(--red-soft);
  color: var(--red-deep);
}

.checklist-card-icon--indigo {
  background: var(--indigo-soft);
  color: var(--indigo);
}

.checklist-card-icon--green {
  background: var(--green-soft);
  color: var(--green);
}

.checklist-card-icon--gold {
  background: var(--gold-soft);
  color: var(--gold);
}

.checklist-card-icon .icon {
  width: 19px;
  height: 19px;
}

.checklist-card .badge {
  align-self: flex-start;
}

.checklist-card h3 {
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.checklist-card p {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.55;
}

.checklist-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: auto;
  padding-top: 1.1rem;
}

.checklist-card-actions .text-link {
  font-size: 0.72rem;
}

/* ==========================================================================
   Responsive additions
   ========================================================================== */

@media (max-width: 1000px) {
  .guide-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .guide-timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .inclusion-grid,
  .checklist-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .guide-facts {
    grid-template-columns: 1fr;
  }

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

  .process-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .selected-service {
    flex-wrap: wrap;
  }

  .selected-service-change {
    margin-left: 41px;
  }

  .check-row {
    font-size: 0.74rem;
  }
}

@media (max-width: 520px) {
  .guide-fact {
    padding: 1rem 1.05rem;
  }

  .guide-section h2 {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .inclusion-card,
  .checklist-card {
    padding: 1.1rem;
  }

  .checklist-card-actions .btn,
  .checklist-card-actions .text-link {
    width: 100%;
    justify-content: center;
  }
}

/* Send documents page — slightly larger checklist type for on-screen reading */
@media screen {
  .send-checklist .checklist-item {
    font-size: 0.86rem;
    line-height: 1.55;
    padding: 0.6rem 0;
  }

  .send-checklist .checklist-item small {
    font-size: 0.74rem;
    line-height: 1.5;
  }
}

/* ==========================================================================
   Checklist confirmation dialog
   ========================================================================== */

body.dialog-open {
  overflow: hidden;
}

.confirm-dialog {
  width: min(92vw, 440px);
  max-width: 440px;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.confirm-dialog::backdrop {
  background: rgba(18, 16, 20, 0.52);
  backdrop-filter: blur(7px);
  animation: confirm-backdrop-in 0.24s var(--ease) both;
}

.confirm-dialog-inner {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 31, 38, 0.09), transparent 46%),
    var(--white);
  box-shadow:
    0 30px 80px rgba(18, 16, 20, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
  animation: confirm-dialog-in 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.confirm-dialog-inner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff9c97, var(--red));
}

.confirm-dialog-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--red-soft);
  color: var(--red);
  box-shadow: 0 8px 20px rgba(201, 31, 38, 0.14);
}

.confirm-dialog-icon .icon {
  width: 24px;
  height: 24px;
}

.confirm-dialog-eyebrow {
  display: block;
  margin-top: 1rem;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.confirm-dialog h2 {
  margin-top: 0.3rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.confirm-dialog p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.confirm-dialog-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-top: 0.9rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink-3);
  font-size: 0.72rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.confirm-dialog-summary::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}

.confirm-dialog-summary[hidden] {
  display: none;
}

.confirm-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.confirm-dialog-actions .btn {
  min-height: 42px;
  font-size: 0.82rem;
}

.btn--danger {
  --btn-bg: var(--red);
  --btn-fg: var(--white);
  --btn-border: var(--red);
  box-shadow: 0 8px 18px rgba(201, 31, 38, 0.22);
}

.btn--danger:hover {
  --btn-bg: var(--red-deep);
  --btn-border: var(--red-deep);
}

.btn--danger .icon {
  width: 15px;
  height: 15px;
}

.btn--whatsapp {
  --btn-bg: var(--green);
  --btn-fg: var(--white);
  --btn-border: var(--green);
  box-shadow: 0 8px 18px rgba(28, 115, 87, 0.22);
}

.btn--whatsapp:hover {
  --btn-bg: #155c45;
  --btn-border: #155c45;
}

.btn--whatsapp .icon {
  width: 15px;
  height: 15px;
}

.confirm-dialog-icon--green {
  background: var(--green-soft);
  color: var(--green);
  box-shadow: 0 8px 20px rgba(28, 115, 87, 0.14);
}

.confirm-dialog-eyebrow--green {
  color: var(--green);
}

.confirm-dialog-summary--green::before {
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

@keyframes confirm-dialog-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes confirm-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .confirm-dialog-inner {
    padding: 1.35rem 1.15rem 1.15rem;
    border-radius: 20px;
  }

  .confirm-dialog-actions {
    flex-direction: column-reverse;
  }

  .confirm-dialog-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .confirm-dialog-inner,
  .confirm-dialog::backdrop {
    animation: none;
  }

  .service-map-orbit,
  .service-map-scan,
  .service-map-core::before,
  .service-map-chip {
    animation: none !important;
  }

  .service-map-scan {
    display: none;
  }
}

/* ==========================================================================
   Phase 1 motion: services chooser, filters and pricing
   ========================================================================== */

/* Services — chooser as a paper route */
.chooser {
  position: relative;
}

.chooser-progress span.is-active {
  box-shadow: 0 0 0 3px rgba(255, 49, 49, 0.08);
}

.chooser-step.is-entering {
  animation: chooser-step-in 0.42s var(--ease-out) both;
}

.chooser-step.is-leaving {
  animation: chooser-step-out 0.16s var(--ease) both;
}

.chooser-result.is-entering {
  animation: chooser-result-in 0.48s var(--ease-out) both;
}

.chooser-result.is-leaving {
  animation: chooser-step-out 0.16s var(--ease) both;
}

.chooser-result-context {
  position: relative;
  padding-bottom: 0.55rem;
}

.chooser-result-context::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 156, 151, 0.72), transparent);
  transform: scaleX(0);
  transform-origin: left;
}

.chooser-result.is-entering .chooser-result-context::after {
  animation: chooser-rule-in 0.55s var(--ease-out) 0.12s both;
}

.result-service--primary {
  border-color: rgba(255, 156, 151, 0.46);
  background: rgba(255, 49, 49, 0.11);
}

.result-service-badge {
  justify-self: start;
  margin-top: 3px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 156, 151, 0.14);
  color: #ffb4ae;
  font-family: var(--font-display);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.chooser-result.is-entering .result-service {
  animation: result-service-in 0.42s var(--ease-out) both;
  animation-delay: calc(80ms + var(--result-index, 0) * 70ms);
}

@keyframes chooser-step-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes chooser-step-out {
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes chooser-result-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes chooser-rule-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes result-service-in {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Services — filter and listing feedback */
.chip[aria-pressed="true"] {
  box-shadow: 0 8px 18px rgba(35, 34, 40, 0.12);
}

.chip:active {
  transform: translateY(1px);
}

.search-field input {
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.search-field input:focus {
  outline: none;
  border-color: rgba(201, 31, 38, 0.4);
  box-shadow: 0 0 0 3px rgba(201, 31, 38, 0.08);
}

.group-head {
  position: relative;
}

.service-group.is-filter-enter .group-head::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  animation: filter-rule-in 0.6s var(--ease-out) both;
}

.listing-card {
  position: relative;
}

.listing-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 1.25rem;
  left: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), rgba(201, 31, 38, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
  pointer-events: none;
}

.listing-card:hover::before,
.listing-card:focus-within::before {
  transform: scaleX(1);
}

.listing-top .icon {
  transition:
    color 0.2s var(--ease),
    transform 0.3s var(--ease-out);
}

.listing-card:hover .listing-top .icon,
.listing-card:focus-within .listing-top .icon {
  color: var(--red);
  transform: translateY(-1px) rotate(-5deg);
}

.listing-price strong {
  transition: color 0.2s var(--ease);
}

.listing-card:hover .listing-price strong,
.listing-card:focus-within .listing-price strong {
  color: var(--red);
}

.listing-foot {
  border-top: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}

.listing-card:hover .listing-foot,
.listing-card:focus-within .listing-foot {
  border-color: var(--line);
}

.listing-card.is-filter-enter {
  animation: filter-card-in 0.42s var(--ease-out) backwards;
  animation-delay: calc(var(--filter-index, 0) * 18ms);
}

.service-group.is-filter-enter {
  animation: filter-group-in 0.4s var(--ease-out) backwards;
}

.empty-state.is-visible {
  animation: empty-state-in 0.38s var(--ease-out) both;
}

.empty-state.is-visible .icon {
  animation: empty-search-in 0.75s var(--ease-out) both;
}

@keyframes filter-card-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes filter-group-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes filter-rule-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes empty-state-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes empty-search-in {
  from {
    transform: rotate(-12deg) scale(0.88);
  }
  to {
    transform: none;
  }
}

/* Pricing — price tags, scope marks and table feedback */
#all-prices,
#inclusions {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.popular-grid .price-card {
  position: relative;
}

.popular-grid .price-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 1.5rem;
  left: 1.5rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), rgba(201, 31, 38, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
  pointer-events: none;
}

.popular-grid .price-card:hover::before,
.popular-grid .price-card:focus-within::before {
  transform: scaleX(1);
}

.popular-grid .price-card .price-tag {
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease);
}

.popular-grid .price-card:hover .price-tag {
  transform: translateY(-2px) rotate(-1.5deg);
  box-shadow: 0 8px 18px rgba(35, 34, 40, 0.08);
}

.popular-grid .price-card--feature:hover .price-tag {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.popular-grid .price-line .amount {
  display: inline-block;
}

html.js .popular-grid .price-card.is-visible {
  transition:
    opacity 0.3s var(--ease) var(--delay, 0ms),
    transform 0.3s var(--ease) var(--delay, 0ms),
    box-shadow 0.3s var(--ease);
}

html.js .popular-grid .price-card.is-visible:hover,
html.js .popular-grid .price-card.is-visible:focus-within {
  transition-delay: 0ms;
}

html.js .popular-grid .price-card.is-visible .price-tag {
  animation: price-tag-in 0.55s var(--ease-out) backwards;
}

html.js .popular-grid .price-card.is-visible .price-line .amount {
  animation: price-settle-in 0.7s var(--ease-out) backwards;
}

html.js .popular-grid .price-card.is-visible .price-features .icon {
  animation: price-check-in 0.45s var(--ease-out) backwards;
}

html.js .popular-grid .price-card.is-visible .price-features li:nth-child(2) .icon {
  animation-delay: 60ms;
}

html.js .popular-grid .price-card.is-visible .price-features li:nth-child(3) .icon {
  animation-delay: 120ms;
}

.price-table tbody tr {
  transition:
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.price-table tbody tr:hover,
.price-table tbody tr:focus-within {
  background: #fffaf6;
  box-shadow: inset 3px 0 0 var(--red);
}

.price-table .service-name {
  background-image: linear-gradient(var(--red), var(--red));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition:
    color 0.2s var(--ease),
    background-size 0.25s var(--ease);
}

.price-table .service-name:hover,
.price-table .service-name:focus-visible {
  background-size: 100% 1px;
}

.price-table .row-link {
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    transform 0.2s var(--ease-out);
}

.price-table tbody tr:hover .row-link,
.price-table tbody tr:focus-within .row-link {
  transform: translateX(2px);
}

@keyframes price-tag-in {
  from {
    opacity: 0;
    transform: translateY(-4px) rotate(-4deg) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes price-settle-in {
  from {
    opacity: 0.55;
    transform: translateY(8px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes price-check-in {
  from {
    opacity: 0;
    transform: scale(0.55);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Pricing — inclusions read as a checked sheet */
.inclusion-card {
  position: relative;
}

.inclusion-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 1.35rem;
  left: 1.35rem;
  height: 2px;
  border-radius: 999px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
  pointer-events: none;
}

.inclusion-card:hover::before,
.inclusion-card:focus-within::before {
  transform: scaleX(1);
}

.inclusion-icon {
  transition: transform 0.3s var(--ease-out);
}

.inclusion-card:hover .inclusion-icon {
  transform: rotate(-4deg) scale(1.05);
}

.inclusion-block h4 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inclusion-block h4::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.16;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.inclusion-card.is-visible .inclusion-block h4::after {
  transform: scaleX(1);
}

.inclusion-block li::before {
  transform: scale(0);
  transition: transform 0.3s var(--ease-out);
}

.inclusion-card.is-visible .inclusion-block li::before {
  transform: scale(1);
}

.inclusion-block:not(.inclusion-block--excluded) li::before {
  width: 7px;
  height: 4px;
  border-bottom: 1.5px solid var(--green);
  border-left: 1.5px solid var(--green);
  border-radius: 0;
  background: transparent;
  transform: rotate(-45deg) scale(0);
  transform-origin: left bottom;
}

.inclusion-card.is-visible .inclusion-block:not(.inclusion-block--excluded) li::before {
  transform: rotate(-45deg) scale(1);
}

.inclusion-block:not(.inclusion-block--excluded) li:nth-child(2)::before {
  transition-delay: 60ms;
}

.inclusion-block:not(.inclusion-block--excluded) li:nth-child(3)::before {
  transition-delay: 120ms;
}

.inclusion-block:not(.inclusion-block--excluded) li:nth-child(4)::before {
  transition-delay: 180ms;
}

/* Pricing — quote steps as a small filing route */
.steps-grid--quote {
  position: relative;
  padding-top: 1.65rem;
}

.steps-grid--quote::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  right: 8%;
  left: 8%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 7px, transparent 7px 13px);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-out);
}

.steps-grid--quote::after {
  content: "";
  position: absolute;
  top: calc(0.55rem - 4px);
  left: 8%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
  opacity: 0;
  pointer-events: none;
}

.steps-grid--quote.is-visible::before {
  transform: scaleX(1);
}

.steps-grid--quote.is-visible::after {
  animation: quote-token-route 1.15s var(--ease-out) 0.1s both;
}

.steps-grid--quote .step-card {
  position: relative;
}

.steps-grid--quote .step-num {
  box-shadow: 0 0 0 4px var(--cream);
}

.steps-grid--quote.is-visible .step-num {
  animation: quote-stamp-in 0.45s var(--ease-out) backwards;
}

.steps-grid--quote.is-visible .step-card:nth-child(2) .step-num {
  animation-delay: 0.16s;
}

.steps-grid--quote.is-visible .step-card:nth-child(3) .step-num {
  animation-delay: 0.32s;
}

@keyframes quote-token-route {
  0% {
    left: 8%;
    opacity: 0;
    transform: scale(0.6);
  }
  12% {
    opacity: 1;
    transform: scale(1);
  }
  55% {
    left: 50%;
    opacity: 1;
    transform: scale(1);
  }
  100% {
    left: calc(92% - 9px);
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes quote-stamp-in {
  from {
    opacity: 0;
    transform: scale(0.72) rotate(-6deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 820px) {
  .steps-grid--quote {
    padding-top: 0;
  }

  .steps-grid--quote::before,
  .steps-grid--quote::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chooser-step.is-entering,
  .chooser-step.is-leaving,
  .chooser-result.is-entering,
  .chooser-result.is-leaving,
  .chooser-result.is-entering .result-service,
  .listing-card.is-filter-enter,
  .service-group.is-filter-enter,
  .empty-state.is-visible,
  .empty-state.is-visible .icon,
  .steps-grid--quote.is-visible::after,
  .steps-grid--quote.is-visible .step-num,
  html.js .popular-grid .price-card.is-visible .price-tag,
  html.js .popular-grid .price-card.is-visible .price-line .amount,
  html.js .popular-grid .price-card.is-visible .price-features .icon {
    animation: none !important;
  }

  .steps-grid--quote::before {
    transform: scaleX(1);
  }

  .inclusion-card.is-visible .inclusion-block li::before,
  .inclusion-card.is-visible .inclusion-block:not(.inclusion-block--excluded) li::before {
    transform: scale(1);
  }

  .inclusion-card.is-visible .inclusion-block:not(.inclusion-block--excluded) li::before {
    transform: rotate(-45deg) scale(1);
  }
}

/* Homepage notice review and checklist motion ---------------------------- */

.notice-highlight {
  color: var(--cream);
  font-weight: 600;
  background-image: linear-gradient(transparent 64%, rgba(255, 49, 49, 0.38) 64%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.notice-band.is-visible .notice-highlight {
  animation: notice-highlight-swipe 0.8s var(--ease-out) 0.5s both;
}

.notice-sheet {
  position: relative;
  z-index: 1;
  overflow: hidden;
  isolation: isolate;
}

.notice-sheet::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -32%;
  height: 26%;
  border-bottom: 1px solid rgba(201, 31, 38, 0.34);
  background: linear-gradient(180deg, transparent, rgba(201, 31, 38, 0.13), transparent);
  opacity: 0;
  pointer-events: none;
}

.notice-band.is-visible .notice-sheet::after {
  animation: notice-scan 1.4s var(--ease-out) 0.15s both;
}

.notice-draft {
  --draft-x: 72px;
  --draft-y: 48px;
  --draft-r: -5deg;
  position: absolute;
  z-index: 0;
  width: min(82%, 330px);
  padding: 16px;
  border: 1px solid rgba(255, 248, 242, 0.72);
  border-radius: 18px;
  background: #fff8f2;
  color: var(--ink);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24);
  transform: translate(var(--draft-x), var(--draft-y)) rotate(var(--draft-r));
  pointer-events: none;
}

.notice-band.is-visible .notice-draft {
  animation: notice-draft-in 0.8s var(--ease-out) 0.42s both;
}

.notice-draft-kicker {
  display: block;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.notice-draft-line {
  display: block;
  width: 100%;
  height: 5px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--cream-2);
}

.notice-draft-line--short {
  width: 64%;
}

.notice-draft-ready {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 13px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.notice-draft-ready .icon {
  width: 11px;
  height: 11px;
}

.notice-draft-tab {
  position: absolute;
  top: 18px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 78px;
  padding: 6px 0;
  border-radius: 0 6px 6px 0;
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.notice-steps {
  position: relative;
}

.notice-steps::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 9px;
  border-left: 1px dashed rgba(201, 31, 38, 0.26);
  transform-origin: top;
}

.notice-band.is-visible .notice-steps::before {
  animation: notice-route-draw 0.9s var(--ease-out) 0.35s both;
}

.notice-band.is-visible .notice-step {
  animation: notice-step-in 0.42s var(--ease-out) both;
}

.notice-band.is-visible .notice-step:nth-child(1) {
  animation-delay: 0.35s;
}

.notice-band.is-visible .notice-step:nth-child(2) {
  animation-delay: 0.47s;
}

.notice-band.is-visible .notice-step:nth-child(3) {
  animation-delay: 0.59s;
}

.notice-band.is-visible .notice-step:nth-child(4) {
  animation-delay: 0.71s;
}

.notice-band.is-visible .notice-step .tick {
  animation: notice-tick-in 0.34s var(--ease-out) both;
}

.notice-band.is-visible .notice-step:nth-child(1) .tick {
  animation-delay: 0.45s;
}

.notice-band.is-visible .notice-step:nth-child(2) .tick {
  animation-delay: 0.57s;
}

.notice-band.is-visible .notice-step:nth-child(3) .tick {
  animation-delay: 0.69s;
}

.notice-band.is-visible .notice-step:nth-child(4) .tick {
  animation-delay: 0.81s;
}

.notice-band.is-visible .notice-sheet-top .badge {
  animation: notice-badge-in 0.4s var(--ease-out) 0.55s both;
}

.paper-progress {
  height: 3px;
  margin: 9px 0 1px;
  border-radius: 999px;
  background: var(--cream-2);
  overflow: hidden;
}

.paper-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--green));
  transform-origin: left;
}

.tool-card.is-visible .paper-progress span {
  animation: paper-progress-fill 1.15s var(--ease-out) 0.35s both;
}

.paper-box {
  position: relative;
}

.paper-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 2px;
  width: 5px;
  height: 8px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  opacity: 1;
  transform: rotate(45deg) scale(1);
  transform-origin: center;
}

.tool-card.is-visible .paper-box::after {
  animation: paper-check-in 0.3s var(--ease-out) both;
}

.tool-card.is-visible .paper-row {
  animation: paper-row-in 0.32s var(--ease-out) both;
}

.tool-card.is-visible .paper-row:nth-child(3) {
  animation-delay: 0.2s;
}

.tool-card.is-visible .paper-row:nth-child(4) {
  animation-delay: 0.28s;
}

.tool-card.is-visible .paper-row:nth-child(5) {
  animation-delay: 0.36s;
}

.tool-card.is-visible .paper-row:nth-child(6) {
  animation-delay: 0.44s;
}

.tool-card.is-visible .paper-row:nth-child(7) {
  animation-delay: 0.52s;
}

.tool-card.is-visible .paper-row:nth-child(3) .paper-box::after {
  animation-delay: 0.3s;
}

.tool-card.is-visible .paper-row:nth-child(4) .paper-box::after {
  animation-delay: 0.38s;
}

.tool-card.is-visible .paper-row:nth-child(5) .paper-box::after {
  animation-delay: 0.46s;
}

.tool-card.is-visible .paper-row:nth-child(6) .paper-box::after {
  animation-delay: 0.54s;
}

.tool-card.is-visible .paper-row:nth-child(7) .paper-box::after {
  animation-delay: 0.62s;
}

.paper-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.paper-foot-note {
  color: var(--muted);
  font-size: 0.6rem;
}

.paper-stamp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border: 1px solid rgba(28, 115, 87, 0.26);
  border-radius: 4px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.paper-stamp .icon {
  width: 10px;
  height: 10px;
}

.tool-card.is-visible .paper-stamp {
  animation: paper-stamp-in 0.42s var(--ease-out) 1.08s both;
}

@keyframes notice-highlight-swipe {
  from {
    background-size: 0% 100%;
  }
  to {
    background-size: 100% 100%;
  }
}

@keyframes notice-scan {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  12% {
    opacity: 1;
  }
  78% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(540%);
  }
}

@keyframes notice-draft-in {
  from {
    opacity: 0;
    transform: translate(10px, 24px) rotate(-2deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(var(--draft-x), var(--draft-y)) rotate(var(--draft-r)) scale(1);
  }
}

@keyframes notice-route-draw {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes notice-step-in {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes notice-tick-in {
  from {
    opacity: 0;
    transform: scale(0.5) rotate(-18deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes notice-badge-in {
  from {
    opacity: 0;
    transform: scale(0.72) rotate(-8deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes paper-progress-fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes paper-check-in {
  from {
    opacity: 0;
    transform: rotate(45deg) scale(0);
  }
  to {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

@keyframes paper-row-in {
  from {
    opacity: 0;
    transform: translateX(-5px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes paper-stamp-in {
  from {
    opacity: 0;
    transform: rotate(-8deg) scale(0.8);
  }
  to {
    opacity: 1;
    transform: rotate(-3deg) scale(1);
  }
}

@media (max-width: 980px) {
  .notice-draft {
    --draft-x: 88px;
    --draft-y: 44px;
    --draft-r: -4deg;
  }

  .notice-draft-tab {
    right: -6px;
    width: 28px;
  }
}

@media (max-width: 600px) {
  .notice-draft {
    --draft-x: 79px;
    --draft-y: 40px;
    --draft-r: -3deg;
  }
}

@media (max-width: 400px) {
  .notice-draft {
    --draft-x: 73px;
  }
}

@media (max-width: 360px) {
  .notice-draft {
    --draft-x: 63px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .notice-band.is-visible .notice-highlight,
  .notice-band.is-visible .notice-sheet::after,
  .notice-band.is-visible .notice-draft,
  .notice-band.is-visible .notice-steps::before,
  .notice-band.is-visible .notice-step,
  .notice-band.is-visible .notice-step .tick,
  .notice-band.is-visible .notice-sheet-top .badge,
  .tool-card.is-visible .paper-progress span,
  .tool-card.is-visible .paper-box::after,
  .tool-card.is-visible .paper-row,
  .tool-card.is-visible .paper-stamp {
    animation: none !important;
  }

  .notice-band.is-visible .notice-highlight {
    background-size: 100% 100%;
  }

  .notice-band.is-visible .notice-sheet::after {
    opacity: 0;
  }

  .notice-band.is-visible .notice-draft {
    opacity: 1;
    transform: translate(var(--draft-x), var(--draft-y)) rotate(var(--draft-r)) scale(1);
  }

  .notice-band.is-visible .notice-steps::before {
    transform: scaleY(1);
  }

  .notice-band.is-visible .notice-step,
  .notice-band.is-visible .notice-step .tick,
  .notice-band.is-visible .notice-sheet-top .badge {
    opacity: 1;
    transform: none;
  }

  .tool-card.is-visible .paper-progress span {
    transform: scaleX(1);
  }

  .tool-card.is-visible .paper-box::after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }

  .tool-card.is-visible .paper-row {
    opacity: 1;
    transform: none;
  }

  .tool-card.is-visible .paper-stamp {
    opacity: 1;
    transform: rotate(-3deg) scale(1);
  }
}
