/* ============ CONTACT & CALL-TO-ACTIONS ============ */
.cta-section {
  padding: 4rem 0;
  margin: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  z-index: 2;
}

.cta-label {
  font-family: var(--mono);
  font-size: 1.05rem;
  color: var(--fg-3);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.cta-label .accent {
  color: var(--accent);
}

.cta-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-title .light {
  font-weight: 300;
  color: var(--fg-2);
}

.cta-sub {
  font-size: 1.1rem;
  color: var(--fg-2);
  max-width: 52ch;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 3rem;
}

.cta-left {
  text-align: left;
}

.cta-left .cta-title {
  margin-left: 0;
  margin-right: auto;
}

.cta-left .cta-sub {
  margin-left: 0;
  margin-right: auto;
  max-width: none;
}

.cta-left .cta-buttons {
  justify-content: flex-start;
}

/* ============ CONTACT PAGE LAYOUTS ============ */
.contact-main {
  position: relative;
  width: 100%;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.contact-header {
  position: relative;
  z-index: 2;
  margin-bottom: 3rem; /* Brings the form closer to the header */
}

.contact-content {
  position: relative;
  z-index: 2;
  padding: 0 !important; /* Overrides the default .section padding */
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.contact-card,
.contact-info-col {
  /* Glassmorphism to see nodes behind the forms */
  background: rgba(15, 15, 15, 0.6); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-title {
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
  text-align: left;
}

.info-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.info-item > * {
  width: 100%;
  text-align: left;
}

.info-item:first-of-type {
  padding-top: 0;
  border-top: none;
}

.info-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.info-value {
  color: var(--fg);
  font-size: 1rem;
  line-height: 1.65;
}

.info-value a {
  color: var(--fg);
  text-decoration: none;
}

.info-value a:hover {
  color: var(--accent);
}

.what-next {
  margin-top: 2.2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.what-next-title {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 1rem;
  text-align: left;
}

.what-next-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.what-next-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--fg-2);
  font-size: 0.95rem;
  line-height: 1.55;
  text-align: left;
}

.what-next-list .num {
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}

/* ============ FORM FIELDS ============ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: white;
  letter-spacing: 0.02em;
  text-align: left;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  /* Make form inputs slightly more solid so text is readable over the glass */
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 0.98rem;
  line-height: 1.5;
  padding: 0.95rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(165, 243, 161, 0.65);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(165, 243, 161, 0.08);
}

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

.contact-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.35rem;
}

/* ============ MID-PAGE CTA BAND ============ */
.mid-cta-band {
  background: linear-gradient(90deg, #72cf6d0a, #72cf6d03);
  border: 1px solid rgba(165, 243, 161, 0.15);
  border-radius: 16px;
  padding: 3rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin: 2.5rem 0;
}

.mid-cta-text {
  flex: 1;
}

.mid-cta-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.mid-cta-desc {
  font-size: 1rem;
  color: var(--fg-3);
  line-height: 1.55;
}

.mid-cta-btn-col {
  flex-shrink: 0;
}

/* ============ RESPONSIVE LAYOUTS ============ */
@media (max-width: 992px){
  .cta-section {
    margin: 0;
  }
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-card,
  .contact-info-col {
    padding: 1.5rem;
    border-radius: 18px;
  }
  .mid-cta-band {
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    text-align: center;
  }
  .mid-cta-btn-col {
    width: 100%;
  }
  .mid-cta-btn-col .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-buttons .btn {
    width: 100%;
  }
  .contact-card, .contact-info-col {
    padding: 1.25rem;
  }
  .contact-main {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}