/* Tastevia — Contact (Figma 101:1712) */

.contact-hero {
  padding: 64px 0 48px;
  text-align: center;
}

.contact-hero__title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0 0 20px;
}

.contact-hero__desc {
  max-width: 620px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 28px;
  color: var(--color-muted);
}

.contact-main {
  padding: 24px 0 80px;
}

.contact-main__grid {
  display: grid;
  grid-template-columns: 500fr 700fr;
  gap: 40px;
  align-items: stretch;
}

.contact-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: linear-gradient(180deg, #e7f9fd 0%, #ffffff 100%);
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  min-height: 600px;
}

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

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

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 18px 20px;
  font: inherit;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: rgba(0, 0, 0, 0.35);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.contact-field 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 fill='%23000' d='M1.4 0.6L6 5.2 10.6 0.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 44px;
  cursor: pointer;
}

.contact-field textarea {
  min-height: 200px;
  resize: vertical;
}

.contact-form__actions {
  margin-top: 8px;
}

.contact-form__actions .btn {
  padding: 18px 48px;
}

@media (max-width: 1000px) {
  .contact-main__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-photo {
    min-height: 320px;
    max-height: 420px;
    order: -1;
    border-radius: 24px;
  }

  .contact-photo img {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    padding: 40px 0 28px;
  }

  .contact-hero__title {
    font-size: clamp(32px, 9vw, 44px);
    margin-bottom: 14px;
  }

  .contact-hero__desc {
    font-size: 15px;
    line-height: 1.65;
  }

  .contact-main {
    padding: 12px 0 56px;
  }

  .contact-photo {
    min-height: 260px;
    max-height: 320px;
  }

  .contact-photo img {
    min-height: 260px;
  }

  .contact-form {
    gap: 20px;
  }

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

  .contact-field input,
  .contact-field select,
  .contact-field textarea {
    padding: 16px 18px;
    border-radius: 14px;
  }

  .contact-form__actions .btn {
    width: 100%;
  }
}

.contact-notice {
  margin: 24px auto 0;
  padding: 14px 18px;
  border-radius: 12px;
}

.contact-notice--success {
  background: #e8f8ef;
  color: #0f5132;
}

.contact-notice--error {
  background: #fdecea;
  color: #842029;
}
