/* uniNET - Correcciones sobre los estilos generados (no cachear: ver .htaccess) */

/* Menú móvil: la cabecera (logo y botón de cerrar) queda por encima del panel del menú */
.site-header .header-inner { position: relative; z-index: 80; }
.site-header:has(.mobile-menu) { color: var(--color-petrol-950); }
.site-header:has(.mobile-menu) .nav-burger,
.site-header:has(.mobile-menu) .cta-phone {
  color: var(--color-petrol-950);
  background: #f4f2eab8;
  border-color: #2fa49b99;
}

/* ---------- Formularios de contacto ---------- */
.form-mock {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, #c9efe9 0%, transparent 55%),
    linear-gradient(160deg, #e4f5f2 0%, #eef6f5 45%, #f6f3ea 100%);
  border: 1px solid #b9e2dc;
  border-radius: 18px;
  box-shadow: 0 24px 60px -20px rgba(4, 22, 32, .55);
  gap: 16px 18px;
}
.form-mock::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-aqua-600), var(--color-aqua-300));
}
.form-field label {
  font-family: inherit;
  text-transform: none;
  letter-spacing: 0;
  font-size: .86rem;
  font-weight: 600;
  color: var(--color-petrol-900);
}
.form-field input,
.form-field textarea {
  background: #fff;
  border: 1px solid #c4dcdf;
  border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:hover,
.form-field textarea:hover { border-color: #93c9c4; }
.form-field input:focus,
.form-field textarea:focus,
.form-captcha input:focus {
  outline: none;
  border-color: var(--color-aqua-500);
  box-shadow: 0 0 0 3px rgba(45, 169, 162, .22);
}
.form-field textarea { min-height: 120px; resize: vertical; }

/* Captcha + aceptación legal */
.form-extra {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .65);
  border: 1px solid #cfe7e4;
  border-radius: 12px;
}
.form-captcha { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--color-petrol-900); }
.form-captcha b { color: var(--color-aqua-600); font-size: 1rem; white-space: nowrap; }
.form-captcha input {
  width: 64px;
  padding: 9px 10px;
  text-align: center;
  font: inherit;
  font-weight: 700;
  color: var(--color-petrol-950);
  background: #fff;
  border: 1px solid #c4dcdf;
  border-radius: 10px;
}
.form-legal {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1 280px;
  font-size: .88rem;
  line-height: 1.45;
  color: var(--color-petrol-900);
  cursor: pointer;
}
.form-legal input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--color-aqua-600); }
.form-legal a { color: var(--color-aqua-600); text-decoration: underline; text-underline-offset: 2px; }
.form-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Pie: nota y botón */
.form-note {
  font-family: inherit;
  text-transform: none;
  letter-spacing: 0;
  font-size: .86rem;
  color: var(--color-petrol-700);
}
.form-note--ok { color: #1f7a52; font-weight: 600; }
.form-note--error { color: #b3261e; font-weight: 600; }
.form-mock button[type="submit"] { min-width: 240px; }
.form-mock button[type="submit"]:disabled { opacity: .6; cursor: progress; }

@media (max-width: 767px) {
  .form-extra { flex-direction: column; align-items: flex-start; }
  .form-legal { flex: none; }
  .form-mock button[type="submit"] { width: 100%; min-width: 0; }
}
