.feature-card [hidden] {
  display: none !important;
}
.fa-compare,
.fa-look-shot {
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}
.fa-compare {
  aspect-ratio: 1.7;
  background: #193239;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
}
.fa-compare > img,
.fa-look-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fa-compare > img {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.fa-compare .fa-before {
  clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
}
.fa-compare-line {
  position: absolute;
  inset: 0 auto 0 var(--reveal);
  transform: translateX(-50%);
  width: 2px;
  background: white;
  box-shadow: 0 0 5px #12242e80;
}
.fa-compare-line::after {
  content: "↔";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 100%;
  background: #fbfcf7;
  color: #123c3a;
  font-size: 1.12rem;
  font-weight: 700;
  box-shadow: 0 2px 8px #102b394a;
}
.fa-compare-captions {
  position: absolute;
  inset: auto 9px 9px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.fa-compare-captions span,
.fa-look-shot > span {
  border-radius: 6px;
  padding: 3px 8px;
  background: #14252dd9;
  color: white;
  font-size: 0.8rem;
  font-weight: 650;
}
.fa-range-label,
.fa-upload-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #173c38;
  font-weight: 620;
  font-size: 0.9rem;
}
.fa-range-label {
  margin: 12px 0 3px;
}
#fa-reveal {
  display: block;
  width: 100%;
  min-height: 34px;
  margin: 0;
  accent-color: #00695e;
}
.fa-look-shot {
  height: clamp(140px, 16vw, 220px);
  background: #35212c;
}
.fa-look-shot > span {
  position: absolute;
  bottom: 10px;
  left: 10px;
}
.fa-chip-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.fa-chip-row > button {
  min-height: 37px;
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}
.fa-look-shot + .fa-chip-row {
  margin-top: 11px;
}
.fa-chip-row .chip i {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px #0003;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: -0.025em;
}
.fa-service-list {
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}
.fa-service-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  color: #193e39;
  border-bottom: 1px solid #ccdbd4;
  padding: 8px 0;
  font-size: 0.96rem;
}
.fa-service-list small {
  font-size: 0.83rem;
  color: #46635d;
  white-space: nowrap;
}
.fa-fieldset {
  padding: 0;
  border: 0;
  margin: 0 0 12px;
  min-inline-size: 0;
}
.fa-fieldset legend {
  padding: 0;
  margin-bottom: 6px;
  font-weight: 650;
  font-size: 0.9rem;
}
.fa-slot-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.fa-slot-foot .demo-status {
  flex: 1 1 180px;
}
.fa-text-btn {
  min-height: 36px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #08594f;
  text-decoration: underline;
  text-underline-offset: 3px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 650;
  cursor: pointer;
}
.fa-file {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 7px 0;
  border: 1px dashed #9ab2a5;
  border-radius: 10px;
  padding: 12px;
  background: #f7faf5;
  color: #28453d;
  font: inherit;
  font-size: 0.875rem;
}
.fa-file::file-selector-button {
  margin-right: 9px;
  border: 1px solid #a8bbae;
  border-radius: 6px;
  padding: 7px 10px;
  background: white;
  color: #183e38;
  font: inherit;
  cursor: pointer;
}
.fa-photo-preview img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: #e5ede7;
  border-radius: 8px;
}
.fa-thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.fa-thumb-grid button {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #dce8dd;
  cursor: zoom-in;
}
.fa-thumb-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 0.76;
  transition: transform 0.18s ease;
}
.fa-thumb-grid button:hover img {
  transform: scale(1.035);
}
.fa-lightbox {
  box-sizing: border-box;
  width: min(92vw, 820px);
  max-width: 92vw;
  max-height: 93dvh;
  overflow: auto;
  border: 1px solid #64867c;
  border-radius: 16px;
  padding: clamp(12px, 2vw, 22px);
  background: #112826;
  color: #f0f7ed;
}
.fa-lightbox::backdrop {
  background: #061b1bea;
}
.fa-lightbox-bar,
.fa-lightbox-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.91rem;
}
.fa-lightbox figure {
  margin: 10px 0;
}
.fa-lightbox figure img {
  display: block;
  width: 100%;
  height: min(58dvh, 540px);
  object-fit: contain;
  background: #091b1a;
  border-radius: 8px;
}
.fa-lightbox figcaption {
  margin-top: 8px;
  font-weight: 650;
  font-size: 1.08rem;
}
.fa-dialog-btn {
  min-height: 40px;
  padding: 7px 13px;
  border: 1px solid #73968a;
  border-radius: 8px;
  background: #24413c;
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .fa-thumb-grid img {
    transition: none;
  }
}
