/* ========== Contact Page Styles ========== */

/* ========== Office Locations ========== */
.offices {
  padding: 100px 0 80px;
}

.offices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 48px;
}

.offices__card {
  display: flex;
  gap: 0;
  background: transparent;
  border: none;
  border-right: 1px solid #eee;
  border-radius: 0;
  overflow: visible;
  transition: none;
}

.offices__card:last-child {
  border-right: none;
}

.offices__card:hover {
  border-color: #eee;
  transform: none;
  box-shadow: none;
}

.offices__card-accent {
  display: none;
}

.offices__card-content {
  padding: 0 32px;
  padding-top: 36px;
  position: relative;
}

.offices__card:first-child .offices__card-content {
  padding-left: 0;
}

.offices__card:last-child .offices__card-content {
  padding-right: 0;
}

.offices__badge {
  position: absolute;
  top: 0;
  left: 0;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c8a45a;
  background: rgba(200, 164, 90, 0.08);
  padding: 4px 12px;
}

.offices__card:not(:first-child) .offices__card-content {
  padding-top: 36px;
}

.offices__city {
  font-family: 'Roboto', 'Helvetica Neue', sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: #1a1a1a;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.offices__address {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #666;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

/* Contact Bar */
.offices__contact-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 36px 0;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.offices__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: 0.3px;
  transition: color 0.3s;
}

.offices__contact-item:hover {
  color: #c8a45a;
}

.offices__contact-divider {
  width: 1px;
  height: 24px;
  background: #e0e0e0;
}

/* ========== Contact Form ========== */
.contact-form-section {
  padding: 100px 0;
  background: #fff;
  border-top: 1px solid #eee;
}

.contact-form__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form__field {
  margin-bottom: 28px;
}

.contact-form__label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.contact-form__required {
  color: #c8a45a;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #333;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  letter-spacing: 0.2px;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: #aaa;
  font-weight: 300;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: #c8a45a;
  box-shadow: 0 0 0 3px rgba(200, 164, 90, 0.1);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-form__consent {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #888;
  line-height: 1.7;
  margin-bottom: 28px;
  letter-spacing: 0.2px;
}

.contact-form__image {
  position: relative;
}

.contact-form__img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 0;
}

/* ========== Departments ========== */
.departments {
  padding: 100px 0;
}

.departments__header {
  margin-bottom: 48px;
}

.departments__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.departments__card {
  padding: 0 36px;
  border: none;
  border-right: 1px solid #eee;
  border-radius: 0;
  transition: none;
}

.departments__card:last-child {
  border-right: none;
}

.departments__card:first-child {
  padding-left: 0;
}

.departments__card:last-child {
  padding-right: 0;
}

.departments__card:hover {
  border-color: #eee;
  transform: none;
  box-shadow: none;
}

.departments__card-title {
  font-family: 'Roboto', 'Helvetica Neue', sans-serif;
  font-size: 22px;
  font-weight: 300;
  color: #1a1a1a;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.departments__card-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}

.departments__card-email {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #c8a45a;
  transition: color 0.3s;
  letter-spacing: 0.2px;
}

.departments__card-email:hover {
  color: #a88840;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .offices__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .offices__card {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

  .offices__card:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .offices__card-content,
  .offices__card:first-child .offices__card-content,
  .offices__card:last-child .offices__card-content {
    padding: 0;
  }

  .contact-form__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form__img {
    height: 400px;
  }

  .departments__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .departments__card {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding: 24px 0;
  }

  .departments__card:first-child {
    padding-left: 0;
    padding-top: 0;
  }

  .departments__card:last-child {
    border-bottom: none;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .offices {
    padding: 80px 0 60px;
  }

  .contact-form-section,
  .departments {
    padding: 80px 0;
  }

  .offices__contact-bar {
    flex-direction: column;
    gap: 20px;
  }

  .offices__contact-divider {
    width: 40px;
    height: 1px;
  }

  .contact-form__img {
    height: 300px;
  }
}
