@import url("../../css/typography.297ff8161de6.css");

/* ===== Layout & Spacing ===== */
.contact-page {
  padding-top: 0;
}

.hero-section {
  text-align: center;
  padding: 4rem 1.5rem 3.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-section {
  padding: 4rem 1.5rem;
}

.contact-section--alt {
  background-color: #f8fafc;
}

.contact-section__inner {
  max-width: 960px;
  margin: 0 auto;
}

/* ===== Hero ===== */
.hero-title {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.8rem;
  color: #0891b2;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  font-weight: 700;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #475569;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #0891b2, #0e7490);
  border-radius: 2px;
  margin: 2rem auto 0;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
}

/* ===== Section Titles ===== */
.section-title {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.25rem;
  color: #0891b2;
  margin: 0 0 0.5rem;
  text-align: center;
  font-weight: 700;
}

.section-title-sub {
  text-align: center;
  font-size: 0.95rem;
  color: #64748b;
  margin: 0 auto 2.5rem;
  max-width: 600px;
  line-height: 1.5;
}

/* ===== Info Cards ===== */
.contact-info-card {
  padding: 2rem 1.5rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  height: 100%;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.contact-info-card:hover {
  border-color: #0891b2;
  box-shadow: 0 4px 12px rgba(8,145,178,0.1);
  transform: translateY(-2px);
}

.contact-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: #f0fdfa;
  color: #0891b2;
  margin: 0 auto 1rem;
}

.contact-info-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.contact-info-text {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 0;
}

/* ===== Messages ===== */
.contact-message {
  text-align: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.contact-message--success {
  background-color: #f0fdfa;
  color: #0e7490;
  border: 1px solid #0891b2;
}

.contact-message--error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ===== Form ===== */
.contact-form-wrapper {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  color: #334155;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.9rem;
  color: #1e293b;
  outline: none;
  resize: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.form-input:focus {
  border-color: #0891b2;
  box-shadow: 0 0 0 3px rgba(8,145,178,0.1);
}

.form-input::placeholder {
  color: #94a3b8;
}

.form-submit {
  text-align: center;
  margin-top: 0.5rem;
}

/* ===== CTA Section ===== */
.cta-section {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f7fa 100%);
  border: 2px solid #0891b2;
  border-radius: 12px;
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.3rem;
  color: #0891b2;
  margin-bottom: 0.75rem;
  text-align: center;
}

.cta-text {
  font-size: 0.95rem;
  color: #475569;
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  padding: 0.7rem 2rem;
  background-color: #0891b2;
  color: white;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  background-color: #0e7490;
  color: white;
  box-shadow: 0 4px 12px rgba(8,145,178,0.25);
}

/* ===== Error Message ===== */
#error_message:empty {
  display: none;
}

#error_message {
  margin-bottom: 1rem;
  background: #fef2f2;
  padding: 0;
  text-align: center;
  font-size: 0.85rem;
  color: #991b1b;
  border-radius: 6px;
  transition: all 0.3s ease;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-section { padding: 3rem 1rem 2.5rem; }
  .hero-title { font-size: 1.5rem; }
  .contact-section { padding: 3rem 1rem; }
  .contact-form-wrapper { padding: 1.5rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}