/* Shared form styling — contact form today, reusable for any future form
   (booking enquiry, newsletter, etc.) without redefining these rules. */

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 16px;
  border: 1px solid var(--divider);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-heading);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.3s ease-in-out;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent-strong);
  outline: none;
}

.form-field--error input,
.form-field--error select,
.form-field--error textarea {
  border-color: var(--error-color);
}

.form-field__error {
  color: var(--error-color);
  font-size: 13px;
}

.form-required {
  color: var(--error-color);
}

.form-success {
  background: color-mix(in srgb, #2d8f5b 12%, transparent);
  border: 1px solid #2d8f5b;
  color: #1f6b43;
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.form-error-summary {
  background: color-mix(in srgb, var(--error-color) 10%, transparent);
  border: 1px solid var(--error-color);
  color: var(--error-color);
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
}

/* Honeypot field — hidden from real users, catches simple bots */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form {
  background: var(--surface-alt);
  border: 1px solid var(--divider);
  border-radius: 20px;
  padding: 40px;
}

.form-field__legend {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text-body);
  cursor: pointer;
}

.form-radio input[type='radio'] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-strong);
  cursor: pointer;
}

.contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-form__submit,
.contact-form__whatsapp {
  flex: 1 1 200px;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}

.contact-form__submit {
  border: none;
}

/* ---- Contact info / map layout ---- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-info-card {
  background: var(--surface-alt);
  border: 1px solid var(--divider);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
}

.contact-info-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.contact-info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.contact-info-row:last-child {
  margin-bottom: 0;
}

.contact-info-row .icon-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(to right, var(--accent) 0%, var(--accent-strong) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-row .icon-box img {
  width: 18px;
}

.contact-hours-list li {
  display: flex;
  justify-content: space-between;
  padding-block: 8px;
  border-bottom: 1px dashed var(--divider);
  font-size: 14px;
  color: var(--text-body);
}

.contact-hours-list li:first-child {
  padding-top: 0;
}

.contact-hours-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-map {
  position: relative;
  aspect-ratio: 21 / 6;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 40px;
  background: var(--surface-alt);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-map__directions {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: var(--surface);
  color: var(--text-body);
  font-family: var(--font-heading);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  text-decoration: none;
}

.contact-map__directions:hover {
  background: var(--surface-alt);
}

@media (max-width: 700px) {
  .contact-map {
    aspect-ratio: 4 / 3;
  }
}

/* ---- Booking form ---- */

.booking-form__price-preview {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-strong);
  min-height: 20px;
}

.booking-form__hint {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-body);
}

.booking-form__add-btn {
  margin-top: 14px;
  width: 100%;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}

.booking-cart {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.booking-cart--error {
  border-color: var(--error-color);
}

.booking-cart__title {
  font-size: 16px;
  margin-bottom: 12px;
}

.booking-cart__empty {
  font-size: 14px;
  color: var(--text-body);
  margin: 0;
}

.booking-cart__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.booking-cart__item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-block: 10px;
  border-bottom: 1px dashed var(--divider);
  font-size: 14px;
}

.booking-cart__item:last-child {
  border-bottom: none;
}

.booking-cart__item-brand {
  color: var(--text-body);
  font-size: 13px;
}

.booking-cart__item-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.booking-cart__item-price {
  font-weight: 700;
  color: var(--accent-strong);
}

.booking-cart__remove {
  background: none;
  border: none;
  padding: 0;
  color: var(--error-color);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

.booking-cart__clear {
  background: none;
  border: none;
  padding: 12px 0 0;
  color: var(--text-body);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}
