.contact-hero {
  border-top: 4px solid var(--orange);
}

.contact-hero h1 {
  margin-bottom: 10px;
}

.contact-hero p:last-child {
  max-width: 760px;
  line-height: 1.75;
  color: var(--text-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  margin-bottom: 24px;
}

.contact-info-card,
.contact-form-card {
  height: 100%;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-item {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info-item h3 {
  margin-bottom: 8px;
}

.contact-info-item p {
  margin: 6px 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.contact-link {
  color: var(--orange-dark);
  font-weight: 700;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-subtext {
  color: var(--text-soft);
  margin-bottom: 16px;
  line-height: 1.7;
}

.contact-photo-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
}

.contact-photo-card {
  padding: 14px;
}

.contact-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.contact-cta-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-cta-card h2 {
  margin-bottom: 10px;
}

.contact-cta-card p {
  color: var(--text-soft);
  line-height: 1.75;
}

@media (max-width: 900px) {
  .contact-grid,
  .contact-photo-section {
    grid-template-columns: 1fr;
  }

  .contact-photo-card img {
    min-height: 260px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .contact-hero h1 {
    font-size: 1.8rem;
    line-height: 1.15;
    margin-bottom: 8px;
  }

  .contact-hero p:last-child {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .contact-grid,
  .contact-photo-section {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 18px;
  }

  .contact-info-card,
  .contact-form-card,
  .contact-photo-card,
  .contact-cta-card {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .contact-info-item {
    padding-bottom: 14px;
  }

  .contact-info-item h3 {
    font-size: 1.02rem;
    margin-bottom: 6px;
  }

  .contact-info-item p,
  .contact-subtext,
  .contact-cta-card p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .contact-form-card .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-form-card .btn {
    width: 100%;
    text-align: center;
  }

  .contact-photo-card {
    padding: 12px;
  }

  .contact-photo-card img {
    min-height: 220px;
    max-height: 280px;
    border-radius: 12px;
  }

  .contact-cta-card h2 {
    font-size: 1.35rem;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .contact-cta-card .button-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .contact-cta-card .btn {
    width: 100%;
    text-align: center;
  }
}

/* Recapchta */
.contact-form-alert {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
  line-height: 1.5;
}

.contact-form-alert-error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #b42318;
}

.contact-form-alert-success {
  background: #ecfdf3;
  border: 1px solid #abefc6;
  color: #027a48;
}

.contact-recaptcha-wrap {
  margin: 12px 0 18px 0;
}

.contact-recaptcha-label {
  margin: 0 0 8px 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-recaptcha-box {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fafafa;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  overflow-x: auto;
}

.contact-recaptcha-box .g-recaptcha {
  display: inline-block;
}

@media (max-width: 768px) {
  .contact-form-alert {
    font-size: 0.94rem;
    padding: 11px 12px;
  }

  .contact-recaptcha-wrap {
    margin: 10px 0 16px 0;
  }

  .contact-recaptcha-label {
    font-size: 0.92rem;
  }

  .contact-recaptcha-box {
    padding: 12px;
    border-radius: 10px;
  }
}