.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(28px, 6vw, 65px);
}

.servicio-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #1a171b;
}

.servicio-numero { color: var(--purple); font-size: .8rem; letter-spacing: .14em; }
.servicio-card h3 { margin: 0; font-size: clamp(1.45rem, 3vw, 2.2rem); font-weight: 500; line-height: 1.15; }
.servicio-card p { margin: 0; line-height: 1.65; }
.servicio-descripcion { color: #d5cfc9; }
.servicio-caso { padding-top: 12px; border-top: 1px solid var(--line); color: #c5a9ec; font-size: .88rem; }
.servicio-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: auto; padding-top: 8px; }
.servicio-acciones a { color: #ddd1ec; font-size: .86rem; text-decoration: underline; text-underline-offset: 3px; }
.servicio-boton, .orientador-launch {
  min-height: 44px;
  border: 1px solid var(--purple);
  border-radius: 25px;
  padding: 10px 15px;
  background: transparent;
  color: var(--cream);
  font-size: .87rem;
}
.servicio-boton:hover { background: var(--purple); color: var(--ink); }
.orientador-launch {
  position: fixed;
  z-index: 6;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--purple);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 5px 24px #0006;
}

#orientador-dialog {
  width: 540px;
  max-height: calc(100dvh - 24px);
  padding: clamp(14px, 4vw, 26px);
}
.orientador-header { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
#orientador-dialog h2 { margin: 0; font-size: clamp(1.55rem, 5vw, 2.3rem); letter-spacing: -.035em; }
#orientador-dialog .orientador-kicker { margin: 0 0 4px; color: #584073; font-size: .7rem; letter-spacing: .1em; }
.orientador-close { width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid #aa9db5; border-radius: 50%; background: transparent; font-size: 1.45rem; }
#orientador-dialog .orientador-nota { margin: 10px 0; font-size: .8rem; line-height: 1.5; }
.orientador-log { min-height: 120px; max-height: min(250px, 36dvh); overflow: auto; overscroll-behavior: contain; padding: 10px; border: 1px solid #c9c1b6; border-radius: 8px; background: #e3ddd3; }
#orientador-dialog .orientador-burbuja { max-width: 90%; margin: 0 0 8px; border-radius: 10px; padding: 8px 10px; color: var(--ink); background: #f9f6f1; font-size: .85rem; line-height: 1.5; overflow-wrap: anywhere; }
#orientador-dialog .orientador-visitante { margin-left: auto; background: #d6c3ee; }
.orientador-burbuja strong { display: block; margin-bottom: 3px; font-size: .72rem; }
.orientador-opciones { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.orientador-opciones button { min-height: 36px; border: 1px solid #725193; border-radius: 18px; padding: 5px 10px; background: #f9f6f1; color: #3b294c; font-size: .8rem; }
.orientador-opciones button:hover { background: #eee0fa; }
#orientador-dialog label { margin: 10px 0 5px; }
.orientador-input { display: flex; gap: 8px; align-items: stretch; }
.orientador-input input { min-width: 0; flex: 1; min-height: 44px; font-size: 16px; }
.orientador-input .button { margin: 0; padding: 10px 14px; }
#orientador-dialog .orientador-reset { min-height: 38px; margin: 3px 0 0; }
#orientador-dialog :focus-visible { outline: 2px solid #584073; outline-offset: 2px; }
.closing { padding-bottom: 70px; }

@media (max-width: 700px) {
  .servicios-grid { grid-template-columns: 1fr; gap: 12px; }
  .orientador-launch { font-size: .82rem; }
}

.servicio-acciones .servicio-ficha { display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; border-radius: 24px; padding: 8px 14px; background: var(--purple); color: var(--ink); text-decoration: none; font-weight: 700; }
.servicio-acciones .servicio-ficha:hover { background: var(--cream); }
