/* ===== SERVICIOS (Terminal Select) ===== */

.hero.hero-servicios{
  /* Igual al inicio (movimiento activo) -> lo hereda de .hero en style.css */
  /* No hacemos nada aquí para no romper el hero global */
}

/* Firma: que no choque con menú en mobile, y que entre al final */
.brand-delay{
  opacity: 0;
  transform: translateY(-6px);
  animation: brandIn .6s ease forwards;
  animation-delay: 1.35s; /* después del título + panel */
}

@keyframes brandIn{
  to{ opacity: 1; transform: translateY(0); }
}

/* Centro general */
.services-center{
  position: relative;
  z-index: 2;
  width: min(980px, 92vw);
  margin: 0 auto;
  text-align: center;
}

/* Título (mismo “peso” visual que proyectos) */
.services-title{
  font-family: "Courier New", monospace;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 2px;
  color: #fff;

  opacity: 0;
  transform: translateY(10px);
  animation: svcIn .65s ease forwards;
  animation-delay: .25s;
}

@keyframes svcIn{
  to{ opacity: 1; transform: translateY(0); }
}

/* Contenedor tipo “app” */
.services-shell{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;

  opacity: 0;
  transform: translateY(10px);
  animation: svcIn .65s ease forwards;
  animation-delay: .55s;
}

/* Paneles estilo vidrio */
.services-selector,
.services-panel{
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  padding: 16px;
}

/* Selector tipo terminal */
.services-selector{
  text-align: left;
  display: grid;
  gap: 10px;
}

/* Botones/lines */
.svc-item{
  width: 100%;
  border: 1px solid transparent;
  background: transparent;

  padding: 12px 12px;
  border-radius: 14px;

  font-family: "Courier New", monospace;
  font-size: 14px;
  letter-spacing: .4px;

  color: rgba(255,255,255,.86);
  cursor: pointer;

  transition: border-color .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease;
}

/* Hover */
.svc-item:hover{
  border-color: rgba(0,224,255,.22);
  background: rgba(0,224,255,.06);
}

/* Activo */
.svc-item.is-active{
  color: #fff;
  border-color: rgba(0,224,255,.55);
  box-shadow: 0 0 0 3px rgba(0,224,255,.12);
  background: rgba(0,0,0,.18);
}

/* Panel */
.services-panel{
  text-align: left;
  display: grid;
  gap: 10px;
}

.panel-title{
  font-family: "Courier New", monospace;
  font-size: 22px;
  letter-spacing: 1px;
  margin: 0;
  color: #fff;
}

.panel-desc{
  font-family: "Courier New", monospace;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  color: rgba(255,255,255,.86);
}

.panel-tech{
  font-family: "Courier New", monospace;
  font-size: 13px;
  color: rgba(255,255,255,.72);
  padding-top: 2px;
}

/* CTA */
.panel-cta{
  justify-self: start;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-family: "Courier New", monospace;
  font-size: 14px;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;

  padding: 12px 16px;
  border-radius: 14px;

  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px);

  margin-top: 6px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.panel-cta:hover{
  border-color: rgba(0,224,255,.45);
  box-shadow: 0 0 0 3px rgba(0,224,255,.12);
}

/* Responsive */
@media (max-width: 900px){
  .services-shell{
    grid-template-columns: 1fr;
  }
}

/* En mobile, la firma debe quedar arriba sin chocar con el botón hamburguesa */
@media (max-width: 768px){
  .services-center{
    width: min(560px, 92vw);
  }

  /* La firma ya es position:absolute en proyectos.css,
     aquí la empujamos un poco para no montarla con el toggle */
  .brand-signature{
    top: 18px;
    left: 18px;
  }

  .services-title{
    margin-top: 34px; /* aire por la firma */
    font-size: clamp(34px, 10vw, 52px);
  }
}

.svc-item{
  position: relative;
  padding-left: 28px; /* espacio para el cursor */
}

/* Cursor tipo terminal */
.svc-item.is-active::before{
  content: ">";
  position: absolute;
  left: 10px;
  color: #00e0ff;
}




