.home-visit-section {
  background: #241a20;
  color: #fff;
}
.home-visit-section .section-head p {
  color: #cbbfc4;
}
.home-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 42px 0;
  background: #ffffff24;
  border: 1px solid #ffffff24;
}
.home-benefits span {
  padding: 17px;
  background: #241a20;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.home-finder {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: 18px;
  align-items: end;
  margin: 0 0 26px;
  padding: 20px;
  border: 1px solid #ffffff24;
  background: #30232a;
}
.home-finder label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-finder select {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 11px;
  border: 1px solid #ffffff35;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.home-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.home-sort button {
  padding: 11px 14px;
  border: 1px solid #ffffff35;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.home-sort button.active {
  border-color: var(--rose);
  background: var(--rose);
}
.home-result-count {
  margin: 0;
  color: #cbbfc4;
  font-size: 12px;
}
.home-master-card[hidden] {
  display: none;
}
.home-rating {
  color: #f0bd70 !important;
  font-size: 12px;
  font-weight: 900;
}
.home-master-feed {
  display: grid;
  gap: 14px;
}
.home-master-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 210px;
  padding: 0;
  border: 1px solid #ffffff29;
  background: #30232a;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.home-master-card:hover,
.home-master-card:focus-visible {
  transform: translateX(7px);
  border-color: var(--rose);
}
.home-avatar {
  display: grid;
  place-items: center;
  font: 700 36px Georgia;
  color: #fff;
}
.shade-one {
  background: linear-gradient(145deg, #9d6479, #50313e);
}
.shade-two {
  background: linear-gradient(145deg, #8b746a, #443630);
}
.shade-three {
  background: linear-gradient(145deg, #77708f, #3d384d);
}
.home-card-body {
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 8px 30px;
  padding: 28px 34px;
}
.home-card-body small {
  color: #d49aae;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.home-card-body strong {
  grid-column: 1;
  font: 700 28px Georgia;
}
.home-card-body > span {
  grid-column: 1;
  color: #cbbfc4;
}
.home-card-body b {
  grid-column: 2;
  grid-row: 2/4;
  align-self: center;
  padding: 12px 16px;
  border: 1px solid #ffffff29;
  font-size: 12px;
}
.home-card-body em {
  grid-column: 1;
  color: #d986a5;
  font-style: normal;
  font-weight: 900;
}
.home-modal {
  position: fixed;
  z-index: 130;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #160f13e8;
}
.home-modal[hidden] {
  display: none;
}
.home-dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 42px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 100px #0008;
}
.home-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: 0;
  background: none;
  font-size: 32px;
  cursor: pointer;
}
.home-profile {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: center;
}
.home-modal-avatar {
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  font: 700 30px Georgia;
}
.home-label {
  color: var(--rose);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.home-profile h2 {
  margin: 8px 0;
  font: 700 clamp(30px, 4vw, 46px) / 1 Georgia;
}
.home-profile p {
  margin: 0;
  color: var(--muted);
}
.home-form-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.home-options label {
  display: block;
  margin-bottom: 15px;
  font-size: 12px;
  font-weight: 900;
}
.home-options select,
.home-options input {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
}
.home-options p {
  color: var(--muted);
  font-size: 12px;
}
.home-schedule {
  padding: 25px;
  background: var(--ink);
  color: #fff;
}
.home-schedule .field-label {
  display: block;
  margin-bottom: 8px;
}
.home-dates,
.home-times {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 22px;
}
.home-dates button,
.home-times button {
  padding: 9px 11px;
  border: 1px solid #ffffff35;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.home-dates button.active,
.home-times button.active {
  border-color: var(--rose);
  background: var(--rose);
}
.home-confirm {
  width: 100%;
  margin-top: 5px;
}
.home-confirm:disabled {
  opacity: 0.55;
}
.home-open {
  overflow: hidden;
}
@media (max-width: 800px) {
  .home-finder {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .home-benefits {
    grid-template-columns: 1fr 1fr;
  }
  .home-master-card {
    grid-template-columns: 100px 1fr;
  }
  .home-card-body {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .home-card-body b {
    grid-column: 1;
    grid-row: auto;
  }
  .home-form-grid,
  .home-profile {
    grid-template-columns: 1fr;
  }
  .home-dialog {
    padding: 30px 20px;
  }
  .home-modal-avatar {
    width: 78px;
    height: 78px;
  }
}
@media (max-width: 520px) {
  .home-benefits {
    grid-template-columns: 1fr;
  }
  .home-master-card {
    grid-template-columns: 1fr;
  }
  .home-avatar {
    min-height: 120px;
  }
  .home-card-body strong {
    font-size: 24px;
  }
}
