:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 76px;
}

body {
  min-width: 320px;
}

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

.brand-mark {
  position: relative;
  display: inline-block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.25rem;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.09em;
  color: white;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: -0.1rem;
  bottom: -0.27rem;
  width: 66%;
  height: 0.18rem;
  background: #ef1f33;
  transform: skewX(-24deg);
  transition: width 180ms ease;
}

.group:hover .brand-mark::after,
.brand-mark:hover::after {
  width: 100%;
}

.nav-link {
  position: relative;
  padding: 0.4rem 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  transition: color 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: #ef1f33;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-link:hover {
  color: white;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-link {
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: 180ms ease;
}

.btn-primary {
  background: #ef1f33;
  color: white;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.btn-primary:hover {
  background: white;
  color: #07090c;
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.15);
  color: white;
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 6, 9, 0.98) 0%, rgba(4, 6, 9, 0.9) 33%, rgba(4, 6, 9, 0.23) 68%, rgba(4, 6, 9, 0.4) 100%),
    linear-gradient(0deg, rgba(4, 6, 9, 0.9) 0%, transparent 48%);
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, black, transparent 72%);
}

.contact-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 56px 56px;
}

.text-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.78);
}

.text-outline-soft {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.38);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-width: 1px;
  padding: 0.55rem 0.75rem;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 180ms ease;
}

.section-kicker {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.metric-cell {
  display: flex;
  min-height: 88px;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  padding: 1rem 1.15rem;
}

.metric-cell:nth-child(even) {
  border-right: 0;
}

.metric-number {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.metric-label {
  margin-top: 0.35rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

.wizard-shell {
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: white;
  box-shadow: 0 30px 80px rgba(9, 15, 25, 0.1);
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.wizard-progress li {
  min-width: 0;
}

.wizard-progress-step {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-right: 1px solid #e2e8f0;
  color: #94a3b8;
  transition: color 180ms ease, background 180ms ease;
}

.wizard-progress li:last-child .wizard-progress-step {
  border-right: 0;
}

.wizard-progress-step::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: #ef1f33;
  transform: scaleX(0);
  transition: transform 220ms ease;
}

.wizard-progress-step span {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
}

.wizard-progress-step small {
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wizard-progress-step.is-current {
  background: white;
  color: #0f172a;
}

.wizard-progress-step.is-current::after,
.wizard-progress-step.is-complete::after {
  transform: scaleX(1);
}

.wizard-progress-step.is-complete {
  cursor: pointer;
  color: #ef1f33;
}

.wizard-progress-step.is-complete:hover {
  background: #fff1f2;
}

.wizard-content {
  min-height: 550px;
}

.wizard-heading {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  padding: 2rem;
}

.wizard-counter {
  display: flex;
  align-items: flex-end;
  gap: 0.2rem;
  color: #ef1f33;
}

.wizard-counter strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 0.8;
}

.wizard-counter small {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: #94a3b8;
}

.wizard-summary {
  display: flex;
  max-width: 28rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

.wizard-summary span {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.45rem 0.55rem;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.wizard-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  min-height: 350px;
  align-content: start;
  padding: 2rem;
}

.wizard-option {
  position: relative;
  display: grid;
  min-height: 145px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: white;
  padding: 1.2rem;
  text-align: left;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.wizard-option::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: #ef1f33;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 180ms ease;
}

.wizard-option:hover,
.wizard-option:focus-visible,
.wizard-option[aria-pressed="true"] {
  z-index: 1;
  border-color: #ef1f33;
  box-shadow: 0 12px 30px rgba(239, 31, 51, 0.1);
  outline: none;
  transform: translateY(-2px);
}

.wizard-option:hover::before,
.wizard-option:focus-visible::before,
.wizard-option[aria-pressed="true"]::before {
  transform: scaleY(1);
}

.wizard-option-icon {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #ef1f33;
}

.wizard-option-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.wizard-option-copy small,
.wizard-option-copy strong {
  display: block;
}

.wizard-option-copy small {
  margin-bottom: 0.35rem;
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
}

.wizard-option-copy strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.wizard-option > svg {
  width: 1rem;
  height: 1rem;
  color: #94a3b8;
  transition: color 180ms ease, transform 180ms ease;
}

.wizard-option:hover > svg {
  color: #ef1f33;
  transform: translateX(3px);
}

.wizard-controls {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #e2e8f0;
  padding: 1rem 2rem;
}

.wizard-controls p {
  font-size: 0.68rem;
  color: #94a3b8;
}

.wizard-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0f172a;
  transition: color 180ms ease;
}

.wizard-back:hover {
  color: #ef1f33;
}

.performance-table-scroll {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.13);
  scrollbar-color: #ef1f33 #11161c;
}

.performance-table {
  width: 100%;
  min-width: 720px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

.performance-table th,
.performance-table td {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 1.25rem;
  text-align: left;
}

.performance-table tr > *:last-child {
  border-right: 0;
}

.performance-table tbody tr:last-child > * {
  border-bottom: 0;
}

.performance-table thead th {
  height: 82px;
  vertical-align: middle;
}

.performance-table thead th:first-child,
.performance-table tbody th {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 22%;
  background: #0b0f14;
  color: white;
}

.performance-table thead th:first-child {
  z-index: 3;
}

.performance-table th span,
.performance-table th small {
  display: block;
}

.performance-table th span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.performance-table th small {
  margin-top: 0.35rem;
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.48;
}

.performance-table .table-badge {
  display: inline-block;
  width: fit-content;
  border: 1px solid currentColor;
  padding: 0.28rem 0.4rem;
  opacity: 0.62;
}

.performance-table .col-original {
  background: #11161c;
  color: white;
}

.performance-table .col-stage-one {
  background: #f5f6f8;
  color: #07090c;
}

.performance-table .col-stage-two {
  background: #ef1f33;
  color: white;
}

.performance-table tbody td {
  vertical-align: middle;
}

.performance-table .metric-row td {
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
}

.performance-table td strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
}

.performance-table td small {
  margin-left: 0.3rem;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  opacity: 0.62;
}

.performance-table .gain-row td {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.performance-table .gain-row td strong {
  font-size: 1.1rem;
  letter-spacing: 0;
}

.performance-muted,
.performance-pending {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
}

.performance-pending {
  opacity: 0.82;
}

.performance-mobile {
  display: none;
}

.performance-mobile-card {
  overflow: hidden;
}

.mobile-config-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}

.mobile-config-head span,
.mobile-config-head small {
  display: block;
}

.mobile-config-head span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.mobile-config-head small {
  margin-top: 0.25rem;
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.54;
}

.mobile-config-head em {
  border: 1px solid currentColor;
  padding: 0.35rem 0.45rem;
  font-size: 0.48rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.66;
}

.mobile-config-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-config-metrics > div {
  min-width: 0;
  padding: 1rem;
}

.mobile-config-metrics > div + div {
  border-left: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}

.mobile-config-metrics dt,
.mobile-config-gains span {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
}

.mobile-config-metrics dd {
  white-space: nowrap;
}

.mobile-config-metrics dd strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.45rem;
  font-weight: 900;
  line-height: 1;
}

.mobile-config-metrics dd small,
.mobile-config-gains small {
  margin-left: 0.25rem;
  font-size: 0.5rem;
  font-weight: 900;
  opacity: 0.62;
}

.mobile-config-gains {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}

.mobile-config-gains > div {
  min-width: 0;
  padding: 0.8rem 1rem;
}

.mobile-config-gains > div + div {
  border-left: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}

.mobile-config-gains strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.performance-mobile-card.config-original {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #11161c;
  color: white;
}

.performance-mobile-card.config-stage-one {
  background: #f5f6f8;
  color: #07090c;
}

.performance-mobile-card.config-stage-two {
  background: #ef1f33;
  color: white;
}

.result-gallery {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.result-gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1rem;
}

.result-gallery-heading span {
  color: #ef1f33;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.result-gallery-heading h4 {
  margin-top: 0.3rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.result-gallery-heading p {
  max-width: 20rem;
  font-size: 0.68rem;
  line-height: 1.6;
  text-align: right;
  color: rgba(255, 255, 255, 0.45);
}

.result-gallery-grid {
  display: grid;
  height: 390px;
  grid-template-columns: minmax(0, 1.75fr) minmax(240px, 0.85fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.result-gallery-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 0;
  background: #11161c;
  padding: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.result-gallery-main {
  grid-row: 1 / -1;
}

.result-gallery-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 40%, rgba(3, 5, 8, 0.88));
  pointer-events: none;
}

.result-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 250ms ease;
}

.result-gallery-portrait img {
  object-position: center 36%;
}

.result-gallery-item > span {
  position: absolute;
  z-index: 1;
  right: 1.1rem;
  bottom: 1rem;
  left: 1.1rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  color: white;
}

.result-gallery-item small {
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff5666;
}

.result-gallery-item strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
}

.result-gallery-item:hover img {
  filter: contrast(1.05);
  transform: scale(1.035);
}

.result-gallery-item:focus-visible {
  outline: 2px solid #ef1f33;
  outline-offset: 3px;
}

.result-lightbox {
  width: min(1120px, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #080b0f;
  color: white;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.72);
}

.result-lightbox::backdrop {
  background: rgba(2, 4, 7, 0.88);
  backdrop-filter: blur(8px);
}

.result-lightbox[open] {
  animation: lightbox-in 180ms ease-out;
}

@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lightbox-shell {
  display: grid;
  max-height: calc(100vh - 2rem);
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.lightbox-header {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.lightbox-header span,
.lightbox-caption small {
  display: block;
  color: #ef1f33;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.lightbox-header h2 {
  margin-top: 0.25rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.lightbox-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.lightbox-header-actions > span {
  color: rgba(255, 255, 255, 0.55);
}

.lightbox-header-actions button,
.lightbox-arrow {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 8, 12, 0.76);
  color: white;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.lightbox-header-actions button {
  width: 42px;
  height: 42px;
}

.lightbox-header-actions button:hover,
.lightbox-arrow:hover {
  border-color: #ef1f33;
  background: #ef1f33;
}

.lightbox-header-actions svg,
.lightbox-arrow svg {
  width: 1.2rem;
  height: 1.2rem;
}

.lightbox-stage {
  position: relative;
  display: grid;
  min-height: 300px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #030508;
  background-size: 44px 44px;
}

.lightbox-stage::after {
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  content: "";
  background: linear-gradient(transparent, rgba(2, 4, 7, 0.86));
  pointer-events: none;
}

.lightbox-stage > img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 220px);
  object-fit: contain;
}

.lightbox-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 50px;
  height: 50px;
  transform: translateY(-50%);
}

.lightbox-arrow:hover {
  transform: translateY(-50%) scale(1.04);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-caption {
  position: absolute;
  z-index: 1;
  right: 1.25rem;
  bottom: 1.15rem;
  left: 1.25rem;
  color: white;
}

.lightbox-caption strong {
  display: block;
  margin-top: 0.25rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.lightbox-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #080b0f;
}

.lightbox-thumbnails button {
  height: 70px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.46;
  transition: opacity 160ms ease, border-color 160ms ease;
}

.lightbox-thumbnails button:hover,
.lightbox-thumbnails button.is-active {
  border-color: #ef1f33;
  opacity: 1;
}

.lightbox-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card {
  position: relative;
  min-height: 310px;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  padding: 2rem;
  transition: background 220ms ease, transform 220ms ease;
}

.service-guarantee {
  display: flex;
  max-width: 26rem;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid rgba(239, 31, 51, 0.42);
  background: rgba(239, 31, 51, 0.08);
}

.service-guarantee-icon {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
  place-items: center;
  background: #ef1f33;
  color: white;
}

.service-guarantee-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.service-guarantee strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.service-guarantee p {
  margin-top: 0.35rem;
  font-size: 0.64rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}

.service-card:hover {
  z-index: 1;
  background: #ef1f33;
  transform: translateY(-3px);
}

.service-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ff5666;
  transition: color 220ms ease;
}

.service-card:hover .service-icon {
  color: white;
}

.service-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.service-index {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.25);
}

.service-card h3 {
  margin-top: 4.8rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.service-card p {
  margin-top: 0.8rem;
  max-width: 20rem;
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  transition: color 220ms ease;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.78);
}

.case-card {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 220ms ease;
}

.case-card:hover {
  transform: translateY(-5px);
}

.case-card-dark {
  background: #0a0d11;
  color: white;
}

.case-card-blue {
  background: #ef1f33;
  color: white;
}

.case-card-light {
  border: 1px solid #cbd5e1;
  background: white;
  color: #07090c;
}

.case-photo {
  position: relative;
  display: block;
  height: 230px;
  flex: 0 0 auto;
  overflow: hidden;
  background: #05070a;
}

.case-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(4, 6, 9, 0.72));
  pointer-events: none;
}

.case-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.case-photo-portrait img {
  object-position: center 38%;
}

.case-photo span {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem;
  background: rgba(4, 6, 9, 0.82);
  color: white;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(7px);
}

.case-photo span i {
  font-size: 0.9rem;
}

.case-card:hover .case-photo img {
  transform: scale(1.035);
}

.case-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.7rem;
}

.case-topline,
.case-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.58;
}

.case-footer {
  margin-top: auto;
}

.case-card h3 {
  margin-top: 2.4rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  font-style: italic;
  font-weight: 900;
  line-height: 0.86;
  text-transform: uppercase;
}

.case-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 2rem 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 20%, transparent);
}

.case-specs > div {
  padding: 1.1rem 0;
}

.case-specs > div + div {
  border-left: 1px solid color-mix(in srgb, currentColor 20%, transparent);
  padding-left: 1.2rem;
}

.case-specs strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.case-specs small {
  margin-left: 0.3rem;
  font-size: 0.58rem;
  font-weight: 900;
  opacity: 0.55;
}

.case-footer svg {
  width: 1rem;
  height: 1rem;
}

.process-grid {
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.process-step {
  position: relative;
  min-height: 280px;
  padding: 1.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.process-step > span {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: #ef1f33;
}

.process-step > svg {
  width: 2rem;
  height: 2rem;
  color: #ff5666;
}

.process-step h3 {
  margin-top: 6.5rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.process-step p {
  margin-top: 0.7rem;
  max-width: 16rem;
  font-size: 0.78rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.46);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.faq-item summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  transition: transform 180ms ease;
}

.faq-item[open] summary svg {
  transform: rotate(45deg);
  color: #ef1f33;
}

.faq-item p {
  max-width: 42rem;
  padding: 0 2.5rem 1.6rem 0;
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: opacity 180ms ease;
}

a.contact-row:hover {
  opacity: 0.72;
}

.contact-row > svg,
.contact-row > i {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.contact-row > i {
  font-size: 1.15rem;
  line-height: 1.2rem;
  text-align: center;
}

.contact-row small,
.contact-row strong {
  display: block;
}

.contact-row small {
  margin-bottom: 0.25rem;
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.contact-row strong {
  font-size: 0.85rem;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .metric-cell {
    border-bottom: 0;
  }

  .metric-cell:nth-child(even) {
    border-right: 1px solid rgba(255, 255, 255, 0.13);
  }

  .metric-cell:last-child {
    border-right: 0;
  }

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

  .process-step:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .process-step {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 0;
  }

  .process-step:last-child {
    border-right: 0;
  }
}

@media (max-width: 1023px) {
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 6, 9, 0.95), rgba(4, 6, 9, 0.56)),
      linear-gradient(0deg, rgba(4, 6, 9, 0.95), transparent 60%);
  }

  .wizard-heading {
    grid-template-columns: auto 1fr;
  }

  .wizard-summary {
    grid-column: 1 / -1;
    max-width: none;
    justify-content: flex-start;
  }

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

@media (max-width: 767px) {
  .performance-table-scroll {
    display: none;
  }

  .performance-mobile {
    display: grid;
    gap: 0.65rem;
  }

  .result-actions {
    margin-top: 1.25rem;
    gap: 0.9rem;
    padding-top: 1.25rem;
  }

  .result-cta {
    order: -1;
    width: 100%;
    min-height: 58px;
  }
}

@media (max-width: 639px) {
  .text-outline {
    -webkit-text-stroke-width: 1px;
  }

  #wizard-result {
    padding: 0.9rem;
  }

  .result-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }

  .result-header h3 {
    font-size: 1.7rem;
    line-height: 1;
  }

  .performance-table-scroll {
    display: none;
  }

  .performance-mobile {
    display: grid;
    gap: 0.65rem;
  }

  .mobile-config-head,
  .mobile-config-metrics > div,
  .mobile-config-gains > div {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }

  .result-gallery {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
  }

  .result-gallery-heading {
    display: block;
  }

  .result-gallery-heading p {
    margin-top: 0.65rem;
    text-align: left;
  }

  .result-gallery-grid {
    display: flex;
    height: 205px;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #ef1f33 #11161c;
  }

  .result-gallery-main {
    grid-column: auto;
    grid-row: auto;
  }

  .result-gallery-item {
    flex: 0 0 86%;
    scroll-snap-align: start;
  }

  .result-gallery-item > span {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    display: block;
  }

  .result-gallery-item strong {
    display: block;
    margin-top: 0.2rem;
    font-size: 1rem;
    text-align: left;
  }

  .result-actions {
    margin-top: 1.25rem;
    gap: 0.9rem;
    padding-top: 1.25rem;
  }

  .result-actions-note {
    align-items: flex-start;
    font-size: 0.7rem;
    line-height: 1.55;
  }

  .result-actions-note svg {
    width: 1.1rem;
    height: 1.1rem;
  }

  .result-cta {
    order: -1;
    width: 100%;
    min-height: 58px;
    padding: 1rem;
    letter-spacing: 0.1em;
  }

  .result-lightbox {
    width: calc(100vw - 1rem);
    max-height: calc(100vh - 1rem);
  }

  .lightbox-shell {
    max-height: calc(100vh - 1rem);
  }

  .lightbox-header {
    min-height: 66px;
    padding: 0.75rem;
  }

  .lightbox-header h2 {
    font-size: 1.35rem;
  }

  .lightbox-header-actions button {
    width: 38px;
    height: 38px;
  }

  .lightbox-stage > img {
    max-height: calc(100vh - 190px);
  }

  .lightbox-arrow {
    width: 42px;
    height: 42px;
  }

  .lightbox-prev {
    left: 0.55rem;
  }

  .lightbox-next {
    right: 0.55rem;
  }

  .lightbox-caption {
    right: 0.8rem;
    bottom: 0.75rem;
    left: 0.8rem;
  }

  .lightbox-thumbnails button {
    height: 54px;
  }

  .case-card {
    min-height: 390px;
  }

  .wizard-progress-step {
    min-height: 60px;
    border-right: 0;
  }

  .wizard-progress-step small {
    display: none;
  }

  .wizard-progress-step span {
    width: 1.55rem;
    height: 1.55rem;
  }

  .wizard-heading {
    gap: 1rem;
    padding: 1.25rem;
  }

  .wizard-counter strong {
    font-size: 2.35rem;
  }

  .wizard-summary {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .wizard-summary span {
    flex: 0 0 auto;
  }

  .wizard-options {
    grid-template-columns: 1fr;
    min-height: 320px;
    padding: 1rem;
  }

  .wizard-option {
    min-height: 105px;
  }

  .wizard-controls {
    padding: 1rem 1.25rem;
  }

  .wizard-controls p {
    max-width: 12rem;
    text-align: right;
  }
}

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