.page-contact {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-contact__hero-section {
  position: relative;
  text-align: center;
  margin-bottom: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__hero-content {
  max-width: 800px;
  padding: 0 20px;
  text-align: center;
}

.page-contact__hero-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1F2D3D;
  margin-bottom: 15px;
  max-width: 100%;
  text-align: center;
}

.page-contact__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #1F2D3D;
  margin-bottom: 30px;
}

.page-contact__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 30px;
}

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #1F2D3D;
}

.page-contact__info-section {
  margin-bottom: 60px;
}

.page-contact__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-contact__card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF;
  text-align: center;
}

.page-contact__card-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-contact__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #1F2D3D;
  margin-bottom: 10px;
}

.page-contact__card-link {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-contact__card-link:hover {
  color: #6FA3FF;
}

.page-contact__form-section {
  margin-bottom: 60px;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF;
}

.page-contact__form-group {
  margin-bottom: 25px;
}

.page-contact__form-label {
  display: block;
  font-size: 1em;
  font-weight: 600;
  color: #1F2D3D;
  margin-bottom: 8px;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  font-size: 1em;
  color: #000000;
  background-color: #F4F7FB;
  transition: border-color 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #6FA3FF;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #2F6BFF;
  outline: none;
}

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-contact__submit-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
}

.page-contact__faq-section {
  margin-bottom: 60px;
}

.page-contact__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-contact__faq-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #D6E2FF;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-contact__faq-question {
  font-size: 1.2em;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-contact__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #1F2D3D;
}

.page-contact__faq-link {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-contact__faq-link:hover {
  color: #6FA3FF;
}

@media (max-width: 768px) {
  .page-contact__hero-title {
    font-size: 2.2em;
  }

  .page-contact__section-title {
    font-size: 1.8em;
  }

  .page-contact__hero-image,
  .page-contact__info-card img,
  .page-contact__contact-form img,
  .page-contact__faq-item img,
  .page-contact__info-grid img,
  .page-contact__contact-form .page-contact__form-group img,
  .page-contact__faq-list .page-contact__faq-item img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-contact__hero-section img,
  .page-contact__info-section img,
  .page-contact__form-section img,
  .page-contact__faq-section img,
  .page-contact__card img {
    max-width: 100%;
    height: auto;
  }

  .page-contact__info-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__contact-form {
    padding: 25px;
  }

  .page-contact__submit-button {
    font-size: 1em;
    padding: 12px 20px;
  }

  .page-contact__card-title {
    font-size: 1.3em;
  }

  .page-contact__faq-question {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }

  .page-contact__section-title {
    font-size: 1.6em;
  }

  .page-contact__hero-description,
  .page-contact__section-description {
    font-size: 0.95em;
  }

  .page-contact__card-text,
  .page-contact__faq-answer {
    font-size: 0.9em;
  }
}