/* style/contact.css */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background-color);
}

.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0;
  text-align: center;
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: var(--text-main);
}

.page-contact__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--gold);
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-contact__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-contact__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

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

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

.page-contact__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-contact__btn-secondary {
  background: var(--deep-green);
  color: var(--text-main);
  border: 2px solid var(--glow);
}

.page-contact__btn-secondary:hover {
  background: var(--glow);
  color: var(--deep-green);
  transform: translateY(-2px);
}

.page-contact__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-contact__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold);
  margin-bottom: 40px;
  font-weight: 700;
}

.page-contact__text-block {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__why-contact .page-contact__section-title,
.page-contact__faq-section .page-contact__section-title,
.page-contact__cta-final .page-contact__section-title {
  color: var(--deep-green);
}

.page-contact__why-contact .page-contact__text-block,
.page-contact__faq-section .page-contact__text-block,
.page-contact__cta-final .page-contact__text-block {
  color: var(--text-main);
}

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

.page-contact__feature-item,
.page-contact__method-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

.page-contact__feature-item:hover,
.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

.page-contact__feature-title,
.page-contact__method-title {
  font-size: 1.5rem;
  color: var(--glow);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__feature-description,
.page-contact__method-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-contact__contact-info {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-top: 15px;
}

.page-contact__contact-info strong {
  color: var(--glow);
}

.page-contact__email-link {
  color: var(--glow);
  text-decoration: none;
}

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

.page-contact__social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.page-contact__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--deep-green);
  color: var(--text-main);
  font-size: 1.2rem;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid var(--border);
  white-space: nowrap;
  overflow: hidden;
  text-indent: -9999px; /* Hide text, rely on aria-label */
  position: relative;
}

.page-contact__social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  filter: invert(1) brightness(1.5);
}

.page-contact__social-icon[aria-label*="Facebook"]::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.477 2 2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.879V14.62H8.054V12h2.384V9.74c0-2.365 1.443-3.668 3.566-3.668 1.024 0 1.905.076 2.167.11v2.51h-1.48s-.84.008-.98.008c-.722 0-.947.337-.947.927V12h2.809l-.455 2.62h-2.354v7.262C18.343 21.128 22 16.991 22 12c0-5.523-4.477-10-10-10z"/></svg>');
}

.page-contact__social-icon[aria-label*="Telegram"]::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm4.721 7.228l-2.457 1.761-1.07-1.07c-.195-.195-.512-.195-.707 0s-.195.512 0 .707l1.07 1.07-1.761 2.457c-.104.145-.104.34 0 .485.07.07.16.104.25.104.09 0 .18-.034.25-.104l2.457-1.761 1.07 1.07c.195.195.512.195.707 0s.195-.512 0-.707l-1.07-1.07 1.761-2.457c.145-.104.145-.34 0-.485-.07-.07-.16-.104-.25-.104-.09 0-.18.034-.25.104z"/></svg>');
}