/**
 * TSDC Homepage Booking Form Fix — Card Styling
 * Restores the hp-book-card styling that was lost when someone edited the page
 */

.hp-book-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 28px;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}

.hp-book-hdr {
  text-align: center;
  margin-bottom: 24px;
}

.hp-book-hdr h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 6px;
}

.hp-book-hdr p {
  font-size: 0.875rem;
  color: #64748B;
  margin: 0;
}

/* Form field styling inside the card */
.hp-book-card .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hp-book-card .wpcf7-form p {
  margin: 0;
}

.hp-book-card input[type="text"],
.hp-book-card input[type="tel"],
.hp-book-card input[type="email"],
.hp-book-card select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: #334155;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.hp-book-card input:focus,
.hp-book-card select:focus {
  border-color: #0A7C8C;
}

.hp-book-card input[type="submit"],
.hp-book-card .wpcf7-submit {
  width: 100%;
  padding: 14px;
  background: #8B6914;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}

.hp-book-card input[type="submit"]:hover,
.hp-book-card .wpcf7-submit:hover {
  background: #6D5210;
}

/* Trust strip below form */
.hp-book-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
  font-size: 0.78rem;
  color: #64748B;
}

/* Phone bar inside card */
.hp-book-card .book-ph {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #F1F5F9;
  font-size: 0.82rem;
}

.hp-book-card .book-ph a {
  color: #0A7C8C;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hp-book-card .book-ph small {
  color: #94A3B8;
  font-weight: 400;
  margin-right: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .hp-book-card {
    padding: 24px 20px;
    max-width: 100%;
    border-radius: 12px;
  }
}
