/* ========================================
   CONTACT US PAGE — Specific Styles
   ======================================== */

/* ========== PAGE SECTION ========== */
.contact-page {
  padding: 60px 48px 140px;
  margin-top: 88px;
  background: var(--sepia);
  min-height: calc(100vh - 88px - 102px);
}

.contact-page__container {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ========== TWO-COLUMN LAYOUT ========== */
.contact-page__content {
  display: flex;
  gap: 0;
  align-items: stretch;
}

.contact-page__form-side {
  flex: 1;
  background: var(--white);
  border-radius: 20px 0 0 20px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-page__map-side {
  flex: 0 0 420px;
  display: grid;
  grid-template-rows: 1fr auto;
  border-radius: 0 20px 20px 0;
  overflow: hidden;
}

/* ========== FORM HEADER ========== */
.contact-page__title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
  color: var(--black);
}

.contact-page__desc {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.032px;
  color: var(--black-70);
  margin-top: -16px;
}

/* ========== FORM FIELDS ========== */
.contact-page__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-page__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-page__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-page__label {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  color: var(--black);
}

.contact-page__input,
.contact-page__select,
.contact-page__textarea {
  padding: 14px 16px;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.contact-page__input::placeholder,
.contact-page__textarea::placeholder {
  color: var(--black-70);
}

.contact-page__input:focus,
.contact-page__select:focus,
.contact-page__textarea:focus {
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(95, 65, 61, 0.1);
}

.contact-page__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23191514' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.contact-page__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-page__char-count {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  color: var(--black-70);
  text-align: right;
  margin-top: -16px;
}

/* ========== FORM ACTIONS ========== */
.contact-page__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-page__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 16px 24px;
  background: var(--brown);
  color: var(--white);
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.contact-page__submit:hover {
  background: var(--brown-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(95, 65, 61, 0.3);
}

.contact-page__submit svg {
  width: 24px;
  height: 24px;
}

.contact-page__terms {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.contact-page__terms input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--brown);
  cursor: pointer;
  border-radius: 4px;
}

.contact-page__terms span {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--black);
}

/* ========== MAP SIDE ========== */
.contact-page__map {
  grid-row: 1 / -1;
  grid-column: 1;
}

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

.contact-page__map-link {
  grid-row: 1;
  grid-column: 1;
  justify-self: end;
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 14px 0 0;
  padding: 8px 14px;
  background: var(--white);
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  color: var(--black);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  z-index: 3;
  transition: box-shadow 0.3s ease;
}

.contact-page__map-link:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.contact-page__map-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ========== CONTACT INFO CARD ========== */
.contact-page__info {
  grid-row: 2;
  grid-column: 1;
  background: var(--white);
  border-radius: 20px;
  padding: 24px 28px;
  margin: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 2;
}

.contact-page__info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-page__info-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
}

.contact-page__info-icon svg {
  width: 20px;
  height: 20px;
}

.contact-page__info-text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  color: var(--black);
}

.contact-page__info-text a {
  color: var(--black);
  text-decoration: none;
}

.contact-page__info-text a:hover {
  color: var(--brown);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .contact-page {
    padding: 40px 24px 80px;
  }

  .contact-page__content {
    flex-direction: column;
  }

  .contact-page__form-side {
    border-radius: 20px 20px 0 0;
    padding: 36px;
  }

  .contact-page__map-side {
    flex: none;
    height: 420px;
    border-radius: 0 0 20px 20px;
  }
}

@media (max-width: 768px) {
  .contact-page {
    padding: 32px 16px 60px;
  }

  .contact-page__form-side {
    padding: 28px 20px;
    gap: 24px;
  }

  .contact-page__title {
    font-size: 28px;
    line-height: 36px;
  }

  .contact-page__form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-page__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .contact-page__map-side {
    height: 380px;
  }
}

@media (max-width: 480px) {
  .contact-page {
    padding: 24px 16px 48px;
  }

  .contact-page__form-side {
    padding: 24px 16px;
  }
}
