/**
 * ÉTHÉRÉ — Contact Us page brand styling.
 * Uses :root variables from ethere-shop-brand.css
 */

/* ==========================================================================
   Page wrapper
   ========================================================================== */

.ethere-contact-page {
  font-family: var(--ethere-font-body);
  color: var(--ethere-text);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

/* ==========================================================================
   Hero heading
   ========================================================================== */

.ethere-contact-hero {
  text-align: center;
  padding: 2.5rem 0 2rem;
}

.ethere-contact-hero__title {
  font-family: var(--ethere-font-heading);
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ethere-text);
  margin: 0 0 0.6rem;
}

.ethere-contact-hero__subtitle {
  font-family: var(--ethere-font-body);
  font-size: 0.95rem;
  color: var(--ethere-text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   Two-column grid
   ========================================================================== */

.ethere-contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .ethere-contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   Section titles
   ========================================================================== */

.ethere-contact-section-title {
  font-family: var(--ethere-font-heading);
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--ethere-text);
  border-bottom: 2px solid var(--ethere-green);
  padding-bottom: 0.5rem;
  margin: 0 0 1.5rem;
}

/* ==========================================================================
   Contact Form (CF7 styling)
   ========================================================================== */

.ethere-contact-form-col {
  background: var(--ethere-white);
  border: 1px solid var(--ethere-border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.ethere-contact-form-wrap .wpcf7-form label,
.ethere-contact-form-wrap .wpcf7-form p {
  font-family: var(--ethere-font-body);
  font-size: 0.88rem;
  color: var(--ethere-text);
  display: block;
  margin-bottom: 1.1rem;
}

.ethere-contact-form-wrap .wpcf7-form input[type="text"],
.ethere-contact-form-wrap .wpcf7-form input[type="email"],
.ethere-contact-form-wrap .wpcf7-form input[type="tel"],
.ethere-contact-form-wrap .wpcf7-form input[type="url"],
.ethere-contact-form-wrap .wpcf7-form textarea,
.ethere-contact-form-wrap .wpcf7-form select {
  width: 100%;
  border: 1px solid var(--ethere-border);
  border-radius: 6px;
  padding: 0.7rem 0.9rem;
  font-family: var(--ethere-font-body);
  font-size: 0.92rem;
  color: var(--ethere-text);
  background: var(--ethere-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-top: 0.35rem;
}

.ethere-contact-form-wrap .wpcf7-form input:focus,
.ethere-contact-form-wrap .wpcf7-form textarea:focus,
.ethere-contact-form-wrap .wpcf7-form select:focus {
  border-color: var(--ethere-green);
  outline: none;
  box-shadow: 0 0 0 3px var(--ethere-green-soft);
}

.ethere-contact-form-wrap .wpcf7-form textarea {
  min-height: 140px;
  resize: vertical;
}

.ethere-contact-form-wrap .wpcf7-form input[type="submit"],
.ethere-contact-form-wrap .wpcf7-form .wpcf7-submit {
  display: inline-block;
  width: 100%;
  background: var(--ethere-green) !important;
  color: var(--ethere-white) !important;
  border: 1px solid var(--ethere-green) !important;
  border-radius: 0 !important;
  font-family: var(--ethere-font-body) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 0.9rem 2rem !important;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  margin-top: 0.5rem;
}

.ethere-contact-form-wrap .wpcf7-form input[type="submit"]:hover,
.ethere-contact-form-wrap .wpcf7-form .wpcf7-submit:hover {
  background: var(--ethere-green-dark) !important;
  border-color: var(--ethere-green-dark) !important;
}

/* CF7 validation */
.ethere-contact-form-wrap .wpcf7-not-valid-tip {
  font-size: 0.8rem;
  color: #c33;
  margin-top: 0.3rem;
}

.ethere-contact-form-wrap .wpcf7-response-output {
  border-color: var(--ethere-green) !important;
  font-family: var(--ethere-font-body);
  font-size: 0.88rem;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin: 1rem 0 0;
}

/* CF7 spinner */
.ethere-contact-form-wrap .wpcf7-spinner {
  margin-top: 0.5rem;
}

/* Fallback message when CF7 is not installed */
.ethere-contact-form-wrap > p {
  font-size: 0.92rem;
  color: var(--ethere-text-muted);
}

/* ==========================================================================
   Contact info cards
   ========================================================================== */

.ethere-contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ethere-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ethere-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--ethere-white);
  border: 1px solid var(--ethere-border);
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ethere-contact-card:hover {
  border-color: rgba(148, 197, 115, 0.4);
  box-shadow: 0 4px 16px rgba(148, 197, 115, 0.08);
}

.ethere-contact-card__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  stroke: var(--ethere-green);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ethere-contact-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ethere-contact-card__label {
  font-family: var(--ethere-font-body);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ethere-text-muted);
}

.ethere-contact-card__value {
  font-family: var(--ethere-font-heading);
  font-size: 0.95rem;
  color: var(--ethere-text);
  text-decoration: none;
  line-height: 1.35;
}

a.ethere-contact-card__value:hover {
  color: var(--ethere-green-dark);
}

/* ==========================================================================
   Social links
   ========================================================================== */

.ethere-contact-social {
  background: var(--ethere-white);
  border: 1px solid var(--ethere-border);
  border-radius: 10px;
  padding: 1.25rem 1.25rem 1.5rem;
}

.ethere-contact-social__title {
  font-family: var(--ethere-font-heading);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ethere-text);
  margin: 0 0 1rem;
}

.ethere-contact-social__links {
  display: flex;
  gap: 0.75rem;
}

.ethere-contact-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ethere-green-soft);
  border: 1px solid var(--ethere-border);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.ethere-contact-social__link:hover {
  background: var(--ethere-green);
  border-color: var(--ethere-green);
  transform: translateY(-2px);
}

.ethere-contact-social__link svg {
  width: 20px;
  height: 20px;
  stroke: var(--ethere-green-dark);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--ethere-green-dark);
  transition: stroke 0.2s, color 0.2s;
}

.ethere-contact-social__link:hover svg {
  stroke: var(--ethere-white);
  color: var(--ethere-white);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
  .ethere-contact-page {
    padding: 0 1rem 2rem;
  }

  .ethere-contact-hero {
    padding: 1.5rem 0 1.25rem;
  }

  .ethere-contact-form-col {
    padding: 1.5rem;
  }
}
