:root {
  --contact-bg-soft: #f4fbf8;
  --contact-surface: #ffffff;
  --contact-border: #d7e6de;
  --contact-text: #14342d;
  --contact-muted: #5b6e67;
  --contact-accent: #0d6a5f;
  --contact-accent-deep: #0a554c;
  --contact-shadow: 0 14px 36px rgba(13, 59, 51, 0.08);
}

.contact-page {
  padding: 32px 0 72px;
  background: linear-gradient(180deg, #f8fcfa 0%, #fdfefe 38%, #ffffff 100%);
}

.contact-hero {
  padding: 32px;
  border: 1px solid var(--contact-border);
  border-radius: 20px;
  background: linear-gradient(135deg, #e8f7f2 0%, #f2faf8 55%, #f8fbff 100%);
  margin-bottom: 28px;
}

.contact-hero-eyebrow {
  margin: 0 0 8px;
  color: var(--contact-accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
}

.contact-hero-title {
  margin: 0;
  color: var(--contact-text);
  font-size: clamp(2rem, 3.3vw, 2.9rem);
  line-height: 1.1;
}

.contact-hero-subtitle {
  margin: 12px 0 0;
  max-width: 760px;
  color: var(--contact-muted);
  font-size: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.contact-form-card,
.contact-info-card,
.contact-actions-card,
.contact-faq {
  background: var(--contact-surface);
  border: 1px solid var(--contact-border);
  border-radius: 16px;
  box-shadow: var(--contact-shadow);
}

.contact-form-card {
  padding: 28px;
}

.contact-inline-success,
.contact-inline-error {
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 0.93rem;
}

.contact-inline-success {
  background: #e8f8f2;
  color: #0d6848;
  border: 1px solid #bce8d5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-inline-error {
  background: #fff2f2;
  color: #b3261e;
  border: 1px solid #f5c6c6;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-field {
  min-width: 0;
}

.contact-label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f3a34;
}

.contact-label span {
  color: #d44a4a;
}

.contact-input {
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid #c9d9d1;
  background: #ffffff;
  color: #1f3a34;
  padding: 10px 13px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.contact-input:focus {
  outline: none;
  border-color: var(--contact-accent);
  box-shadow: 0 0 0 4px rgba(13, 106, 95, 0.12);
  transform: translateY(-1px);
}

.contact-input.is-invalid {
  border-color: #d44a4a;
  box-shadow: 0 0 0 4px rgba(212, 74, 74, 0.12);
}

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

.contact-feedback {
  margin: 6px 0 0;
  color: #b3261e;
  font-size: 0.82rem;
}

.contact-submit {
  min-height: 50px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--contact-accent) 0%, var(--contact-accent-deep) 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(13, 106, 95, 0.25);
}

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

.contact-submit .btn-loading {
  display: none;
  align-items: center;
  gap: 8px;
}

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

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

.contact-map-wrap {
  margin-top: 18px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--contact-border);
}

.contact-map-wrap iframe {
  width: 100%;
  min-height: 250px;
  border: 0;
}

.contact-side {
  display: grid;
  gap: 16px;
}

.contact-info-card {
  padding: 24px;
}

.contact-info-card h2,
.contact-actions-card h3,
.contact-faq h2 {
  margin: 0 0 14px;
  color: #1d3e38;
  font-size: 1.2rem;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.contact-info-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}

.contact-info-list i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e9f7f2;
  color: var(--contact-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.contact-info-list p {
  margin: 0 0 2px;
  color: var(--contact-muted);
  font-size: 0.82rem;
}

.contact-info-list a,
.contact-info-list span {
  color: var(--contact-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-actions-card {
  padding: 22px;
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.contact-action-btn {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid #cfe2da;
  color: #23443c;
  background: #f8fcfa;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.22s ease;
}

.contact-action-btn:hover {
  border-color: #9ecfbe;
  background: #edf8f3;
  color: #14342d;
}

.contact-action-btn.wa:hover {
  border-color: #22c35e;
  box-shadow: 0 6px 16px rgba(34, 195, 94, 0.22);
}

.contact-action-btn.call:hover {
  border-color: #0d6a5f;
  box-shadow: 0 6px 16px rgba(13, 106, 95, 0.18);
}

.contact-action-btn.email:hover {
  border-color: #3682c4;
  box-shadow: 0 6px 16px rgba(54, 130, 196, 0.18);
}

.contact-faq {
  margin-top: 24px;
  padding: 24px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid #d6e7df;
  border-radius: 12px;
  background: #fbfefd;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 14px 16px;
  color: #1f3d36;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-trigger i {
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-trigger i {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.is-open .faq-content {
  max-height: 240px;
}

.faq-content p {
  margin: 0;
  padding: 0 16px 16px;
  color: #58716a;
}

@media (max-width: 1199px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-side {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .contact-page {
    padding: 24px 0 56px;
  }

  .contact-hero,
  .contact-form-card,
  .contact-info-card,
  .contact-actions-card,
  .contact-faq {
    border-radius: 14px;
  }

  .contact-form-card,
  .contact-info-card,
  .contact-actions-card,
  .contact-faq {
    padding: 20px;
  }

  .contact-form-row,
  .contact-side {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .contact-page {
    padding: 18px 0 44px;
  }

  .contact-hero {
    padding: 22px 16px;
    margin-bottom: 18px;
  }

  .contact-form-card,
  .contact-info-card,
  .contact-actions-card,
  .contact-faq {
    padding: 16px;
  }

  .contact-form-row {
    gap: 16px;
  }

  .contact-submit,
  .contact-action-btn,
  .faq-trigger {
    min-height: 48px;
  }
}
