.contact-section {
  min-height: 100vh;
  display: flex;
}

.contact-section__grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  width: 100%;
}

/* Sidebar Styling */
.contact-section__sidebar {
  background: #0a0e14; /* Deep dark sidebar */
  color: #ffffff;
  padding: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-section__sidebar-inner {
  max-width: 440px;
  margin-left: auto;
}

.contact-section__sidebar-title {
  margin: 0 0 4rem;
  font-family:
    "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 700;
  color: #ffffff;
}

.contact-section__info-group {
  margin-bottom: 2.5rem;
}

.contact-section__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.75rem;
}

.contact-section__email,
.contact-section__phone,
.contact-section__address {
  display: inline-block;
  font-size: 1.1rem;
  color: #ff9d21; /* Orange email link */
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.contact-section__email:hover,
.contact-section__phone:hover {
  opacity: 0.8;
}

.contact-section__social-list {
  display: flex;
  gap: 1rem;
}

.contact-section__social-icon {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  transition: transform 0.3s ease;
}

.contact-section__social-icon:hover {
  transform: scale(1.1);
}

.contact-section__social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-section__share-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ff9d21;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: opacity 0.3s ease;
}

.contact-section__share-link:hover {
  opacity: 0.8;
}

/* Main Area Styling */
.contact-section__main {
  background: #1d293d; /* Lighter dark for main area */
  color: #ffffff;
  padding: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-section__main-inner {
  max-width: 600px;
}

/* WPForms Specific Layout Fixes */
.contact-section__form .wpforms-container {
  margin: 0;
}

.contact-section__form .wpforms-field {
  padding: 0 !important;
  margin-bottom: 2rem !important;
}

/* Row handling for Name/Email - Full Width Stack */
.contact-section__form .wpforms-field-row,
.contact-section__form .wpforms-field-name {
  display: flex !important;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.contact-section__form .wpforms-field-row-block,
.contact-section__form .wpforms-field-name-first,
.contact-section__form .wpforms-field-name-last {
  width: 100% !important;
  float: none !important;
  /* margin-bottom: 1.5rem !important; */
}

.wpforms-field-row-block {
  padding: 0 !important;
}

.wpforms-field-container,
.contact-page form {
  gap: 0 !important;
}

/* Ensure the very last subfield doesn't have extra bottom margin */
.contact-section__form .wpforms-field-name-last {
  margin-bottom: 0 !important;
}

.contact-section__form .wpforms-submit-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
  padding: 0 !important;
}

/* Disclaimer text if it exists inside wpforms footer */
.contact-section__form .wpforms-field-description {
  margin: 0;
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.4);
  max-width: 340px;
  line-height: 1.4;
  font-style: italic;
}

/* Fallback / Demo Form Styling */
.contact-section__demo-form {
  display: grid;
  gap: 2rem;
}

.contact-section__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-section__form-label {
  display: block;
  font-family: "Neuzeit Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  color: #ffffff;
  text-transform: uppercase;
}

.contact-section__form-group input,
.contact-section__form-group textarea {
  width: 100%;
  padding: 1.125rem 1.25rem;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 4px;
  color: #1d293d;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-section__form-group input::placeholder,
.contact-section__form-group textarea::placeholder {
  color: rgba(29, 41, 61, 0.4);
}

.contact-section__form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
}

.contact-section__privacy-text {
  margin: 0;
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.4);
  max-width: 340px;
  line-height: 1.4;
  font-style: italic;
}

.contact-section__submit {
  display: inline-block;
  padding: 1.25rem 2.75rem;
  background: var(--CTA-Default);
  color: #1d293d;
  border: none;
  font-family: "Neuzeit Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--CTA-Shadow);
}

.contact-section__submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--CTA-Shadow);
}

/* Responsiveness */
@media (max-width: 1100px) {
  .contact-section__grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

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

  .contact-section__sidebar-inner,
  .contact-section__main-inner {
    max-width: 100%;
    margin: 0;
  }

  .contact-section__sidebar {
    padding-bottom: 2rem;
  }

  .contact-section__main {
    padding-top: 2rem;
  }
}

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

  .contact-section__form-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-section__submit {
    width: 100%;
    text-align: center;
  }
}
