/* Formulario español ID 4: copia de las reglas del formulario ID 1.
 * Fuentes: global.css y los ajustes de .intro-form en homepage.css.
 * Se carga únicamente en Home Page Spanish y Contact Page Spanish.
 */

/* Reglas copiadas de global.css */

div#gform_wrapper_4 .gfield_label,
div#gform_wrapper_4 .gform-field-label,
div#gform_wrapper_4 .gfield_required,
div#gform_wrapper_4 .gfield--type-honeypot,
div#gform_wrapper_4 .gform_validation_container,
div#gform_wrapper_4 .gfield_description {
  display: none !important;
}

div#gform_wrapper_4 input[type="text"],
div#gform_wrapper_4 input[type="email"],
div#gform_wrapper_4 input[type="tel"],
div#gform_wrapper_4 textarea {
  width: 100% !important;
  padding: 1rem 0 !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid rgba(208, 169, 37, 0.3) !important;
  border-radius: 0 !important;
  color: var(--white) !important;
  font-family: var(--sans) !important;
  font-size: 1rem !important;
  outline: none !important;
  box-shadow: none !important;
}

div#gform_wrapper_4 input:focus,
div#gform_wrapper_4 textarea:focus {
  border-bottom-color: var(--gold) !important;
  box-shadow: none !important;
  outline: none !important;
}

div#gform_wrapper_4 input::placeholder,
div#gform_wrapper_4 textarea::placeholder {
  text-transform: none !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.1em !important;
  color: var(--gray) !important;
}

div#gform_wrapper_4 select {
  width: 100% !important;
  padding: 1rem 0 !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid rgba(208, 169, 37, 0.3) !important;
  border-radius: 0 !important;
  color: var(--gray) !important;
  font-family: var(--sans) !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d0a925' stroke-width='2' fill='none'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0 center !important;
  outline: none !important;
  cursor: pointer !important;
}

div#gform_wrapper_4 select:focus {
  border-bottom-color: var(--gold) !important;
}

div#gform_wrapper_4 select option {
  background: var(--dark) !important;
  color: var(--white) !important;
}

div#gform_wrapper_4 textarea {
  resize: vertical !important;
  min-height: 120px !important;
}

div#gform_wrapper_4 .gfield--type-html p {
  font-size: 0.8rem !important;
  line-height: 1.6 !important;
  color: var(--gray) !important;
  font-weight: 300 !important;
}

div#gform_wrapper_4 .gform_button,
div#gform_wrapper_4 input[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--gold) !important;
  color: var(--black) !important;
  padding: 1.15rem 2.5rem !important;
  font-family: var(--sans) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
}

div#gform_wrapper_4 .gform_footer,
div#gform_wrapper_4 .gform-footer {
  padding: 0 !important;
  margin: 1rem 0 0 !important;
  text-align: center !important;
  border: none !important;
  background: none !important;
}

div#gform_wrapper_4 .gform_fields {
  grid-row-gap: 0.25rem !important;
}

[data-theme="light"] div#gform_wrapper_4 input[type="text"],
[data-theme="light"] div#gform_wrapper_4 input[type="email"],
[data-theme="light"] div#gform_wrapper_4 input[type="tel"],
[data-theme="light"] div#gform_wrapper_4 textarea {
  color: #1a1a1a !important;
  border-bottom-color: rgba(184, 148, 31, 0.4) !important;
}

[data-theme="light"] div#gform_wrapper_4 input::placeholder,
[data-theme="light"] div#gform_wrapper_4 textarea::placeholder {
  color: #666 !important;
}

[data-theme="light"] div#gform_wrapper_4 select {
  color: #666 !important;
  border-bottom-color: rgba(184, 148, 31, 0.4) !important;
}

[data-theme="light"] div#gform_wrapper_4 select option {
  background: #ffffff !important;
  color: #1a1a1a !important;
}

[data-theme="light"] div#gform_wrapper_4 .gform_button,
[data-theme="light"] div#gform_wrapper_4 input[type="submit"] {
  color: #ffffff !important;
}

/* Reglas copiadas de homepage.css */

.contact-form div#gform_wrapper_4 input[type="text"],
.contact-form div#gform_wrapper_4 input[type="email"],
.contact-form div#gform_wrapper_4 input[type="tel"],
.contact-form div#gform_wrapper_4 select,
.contact-form div#gform_wrapper_4 textarea {
  background: #0b1826 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  padding: 0.95rem 1rem !important;
  margin-bottom: 0.9rem;
}

.contact-form div#gform_wrapper_4 ::placeholder { color: #7d8fa1 !important; }

.contact-form div#gform_wrapper_4 select {
  text-transform: none !important;
  letter-spacing: normal !important;
  font-size: 1rem !important;
}

.contact-form div#gform_wrapper_4 textarea {
  height: 140px !important;
  min-height: 140px !important;
}

/* Keep validation feedback readable when Gravity Forms adds description classes. */
div#gform_wrapper_4 .gfield_validation_message {
  display: block !important;
}
