/* style/contact.css */
.page-contact {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-contact__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.page-contact__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__description {
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
}

.page-contact__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4); /* Glow */
}

.page-contact__btn-secondary {
  background: #11271B; /* Card B G */
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-contact__btn-secondary:hover {
  background: #2AD16F;
  color: #11271B;
  transform: translateY(-2px);
}

.page-contact__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  padding-top: 40px;
}

.page-contact__section-description {
  font-size: 1.05rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-contact__channels-section, .page-contact__form-section, .page-contact__faq-section, .page-contact__social-section, .page-contact__address-section {
  padding: 60px 0;
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-contact__channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__channel-card {
  background-color: #11271B; /* Card B G */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__channel-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-contact__card-title {
  font-size: 1.8rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-contact__card-text {
  color: #F2FFF6; /* Text Main */
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__contact-info {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
  margin-bottom: 10px;
}

.page-contact__email-link {
  color: #2AD16F;
  text-decoration: none;
}

.page-contact__email-link:hover {
  text-decoration: underline;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  background-color: #11271B; /* Card B G */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  font-size: 1.05rem;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  font-size: 1rem;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #A7D9B8; /* Text Secondary */
  opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #2AD16F;
  box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3); /* Glow */
}

.page-contact__faq-list {
  margin-top: 40px;
}

.page-contact__faq-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: #13994A;
}

.page-contact__faq-item[open] .page-contact__faq-question {
  background-color: #13994A;
}

.page-contact__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #F2C14E; /* Gold */
  margin-left: 15px;
}

.page-contact__faq-answer {
  padding: 20px;
  padding-top: 0;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
  line-height: 1.7;
}

.page-contact__faq-answer p {
  margin-bottom: 10px;
}

.page-contact__btn-link {
  display: inline-block;
  margin-top: 10px;
  color: #2AD16F;
  text-decoration: none;
  font-weight: bold;
}

.page-contact__btn-link:hover {
  text-decoration: underline;
}

.page-contact__faq-cta {
  text-align: center;
  margin-top: 40px;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.page-contact__social-link {
  display: flex;
  align-items: center;
  padding: 12px 25px;
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05rem;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.page-contact__social-link:hover {
  background-color: #2AD16F;
  border-color: #2AD16F;
  color: #08160F;
}

.page-contact__social-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Placeholder icons - in a real app, these would be SVG or font icons */
.page-contact__social-facebook .page-contact__social-icon { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23F2FFF6"><path d="M12 2C6.477 2 2 6.477 2 12c0 5.016 3.657 9.176 8.438 9.879V14.65h-2.54V11.37h2.54V8.91c0-2.522 1.543-3.906 3.793-3.906 1.096 0 2.052.195 2.329.283v2.706h-1.63c-1.272 0-1.52.604-1.52 1.48v1.936h3.03l-.493 3.28h-2.537v6.627C18.343 21.176 22 17.016 22 12c0-5.523-4.477-10-10-10z"/></svg>'); }
.page-contact__social-twitter .page-contact__social-icon { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23F2FFF6"><path d="M22.46 6c-.77.34-1.6.56-2.46.66.88-.53 1.56-1.37 1.88-2.37-.82.49-1.73.84-2.67 1.03C18.26 4.64 17.15 4 15.96 4c-2.35 0-4.27 1.9-4.27 4.25 0 .33.04.65.11.95C7.71 8.65 4.09 6.64 1.73 3.86c-.36.6-.56 1.3-.56 2.05 0 1.47.75 2.76 1.89 3.53-.7-.02-1.37-.2-1.95-.5v.05c0 2.05 1.46 3.76 3.39 4.14-.36.1-.74.15-1.14.15-.28 0-.55-.03-.81-.08.54 1.68 2.1 2.9 3.96 2.94-1.45 1.13-3.28 1.8-5.27 1.8-.34 0-.68-.02-1.01-.06C3.96 20.3 6.13 21 8.52 21c7.43 0 11.48-6.13 11.48-11.48 0-.35-.01-.7-.02-1.04.79-.57 1.47-1.28 2.01-2.09z"/></svg>'); }
.page-contact__social-telegram .page-contact__social-icon { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23F2FFF6"><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm4.35 8.32L9.15 14.8c-.52.23-1.03.07-1.03-.54V10.4c0-.39.16-.76.44-1.02l7.1-5.74c.4-.32.74-.24.74.28.01.2.01.4-.01.6zM9.15 14.8L8.14 17c-.15.34-.43.43-.75.21-.32-.22-.4-.5-.25-.84l.95-2.07c.09-.2.2-.37.33-.51l.88-.87 3.94-3.94c.2-.2.43-.3.67-.3.24 0 .47.1.65.26.18.16.27.38.27.63 0 .25-.1.49-.29.67L9.15 14.8z"/></svg>'); }
.page-contact__social-youtube .page-contact__social-icon { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23F2FFF6"><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm4.84 10.92c-.07.41-.39.73-.81.8-.41.07-.82-.07-1.13-.39-.31-.31-.45-.72-.38-1.13.07-.41.39-.73.81-.8.41-.07.82.07 1.13.39.31.31.45.72.38 1.13zM15.46 9.53c-.06.34-.32.61-.66.67-.34.06-.68-.06-.94-.32-.26-.26-.38-.6-.32-.94.06-.34.32-.61.66-.67.34-.06.68.06.94.32.26.26.38.6.32.94zM12 7.5c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0 8.1c-1.71 0-3.1-1.39-3.1-3.1s1.39-3.1 3.1-3.1 3.1 1.39 3.1 3.1-1.39 3.1-3.1 3.1z"/></svg>'); }

.page-contact__address-info {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
  line-height: 1.8;
}

.page-contact__address-info strong {
  color: #F2C14E; /* Gold */
}

.page-contact__office-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-contact__hero-content {
    max-width: 600px;
  }

  .page-contact__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-contact__description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* body handles --header-offset */
  }

  .page-contact__hero-content {
    padding: 15px;
    max-width: 90%;
  }

  .page-contact__channels-section, .page-contact__form-section, .page-contact__faq-section, .page-contact__social-section, .page-contact__address-section {
    padding: 40px 0;
  }

  .page-contact__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    padding-top: 20px;
  }

  .page-contact__section-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-contact__channels-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__channel-card, .page-contact__contact-form, .page-contact__faq-item {
    padding: 20px;
  }

  .page-contact__form-input, .page-contact__form-textarea {
    width: 100%;
  }

  .page-contact__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-contact__faq-answer {
    font-size: 0.95rem;
  }

  .page-contact__social-links {
    flex-direction: column;
    align-items: center;
  }

  .page-contact__social-link {
    width: 80%;
    justify-content: center;
  }

  /* Mobile responsive images/videos/buttons - CRITICAL */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__hero-image-wrapper,
  .page-contact__channels-section,
  .page-contact__channel-card,
  .page-contact__form-section,
  .page-contact__contact-form,
  .page-contact__faq-section,
  .page-contact__faq-list,
  .page-contact__faq-item,
  .page-contact__social-section,
  .page-contact__address-section,
  .page-contact__office-image,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-contact__faq-cta {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-contact__cta-button {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-contact__channel-card, .page-contact__contact-form, .page-contact__faq-item {
    padding: 15px;
  }

  .page-contact__faq-question {
    font-size: 0.95rem;
  }

  .page-contact__social-link {
    width: 95%;
  }
}

/* CSS for details/summary toggle icon */
details > summary::-webkit-details-marker {
  display: none;
}

details > summary {
  list-style: none;
}