/* ===== FORMULARIOS ===== */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="password"],
input[type="date"],
textarea,
select{
  width:100%;
  min-height:48px;
  padding:12px 14px;
  border:1px solid var(--sta-line);
  border-radius:14px;
  background:#fff;
  color:var(--sta-text);
  box-shadow:none;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

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

input:focus,
textarea:focus,
select:focus{
  border-color:var(--sta-gold);
  box-shadow:0 0 0 3px rgba(195,168,144,.16);
}

::placeholder{
  color:#8A847B;
  opacity:1;
}

/* ===== INTRO / CABECERAS DE FORMULARIO ===== */
.st-contact,
.sta-form-block{
  width:min(100% - 24px, 920px);
  margin-inline:auto;
  font-family:var(--sta-font-body);
}

.st-contact-intro,
.sta-form-intro{
  margin:0 0 22px;
}

.st-contact-title,
.sta-form-title{
  margin:0 0 12px;
  color:var(--sta-gold);
  font-family:var(--sta-font-body);
  font-size:clamp(28px, 3vw, 42px);
  font-weight:700;
  line-height:1.2;
  text-align:center;
}

.st-contact-lead,
.sta-form-lead{
  margin:0;
  color:var(--sta-text);
  font-family:var(--sta-font-body);
  font-size:clamp(16px, 1.45vw, 20px);
  line-height:1.82;
}

.st-contact-lead strong,
.sta-form-lead strong{
  color:var(--sta-heading);
  font-weight:700;
}

.st-form-heading,
.sta-form-heading{
  margin:24px 0 18px;
  color:var(--sta-gold);
  font-family:var(--sta-font-body);
  font-size:clamp(20px, 2vw, 28px);
  font-weight:700;
  line-height:1.3;
  text-align:center;
}

html[lang="zh-TW"] .st-contact,
html[lang="zh-TW"] .sta-form-block,
html[lang="zh-TW"] .st-contact-title,
html[lang="zh-TW"] .sta-form-title,
html[lang="zh-TW"] .st-contact-lead,
html[lang="zh-TW"] .sta-form-lead,
html[lang="zh-TW"] .st-form-heading,
html[lang="zh-TW"] .sta-form-heading{
  font-family:var(--sta-font-cjk-sans);
}

/* ===== WPFORMS ===== */
.wpforms-container{
  margin:0 !important;
}

.wpforms-container .wpforms-form{
  font-family:var(--sta-font-body);
}

.wpforms-container .wpforms-field-label{
  margin-bottom:8px !important;
  color:var(--sta-heading) !important;
  font-family:var(--sta-font-body) !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1.4 !important;
}

.wpforms-container .wpforms-field{
  padding:0 0 16px !important;
}

.wpforms-container input,
.wpforms-container textarea,
.wpforms-container select{
  border-radius:14px !important;
}

.wpforms-container .wpforms-submit{
  min-height:48px !important;
  padding:12px 22px !important;
  border:none !important;
  border-radius:999px !important;
  background:var(--sta-green-soft) !important;
  color:#fff !important;
  font-family:var(--sta-font-body) !important;
  font-weight:600 !important;
}

.wpforms-container .wpforms-submit:hover{
  background:var(--sta-green-hover) !important;
}

.wpforms-field-email.wpforms-one-half,
.wpforms-field-email{
  width:100% !important;
}

.wpforms-field-email .wpforms-field-row{
  display:flex !important;
  flex-direction:column !important;
  gap:14px !important;
}

.wpforms-field-email .wpforms-field-row-block{
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
}

.wpforms-field-email .wpforms-field-row-block input{
  width:100% !important;
  margin:0 !important;
}

.wpforms-field-email .wpforms-field-row-block.wpforms-first,
.wpforms-field-email .wpforms-field-row-block.wpforms-last{
  float:none !important;
}

html[lang="zh-TW"] .wpforms-container .wpforms-form,
html[lang="zh-TW"] .wpforms-container .wpforms-field-label{
  font-family:var(--sta-font-cjk-sans) !important;
}

@media (max-width:767px){
  .st-contact,
  .sta-form-block{
    width:min(100% - 20px, 920px);
  }

  .st-contact-intro,
  .sta-form-intro{
    margin-bottom:18px;
  }

  .st-contact-title,
  .sta-form-title{
    font-size:clamp(24px, 7vw, 34px);
  }

  .st-contact-lead,
  .sta-form-lead{
    font-size:16px;
    line-height:1.76;
  }

  .st-form-heading,
  .sta-form-heading{
    margin:20px 0 14px;
    font-size:clamp(18px, 5.5vw, 24px);
  }
}

/* ===== TABLAS ===== */
table{
  width:100%;
  border-collapse:collapse;
  margin:0 0 1.5em;
  background:#fff;
}

th,
td{
  padding:12px 14px;
  border:1px solid var(--sta-line);
  text-align:left;
  vertical-align:top;
}

th{
  background:#F1EADF;
  font-weight:600;
}

/* ===== TEXTO ESPECIAL ===== */
blockquote{
  margin:0 0 1.5em;
  padding:18px 20px;
  border-left:4px solid var(--sta-gold);
  background:#F3ECE2;
  border-radius:0 14px 14px 0;
}

code,
pre{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
}

pre{
  overflow:auto;
  padding:16px;
  border-radius:14px;
  background:#1F1F1F;
  color:#F5F5F5;
}
