/* ============================================
   services.css — SERVICES PAGES
   remote.html, in-person.html, in-home.html, consult.html (all body.services)
   Load after style.css
============================================ */

body.services main {
  padding: 0 2rem;
}

/* ---- Service option cards ---- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.service-card {
  background: #faf7f2;
  border: 1px solid #eee6da;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.service-card h3 {
  color: #3f3550;
  margin-bottom: 0.5rem;
}

.service-card .frequency {
  color: #4b3f5c;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.service-card .price {
  color: #8a8073;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card .price-secondary {
  color: #8a8073;
  font-size: 0.85rem;
  margin-top: -0.75rem;
  margin-bottom: 1rem;
}

.view-details-btn {
  background: #ddd2eb;
  color: #3f3550;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.view-details-btn:hover {
  background: #c6b7e2;
}

/* ---- Remote card (remote.html only) ---- */
.remote-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "head body"
    "btn  body";
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.remote-card-head {
  grid-area: head;
  background: #ddd2eb;
  padding: 1.5rem 1.5rem 0;
}

.remote-card-head h3 {
  margin: 0 0 0.5rem;
}

.remote-card-price {
  color: #3f3550;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.remote-card-price span {
  font-size: 0.85rem;
  font-weight: 400;
}

.remote-card-btn {
  grid-area: btn;
  background: #ddd2eb;
  padding: 0 1.5rem 1.5rem;
}

.remote-card-btn .view-details-btn {
  background: #faf7f2;
}

.remote-card-btn .view-details-btn:hover {
  background: #ffffff;
}

.remote-card-body {
  grid-area: body;
  padding: 1.25rem 1.5rem;
  color: #3f3550;
  font-size: 0.95rem;
  line-height: 1.5;
}

.remote-card-body h4 {
  margin: 0 0 0.25rem;
  color: #4b3f5c;
  font-size: 0.95rem;
  font-weight: 700;
}

.remote-card-body ul {
  margin: 0;
  padding-left: 1.25rem;
}

.remote-card-body li {
  margin-bottom: 0.25rem;
}

.remote-card-group + .remote-card-group {
  border-top: 1px solid #eee6da;
  margin-top: 1rem;
  padding-top: 1rem;
}

@media (max-width: 700px) {
  .remote-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "head"
      "body"
      "btn";
  }

  .remote-card-head {
    padding: 1rem;
  }

  .remote-card-head h3 {
    margin-bottom: 0.25rem;
  }

  .remote-card-price {
    font-size: 1.25rem;
    margin-bottom: 0;
  }

  .remote-card-body {
    padding: 1rem 1rem 0.5rem;
    font-size: 0.9rem;
  }

  .remote-card-btn {
    background: transparent;
    padding: 0 1rem 1rem;
  }

  .remote-card-btn .view-details-btn {
    background: #ddd2eb;
    width: 100%;
  }

  .remote-card-btn .view-details-btn:hover {
    background: #c6b7e2;
  }
}

/* ---- Booking detail view (shown by booking-cards.js) ---- */
#detail-view {
  margin: 2rem 0;
  display: none;
}

.back-btn {
  background: none;
  border: none;
  color: #4b3f5c;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 1rem;
  padding: 0;
  font-size: 1rem;
}

.back-btn:hover {
  text-decoration: underline;
}

.fee-note {
  text-align: center;
  color: #8a8073;
  font-size: 0.9rem;
  margin-top: 1.5rem;
}