/* style/contact.css */
.page-contact__hero-section {
  background: linear-gradient(135deg, #E53935 0%, #FF5A4F 100%);
  padding-top: 0;
  margin-top: 0;
}

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

.page-contact__hero-image {
  display: block;
  width: 100%;
  max-width: 1020px;
  height: auto;
  aspect-ratio: 1020 / 300;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 16px;
}

.page-contact__hero-content {
  text-align: center;
  padding: 24px 0 40px;
}

.page-contact__main-title {
  color: #ffffff;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.5px;
  max-width: 720px;
  margin: 0 auto 16px;
}

.page-contact__hero-description {
  color: #ffffff;
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.6;
  opacity: 0.95;
}

.page-contact__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.page-contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}

.page-contact__btn--primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border-color: #ffffff;
}

.page-contact__btn--secondary {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-contact__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-contact__support-section {
  background: #F5F7FA;
  padding: 60px 0;
}

.page-contact__section-title {
  text-align: center;
  color: #333333;
  font-size: 2rem;
  margin-bottom: 16px;
}

.page-contact__section-desc {
  text-align: center;
  color: #333333;
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-contact__support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.page-contact__support-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__support-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.page-contact__card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.page-contact__card-title {
  color: #333333;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.page-contact__card-text {
  color: #333333;
  line-height: 1.5;
  margin-bottom: 16px;
}

.page-contact__card-link {
  display: inline-block;
  color: #E53935;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.page-contact__card-link:hover {
  border-bottom-color: #E53935;
}

.page-contact__faq-section {
  background: #ffffff;
  padding: 60px 0;
}

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

.page-contact__faq-item {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  margin-bottom: 16px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.page-contact__faq-question {
  color: #333333;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.page-contact__faq-question::-webkit-details-marker {
  display: none;
}

.page-contact__faq-item[open] .page-contact__faq-question {
  color: #E53935;
}

.page-contact__faq-question::after {
  content: '+';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #E53935;
  transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.page-contact__faq-answer {
  color: #333333;
  padding-top: 12px;
  line-height: 1.6;
}

.page-contact__form-section {
  background: #F5F7FA;
  padding: 60px 0;
}

.page-contact__form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 16px;
  padding: 32px;
}

.page-contact__form-title {
  color: #333333;
  font-size: 1.75rem;
  margin-bottom: 12px;
  text-align: center;
}

.page-contact__form-desc {
  color: #333333;
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.6;
}

.page-contact__form-label {
  display: block;
  color: #333333;
  font-weight: 600;
  margin-bottom: 6px;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 20px;
  font-family: inherit;
  font-size: 1rem;
  color: #333333;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #E53935;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.page-contact__form-submit {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 32px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.page-contact__form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 57, 53, 0.3);
}

@media (max-width: 768px) {
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-contact__hero-section {
    padding-top: 10px;
  }

  .page-contact__hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .page-contact__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
  }

  .page-contact__support-grid {
    grid-template-columns: 1fr !important;
  }

  .page-contact__main-title {
    font-size: 1.75rem;
  }
  
  .page-contact__section-title {
    font-size: 1.5rem;
  }
  
  .page-contact__form-wrapper {
    padding: 24px 16px;
  }
}

@media (max-width: 1024px) {
  .page-contact__support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .page-contact__form-wrapper {
    max-width: 100%;
    margin: 0 16px;
}
}

/* Large desktop screens */
@media (min-width: 1200px) {
  .page-contact__hero-container {
    padding: 20px 0;
  }
}