/* ===========================
   Grupo EMSEI – Modo Claro PRO
   =========================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

/* Links del navbar */
.nav-link {
  color: rgb(71, 85, 105);
  transition: color 0.15s ease, transform 0.15s ease;
}

.nav-link:hover {
  color: rgb(37, 99, 235);
  transform: translateY(-1px);
}

.nav-link-mobile {
  color: rgb(71, 85, 105);
  padding: 4px 0;
}
.nav-link-mobile:hover {
  color: rgb(37, 99, 235);
}

/* Cards servicios */
.servicio-card {
  border-radius: 1rem;
  border: 1px solid rgb(226, 232, 240);
  background-color: #ffffff;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.servicio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  border-color: rgba(37, 99, 235, 0.4);
}

.servicio-icono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.1rem;
  width: 2.1rem;
  border-radius: 999px;
  border-width: 1px;
  border-style: solid;
  margin-bottom: 0.75rem;
}

.servicio-titulo {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgb(15, 23, 42);
  margin-bottom: 0.2rem;
}

.servicio-texto {
  font-size: 0.78rem;
  color: rgb(100, 116, 139);
}

.servicio-lista {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: rgb(100, 116, 139);
}

/* Trabajos */
.trabajo-card {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgb(226, 232, 240);
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.trabajo-img {
  width: 100%;
  height: 9.5rem;
  object-fit: cover;
}

.trabajo-body {
  padding: 0.8rem 0.9rem 0.9rem;
}

.trabajo-titulo {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgb(15, 23, 42);
  margin-bottom: 0.2rem;
}

.trabajo-texto {
  font-size: 0.78rem;
  color: rgb(100, 116, 139);
}

/* Formulario */
.label {
  display: block;
  font-size: 0.78rem;
  color: rgb(100, 116, 139);
  margin-bottom: 0.15rem;
}

.input {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid rgb(203, 213, 225);
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  outline: none;
  background-color: #f9fafb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.input:focus {
  border-color: rgb(37, 99, 235);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35);
  background-color: #ffffff;
}

.error-msg {
  font-size: 0.7rem;
  color: rgb(220, 38, 38);
  margin-top: 0.15rem;
}

/* Estados */
.input.error {
  border-color: rgb(220, 38, 38);
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.3);
  background-color: #fef2f2;
}

/* Utilidades */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

