/* ── Contacts page ── */

/* ─── Hero section ─────────────────────────────────── */
.contacts-hero {
  padding: 0 var(--padding-x);
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 96px;
}

.contacts-hero h2 {
  margin: 0;
  max-width: 840px;
}

/* ─── Contact pills row ─────────────────────────────── */
.contacts-pills {
  display: flex;
  gap: 24px;
  align-items: stretch;
  width: 100%;
}

.contacts-pill {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--olive, #6f7b5b);
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s ease-out;
}

.contacts-pill:hover {
  background: #5d6849;
}

.contacts-pill__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 32px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacts-pill__icon img {
  width: 20px;
  height: 20px;
  display: block;
}

.contacts-pill .h6 {
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── Two-column layout: form + map ────────────────── */
.contacts-main {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 24px;
  align-items: stretch;
  min-height: 600px;
}

/* ─── Form card ─────────────────────────────────────── */
.contacts-form-wrap {
  background: var(--bg_beige, #f6f5ee);
  border-radius: 32px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contacts-form-wrap__title {
  margin: 0;
  text-align: center;
  color: var(--black, #1f1b16);
}

.contacts-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contacts-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contacts-form__label {
  color: var(--dark, #5a524a);
}

.contacts-form__input,
.contacts-form__select,
.contacts-form__textarea {
  width: 100%;
  height: 56px;
  padding: 16px 24px;
  background: #fff;
  border: 1px solid rgba(232, 222, 211, 0.8);
  border-radius: 8px;
  color: var(--black, #1f1b16);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s ease-out;
  box-sizing: border-box;
}

.contacts-form__input::placeholder,
.contacts-form__textarea::placeholder {
  color: var(--light, #8a8076);
}

.contacts-form__input:focus,
.contacts-form__select:focus,
.contacts-form__textarea:focus {
  border-color: var(--olive);
}

/* Select wrapper (custom arrow) */
.contacts-form__select-wrap {
  position: relative;
}

.contacts-form__select {
  cursor: pointer;
  padding-right: 48px;
}

.contacts-form__select-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  pointer-events: none;
  opacity: 0.6;
}

/* Textarea */
.contacts-form__textarea {
  height: auto;
  min-height: 120px;
  resize: vertical;
}

/* Full-width button */
.contacts-form__submit.w-full {
  width: 100%;
  justify-content: center;
}

/* Success message */
.contacts-form__success {
  text-align: center;
  color: var(--olive);
  margin-top: 8px;
}

/* ─── Google Map ────────────────────────────────────── */
.contacts-map {
  border-radius: 32px;
  overflow: hidden;
  min-height: 600px;
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 600px;
  border: 0;
}

/* ─── FAQ mini-section ──────────────────────────────── */
.contacts-faq {
  padding: 0 var(--padding-x);
  margin-bottom: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.contacts-faq h2 {
  margin: 0;
  text-align: center;
}

.contacts-faq .accordion {
  width: 100%;
  max-width: 1200px;
}

/* ─── Sale CTA (inherits promotions.css) ─────────────── */
/* promo-single__sale styles come from promotions.css */

@media (max-width: 768px) {
  .contacts-hero {
    padding: 0 16px;
    gap: 32px;
    margin-bottom: 48px;
  }

  .contacts-pills {
    flex-direction: column;
    gap: 12px;
  }

  .contacts-pill {
    flex: none;
    width: 100%;
    border-radius: 100px;
  }

  .contacts-main {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .contacts-form-wrap {
    border-radius: 24px;
    padding: 32px 24px;
  }

  .contacts-map {
    border-radius: 24px;
    min-height: unset;
    height: 300px;
  }

  .contacts-map iframe {
    min-height: unset;
    height: 300px;
  }

  .contacts-faq {
    padding: 0 16px;
    margin-bottom: 64px;
    gap: 32px;
  }
}
