/* ===== fa-contact-form-light.css ===== */
/* =========================================================
   FORMULARIO CONTACTO FAUSTO ALFARO - VERSIÓN CLARA
   Para colocar justo después del hero negro.

   Sustituye al CSS anterior del formulario.
   HTML/shortcode: [fa_contact_form]

   Objetivo:
   - Alternar visualmente con el hero negro.
   - Fondo claro premium.
   - Formulario en tarjeta blanca.
   - Textos negros y amarillo de marca.
   - Mejor integración con el resto de la web.
   ========================================================= */

.fa-contact-section,
.fa-contact-section * {
  box-sizing: border-box;
}

.fa-contact-section {
  --fa-yellow: #e3aa00;
  --fa-yellow-light: #f4bd13;
  --fa-black: #050505;
  --fa-dark: #101217;
  --fa-text: #111111;
  --fa-muted-dark: rgba(5,5,5,.68);
  --fa-border: rgba(5,5,5,.10);
  --fa-soft: #f5f3ed;
  --fa-white: #ffffff;

  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(66px, 6vw, 96px) 0 clamp(76px, 6.5vw, 112px);
  overflow: hidden;
  color: var(--fa-text) !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(227,170,0,.13) 0 10%, transparent 32%),
    radial-gradient(circle at 94% 88%, rgba(5,5,5,.07) 0 11%, transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f5f3ed 100%) !important;
  isolation: isolate;
}

/* Textura fina, como en otras secciones claras */
.fa-contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(5,5,5,.026) 0px,
      rgba(5,5,5,.026) 1px,
      transparent 1px,
      transparent 13px
    );
  opacity: .62;
  pointer-events: none;
  z-index: -3;
}

/* Marca de agua sutil */
.fa-contact-section::after {
  content: "FA";
  position: absolute;
  right: 4%;
  bottom: -4%;
  color: rgba(5,5,5,.045);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(130px, 17vw, 260px);
  line-height: 1;
  font-weight: 950;
  font-style: italic;
  letter-spacing: -.08em;
  z-index: -2;
  pointer-events: none;
}

.fa-contact-wrap {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 44px));
  margin: 0 auto;
  color: var(--fa-text) !important;
  background: transparent !important;
}

/* =========================================================
   CABECERA DEL CUESTIONARIO
   ========================================================= */

.fa-contact-header {
  max-width: 860px;
  margin: 0 0 clamp(34px, 4vw, 48px);
  color: var(--fa-text) !important;
}

.fa-contact-kicker {
  margin-bottom: 18px;
}

.fa-contact-kicker span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--fa-yellow) !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  font-style: normal;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.fa-contact-kicker span::before {
  content: "";
  display: inline-block;
  width: 42px;
  height: 2px;
  background: var(--fa-yellow);
}

.fa-contact-title {
  max-width: 900px;
  margin: 0;
  padding: 0;
  color: var(--fa-black) !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(38px, 4.8vw, 72px);
  line-height: .94;
  font-weight: 950;
  font-style: italic;
  letter-spacing: -.055em;
  text-transform: uppercase;
  text-shadow: none !important;
}

.fa-contact-title strong,
.fa-contact-title em {
  color: var(--fa-yellow) !important;
  font-style: italic;
}

.fa-contact-subtitle {
  max-width: 760px;
  margin: 20px 0 0;
  padding: 0;
  color: var(--fa-muted-dark) !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.62;
  font-weight: 500;
}

/* =========================================================
   MENSAJES
   ========================================================= */

.fa-contact-message {
  width: 100%;
  margin: 0 0 28px;
  padding: 20px 24px;
  border-radius: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 850;
}

.fa-contact-message-success {
  background: rgba(28, 160, 92, .10) !important;
  border: 1px solid rgba(28, 160, 92, .42);
  color: #14643d !important;
  box-shadow: 0 14px 34px rgba(28, 160, 92, .08);
}

.fa-contact-message-error {
  background: rgba(220, 60, 60, .10) !important;
  border: 1px solid rgba(220, 60, 60, .42);
  color: #8d2020 !important;
  box-shadow: 0 14px 34px rgba(220, 60, 60, .08);
}

/* =========================================================
   TARJETA FORMULARIO
   ========================================================= */

.fa-contact-form {
  width: 100%;
  margin: 0;
  padding: clamp(24px, 3.2vw, 38px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 0%, rgba(227,170,0,.13) 0 12%, transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%) !important;
  color: var(--fa-text) !important;
  border: 1px solid rgba(5,5,5,.09);
  box-shadow: 0 26px 68px rgba(0,0,0,.09);
  position: relative;
  overflow: hidden;
}

.fa-contact-form::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  background: linear-gradient(90deg, #ffca08 0%, #e3aa00 100%);
  pointer-events: none;
}

.fa-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
  row-gap: 0;
}

.fa-contact-field {
  margin-bottom: 22px;
  background: transparent !important;
}

.fa-contact-field label {
  display: block;
  margin-bottom: 9px;
  color: var(--fa-black) !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.fa-contact-field input,
.fa-contact-field select,
.fa-contact-field textarea {
  width: 100% !important;
  min-height: 58px;
  padding: 0 18px !important;
  border: 1px solid rgba(5,5,5,.13) !important;
  border-radius: 18px !important;
  outline: none !important;
  background: #ffffff !important;
  color: var(--fa-black) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  appearance: auto;
  -webkit-appearance: auto;
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.fa-contact-field select {
  cursor: pointer;
}

.fa-contact-field textarea {
  min-height: 166px;
  padding-top: 16px !important;
  resize: vertical;
}

.fa-contact-field input:hover,
.fa-contact-field select:hover,
.fa-contact-field textarea:hover {
  border-color: rgba(5,5,5,.22) !important;
}

.fa-contact-field input:focus,
.fa-contact-field select:focus,
.fa-contact-field textarea:focus {
  border-color: var(--fa-yellow) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(227,170,0,.14) !important;
}

.fa-contact-field input::placeholder,
.fa-contact-field textarea::placeholder {
  color: rgba(5,5,5,.42) !important;
  font-weight: 600 !important;
}

/* =========================================================
   PRIVACIDAD
   ========================================================= */

.fa-contact-privacy {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 28px;
  color: rgba(5,5,5,.70) !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.48;
  font-weight: 600;
  background: transparent !important;
}

.fa-contact-privacy input {
  margin-top: 3px;
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  accent-color: var(--fa-yellow);
  flex: 0 0 auto;
}

.fa-contact-privacy span {
  color: rgba(5,5,5,.70) !important;
}

.fa-contact-privacy a {
  color: #b68500 !important;
  font-weight: 900 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
}

/* =========================================================
   BOTÓN
   ========================================================= */

.fa-contact-button {
  min-width: 310px;
  min-height: 60px;
  padding: 0 32px !important;
  border: 0 !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  background: linear-gradient(135deg, #ffca08 0%, #e3aa00 100%) !important;
  color: #050505 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  font-style: normal;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: 0 18px 38px rgba(227,170,0,.24) !important;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.fa-contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(227,170,0,.34) !important;
  filter: brightness(1.04);
}

.fa-contact-button span {
  letter-spacing: 0;
  font-size: 18px;
  line-height: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 950;
}

/* =========================================================
   ANTISPAM OCULTO
   ========================================================= */

.fa-contact-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* =========================================================
   EVITAR ESTILOS RAROS HEREDADOS DE DIVI
   ========================================================= */

.fa-contact-section p,
.fa-contact-section h1,
.fa-contact-section h2,
.fa-contact-section h3,
.fa-contact-section label,
.fa-contact-section span {
  color: inherit;
}

.fa-contact-section .et_pb_module,
.fa-contact-section .et_pb_text_inner,
.fa-contact-section .et_pb_code_inner {
  background: transparent !important;
}

/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 720px) {
  .fa-contact-section {
    padding: 58px 0 70px;
  }

  .fa-contact-wrap {
    width: min(100% - 30px, 1080px);
  }

  .fa-contact-header {
    margin-bottom: 30px;
  }

  .fa-contact-kicker span {
    gap: 12px;
    font-size: 10px;
    letter-spacing: .21em;
  }

  .fa-contact-kicker span::before {
    width: 30px;
  }

  .fa-contact-title {
    font-size: clamp(34px, 10vw, 48px);
    line-height: .98;
    letter-spacing: -.052em;
  }

  .fa-contact-subtitle {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.58;
  }

  .fa-contact-form {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .fa-contact-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .fa-contact-field {
    margin-bottom: 18px;
  }

  .fa-contact-field label {
    font-size: 11px;
    letter-spacing: .10em;
  }

  .fa-contact-field input,
  .fa-contact-field select,
  .fa-contact-field textarea {
    min-height: 56px;
    padding: 0 16px !important;
    border-radius: 16px !important;
    font-size: 15px !important;
  }

  .fa-contact-field textarea {
    min-height: 150px;
    padding-top: 15px !important;
  }

  .fa-contact-privacy {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 24px;
  }

  .fa-contact-button {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 0 20px !important;
    font-size: 12px !important;
    letter-spacing: .04em;
    gap: 12px;
  }

  .fa-contact-message {
    font-size: 14px;
    padding: 18px 18px;
    border-radius: 18px;
  }
}

@media (max-width: 420px) {
  .fa-contact-wrap {
    width: min(100% - 24px, 1080px);
  }

  .fa-contact-form {
    padding: 20px 14px;
  }

  .fa-contact-title {
    font-size: clamp(32px, 9.5vw, 42px);
  }
}
