/* Shared editorial layout language (matches subscription.html / account.css):
   flat cards, hairline borders, muted headings, consistent spacing. */
.contact-container {
  max-width: 900px;
  margin: 1.5rem auto 2rem;
  padding: 0 1.5rem;
}

.contact-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(15,23,42,0.1);
}

.contact-header h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.contact-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form-wrapper {
  background: #fff;
  padding: 1.75rem 2rem;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.1);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.875rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(67,176,179,0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.g-recaptcha {
  margin: 1.5rem 0;
  overflow: hidden;
}

@media (max-width: 380px) {
  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: 0 0;
    width: 258px;
  }
}

.contact-submit-btn {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 2rem;
  background: var(--brand-primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-submit-btn:hover:not(:disabled) {
  background: #3a999c;
}

.contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.success-message {
  text-align: center;
  padding: 2rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--brand-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 1.5rem;
}

.success-message h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: #fff;
  padding: 1.75rem;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.1);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
  transition: border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.info-card:hover {
  border-color: rgba(15,23,42,0.2);
}

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.info-icon-img {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.info-card h3 {
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.info-card p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.info-card a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
}

.info-card a:hover {
  text-decoration: underline;
}

.instagram-card {
  cursor: pointer;
}

.instagram-card:hover h3 {
  color: #E1306C;
}

@media (max-width: 968px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .contact-container {
    padding: 0 1rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem 1.25rem;
  }

  .info-card {
    padding: 1.5rem 1.25rem;
  }
}