/* Appointment section — mobile-first */
.appointment-section {
  padding: 40px 0 48px;
  background: #f5f5f5;
}

.appointment-block {
  display: grid;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  background: #fff;
}

/* Visual panel */
.appointment-visual {
  position: relative;
  background: linear-gradient(135deg, #e54282 0%, #c93a72 100%);
  color: #fff;
  padding: 28px 22px 32px;
  text-align: center;
}

.appointment-visual__img-wrap {
  margin: 0 auto 20px;
  max-width: 220px;
}

.appointment-visual__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.appointment-visual__label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.95;
  font-family: "Poppins", sans-serif;
}

.appointment-visual__title {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 4.5vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
  font-family: "Poppins", sans-serif;
}

.appointment-visual__title .theme-color {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 4px;
}

.appointment-visual__desc {
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.95;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.appointment-visual__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid #fff;
  border-radius: 30px;
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
}

.appointment-visual__cta:hover {
  background: #fff;
  color: #e54282 !important;
}

/* Form panel */
.appointment-form-panel {
  padding: 28px 20px 32px;
  text-align: left;
}

.appointment-form-panel__title {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333;
  font-family: "Poppins", sans-serif;
}

.appointment-form-panel__subtitle {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: #777;
  line-height: 1.4;
}

.appointment-section .contact-form {
  margin-bottom: 0;
}

.appointment-section .contact-form .form-group {
  margin-bottom: 14px;
}

.appointment-section .contact-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  font-family: "Poppins", sans-serif;
}

.appointment-section .contact-form .form-control {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.appointment-section .contact-form .form-control:focus {
  border-color: #e54282;
  box-shadow: 0 0 0 3px rgba(229, 66, 130, 0.15);
  outline: none;
}

.appointment-section .contact-form textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.appointment-section .contact-form__row {
  display: grid;
  gap: 14px;
}

.appointment-section .contact-form .btn {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  margin-top: 8px;
  border-radius: 30px;
  font-weight: 600;
}

.appointment-section .successform,
.appointment-section .errorform {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
}

.appointment-section .successform {
  background: #e8f8ef;
  color: #1a6b3c;
}

.appointment-section .errorform {
  background: #fde8ee;
  color: #a32d52;
}

@media (min-width: 768px) {
  .appointment-section {
    padding: 56px 0 64px;
  }

  .appointment-block {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: stretch;
  }

  .appointment-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 32px;
    text-align: left;
  }

  .appointment-visual__img-wrap {
    margin: 0 0 24px;
    max-width: 100%;
  }

  .appointment-visual__desc {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .appointment-form-panel {
    padding: 40px 36px 44px;
  }

  .appointment-section .contact-form__row {
    grid-template-columns: 1fr 1fr;
  }

  .appointment-section .contact-form .btn {
    width: auto;
    min-width: 200px;
    display: inline-flex;
  }
}

@media (max-width: 767px) {
  .appointment-section .banner-appointment-form,
  .appointment-section .banner-appointment-form .row {
    margin: 0;
  }
}
