/* ==========================================================================
   EcomHolistic Contact Page Stylesheet
   Styles for the Contact Us page: hero, form + Calendly, details, steps
   ========================================================================== */

/* --------------------------------------------------------------------------
   Botanical vine dividers — applied to all sections except hero
   -------------------------------------------------------------------------- */
.eh-contact-main::before,
.eh-contact-details::before,
.eh-contact-next::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  z-index: 3;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIwMCIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDEyMDAgMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTAgMTZRMTAwIDRsMjAwIDEyUTQwMCA0IDUwMCAxNlE2MDAgMjggNzAwIDE2UTgwMCA0IDkwMCAxNlExMDAwIDI4IDExMDAgMTZRMTE1MCA4IDEyMDAgMTYiIHN0cm9rZT0iIzZCOEY3MSIgc3Ryb2tlLXdpZHRoPSIxLjIiIG9wYWNpdHk9IjAuMTUiIGZpbGw9Im5vbmUiLz48Y2lyY2xlIGN4PSIxNTAiIGN5PSIxMCIgcj0iMyIgZmlsbD0iI0YyQTY5NSIgb3BhY2l0eT0iMC4xNSIvPjxjaXJjbGUgY3g9IjQ1MCIgY3k9IjIwIiByPSIyLjUiIGZpbGw9IiM2QjhGNzEiIG9wYWNpdHk9IjAuMTIiLz48Y2lyY2xlIGN4PSI3NTAiIGN5PSI4IiByPSIyIiBmaWxsPSIjRjJBNjk1IiBvcGFjaXR5PSIwLjEyIi8+PGNpcmNsZSBjeD0iMTA1MCIgY3k9IjE4IiByPSIyLjUiIGZpbGw9IiM2QjhGNzEiIG9wYWNpdHk9IjAuMSIvPjxwYXRoIGQ9Ik0yOTAgMTNRMjk1IDggMzAwIDEzIiBzdHJva2U9IiM2QjhGNzEiIHN0cm9rZS13aWR0aD0iMC44IiBvcGFjaXR5PSIwLjEyIiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTMxMCAxM1EzMDUgMTggMzAwIDEzIiBzdHJva2U9IiM2QjhGNzEiIHN0cm9rZS13aWR0aD0iMC44IiBvcGFjaXR5PSIwLjEyIiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTU5MCAxOVE1OTUgMTQgNjAwIDE5IiBzdHJva2U9IiM2QjhGNzEiIHN0cm9rZS13aWR0aD0iMC44IiBvcGFjaXR5PSIwLjEyIiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTYxMCAxOVE2MDUgMjQgNjAwIDE5IiBzdHJva2U9IiM2QjhGNzEiIHN0cm9rZS13aWR0aD0iMC44IiBvcGFjaXR5PSIwLjEyIiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTg5MCAxM1E4OTUgOCA5MDAgMTMiIHN0cm9rZT0iIzZCOEY3MSIgc3Ryb2tlLXdpZHRoPSIwLjgiIG9wYWNpdHk9IjAuMTIiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNOTEwIDEzUTkwNSAxOCA5MDAgMTMiIHN0cm9rZT0iIzZCOEY3MSIgc3Ryb2tlLXdpZHRoPSIwLjgiIG9wYWNpdHk9IjAuMTIiIGZpbGw9Im5vbmUiLz48L3N2Zz4=");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 32px;
  pointer-events: none;
}

.eh-contact-main,
.eh-contact-details,
.eh-contact-next {
  position: relative;
}

/* Honeypot field — visually hidden from humans, bots auto-fill */
.eh-form-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Section 1: Contact Hero
   -------------------------------------------------------------------------- */
.eh-contact-hero {
  padding: 140px 40px 80px;
  background-color: var(--eh-drip-cream);
}

.eh-contact-hero-inner {
  max-width: var(--eh-content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.eh-contact-tag {
  display: inline-block;
  font-family: var(--eh-font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--eh-sage);
  background-color: rgba(5, 0, 255, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.eh-contact-hero h1 {
  margin-bottom: 24px;
  color: var(--eh-folk-dark);
}

.eh-contact-hero-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--eh-folk-mid);
  max-width: 540px;
}

.eh-contact-hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.eh-contact-hero-illustration svg {
  width: 100%;
  max-width: 480px;
  height: auto;
}

/* --------------------------------------------------------------------------
   Section 2: Main Contact -- Form + Calendly
   -------------------------------------------------------------------------- */
.eh-contact-main {
  padding: 80px 40px;
  background-color: var(--eh-white);
}

.eh-contact-main-inner {
  max-width: var(--eh-content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* -- Form Styles -- */
.eh-contact-form-wrap h2 {
  color: var(--eh-folk-dark);
  margin-bottom: 12px;
}

.eh-contact-form-subtitle {
  font-size: 16px;
  color: var(--eh-folk-mid);
  margin-bottom: 32px;
  line-height: 1.6;
}

.eh-contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.eh-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eh-form-group label {
  font-family: var(--eh-font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--eh-folk-dark);
  letter-spacing: 0.3px;
}

.eh-required {
  color: var(--eh-sage);
}

.eh-optional {
  font-weight: 400;
  font-size: 13px;
  color: var(--eh-folk-mid);
}

.eh-form-group input,
.eh-form-group textarea {
  font-family: var(--eh-font-body);
  font-size: 16px;
  color: var(--eh-folk-dark);
  background-color: var(--eh-drip-cream);
  border: 1.5px solid var(--eh-border-light);
  border-radius: 8px;
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -webkit-appearance: none;
}

.eh-form-group input::placeholder,
.eh-form-group textarea::placeholder {
  color: var(--eh-folk-mid);
  opacity: 0.6;
}

.eh-form-group input:focus,
.eh-form-group textarea:focus {
  border-color: var(--eh-sage);
  box-shadow: 0 0 0 3px rgba(5, 0, 255, 0.1);
}

.eh-form-group input.eh-input-error,
.eh-form-group textarea.eh-input-error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.08);
}

.eh-form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.eh-contact-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 180px;
  justify-content: center;
}

.eh-submit-loading {
  display: none;
}

.eh-contact-submit.eh-loading .eh-submit-text {
  display: none;
}

.eh-contact-submit.eh-loading .eh-submit-loading {
  display: inline-flex;
}

.eh-form-feedback {
  font-family: var(--eh-font-body);
  font-size: 15px;
  line-height: 1.5;
  padding: 0;
  border-radius: 8px;
  display: none;
}

.eh-form-feedback.eh-feedback-success {
  display: block;
  color: var(--eh-sage);
  background-color: rgba(5, 0, 255, 0.08);
  padding: 14px 18px;
}

.eh-form-feedback.eh-feedback-error {
  display: block;
  color: #c0392b;
  background-color: rgba(231, 76, 60, 0.06);
  padding: 14px 18px;
}

/* reCAPTCHA notice */
.eh-recaptcha-notice {
  font-size: 12px;
  line-height: 1.5;
  color: var(--eh-folk-mid);
  margin-top: 0;
}

.eh-recaptcha-notice a {
  color: var(--eh-folk-mid);
  text-decoration: underline;
}

.eh-recaptcha-notice a:hover {
  color: var(--eh-sage);
}

/* Hide reCAPTCHA badge (we show inline notice instead per Google TOS) */
.grecaptcha-badge {
  visibility: hidden;
}

/* -- Calendly Embed Styles -- */
.eh-contact-calendly-wrap h2 {
  color: var(--eh-folk-dark);
  margin-bottom: 12px;
}

.eh-contact-calendly-subtitle {
  font-size: 16px;
  color: var(--eh-folk-mid);
  margin-bottom: 32px;
  line-height: 1.6;
}

.eh-contact-calendly-embed {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(87, 83, 78, 0.06);
  background-color: var(--eh-drip-cream);
}

.eh-contact-calendly-embed iframe {
  display: block;
  width: 100%;
  min-height: 660px;
  border: none;
}

/* --------------------------------------------------------------------------
   Section 3: Contact Details -- 4 cards grid
   -------------------------------------------------------------------------- */
.eh-contact-details {
  padding: 80px 40px;
  background-color: var(--eh-drip-cream);
}

.eh-contact-details-inner {
  max-width: var(--eh-content-max);
  margin: 0 auto;
  text-align: center;
}

.eh-contact-details-inner > h2 {
  color: var(--eh-folk-dark);
  margin-bottom: 48px;
}

.eh-contact-details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.eh-contact-detail-card {
  background-color: var(--eh-white);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(87, 83, 78, 0.04), 0 4px 16px rgba(87, 83, 78, 0.06);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.eh-contact-detail-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 8px rgba(87, 83, 78, 0.06), 0 8px 32px rgba(87, 83, 78, 0.1);
}

.eh-contact-detail-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
}

.eh-contact-detail-icon svg {
  width: 100%;
  height: 100%;
}

.eh-contact-detail-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--eh-folk-dark);
  margin-bottom: 12px;
}

.eh-contact-detail-value {
  display: block;
  font-family: var(--eh-font-body);
  font-size: 16px;
  color: var(--eh-sage);
  text-decoration: none;
  margin-bottom: 8px;
  font-weight: 500;
  transition: color 0.2s ease;
}

a.eh-contact-detail-value:hover {
  color: var(--eh-sage-hover);
  text-decoration: none;
}

.eh-contact-address-block {
  font-style: normal;
  color: var(--eh-folk-dark);
  line-height: 1.6;
}

.eh-contact-detail-note {
  font-size: 14px;
  color: var(--eh-folk-mid);
  margin-bottom: 0;
}

/* Social links inside card */
.eh-contact-social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.eh-contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--eh-font-body);
  font-size: 15px;
  color: var(--eh-sage);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.eh-contact-social-link:hover {
  color: var(--eh-sage-hover);
  text-decoration: none;
}

.eh-contact-social-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Section 4: What Happens Next -- 3 steps with connecting line
   -------------------------------------------------------------------------- */
.eh-contact-next {
  padding: 80px 40px 100px;
  background-color: var(--eh-white);
}

.eh-contact-next-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.eh-contact-next-inner > h2 {
  color: var(--eh-folk-dark);
  margin-bottom: 56px;
}

.eh-contact-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: left;
  margin-bottom: 56px;
}

/* Connecting line (vertical, behind step numbers) */
.eh-contact-steps-line {
  position: absolute;
  left: 24px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--eh-sage), rgba(5, 0, 255, 0.15));
  border-radius: 2px;
}

.eh-contact-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.eh-contact-step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background-color: var(--eh-sage);
  color: var(--eh-white);
  font-family: var(--eh-font-heading);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(5, 0, 255, 0.25);
}

.eh-contact-step-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--eh-folk-dark);
  margin-bottom: 8px;
  margin-top: 4px;
}

.eh-contact-step-content p {
  font-size: 16px;
  color: var(--eh-folk-mid);
  line-height: 1.65;
  margin-bottom: 0;
}

.eh-contact-next-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Responsive: Tablet (768-1199px)
   ========================================================================== */
@media (max-width: 1199px) {
  .eh-contact-hero { padding: 120px 24px 60px; }
  .eh-contact-hero-inner { gap: 40px; }

  .eh-contact-main { padding: 60px 24px; }
  .eh-contact-main-inner { gap: 40px; }

  .eh-contact-details { padding: 60px 24px; }
  .eh-contact-details-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .eh-contact-next { padding: 60px 24px 80px; }
}

/* ==========================================================================
   Responsive: Mobile (< 768px)
   ========================================================================== */
@media (max-width: 767px) {
  .eh-contact-hero { padding: 100px 24px 48px; }
  .eh-contact-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .eh-contact-hero-text { max-width: none; }
  .eh-contact-hero-illustration svg { max-width: 360px; }

  .eh-contact-main { padding: 48px 24px; }
  .eh-contact-main-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .eh-contact-submit {
    align-self: stretch;
    width: 100%;
  }

  .eh-contact-calendly-embed iframe {
    min-height: 580px;
  }

  .eh-contact-details { padding: 48px 24px; }
  .eh-contact-details-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .eh-contact-detail-card {
    padding: 28px 20px;
  }

  .eh-contact-next { padding: 48px 24px 64px; }
  .eh-contact-next-inner > h2 { margin-bottom: 40px; }
  .eh-contact-steps { gap: 32px; }
  .eh-contact-steps-line { left: 20px; }
  .eh-contact-step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 18px;
  }

  .eh-contact-next-cta {
    flex-direction: column;
    align-items: center;
  }
  .eh-contact-next-cta .eh-btn {
    max-width: 320px;
  }
}

/* ==========================================================================
   Responsive: Small Mobile (< 480px)
   ========================================================================== */
@media (max-width: 479px) {
  .eh-contact-hero { padding: 100px 20px 40px; }
  .eh-contact-hero-text { font-size: 16px; }

  .eh-contact-main { padding: 40px 20px; }
  .eh-contact-form-subtitle,
  .eh-contact-calendly-subtitle { font-size: 15px; }

  .eh-contact-calendly-embed iframe {
    min-height: 520px;
  }

  .eh-contact-details { padding: 40px 20px; }
  .eh-contact-next { padding: 40px 20px 56px; }

  .eh-contact-step { gap: 16px; }
  .eh-contact-step-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 16px;
  }
  .eh-contact-steps-line { left: 17px; }
  .eh-contact-step-content h3 { font-size: 18px; }
  .eh-contact-step-content p { font-size: 15px; }
}
