/* ── SERVICIOS ── */
#servicios {
  padding: 120px 5%;
  background: var(--bg);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 72px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--blue);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 16px;
}

.section-title .accent-teal {
  color: var(--teal);
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* ── GRID ── */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.servicio-card {
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.servicio-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
}

.servicio-card:hover {
  border-color: rgba(55, 138, 221, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  opacity: 0;
  transition: opacity 0.3s;
}

.servicio-card:hover::before {
  opacity: 1;
}

.servicio-card.teal::before {
  background: var(--teal);
}

/* ── ÍCONO ── */
.servicio-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(55, 138, 221, 0.12);
  border: 0.5px solid rgba(55, 138, 221, 0.25);
}

.servicio-icon.teal {
  background: rgba(29, 158, 117, 0.12);
  border-color: rgba(29, 158, 117, 0.25);
}

.servicio-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.servicio-icon.teal svg {
  stroke: var(--teal);
}

/* ── CONTENIDO ── */
.servicio-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.servicio-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 24px;
}

/* ── TAGS ── */
.servicio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.servicio-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(55, 138, 221, 0.1);
  color: var(--blue-lt);
  border: 0.5px solid rgba(55, 138, 221, 0.2);
}

.servicio-tag.teal {
  background: rgba(29, 158, 117, 0.1);
  color: var(--teal);
  border-color: rgba(29, 158, 117, 0.2);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  #servicios { padding: 80px 5%; }
  .servicios-grid { grid-template-columns: 1fr; }
  .servicio-card { padding: 28px; }
}