/* ── FormSection ──────────────────────────────── */
.form-section {
  background-color: #fff;
  padding: 80px 0;
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Layout wrapper */
.form-section__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* Image column */
.form-section__image {
  flex: 0 0 42%;
  max-width: 42%;
}
.form-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Content column */
.form-section__content {
  flex: 1;
}
.form-section__content--full {
  flex: 0 0 100%;
  max-width: 100%;
}

/* Heading */
.form-section__heading {
  margin-bottom: 32px;
}
.form-section__heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--color-dark, #1a2e1a);
  line-height: 1.2;
  margin-bottom: 12px;
}
.form-section__heading p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* CF7 — labels */
.form-section__form label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* CF7 — inputs y textarea (selectores amplios para garantizar que aplican) */
.form-section__form input:not([type="submit"]),
.form-section__form textarea {
  display: block;
  width: 100%;
  padding: 13px 16px;
  margin-top: 6px;
  border: 1px solid #dde5d4;
  border-radius: 6px;
  background-color: #f5f7f3;
  font-size: 0.95rem;
  color: #333;
  transition: border-color 0.2s, background-color 0.2s;
  box-sizing: border-box;
  font-family: inherit;
}
.form-section__form input:not([type="submit"])::placeholder,
.form-section__form textarea::placeholder {
  color: #aab8a0;
}
.form-section__form input:not([type="submit"]):focus,
.form-section__form textarea:focus {
  outline: none;
  border-color: var(--color2, #F6F6F6);
  background-color: #fff;
}
.form-section__form textarea {
  min-height: 140px;
  resize: vertical;
}

/* CF7 — botón enviar */
.form-section__form input[type="submit"] {
  background-color: var(--color2, #2c4e1e);
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.15s;
  margin-top: 8px;
  font-family: inherit;
}
.form-section__form input[type="submit"]:hover {
  background-color: var(--color1, #F6F6F6);
  transform: translateY(-1px);
}

/* CF7 — resets varios */
.form-section__form p {
  margin: 0;
}
.form-section__form .wpcf7-list-item {
  margin: 0 !important;
}
.form-section__form span.wpcf7-not-valid-tip {
  font-size: 0.8rem;
  color: #c0392b;
  margin-top: 4px;
  display: block;
}
.form-section__form .wpcf7-response-output {
  margin-top: 16px;
  border-radius: 6px;
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 900px) {
  .form-section__inner {
    flex-direction: column;
    gap: 40px;
  }
  .form-section__image {
    flex: 0 0 100%;
    max-width: 100%;
    max-height: 340px;
    overflow: hidden;
    border-radius: 8px;
  }
}
@media (max-width: 768px) {
  .form-section {
    padding: 48px 0;
  }
  .form-section__heading h2 {
    font-size: 1.6rem;
  }
}
